winhttp: Use default values for verb, object and version parameters in WinHttpOpenReq...
[wine.git] / configure
blob422f585507a3ea3b663689621a3e8c506c7c5133
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.1.2.
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='1.1.2'
578 PACKAGE_STRING='Wine 1.1.2'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 SET_MAKE
668 CFLAGS
669 LDFLAGS
670 CPPFLAGS
671 ac_ct_CC
672 EXEEXT
673 OBJEXT
675 CXXFLAGS
676 ac_ct_CXX
677 CPPBIN
678 TOOLSDIR
679 XMKMF
681 X_CFLAGS
682 X_PRE_LIBS
683 X_LIBS
684 X_EXTRA_LIBS
685 FLEX
686 BISON
688 ac_ct_AS
690 ac_ct_LD
692 ac_ct_NM
694 ac_ct_AR
695 ARFLAGS
696 RANLIB
697 STRIP
698 WINDRES
699 LN_S
701 GREP
702 EGREP
703 LDCONFIG
704 INSTALL_PROGRAM
705 INSTALL_SCRIPT
706 INSTALL_DATA
707 LINT
708 LINTFLAGS
709 FONTFORGE
710 PKG_CONFIG
711 RSVG
712 ICOTOOL
713 PRELINK
714 LIBPTHREAD
715 XLIB
716 XFILES
717 OPENGLFILES
718 GLU32FILES
719 OPENGL_LIBS
720 QUARTZFILES
721 DLLEXT
722 DLLFLAGS
723 LDSHARED
724 LDDLLFLAGS
725 LIBEXT
726 IMPLIBEXT
727 LDRPATH_INSTALL
728 LDRPATH_LOCAL
730 DLLTOOL
731 DLLWRAP
732 MINGWAR
733 SECURITYLIB
734 COREFOUNDATIONLIB
735 IOKITLIB
736 LDEXECFLAGS
737 DISKARBITRATIONLIB
738 COREAUDIO
739 CARBONLIB
740 CROSSTEST
741 CROSSCC
742 CROSSWINDRES
743 NASLIBS
744 XML2LIBS
745 XML2INCL
746 XSLTLIBS
747 XSLTINCL
748 HALINCL
749 sane_devel
750 SANEINCL
751 gphoto2_devel
752 gphoto2port_devel
753 GPHOTO2LIBS
754 GPHOTO2INCL
755 RESOLVLIBS
756 LCMSLIBS
757 ft_devel
758 FREETYPELIBS
759 FREETYPEINCL
760 FONTSSUBDIRS
761 ESDCONFIG
762 ESDINCL
763 ESDLIBS
764 ALSALIBS
765 AUDIOIOLIBS
766 CUPSINCL
767 FONTCONFIGINCL
768 EXTRACFLAGS
769 BUILTINFLAG
770 LDPATH
771 CRTLIBS
772 SOCKETLIBS
773 MAIN_BINARY
774 EXTRA_BINARIES
775 LIBDL
776 LIBPOLL
777 LDAPLIBS
778 DEPENDENCIES
779 LIBOBJS
780 LTLIBOBJS'
781 ac_subst_files='MAKE_RULES
782 MAKE_DLL_RULES
783 MAKE_IMPLIB_RULES
784 MAKE_TEST_RULES
785 MAKE_PROG_RULES'
786 ac_precious_vars='build_alias
787 host_alias
788 target_alias
790 CFLAGS
791 LDFLAGS
792 LIBS
793 CPPFLAGS
795 CXXFLAGS
797 XMKMF
798 CPP'
801 # Initialize some variables set by options.
802 ac_init_help=
803 ac_init_version=false
804 # The variables have the same names as the options, with
805 # dashes changed to underlines.
806 cache_file=/dev/null
807 exec_prefix=NONE
808 no_create=
809 no_recursion=
810 prefix=NONE
811 program_prefix=NONE
812 program_suffix=NONE
813 program_transform_name=s,x,x,
814 silent=
815 site=
816 srcdir=
817 verbose=
818 x_includes=NONE
819 x_libraries=NONE
821 # Installation directory options.
822 # These are left unexpanded so users can "make install exec_prefix=/foo"
823 # and all the variables that are supposed to be based on exec_prefix
824 # by default will actually change.
825 # Use braces instead of parens because sh, perl, etc. also accept them.
826 # (The list follows the same order as the GNU Coding Standards.)
827 bindir='${exec_prefix}/bin'
828 sbindir='${exec_prefix}/sbin'
829 libexecdir='${exec_prefix}/libexec'
830 datarootdir='${prefix}/share'
831 datadir='${datarootdir}'
832 sysconfdir='${prefix}/etc'
833 sharedstatedir='${prefix}/com'
834 localstatedir='${prefix}/var'
835 includedir='${prefix}/include'
836 oldincludedir='/usr/include'
837 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
838 infodir='${datarootdir}/info'
839 htmldir='${docdir}'
840 dvidir='${docdir}'
841 pdfdir='${docdir}'
842 psdir='${docdir}'
843 libdir='${exec_prefix}/lib'
844 localedir='${datarootdir}/locale'
845 mandir='${datarootdir}/man'
847 ac_prev=
848 ac_dashdash=
849 for ac_option
851 # If the previous option needs an argument, assign it.
852 if test -n "$ac_prev"; then
853 eval $ac_prev=\$ac_option
854 ac_prev=
855 continue
858 case $ac_option in
859 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
860 *) ac_optarg=yes ;;
861 esac
863 # Accept the important Cygnus configure options, so we can diagnose typos.
865 case $ac_dashdash$ac_option in
867 ac_dashdash=yes ;;
869 -bindir | --bindir | --bindi | --bind | --bin | --bi)
870 ac_prev=bindir ;;
871 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
872 bindir=$ac_optarg ;;
874 -build | --build | --buil | --bui | --bu)
875 ac_prev=build_alias ;;
876 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
877 build_alias=$ac_optarg ;;
879 -cache-file | --cache-file | --cache-fil | --cache-fi \
880 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
881 ac_prev=cache_file ;;
882 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
883 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
884 cache_file=$ac_optarg ;;
886 --config-cache | -C)
887 cache_file=config.cache ;;
889 -datadir | --datadir | --datadi | --datad)
890 ac_prev=datadir ;;
891 -datadir=* | --datadir=* | --datadi=* | --datad=*)
892 datadir=$ac_optarg ;;
894 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
895 | --dataroo | --dataro | --datar)
896 ac_prev=datarootdir ;;
897 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
898 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
899 datarootdir=$ac_optarg ;;
901 -disable-* | --disable-*)
902 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
905 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
906 { (exit 1); exit 1; }; }
907 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
908 eval enable_$ac_feature=no ;;
910 -docdir | --docdir | --docdi | --doc | --do)
911 ac_prev=docdir ;;
912 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
913 docdir=$ac_optarg ;;
915 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
916 ac_prev=dvidir ;;
917 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
918 dvidir=$ac_optarg ;;
920 -enable-* | --enable-*)
921 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
924 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
925 { (exit 1); exit 1; }; }
926 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
927 eval enable_$ac_feature=\$ac_optarg ;;
929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931 | --exec | --exe | --ex)
932 ac_prev=exec_prefix ;;
933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935 | --exec=* | --exe=* | --ex=*)
936 exec_prefix=$ac_optarg ;;
938 -gas | --gas | --ga | --g)
939 # Obsolete; use --with-gas.
940 with_gas=yes ;;
942 -help | --help | --hel | --he | -h)
943 ac_init_help=long ;;
944 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945 ac_init_help=recursive ;;
946 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947 ac_init_help=short ;;
949 -host | --host | --hos | --ho)
950 ac_prev=host_alias ;;
951 -host=* | --host=* | --hos=* | --ho=*)
952 host_alias=$ac_optarg ;;
954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955 ac_prev=htmldir ;;
956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957 | --ht=*)
958 htmldir=$ac_optarg ;;
960 -includedir | --includedir | --includedi | --included | --include \
961 | --includ | --inclu | --incl | --inc)
962 ac_prev=includedir ;;
963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964 | --includ=* | --inclu=* | --incl=* | --inc=*)
965 includedir=$ac_optarg ;;
967 -infodir | --infodir | --infodi | --infod | --info | --inf)
968 ac_prev=infodir ;;
969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970 infodir=$ac_optarg ;;
972 -libdir | --libdir | --libdi | --libd)
973 ac_prev=libdir ;;
974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
975 libdir=$ac_optarg ;;
977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978 | --libexe | --libex | --libe)
979 ac_prev=libexecdir ;;
980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981 | --libexe=* | --libex=* | --libe=*)
982 libexecdir=$ac_optarg ;;
984 -localedir | --localedir | --localedi | --localed | --locale)
985 ac_prev=localedir ;;
986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987 localedir=$ac_optarg ;;
989 -localstatedir | --localstatedir | --localstatedi | --localstated \
990 | --localstate | --localstat | --localsta | --localst | --locals)
991 ac_prev=localstatedir ;;
992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994 localstatedir=$ac_optarg ;;
996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997 ac_prev=mandir ;;
998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999 mandir=$ac_optarg ;;
1001 -nfp | --nfp | --nf)
1002 # Obsolete; use --without-fp.
1003 with_fp=no ;;
1005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006 | --no-cr | --no-c | -n)
1007 no_create=yes ;;
1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1011 no_recursion=yes ;;
1013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015 | --oldin | --oldi | --old | --ol | --o)
1016 ac_prev=oldincludedir ;;
1017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020 oldincludedir=$ac_optarg ;;
1022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023 ac_prev=prefix ;;
1024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025 prefix=$ac_optarg ;;
1027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028 | --program-pre | --program-pr | --program-p)
1029 ac_prev=program_prefix ;;
1030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032 program_prefix=$ac_optarg ;;
1034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035 | --program-suf | --program-su | --program-s)
1036 ac_prev=program_suffix ;;
1037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039 program_suffix=$ac_optarg ;;
1041 -program-transform-name | --program-transform-name \
1042 | --program-transform-nam | --program-transform-na \
1043 | --program-transform-n | --program-transform- \
1044 | --program-transform | --program-transfor \
1045 | --program-transfo | --program-transf \
1046 | --program-trans | --program-tran \
1047 | --progr-tra | --program-tr | --program-t)
1048 ac_prev=program_transform_name ;;
1049 -program-transform-name=* | --program-transform-name=* \
1050 | --program-transform-nam=* | --program-transform-na=* \
1051 | --program-transform-n=* | --program-transform-=* \
1052 | --program-transform=* | --program-transfor=* \
1053 | --program-transfo=* | --program-transf=* \
1054 | --program-trans=* | --program-tran=* \
1055 | --progr-tra=* | --program-tr=* | --program-t=*)
1056 program_transform_name=$ac_optarg ;;
1058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059 ac_prev=pdfdir ;;
1060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061 pdfdir=$ac_optarg ;;
1063 -psdir | --psdir | --psdi | --psd | --ps)
1064 ac_prev=psdir ;;
1065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1066 psdir=$ac_optarg ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1070 silent=yes ;;
1072 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073 ac_prev=sbindir ;;
1074 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075 | --sbi=* | --sb=*)
1076 sbindir=$ac_optarg ;;
1078 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080 | --sharedst | --shareds | --shared | --share | --shar \
1081 | --sha | --sh)
1082 ac_prev=sharedstatedir ;;
1083 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086 | --sha=* | --sh=*)
1087 sharedstatedir=$ac_optarg ;;
1089 -site | --site | --sit)
1090 ac_prev=site ;;
1091 -site=* | --site=* | --sit=*)
1092 site=$ac_optarg ;;
1094 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095 ac_prev=srcdir ;;
1096 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097 srcdir=$ac_optarg ;;
1099 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100 | --syscon | --sysco | --sysc | --sys | --sy)
1101 ac_prev=sysconfdir ;;
1102 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104 sysconfdir=$ac_optarg ;;
1106 -target | --target | --targe | --targ | --tar | --ta | --t)
1107 ac_prev=target_alias ;;
1108 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109 target_alias=$ac_optarg ;;
1111 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1112 verbose=yes ;;
1114 -version | --version | --versio | --versi | --vers | -V)
1115 ac_init_version=: ;;
1117 -with-* | --with-*)
1118 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=\$ac_optarg ;;
1126 -without-* | --without-*)
1127 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128 # Reject names that are not valid shell variable names.
1129 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1130 { echo "$as_me: error: invalid package name: $ac_package" >&2
1131 { (exit 1); exit 1; }; }
1132 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1133 eval with_$ac_package=no ;;
1135 --x)
1136 # Obsolete; use --with-x.
1137 with_x=yes ;;
1139 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1140 | --x-incl | --x-inc | --x-in | --x-i)
1141 ac_prev=x_includes ;;
1142 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1143 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1144 x_includes=$ac_optarg ;;
1146 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1147 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1148 ac_prev=x_libraries ;;
1149 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1150 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1151 x_libraries=$ac_optarg ;;
1153 -*) { echo "$as_me: error: unrecognized option: $ac_option
1154 Try \`$0 --help' for more information." >&2
1155 { (exit 1); exit 1; }; }
1158 *=*)
1159 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1162 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1163 { (exit 1); exit 1; }; }
1164 eval $ac_envvar=\$ac_optarg
1165 export $ac_envvar ;;
1168 # FIXME: should be removed in autoconf 3.0.
1169 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1171 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 esac
1176 done
1178 if test -n "$ac_prev"; then
1179 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1180 { echo "$as_me: error: missing argument to $ac_option" >&2
1181 { (exit 1); exit 1; }; }
1184 # Be sure to have absolute directory names.
1185 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1186 datadir sysconfdir sharedstatedir localstatedir includedir \
1187 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1188 libdir localedir mandir
1190 eval ac_val=\$$ac_var
1191 case $ac_val in
1192 [\\/$]* | ?:[\\/]* ) continue;;
1193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1194 esac
1195 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1196 { (exit 1); exit 1; }; }
1197 done
1199 # There might be people who depend on the old broken behavior: `$host'
1200 # used to hold the argument of --host etc.
1201 # FIXME: To remove some day.
1202 build=$build_alias
1203 host=$host_alias
1204 target=$target_alias
1206 # FIXME: To remove some day.
1207 if test "x$host_alias" != x; then
1208 if test "x$build_alias" = x; then
1209 cross_compiling=maybe
1210 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1211 If a cross compiler is detected then cross compile mode will be used." >&2
1212 elif test "x$build_alias" != "x$host_alias"; then
1213 cross_compiling=yes
1217 ac_tool_prefix=
1218 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220 test "$silent" = yes && exec 6>/dev/null
1223 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1224 ac_ls_di=`ls -di .` &&
1225 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1226 { echo "$as_me: error: Working directory cannot be determined" >&2
1227 { (exit 1); exit 1; }; }
1228 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1229 { echo "$as_me: error: pwd does not report name of working directory" >&2
1230 { (exit 1); exit 1; }; }
1233 # Find the source files, if location was not specified.
1234 if test -z "$srcdir"; then
1235 ac_srcdir_defaulted=yes
1236 # Try the directory containing this script, then the parent directory.
1237 ac_confdir=`$as_dirname -- "$0" ||
1238 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1239 X"$0" : 'X\(//\)[^/]' \| \
1240 X"$0" : 'X\(//\)$' \| \
1241 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1242 echo X"$0" |
1243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1244 s//\1/
1247 /^X\(\/\/\)[^/].*/{
1248 s//\1/
1251 /^X\(\/\/\)$/{
1252 s//\1/
1255 /^X\(\/\).*/{
1256 s//\1/
1259 s/.*/./; q'`
1260 srcdir=$ac_confdir
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 srcdir=..
1264 else
1265 ac_srcdir_defaulted=no
1267 if test ! -r "$srcdir/$ac_unique_file"; then
1268 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1269 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1270 { (exit 1); exit 1; }; }
1272 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1273 ac_abs_confdir=`(
1274 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1275 { (exit 1); exit 1; }; }
1276 pwd)`
1277 # When building in place, set srcdir=.
1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
1279 srcdir=.
1281 # Remove unnecessary trailing slashes from srcdir.
1282 # Double slashes in file names in object file debugging info
1283 # mess up M-x gdb in Emacs.
1284 case $srcdir in
1285 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1286 esac
1287 for ac_var in $ac_precious_vars; do
1288 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1289 eval ac_env_${ac_var}_value=\$${ac_var}
1290 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1292 done
1295 # Report the --help message.
1297 if test "$ac_init_help" = "long"; then
1298 # Omit some internal or obsolete options to make the list less imposing.
1299 # This message is too long to be a string in the A/UX 3.1 sh.
1300 cat <<_ACEOF
1301 \`configure' configures Wine 1.1.2 to adapt to many kinds of systems.
1303 Usage: $0 [OPTION]... [VAR=VALUE]...
1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306 VAR=VALUE. See below for descriptions of some of the useful variables.
1308 Defaults for the options are specified in brackets.
1310 Configuration:
1311 -h, --help display this help and exit
1312 --help=short display options specific to this package
1313 --help=recursive display the short help of all the included packages
1314 -V, --version display version information and exit
1315 -q, --quiet, --silent do not print \`checking...' messages
1316 --cache-file=FILE cache test results in FILE [disabled]
1317 -C, --config-cache alias for \`--cache-file=config.cache'
1318 -n, --no-create do not create output files
1319 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1321 Installation directories:
1322 --prefix=PREFIX install architecture-independent files in PREFIX
1323 [$ac_default_prefix]
1324 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1325 [PREFIX]
1327 By default, \`make install' will install all the files in
1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330 for instance \`--prefix=\$HOME'.
1332 For better control, use the options below.
1334 Fine tuning of the installation directories:
1335 --bindir=DIR user executables [EPREFIX/bin]
1336 --sbindir=DIR system admin executables [EPREFIX/sbin]
1337 --libexecdir=DIR program executables [EPREFIX/libexec]
1338 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341 --libdir=DIR object code libraries [EPREFIX/lib]
1342 --includedir=DIR C header files [PREFIX/include]
1343 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1344 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346 --infodir=DIR info documentation [DATAROOTDIR/info]
1347 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348 --mandir=DIR man documentation [DATAROOTDIR/man]
1349 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1350 --htmldir=DIR html documentation [DOCDIR]
1351 --dvidir=DIR dvi documentation [DOCDIR]
1352 --pdfdir=DIR pdf documentation [DOCDIR]
1353 --psdir=DIR ps documentation [DOCDIR]
1354 _ACEOF
1356 cat <<\_ACEOF
1358 X features:
1359 --x-includes=DIR X include files are in DIR
1360 --x-libraries=DIR X library files are in DIR
1362 System types:
1363 --build=BUILD configure for building on BUILD [guessed]
1364 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1365 _ACEOF
1368 if test -n "$ac_init_help"; then
1369 case $ac_init_help in
1370 short | recursive ) echo "Configuration of Wine 1.1.2:";;
1371 esac
1372 cat <<\_ACEOF
1374 Optional Features:
1375 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1376 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1377 --disable-win16 do not include Win16 support
1378 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1379 binaries)
1380 --enable-maintainer-mode
1381 enable maintainer-specific build rules
1383 Optional Packages:
1384 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1385 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1386 --without-alsa do not use the Alsa sound support
1387 --without-audioio do not use the AudioIO sound support
1388 --without-capi do not use CAPI (ISDN support)
1389 --without-cms do not use CMS (color management support)
1390 --without-coreaudio do not use the CoreAudio sound support
1391 --without-cups do not use CUPS
1392 --without-curses do not use (n)curses
1393 --without-esd do not use the EsounD sound support
1394 --without-fontconfig do not use fontconfig
1395 --without-freetype do not use the FreeType library
1396 --without-gphoto do not use gphoto (Digital Camera support)
1397 --without-glu do not use the GLU library
1398 --without-hal do not use HAL (dynamic device support)
1399 --without-jack do not use the Jack sound support
1400 --without-jpeg do not use JPEG
1401 --without-ldap do not use LDAP
1402 --without-nas do not use the NAS sound support
1403 --without-opengl do not use OpenGL
1404 --without-openssl do not use OpenSSL
1405 --without-oss do not use the OSS sound support
1406 --without-png do not use PNG
1407 --without-sane do not use SANE (scanner support)
1408 --without-xcomposite do not use the Xcomposite extension
1409 --without-xcursor do not use the Xcursor extension
1410 --without-xinerama do not use Xinerama (multi-monitor support)
1411 --without-xinput do not use the Xinput extension
1412 --without-xml do not use XML
1413 --without-xrandr do not use Xrandr (resolution changes)
1414 --without-xrender do not use the Xrender extension
1415 --without-xshape do not use the Xshape extension
1416 --without-xshm do not use XShm (shared memory extension)
1417 --without-xslt do not use XSLT
1418 --without-xxf86vm do not use XFree video mode extension
1419 --with-wine-tools=DIR use Wine tools from directory DIR
1420 --with-x use the X Window System
1422 Some influential environment variables:
1423 CC C compiler command
1424 CFLAGS C compiler flags
1425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1426 nonstandard directory <lib dir>
1427 LIBS libraries to pass to the linker, e.g. -l<library>
1428 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1429 you have headers in a nonstandard directory <include dir>
1430 CXX C++ compiler command
1431 CXXFLAGS C++ compiler flags
1432 XMKMF Path to xmkmf, Makefile generator for X Window System
1433 CPP C preprocessor
1435 Use these variables to override the choices made by `configure' or to help
1436 it to find libraries and programs with nonstandard names/locations.
1438 Report bugs to <wine-devel@winehq.org>.
1439 _ACEOF
1440 ac_status=$?
1443 if test "$ac_init_help" = "recursive"; then
1444 # If there are subdirs, report their specific --help.
1445 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1446 test -d "$ac_dir" || continue
1447 ac_builddir=.
1449 case "$ac_dir" in
1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1453 # A ".." for each directory in $ac_dir_suffix.
1454 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1455 case $ac_top_builddir_sub in
1456 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1458 esac ;;
1459 esac
1460 ac_abs_top_builddir=$ac_pwd
1461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1462 # for backward compatibility:
1463 ac_top_builddir=$ac_top_build_prefix
1465 case $srcdir in
1466 .) # We are building in place.
1467 ac_srcdir=.
1468 ac_top_srcdir=$ac_top_builddir_sub
1469 ac_abs_top_srcdir=$ac_pwd ;;
1470 [\\/]* | ?:[\\/]* ) # Absolute name.
1471 ac_srcdir=$srcdir$ac_dir_suffix;
1472 ac_top_srcdir=$srcdir
1473 ac_abs_top_srcdir=$srcdir ;;
1474 *) # Relative name.
1475 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1476 ac_top_srcdir=$ac_top_build_prefix$srcdir
1477 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1478 esac
1479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1481 cd "$ac_dir" || { ac_status=$?; continue; }
1482 # Check for guested configure.
1483 if test -f "$ac_srcdir/configure.gnu"; then
1484 echo &&
1485 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486 elif test -f "$ac_srcdir/configure"; then
1487 echo &&
1488 $SHELL "$ac_srcdir/configure" --help=recursive
1489 else
1490 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491 fi || ac_status=$?
1492 cd "$ac_pwd" || { ac_status=$?; break; }
1493 done
1496 test -n "$ac_init_help" && exit $ac_status
1497 if $ac_init_version; then
1498 cat <<\_ACEOF
1499 Wine configure 1.1.2
1500 generated by GNU Autoconf 2.61
1502 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1503 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1504 This configure script is free software; the Free Software Foundation
1505 gives unlimited permission to copy, distribute and modify it.
1506 _ACEOF
1507 exit
1509 cat >config.log <<_ACEOF
1510 This file contains any messages produced by compilers while
1511 running configure, to aid debugging if configure makes a mistake.
1513 It was created by Wine $as_me 1.1.2, which was
1514 generated by GNU Autoconf 2.61. Invocation command line was
1516 $ $0 $@
1518 _ACEOF
1519 exec 5>>config.log
1521 cat <<_ASUNAME
1522 ## --------- ##
1523 ## Platform. ##
1524 ## --------- ##
1526 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1527 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1528 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1529 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1530 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1532 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1533 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1535 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1536 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1537 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1538 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1539 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1540 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1541 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1543 _ASUNAME
1545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1546 for as_dir in $PATH
1548 IFS=$as_save_IFS
1549 test -z "$as_dir" && as_dir=.
1550 echo "PATH: $as_dir"
1551 done
1552 IFS=$as_save_IFS
1554 } >&5
1556 cat >&5 <<_ACEOF
1559 ## ----------- ##
1560 ## Core tests. ##
1561 ## ----------- ##
1563 _ACEOF
1566 # Keep a trace of the command line.
1567 # Strip out --no-create and --no-recursion so they do not pile up.
1568 # Strip out --silent because we don't want to record it for future runs.
1569 # Also quote any args containing shell meta-characters.
1570 # Make two passes to allow for proper duplicate-argument suppression.
1571 ac_configure_args=
1572 ac_configure_args0=
1573 ac_configure_args1=
1574 ac_must_keep_next=false
1575 for ac_pass in 1 2
1577 for ac_arg
1579 case $ac_arg in
1580 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1581 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1582 | -silent | --silent | --silen | --sile | --sil)
1583 continue ;;
1584 *\'*)
1585 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1586 esac
1587 case $ac_pass in
1588 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1590 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1591 if test $ac_must_keep_next = true; then
1592 ac_must_keep_next=false # Got value, back to normal.
1593 else
1594 case $ac_arg in
1595 *=* | --config-cache | -C | -disable-* | --disable-* \
1596 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1597 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1598 | -with-* | --with-* | -without-* | --without-* | --x)
1599 case "$ac_configure_args0 " in
1600 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1601 esac
1603 -* ) ac_must_keep_next=true ;;
1604 esac
1606 ac_configure_args="$ac_configure_args '$ac_arg'"
1608 esac
1609 done
1610 done
1611 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1612 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1614 # When interrupted or exit'd, cleanup temporary files, and complete
1615 # config.log. We remove comments because anyway the quotes in there
1616 # would cause problems or look ugly.
1617 # WARNING: Use '\'' to represent an apostrophe within the trap.
1618 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1619 trap 'exit_status=$?
1620 # Save into config.log some information that might help in debugging.
1622 echo
1624 cat <<\_ASBOX
1625 ## ---------------- ##
1626 ## Cache variables. ##
1627 ## ---------------- ##
1628 _ASBOX
1629 echo
1630 # The following way of writing the cache mishandles newlines in values,
1632 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1633 eval ac_val=\$$ac_var
1634 case $ac_val in #(
1635 *${as_nl}*)
1636 case $ac_var in #(
1637 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1638 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1639 esac
1640 case $ac_var in #(
1641 _ | IFS | as_nl) ;; #(
1642 *) $as_unset $ac_var ;;
1643 esac ;;
1644 esac
1645 done
1646 (set) 2>&1 |
1647 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1648 *${as_nl}ac_space=\ *)
1649 sed -n \
1650 "s/'\''/'\''\\\\'\'''\''/g;
1651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1652 ;; #(
1654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1656 esac |
1657 sort
1659 echo
1661 cat <<\_ASBOX
1662 ## ----------------- ##
1663 ## Output variables. ##
1664 ## ----------------- ##
1665 _ASBOX
1666 echo
1667 for ac_var in $ac_subst_vars
1669 eval ac_val=\$$ac_var
1670 case $ac_val in
1671 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1672 esac
1673 echo "$ac_var='\''$ac_val'\''"
1674 done | sort
1675 echo
1677 if test -n "$ac_subst_files"; then
1678 cat <<\_ASBOX
1679 ## ------------------- ##
1680 ## File substitutions. ##
1681 ## ------------------- ##
1682 _ASBOX
1683 echo
1684 for ac_var in $ac_subst_files
1686 eval ac_val=\$$ac_var
1687 case $ac_val in
1688 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1689 esac
1690 echo "$ac_var='\''$ac_val'\''"
1691 done | sort
1692 echo
1695 if test -s confdefs.h; then
1696 cat <<\_ASBOX
1697 ## ----------- ##
1698 ## confdefs.h. ##
1699 ## ----------- ##
1700 _ASBOX
1701 echo
1702 cat confdefs.h
1703 echo
1705 test "$ac_signal" != 0 &&
1706 echo "$as_me: caught signal $ac_signal"
1707 echo "$as_me: exit $exit_status"
1708 } >&5
1709 rm -f core *.core core.conftest.* &&
1710 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1711 exit $exit_status
1713 for ac_signal in 1 2 13 15; do
1714 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1715 done
1716 ac_signal=0
1718 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1719 rm -f -r conftest* confdefs.h
1721 # Predefined preprocessor variables.
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_NAME "$PACKAGE_NAME"
1725 _ACEOF
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1730 _ACEOF
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1735 _ACEOF
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_STRING "$PACKAGE_STRING"
1740 _ACEOF
1743 cat >>confdefs.h <<_ACEOF
1744 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1745 _ACEOF
1748 # Let the site file select an alternate cache file if it wants to.
1749 # Prefer explicitly selected file to automatically selected ones.
1750 if test -n "$CONFIG_SITE"; then
1751 set x "$CONFIG_SITE"
1752 elif test "x$prefix" != xNONE; then
1753 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1754 else
1755 set x "$ac_default_prefix/share/config.site" \
1756 "$ac_default_prefix/etc/config.site"
1758 shift
1759 for ac_site_file
1761 if test -r "$ac_site_file"; then
1762 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1763 echo "$as_me: loading site script $ac_site_file" >&6;}
1764 sed 's/^/| /' "$ac_site_file" >&5
1765 . "$ac_site_file"
1767 done
1769 if test -r "$cache_file"; then
1770 # Some versions of bash will fail to source /dev/null (special
1771 # files actually), so we avoid doing that.
1772 if test -f "$cache_file"; then
1773 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1774 echo "$as_me: loading cache $cache_file" >&6;}
1775 case $cache_file in
1776 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1777 *) . "./$cache_file";;
1778 esac
1780 else
1781 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1782 echo "$as_me: creating cache $cache_file" >&6;}
1783 >$cache_file
1786 # Check that the precious variables saved in the cache have kept the same
1787 # value.
1788 ac_cache_corrupted=false
1789 for ac_var in $ac_precious_vars; do
1790 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1791 eval ac_new_set=\$ac_env_${ac_var}_set
1792 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1793 eval ac_new_val=\$ac_env_${ac_var}_value
1794 case $ac_old_set,$ac_new_set in
1795 set,)
1796 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1797 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1798 ac_cache_corrupted=: ;;
1799 ,set)
1800 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1801 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1802 ac_cache_corrupted=: ;;
1803 ,);;
1805 if test "x$ac_old_val" != "x$ac_new_val"; then
1806 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1807 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1808 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1809 echo "$as_me: former value: $ac_old_val" >&2;}
1810 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1811 echo "$as_me: current value: $ac_new_val" >&2;}
1812 ac_cache_corrupted=:
1813 fi;;
1814 esac
1815 # Pass precious variables to config.status.
1816 if test "$ac_new_set" = set; then
1817 case $ac_new_val in
1818 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1819 *) ac_arg=$ac_var=$ac_new_val ;;
1820 esac
1821 case " $ac_configure_args " in
1822 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1823 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1824 esac
1826 done
1827 if $ac_cache_corrupted; then
1828 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1829 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1830 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1831 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1832 { (exit 1); exit 1; }; }
1859 ac_ext=c
1860 ac_cpp='$CPP $CPPFLAGS'
1861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1867 ac_config_headers="$ac_config_headers include/config.h"
1869 ac_aux_dir=
1870 for ac_dir in tools "$srcdir"/tools; do
1871 if 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/install.sh"; then
1876 ac_aux_dir=$ac_dir
1877 ac_install_sh="$ac_aux_dir/install.sh -c"
1878 break
1879 elif test -f "$ac_dir/shtool"; then
1880 ac_aux_dir=$ac_dir
1881 ac_install_sh="$ac_aux_dir/shtool install -c"
1882 break
1884 done
1885 if test -z "$ac_aux_dir"; then
1886 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1887 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1888 { (exit 1); exit 1; }; }
1891 # These three variables are undocumented and unsupported,
1892 # and are intended to be withdrawn in a future Autoconf release.
1893 # They can cause serious problems if a builder's source tree is in a directory
1894 # whose full name contains unusual characters.
1895 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1896 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1897 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1902 # Check whether --enable-win16 was given.
1903 if test "${enable_win16+set}" = set; then
1904 enableval=$enable_win16;
1907 # Check whether --enable-win64 was given.
1908 if test "${enable_win64+set}" = set; then
1909 enableval=$enable_win64;
1912 # Check whether --enable-maintainer-mode was given.
1913 if test "${enable_maintainer_mode+set}" = set; then
1914 enableval=$enable_maintainer_mode;
1915 else
1916 MAINTAINER_MODE=\#
1922 # Check whether --with-alsa was given.
1923 if test "${with_alsa+set}" = set; then
1924 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1928 # Check whether --with-audioio was given.
1929 if test "${with_audioio+set}" = set; then
1930 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1934 # Check whether --with-capi was given.
1935 if test "${with_capi+set}" = set; then
1936 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1940 # Check whether --with-cms was given.
1941 if test "${with_cms+set}" = set; then
1942 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1946 # Check whether --with-coreaudio was given.
1947 if test "${with_coreaudio+set}" = set; then
1948 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1952 # Check whether --with-cups was given.
1953 if test "${with_cups+set}" = set; then
1954 withval=$with_cups;
1958 # Check whether --with-curses was given.
1959 if test "${with_curses+set}" = set; then
1960 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1964 # Check whether --with-esd was given.
1965 if test "${with_esd+set}" = set; then
1966 withval=$with_esd;
1970 # Check whether --with-fontconfig was given.
1971 if test "${with_fontconfig+set}" = set; then
1972 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1976 # Check whether --with-freetype was given.
1977 if test "${with_freetype+set}" = set; then
1978 withval=$with_freetype;
1982 # Check whether --with-gphoto was given.
1983 if test "${with_gphoto+set}" = set; then
1984 withval=$with_gphoto;
1988 # Check whether --with-glu was given.
1989 if test "${with_glu+set}" = set; then
1990 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1994 # Check whether --with-hal was given.
1995 if test "${with_hal+set}" = set; then
1996 withval=$with_hal;
2000 # Check whether --with-jack was given.
2001 if test "${with_jack+set}" = set; then
2002 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2006 # Check whether --with-jpeg was given.
2007 if test "${with_jpeg+set}" = set; then
2008 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2012 # Check whether --with-ldap was given.
2013 if test "${with_ldap+set}" = set; then
2014 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2018 # Check whether --with-nas was given.
2019 if test "${with_nas+set}" = set; then
2020 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2024 # Check whether --with-opengl was given.
2025 if test "${with_opengl+set}" = set; then
2026 withval=$with_opengl;
2030 # Check whether --with-openssl was given.
2031 if test "${with_openssl+set}" = set; then
2032 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2036 # Check whether --with-oss was given.
2037 if test "${with_oss+set}" = set; then
2038 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
2042 # Check whether --with-png was given.
2043 if test "${with_png+set}" = set; then
2044 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2048 # Check whether --with-sane was given.
2049 if test "${with_sane+set}" = set; then
2050 withval=$with_sane;
2054 # Check whether --with-xcomposite was given.
2055 if test "${with_xcomposite+set}" = set; then
2056 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2060 # Check whether --with-xcursor was given.
2061 if test "${with_xcursor+set}" = set; then
2062 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2066 # Check whether --with-xinerama was given.
2067 if test "${with_xinerama+set}" = set; then
2068 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2072 # Check whether --with-xinput was given.
2073 if test "${with_xinput+set}" = set; then
2074 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2078 # Check whether --with-xml was given.
2079 if test "${with_xml+set}" = set; then
2080 withval=$with_xml;
2084 # Check whether --with-xrandr was given.
2085 if test "${with_xrandr+set}" = set; then
2086 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2090 # Check whether --with-xrender was given.
2091 if test "${with_xrender+set}" = set; then
2092 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2096 # Check whether --with-xshape was given.
2097 if test "${with_xshape+set}" = set; then
2098 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2102 # Check whether --with-xshm was given.
2103 if test "${with_xshm+set}" = set; then
2104 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2108 # Check whether --with-xslt was given.
2109 if test "${with_xslt+set}" = set; then
2110 withval=$with_xslt;
2114 # Check whether --with-xxf86vm was given.
2115 if test "${with_xxf86vm+set}" = set; then
2116 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2121 # Check whether --with-wine-tools was given.
2122 if test "${with_wine_tools+set}" = set; then
2123 withval=$with_wine_tools;
2127 # Make sure we can run config.sub.
2128 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2129 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2130 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2131 { (exit 1); exit 1; }; }
2133 { echo "$as_me:$LINENO: checking build system type" >&5
2134 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2135 if test "${ac_cv_build+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 else
2138 ac_build_alias=$build_alias
2139 test "x$ac_build_alias" = x &&
2140 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2141 test "x$ac_build_alias" = x &&
2142 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2143 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2144 { (exit 1); exit 1; }; }
2145 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2146 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2147 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2148 { (exit 1); exit 1; }; }
2151 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2152 echo "${ECHO_T}$ac_cv_build" >&6; }
2153 case $ac_cv_build in
2154 *-*-*) ;;
2155 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2156 echo "$as_me: error: invalid value of canonical build" >&2;}
2157 { (exit 1); exit 1; }; };;
2158 esac
2159 build=$ac_cv_build
2160 ac_save_IFS=$IFS; IFS='-'
2161 set x $ac_cv_build
2162 shift
2163 build_cpu=$1
2164 build_vendor=$2
2165 shift; shift
2166 # Remember, the first character of IFS is used to create $*,
2167 # except with old shells:
2168 build_os=$*
2169 IFS=$ac_save_IFS
2170 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2173 { echo "$as_me:$LINENO: checking host system type" >&5
2174 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2175 if test "${ac_cv_host+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 else
2178 if test "x$host_alias" = x; then
2179 ac_cv_host=$ac_cv_build
2180 else
2181 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2182 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2183 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2184 { (exit 1); exit 1; }; }
2188 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2189 echo "${ECHO_T}$ac_cv_host" >&6; }
2190 case $ac_cv_host in
2191 *-*-*) ;;
2192 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2193 echo "$as_me: error: invalid value of canonical host" >&2;}
2194 { (exit 1); exit 1; }; };;
2195 esac
2196 host=$ac_cv_host
2197 ac_save_IFS=$IFS; IFS='-'
2198 set x $ac_cv_host
2199 shift
2200 host_cpu=$1
2201 host_vendor=$2
2202 shift; shift
2203 # Remember, the first character of IFS is used to create $*,
2204 # except with old shells:
2205 host_os=$*
2206 IFS=$ac_save_IFS
2207 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2210 case $host in
2211 x86_64*linux*)
2212 if test "x$enable_win64" != "xyes"
2213 then
2214 test -n "$CC" || CC="gcc -m32"
2215 test -n "$CXX"|| CXX="g++ -m32"
2216 test -n "$LD" || LD="ld -m elf_i386"
2217 test -n "$AS" || AS="as --32"
2218 host_cpu="i386"
2221 esac
2223 case $host_cpu in
2224 *i[3456789]86*)
2225 if test "x$enable_win16" != "xno"
2226 then
2227 enable_win16="yes"
2230 esac
2232 WIN16_FILES="\$(WIN16_FILES)"
2234 WIN16_INSTALL="\$(WIN16_INSTALL)"
2236 if test "x$enable_win16" != "xyes"
2237 then
2238 WIN16_FILES=""
2239 WIN16_INSTALL=""
2242 case "$srcdir" in
2243 .) ;;
2244 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2245 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2246 You need to run 'make distclean' in the source tree first." >&5
2247 echo "$as_me: 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." >&2;}
2249 { (exit 1); exit 1; }; }
2250 fi ;;
2251 esac
2254 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2255 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2256 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2257 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 else
2260 cat >conftest.make <<\_ACEOF
2261 SHELL = /bin/sh
2262 all:
2263 @echo '@@@%%%=$(MAKE)=@@@%%%'
2264 _ACEOF
2265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2267 *@@@%%%=?*=@@@%%%*)
2268 eval ac_cv_prog_make_${ac_make}_set=yes;;
2270 eval ac_cv_prog_make_${ac_make}_set=no;;
2271 esac
2272 rm -f conftest.make
2274 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2275 { echo "$as_me:$LINENO: result: yes" >&5
2276 echo "${ECHO_T}yes" >&6; }
2277 SET_MAKE=
2278 else
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2281 SET_MAKE="MAKE=${MAKE-make}"
2284 ac_ext=c
2285 ac_cpp='$CPP $CPPFLAGS'
2286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2291 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 else
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
2299 else
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 for as_dir in $PATH
2303 IFS=$as_save_IFS
2304 test -z "$as_dir" && as_dir=.
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 break 2
2311 done
2312 done
2313 IFS=$as_save_IFS
2317 CC=$ac_cv_prog_CC
2318 if test -n "$CC"; then
2319 { echo "$as_me:$LINENO: result: $CC" >&5
2320 echo "${ECHO_T}$CC" >&6; }
2321 else
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2328 if test -z "$ac_cv_prog_CC"; then
2329 ac_ct_CC=$CC
2330 # Extract the first word of "gcc", so it can be a program name with args.
2331 set dummy gcc; ac_word=$2
2332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2334 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 else
2337 if test -n "$ac_ct_CC"; then
2338 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2339 else
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 for as_dir in $PATH
2343 IFS=$as_save_IFS
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_ac_ct_CC="gcc"
2348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 break 2
2351 done
2352 done
2353 IFS=$as_save_IFS
2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2360 echo "${ECHO_T}$ac_ct_CC" >&6; }
2361 else
2362 { echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6; }
2366 if test "x$ac_ct_CC" = x; then
2367 CC=""
2368 else
2369 case $cross_compiling:$ac_tool_warned in
2370 yes:)
2371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2372 whose name does not start with the host triplet. If you think this
2373 configuration is useful to you, please write to autoconf@gnu.org." >&5
2374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2375 whose name does not start with the host triplet. If you think this
2376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2377 ac_tool_warned=yes ;;
2378 esac
2379 CC=$ac_ct_CC
2381 else
2382 CC="$ac_cv_prog_CC"
2385 if test -z "$CC"; then
2386 if test -n "$ac_tool_prefix"; then
2387 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2388 set dummy ${ac_tool_prefix}cc; ac_word=$2
2389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2391 if test "${ac_cv_prog_CC+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 else
2394 if test -n "$CC"; then
2395 ac_cv_prog_CC="$CC" # Let the user override the test.
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH
2400 IFS=$as_save_IFS
2401 test -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404 ac_cv_prog_CC="${ac_tool_prefix}cc"
2405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 break 2
2408 done
2409 done
2410 IFS=$as_save_IFS
2414 CC=$ac_cv_prog_CC
2415 if test -n "$CC"; then
2416 { echo "$as_me:$LINENO: result: $CC" >&5
2417 echo "${ECHO_T}$CC" >&6; }
2418 else
2419 { echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6; }
2426 if test -z "$CC"; then
2427 # Extract the first word of "cc", so it can be a program name with args.
2428 set dummy cc; ac_word=$2
2429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2431 if test "${ac_cv_prog_CC+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 else
2434 if test -n "$CC"; then
2435 ac_cv_prog_CC="$CC" # Let the user override the test.
2436 else
2437 ac_prog_rejected=no
2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2439 for as_dir in $PATH
2441 IFS=$as_save_IFS
2442 test -z "$as_dir" && as_dir=.
2443 for ac_exec_ext in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2446 ac_prog_rejected=yes
2447 continue
2449 ac_cv_prog_CC="cc"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 break 2
2453 done
2454 done
2455 IFS=$as_save_IFS
2457 if test $ac_prog_rejected = yes; then
2458 # We found a bogon in the path, so make sure we never use it.
2459 set dummy $ac_cv_prog_CC
2460 shift
2461 if test $# != 0; then
2462 # We chose a different compiler from the bogus one.
2463 # However, it has the same basename, so the bogon will be chosen
2464 # first if we set CC to just the basename; use the full file name.
2465 shift
2466 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2471 CC=$ac_cv_prog_CC
2472 if test -n "$CC"; then
2473 { echo "$as_me:$LINENO: result: $CC" >&5
2474 echo "${ECHO_T}$CC" >&6; }
2475 else
2476 { echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6; }
2482 if test -z "$CC"; then
2483 if test -n "$ac_tool_prefix"; then
2484 for ac_prog in cl.exe
2486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 else
2493 if test -n "$CC"; then
2494 ac_cv_prog_CC="$CC" # Let the user override the test.
2495 else
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 for as_dir in $PATH
2499 IFS=$as_save_IFS
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 break 2
2507 done
2508 done
2509 IFS=$as_save_IFS
2513 CC=$ac_cv_prog_CC
2514 if test -n "$CC"; then
2515 { echo "$as_me:$LINENO: result: $CC" >&5
2516 echo "${ECHO_T}$CC" >&6; }
2517 else
2518 { echo "$as_me:$LINENO: result: no" >&5
2519 echo "${ECHO_T}no" >&6; }
2523 test -n "$CC" && break
2524 done
2526 if test -z "$CC"; then
2527 ac_ct_CC=$CC
2528 for ac_prog in cl.exe
2530 # Extract the first word of "$ac_prog", so it can be a program name with args.
2531 set dummy $ac_prog; ac_word=$2
2532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2534 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 else
2537 if test -n "$ac_ct_CC"; then
2538 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2539 else
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 for as_dir in $PATH
2543 IFS=$as_save_IFS
2544 test -z "$as_dir" && as_dir=.
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_ac_ct_CC="$ac_prog"
2548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 break 2
2551 done
2552 done
2553 IFS=$as_save_IFS
2557 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2558 if test -n "$ac_ct_CC"; then
2559 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2560 echo "${ECHO_T}$ac_ct_CC" >&6; }
2561 else
2562 { echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6; }
2567 test -n "$ac_ct_CC" && break
2568 done
2570 if test "x$ac_ct_CC" = x; then
2571 CC=""
2572 else
2573 case $cross_compiling:$ac_tool_warned in
2574 yes:)
2575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2576 whose name does not start with the host triplet. If you think this
2577 configuration is useful to you, please write to autoconf@gnu.org." >&5
2578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2579 whose name does not start with the host triplet. If you think this
2580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2581 ac_tool_warned=yes ;;
2582 esac
2583 CC=$ac_ct_CC
2590 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2591 See \`config.log' for more details." >&5
2592 echo "$as_me: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&2;}
2594 { (exit 1); exit 1; }; }
2596 # Provide some information about the compiler.
2597 echo "$as_me:$LINENO: checking for C compiler version" >&5
2598 ac_compiler=`set X $ac_compile; echo $2`
2599 { (ac_try="$ac_compiler --version >&5"
2600 case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2603 esac
2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2605 (eval "$ac_compiler --version >&5") 2>&5
2606 ac_status=$?
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }
2609 { (ac_try="$ac_compiler -v >&5"
2610 case "(($ac_try" in
2611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2612 *) ac_try_echo=$ac_try;;
2613 esac
2614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2615 (eval "$ac_compiler -v >&5") 2>&5
2616 ac_status=$?
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }
2619 { (ac_try="$ac_compiler -V >&5"
2620 case "(($ac_try" in
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2623 esac
2624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2625 (eval "$ac_compiler -V >&5") 2>&5
2626 ac_status=$?
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }
2630 cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h. */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2638 main ()
2642 return 0;
2644 _ACEOF
2645 ac_clean_files_save=$ac_clean_files
2646 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2647 # Try to create an executable without -o first, disregard a.out.
2648 # It will help us diagnose broken compilers, and finding out an intuition
2649 # of exeext.
2650 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2651 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2652 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2654 # List of possible output files, starting from the most likely.
2655 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2656 # only as a last resort. b.out is created by i960 compilers.
2657 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2659 # The IRIX 6 linker writes into existing files which may not be
2660 # executable, retaining their permissions. Remove them first so a
2661 # subsequent execution test works.
2662 ac_rmfiles=
2663 for ac_file in $ac_files
2665 case $ac_file in
2666 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2667 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2668 esac
2669 done
2670 rm -f $ac_rmfiles
2672 if { (ac_try="$ac_link_default"
2673 case "(($ac_try" in
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2676 esac
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_link_default") 2>&5
2679 ac_status=$?
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; then
2682 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2683 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2684 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2685 # so that the user can short-circuit this test for compilers unknown to
2686 # Autoconf.
2687 for ac_file in $ac_files ''
2689 test -f "$ac_file" || continue
2690 case $ac_file in
2691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2693 [ab].out )
2694 # We found the default executable, but exeext='' is most
2695 # certainly right.
2696 break;;
2697 *.* )
2698 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2699 then :; else
2700 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2702 # We set ac_cv_exeext here because the later test for it is not
2703 # safe: cross compilers may not add the suffix if given an `-o'
2704 # argument, so we may need to know it at that point already.
2705 # Even if this section looks crufty: it has the advantage of
2706 # actually working.
2707 break;;
2709 break;;
2710 esac
2711 done
2712 test "$ac_cv_exeext" = no && ac_cv_exeext=
2714 else
2715 ac_file=''
2718 { echo "$as_me:$LINENO: result: $ac_file" >&5
2719 echo "${ECHO_T}$ac_file" >&6; }
2720 if test -z "$ac_file"; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2724 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2725 See \`config.log' for more details." >&5
2726 echo "$as_me: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&2;}
2728 { (exit 77); exit 77; }; }
2731 ac_exeext=$ac_cv_exeext
2733 # Check that the compiler produces executables we can run. If not, either
2734 # the compiler is broken, or we cross compile.
2735 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2736 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2737 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2738 # If not cross compiling, check that we can run a simple program.
2739 if test "$cross_compiling" != yes; then
2740 if { ac_try='./$ac_file'
2741 { (case "(($ac_try" in
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2744 esac
2745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2746 (eval "$ac_try") 2>&5
2747 ac_status=$?
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2750 cross_compiling=no
2751 else
2752 if test "$cross_compiling" = maybe; then
2753 cross_compiling=yes
2754 else
2755 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2756 If you meant to cross compile, use \`--host'.
2757 See \`config.log' for more details." >&5
2758 echo "$as_me: error: cannot run C compiled programs.
2759 If you meant to cross compile, use \`--host'.
2760 See \`config.log' for more details." >&2;}
2761 { (exit 1); exit 1; }; }
2765 { echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6; }
2768 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2769 ac_clean_files=$ac_clean_files_save
2770 # Check that the compiler produces executables we can run. If not, either
2771 # the compiler is broken, or we cross compile.
2772 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2773 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2774 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2775 echo "${ECHO_T}$cross_compiling" >&6; }
2777 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2778 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2779 if { (ac_try="$ac_link"
2780 case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2783 esac
2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_link") 2>&5
2786 ac_status=$?
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; then
2789 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2790 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2791 # work properly (i.e., refer to `conftest.exe'), while it won't with
2792 # `rm'.
2793 for ac_file in conftest.exe conftest conftest.*; do
2794 test -f "$ac_file" || continue
2795 case $ac_file in
2796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2797 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2798 break;;
2799 * ) break;;
2800 esac
2801 done
2802 else
2803 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2804 See \`config.log' for more details." >&5
2805 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&2;}
2807 { (exit 1); exit 1; }; }
2810 rm -f conftest$ac_cv_exeext
2811 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2812 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2814 rm -f conftest.$ac_ext
2815 EXEEXT=$ac_cv_exeext
2816 ac_exeext=$EXEEXT
2817 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2818 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2819 if test "${ac_cv_objext+set}" = set; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 else
2822 cat >conftest.$ac_ext <<_ACEOF
2823 /* confdefs.h. */
2824 _ACEOF
2825 cat confdefs.h >>conftest.$ac_ext
2826 cat >>conftest.$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2830 main ()
2834 return 0;
2836 _ACEOF
2837 rm -f conftest.o conftest.obj
2838 if { (ac_try="$ac_compile"
2839 case "(($ac_try" in
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2842 esac
2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2844 (eval "$ac_compile") 2>&5
2845 ac_status=$?
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; then
2848 for ac_file in conftest.o conftest.obj conftest.*; do
2849 test -f "$ac_file" || continue;
2850 case $ac_file in
2851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2852 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2853 break;;
2854 esac
2855 done
2856 else
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2861 See \`config.log' for more details." >&5
2862 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log' for more details." >&2;}
2864 { (exit 1); exit 1; }; }
2867 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2869 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2870 echo "${ECHO_T}$ac_cv_objext" >&6; }
2871 OBJEXT=$ac_cv_objext
2872 ac_objext=$OBJEXT
2873 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2874 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2875 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 else
2878 cat >conftest.$ac_ext <<_ACEOF
2879 /* confdefs.h. */
2880 _ACEOF
2881 cat confdefs.h >>conftest.$ac_ext
2882 cat >>conftest.$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2886 main ()
2888 #ifndef __GNUC__
2889 choke me
2890 #endif
2893 return 0;
2895 _ACEOF
2896 rm -f conftest.$ac_objext
2897 if { (ac_try="$ac_compile"
2898 case "(($ac_try" in
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2901 esac
2902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_compile") 2>conftest.er1
2904 ac_status=$?
2905 grep -v '^ *+' conftest.er1 >conftest.err
2906 rm -f conftest.er1
2907 cat conftest.err >&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); } && {
2910 test -z "$ac_c_werror_flag" ||
2911 test ! -s conftest.err
2912 } && test -s conftest.$ac_objext; then
2913 ac_compiler_gnu=yes
2914 else
2915 echo "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2918 ac_compiler_gnu=no
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2925 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2926 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2927 GCC=`test $ac_compiler_gnu = yes && echo yes`
2928 ac_test_CFLAGS=${CFLAGS+set}
2929 ac_save_CFLAGS=$CFLAGS
2930 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2931 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2932 if test "${ac_cv_prog_cc_g+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 else
2935 ac_save_c_werror_flag=$ac_c_werror_flag
2936 ac_c_werror_flag=yes
2937 ac_cv_prog_cc_g=no
2938 CFLAGS="-g"
2939 cat >conftest.$ac_ext <<_ACEOF
2940 /* confdefs.h. */
2941 _ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2947 main ()
2951 return 0;
2953 _ACEOF
2954 rm -f conftest.$ac_objext
2955 if { (ac_try="$ac_compile"
2956 case "(($ac_try" in
2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958 *) ac_try_echo=$ac_try;;
2959 esac
2960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2961 (eval "$ac_compile") 2>conftest.er1
2962 ac_status=$?
2963 grep -v '^ *+' conftest.er1 >conftest.err
2964 rm -f conftest.er1
2965 cat conftest.err >&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); } && {
2968 test -z "$ac_c_werror_flag" ||
2969 test ! -s conftest.err
2970 } && test -s conftest.$ac_objext; then
2971 ac_cv_prog_cc_g=yes
2972 else
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2976 CFLAGS=""
2977 cat >conftest.$ac_ext <<_ACEOF
2978 /* confdefs.h. */
2979 _ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2985 main ()
2989 return 0;
2991 _ACEOF
2992 rm -f conftest.$ac_objext
2993 if { (ac_try="$ac_compile"
2994 case "(($ac_try" in
2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2997 esac
2998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2999 (eval "$ac_compile") 2>conftest.er1
3000 ac_status=$?
3001 grep -v '^ *+' conftest.er1 >conftest.err
3002 rm -f conftest.er1
3003 cat conftest.err >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); } && {
3006 test -z "$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3008 } && test -s conftest.$ac_objext; then
3010 else
3011 echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 ac_c_werror_flag=$ac_save_c_werror_flag
3015 CFLAGS="-g"
3016 cat >conftest.$ac_ext <<_ACEOF
3017 /* confdefs.h. */
3018 _ACEOF
3019 cat confdefs.h >>conftest.$ac_ext
3020 cat >>conftest.$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3024 main ()
3028 return 0;
3030 _ACEOF
3031 rm -f conftest.$ac_objext
3032 if { (ac_try="$ac_compile"
3033 case "(($ac_try" in
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3036 esac
3037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3038 (eval "$ac_compile") 2>conftest.er1
3039 ac_status=$?
3040 grep -v '^ *+' conftest.er1 >conftest.err
3041 rm -f conftest.er1
3042 cat conftest.err >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } && {
3045 test -z "$ac_c_werror_flag" ||
3046 test ! -s conftest.err
3047 } && test -s conftest.$ac_objext; then
3048 ac_cv_prog_cc_g=yes
3049 else
3050 echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 ac_c_werror_flag=$ac_save_c_werror_flag
3065 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3066 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3067 if test "$ac_test_CFLAGS" = set; then
3068 CFLAGS=$ac_save_CFLAGS
3069 elif test $ac_cv_prog_cc_g = yes; then
3070 if test "$GCC" = yes; then
3071 CFLAGS="-g -O2"
3072 else
3073 CFLAGS="-g"
3075 else
3076 if test "$GCC" = yes; then
3077 CFLAGS="-O2"
3078 else
3079 CFLAGS=
3082 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3083 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3084 if test "${ac_cv_prog_cc_c89+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 else
3087 ac_cv_prog_cc_c89=no
3088 ac_save_CC=$CC
3089 cat >conftest.$ac_ext <<_ACEOF
3090 /* confdefs.h. */
3091 _ACEOF
3092 cat confdefs.h >>conftest.$ac_ext
3093 cat >>conftest.$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3095 #include <stdarg.h>
3096 #include <stdio.h>
3097 #include <sys/types.h>
3098 #include <sys/stat.h>
3099 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3100 struct buf { int x; };
3101 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3102 static char *e (p, i)
3103 char **p;
3104 int i;
3106 return p[i];
3108 static char *f (char * (*g) (char **, int), char **p, ...)
3110 char *s;
3111 va_list v;
3112 va_start (v,p);
3113 s = g (p, va_arg (v,int));
3114 va_end (v);
3115 return s;
3118 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3119 function prototypes and stuff, but not '\xHH' hex character constants.
3120 These don't provoke an error unfortunately, instead are silently treated
3121 as 'x'. The following induces an error, until -std is added to get
3122 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3123 array size at least. It's necessary to write '\x00'==0 to get something
3124 that's true only with -std. */
3125 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3127 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3128 inside strings and character constants. */
3129 #define FOO(x) 'x'
3130 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3132 int test (int i, double x);
3133 struct s1 {int (*f) (int a);};
3134 struct s2 {int (*f) (double a);};
3135 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3136 int argc;
3137 char **argv;
3139 main ()
3141 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3143 return 0;
3145 _ACEOF
3146 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3147 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3149 CC="$ac_save_CC $ac_arg"
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3152 case "(($ac_try" in
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3155 esac
3156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3158 ac_status=$?
3159 grep -v '^ *+' conftest.er1 >conftest.err
3160 rm -f conftest.er1
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_c_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3167 ac_cv_prog_cc_c89=$ac_arg
3168 else
3169 echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3175 rm -f core conftest.err conftest.$ac_objext
3176 test "x$ac_cv_prog_cc_c89" != "xno" && break
3177 done
3178 rm -f conftest.$ac_ext
3179 CC=$ac_save_CC
3182 # AC_CACHE_VAL
3183 case "x$ac_cv_prog_cc_c89" in
3185 { echo "$as_me:$LINENO: result: none needed" >&5
3186 echo "${ECHO_T}none needed" >&6; } ;;
3187 xno)
3188 { echo "$as_me:$LINENO: result: unsupported" >&5
3189 echo "${ECHO_T}unsupported" >&6; } ;;
3191 CC="$CC $ac_cv_prog_cc_c89"
3192 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3193 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3194 esac
3197 ac_ext=c
3198 ac_cpp='$CPP $CPPFLAGS'
3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3203 ac_ext=cpp
3204 ac_cpp='$CXXCPP $CPPFLAGS'
3205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3208 if test -z "$CXX"; then
3209 if test -n "$CCC"; then
3210 CXX=$CCC
3211 else
3212 if test -n "$ac_tool_prefix"; then
3213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3219 if test "${ac_cv_prog_CXX+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3221 else
3222 if test -n "$CXX"; then
3223 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3224 else
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH
3228 IFS=$as_save_IFS
3229 test -z "$as_dir" && as_dir=.
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3232 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3234 break 2
3236 done
3237 done
3238 IFS=$as_save_IFS
3242 CXX=$ac_cv_prog_CXX
3243 if test -n "$CXX"; then
3244 { echo "$as_me:$LINENO: result: $CXX" >&5
3245 echo "${ECHO_T}$CXX" >&6; }
3246 else
3247 { echo "$as_me:$LINENO: result: no" >&5
3248 echo "${ECHO_T}no" >&6; }
3252 test -n "$CXX" && break
3253 done
3255 if test -z "$CXX"; then
3256 ac_ct_CXX=$CXX
3257 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3259 # Extract the first word of "$ac_prog", so it can be a program name with args.
3260 set dummy $ac_prog; ac_word=$2
3261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3263 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 else
3266 if test -n "$ac_ct_CXX"; then
3267 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3268 else
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3272 IFS=$as_save_IFS
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_ac_ct_CXX="$ac_prog"
3277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 break 2
3280 done
3281 done
3282 IFS=$as_save_IFS
3286 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3287 if test -n "$ac_ct_CXX"; then
3288 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3289 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3290 else
3291 { echo "$as_me:$LINENO: result: no" >&5
3292 echo "${ECHO_T}no" >&6; }
3296 test -n "$ac_ct_CXX" && break
3297 done
3299 if test "x$ac_ct_CXX" = x; then
3300 CXX="g++"
3301 else
3302 case $cross_compiling:$ac_tool_warned in
3303 yes:)
3304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3305 whose name does not start with the host triplet. If you think this
3306 configuration is useful to you, please write to autoconf@gnu.org." >&5
3307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3308 whose name does not start with the host triplet. If you think this
3309 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3310 ac_tool_warned=yes ;;
3311 esac
3312 CXX=$ac_ct_CXX
3318 # Provide some information about the compiler.
3319 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3320 ac_compiler=`set X $ac_compile; echo $2`
3321 { (ac_try="$ac_compiler --version >&5"
3322 case "(($ac_try" in
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3325 esac
3326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_compiler --version >&5") 2>&5
3328 ac_status=$?
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }
3331 { (ac_try="$ac_compiler -v >&5"
3332 case "(($ac_try" in
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3335 esac
3336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compiler -v >&5") 2>&5
3338 ac_status=$?
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }
3341 { (ac_try="$ac_compiler -V >&5"
3342 case "(($ac_try" in
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3345 esac
3346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3347 (eval "$ac_compiler -V >&5") 2>&5
3348 ac_status=$?
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }
3352 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3353 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3354 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3356 else
3357 cat >conftest.$ac_ext <<_ACEOF
3358 /* confdefs.h. */
3359 _ACEOF
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3365 main ()
3367 #ifndef __GNUC__
3368 choke me
3369 #endif
3372 return 0;
3374 _ACEOF
3375 rm -f conftest.$ac_objext
3376 if { (ac_try="$ac_compile"
3377 case "(($ac_try" in
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3380 esac
3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_compile") 2>conftest.er1
3383 ac_status=$?
3384 grep -v '^ *+' conftest.er1 >conftest.err
3385 rm -f conftest.er1
3386 cat conftest.err >&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } && {
3389 test -z "$ac_cxx_werror_flag" ||
3390 test ! -s conftest.err
3391 } && test -s conftest.$ac_objext; then
3392 ac_compiler_gnu=yes
3393 else
3394 echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3397 ac_compiler_gnu=no
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3404 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3405 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3406 GXX=`test $ac_compiler_gnu = yes && echo yes`
3407 ac_test_CXXFLAGS=${CXXFLAGS+set}
3408 ac_save_CXXFLAGS=$CXXFLAGS
3409 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3410 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3411 if test "${ac_cv_prog_cxx_g+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 else
3414 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3415 ac_cxx_werror_flag=yes
3416 ac_cv_prog_cxx_g=no
3417 CXXFLAGS="-g"
3418 cat >conftest.$ac_ext <<_ACEOF
3419 /* confdefs.h. */
3420 _ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3426 main ()
3430 return 0;
3432 _ACEOF
3433 rm -f conftest.$ac_objext
3434 if { (ac_try="$ac_compile"
3435 case "(($ac_try" in
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3438 esac
3439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3440 (eval "$ac_compile") 2>conftest.er1
3441 ac_status=$?
3442 grep -v '^ *+' conftest.er1 >conftest.err
3443 rm -f conftest.er1
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } && {
3447 test -z "$ac_cxx_werror_flag" ||
3448 test ! -s conftest.err
3449 } && test -s conftest.$ac_objext; then
3450 ac_cv_prog_cxx_g=yes
3451 else
3452 echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3455 CXXFLAGS=""
3456 cat >conftest.$ac_ext <<_ACEOF
3457 /* confdefs.h. */
3458 _ACEOF
3459 cat confdefs.h >>conftest.$ac_ext
3460 cat >>conftest.$ac_ext <<_ACEOF
3461 /* end confdefs.h. */
3464 main ()
3468 return 0;
3470 _ACEOF
3471 rm -f conftest.$ac_objext
3472 if { (ac_try="$ac_compile"
3473 case "(($ac_try" in
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3476 esac
3477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3478 (eval "$ac_compile") 2>conftest.er1
3479 ac_status=$?
3480 grep -v '^ *+' conftest.er1 >conftest.err
3481 rm -f conftest.er1
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } && {
3485 test -z "$ac_cxx_werror_flag" ||
3486 test ! -s conftest.err
3487 } && test -s conftest.$ac_objext; then
3489 else
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3494 CXXFLAGS="-g"
3495 cat >conftest.$ac_ext <<_ACEOF
3496 /* confdefs.h. */
3497 _ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3503 main ()
3507 return 0;
3509 _ACEOF
3510 rm -f conftest.$ac_objext
3511 if { (ac_try="$ac_compile"
3512 case "(($ac_try" in
3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3515 esac
3516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3517 (eval "$ac_compile") 2>conftest.er1
3518 ac_status=$?
3519 grep -v '^ *+' conftest.er1 >conftest.err
3520 rm -f conftest.er1
3521 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } && {
3524 test -z "$ac_cxx_werror_flag" ||
3525 test ! -s conftest.err
3526 } && test -s conftest.$ac_objext; then
3527 ac_cv_prog_cxx_g=yes
3528 else
3529 echo "$as_me: failed program was:" >&5
3530 sed 's/^/| /' conftest.$ac_ext >&5
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3544 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3545 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3546 if test "$ac_test_CXXFLAGS" = set; then
3547 CXXFLAGS=$ac_save_CXXFLAGS
3548 elif test $ac_cv_prog_cxx_g = yes; then
3549 if test "$GXX" = yes; then
3550 CXXFLAGS="-g -O2"
3551 else
3552 CXXFLAGS="-g"
3554 else
3555 if test "$GXX" = yes; then
3556 CXXFLAGS="-O2"
3557 else
3558 CXXFLAGS=
3561 ac_ext=c
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3567 if test -n "$ac_tool_prefix"; then
3568 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3569 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3572 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 else
3575 if test -n "$CPPBIN"; then
3576 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3577 else
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3581 IFS=$as_save_IFS
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 break 2
3589 done
3590 done
3591 IFS=$as_save_IFS
3595 CPPBIN=$ac_cv_prog_CPPBIN
3596 if test -n "$CPPBIN"; then
3597 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3598 echo "${ECHO_T}$CPPBIN" >&6; }
3599 else
3600 { echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6; }
3606 if test -z "$ac_cv_prog_CPPBIN"; then
3607 ac_ct_CPPBIN=$CPPBIN
3608 # Extract the first word of "cpp", so it can be a program name with args.
3609 set dummy cpp; ac_word=$2
3610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3612 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3614 else
3615 if test -n "$ac_ct_CPPBIN"; then
3616 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3617 else
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 for as_dir in $PATH
3621 IFS=$as_save_IFS
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_ac_ct_CPPBIN="cpp"
3626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 break 2
3629 done
3630 done
3631 IFS=$as_save_IFS
3635 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3636 if test -n "$ac_ct_CPPBIN"; then
3637 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3638 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3639 else
3640 { echo "$as_me:$LINENO: result: no" >&5
3641 echo "${ECHO_T}no" >&6; }
3644 if test "x$ac_ct_CPPBIN" = x; then
3645 CPPBIN="cpp"
3646 else
3647 case $cross_compiling:$ac_tool_warned in
3648 yes:)
3649 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3650 whose name does not start with the host triplet. If you think this
3651 configuration is useful to you, please write to autoconf@gnu.org." >&5
3652 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3653 whose name does not start with the host triplet. If you think this
3654 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3655 ac_tool_warned=yes ;;
3656 esac
3657 CPPBIN=$ac_ct_CPPBIN
3659 else
3660 CPPBIN="$ac_cv_prog_CPPBIN"
3664 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3665 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3666 if test "${wine_cv_toolsdir+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 else
3669 if test -z "$with_wine_tools"; then
3670 if test "$cross_compiling" = "yes"; then
3671 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3672 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3673 { (exit 1); exit 1; }; }
3674 else
3675 wine_cv_toolsdir="\$(TOPOBJDIR)"
3677 elif test -d "$with_wine_tools/tools/winebuild"; then
3678 case $with_wine_tools in
3679 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3680 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3681 esac
3682 else
3683 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3684 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3685 { (exit 1); exit 1; }; }
3688 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3689 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3690 TOOLSDIR=$wine_cv_toolsdir
3694 ac_ext=c
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3699 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3700 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3701 # On Suns, sometimes $CPP names a directory.
3702 if test -n "$CPP" && test -d "$CPP"; then
3703 CPP=
3705 if test -z "$CPP"; then
3706 if test "${ac_cv_prog_CPP+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 else
3709 # Double quotes because CPP needs to be expanded
3710 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3712 ac_preproc_ok=false
3713 for ac_c_preproc_warn_flag in '' yes
3715 # Use a header file that comes with gcc, so configuring glibc
3716 # with a fresh cross-compiler works.
3717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3718 # <limits.h> exists even on freestanding compilers.
3719 # On the NeXT, cc -E runs the code through the compiler's parser,
3720 # not just through cpp. "Syntax error" is here to catch this case.
3721 cat >conftest.$ac_ext <<_ACEOF
3722 /* confdefs.h. */
3723 _ACEOF
3724 cat confdefs.h >>conftest.$ac_ext
3725 cat >>conftest.$ac_ext <<_ACEOF
3726 /* end confdefs.h. */
3727 #ifdef __STDC__
3728 # include <limits.h>
3729 #else
3730 # include <assert.h>
3731 #endif
3732 Syntax error
3733 _ACEOF
3734 if { (ac_try="$ac_cpp conftest.$ac_ext"
3735 case "(($ac_try" in
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3738 esac
3739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3741 ac_status=$?
3742 grep -v '^ *+' conftest.er1 >conftest.err
3743 rm -f conftest.er1
3744 cat conftest.err >&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); } >/dev/null && {
3747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3748 test ! -s conftest.err
3749 }; then
3751 else
3752 echo "$as_me: failed program was:" >&5
3753 sed 's/^/| /' conftest.$ac_ext >&5
3755 # Broken: fails on valid input.
3756 continue
3759 rm -f conftest.err conftest.$ac_ext
3761 # OK, works on sane cases. Now check whether nonexistent headers
3762 # can be detected and how.
3763 cat >conftest.$ac_ext <<_ACEOF
3764 /* confdefs.h. */
3765 _ACEOF
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3769 #include <ac_nonexistent.h>
3770 _ACEOF
3771 if { (ac_try="$ac_cpp conftest.$ac_ext"
3772 case "(($ac_try" in
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3775 esac
3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3778 ac_status=$?
3779 grep -v '^ *+' conftest.er1 >conftest.err
3780 rm -f conftest.er1
3781 cat conftest.err >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } >/dev/null && {
3784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3785 test ! -s conftest.err
3786 }; then
3787 # Broken: success on invalid input.
3788 continue
3789 else
3790 echo "$as_me: failed program was:" >&5
3791 sed 's/^/| /' conftest.$ac_ext >&5
3793 # Passes both tests.
3794 ac_preproc_ok=:
3795 break
3798 rm -f conftest.err conftest.$ac_ext
3800 done
3801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3802 rm -f conftest.err conftest.$ac_ext
3803 if $ac_preproc_ok; then
3804 break
3807 done
3808 ac_cv_prog_CPP=$CPP
3811 CPP=$ac_cv_prog_CPP
3812 else
3813 ac_cv_prog_CPP=$CPP
3815 { echo "$as_me:$LINENO: result: $CPP" >&5
3816 echo "${ECHO_T}$CPP" >&6; }
3817 ac_preproc_ok=false
3818 for ac_c_preproc_warn_flag in '' yes
3820 # Use a header file that comes with gcc, so configuring glibc
3821 # with a fresh cross-compiler works.
3822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3823 # <limits.h> exists even on freestanding compilers.
3824 # On the NeXT, cc -E runs the code through the compiler's parser,
3825 # not just through cpp. "Syntax error" is here to catch this case.
3826 cat >conftest.$ac_ext <<_ACEOF
3827 /* confdefs.h. */
3828 _ACEOF
3829 cat confdefs.h >>conftest.$ac_ext
3830 cat >>conftest.$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3832 #ifdef __STDC__
3833 # include <limits.h>
3834 #else
3835 # include <assert.h>
3836 #endif
3837 Syntax error
3838 _ACEOF
3839 if { (ac_try="$ac_cpp conftest.$ac_ext"
3840 case "(($ac_try" in
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3843 esac
3844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3846 ac_status=$?
3847 grep -v '^ *+' conftest.er1 >conftest.err
3848 rm -f conftest.er1
3849 cat conftest.err >&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); } >/dev/null && {
3852 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3853 test ! -s conftest.err
3854 }; then
3856 else
3857 echo "$as_me: failed program was:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5
3860 # Broken: fails on valid input.
3861 continue
3864 rm -f conftest.err conftest.$ac_ext
3866 # OK, works on sane cases. Now check whether nonexistent headers
3867 # can be detected and how.
3868 cat >conftest.$ac_ext <<_ACEOF
3869 /* confdefs.h. */
3870 _ACEOF
3871 cat confdefs.h >>conftest.$ac_ext
3872 cat >>conftest.$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3874 #include <ac_nonexistent.h>
3875 _ACEOF
3876 if { (ac_try="$ac_cpp conftest.$ac_ext"
3877 case "(($ac_try" in
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3880 esac
3881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3883 ac_status=$?
3884 grep -v '^ *+' conftest.er1 >conftest.err
3885 rm -f conftest.er1
3886 cat conftest.err >&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } >/dev/null && {
3889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3890 test ! -s conftest.err
3891 }; then
3892 # Broken: success on invalid input.
3893 continue
3894 else
3895 echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5
3898 # Passes both tests.
3899 ac_preproc_ok=:
3900 break
3903 rm -f conftest.err conftest.$ac_ext
3905 done
3906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3907 rm -f conftest.err conftest.$ac_ext
3908 if $ac_preproc_ok; then
3910 else
3911 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3912 See \`config.log' for more details." >&5
3913 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3914 See \`config.log' for more details." >&2;}
3915 { (exit 1); exit 1; }; }
3918 ac_ext=c
3919 ac_cpp='$CPP $CPPFLAGS'
3920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925 { echo "$as_me:$LINENO: checking for X" >&5
3926 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3929 # Check whether --with-x was given.
3930 if test "${with_x+set}" = set; then
3931 withval=$with_x;
3934 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3935 if test "x$with_x" = xno; then
3936 # The user explicitly disabled X.
3937 have_x=disabled
3938 else
3939 case $x_includes,$x_libraries in #(
3940 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3941 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3942 { (exit 1); exit 1; }; };; #(
3943 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 else
3946 # One or both of the vars are not set, and there is no cached value.
3947 ac_x_includes=no ac_x_libraries=no
3948 rm -f -r conftest.dir
3949 if mkdir conftest.dir; then
3950 cd conftest.dir
3951 cat >Imakefile <<'_ACEOF'
3952 incroot:
3953 @echo incroot='${INCROOT}'
3954 usrlibdir:
3955 @echo usrlibdir='${USRLIBDIR}'
3956 libdir:
3957 @echo libdir='${LIBDIR}'
3958 _ACEOF
3959 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3961 for ac_var in incroot usrlibdir libdir; do
3962 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3963 done
3964 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3965 for ac_extension in a so sl; do
3966 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3967 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3968 ac_im_usrlibdir=$ac_im_libdir; break
3970 done
3971 # Screen out bogus values from the imake configuration. They are
3972 # bogus both because they are the default anyway, and because
3973 # using them would break gcc on systems where it needs fixed includes.
3974 case $ac_im_incroot in
3975 /usr/include) ac_x_includes= ;;
3976 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3977 esac
3978 case $ac_im_usrlibdir in
3979 /usr/lib | /lib) ;;
3980 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3981 esac
3983 cd ..
3984 rm -f -r conftest.dir
3987 # Standard set of common directories for X headers.
3988 # Check X11 before X11Rn because it is often a symlink to the current release.
3989 ac_x_header_dirs='
3990 /usr/X11/include
3991 /usr/X11R6/include
3992 /usr/X11R5/include
3993 /usr/X11R4/include
3995 /usr/include/X11
3996 /usr/include/X11R6
3997 /usr/include/X11R5
3998 /usr/include/X11R4
4000 /usr/local/X11/include
4001 /usr/local/X11R6/include
4002 /usr/local/X11R5/include
4003 /usr/local/X11R4/include
4005 /usr/local/include/X11
4006 /usr/local/include/X11R6
4007 /usr/local/include/X11R5
4008 /usr/local/include/X11R4
4010 /usr/X386/include
4011 /usr/x386/include
4012 /usr/XFree86/include/X11
4014 /usr/include
4015 /usr/local/include
4016 /usr/unsupported/include
4017 /usr/athena/include
4018 /usr/local/x11r5/include
4019 /usr/lpp/Xamples/include
4021 /usr/openwin/include
4022 /usr/openwin/share/include'
4024 if test "$ac_x_includes" = no; then
4025 # Guess where to find include files, by looking for Xlib.h.
4026 # First, try using that file with no special directory specified.
4027 cat >conftest.$ac_ext <<_ACEOF
4028 /* confdefs.h. */
4029 _ACEOF
4030 cat confdefs.h >>conftest.$ac_ext
4031 cat >>conftest.$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4033 #include <X11/Xlib.h>
4034 _ACEOF
4035 if { (ac_try="$ac_cpp conftest.$ac_ext"
4036 case "(($ac_try" in
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4039 esac
4040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4042 ac_status=$?
4043 grep -v '^ *+' conftest.er1 >conftest.err
4044 rm -f conftest.er1
4045 cat conftest.err >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } >/dev/null && {
4048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4049 test ! -s conftest.err
4050 }; then
4051 # We can compile using X headers with no special include directory.
4052 ac_x_includes=
4053 else
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4057 for ac_dir in $ac_x_header_dirs; do
4058 if test -r "$ac_dir/X11/Xlib.h"; then
4059 ac_x_includes=$ac_dir
4060 break
4062 done
4065 rm -f conftest.err conftest.$ac_ext
4066 fi # $ac_x_includes = no
4068 if test "$ac_x_libraries" = no; then
4069 # Check for the libraries.
4070 # See if we find them without any special options.
4071 # Don't add to $LIBS permanently.
4072 ac_save_LIBS=$LIBS
4073 LIBS="-lX11 $LIBS"
4074 cat >conftest.$ac_ext <<_ACEOF
4075 /* confdefs.h. */
4076 _ACEOF
4077 cat confdefs.h >>conftest.$ac_ext
4078 cat >>conftest.$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4080 #include <X11/Xlib.h>
4082 main ()
4084 XrmInitialize ()
4086 return 0;
4088 _ACEOF
4089 rm -f conftest.$ac_objext conftest$ac_exeext
4090 if { (ac_try="$ac_link"
4091 case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4094 esac
4095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4096 (eval "$ac_link") 2>conftest.er1
4097 ac_status=$?
4098 grep -v '^ *+' conftest.er1 >conftest.err
4099 rm -f conftest.er1
4100 cat conftest.err >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); } && {
4103 test -z "$ac_c_werror_flag" ||
4104 test ! -s conftest.err
4105 } && test -s conftest$ac_exeext &&
4106 $as_test_x conftest$ac_exeext; then
4107 LIBS=$ac_save_LIBS
4108 # We can link X programs with no special library path.
4109 ac_x_libraries=
4110 else
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 LIBS=$ac_save_LIBS
4115 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4117 # Don't even attempt the hair of trying to link an X program!
4118 for ac_extension in a so sl; do
4119 if test -r "$ac_dir/libX11.$ac_extension"; then
4120 ac_x_libraries=$ac_dir
4121 break 2
4123 done
4124 done
4127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4128 conftest$ac_exeext conftest.$ac_ext
4129 fi # $ac_x_libraries = no
4131 case $ac_x_includes,$ac_x_libraries in #(
4132 no,* | *,no | *\'*)
4133 # Didn't find X, or a directory has "'" in its name.
4134 ac_cv_have_x="have_x=no";; #(
4136 # Record where we found X for the cache.
4137 ac_cv_have_x="have_x=yes\
4138 ac_x_includes='$ac_x_includes'\
4139 ac_x_libraries='$ac_x_libraries'"
4140 esac
4142 ;; #(
4143 *) have_x=yes;;
4144 esac
4145 eval "$ac_cv_have_x"
4146 fi # $with_x != no
4148 if test "$have_x" != yes; then
4149 { echo "$as_me:$LINENO: result: $have_x" >&5
4150 echo "${ECHO_T}$have_x" >&6; }
4151 no_x=yes
4152 else
4153 # If each of the values was on the command line, it overrides each guess.
4154 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4155 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4156 # Update the cache value to reflect the command line values.
4157 ac_cv_have_x="have_x=yes\
4158 ac_x_includes='$x_includes'\
4159 ac_x_libraries='$x_libraries'"
4160 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4161 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4164 if test "$no_x" = yes; then
4165 # Not all programs may use this symbol, but it does not hurt to define it.
4167 cat >>confdefs.h <<\_ACEOF
4168 #define X_DISPLAY_MISSING 1
4169 _ACEOF
4171 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4172 else
4173 if test -n "$x_includes"; then
4174 X_CFLAGS="$X_CFLAGS -I$x_includes"
4177 # It would also be nice to do this for all -L options, not just this one.
4178 if test -n "$x_libraries"; then
4179 X_LIBS="$X_LIBS -L$x_libraries"
4180 # For Solaris; some versions of Sun CC require a space after -R and
4181 # others require no space. Words are not sufficient . . . .
4182 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4183 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4184 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4185 ac_xsave_c_werror_flag=$ac_c_werror_flag
4186 ac_c_werror_flag=yes
4187 cat >conftest.$ac_ext <<_ACEOF
4188 /* confdefs.h. */
4189 _ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4195 main ()
4199 return 0;
4201 _ACEOF
4202 rm -f conftest.$ac_objext conftest$ac_exeext
4203 if { (ac_try="$ac_link"
4204 case "(($ac_try" in
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4207 esac
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_link") 2>conftest.er1
4210 ac_status=$?
4211 grep -v '^ *+' conftest.er1 >conftest.err
4212 rm -f conftest.er1
4213 cat conftest.err >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } && {
4216 test -z "$ac_c_werror_flag" ||
4217 test ! -s conftest.err
4218 } && test -s conftest$ac_exeext &&
4219 $as_test_x conftest$ac_exeext; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 X_LIBS="$X_LIBS -R$x_libraries"
4223 else
4224 echo "$as_me: failed program was:" >&5
4225 sed 's/^/| /' conftest.$ac_ext >&5
4227 LIBS="$ac_xsave_LIBS -R $x_libraries"
4228 cat >conftest.$ac_ext <<_ACEOF
4229 /* confdefs.h. */
4230 _ACEOF
4231 cat confdefs.h >>conftest.$ac_ext
4232 cat >>conftest.$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4236 main ()
4240 return 0;
4242 _ACEOF
4243 rm -f conftest.$ac_objext conftest$ac_exeext
4244 if { (ac_try="$ac_link"
4245 case "(($ac_try" in
4246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4248 esac
4249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4250 (eval "$ac_link") 2>conftest.er1
4251 ac_status=$?
4252 grep -v '^ *+' conftest.er1 >conftest.err
4253 rm -f conftest.er1
4254 cat conftest.err >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } && {
4257 test -z "$ac_c_werror_flag" ||
4258 test ! -s conftest.err
4259 } && test -s conftest$ac_exeext &&
4260 $as_test_x conftest$ac_exeext; then
4261 { echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6; }
4263 X_LIBS="$X_LIBS -R $x_libraries"
4264 else
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 { echo "$as_me:$LINENO: result: neither works" >&5
4269 echo "${ECHO_T}neither works" >&6; }
4272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4273 conftest$ac_exeext conftest.$ac_ext
4276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4277 conftest$ac_exeext conftest.$ac_ext
4278 ac_c_werror_flag=$ac_xsave_c_werror_flag
4279 LIBS=$ac_xsave_LIBS
4282 # Check for system-dependent libraries X programs must link with.
4283 # Do this before checking for the system-independent R6 libraries
4284 # (-lICE), since we may need -lsocket or whatever for X linking.
4286 if test "$ISC" = yes; then
4287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4288 else
4289 # Martyn Johnson says this is needed for Ultrix, if the X
4290 # libraries were built with DECnet support. And Karl Berry says
4291 # the Alpha needs dnet_stub (dnet does not exist).
4292 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4293 cat >conftest.$ac_ext <<_ACEOF
4294 /* confdefs.h. */
4295 _ACEOF
4296 cat confdefs.h >>conftest.$ac_ext
4297 cat >>conftest.$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4300 /* Override any GCC internal prototype to avoid an error.
4301 Use char because int might match the return type of a GCC
4302 builtin and then its argument prototype would still apply. */
4303 #ifdef __cplusplus
4304 extern "C"
4305 #endif
4306 char XOpenDisplay ();
4308 main ()
4310 return XOpenDisplay ();
4312 return 0;
4314 _ACEOF
4315 rm -f conftest.$ac_objext conftest$ac_exeext
4316 if { (ac_try="$ac_link"
4317 case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_link") 2>conftest.er1
4323 ac_status=$?
4324 grep -v '^ *+' conftest.er1 >conftest.err
4325 rm -f conftest.er1
4326 cat conftest.err >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); } && {
4329 test -z "$ac_c_werror_flag" ||
4330 test ! -s conftest.err
4331 } && test -s conftest$ac_exeext &&
4332 $as_test_x conftest$ac_exeext; then
4334 else
4335 echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.$ac_ext >&5
4338 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4339 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4340 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 else
4343 ac_check_lib_save_LIBS=$LIBS
4344 LIBS="-ldnet $LIBS"
4345 cat >conftest.$ac_ext <<_ACEOF
4346 /* confdefs.h. */
4347 _ACEOF
4348 cat confdefs.h >>conftest.$ac_ext
4349 cat >>conftest.$ac_ext <<_ACEOF
4350 /* end confdefs.h. */
4352 /* Override any GCC internal prototype to avoid an error.
4353 Use char because int might match the return type of a GCC
4354 builtin and then its argument prototype would still apply. */
4355 #ifdef __cplusplus
4356 extern "C"
4357 #endif
4358 char dnet_ntoa ();
4360 main ()
4362 return dnet_ntoa ();
4364 return 0;
4366 _ACEOF
4367 rm -f conftest.$ac_objext conftest$ac_exeext
4368 if { (ac_try="$ac_link"
4369 case "(($ac_try" in
4370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4371 *) ac_try_echo=$ac_try;;
4372 esac
4373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4374 (eval "$ac_link") 2>conftest.er1
4375 ac_status=$?
4376 grep -v '^ *+' conftest.er1 >conftest.err
4377 rm -f conftest.er1
4378 cat conftest.err >&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); } && {
4381 test -z "$ac_c_werror_flag" ||
4382 test ! -s conftest.err
4383 } && test -s conftest$ac_exeext &&
4384 $as_test_x conftest$ac_exeext; then
4385 ac_cv_lib_dnet_dnet_ntoa=yes
4386 else
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4390 ac_cv_lib_dnet_dnet_ntoa=no
4393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4394 conftest$ac_exeext conftest.$ac_ext
4395 LIBS=$ac_check_lib_save_LIBS
4397 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4398 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4399 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4403 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4404 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4405 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4406 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 else
4409 ac_check_lib_save_LIBS=$LIBS
4410 LIBS="-ldnet_stub $LIBS"
4411 cat >conftest.$ac_ext <<_ACEOF
4412 /* confdefs.h. */
4413 _ACEOF
4414 cat confdefs.h >>conftest.$ac_ext
4415 cat >>conftest.$ac_ext <<_ACEOF
4416 /* end confdefs.h. */
4418 /* Override any GCC internal prototype to avoid an error.
4419 Use char because int might match the return type of a GCC
4420 builtin and then its argument prototype would still apply. */
4421 #ifdef __cplusplus
4422 extern "C"
4423 #endif
4424 char dnet_ntoa ();
4426 main ()
4428 return dnet_ntoa ();
4430 return 0;
4432 _ACEOF
4433 rm -f conftest.$ac_objext conftest$ac_exeext
4434 if { (ac_try="$ac_link"
4435 case "(($ac_try" in
4436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437 *) ac_try_echo=$ac_try;;
4438 esac
4439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4440 (eval "$ac_link") 2>conftest.er1
4441 ac_status=$?
4442 grep -v '^ *+' conftest.er1 >conftest.err
4443 rm -f conftest.er1
4444 cat conftest.err >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } && {
4447 test -z "$ac_c_werror_flag" ||
4448 test ! -s conftest.err
4449 } && test -s conftest$ac_exeext &&
4450 $as_test_x conftest$ac_exeext; then
4451 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4452 else
4453 echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.$ac_ext >&5
4456 ac_cv_lib_dnet_stub_dnet_ntoa=no
4459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4460 conftest$ac_exeext conftest.$ac_ext
4461 LIBS=$ac_check_lib_save_LIBS
4463 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4464 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4465 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4466 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4473 conftest$ac_exeext conftest.$ac_ext
4474 LIBS="$ac_xsave_LIBS"
4476 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4477 # to get the SysV transport functions.
4478 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4479 # needs -lnsl.
4480 # The nsl library prevents programs from opening the X display
4481 # on Irix 5.2, according to T.E. Dickey.
4482 # The functions gethostbyname, getservbyname, and inet_addr are
4483 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4484 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4485 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_gethostbyname+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 else
4489 cat >conftest.$ac_ext <<_ACEOF
4490 /* confdefs.h. */
4491 _ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define gethostbyname innocuous_gethostbyname
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char gethostbyname (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4504 #ifdef __STDC__
4505 # include <limits.h>
4506 #else
4507 # include <assert.h>
4508 #endif
4510 #undef gethostbyname
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4515 #ifdef __cplusplus
4516 extern "C"
4517 #endif
4518 char gethostbyname ();
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4523 choke me
4524 #endif
4527 main ()
4529 return gethostbyname ();
4531 return 0;
4533 _ACEOF
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (ac_try="$ac_link"
4536 case "(($ac_try" in
4537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4539 esac
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4542 ac_status=$?
4543 grep -v '^ *+' conftest.er1 >conftest.err
4544 rm -f conftest.er1
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest$ac_exeext &&
4551 $as_test_x conftest$ac_exeext; then
4552 ac_cv_func_gethostbyname=yes
4553 else
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.$ac_ext >&5
4557 ac_cv_func_gethostbyname=no
4560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4561 conftest$ac_exeext conftest.$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4564 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4566 if test $ac_cv_func_gethostbyname = no; then
4567 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4568 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 else
4572 ac_check_lib_save_LIBS=$LIBS
4573 LIBS="-lnsl $LIBS"
4574 cat >conftest.$ac_ext <<_ACEOF
4575 /* confdefs.h. */
4576 _ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4584 #ifdef __cplusplus
4585 extern "C"
4586 #endif
4587 char gethostbyname ();
4589 main ()
4591 return gethostbyname ();
4593 return 0;
4595 _ACEOF
4596 rm -f conftest.$ac_objext conftest$ac_exeext
4597 if { (ac_try="$ac_link"
4598 case "(($ac_try" in
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4601 esac
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4604 ac_status=$?
4605 grep -v '^ *+' conftest.er1 >conftest.err
4606 rm -f conftest.er1
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest$ac_exeext &&
4613 $as_test_x conftest$ac_exeext; then
4614 ac_cv_lib_nsl_gethostbyname=yes
4615 else
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_cv_lib_nsl_gethostbyname=no
4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623 conftest$ac_exeext conftest.$ac_ext
4624 LIBS=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4627 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4628 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4629 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4632 if test $ac_cv_lib_nsl_gethostbyname = no; then
4633 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4634 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4635 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4637 else
4638 ac_check_lib_save_LIBS=$LIBS
4639 LIBS="-lbsd $LIBS"
4640 cat >conftest.$ac_ext <<_ACEOF
4641 /* confdefs.h. */
4642 _ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4647 /* Override any GCC internal prototype to avoid an error.
4648 Use char because int might match the return type of a GCC
4649 builtin and then its argument prototype would still apply. */
4650 #ifdef __cplusplus
4651 extern "C"
4652 #endif
4653 char gethostbyname ();
4655 main ()
4657 return gethostbyname ();
4659 return 0;
4661 _ACEOF
4662 rm -f conftest.$ac_objext conftest$ac_exeext
4663 if { (ac_try="$ac_link"
4664 case "(($ac_try" in
4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4666 *) ac_try_echo=$ac_try;;
4667 esac
4668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4669 (eval "$ac_link") 2>conftest.er1
4670 ac_status=$?
4671 grep -v '^ *+' conftest.er1 >conftest.err
4672 rm -f conftest.er1
4673 cat conftest.err >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } && {
4676 test -z "$ac_c_werror_flag" ||
4677 test ! -s conftest.err
4678 } && test -s conftest$ac_exeext &&
4679 $as_test_x conftest$ac_exeext; then
4680 ac_cv_lib_bsd_gethostbyname=yes
4681 else
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4685 ac_cv_lib_bsd_gethostbyname=no
4688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4689 conftest$ac_exeext conftest.$ac_ext
4690 LIBS=$ac_check_lib_save_LIBS
4692 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4693 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4694 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4695 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4701 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4702 # socket/setsockopt and other routines are undefined under SCO ODT
4703 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4704 # on later versions), says Simon Leinen: it contains gethostby*
4705 # variants that don't use the name server (or something). -lsocket
4706 # must be given before -lnsl if both are needed. We assume that
4707 # if connect needs -lnsl, so does gethostbyname.
4708 { echo "$as_me:$LINENO: checking for connect" >&5
4709 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4710 if test "${ac_cv_func_connect+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 else
4713 cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h. */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4719 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4721 #define connect innocuous_connect
4723 /* System header to define __stub macros and hopefully few prototypes,
4724 which can conflict with char connect (); below.
4725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4726 <limits.h> exists even on freestanding compilers. */
4728 #ifdef __STDC__
4729 # include <limits.h>
4730 #else
4731 # include <assert.h>
4732 #endif
4734 #undef connect
4736 /* Override any GCC internal prototype to avoid an error.
4737 Use char because int might match the return type of a GCC
4738 builtin and then its argument prototype would still apply. */
4739 #ifdef __cplusplus
4740 extern "C"
4741 #endif
4742 char connect ();
4743 /* The GNU C library defines this for functions which it implements
4744 to always fail with ENOSYS. Some functions are actually named
4745 something starting with __ and the normal name is an alias. */
4746 #if defined __stub_connect || defined __stub___connect
4747 choke me
4748 #endif
4751 main ()
4753 return connect ();
4755 return 0;
4757 _ACEOF
4758 rm -f conftest.$ac_objext conftest$ac_exeext
4759 if { (ac_try="$ac_link"
4760 case "(($ac_try" in
4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4762 *) ac_try_echo=$ac_try;;
4763 esac
4764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4765 (eval "$ac_link") 2>conftest.er1
4766 ac_status=$?
4767 grep -v '^ *+' conftest.er1 >conftest.err
4768 rm -f conftest.er1
4769 cat conftest.err >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } && {
4772 test -z "$ac_c_werror_flag" ||
4773 test ! -s conftest.err
4774 } && test -s conftest$ac_exeext &&
4775 $as_test_x conftest$ac_exeext; then
4776 ac_cv_func_connect=yes
4777 else
4778 echo "$as_me: failed program was:" >&5
4779 sed 's/^/| /' conftest.$ac_ext >&5
4781 ac_cv_func_connect=no
4784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4785 conftest$ac_exeext conftest.$ac_ext
4787 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4788 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4790 if test $ac_cv_func_connect = no; then
4791 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4792 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4793 if test "${ac_cv_lib_socket_connect+set}" = set; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 else
4796 ac_check_lib_save_LIBS=$LIBS
4797 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4798 cat >conftest.$ac_ext <<_ACEOF
4799 /* confdefs.h. */
4800 _ACEOF
4801 cat confdefs.h >>conftest.$ac_ext
4802 cat >>conftest.$ac_ext <<_ACEOF
4803 /* end confdefs.h. */
4805 /* Override any GCC internal prototype to avoid an error.
4806 Use char because int might match the return type of a GCC
4807 builtin and then its argument prototype would still apply. */
4808 #ifdef __cplusplus
4809 extern "C"
4810 #endif
4811 char connect ();
4813 main ()
4815 return connect ();
4817 return 0;
4819 _ACEOF
4820 rm -f conftest.$ac_objext conftest$ac_exeext
4821 if { (ac_try="$ac_link"
4822 case "(($ac_try" in
4823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4824 *) ac_try_echo=$ac_try;;
4825 esac
4826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4827 (eval "$ac_link") 2>conftest.er1
4828 ac_status=$?
4829 grep -v '^ *+' conftest.er1 >conftest.err
4830 rm -f conftest.er1
4831 cat conftest.err >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } && {
4834 test -z "$ac_c_werror_flag" ||
4835 test ! -s conftest.err
4836 } && test -s conftest$ac_exeext &&
4837 $as_test_x conftest$ac_exeext; then
4838 ac_cv_lib_socket_connect=yes
4839 else
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.$ac_ext >&5
4843 ac_cv_lib_socket_connect=no
4846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4847 conftest$ac_exeext conftest.$ac_ext
4848 LIBS=$ac_check_lib_save_LIBS
4850 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4851 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4852 if test $ac_cv_lib_socket_connect = yes; then
4853 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4858 # Guillermo Gomez says -lposix is necessary on A/UX.
4859 { echo "$as_me:$LINENO: checking for remove" >&5
4860 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4861 if test "${ac_cv_func_remove+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 else
4864 cat >conftest.$ac_ext <<_ACEOF
4865 /* confdefs.h. */
4866 _ACEOF
4867 cat confdefs.h >>conftest.$ac_ext
4868 cat >>conftest.$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4870 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4872 #define remove innocuous_remove
4874 /* System header to define __stub macros and hopefully few prototypes,
4875 which can conflict with char remove (); below.
4876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4877 <limits.h> exists even on freestanding compilers. */
4879 #ifdef __STDC__
4880 # include <limits.h>
4881 #else
4882 # include <assert.h>
4883 #endif
4885 #undef remove
4887 /* Override any GCC internal prototype to avoid an error.
4888 Use char because int might match the return type of a GCC
4889 builtin and then its argument prototype would still apply. */
4890 #ifdef __cplusplus
4891 extern "C"
4892 #endif
4893 char remove ();
4894 /* The GNU C library defines this for functions which it implements
4895 to always fail with ENOSYS. Some functions are actually named
4896 something starting with __ and the normal name is an alias. */
4897 #if defined __stub_remove || defined __stub___remove
4898 choke me
4899 #endif
4902 main ()
4904 return remove ();
4906 return 0;
4908 _ACEOF
4909 rm -f conftest.$ac_objext conftest$ac_exeext
4910 if { (ac_try="$ac_link"
4911 case "(($ac_try" in
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4914 esac
4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4916 (eval "$ac_link") 2>conftest.er1
4917 ac_status=$?
4918 grep -v '^ *+' conftest.er1 >conftest.err
4919 rm -f conftest.er1
4920 cat conftest.err >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } && {
4923 test -z "$ac_c_werror_flag" ||
4924 test ! -s conftest.err
4925 } && test -s conftest$ac_exeext &&
4926 $as_test_x conftest$ac_exeext; then
4927 ac_cv_func_remove=yes
4928 else
4929 echo "$as_me: failed program was:" >&5
4930 sed 's/^/| /' conftest.$ac_ext >&5
4932 ac_cv_func_remove=no
4935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4936 conftest$ac_exeext conftest.$ac_ext
4938 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4939 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4941 if test $ac_cv_func_remove = no; then
4942 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4943 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4944 if test "${ac_cv_lib_posix_remove+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 else
4947 ac_check_lib_save_LIBS=$LIBS
4948 LIBS="-lposix $LIBS"
4949 cat >conftest.$ac_ext <<_ACEOF
4950 /* confdefs.h. */
4951 _ACEOF
4952 cat confdefs.h >>conftest.$ac_ext
4953 cat >>conftest.$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4956 /* Override any GCC internal prototype to avoid an error.
4957 Use char because int might match the return type of a GCC
4958 builtin and then its argument prototype would still apply. */
4959 #ifdef __cplusplus
4960 extern "C"
4961 #endif
4962 char remove ();
4964 main ()
4966 return remove ();
4968 return 0;
4970 _ACEOF
4971 rm -f conftest.$ac_objext conftest$ac_exeext
4972 if { (ac_try="$ac_link"
4973 case "(($ac_try" in
4974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975 *) ac_try_echo=$ac_try;;
4976 esac
4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_link") 2>conftest.er1
4979 ac_status=$?
4980 grep -v '^ *+' conftest.er1 >conftest.err
4981 rm -f conftest.er1
4982 cat conftest.err >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } && {
4985 test -z "$ac_c_werror_flag" ||
4986 test ! -s conftest.err
4987 } && test -s conftest$ac_exeext &&
4988 $as_test_x conftest$ac_exeext; then
4989 ac_cv_lib_posix_remove=yes
4990 else
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.$ac_ext >&5
4994 ac_cv_lib_posix_remove=no
4997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4998 conftest$ac_exeext conftest.$ac_ext
4999 LIBS=$ac_check_lib_save_LIBS
5001 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5002 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5003 if test $ac_cv_lib_posix_remove = yes; then
5004 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5009 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5010 { echo "$as_me:$LINENO: checking for shmat" >&5
5011 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5012 if test "${ac_cv_func_shmat+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5014 else
5015 cat >conftest.$ac_ext <<_ACEOF
5016 /* confdefs.h. */
5017 _ACEOF
5018 cat confdefs.h >>conftest.$ac_ext
5019 cat >>conftest.$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5021 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5023 #define shmat innocuous_shmat
5025 /* System header to define __stub macros and hopefully few prototypes,
5026 which can conflict with char shmat (); below.
5027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5028 <limits.h> exists even on freestanding compilers. */
5030 #ifdef __STDC__
5031 # include <limits.h>
5032 #else
5033 # include <assert.h>
5034 #endif
5036 #undef shmat
5038 /* Override any GCC internal prototype to avoid an error.
5039 Use char because int might match the return type of a GCC
5040 builtin and then its argument prototype would still apply. */
5041 #ifdef __cplusplus
5042 extern "C"
5043 #endif
5044 char shmat ();
5045 /* The GNU C library defines this for functions which it implements
5046 to always fail with ENOSYS. Some functions are actually named
5047 something starting with __ and the normal name is an alias. */
5048 #if defined __stub_shmat || defined __stub___shmat
5049 choke me
5050 #endif
5053 main ()
5055 return shmat ();
5057 return 0;
5059 _ACEOF
5060 rm -f conftest.$ac_objext conftest$ac_exeext
5061 if { (ac_try="$ac_link"
5062 case "(($ac_try" in
5063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5064 *) ac_try_echo=$ac_try;;
5065 esac
5066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5067 (eval "$ac_link") 2>conftest.er1
5068 ac_status=$?
5069 grep -v '^ *+' conftest.er1 >conftest.err
5070 rm -f conftest.er1
5071 cat conftest.err >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } && {
5074 test -z "$ac_c_werror_flag" ||
5075 test ! -s conftest.err
5076 } && test -s conftest$ac_exeext &&
5077 $as_test_x conftest$ac_exeext; then
5078 ac_cv_func_shmat=yes
5079 else
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.$ac_ext >&5
5083 ac_cv_func_shmat=no
5086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5087 conftest$ac_exeext conftest.$ac_ext
5089 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5090 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5092 if test $ac_cv_func_shmat = no; then
5093 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5094 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5095 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5097 else
5098 ac_check_lib_save_LIBS=$LIBS
5099 LIBS="-lipc $LIBS"
5100 cat >conftest.$ac_ext <<_ACEOF
5101 /* confdefs.h. */
5102 _ACEOF
5103 cat confdefs.h >>conftest.$ac_ext
5104 cat >>conftest.$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5107 /* Override any GCC internal prototype to avoid an error.
5108 Use char because int might match the return type of a GCC
5109 builtin and then its argument prototype would still apply. */
5110 #ifdef __cplusplus
5111 extern "C"
5112 #endif
5113 char shmat ();
5115 main ()
5117 return shmat ();
5119 return 0;
5121 _ACEOF
5122 rm -f conftest.$ac_objext conftest$ac_exeext
5123 if { (ac_try="$ac_link"
5124 case "(($ac_try" in
5125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5126 *) ac_try_echo=$ac_try;;
5127 esac
5128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5129 (eval "$ac_link") 2>conftest.er1
5130 ac_status=$?
5131 grep -v '^ *+' conftest.er1 >conftest.err
5132 rm -f conftest.er1
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } && {
5136 test -z "$ac_c_werror_flag" ||
5137 test ! -s conftest.err
5138 } && test -s conftest$ac_exeext &&
5139 $as_test_x conftest$ac_exeext; then
5140 ac_cv_lib_ipc_shmat=yes
5141 else
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5145 ac_cv_lib_ipc_shmat=no
5148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5149 conftest$ac_exeext conftest.$ac_ext
5150 LIBS=$ac_check_lib_save_LIBS
5152 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5153 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5154 if test $ac_cv_lib_ipc_shmat = yes; then
5155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5161 # Check for libraries that X11R6 Xt/Xaw programs need.
5162 ac_save_LDFLAGS=$LDFLAGS
5163 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5164 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5165 # check for ICE first), but we must link in the order -lSM -lICE or
5166 # we get undefined symbols. So assume we have SM if we have ICE.
5167 # These have to be linked with before -lX11, unlike the other
5168 # libraries we check for below, so use a different variable.
5169 # John Interrante, Karl Berry
5170 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5171 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5172 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 else
5175 ac_check_lib_save_LIBS=$LIBS
5176 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5177 cat >conftest.$ac_ext <<_ACEOF
5178 /* confdefs.h. */
5179 _ACEOF
5180 cat confdefs.h >>conftest.$ac_ext
5181 cat >>conftest.$ac_ext <<_ACEOF
5182 /* end confdefs.h. */
5184 /* Override any GCC internal prototype to avoid an error.
5185 Use char because int might match the return type of a GCC
5186 builtin and then its argument prototype would still apply. */
5187 #ifdef __cplusplus
5188 extern "C"
5189 #endif
5190 char IceConnectionNumber ();
5192 main ()
5194 return IceConnectionNumber ();
5196 return 0;
5198 _ACEOF
5199 rm -f conftest.$ac_objext conftest$ac_exeext
5200 if { (ac_try="$ac_link"
5201 case "(($ac_try" in
5202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5203 *) ac_try_echo=$ac_try;;
5204 esac
5205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5206 (eval "$ac_link") 2>conftest.er1
5207 ac_status=$?
5208 grep -v '^ *+' conftest.er1 >conftest.err
5209 rm -f conftest.er1
5210 cat conftest.err >&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } && {
5213 test -z "$ac_c_werror_flag" ||
5214 test ! -s conftest.err
5215 } && test -s conftest$ac_exeext &&
5216 $as_test_x conftest$ac_exeext; then
5217 ac_cv_lib_ICE_IceConnectionNumber=yes
5218 else
5219 echo "$as_me: failed program was:" >&5
5220 sed 's/^/| /' conftest.$ac_ext >&5
5222 ac_cv_lib_ICE_IceConnectionNumber=no
5225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5226 conftest$ac_exeext conftest.$ac_ext
5227 LIBS=$ac_check_lib_save_LIBS
5229 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5230 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5231 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5232 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5235 LDFLAGS=$ac_save_LDFLAGS
5240 for ac_prog in flex
5242 # Extract the first word of "$ac_prog", so it can be a program name with args.
5243 set dummy $ac_prog; ac_word=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_FLEX+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 else
5249 if test -n "$FLEX"; then
5250 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5251 else
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH
5255 IFS=$as_save_IFS
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_FLEX="$ac_prog"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 break 2
5263 done
5264 done
5265 IFS=$as_save_IFS
5269 FLEX=$ac_cv_prog_FLEX
5270 if test -n "$FLEX"; then
5271 { echo "$as_me:$LINENO: result: $FLEX" >&5
5272 echo "${ECHO_T}$FLEX" >&6; }
5273 else
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5279 test -n "$FLEX" && break
5280 done
5281 test -n "$FLEX" || FLEX="none"
5283 if test "$FLEX" = "none"
5284 then
5285 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5286 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5287 { (exit 1); exit 1; }; }
5290 for ac_prog in bison
5292 # Extract the first word of "$ac_prog", so it can be a program name with args.
5293 set dummy $ac_prog; ac_word=$2
5294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5296 if test "${ac_cv_prog_BISON+set}" = set; then
5297 echo $ECHO_N "(cached) $ECHO_C" >&6
5298 else
5299 if test -n "$BISON"; then
5300 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5301 else
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 for as_dir in $PATH
5305 IFS=$as_save_IFS
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_prog_BISON="$ac_prog"
5310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 break 2
5313 done
5314 done
5315 IFS=$as_save_IFS
5319 BISON=$ac_cv_prog_BISON
5320 if test -n "$BISON"; then
5321 { echo "$as_me:$LINENO: result: $BISON" >&5
5322 echo "${ECHO_T}$BISON" >&6; }
5323 else
5324 { echo "$as_me:$LINENO: result: no" >&5
5325 echo "${ECHO_T}no" >&6; }
5329 test -n "$BISON" && break
5330 done
5331 test -n "$BISON" || BISON="none"
5333 if test "$BISON" = "none"
5334 then
5335 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5336 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5337 { (exit 1); exit 1; }; }
5340 if test -n "$ac_tool_prefix"; then
5341 for ac_prog in gas as
5343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5347 if test "${ac_cv_prog_AS+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5349 else
5350 if test -n "$AS"; then
5351 ac_cv_prog_AS="$AS" # Let the user override the test.
5352 else
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 for as_dir in $PATH
5356 IFS=$as_save_IFS
5357 test -z "$as_dir" && as_dir=.
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5360 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 break 2
5364 done
5365 done
5366 IFS=$as_save_IFS
5370 AS=$ac_cv_prog_AS
5371 if test -n "$AS"; then
5372 { echo "$as_me:$LINENO: result: $AS" >&5
5373 echo "${ECHO_T}$AS" >&6; }
5374 else
5375 { echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6; }
5380 test -n "$AS" && break
5381 done
5383 if test -z "$AS"; then
5384 ac_ct_AS=$AS
5385 for ac_prog in gas as
5387 # Extract the first word of "$ac_prog", so it can be a program name with args.
5388 set dummy $ac_prog; ac_word=$2
5389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5391 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 else
5394 if test -n "$ac_ct_AS"; then
5395 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5396 else
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5400 IFS=$as_save_IFS
5401 test -z "$as_dir" && as_dir=.
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5404 ac_cv_prog_ac_ct_AS="$ac_prog"
5405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5406 break 2
5408 done
5409 done
5410 IFS=$as_save_IFS
5414 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5415 if test -n "$ac_ct_AS"; then
5416 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5417 echo "${ECHO_T}$ac_ct_AS" >&6; }
5418 else
5419 { echo "$as_me:$LINENO: result: no" >&5
5420 echo "${ECHO_T}no" >&6; }
5424 test -n "$ac_ct_AS" && break
5425 done
5427 if test "x$ac_ct_AS" = x; then
5428 AS="as"
5429 else
5430 case $cross_compiling:$ac_tool_warned in
5431 yes:)
5432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5433 whose name does not start with the host triplet. If you think this
5434 configuration is useful to you, please write to autoconf@gnu.org." >&5
5435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5436 whose name does not start with the host triplet. If you think this
5437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5438 ac_tool_warned=yes ;;
5439 esac
5440 AS=$ac_ct_AS
5444 if test -n "$ac_tool_prefix"; then
5445 for ac_prog in ld gld
5447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5448 set dummy $ac_tool_prefix$ac_prog; 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$ac_prog"
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; }
5484 test -n "$LD" && break
5485 done
5487 if test -z "$LD"; then
5488 ac_ct_LD=$LD
5489 for ac_prog in ld gld
5491 # Extract the first word of "$ac_prog", so it can be a program name with args.
5492 set dummy $ac_prog; ac_word=$2
5493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5495 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 else
5498 if test -n "$ac_ct_LD"; then
5499 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5500 else
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH
5504 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5508 ac_cv_prog_ac_ct_LD="$ac_prog"
5509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 break 2
5512 done
5513 done
5514 IFS=$as_save_IFS
5518 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5519 if test -n "$ac_ct_LD"; then
5520 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5521 echo "${ECHO_T}$ac_ct_LD" >&6; }
5522 else
5523 { echo "$as_me:$LINENO: result: no" >&5
5524 echo "${ECHO_T}no" >&6; }
5528 test -n "$ac_ct_LD" && break
5529 done
5531 if test "x$ac_ct_LD" = x; then
5532 LD="ld"
5533 else
5534 case $cross_compiling:$ac_tool_warned in
5535 yes:)
5536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5537 whose name does not start with the host triplet. If you think this
5538 configuration is useful to you, please write to autoconf@gnu.org." >&5
5539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5540 whose name does not start with the host triplet. If you think this
5541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5542 ac_tool_warned=yes ;;
5543 esac
5544 LD=$ac_ct_LD
5548 if test -n "$ac_tool_prefix"; then
5549 for ac_prog in nm gnm
5551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5552 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5555 if test "${ac_cv_prog_NM+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5557 else
5558 if test -n "$NM"; then
5559 ac_cv_prog_NM="$NM" # Let the user override the test.
5560 else
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5568 ac_cv_prog_NM="$ac_tool_prefix$ac_prog"
5569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 break 2
5572 done
5573 done
5574 IFS=$as_save_IFS
5578 NM=$ac_cv_prog_NM
5579 if test -n "$NM"; then
5580 { echo "$as_me:$LINENO: result: $NM" >&5
5581 echo "${ECHO_T}$NM" >&6; }
5582 else
5583 { echo "$as_me:$LINENO: result: no" >&5
5584 echo "${ECHO_T}no" >&6; }
5588 test -n "$NM" && break
5589 done
5591 if test -z "$NM"; then
5592 ac_ct_NM=$NM
5593 for ac_prog in nm gnm
5595 # Extract the first word of "$ac_prog", so it can be a program name with args.
5596 set dummy $ac_prog; ac_word=$2
5597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5599 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5601 else
5602 if test -n "$ac_ct_NM"; then
5603 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5604 else
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 for as_dir in $PATH
5608 IFS=$as_save_IFS
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5612 ac_cv_prog_ac_ct_NM="$ac_prog"
5613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 break 2
5616 done
5617 done
5618 IFS=$as_save_IFS
5622 ac_ct_NM=$ac_cv_prog_ac_ct_NM
5623 if test -n "$ac_ct_NM"; then
5624 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5625 echo "${ECHO_T}$ac_ct_NM" >&6; }
5626 else
5627 { echo "$as_me:$LINENO: result: no" >&5
5628 echo "${ECHO_T}no" >&6; }
5632 test -n "$ac_ct_NM" && break
5633 done
5635 if test "x$ac_ct_NM" = x; then
5636 NM="nm"
5637 else
5638 case $cross_compiling:$ac_tool_warned in
5639 yes:)
5640 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5641 whose name does not start with the host triplet. If you think this
5642 configuration is useful to you, please write to autoconf@gnu.org." >&5
5643 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5644 whose name does not start with the host triplet. If you think this
5645 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5646 ac_tool_warned=yes ;;
5647 esac
5648 NM=$ac_ct_NM
5652 if test -n "$ac_tool_prefix"; then
5653 for ac_prog in ar gar
5655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5659 if test "${ac_cv_prog_AR+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5661 else
5662 if test -n "$AR"; then
5663 ac_cv_prog_AR="$AR" # Let the user override the test.
5664 else
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 for as_dir in $PATH
5668 IFS=$as_save_IFS
5669 test -z "$as_dir" && as_dir=.
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5674 break 2
5676 done
5677 done
5678 IFS=$as_save_IFS
5682 AR=$ac_cv_prog_AR
5683 if test -n "$AR"; then
5684 { echo "$as_me:$LINENO: result: $AR" >&5
5685 echo "${ECHO_T}$AR" >&6; }
5686 else
5687 { echo "$as_me:$LINENO: result: no" >&5
5688 echo "${ECHO_T}no" >&6; }
5692 test -n "$AR" && break
5693 done
5695 if test -z "$AR"; then
5696 ac_ct_AR=$AR
5697 for ac_prog in ar gar
5699 # Extract the first word of "$ac_prog", so it can be a program name with args.
5700 set dummy $ac_prog; ac_word=$2
5701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5703 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 else
5706 if test -n "$ac_ct_AR"; then
5707 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5708 else
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 for as_dir in $PATH
5712 IFS=$as_save_IFS
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_prog_ac_ct_AR="$ac_prog"
5717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5718 break 2
5720 done
5721 done
5722 IFS=$as_save_IFS
5726 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5727 if test -n "$ac_ct_AR"; then
5728 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5729 echo "${ECHO_T}$ac_ct_AR" >&6; }
5730 else
5731 { echo "$as_me:$LINENO: result: no" >&5
5732 echo "${ECHO_T}no" >&6; }
5736 test -n "$ac_ct_AR" && break
5737 done
5739 if test "x$ac_ct_AR" = x; then
5740 AR="ar"
5741 else
5742 case $cross_compiling:$ac_tool_warned in
5743 yes:)
5744 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5745 whose name does not start with the host triplet. If you think this
5746 configuration is useful to you, please write to autoconf@gnu.org." >&5
5747 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5748 whose name does not start with the host triplet. If you think this
5749 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5750 ac_tool_warned=yes ;;
5751 esac
5752 AR=$ac_ct_AR
5756 ARFLAGS=rc
5758 if test -n "$ac_tool_prefix"; then
5759 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5760 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5763 if test "${ac_cv_prog_RANLIB+set}" = set; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 else
5766 if test -n "$RANLIB"; then
5767 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5772 IFS=$as_save_IFS
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 break 2
5780 done
5781 done
5782 IFS=$as_save_IFS
5786 RANLIB=$ac_cv_prog_RANLIB
5787 if test -n "$RANLIB"; then
5788 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5789 echo "${ECHO_T}$RANLIB" >&6; }
5790 else
5791 { echo "$as_me:$LINENO: result: no" >&5
5792 echo "${ECHO_T}no" >&6; }
5797 if test -z "$ac_cv_prog_RANLIB"; then
5798 ac_ct_RANLIB=$RANLIB
5799 # Extract the first word of "ranlib", so it can be a program name with args.
5800 set dummy ranlib; ac_word=$2
5801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5803 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 else
5806 if test -n "$ac_ct_RANLIB"; then
5807 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5808 else
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in $PATH
5812 IFS=$as_save_IFS
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816 ac_cv_prog_ac_ct_RANLIB="ranlib"
5817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 break 2
5820 done
5821 done
5822 IFS=$as_save_IFS
5826 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5827 if test -n "$ac_ct_RANLIB"; then
5828 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5829 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5830 else
5831 { echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6; }
5835 if test "x$ac_ct_RANLIB" = x; then
5836 RANLIB=":"
5837 else
5838 case $cross_compiling:$ac_tool_warned in
5839 yes:)
5840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5841 whose name does not start with the host triplet. If you think this
5842 configuration is useful to you, please write to autoconf@gnu.org." >&5
5843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5844 whose name does not start with the host triplet. If you think this
5845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5846 ac_tool_warned=yes ;;
5847 esac
5848 RANLIB=$ac_ct_RANLIB
5850 else
5851 RANLIB="$ac_cv_prog_RANLIB"
5854 if test -n "$ac_tool_prefix"; then
5855 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5856 set dummy ${ac_tool_prefix}strip; ac_word=$2
5857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5859 if test "${ac_cv_prog_STRIP+set}" = set; then
5860 echo $ECHO_N "(cached) $ECHO_C" >&6
5861 else
5862 if test -n "$STRIP"; then
5863 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5864 else
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 break 2
5876 done
5877 done
5878 IFS=$as_save_IFS
5882 STRIP=$ac_cv_prog_STRIP
5883 if test -n "$STRIP"; then
5884 { echo "$as_me:$LINENO: result: $STRIP" >&5
5885 echo "${ECHO_T}$STRIP" >&6; }
5886 else
5887 { echo "$as_me:$LINENO: result: no" >&5
5888 echo "${ECHO_T}no" >&6; }
5893 if test -z "$ac_cv_prog_STRIP"; then
5894 ac_ct_STRIP=$STRIP
5895 # Extract the first word of "strip", so it can be a program name with args.
5896 set dummy strip; ac_word=$2
5897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5899 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5900 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 else
5902 if test -n "$ac_ct_STRIP"; then
5903 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5904 else
5905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 for as_dir in $PATH
5908 IFS=$as_save_IFS
5909 test -z "$as_dir" && as_dir=.
5910 for ac_exec_ext in '' $ac_executable_extensions; do
5911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5912 ac_cv_prog_ac_ct_STRIP="strip"
5913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 break 2
5916 done
5917 done
5918 IFS=$as_save_IFS
5922 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5923 if test -n "$ac_ct_STRIP"; then
5924 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5925 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5926 else
5927 { echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6; }
5931 if test "x$ac_ct_STRIP" = x; then
5932 STRIP="strip"
5933 else
5934 case $cross_compiling:$ac_tool_warned in
5935 yes:)
5936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5937 whose name does not start with the host triplet. If you think this
5938 configuration is useful to you, please write to autoconf@gnu.org." >&5
5939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5940 whose name does not start with the host triplet. If you think this
5941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5942 ac_tool_warned=yes ;;
5943 esac
5944 STRIP=$ac_ct_STRIP
5946 else
5947 STRIP="$ac_cv_prog_STRIP"
5950 if test -n "$ac_tool_prefix"; then
5951 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5952 set dummy ${ac_tool_prefix}windres; ac_word=$2
5953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5955 if test "${ac_cv_prog_WINDRES+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 else
5958 if test -n "$WINDRES"; then
5959 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5960 else
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH
5964 IFS=$as_save_IFS
5965 test -z "$as_dir" && as_dir=.
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5968 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5970 break 2
5972 done
5973 done
5974 IFS=$as_save_IFS
5978 WINDRES=$ac_cv_prog_WINDRES
5979 if test -n "$WINDRES"; then
5980 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5981 echo "${ECHO_T}$WINDRES" >&6; }
5982 else
5983 { echo "$as_me:$LINENO: result: no" >&5
5984 echo "${ECHO_T}no" >&6; }
5989 if test -z "$ac_cv_prog_WINDRES"; then
5990 ac_ct_WINDRES=$WINDRES
5991 # Extract the first word of "windres", so it can be a program name with args.
5992 set dummy windres; ac_word=$2
5993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5995 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 else
5998 if test -n "$ac_ct_WINDRES"; then
5999 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6000 else
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 for as_dir in $PATH
6004 IFS=$as_save_IFS
6005 test -z "$as_dir" && as_dir=.
6006 for ac_exec_ext in '' $ac_executable_extensions; do
6007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008 ac_cv_prog_ac_ct_WINDRES="windres"
6009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6010 break 2
6012 done
6013 done
6014 IFS=$as_save_IFS
6018 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6019 if test -n "$ac_ct_WINDRES"; then
6020 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6021 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6022 else
6023 { echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6; }
6027 if test "x$ac_ct_WINDRES" = x; then
6028 WINDRES="false"
6029 else
6030 case $cross_compiling:$ac_tool_warned in
6031 yes:)
6032 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6033 whose name does not start with the host triplet. If you think this
6034 configuration is useful to you, please write to autoconf@gnu.org." >&5
6035 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6036 whose name does not start with the host triplet. If you think this
6037 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6038 ac_tool_warned=yes ;;
6039 esac
6040 WINDRES=$ac_ct_WINDRES
6042 else
6043 WINDRES="$ac_cv_prog_WINDRES"
6046 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6047 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6048 LN_S=$as_ln_s
6049 if test "$LN_S" = "ln -s"; then
6050 { echo "$as_me:$LINENO: result: yes" >&5
6051 echo "${ECHO_T}yes" >&6; }
6052 else
6053 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6054 echo "${ECHO_T}no, using $LN_S" >&6; }
6057 { echo "$as_me:$LINENO: checking whether ln works" >&5
6058 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6059 rm -f conf$$ conf$$.file
6060 echo >conf$$.file
6061 if ln conf$$.file conf$$ 2>/dev/null; then
6062 LN=ln
6064 { echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6; }
6066 else
6067 LN="cp -p"
6069 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6070 echo "${ECHO_T}no, using $LN" >&6; }
6072 rm -f conf$$ conf$$.file
6073 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6074 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6075 if test "${ac_cv_path_GREP+set}" = set; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 else
6078 # Extract the first word of "grep ggrep" to use in msg output
6079 if test -z "$GREP"; then
6080 set dummy grep ggrep; ac_prog_name=$2
6081 if test "${ac_cv_path_GREP+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 else
6084 ac_path_GREP_found=false
6085 # Loop through the user's path and test for each of PROGNAME-LIST
6086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6087 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6089 IFS=$as_save_IFS
6090 test -z "$as_dir" && as_dir=.
6091 for ac_prog in grep ggrep; do
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6094 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6095 # Check for GNU ac_path_GREP and select it if it is found.
6096 # Check for GNU $ac_path_GREP
6097 case `"$ac_path_GREP" --version 2>&1` in
6098 *GNU*)
6099 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6101 ac_count=0
6102 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6103 while :
6105 cat "conftest.in" "conftest.in" >"conftest.tmp"
6106 mv "conftest.tmp" "conftest.in"
6107 cp "conftest.in" "conftest.nl"
6108 echo 'GREP' >> "conftest.nl"
6109 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6110 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6111 ac_count=`expr $ac_count + 1`
6112 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6113 # Best one so far, save it but keep looking for a better one
6114 ac_cv_path_GREP="$ac_path_GREP"
6115 ac_path_GREP_max=$ac_count
6117 # 10*(2^10) chars as input seems more than enough
6118 test $ac_count -gt 10 && break
6119 done
6120 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6121 esac
6124 $ac_path_GREP_found && break 3
6125 done
6126 done
6128 done
6129 IFS=$as_save_IFS
6134 GREP="$ac_cv_path_GREP"
6135 if test -z "$GREP"; then
6136 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6137 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6138 { (exit 1); exit 1; }; }
6141 else
6142 ac_cv_path_GREP=$GREP
6147 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6148 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6149 GREP="$ac_cv_path_GREP"
6152 { echo "$as_me:$LINENO: checking for egrep" >&5
6153 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6154 if test "${ac_cv_path_EGREP+set}" = set; then
6155 echo $ECHO_N "(cached) $ECHO_C" >&6
6156 else
6157 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6158 then ac_cv_path_EGREP="$GREP -E"
6159 else
6160 # Extract the first word of "egrep" to use in msg output
6161 if test -z "$EGREP"; then
6162 set dummy egrep; ac_prog_name=$2
6163 if test "${ac_cv_path_EGREP+set}" = set; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6165 else
6166 ac_path_EGREP_found=false
6167 # Loop through the user's path and test for each of PROGNAME-LIST
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6171 IFS=$as_save_IFS
6172 test -z "$as_dir" && as_dir=.
6173 for ac_prog in egrep; do
6174 for ac_exec_ext in '' $ac_executable_extensions; do
6175 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6176 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6177 # Check for GNU ac_path_EGREP and select it if it is found.
6178 # Check for GNU $ac_path_EGREP
6179 case `"$ac_path_EGREP" --version 2>&1` in
6180 *GNU*)
6181 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6183 ac_count=0
6184 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6185 while :
6187 cat "conftest.in" "conftest.in" >"conftest.tmp"
6188 mv "conftest.tmp" "conftest.in"
6189 cp "conftest.in" "conftest.nl"
6190 echo 'EGREP' >> "conftest.nl"
6191 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6192 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6193 ac_count=`expr $ac_count + 1`
6194 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6195 # Best one so far, save it but keep looking for a better one
6196 ac_cv_path_EGREP="$ac_path_EGREP"
6197 ac_path_EGREP_max=$ac_count
6199 # 10*(2^10) chars as input seems more than enough
6200 test $ac_count -gt 10 && break
6201 done
6202 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6203 esac
6206 $ac_path_EGREP_found && break 3
6207 done
6208 done
6210 done
6211 IFS=$as_save_IFS
6216 EGREP="$ac_cv_path_EGREP"
6217 if test -z "$EGREP"; then
6218 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6219 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6220 { (exit 1); exit 1; }; }
6223 else
6224 ac_cv_path_EGREP=$EGREP
6230 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6231 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6232 EGREP="$ac_cv_path_EGREP"
6235 # Extract the first word of "ldconfig", so it can be a program name with args.
6236 set dummy ldconfig; ac_word=$2
6237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6239 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6240 echo $ECHO_N "(cached) $ECHO_C" >&6
6241 else
6242 case $LDCONFIG in
6243 [\\/]* | ?:[\\/]*)
6244 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 for as_dir in /sbin /usr/sbin $PATH
6250 IFS=$as_save_IFS
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 break 2
6258 done
6259 done
6260 IFS=$as_save_IFS
6262 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6264 esac
6266 LDCONFIG=$ac_cv_path_LDCONFIG
6267 if test -n "$LDCONFIG"; then
6268 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6269 echo "${ECHO_T}$LDCONFIG" >&6; }
6270 else
6271 { echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6; }
6276 # Find a good install program. We prefer a C program (faster),
6277 # so one script is as good as another. But avoid the broken or
6278 # incompatible versions:
6279 # SysV /etc/install, /usr/sbin/install
6280 # SunOS /usr/etc/install
6281 # IRIX /sbin/install
6282 # AIX /bin/install
6283 # AmigaOS /C/install, which installs bootblocks on floppy discs
6284 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6285 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6286 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6287 # OS/2's system install, which has a completely different semantic
6288 # ./install, which can be erroneously created by make from ./install.sh.
6289 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6290 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6291 if test -z "$INSTALL"; then
6292 if test "${ac_cv_path_install+set}" = set; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6
6294 else
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 for as_dir in $PATH
6298 IFS=$as_save_IFS
6299 test -z "$as_dir" && as_dir=.
6300 # Account for people who put trailing slashes in PATH elements.
6301 case $as_dir/ in
6302 ./ | .// | /cC/* | \
6303 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6304 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6305 /usr/ucb/* ) ;;
6307 # OSF1 and SCO ODT 3.0 have their own names for install.
6308 # Don't use installbsd from OSF since it installs stuff as root
6309 # by default.
6310 for ac_prog in ginstall scoinst install; do
6311 for ac_exec_ext in '' $ac_executable_extensions; do
6312 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6313 if test $ac_prog = install &&
6314 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6315 # AIX install. It has an incompatible calling convention.
6317 elif test $ac_prog = install &&
6318 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6319 # program-specific install script used by HP pwplus--don't use.
6321 else
6322 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6323 break 3
6326 done
6327 done
6329 esac
6330 done
6331 IFS=$as_save_IFS
6335 if test "${ac_cv_path_install+set}" = set; then
6336 INSTALL=$ac_cv_path_install
6337 else
6338 # As a last resort, use the slow shell script. Don't cache a
6339 # value for INSTALL within a source directory, because that will
6340 # break other packages using the cache if that directory is
6341 # removed, or if the value is a relative name.
6342 INSTALL=$ac_install_sh
6345 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6346 echo "${ECHO_T}$INSTALL" >&6; }
6348 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6349 # It thinks the first close brace ends the variable substitution.
6350 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6352 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6354 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6356 case "$INSTALL" in
6357 [\\/$]* | ?:[\\/]* ) ;;
6358 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6359 esac
6361 for ac_prog in lclint lint
6363 # Extract the first word of "$ac_prog", so it can be a program name with args.
6364 set dummy $ac_prog; ac_word=$2
6365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6367 if test "${ac_cv_prog_LINT+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 else
6370 if test -n "$LINT"; then
6371 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6372 else
6373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 for as_dir in $PATH
6376 IFS=$as_save_IFS
6377 test -z "$as_dir" && as_dir=.
6378 for ac_exec_ext in '' $ac_executable_extensions; do
6379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6380 ac_cv_prog_LINT="$ac_prog"
6381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6382 break 2
6384 done
6385 done
6386 IFS=$as_save_IFS
6390 LINT=$ac_cv_prog_LINT
6391 if test -n "$LINT"; then
6392 { echo "$as_me:$LINENO: result: $LINT" >&5
6393 echo "${ECHO_T}$LINT" >&6; }
6394 else
6395 { echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6; }
6400 test -n "$LINT" && break
6401 done
6403 if test "$LINT" = "lint"
6404 then
6405 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6410 for ac_prog in fontforge
6412 # Extract the first word of "$ac_prog", so it can be a program name with args.
6413 set dummy $ac_prog; ac_word=$2
6414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6416 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6417 echo $ECHO_N "(cached) $ECHO_C" >&6
6418 else
6419 if test -n "$FONTFORGE"; then
6420 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6421 else
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423 for as_dir in $PATH
6425 IFS=$as_save_IFS
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_FONTFORGE="$ac_prog"
6430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6431 break 2
6433 done
6434 done
6435 IFS=$as_save_IFS
6439 FONTFORGE=$ac_cv_prog_FONTFORGE
6440 if test -n "$FONTFORGE"; then
6441 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6442 echo "${ECHO_T}$FONTFORGE" >&6; }
6443 else
6444 { echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6; }
6449 test -n "$FONTFORGE" && break
6450 done
6451 test -n "$FONTFORGE" || FONTFORGE="false"
6453 for ac_prog in pkg-config
6455 # Extract the first word of "$ac_prog", so it can be a program name with args.
6456 set dummy $ac_prog; ac_word=$2
6457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6459 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6461 else
6462 if test -n "$PKG_CONFIG"; then
6463 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6464 else
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in $PATH
6468 IFS=$as_save_IFS
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_prog_PKG_CONFIG="$ac_prog"
6473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6474 break 2
6476 done
6477 done
6478 IFS=$as_save_IFS
6482 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6483 if test -n "$PKG_CONFIG"; then
6484 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6485 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6486 else
6487 { echo "$as_me:$LINENO: result: no" >&5
6488 echo "${ECHO_T}no" >&6; }
6492 test -n "$PKG_CONFIG" && break
6493 done
6494 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6496 for ac_prog in rsvg
6498 # Extract the first word of "$ac_prog", so it can be a program name with args.
6499 set dummy $ac_prog; ac_word=$2
6500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6502 if test "${ac_cv_prog_RSVG+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 else
6505 if test -n "$RSVG"; then
6506 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6507 else
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 for as_dir in $PATH
6511 IFS=$as_save_IFS
6512 test -z "$as_dir" && as_dir=.
6513 for ac_exec_ext in '' $ac_executable_extensions; do
6514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515 ac_cv_prog_RSVG="$ac_prog"
6516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6517 break 2
6519 done
6520 done
6521 IFS=$as_save_IFS
6525 RSVG=$ac_cv_prog_RSVG
6526 if test -n "$RSVG"; then
6527 { echo "$as_me:$LINENO: result: $RSVG" >&5
6528 echo "${ECHO_T}$RSVG" >&6; }
6529 else
6530 { echo "$as_me:$LINENO: result: no" >&5
6531 echo "${ECHO_T}no" >&6; }
6535 test -n "$RSVG" && break
6536 done
6537 test -n "$RSVG" || RSVG="false"
6539 for ac_prog in icotool
6541 # Extract the first word of "$ac_prog", so it can be a program name with args.
6542 set dummy $ac_prog; ac_word=$2
6543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6545 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6546 echo $ECHO_N "(cached) $ECHO_C" >&6
6547 else
6548 if test -n "$ICOTOOL"; then
6549 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6550 else
6551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 for as_dir in $PATH
6554 IFS=$as_save_IFS
6555 test -z "$as_dir" && as_dir=.
6556 for ac_exec_ext in '' $ac_executable_extensions; do
6557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6558 ac_cv_prog_ICOTOOL="$ac_prog"
6559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6560 break 2
6562 done
6563 done
6564 IFS=$as_save_IFS
6568 ICOTOOL=$ac_cv_prog_ICOTOOL
6569 if test -n "$ICOTOOL"; then
6570 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6571 echo "${ECHO_T}$ICOTOOL" >&6; }
6572 else
6573 { echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6; }
6578 test -n "$ICOTOOL" && break
6579 done
6580 test -n "$ICOTOOL" || ICOTOOL="false"
6583 if test "${enable_maintainer_mode+set}" = set
6584 then
6585 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6586 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6587 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6590 case $host_cpu in
6591 *i[3456789]86*)
6592 # Extract the first word of "prelink", so it can be a program name with args.
6593 set dummy prelink; ac_word=$2
6594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6596 if test "${ac_cv_path_PRELINK+set}" = set; then
6597 echo $ECHO_N "(cached) $ECHO_C" >&6
6598 else
6599 case $PRELINK in
6600 [\\/]* | ?:[\\/]*)
6601 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6605 for as_dir in /sbin /usr/sbin $PATH
6607 IFS=$as_save_IFS
6608 test -z "$as_dir" && as_dir=.
6609 for ac_exec_ext in '' $ac_executable_extensions; do
6610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6613 break 2
6615 done
6616 done
6617 IFS=$as_save_IFS
6619 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6621 esac
6623 PRELINK=$ac_cv_path_PRELINK
6624 if test -n "$PRELINK"; then
6625 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6626 echo "${ECHO_T}$PRELINK" >&6; }
6627 else
6628 { echo "$as_me:$LINENO: result: no" >&5
6629 echo "${ECHO_T}no" >&6; }
6634 esac
6638 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6639 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6640 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6641 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 else
6643 ac_check_lib_save_LIBS=$LIBS
6644 LIBS="-li386 $LIBS"
6645 cat >conftest.$ac_ext <<_ACEOF
6646 /* confdefs.h. */
6647 _ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6652 /* Override any GCC internal prototype to avoid an error.
6653 Use char because int might match the return type of a GCC
6654 builtin and then its argument prototype would still apply. */
6655 #ifdef __cplusplus
6656 extern "C"
6657 #endif
6658 char i386_set_ldt ();
6660 main ()
6662 return i386_set_ldt ();
6664 return 0;
6666 _ACEOF
6667 rm -f conftest.$ac_objext conftest$ac_exeext
6668 if { (ac_try="$ac_link"
6669 case "(($ac_try" in
6670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6671 *) ac_try_echo=$ac_try;;
6672 esac
6673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6674 (eval "$ac_link") 2>conftest.er1
6675 ac_status=$?
6676 grep -v '^ *+' conftest.er1 >conftest.err
6677 rm -f conftest.er1
6678 cat conftest.err >&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); } && {
6681 test -z "$ac_c_werror_flag" ||
6682 test ! -s conftest.err
6683 } && test -s conftest$ac_exeext &&
6684 $as_test_x conftest$ac_exeext; then
6685 ac_cv_lib_i386_i386_set_ldt=yes
6686 else
6687 echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.$ac_ext >&5
6690 ac_cv_lib_i386_i386_set_ldt=no
6693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6694 conftest$ac_exeext conftest.$ac_ext
6695 LIBS=$ac_check_lib_save_LIBS
6697 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6698 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6699 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6700 cat >>confdefs.h <<_ACEOF
6701 #define HAVE_LIBI386 1
6702 _ACEOF
6704 LIBS="-li386 $LIBS"
6709 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6710 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6711 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6712 echo $ECHO_N "(cached) $ECHO_C" >&6
6713 else
6714 ac_check_lib_save_LIBS=$LIBS
6715 LIBS="-lossaudio $LIBS"
6716 cat >conftest.$ac_ext <<_ACEOF
6717 /* confdefs.h. */
6718 _ACEOF
6719 cat confdefs.h >>conftest.$ac_ext
6720 cat >>conftest.$ac_ext <<_ACEOF
6721 /* end confdefs.h. */
6723 /* Override any GCC internal prototype to avoid an error.
6724 Use char because int might match the return type of a GCC
6725 builtin and then its argument prototype would still apply. */
6726 #ifdef __cplusplus
6727 extern "C"
6728 #endif
6729 char _oss_ioctl ();
6731 main ()
6733 return _oss_ioctl ();
6735 return 0;
6737 _ACEOF
6738 rm -f conftest.$ac_objext conftest$ac_exeext
6739 if { (ac_try="$ac_link"
6740 case "(($ac_try" in
6741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6742 *) ac_try_echo=$ac_try;;
6743 esac
6744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6745 (eval "$ac_link") 2>conftest.er1
6746 ac_status=$?
6747 grep -v '^ *+' conftest.er1 >conftest.err
6748 rm -f conftest.er1
6749 cat conftest.err >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } && {
6752 test -z "$ac_c_werror_flag" ||
6753 test ! -s conftest.err
6754 } && test -s conftest$ac_exeext &&
6755 $as_test_x conftest$ac_exeext; then
6756 ac_cv_lib_ossaudio__oss_ioctl=yes
6757 else
6758 echo "$as_me: failed program was:" >&5
6759 sed 's/^/| /' conftest.$ac_ext >&5
6761 ac_cv_lib_ossaudio__oss_ioctl=no
6764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6765 conftest$ac_exeext conftest.$ac_ext
6766 LIBS=$ac_check_lib_save_LIBS
6768 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6769 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6770 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6771 cat >>confdefs.h <<_ACEOF
6772 #define HAVE_LIBOSSAUDIO 1
6773 _ACEOF
6775 LIBS="-lossaudio $LIBS"
6779 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6780 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6781 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6782 echo $ECHO_N "(cached) $ECHO_C" >&6
6783 else
6784 ac_check_lib_save_LIBS=$LIBS
6785 LIBS="-lpthread $LIBS"
6786 cat >conftest.$ac_ext <<_ACEOF
6787 /* confdefs.h. */
6788 _ACEOF
6789 cat confdefs.h >>conftest.$ac_ext
6790 cat >>conftest.$ac_ext <<_ACEOF
6791 /* end confdefs.h. */
6793 /* Override any GCC internal prototype to avoid an error.
6794 Use char because int might match the return type of a GCC
6795 builtin and then its argument prototype would still apply. */
6796 #ifdef __cplusplus
6797 extern "C"
6798 #endif
6799 char pthread_create ();
6801 main ()
6803 return pthread_create ();
6805 return 0;
6807 _ACEOF
6808 rm -f conftest.$ac_objext conftest$ac_exeext
6809 if { (ac_try="$ac_link"
6810 case "(($ac_try" in
6811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6812 *) ac_try_echo=$ac_try;;
6813 esac
6814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6815 (eval "$ac_link") 2>conftest.er1
6816 ac_status=$?
6817 grep -v '^ *+' conftest.er1 >conftest.err
6818 rm -f conftest.er1
6819 cat conftest.err >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } && {
6822 test -z "$ac_c_werror_flag" ||
6823 test ! -s conftest.err
6824 } && test -s conftest$ac_exeext &&
6825 $as_test_x conftest$ac_exeext; then
6826 ac_cv_lib_pthread_pthread_create=yes
6827 else
6828 echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.$ac_ext >&5
6831 ac_cv_lib_pthread_pthread_create=no
6834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6835 conftest$ac_exeext conftest.$ac_ext
6836 LIBS=$ac_check_lib_save_LIBS
6838 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6839 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6840 if test $ac_cv_lib_pthread_pthread_create = yes; then
6841 LIBPTHREAD="-lpthread"
6846 XLIB=""
6848 XFILES=""
6850 OPENGLFILES=""
6852 GLU32FILES=""
6854 OPENGL_LIBS=""
6856 QUARTZFILES=""
6860 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6861 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6862 if test "${ac_cv_header_stdc+set}" = set; then
6863 echo $ECHO_N "(cached) $ECHO_C" >&6
6864 else
6865 cat >conftest.$ac_ext <<_ACEOF
6866 /* confdefs.h. */
6867 _ACEOF
6868 cat confdefs.h >>conftest.$ac_ext
6869 cat >>conftest.$ac_ext <<_ACEOF
6870 /* end confdefs.h. */
6871 #include <stdlib.h>
6872 #include <stdarg.h>
6873 #include <string.h>
6874 #include <float.h>
6877 main ()
6881 return 0;
6883 _ACEOF
6884 rm -f conftest.$ac_objext
6885 if { (ac_try="$ac_compile"
6886 case "(($ac_try" in
6887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6888 *) ac_try_echo=$ac_try;;
6889 esac
6890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6891 (eval "$ac_compile") 2>conftest.er1
6892 ac_status=$?
6893 grep -v '^ *+' conftest.er1 >conftest.err
6894 rm -f conftest.er1
6895 cat conftest.err >&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } && {
6898 test -z "$ac_c_werror_flag" ||
6899 test ! -s conftest.err
6900 } && test -s conftest.$ac_objext; then
6901 ac_cv_header_stdc=yes
6902 else
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.$ac_ext >&5
6906 ac_cv_header_stdc=no
6909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911 if test $ac_cv_header_stdc = yes; then
6912 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6913 cat >conftest.$ac_ext <<_ACEOF
6914 /* confdefs.h. */
6915 _ACEOF
6916 cat confdefs.h >>conftest.$ac_ext
6917 cat >>conftest.$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6919 #include <string.h>
6921 _ACEOF
6922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6923 $EGREP "memchr" >/dev/null 2>&1; then
6925 else
6926 ac_cv_header_stdc=no
6928 rm -f conftest*
6932 if test $ac_cv_header_stdc = yes; then
6933 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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 #include <stdlib.h>
6942 _ACEOF
6943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6944 $EGREP "free" >/dev/null 2>&1; then
6946 else
6947 ac_cv_header_stdc=no
6949 rm -f conftest*
6953 if test $ac_cv_header_stdc = yes; then
6954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6955 if test "$cross_compiling" = yes; then
6957 else
6958 cat >conftest.$ac_ext <<_ACEOF
6959 /* confdefs.h. */
6960 _ACEOF
6961 cat confdefs.h >>conftest.$ac_ext
6962 cat >>conftest.$ac_ext <<_ACEOF
6963 /* end confdefs.h. */
6964 #include <ctype.h>
6965 #include <stdlib.h>
6966 #if ((' ' & 0x0FF) == 0x020)
6967 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6968 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6969 #else
6970 # define ISLOWER(c) \
6971 (('a' <= (c) && (c) <= 'i') \
6972 || ('j' <= (c) && (c) <= 'r') \
6973 || ('s' <= (c) && (c) <= 'z'))
6974 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6975 #endif
6977 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6979 main ()
6981 int i;
6982 for (i = 0; i < 256; i++)
6983 if (XOR (islower (i), ISLOWER (i))
6984 || toupper (i) != TOUPPER (i))
6985 return 2;
6986 return 0;
6988 _ACEOF
6989 rm -f conftest$ac_exeext
6990 if { (ac_try="$ac_link"
6991 case "(($ac_try" in
6992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6993 *) ac_try_echo=$ac_try;;
6994 esac
6995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6996 (eval "$ac_link") 2>&5
6997 ac_status=$?
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7000 { (case "(($ac_try" in
7001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7002 *) ac_try_echo=$ac_try;;
7003 esac
7004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7005 (eval "$ac_try") 2>&5
7006 ac_status=$?
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); }; }; then
7010 else
7011 echo "$as_me: program exited with status $ac_status" >&5
7012 echo "$as_me: failed program was:" >&5
7013 sed 's/^/| /' conftest.$ac_ext >&5
7015 ( exit $ac_status )
7016 ac_cv_header_stdc=no
7018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7024 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7025 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7026 if test $ac_cv_header_stdc = yes; then
7028 cat >>confdefs.h <<\_ACEOF
7029 #define STDC_HEADERS 1
7030 _ACEOF
7034 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7044 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7045 inttypes.h stdint.h unistd.h
7047 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 else
7053 cat >conftest.$ac_ext <<_ACEOF
7054 /* confdefs.h. */
7055 _ACEOF
7056 cat confdefs.h >>conftest.$ac_ext
7057 cat >>conftest.$ac_ext <<_ACEOF
7058 /* end confdefs.h. */
7059 $ac_includes_default
7061 #include <$ac_header>
7062 _ACEOF
7063 rm -f conftest.$ac_objext
7064 if { (ac_try="$ac_compile"
7065 case "(($ac_try" in
7066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7067 *) ac_try_echo=$ac_try;;
7068 esac
7069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7070 (eval "$ac_compile") 2>conftest.er1
7071 ac_status=$?
7072 grep -v '^ *+' conftest.er1 >conftest.err
7073 rm -f conftest.er1
7074 cat conftest.err >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); } && {
7077 test -z "$ac_c_werror_flag" ||
7078 test ! -s conftest.err
7079 } && test -s conftest.$ac_objext; then
7080 eval "$as_ac_Header=yes"
7081 else
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.$ac_ext >&5
7085 eval "$as_ac_Header=no"
7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7090 ac_res=`eval echo '${'$as_ac_Header'}'`
7091 { echo "$as_me:$LINENO: result: $ac_res" >&5
7092 echo "${ECHO_T}$ac_res" >&6; }
7093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7094 cat >>confdefs.h <<_ACEOF
7095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7096 _ACEOF
7100 done
7214 for ac_header in \
7215 AudioUnit/AudioUnit.h \
7216 Carbon/Carbon.h \
7217 CoreAudio/CoreAudio.h \
7218 DiskArbitration/DiskArbitration.h \
7219 IOKit/IOKitLib.h \
7220 alias.h \
7221 alsa/asoundlib.h \
7222 arpa/inet.h \
7223 arpa/nameser.h \
7224 asm/types.h \
7225 capi20.h \
7226 curses.h \
7227 direct.h \
7228 dlfcn.h \
7229 elf.h \
7230 float.h \
7231 fontconfig/fontconfig.h \
7232 getopt.h \
7233 ieeefp.h \
7234 io.h \
7235 jack/jack.h \
7236 jpeglib.h \
7237 lber.h \
7238 lcms.h \
7239 lcms/lcms.h \
7240 ldap.h \
7241 libaudioio.h \
7242 link.h \
7243 linux/cdrom.h \
7244 linux/compiler.h \
7245 linux/hdreg.h \
7246 linux/input.h \
7247 linux/ioctl.h \
7248 linux/joystick.h \
7249 linux/major.h \
7250 linux/param.h \
7251 linux/serial.h \
7252 linux/ucdrom.h \
7253 mach/mach.h \
7254 mach/machine.h \
7255 machine/cpu.h \
7256 machine/limits.h \
7257 machine/soundcard.h \
7258 mntent.h \
7259 ncurses.h \
7260 netdb.h \
7261 netinet/in.h \
7262 netinet/in_systm.h \
7263 netinet/tcp.h \
7264 netinet/tcp_fsm.h \
7265 openssl/err.h \
7266 openssl/ssl.h \
7267 png.h \
7268 poll.h \
7269 process.h \
7270 pthread.h \
7271 pwd.h \
7272 regex.h \
7273 sched.h \
7274 scsi/scsi.h \
7275 scsi/scsi_ioctl.h \
7276 scsi/sg.h \
7277 soundcard.h \
7278 stdint.h \
7279 strings.h \
7280 sys/asoundlib.h \
7281 sys/cdio.h \
7282 sys/elf32.h \
7283 sys/epoll.h \
7284 sys/errno.h \
7285 sys/event.h \
7286 sys/exec_elf.h \
7287 sys/filio.h \
7288 sys/ioctl.h \
7289 sys/ipc.h \
7290 sys/limits.h \
7291 sys/link.h \
7292 sys/lwp.h \
7293 sys/mman.h \
7294 sys/modem.h \
7295 sys/msg.h \
7296 sys/mtio.h \
7297 sys/param.h \
7298 sys/poll.h \
7299 sys/prctl.h \
7300 sys/ptrace.h \
7301 sys/reg.h \
7302 sys/resource.h \
7303 sys/scsiio.h \
7304 sys/shm.h \
7305 sys/signal.h \
7306 sys/socket.h \
7307 sys/socketvar.h \
7308 sys/sockio.h \
7309 sys/soundcard.h \
7310 sys/statvfs.h \
7311 sys/strtio.h \
7312 sys/syscall.h \
7313 sys/sysctl.h \
7314 sys/time.h \
7315 sys/times.h \
7316 sys/uio.h \
7317 sys/un.h \
7318 sys/vm86.h \
7319 sys/wait.h \
7320 syscall.h \
7321 termios.h \
7322 unistd.h \
7323 utime.h \
7324 valgrind/memcheck.h \
7325 valgrind/valgrind.h
7328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7329 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7330 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7333 echo $ECHO_N "(cached) $ECHO_C" >&6
7335 ac_res=`eval echo '${'$as_ac_Header'}'`
7336 { echo "$as_me:$LINENO: result: $ac_res" >&5
7337 echo "${ECHO_T}$ac_res" >&6; }
7338 else
7339 # Is the header compilable?
7340 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7342 cat >conftest.$ac_ext <<_ACEOF
7343 /* confdefs.h. */
7344 _ACEOF
7345 cat confdefs.h >>conftest.$ac_ext
7346 cat >>conftest.$ac_ext <<_ACEOF
7347 /* end confdefs.h. */
7348 $ac_includes_default
7349 #include <$ac_header>
7350 _ACEOF
7351 rm -f conftest.$ac_objext
7352 if { (ac_try="$ac_compile"
7353 case "(($ac_try" in
7354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7355 *) ac_try_echo=$ac_try;;
7356 esac
7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 (eval "$ac_compile") 2>conftest.er1
7359 ac_status=$?
7360 grep -v '^ *+' conftest.er1 >conftest.err
7361 rm -f conftest.er1
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } && {
7365 test -z "$ac_c_werror_flag" ||
7366 test ! -s conftest.err
7367 } && test -s conftest.$ac_objext; then
7368 ac_header_compiler=yes
7369 else
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.$ac_ext >&5
7373 ac_header_compiler=no
7376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7377 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7378 echo "${ECHO_T}$ac_header_compiler" >&6; }
7380 # Is the header present?
7381 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7383 cat >conftest.$ac_ext <<_ACEOF
7384 /* confdefs.h. */
7385 _ACEOF
7386 cat confdefs.h >>conftest.$ac_ext
7387 cat >>conftest.$ac_ext <<_ACEOF
7388 /* end confdefs.h. */
7389 #include <$ac_header>
7390 _ACEOF
7391 if { (ac_try="$ac_cpp conftest.$ac_ext"
7392 case "(($ac_try" in
7393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7394 *) ac_try_echo=$ac_try;;
7395 esac
7396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7398 ac_status=$?
7399 grep -v '^ *+' conftest.er1 >conftest.err
7400 rm -f conftest.er1
7401 cat conftest.err >&5
7402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7403 (exit $ac_status); } >/dev/null && {
7404 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7405 test ! -s conftest.err
7406 }; then
7407 ac_header_preproc=yes
7408 else
7409 echo "$as_me: failed program was:" >&5
7410 sed 's/^/| /' conftest.$ac_ext >&5
7412 ac_header_preproc=no
7415 rm -f conftest.err conftest.$ac_ext
7416 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7417 echo "${ECHO_T}$ac_header_preproc" >&6; }
7419 # So? What about this header?
7420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7421 yes:no: )
7422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7426 ac_header_preproc=yes
7428 no:yes:* )
7429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7441 ( cat <<\_ASBOX
7442 ## ------------------------------------ ##
7443 ## Report this to wine-devel@winehq.org ##
7444 ## ------------------------------------ ##
7445 _ASBOX
7446 ) | sed "s/^/$as_me: WARNING: /" >&2
7448 esac
7449 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7453 else
7454 eval "$as_ac_Header=\$ac_header_preproc"
7456 ac_res=`eval echo '${'$as_ac_Header'}'`
7457 { echo "$as_me:$LINENO: result: $ac_res" >&5
7458 echo "${ECHO_T}$ac_res" >&6; }
7461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7462 cat >>confdefs.h <<_ACEOF
7463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7464 _ACEOF
7468 done
7470 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7471 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7472 if test "${ac_cv_header_stat_broken+set}" = set; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7474 else
7475 cat >conftest.$ac_ext <<_ACEOF
7476 /* confdefs.h. */
7477 _ACEOF
7478 cat confdefs.h >>conftest.$ac_ext
7479 cat >>conftest.$ac_ext <<_ACEOF
7480 /* end confdefs.h. */
7481 #include <sys/types.h>
7482 #include <sys/stat.h>
7484 #if defined S_ISBLK && defined S_IFDIR
7485 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7486 #endif
7488 #if defined S_ISBLK && defined S_IFCHR
7489 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7490 #endif
7492 #if defined S_ISLNK && defined S_IFREG
7493 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7494 #endif
7496 #if defined S_ISSOCK && defined S_IFREG
7497 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7498 #endif
7500 _ACEOF
7501 rm -f conftest.$ac_objext
7502 if { (ac_try="$ac_compile"
7503 case "(($ac_try" in
7504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7505 *) ac_try_echo=$ac_try;;
7506 esac
7507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7508 (eval "$ac_compile") 2>conftest.er1
7509 ac_status=$?
7510 grep -v '^ *+' conftest.er1 >conftest.err
7511 rm -f conftest.er1
7512 cat conftest.err >&5
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); } && {
7515 test -z "$ac_c_werror_flag" ||
7516 test ! -s conftest.err
7517 } && test -s conftest.$ac_objext; then
7518 ac_cv_header_stat_broken=no
7519 else
7520 echo "$as_me: failed program was:" >&5
7521 sed 's/^/| /' conftest.$ac_ext >&5
7523 ac_cv_header_stat_broken=yes
7526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7528 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7529 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7530 if test $ac_cv_header_stat_broken = yes; then
7532 cat >>confdefs.h <<\_ACEOF
7533 #define STAT_MACROS_BROKEN 1
7534 _ACEOF
7544 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7550 echo $ECHO_N "(cached) $ECHO_C" >&6
7551 else
7552 cat >conftest.$ac_ext <<_ACEOF
7553 /* confdefs.h. */
7554 _ACEOF
7555 cat confdefs.h >>conftest.$ac_ext
7556 cat >>conftest.$ac_ext <<_ACEOF
7557 /* end confdefs.h. */
7558 #include <sys/types.h>
7559 #ifdef HAVE_SYS_PARAM_H
7560 # include <sys/param.h>
7561 #endif
7563 #include <$ac_header>
7564 _ACEOF
7565 rm -f conftest.$ac_objext
7566 if { (ac_try="$ac_compile"
7567 case "(($ac_try" in
7568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7569 *) ac_try_echo=$ac_try;;
7570 esac
7571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7572 (eval "$ac_compile") 2>conftest.er1
7573 ac_status=$?
7574 grep -v '^ *+' conftest.er1 >conftest.err
7575 rm -f conftest.er1
7576 cat conftest.err >&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } && {
7579 test -z "$ac_c_werror_flag" ||
7580 test ! -s conftest.err
7581 } && test -s conftest.$ac_objext; then
7582 eval "$as_ac_Header=yes"
7583 else
7584 echo "$as_me: failed program was:" >&5
7585 sed 's/^/| /' conftest.$ac_ext >&5
7587 eval "$as_ac_Header=no"
7590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7592 ac_res=`eval echo '${'$as_ac_Header'}'`
7593 { echo "$as_me:$LINENO: result: $ac_res" >&5
7594 echo "${ECHO_T}$ac_res" >&6; }
7595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7596 cat >>confdefs.h <<_ACEOF
7597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7598 _ACEOF
7602 done
7617 for ac_header in \
7618 netinet/ip.h \
7619 net/if.h \
7620 net/if_arp.h \
7621 net/if_dl.h \
7622 net/if_types.h \
7623 net/route.h \
7624 netinet/if_ether.h \
7625 netinet/in_pcb.h \
7626 netinet/ip_icmp.h \
7627 netinet/ip_var.h \
7628 netinet/udp.h \
7629 netipx/ipx.h \
7632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 else
7638 cat >conftest.$ac_ext <<_ACEOF
7639 /* confdefs.h. */
7640 _ACEOF
7641 cat confdefs.h >>conftest.$ac_ext
7642 cat >>conftest.$ac_ext <<_ACEOF
7643 /* end confdefs.h. */
7644 #include <sys/types.h>
7645 #ifdef HAVE_SYS_SOCKET_H
7646 # include <sys/socket.h>
7647 #endif
7648 #ifdef HAVE_SYS_SOCKETVAR_H
7649 # include <sys/socketvar.h>
7650 #endif
7651 #ifdef HAVE_NETINET_IN_H
7652 # include <netinet/in.h>
7653 #endif
7654 #ifdef HAVE_NETINET_IP_H
7655 # include <netinet/ip.h>
7656 #endif
7658 #include <$ac_header>
7659 _ACEOF
7660 rm -f conftest.$ac_objext
7661 if { (ac_try="$ac_compile"
7662 case "(($ac_try" in
7663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7664 *) ac_try_echo=$ac_try;;
7665 esac
7666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7667 (eval "$ac_compile") 2>conftest.er1
7668 ac_status=$?
7669 grep -v '^ *+' conftest.er1 >conftest.err
7670 rm -f conftest.er1
7671 cat conftest.err >&5
7672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673 (exit $ac_status); } && {
7674 test -z "$ac_c_werror_flag" ||
7675 test ! -s conftest.err
7676 } && test -s conftest.$ac_objext; then
7677 eval "$as_ac_Header=yes"
7678 else
7679 echo "$as_me: failed program was:" >&5
7680 sed 's/^/| /' conftest.$ac_ext >&5
7682 eval "$as_ac_Header=no"
7685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7687 ac_res=`eval echo '${'$as_ac_Header'}'`
7688 { echo "$as_me:$LINENO: result: $ac_res" >&5
7689 echo "${ECHO_T}$ac_res" >&6; }
7690 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7691 cat >>confdefs.h <<_ACEOF
7692 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7693 _ACEOF
7697 done
7704 for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_timer.h
7706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7707 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7710 echo $ECHO_N "(cached) $ECHO_C" >&6
7711 else
7712 cat >conftest.$ac_ext <<_ACEOF
7713 /* confdefs.h. */
7714 _ACEOF
7715 cat confdefs.h >>conftest.$ac_ext
7716 cat >>conftest.$ac_ext <<_ACEOF
7717 /* end confdefs.h. */
7718 #include <sys/types.h>
7719 #ifdef HAVE_ALIAS_H
7720 # include <alias.h>
7721 #endif
7722 #ifdef HAVE_SYS_SOCKET_H
7723 # include <sys/socket.h>
7724 #endif
7725 #ifdef HAVE_SYS_SOCKETVAR_H
7726 # include <sys/socketvar.h>
7727 #endif
7728 #ifdef HAVE_NETINET_IN_H
7729 # include <netinet/in.h>
7730 #endif
7731 #ifdef HAVE_NETINET_IP_H
7732 # include <netinet/ip.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IP_VAR_H
7735 # include <netinet/ip_var.h>
7736 #endif
7737 #ifdef HAVE_NETINET_IP_ICMP_H
7738 # include <netinet/ip_icmp.h>
7739 #endif
7740 #ifdef HAVE_NETINET_UDP_H
7741 # include <netinet/udp.h>
7742 #endif
7743 #ifdef HAVE_NETINET_TCP_H
7744 # include <netinet/tcp.h>
7745 #endif
7747 #include <$ac_header>
7748 _ACEOF
7749 rm -f conftest.$ac_objext
7750 if { (ac_try="$ac_compile"
7751 case "(($ac_try" in
7752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7753 *) ac_try_echo=$ac_try;;
7754 esac
7755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7756 (eval "$ac_compile") 2>conftest.er1
7757 ac_status=$?
7758 grep -v '^ *+' conftest.er1 >conftest.err
7759 rm -f conftest.er1
7760 cat conftest.err >&5
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); } && {
7763 test -z "$ac_c_werror_flag" ||
7764 test ! -s conftest.err
7765 } && test -s conftest.$ac_objext; then
7766 eval "$as_ac_Header=yes"
7767 else
7768 echo "$as_me: failed program was:" >&5
7769 sed 's/^/| /' conftest.$ac_ext >&5
7771 eval "$as_ac_Header=no"
7774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7776 ac_res=`eval echo '${'$as_ac_Header'}'`
7777 { echo "$as_me:$LINENO: result: $ac_res" >&5
7778 echo "${ECHO_T}$ac_res" >&6; }
7779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7780 cat >>confdefs.h <<_ACEOF
7781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7782 _ACEOF
7786 done
7790 for ac_header in linux/ipx.h
7792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7793 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7795 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7797 else
7798 cat >conftest.$ac_ext <<_ACEOF
7799 /* confdefs.h. */
7800 _ACEOF
7801 cat confdefs.h >>conftest.$ac_ext
7802 cat >>conftest.$ac_ext <<_ACEOF
7803 /* end confdefs.h. */
7804 #include <sys/types.h>
7805 #ifdef HAVE_ASM_TYPES_H
7806 # include <asm/types.h>
7807 #endif
7808 #ifdef HAVE_SYS_SOCKET_H
7809 # include <sys/socket.h>
7810 #endif
7812 #include <$ac_header>
7813 _ACEOF
7814 rm -f conftest.$ac_objext
7815 if { (ac_try="$ac_compile"
7816 case "(($ac_try" in
7817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7818 *) ac_try_echo=$ac_try;;
7819 esac
7820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7821 (eval "$ac_compile") 2>conftest.er1
7822 ac_status=$?
7823 grep -v '^ *+' conftest.er1 >conftest.err
7824 rm -f conftest.er1
7825 cat conftest.err >&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); } && {
7828 test -z "$ac_c_werror_flag" ||
7829 test ! -s conftest.err
7830 } && test -s conftest.$ac_objext; then
7831 eval "$as_ac_Header=yes"
7832 else
7833 echo "$as_me: failed program was:" >&5
7834 sed 's/^/| /' conftest.$ac_ext >&5
7836 eval "$as_ac_Header=no"
7839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7841 ac_res=`eval echo '${'$as_ac_Header'}'`
7842 { echo "$as_me:$LINENO: result: $ac_res" >&5
7843 echo "${ECHO_T}$ac_res" >&6; }
7844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7845 cat >>confdefs.h <<_ACEOF
7846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7847 _ACEOF
7851 done
7855 for ac_header in resolv.h
7857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7858 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7861 echo $ECHO_N "(cached) $ECHO_C" >&6
7862 else
7863 cat >conftest.$ac_ext <<_ACEOF
7864 /* confdefs.h. */
7865 _ACEOF
7866 cat confdefs.h >>conftest.$ac_ext
7867 cat >>conftest.$ac_ext <<_ACEOF
7868 /* end confdefs.h. */
7869 #include <sys/types.h>
7870 #ifdef HAVE_SYS_SOCKET_H
7871 # include <sys/socket.h>
7872 #endif
7873 #ifdef HAVE_NETINET_IN_H
7874 # include <netinet/in.h>
7875 #endif
7876 #ifdef HAVE_ARPA_NAMESER_H
7877 # include <arpa/nameser.h>
7878 #endif
7880 #include <$ac_header>
7881 _ACEOF
7882 rm -f conftest.$ac_objext
7883 if { (ac_try="$ac_compile"
7884 case "(($ac_try" in
7885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7886 *) ac_try_echo=$ac_try;;
7887 esac
7888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7889 (eval "$ac_compile") 2>conftest.er1
7890 ac_status=$?
7891 grep -v '^ *+' conftest.er1 >conftest.err
7892 rm -f conftest.er1
7893 cat conftest.err >&5
7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); } && {
7896 test -z "$ac_c_werror_flag" ||
7897 test ! -s conftest.err
7898 } && test -s conftest.$ac_objext; then
7899 eval "$as_ac_Header=yes"
7900 else
7901 echo "$as_me: failed program was:" >&5
7902 sed 's/^/| /' conftest.$ac_ext >&5
7904 eval "$as_ac_Header=no"
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909 ac_res=`eval echo '${'$as_ac_Header'}'`
7910 { echo "$as_me:$LINENO: result: $ac_res" >&5
7911 echo "${ECHO_T}$ac_res" >&6; }
7912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7913 cat >>confdefs.h <<_ACEOF
7914 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7915 _ACEOF
7919 done
7923 for ac_header in ucontext.h
7925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7926 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7929 echo $ECHO_N "(cached) $ECHO_C" >&6
7930 else
7931 cat >conftest.$ac_ext <<_ACEOF
7932 /* confdefs.h. */
7933 _ACEOF
7934 cat confdefs.h >>conftest.$ac_ext
7935 cat >>conftest.$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7937 #include <signal.h>
7939 #include <$ac_header>
7940 _ACEOF
7941 rm -f conftest.$ac_objext
7942 if { (ac_try="$ac_compile"
7943 case "(($ac_try" in
7944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7945 *) ac_try_echo=$ac_try;;
7946 esac
7947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7948 (eval "$ac_compile") 2>conftest.er1
7949 ac_status=$?
7950 grep -v '^ *+' conftest.er1 >conftest.err
7951 rm -f conftest.er1
7952 cat conftest.err >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); } && {
7955 test -z "$ac_c_werror_flag" ||
7956 test ! -s conftest.err
7957 } && test -s conftest.$ac_objext; then
7958 eval "$as_ac_Header=yes"
7959 else
7960 echo "$as_me: failed program was:" >&5
7961 sed 's/^/| /' conftest.$ac_ext >&5
7963 eval "$as_ac_Header=no"
7966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7968 ac_res=`eval echo '${'$as_ac_Header'}'`
7969 { echo "$as_me:$LINENO: result: $ac_res" >&5
7970 echo "${ECHO_T}$ac_res" >&6; }
7971 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7972 cat >>confdefs.h <<_ACEOF
7973 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7974 _ACEOF
7978 done
7982 for ac_header in sys/thr.h
7984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7985 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7988 echo $ECHO_N "(cached) $ECHO_C" >&6
7989 else
7990 cat >conftest.$ac_ext <<_ACEOF
7991 /* confdefs.h. */
7992 _ACEOF
7993 cat confdefs.h >>conftest.$ac_ext
7994 cat >>conftest.$ac_ext <<_ACEOF
7995 /* end confdefs.h. */
7996 #include <sys/types.h>
7997 #ifdef HAVE_UCONTEXT_H
7998 #include <ucontext.h>
7999 #endif
8001 #include <$ac_header>
8002 _ACEOF
8003 rm -f conftest.$ac_objext
8004 if { (ac_try="$ac_compile"
8005 case "(($ac_try" in
8006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8007 *) ac_try_echo=$ac_try;;
8008 esac
8009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8010 (eval "$ac_compile") 2>conftest.er1
8011 ac_status=$?
8012 grep -v '^ *+' conftest.er1 >conftest.err
8013 rm -f conftest.er1
8014 cat conftest.err >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); } && {
8017 test -z "$ac_c_werror_flag" ||
8018 test ! -s conftest.err
8019 } && test -s conftest.$ac_objext; then
8020 eval "$as_ac_Header=yes"
8021 else
8022 echo "$as_me: failed program was:" >&5
8023 sed 's/^/| /' conftest.$ac_ext >&5
8025 eval "$as_ac_Header=no"
8028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8030 ac_res=`eval echo '${'$as_ac_Header'}'`
8031 { echo "$as_me:$LINENO: result: $ac_res" >&5
8032 echo "${ECHO_T}$ac_res" >&6; }
8033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8034 cat >>confdefs.h <<_ACEOF
8035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8036 _ACEOF
8040 done
8044 for ac_header in pthread_np.h
8046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8047 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 else
8052 cat >conftest.$ac_ext <<_ACEOF
8053 /* confdefs.h. */
8054 _ACEOF
8055 cat confdefs.h >>conftest.$ac_ext
8056 cat >>conftest.$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8058 #ifdef HAVE_PTHREAD_H
8059 #include <pthread.h>
8060 #endif
8062 #include <$ac_header>
8063 _ACEOF
8064 rm -f conftest.$ac_objext
8065 if { (ac_try="$ac_compile"
8066 case "(($ac_try" in
8067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8068 *) ac_try_echo=$ac_try;;
8069 esac
8070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8071 (eval "$ac_compile") 2>conftest.er1
8072 ac_status=$?
8073 grep -v '^ *+' conftest.er1 >conftest.err
8074 rm -f conftest.er1
8075 cat conftest.err >&5
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); } && {
8078 test -z "$ac_c_werror_flag" ||
8079 test ! -s conftest.err
8080 } && test -s conftest.$ac_objext; then
8081 eval "$as_ac_Header=yes"
8082 else
8083 echo "$as_me: failed program was:" >&5
8084 sed 's/^/| /' conftest.$ac_ext >&5
8086 eval "$as_ac_Header=no"
8089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8091 ac_res=`eval echo '${'$as_ac_Header'}'`
8092 { echo "$as_me:$LINENO: result: $ac_res" >&5
8093 echo "${ECHO_T}$ac_res" >&6; }
8094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8095 cat >>confdefs.h <<_ACEOF
8096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8097 _ACEOF
8101 done
8105 for ac_header in linux/videodev.h
8107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8108 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8111 echo $ECHO_N "(cached) $ECHO_C" >&6
8112 else
8113 cat >conftest.$ac_ext <<_ACEOF
8114 /* confdefs.h. */
8115 _ACEOF
8116 cat confdefs.h >>conftest.$ac_ext
8117 cat >>conftest.$ac_ext <<_ACEOF
8118 /* end confdefs.h. */
8119 #ifdef HAVE_SYS_TIME_H
8120 #include <sys/time.h>
8121 #endif
8122 #include <sys/types.h>
8123 #ifdef HAVE_ASM_TYPES_H
8124 #include <asm/types.h>
8125 #endif
8127 #include <$ac_header>
8128 _ACEOF
8129 rm -f conftest.$ac_objext
8130 if { (ac_try="$ac_compile"
8131 case "(($ac_try" in
8132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8133 *) ac_try_echo=$ac_try;;
8134 esac
8135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8136 (eval "$ac_compile") 2>conftest.er1
8137 ac_status=$?
8138 grep -v '^ *+' conftest.er1 >conftest.err
8139 rm -f conftest.er1
8140 cat conftest.err >&5
8141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 (exit $ac_status); } && {
8143 test -z "$ac_c_werror_flag" ||
8144 test ! -s conftest.err
8145 } && test -s conftest.$ac_objext; then
8146 eval "$as_ac_Header=yes"
8147 else
8148 echo "$as_me: failed program was:" >&5
8149 sed 's/^/| /' conftest.$ac_ext >&5
8151 eval "$as_ac_Header=no"
8154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8156 ac_res=`eval echo '${'$as_ac_Header'}'`
8157 { echo "$as_me:$LINENO: result: $ac_res" >&5
8158 echo "${ECHO_T}$ac_res" >&6; }
8159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8160 cat >>confdefs.h <<_ACEOF
8161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8162 _ACEOF
8166 done
8170 for ac_header in linux/capi.h
8172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8173 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8175 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6
8177 else
8178 cat >conftest.$ac_ext <<_ACEOF
8179 /* confdefs.h. */
8180 _ACEOF
8181 cat confdefs.h >>conftest.$ac_ext
8182 cat >>conftest.$ac_ext <<_ACEOF
8183 /* end confdefs.h. */
8184 #define __user
8186 #include <$ac_header>
8187 _ACEOF
8188 rm -f conftest.$ac_objext
8189 if { (ac_try="$ac_compile"
8190 case "(($ac_try" in
8191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8192 *) ac_try_echo=$ac_try;;
8193 esac
8194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8195 (eval "$ac_compile") 2>conftest.er1
8196 ac_status=$?
8197 grep -v '^ *+' conftest.er1 >conftest.err
8198 rm -f conftest.er1
8199 cat conftest.err >&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); } && {
8202 test -z "$ac_c_werror_flag" ||
8203 test ! -s conftest.err
8204 } && test -s conftest.$ac_objext; then
8205 eval "$as_ac_Header=yes"
8206 else
8207 echo "$as_me: failed program was:" >&5
8208 sed 's/^/| /' conftest.$ac_ext >&5
8210 eval "$as_ac_Header=no"
8213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8215 ac_res=`eval echo '${'$as_ac_Header'}'`
8216 { echo "$as_me:$LINENO: result: $ac_res" >&5
8217 echo "${ECHO_T}$ac_res" >&6; }
8218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8219 cat >>confdefs.h <<_ACEOF
8220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8221 _ACEOF
8225 done
8229 DLLEXT=""
8231 DLLFLAGS="-D_REENTRANT"
8233 LDSHARED=""
8235 LDDLLFLAGS=""
8237 LIBEXT="so"
8239 IMPLIBEXT="def"
8241 LDRPATH_INSTALL=""
8243 LDRPATH_LOCAL=""
8245 # Extract the first word of "ldd", so it can be a program name with args.
8246 set dummy ldd; ac_word=$2
8247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8249 if test "${ac_cv_path_LDD+set}" = set; then
8250 echo $ECHO_N "(cached) $ECHO_C" >&6
8251 else
8252 case $LDD in
8253 [\\/]* | ?:[\\/]*)
8254 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8258 as_dummy="/sbin:/usr/sbin:$PATH"
8259 for as_dir in $as_dummy
8261 IFS=$as_save_IFS
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8265 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8267 break 2
8269 done
8270 done
8271 IFS=$as_save_IFS
8273 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8275 esac
8277 LDD=$ac_cv_path_LDD
8278 if test -n "$LDD"; then
8279 { echo "$as_me:$LINENO: result: $LDD" >&5
8280 echo "${ECHO_T}$LDD" >&6; }
8281 else
8282 { echo "$as_me:$LINENO: result: no" >&5
8283 echo "${ECHO_T}no" >&6; }
8288 case $host_os in
8289 cygwin*|mingw32*)
8290 if test -n "$ac_tool_prefix"; then
8291 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8292 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8295 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8296 echo $ECHO_N "(cached) $ECHO_C" >&6
8297 else
8298 if test -n "$DLLTOOL"; then
8299 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8300 else
8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302 for as_dir in $PATH
8304 IFS=$as_save_IFS
8305 test -z "$as_dir" && as_dir=.
8306 for ac_exec_ext in '' $ac_executable_extensions; do
8307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8308 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8310 break 2
8312 done
8313 done
8314 IFS=$as_save_IFS
8318 DLLTOOL=$ac_cv_prog_DLLTOOL
8319 if test -n "$DLLTOOL"; then
8320 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8321 echo "${ECHO_T}$DLLTOOL" >&6; }
8322 else
8323 { echo "$as_me:$LINENO: result: no" >&5
8324 echo "${ECHO_T}no" >&6; }
8329 if test -z "$ac_cv_prog_DLLTOOL"; then
8330 ac_ct_DLLTOOL=$DLLTOOL
8331 # Extract the first word of "dlltool", so it can be a program name with args.
8332 set dummy dlltool; ac_word=$2
8333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8335 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8336 echo $ECHO_N "(cached) $ECHO_C" >&6
8337 else
8338 if test -n "$ac_ct_DLLTOOL"; then
8339 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8340 else
8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 for as_dir in $PATH
8344 IFS=$as_save_IFS
8345 test -z "$as_dir" && as_dir=.
8346 for ac_exec_ext in '' $ac_executable_extensions; do
8347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8348 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8350 break 2
8352 done
8353 done
8354 IFS=$as_save_IFS
8358 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8359 if test -n "$ac_ct_DLLTOOL"; then
8360 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8361 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8362 else
8363 { echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6; }
8367 if test "x$ac_ct_DLLTOOL" = x; then
8368 DLLTOOL="false"
8369 else
8370 case $cross_compiling:$ac_tool_warned in
8371 yes:)
8372 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8373 whose name does not start with the host triplet. If you think this
8374 configuration is useful to you, please write to autoconf@gnu.org." >&5
8375 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8376 whose name does not start with the host triplet. If you think this
8377 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8378 ac_tool_warned=yes ;;
8379 esac
8380 DLLTOOL=$ac_ct_DLLTOOL
8382 else
8383 DLLTOOL="$ac_cv_prog_DLLTOOL"
8386 if test -n "$ac_tool_prefix"; then
8387 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8388 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8391 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8392 echo $ECHO_N "(cached) $ECHO_C" >&6
8393 else
8394 if test -n "$DLLWRAP"; then
8395 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8396 else
8397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8398 for as_dir in $PATH
8400 IFS=$as_save_IFS
8401 test -z "$as_dir" && as_dir=.
8402 for ac_exec_ext in '' $ac_executable_extensions; do
8403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8404 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8406 break 2
8408 done
8409 done
8410 IFS=$as_save_IFS
8414 DLLWRAP=$ac_cv_prog_DLLWRAP
8415 if test -n "$DLLWRAP"; then
8416 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8417 echo "${ECHO_T}$DLLWRAP" >&6; }
8418 else
8419 { echo "$as_me:$LINENO: result: no" >&5
8420 echo "${ECHO_T}no" >&6; }
8425 if test -z "$ac_cv_prog_DLLWRAP"; then
8426 ac_ct_DLLWRAP=$DLLWRAP
8427 # Extract the first word of "dllwrap", so it can be a program name with args.
8428 set dummy dllwrap; ac_word=$2
8429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8431 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8432 echo $ECHO_N "(cached) $ECHO_C" >&6
8433 else
8434 if test -n "$ac_ct_DLLWRAP"; then
8435 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8436 else
8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8438 for as_dir in $PATH
8440 IFS=$as_save_IFS
8441 test -z "$as_dir" && as_dir=.
8442 for ac_exec_ext in '' $ac_executable_extensions; do
8443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8444 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8446 break 2
8448 done
8449 done
8450 IFS=$as_save_IFS
8454 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8455 if test -n "$ac_ct_DLLWRAP"; then
8456 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8457 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8458 else
8459 { echo "$as_me:$LINENO: result: no" >&5
8460 echo "${ECHO_T}no" >&6; }
8463 if test "x$ac_ct_DLLWRAP" = x; then
8464 DLLWRAP="false"
8465 else
8466 case $cross_compiling:$ac_tool_warned in
8467 yes:)
8468 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8469 whose name does not start with the host triplet. If you think this
8470 configuration is useful to you, please write to autoconf@gnu.org." >&5
8471 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8472 whose name does not start with the host triplet. If you think this
8473 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8474 ac_tool_warned=yes ;;
8475 esac
8476 DLLWRAP=$ac_ct_DLLWRAP
8478 else
8479 DLLWRAP="$ac_cv_prog_DLLWRAP"
8482 if test -n "$ac_tool_prefix"; then
8483 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8484 set dummy ${ac_tool_prefix}ar; ac_word=$2
8485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8487 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8488 echo $ECHO_N "(cached) $ECHO_C" >&6
8489 else
8490 if test -n "$MINGWAR"; then
8491 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8492 else
8493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8494 for as_dir in $PATH
8496 IFS=$as_save_IFS
8497 test -z "$as_dir" && as_dir=.
8498 for ac_exec_ext in '' $ac_executable_extensions; do
8499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8500 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8502 break 2
8504 done
8505 done
8506 IFS=$as_save_IFS
8510 MINGWAR=$ac_cv_prog_MINGWAR
8511 if test -n "$MINGWAR"; then
8512 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8513 echo "${ECHO_T}$MINGWAR" >&6; }
8514 else
8515 { echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6; }
8521 if test -z "$ac_cv_prog_MINGWAR"; then
8522 ac_ct_MINGWAR=$MINGWAR
8523 # Extract the first word of "ar", so it can be a program name with args.
8524 set dummy ar; ac_word=$2
8525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8527 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8528 echo $ECHO_N "(cached) $ECHO_C" >&6
8529 else
8530 if test -n "$ac_ct_MINGWAR"; then
8531 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8532 else
8533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8534 for as_dir in $PATH
8536 IFS=$as_save_IFS
8537 test -z "$as_dir" && as_dir=.
8538 for ac_exec_ext in '' $ac_executable_extensions; do
8539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8540 ac_cv_prog_ac_ct_MINGWAR="ar"
8541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8542 break 2
8544 done
8545 done
8546 IFS=$as_save_IFS
8550 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8551 if test -n "$ac_ct_MINGWAR"; then
8552 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8553 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8554 else
8555 { echo "$as_me:$LINENO: result: no" >&5
8556 echo "${ECHO_T}no" >&6; }
8559 if test "x$ac_ct_MINGWAR" = x; then
8560 MINGWAR="false"
8561 else
8562 case $cross_compiling:$ac_tool_warned in
8563 yes:)
8564 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8565 whose name does not start with the host triplet. If you think this
8566 configuration is useful to you, please write to autoconf@gnu.org." >&5
8567 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8568 whose name does not start with the host triplet. If you think this
8569 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8570 ac_tool_warned=yes ;;
8571 esac
8572 MINGWAR=$ac_ct_MINGWAR
8574 else
8575 MINGWAR="$ac_cv_prog_MINGWAR"
8578 if test "$DLLWRAP" = "false"; then
8579 LIBEXT="a"
8580 else
8581 LIBEXT="dll"
8583 IMPLIBEXT="a"
8584 WIN16_FILES=""
8585 WIN16_INSTALL=""
8587 darwin*|macosx*)
8588 DLLEXT=".so"
8589 LIBEXT="dylib"
8590 DLLFLAGS="$DLLFLAGS -fPIC"
8591 LDDLLFLAGS="-bundle -multiply_defined suppress"
8592 LIBWINE_LDFLAGS="-multiply_defined suppress"
8593 LDSHARED="\$(CC) -dynamiclib"
8594 STRIP="$STRIP -x"
8595 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8596 SECURITYLIB="-framework Security -framework CoreFoundation"
8598 COREFOUNDATIONLIB="-framework CoreFoundation"
8600 IOKITLIB="-framework IOKit -framework CoreFoundation"
8602 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8604 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8605 then
8606 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8609 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8610 then
8611 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8614 case $host_cpu in
8615 *powerpc*)
8616 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8617 esac
8618 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8619 then
8620 CARBONLIB="-framework Carbon"
8622 QUARTZFILES='$(QUARTZFILES)'
8626 DLLFLAGS="$DLLFLAGS -fPIC"
8627 DLLEXT=".so"
8628 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8629 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8630 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 else
8633 ac_wine_try_cflags_saved=$CFLAGS
8634 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8635 cat >conftest.$ac_ext <<_ACEOF
8636 void myfunc() {}
8637 _ACEOF
8638 rm -f conftest.$ac_objext conftest$ac_exeext
8639 if { (ac_try="$ac_link"
8640 case "(($ac_try" in
8641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8642 *) ac_try_echo=$ac_try;;
8643 esac
8644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8645 (eval "$ac_link") 2>conftest.er1
8646 ac_status=$?
8647 grep -v '^ *+' conftest.er1 >conftest.err
8648 rm -f conftest.er1
8649 cat conftest.err >&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } && {
8652 test -z "$ac_c_werror_flag" ||
8653 test ! -s conftest.err
8654 } && test -s conftest$ac_exeext &&
8655 $as_test_x conftest$ac_exeext; then
8656 ac_cv_c_dll_gnuelf="yes"
8657 else
8658 echo "$as_me: failed program was:" >&5
8659 sed 's/^/| /' conftest.$ac_ext >&5
8661 ac_cv_c_dll_gnuelf="no"
8664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8665 conftest$ac_exeext conftest.$ac_ext
8666 CFLAGS=$ac_wine_try_cflags_saved
8668 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8669 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8670 if test "$ac_cv_c_dll_gnuelf" = "yes"
8671 then
8672 LDSHARED="\$(CC) -shared"
8673 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8674 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8675 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8676 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 else
8679 ac_wine_try_cflags_saved=$CFLAGS
8680 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8681 cat >conftest.$ac_ext <<_ACEOF
8682 /* confdefs.h. */
8683 _ACEOF
8684 cat confdefs.h >>conftest.$ac_ext
8685 cat >>conftest.$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8689 main ()
8693 return 0;
8695 _ACEOF
8696 rm -f conftest.$ac_objext conftest$ac_exeext
8697 if { (ac_try="$ac_link"
8698 case "(($ac_try" in
8699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8700 *) ac_try_echo=$ac_try;;
8701 esac
8702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8703 (eval "$ac_link") 2>conftest.er1
8704 ac_status=$?
8705 grep -v '^ *+' conftest.er1 >conftest.err
8706 rm -f conftest.er1
8707 cat conftest.err >&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } && {
8710 test -z "$ac_c_werror_flag" ||
8711 test ! -s conftest.err
8712 } && test -s conftest$ac_exeext &&
8713 $as_test_x conftest$ac_exeext; then
8714 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8715 else
8716 echo "$as_me: failed program was:" >&5
8717 sed 's/^/| /' conftest.$ac_ext >&5
8719 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8723 conftest$ac_exeext conftest.$ac_ext
8724 CFLAGS=$ac_wine_try_cflags_saved
8726 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8727 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8728 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8729 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8730 else
8731 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8732 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8733 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8738 cat >conftest.$ac_ext <<_ACEOF
8739 /* confdefs.h. */
8740 _ACEOF
8741 cat confdefs.h >>conftest.$ac_ext
8742 cat >>conftest.$ac_ext <<_ACEOF
8743 /* end confdefs.h. */
8746 main ()
8750 return 0;
8752 _ACEOF
8753 rm -f conftest.$ac_objext conftest$ac_exeext
8754 if { (ac_try="$ac_link"
8755 case "(($ac_try" in
8756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8758 esac
8759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760 (eval "$ac_link") 2>conftest.er1
8761 ac_status=$?
8762 grep -v '^ *+' conftest.er1 >conftest.err
8763 rm -f conftest.er1
8764 cat conftest.err >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } && {
8767 test -z "$ac_c_werror_flag" ||
8768 test ! -s conftest.err
8769 } && test -s conftest$ac_exeext &&
8770 $as_test_x conftest$ac_exeext; then
8771 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8772 else
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.$ac_ext >&5
8776 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8784 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8785 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8786 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8792 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8793 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8794 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8795 echo $ECHO_N "(cached) $ECHO_C" >&6
8796 else
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8799 cat >conftest.$ac_ext <<_ACEOF
8800 /* confdefs.h. */
8801 _ACEOF
8802 cat confdefs.h >>conftest.$ac_ext
8803 cat >>conftest.$ac_ext <<_ACEOF
8804 /* end confdefs.h. */
8807 main ()
8811 return 0;
8813 _ACEOF
8814 rm -f conftest.$ac_objext conftest$ac_exeext
8815 if { (ac_try="$ac_link"
8816 case "(($ac_try" in
8817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8818 *) ac_try_echo=$ac_try;;
8819 esac
8820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8821 (eval "$ac_link") 2>conftest.er1
8822 ac_status=$?
8823 grep -v '^ *+' conftest.er1 >conftest.err
8824 rm -f conftest.er1
8825 cat conftest.err >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); } && {
8828 test -z "$ac_c_werror_flag" ||
8829 test ! -s conftest.err
8830 } && test -s conftest$ac_exeext &&
8831 $as_test_x conftest$ac_exeext; then
8832 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8833 else
8834 echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.$ac_ext >&5
8837 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8841 conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8844 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8845 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8846 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8847 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8851 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8852 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8853 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8854 echo $ECHO_N "(cached) $ECHO_C" >&6
8855 else
8856 ac_wine_try_cflags_saved=$CFLAGS
8857 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8858 cat >conftest.$ac_ext <<_ACEOF
8859 /* confdefs.h. */
8860 _ACEOF
8861 cat confdefs.h >>conftest.$ac_ext
8862 cat >>conftest.$ac_ext <<_ACEOF
8863 /* end confdefs.h. */
8866 main ()
8870 return 0;
8872 _ACEOF
8873 rm -f conftest.$ac_objext conftest$ac_exeext
8874 if { (ac_try="$ac_link"
8875 case "(($ac_try" in
8876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8877 *) ac_try_echo=$ac_try;;
8878 esac
8879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8880 (eval "$ac_link") 2>conftest.er1
8881 ac_status=$?
8882 grep -v '^ *+' conftest.er1 >conftest.err
8883 rm -f conftest.er1
8884 cat conftest.err >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); } && {
8887 test -z "$ac_c_werror_flag" ||
8888 test ! -s conftest.err
8889 } && test -s conftest$ac_exeext &&
8890 $as_test_x conftest$ac_exeext; then
8891 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8892 else
8893 echo "$as_me: failed program was:" >&5
8894 sed 's/^/| /' conftest.$ac_ext >&5
8896 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8900 conftest$ac_exeext conftest.$ac_ext
8901 CFLAGS=$ac_wine_try_cflags_saved
8903 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8904 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8905 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8906 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8910 echo '{ global: *; };' >conftest.map
8911 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8912 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8913 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8914 echo $ECHO_N "(cached) $ECHO_C" >&6
8915 else
8916 ac_wine_try_cflags_saved=$CFLAGS
8917 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8918 cat >conftest.$ac_ext <<_ACEOF
8919 /* confdefs.h. */
8920 _ACEOF
8921 cat confdefs.h >>conftest.$ac_ext
8922 cat >>conftest.$ac_ext <<_ACEOF
8923 /* end confdefs.h. */
8926 main ()
8930 return 0;
8932 _ACEOF
8933 rm -f conftest.$ac_objext conftest$ac_exeext
8934 if { (ac_try="$ac_link"
8935 case "(($ac_try" in
8936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8937 *) ac_try_echo=$ac_try;;
8938 esac
8939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8940 (eval "$ac_link") 2>conftest.er1
8941 ac_status=$?
8942 grep -v '^ *+' conftest.er1 >conftest.err
8943 rm -f conftest.er1
8944 cat conftest.err >&5
8945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946 (exit $ac_status); } && {
8947 test -z "$ac_c_werror_flag" ||
8948 test ! -s conftest.err
8949 } && test -s conftest$ac_exeext &&
8950 $as_test_x conftest$ac_exeext; then
8951 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8952 else
8953 echo "$as_me: failed program was:" >&5
8954 sed 's/^/| /' conftest.$ac_ext >&5
8956 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8960 conftest$ac_exeext conftest.$ac_ext
8961 CFLAGS=$ac_wine_try_cflags_saved
8963 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8964 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8965 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8966 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8969 rm -f conftest.map
8971 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8972 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8973 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8974 echo $ECHO_N "(cached) $ECHO_C" >&6
8975 else
8976 ac_wine_try_cflags_saved=$CFLAGS
8977 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8978 cat >conftest.$ac_ext <<_ACEOF
8979 /* confdefs.h. */
8980 _ACEOF
8981 cat confdefs.h >>conftest.$ac_ext
8982 cat >>conftest.$ac_ext <<_ACEOF
8983 /* end confdefs.h. */
8986 main ()
8990 return 0;
8992 _ACEOF
8993 rm -f conftest.$ac_objext conftest$ac_exeext
8994 if { (ac_try="$ac_link"
8995 case "(($ac_try" in
8996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8997 *) ac_try_echo=$ac_try;;
8998 esac
8999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9000 (eval "$ac_link") 2>conftest.er1
9001 ac_status=$?
9002 grep -v '^ *+' conftest.er1 >conftest.err
9003 rm -f conftest.er1
9004 cat conftest.err >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); } && {
9007 test -z "$ac_c_werror_flag" ||
9008 test ! -s conftest.err
9009 } && test -s conftest$ac_exeext &&
9010 $as_test_x conftest$ac_exeext; then
9011 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9012 else
9013 echo "$as_me: failed program was:" >&5
9014 sed 's/^/| /' conftest.$ac_ext >&5
9016 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9020 conftest$ac_exeext conftest.$ac_ext
9021 CFLAGS=$ac_wine_try_cflags_saved
9023 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9024 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9025 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9026 LDEXECFLAGS="-Wl,--export-dynamic"
9031 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
9032 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9033 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9034 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9035 echo $ECHO_N "(cached) $ECHO_C" >&6
9036 else
9037 ac_wine_try_cflags_saved=$CFLAGS
9038 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9039 cat >conftest.$ac_ext <<_ACEOF
9040 /* confdefs.h. */
9041 _ACEOF
9042 cat confdefs.h >>conftest.$ac_ext
9043 cat >>conftest.$ac_ext <<_ACEOF
9044 /* end confdefs.h. */
9047 main ()
9051 return 0;
9053 _ACEOF
9054 rm -f conftest.$ac_objext conftest$ac_exeext
9055 if { (ac_try="$ac_link"
9056 case "(($ac_try" in
9057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9058 *) ac_try_echo=$ac_try;;
9059 esac
9060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9061 (eval "$ac_link") 2>conftest.er1
9062 ac_status=$?
9063 grep -v '^ *+' conftest.er1 >conftest.err
9064 rm -f conftest.er1
9065 cat conftest.err >&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); } && {
9068 test -z "$ac_c_werror_flag" ||
9069 test ! -s conftest.err
9070 } && test -s conftest$ac_exeext &&
9071 $as_test_x conftest$ac_exeext; then
9072 eval "$as_ac_var=yes"
9073 else
9074 echo "$as_me: failed program was:" >&5
9075 sed 's/^/| /' conftest.$ac_ext >&5
9077 eval "$as_ac_var=no"
9080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9081 conftest$ac_exeext conftest.$ac_ext
9082 CFLAGS=$ac_wine_try_cflags_saved
9084 ac_res=`eval echo '${'$as_ac_var'}'`
9085 { echo "$as_me:$LINENO: result: $ac_res" >&5
9086 echo "${ECHO_T}$ac_res" >&6; }
9087 if test `eval echo '${'$as_ac_var'}'` = yes; then
9088 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9089 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9090 else
9091 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9092 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9093 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9094 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9095 echo $ECHO_N "(cached) $ECHO_C" >&6
9096 else
9097 ac_wine_try_cflags_saved=$CFLAGS
9098 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9099 cat >conftest.$ac_ext <<_ACEOF
9100 /* confdefs.h. */
9101 _ACEOF
9102 cat confdefs.h >>conftest.$ac_ext
9103 cat >>conftest.$ac_ext <<_ACEOF
9104 /* end confdefs.h. */
9107 main ()
9111 return 0;
9113 _ACEOF
9114 rm -f conftest.$ac_objext conftest$ac_exeext
9115 if { (ac_try="$ac_link"
9116 case "(($ac_try" in
9117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9118 *) ac_try_echo=$ac_try;;
9119 esac
9120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9121 (eval "$ac_link") 2>conftest.er1
9122 ac_status=$?
9123 grep -v '^ *+' conftest.er1 >conftest.err
9124 rm -f conftest.er1
9125 cat conftest.err >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } && {
9128 test -z "$ac_c_werror_flag" ||
9129 test ! -s conftest.err
9130 } && test -s conftest$ac_exeext &&
9131 $as_test_x conftest$ac_exeext; then
9132 eval "$as_ac_var=yes"
9133 else
9134 echo "$as_me: failed program was:" >&5
9135 sed 's/^/| /' conftest.$ac_ext >&5
9137 eval "$as_ac_var=no"
9140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9141 conftest$ac_exeext conftest.$ac_ext
9142 CFLAGS=$ac_wine_try_cflags_saved
9144 ac_res=`eval echo '${'$as_ac_var'}'`
9145 { echo "$as_me:$LINENO: result: $ac_res" >&5
9146 echo "${ECHO_T}$ac_res" >&6; }
9147 if test `eval echo '${'$as_ac_var'}'` = yes; then
9148 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9149 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9155 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9156 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9157 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9158 echo $ECHO_N "(cached) $ECHO_C" >&6
9159 else
9160 ac_wine_try_cflags_saved=$CFLAGS
9161 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9162 cat >conftest.$ac_ext <<_ACEOF
9163 /* confdefs.h. */
9164 _ACEOF
9165 cat confdefs.h >>conftest.$ac_ext
9166 cat >>conftest.$ac_ext <<_ACEOF
9167 /* end confdefs.h. */
9170 main ()
9174 return 0;
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_cflags__Wl___enable_new_dtags=yes
9196 else
9197 echo "$as_me: failed program was:" >&5
9198 sed 's/^/| /' conftest.$ac_ext >&5
9200 ac_cv_cflags__Wl___enable_new_dtags=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_cflags__Wl___enable_new_dtags" >&5
9208 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9209 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9210 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9214 case $host_cpu in
9215 *i[3456789]86* | x86_64)
9216 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9217 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9218 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9219 echo $ECHO_N "(cached) $ECHO_C" >&6
9220 else
9221 ac_wine_try_cflags_saved=$CFLAGS
9222 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9223 cat >conftest.$ac_ext <<_ACEOF
9224 /* confdefs.h. */
9225 _ACEOF
9226 cat confdefs.h >>conftest.$ac_ext
9227 cat >>conftest.$ac_ext <<_ACEOF
9228 /* end confdefs.h. */
9231 main ()
9235 return 0;
9237 _ACEOF
9238 rm -f conftest.$ac_objext conftest$ac_exeext
9239 if { (ac_try="$ac_link"
9240 case "(($ac_try" in
9241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9242 *) ac_try_echo=$ac_try;;
9243 esac
9244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9245 (eval "$ac_link") 2>conftest.er1
9246 ac_status=$?
9247 grep -v '^ *+' conftest.er1 >conftest.err
9248 rm -f conftest.er1
9249 cat conftest.err >&5
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); } && {
9252 test -z "$ac_c_werror_flag" ||
9253 test ! -s conftest.err
9254 } && test -s conftest$ac_exeext &&
9255 $as_test_x conftest$ac_exeext; then
9256 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9257 else
9258 echo "$as_me: failed program was:" >&5
9259 sed 's/^/| /' conftest.$ac_ext >&5
9261 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9265 conftest$ac_exeext conftest.$ac_ext
9266 CFLAGS=$ac_wine_try_cflags_saved
9268 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9269 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9270 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9271 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9275 esac
9277 else
9278 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9279 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9280 if test "${ac_cv_c_dll_unixware+set}" = set; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9282 else
9283 ac_wine_try_cflags_saved=$CFLAGS
9284 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9285 cat >conftest.$ac_ext <<_ACEOF
9286 void myfunc() {}
9287 _ACEOF
9288 rm -f conftest.$ac_objext conftest$ac_exeext
9289 if { (ac_try="$ac_link"
9290 case "(($ac_try" in
9291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9292 *) ac_try_echo=$ac_try;;
9293 esac
9294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9295 (eval "$ac_link") 2>conftest.er1
9296 ac_status=$?
9297 grep -v '^ *+' conftest.er1 >conftest.err
9298 rm -f conftest.er1
9299 cat conftest.err >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } && {
9302 test -z "$ac_c_werror_flag" ||
9303 test ! -s conftest.err
9304 } && test -s conftest$ac_exeext &&
9305 $as_test_x conftest$ac_exeext; then
9306 ac_cv_c_dll_unixware="yes"
9307 else
9308 echo "$as_me: failed program was:" >&5
9309 sed 's/^/| /' conftest.$ac_ext >&5
9311 ac_cv_c_dll_unixware="no"
9314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9315 conftest$ac_exeext conftest.$ac_ext
9316 CFLAGS=$ac_wine_try_cflags_saved
9318 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9319 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9320 if test "$ac_cv_c_dll_unixware" = "yes"
9321 then
9322 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9323 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9325 else
9326 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9327 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9328 if test "${ac_cv_c_dll_hpux+set}" = set; then
9329 echo $ECHO_N "(cached) $ECHO_C" >&6
9330 else
9331 ac_wine_try_cflags_saved=$CFLAGS
9332 CFLAGS="$CFLAGS -shared"
9333 cat >conftest.$ac_ext <<_ACEOF
9334 void myfunc() {}
9335 _ACEOF
9336 rm -f conftest.$ac_objext conftest$ac_exeext
9337 if { (ac_try="$ac_link"
9338 case "(($ac_try" in
9339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9340 *) ac_try_echo=$ac_try;;
9341 esac
9342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9343 (eval "$ac_link") 2>conftest.er1
9344 ac_status=$?
9345 grep -v '^ *+' conftest.er1 >conftest.err
9346 rm -f conftest.er1
9347 cat conftest.err >&5
9348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349 (exit $ac_status); } && {
9350 test -z "$ac_c_werror_flag" ||
9351 test ! -s conftest.err
9352 } && test -s conftest$ac_exeext &&
9353 $as_test_x conftest$ac_exeext; then
9354 ac_cv_c_dll_hpux="yes"
9355 else
9356 echo "$as_me: failed program was:" >&5
9357 sed 's/^/| /' conftest.$ac_ext >&5
9359 ac_cv_c_dll_hpux="no"
9362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9363 conftest$ac_exeext conftest.$ac_ext
9364 CFLAGS=$ac_wine_try_cflags_saved
9366 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9367 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9368 if test "$ac_cv_c_dll_hpux" = "yes"
9369 then
9370 LIBEXT="sl"
9371 DLLEXT=".sl"
9372 LDDLLFLAGS="-shared -fPIC"
9373 LDSHARED="\$(CC) -shared"
9378 CROSSTEST=""
9380 if test "$cross_compiling" = "no"
9381 then
9382 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9384 # Extract the first word of "$ac_prog", so it can be a program name with args.
9385 set dummy $ac_prog; ac_word=$2
9386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9388 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9389 echo $ECHO_N "(cached) $ECHO_C" >&6
9390 else
9391 if test -n "$CROSSCC"; then
9392 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9393 else
9394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9395 for as_dir in $PATH
9397 IFS=$as_save_IFS
9398 test -z "$as_dir" && as_dir=.
9399 for ac_exec_ext in '' $ac_executable_extensions; do
9400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9401 ac_cv_prog_CROSSCC="$ac_prog"
9402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9403 break 2
9405 done
9406 done
9407 IFS=$as_save_IFS
9411 CROSSCC=$ac_cv_prog_CROSSCC
9412 if test -n "$CROSSCC"; then
9413 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9414 echo "${ECHO_T}$CROSSCC" >&6; }
9415 else
9416 { echo "$as_me:$LINENO: result: no" >&5
9417 echo "${ECHO_T}no" >&6; }
9421 test -n "$CROSSCC" && break
9422 done
9423 test -n "$CROSSCC" || CROSSCC="false"
9425 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9427 # Extract the first word of "$ac_prog", so it can be a program name with args.
9428 set dummy $ac_prog; ac_word=$2
9429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9431 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9432 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 else
9434 if test -n "$DLLTOOL"; then
9435 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9436 else
9437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9438 for as_dir in $PATH
9440 IFS=$as_save_IFS
9441 test -z "$as_dir" && as_dir=.
9442 for ac_exec_ext in '' $ac_executable_extensions; do
9443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9444 ac_cv_prog_DLLTOOL="$ac_prog"
9445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9446 break 2
9448 done
9449 done
9450 IFS=$as_save_IFS
9454 DLLTOOL=$ac_cv_prog_DLLTOOL
9455 if test -n "$DLLTOOL"; then
9456 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9457 echo "${ECHO_T}$DLLTOOL" >&6; }
9458 else
9459 { echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6; }
9464 test -n "$DLLTOOL" && break
9465 done
9466 test -n "$DLLTOOL" || DLLTOOL="false"
9468 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9470 # Extract the first word of "$ac_prog", so it can be a program name with args.
9471 set dummy $ac_prog; ac_word=$2
9472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9474 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 else
9477 if test -n "$CROSSWINDRES"; then
9478 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9479 else
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9481 for as_dir in $PATH
9483 IFS=$as_save_IFS
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9487 ac_cv_prog_CROSSWINDRES="$ac_prog"
9488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9489 break 2
9491 done
9492 done
9493 IFS=$as_save_IFS
9497 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9498 if test -n "$CROSSWINDRES"; then
9499 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9500 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9501 else
9502 { echo "$as_me:$LINENO: result: no" >&5
9503 echo "${ECHO_T}no" >&6; }
9507 test -n "$CROSSWINDRES" && break
9508 done
9509 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9511 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9513 # Extract the first word of "$ac_prog", so it can be a program name with args.
9514 set dummy $ac_prog; ac_word=$2
9515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9517 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9518 echo $ECHO_N "(cached) $ECHO_C" >&6
9519 else
9520 if test -n "$MINGWAR"; then
9521 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9522 else
9523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9524 for as_dir in $PATH
9526 IFS=$as_save_IFS
9527 test -z "$as_dir" && as_dir=.
9528 for ac_exec_ext in '' $ac_executable_extensions; do
9529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9530 ac_cv_prog_MINGWAR="$ac_prog"
9531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9532 break 2
9534 done
9535 done
9536 IFS=$as_save_IFS
9540 MINGWAR=$ac_cv_prog_MINGWAR
9541 if test -n "$MINGWAR"; then
9542 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9543 echo "${ECHO_T}$MINGWAR" >&6; }
9544 else
9545 { echo "$as_me:$LINENO: result: no" >&5
9546 echo "${ECHO_T}no" >&6; }
9550 test -n "$MINGWAR" && break
9551 done
9552 test -n "$MINGWAR" || MINGWAR="false"
9554 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9557 esac
9559 if test "$LIBEXT" = "a"; then
9560 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9561 It is currently not possible to build Wine without shared library
9562 (.so) support to allow transparent switch between .so and .dll files.
9563 If you are using Linux, you will need a newer binutils.
9564 " >&5
9565 echo "$as_me: error: could not find a way to build shared libraries.
9566 It is currently not possible to build Wine without shared library
9567 (.so) support to allow transparent switch between .so and .dll files.
9568 If you are using Linux, you will need a newer binutils.
9569 " >&2;}
9570 { (exit 1); exit 1; }; }
9574 if test "$have_x" = "yes"
9575 then
9576 XLIB="-lXext -lX11"
9577 ac_save_CPPFLAGS="$CPPFLAGS"
9578 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9580 { echo "$as_me:$LINENO: checking for -lX11" >&5
9581 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9582 if test "${ac_cv_lib_soname_X11+set}" = set; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9584 else
9585 ac_check_soname_save_LIBS=$LIBS
9586 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9587 cat >conftest.$ac_ext <<_ACEOF
9588 /* confdefs.h. */
9589 _ACEOF
9590 cat confdefs.h >>conftest.$ac_ext
9591 cat >>conftest.$ac_ext <<_ACEOF
9592 /* end confdefs.h. */
9594 /* Override any GCC internal prototype to avoid an error.
9595 Use char because int might match the return type of a GCC
9596 builtin and then its argument prototype would still apply. */
9597 #ifdef __cplusplus
9598 extern "C"
9599 #endif
9600 char XCreateWindow ();
9602 main ()
9604 return XCreateWindow ();
9606 return 0;
9608 _ACEOF
9609 rm -f conftest.$ac_objext conftest$ac_exeext
9610 if { (ac_try="$ac_link"
9611 case "(($ac_try" in
9612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9613 *) ac_try_echo=$ac_try;;
9614 esac
9615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9616 (eval "$ac_link") 2>conftest.er1
9617 ac_status=$?
9618 grep -v '^ *+' conftest.er1 >conftest.err
9619 rm -f conftest.er1
9620 cat conftest.err >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); } && {
9623 test -z "$ac_c_werror_flag" ||
9624 test ! -s conftest.err
9625 } && test -s conftest$ac_exeext &&
9626 $as_test_x conftest$ac_exeext; then
9627 case "$LIBEXT" in
9628 dll) ;;
9629 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'` ;;
9630 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9631 esac
9632 else
9633 echo "$as_me: failed program was:" >&5
9634 sed 's/^/| /' conftest.$ac_ext >&5
9639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_soname_save_LIBS
9643 if test "x$ac_cv_lib_soname_X11" = "x"; then
9644 { echo "$as_me:$LINENO: result: not found" >&5
9645 echo "${ECHO_T}not found" >&6; }
9647 else
9648 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9649 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9651 cat >>confdefs.h <<_ACEOF
9652 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9653 _ACEOF
9658 { echo "$as_me:$LINENO: checking for -lXext" >&5
9659 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9660 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9661 echo $ECHO_N "(cached) $ECHO_C" >&6
9662 else
9663 ac_check_soname_save_LIBS=$LIBS
9664 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9665 cat >conftest.$ac_ext <<_ACEOF
9666 /* confdefs.h. */
9667 _ACEOF
9668 cat confdefs.h >>conftest.$ac_ext
9669 cat >>conftest.$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9672 /* Override any GCC internal prototype to avoid an error.
9673 Use char because int might match the return type of a GCC
9674 builtin and then its argument prototype would still apply. */
9675 #ifdef __cplusplus
9676 extern "C"
9677 #endif
9678 char XextCreateExtension ();
9680 main ()
9682 return XextCreateExtension ();
9684 return 0;
9686 _ACEOF
9687 rm -f conftest.$ac_objext conftest$ac_exeext
9688 if { (ac_try="$ac_link"
9689 case "(($ac_try" in
9690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9691 *) ac_try_echo=$ac_try;;
9692 esac
9693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9694 (eval "$ac_link") 2>conftest.er1
9695 ac_status=$?
9696 grep -v '^ *+' conftest.er1 >conftest.err
9697 rm -f conftest.er1
9698 cat conftest.err >&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); } && {
9701 test -z "$ac_c_werror_flag" ||
9702 test ! -s conftest.err
9703 } && test -s conftest$ac_exeext &&
9704 $as_test_x conftest$ac_exeext; then
9705 case "$LIBEXT" in
9706 dll) ;;
9707 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'` ;;
9708 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9709 esac
9710 else
9711 echo "$as_me: failed program was:" >&5
9712 sed 's/^/| /' conftest.$ac_ext >&5
9717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9718 conftest$ac_exeext conftest.$ac_ext
9719 LIBS=$ac_check_soname_save_LIBS
9721 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9722 { echo "$as_me:$LINENO: result: not found" >&5
9723 echo "${ECHO_T}not found" >&6; }
9725 else
9726 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9727 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9729 cat >>confdefs.h <<_ACEOF
9730 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9731 _ACEOF
9749 for ac_header in X11/Xlib.h \
9750 X11/XKBlib.h \
9751 X11/Xutil.h \
9752 X11/Xcursor/Xcursor.h \
9753 X11/extensions/shape.h \
9754 X11/extensions/XInput.h \
9755 X11/extensions/XShm.h \
9756 X11/extensions/Xcomposite.h \
9757 X11/extensions/Xinerama.h \
9758 X11/extensions/Xrandr.h \
9759 X11/extensions/Xrender.h \
9760 X11/extensions/xf86vmode.h
9762 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 else
9768 cat >conftest.$ac_ext <<_ACEOF
9769 /* confdefs.h. */
9770 _ACEOF
9771 cat confdefs.h >>conftest.$ac_ext
9772 cat >>conftest.$ac_ext <<_ACEOF
9773 /* end confdefs.h. */
9774 #ifdef HAVE_X11_XLIB_H
9775 # include <X11/Xlib.h>
9776 #endif
9777 #ifdef HAVE_X11_XUTIL_H
9778 # include <X11/Xutil.h>
9779 #endif
9781 #include <$ac_header>
9782 _ACEOF
9783 rm -f conftest.$ac_objext
9784 if { (ac_try="$ac_compile"
9785 case "(($ac_try" in
9786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9787 *) ac_try_echo=$ac_try;;
9788 esac
9789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9790 (eval "$ac_compile") 2>conftest.er1
9791 ac_status=$?
9792 grep -v '^ *+' conftest.er1 >conftest.err
9793 rm -f conftest.er1
9794 cat conftest.err >&5
9795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9796 (exit $ac_status); } && {
9797 test -z "$ac_c_werror_flag" ||
9798 test ! -s conftest.err
9799 } && test -s conftest.$ac_objext; then
9800 eval "$as_ac_Header=yes"
9801 else
9802 echo "$as_me: failed program was:" >&5
9803 sed 's/^/| /' conftest.$ac_ext >&5
9805 eval "$as_ac_Header=no"
9808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9810 ac_res=`eval echo '${'$as_ac_Header'}'`
9811 { echo "$as_me:$LINENO: result: $ac_res" >&5
9812 echo "${ECHO_T}$ac_res" >&6; }
9813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9814 cat >>confdefs.h <<_ACEOF
9815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9816 _ACEOF
9820 done
9823 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9824 then
9825 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9826 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9827 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9828 echo $ECHO_N "(cached) $ECHO_C" >&6
9829 else
9830 ac_check_lib_save_LIBS=$LIBS
9831 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9832 cat >conftest.$ac_ext <<_ACEOF
9833 /* confdefs.h. */
9834 _ACEOF
9835 cat confdefs.h >>conftest.$ac_ext
9836 cat >>conftest.$ac_ext <<_ACEOF
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9842 #ifdef __cplusplus
9843 extern "C"
9844 #endif
9845 char XkbQueryExtension ();
9847 main ()
9849 return XkbQueryExtension ();
9851 return 0;
9853 _ACEOF
9854 rm -f conftest.$ac_objext conftest$ac_exeext
9855 if { (ac_try="$ac_link"
9856 case "(($ac_try" in
9857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9858 *) ac_try_echo=$ac_try;;
9859 esac
9860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9861 (eval "$ac_link") 2>conftest.er1
9862 ac_status=$?
9863 grep -v '^ *+' conftest.er1 >conftest.err
9864 rm -f conftest.er1
9865 cat conftest.err >&5
9866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9867 (exit $ac_status); } && {
9868 test -z "$ac_c_werror_flag" ||
9869 test ! -s conftest.err
9870 } && test -s conftest$ac_exeext &&
9871 $as_test_x conftest$ac_exeext; then
9872 ac_cv_lib_X11_XkbQueryExtension=yes
9873 else
9874 echo "$as_me: failed program was:" >&5
9875 sed 's/^/| /' conftest.$ac_ext >&5
9877 ac_cv_lib_X11_XkbQueryExtension=no
9880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9881 conftest$ac_exeext conftest.$ac_ext
9882 LIBS=$ac_check_lib_save_LIBS
9884 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9885 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9886 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9888 cat >>confdefs.h <<\_ACEOF
9889 #define HAVE_XKB 1
9890 _ACEOF
9896 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9897 then
9898 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9899 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9900 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9901 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 else
9903 ac_check_soname_save_LIBS=$LIBS
9904 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9905 cat >conftest.$ac_ext <<_ACEOF
9906 /* confdefs.h. */
9907 _ACEOF
9908 cat confdefs.h >>conftest.$ac_ext
9909 cat >>conftest.$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9915 #ifdef __cplusplus
9916 extern "C"
9917 #endif
9918 char XcursorImageLoadCursor ();
9920 main ()
9922 return XcursorImageLoadCursor ();
9924 return 0;
9926 _ACEOF
9927 rm -f conftest.$ac_objext conftest$ac_exeext
9928 if { (ac_try="$ac_link"
9929 case "(($ac_try" in
9930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9931 *) ac_try_echo=$ac_try;;
9932 esac
9933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9934 (eval "$ac_link") 2>conftest.er1
9935 ac_status=$?
9936 grep -v '^ *+' conftest.er1 >conftest.err
9937 rm -f conftest.er1
9938 cat conftest.err >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } && {
9941 test -z "$ac_c_werror_flag" ||
9942 test ! -s conftest.err
9943 } && test -s conftest$ac_exeext &&
9944 $as_test_x conftest$ac_exeext; then
9945 case "$LIBEXT" in
9946 dll) ;;
9947 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'` ;;
9948 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9949 esac
9950 else
9951 echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.$ac_ext >&5
9957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9958 conftest$ac_exeext conftest.$ac_ext
9959 LIBS=$ac_check_soname_save_LIBS
9961 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9962 { echo "$as_me:$LINENO: result: not found" >&5
9963 echo "${ECHO_T}not found" >&6; }
9965 else
9966 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9967 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9969 cat >>confdefs.h <<_ACEOF
9970 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9971 _ACEOF
9977 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9978 case "x$with_xcursor" in
9979 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9980 xno) ;;
9981 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9982 This is an error since --with-xcursor was requested." >&5
9983 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9984 This is an error since --with-xcursor was requested." >&2;}
9985 { (exit 1); exit 1; }; } ;;
9986 esac
9990 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9991 then
9992 { echo "$as_me:$LINENO: checking for -lXi" >&5
9993 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9994 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 else
9997 ac_check_soname_save_LIBS=$LIBS
9998 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9999 cat >conftest.$ac_ext <<_ACEOF
10000 /* confdefs.h. */
10001 _ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10006 /* Override any GCC internal prototype to avoid an error.
10007 Use char because int might match the return type of a GCC
10008 builtin and then its argument prototype would still apply. */
10009 #ifdef __cplusplus
10010 extern "C"
10011 #endif
10012 char XOpenDevice ();
10014 main ()
10016 return XOpenDevice ();
10018 return 0;
10020 _ACEOF
10021 rm -f conftest.$ac_objext conftest$ac_exeext
10022 if { (ac_try="$ac_link"
10023 case "(($ac_try" in
10024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10025 *) ac_try_echo=$ac_try;;
10026 esac
10027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10028 (eval "$ac_link") 2>conftest.er1
10029 ac_status=$?
10030 grep -v '^ *+' conftest.er1 >conftest.err
10031 rm -f conftest.er1
10032 cat conftest.err >&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); } && {
10035 test -z "$ac_c_werror_flag" ||
10036 test ! -s conftest.err
10037 } && test -s conftest$ac_exeext &&
10038 $as_test_x conftest$ac_exeext; then
10039 case "$LIBEXT" in
10040 dll) ;;
10041 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'` ;;
10042 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10043 esac
10044 else
10045 echo "$as_me: failed program was:" >&5
10046 sed 's/^/| /' conftest.$ac_ext >&5
10051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10052 conftest$ac_exeext conftest.$ac_ext
10053 LIBS=$ac_check_soname_save_LIBS
10055 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10056 { echo "$as_me:$LINENO: result: not found" >&5
10057 echo "${ECHO_T}not found" >&6; }
10059 else
10060 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10061 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10063 cat >>confdefs.h <<_ACEOF
10064 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10065 _ACEOF
10071 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10072 case "x$with_xinput" in
10073 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10074 xno) ;;
10075 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10076 This is an error since --with-xinput was requested." >&5
10077 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10078 This is an error since --with-xinput was requested." >&2;}
10079 { (exit 1); exit 1; }; } ;;
10080 esac
10084 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10085 then
10086 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10087 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10088 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10090 else
10091 ac_check_lib_save_LIBS=$LIBS
10092 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10093 cat >conftest.$ac_ext <<_ACEOF
10094 /* confdefs.h. */
10095 _ACEOF
10096 cat confdefs.h >>conftest.$ac_ext
10097 cat >>conftest.$ac_ext <<_ACEOF
10098 /* end confdefs.h. */
10100 /* Override any GCC internal prototype to avoid an error.
10101 Use char because int might match the return type of a GCC
10102 builtin and then its argument prototype would still apply. */
10103 #ifdef __cplusplus
10104 extern "C"
10105 #endif
10106 char XShmQueryExtension ();
10108 main ()
10110 return XShmQueryExtension ();
10112 return 0;
10114 _ACEOF
10115 rm -f conftest.$ac_objext conftest$ac_exeext
10116 if { (ac_try="$ac_link"
10117 case "(($ac_try" in
10118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10119 *) ac_try_echo=$ac_try;;
10120 esac
10121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10122 (eval "$ac_link") 2>conftest.er1
10123 ac_status=$?
10124 grep -v '^ *+' conftest.er1 >conftest.err
10125 rm -f conftest.er1
10126 cat conftest.err >&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); } && {
10129 test -z "$ac_c_werror_flag" ||
10130 test ! -s conftest.err
10131 } && test -s conftest$ac_exeext &&
10132 $as_test_x conftest$ac_exeext; then
10133 ac_cv_lib_Xext_XShmQueryExtension=yes
10134 else
10135 echo "$as_me: failed program was:" >&5
10136 sed 's/^/| /' conftest.$ac_ext >&5
10138 ac_cv_lib_Xext_XShmQueryExtension=no
10141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10142 conftest$ac_exeext conftest.$ac_ext
10143 LIBS=$ac_check_lib_save_LIBS
10145 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10146 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10147 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10149 cat >>confdefs.h <<\_ACEOF
10150 #define HAVE_LIBXXSHM 1
10151 _ACEOF
10156 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10157 case "x$with_xshm" in
10158 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10159 xno) ;;
10160 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10161 This is an error since --with-xshm was requested." >&5
10162 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10163 This is an error since --with-xshm was requested." >&2;}
10164 { (exit 1); exit 1; }; } ;;
10165 esac
10169 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10170 then
10171 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10172 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10173 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10175 else
10176 ac_check_lib_save_LIBS=$LIBS
10177 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10178 cat >conftest.$ac_ext <<_ACEOF
10179 /* confdefs.h. */
10180 _ACEOF
10181 cat confdefs.h >>conftest.$ac_ext
10182 cat >>conftest.$ac_ext <<_ACEOF
10183 /* end confdefs.h. */
10185 /* Override any GCC internal prototype to avoid an error.
10186 Use char because int might match the return type of a GCC
10187 builtin and then its argument prototype would still apply. */
10188 #ifdef __cplusplus
10189 extern "C"
10190 #endif
10191 char XShapeQueryExtension ();
10193 main ()
10195 return XShapeQueryExtension ();
10197 return 0;
10199 _ACEOF
10200 rm -f conftest.$ac_objext conftest$ac_exeext
10201 if { (ac_try="$ac_link"
10202 case "(($ac_try" in
10203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10204 *) ac_try_echo=$ac_try;;
10205 esac
10206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10207 (eval "$ac_link") 2>conftest.er1
10208 ac_status=$?
10209 grep -v '^ *+' conftest.er1 >conftest.err
10210 rm -f conftest.er1
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } && {
10214 test -z "$ac_c_werror_flag" ||
10215 test ! -s conftest.err
10216 } && test -s conftest$ac_exeext &&
10217 $as_test_x conftest$ac_exeext; then
10218 ac_cv_lib_Xext_XShapeQueryExtension=yes
10219 else
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10223 ac_cv_lib_Xext_XShapeQueryExtension=no
10226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10227 conftest$ac_exeext conftest.$ac_ext
10228 LIBS=$ac_check_lib_save_LIBS
10230 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10231 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10232 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10234 cat >>confdefs.h <<\_ACEOF
10235 #define HAVE_LIBXSHAPE 1
10236 _ACEOF
10241 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10242 case "x$with_xshape" in
10243 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10244 xno) ;;
10245 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10246 This is an error since --with-xshape was requested." >&5
10247 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10248 This is an error since --with-xshape was requested." >&2;}
10249 { (exit 1); exit 1; }; } ;;
10250 esac
10254 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10255 then
10256 { echo "$as_me:$LINENO: checking for -lXxf86vm" >&5
10257 echo $ECHO_N "checking for -lXxf86vm... $ECHO_C" >&6; }
10258 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then
10259 echo $ECHO_N "(cached) $ECHO_C" >&6
10260 else
10261 ac_check_soname_save_LIBS=$LIBS
10262 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10263 cat >conftest.$ac_ext <<_ACEOF
10264 /* confdefs.h. */
10265 _ACEOF
10266 cat confdefs.h >>conftest.$ac_ext
10267 cat >>conftest.$ac_ext <<_ACEOF
10268 /* end confdefs.h. */
10270 /* Override any GCC internal prototype to avoid an error.
10271 Use char because int might match the return type of a GCC
10272 builtin and then its argument prototype would still apply. */
10273 #ifdef __cplusplus
10274 extern "C"
10275 #endif
10276 char XF86VidModeQueryExtension ();
10278 main ()
10280 return XF86VidModeQueryExtension ();
10282 return 0;
10284 _ACEOF
10285 rm -f conftest.$ac_objext conftest$ac_exeext
10286 if { (ac_try="$ac_link"
10287 case "(($ac_try" in
10288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10289 *) ac_try_echo=$ac_try;;
10290 esac
10291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10292 (eval "$ac_link") 2>conftest.er1
10293 ac_status=$?
10294 grep -v '^ *+' conftest.er1 >conftest.err
10295 rm -f conftest.er1
10296 cat conftest.err >&5
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); } && {
10299 test -z "$ac_c_werror_flag" ||
10300 test ! -s conftest.err
10301 } && test -s conftest$ac_exeext &&
10302 $as_test_x conftest$ac_exeext; then
10303 case "$LIBEXT" in
10304 dll) ;;
10305 dylib) ac_cv_lib_soname_Xxf86vm=`otool -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10306 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10307 esac
10308 else
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.$ac_ext >&5
10315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10316 conftest$ac_exeext conftest.$ac_ext
10317 LIBS=$ac_check_soname_save_LIBS
10319 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10320 { echo "$as_me:$LINENO: result: not found" >&5
10321 echo "${ECHO_T}not found" >&6; }
10323 else
10324 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xxf86vm" >&5
10325 echo "${ECHO_T}$ac_cv_lib_soname_Xxf86vm" >&6; }
10327 cat >>confdefs.h <<_ACEOF
10328 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10329 _ACEOF
10335 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10336 case "x$with_xxf86vm" in
10337 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10338 xno) ;;
10339 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10340 This is an error since --with-xxf86vm was requested." >&5
10341 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10342 This is an error since --with-xxf86vm was requested." >&2;}
10343 { (exit 1); exit 1; }; } ;;
10344 esac
10348 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"
10349 then
10350 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10351 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10352 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10353 echo $ECHO_N "(cached) $ECHO_C" >&6
10354 else
10355 ac_check_soname_save_LIBS=$LIBS
10356 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10357 cat >conftest.$ac_ext <<_ACEOF
10358 /* confdefs.h. */
10359 _ACEOF
10360 cat confdefs.h >>conftest.$ac_ext
10361 cat >>conftest.$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10364 /* Override any GCC internal prototype to avoid an error.
10365 Use char because int might match the return type of a GCC
10366 builtin and then its argument prototype would still apply. */
10367 #ifdef __cplusplus
10368 extern "C"
10369 #endif
10370 char XRenderQueryExtension ();
10372 main ()
10374 return XRenderQueryExtension ();
10376 return 0;
10378 _ACEOF
10379 rm -f conftest.$ac_objext conftest$ac_exeext
10380 if { (ac_try="$ac_link"
10381 case "(($ac_try" in
10382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10383 *) ac_try_echo=$ac_try;;
10384 esac
10385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10386 (eval "$ac_link") 2>conftest.er1
10387 ac_status=$?
10388 grep -v '^ *+' conftest.er1 >conftest.err
10389 rm -f conftest.er1
10390 cat conftest.err >&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); } && {
10393 test -z "$ac_c_werror_flag" ||
10394 test ! -s conftest.err
10395 } && test -s conftest$ac_exeext &&
10396 $as_test_x conftest$ac_exeext; then
10397 case "$LIBEXT" in
10398 dll) ;;
10399 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'` ;;
10400 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10401 esac
10402 else
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10410 conftest$ac_exeext conftest.$ac_ext
10411 LIBS=$ac_check_soname_save_LIBS
10413 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10414 { echo "$as_me:$LINENO: result: not found" >&5
10415 echo "${ECHO_T}not found" >&6; }
10417 else
10418 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10419 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10421 cat >>confdefs.h <<_ACEOF
10422 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10423 _ACEOF
10425 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10426 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10427 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10428 echo $ECHO_N "(cached) $ECHO_C" >&6
10429 else
10430 ac_check_lib_save_LIBS=$LIBS
10431 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10432 cat >conftest.$ac_ext <<_ACEOF
10433 /* confdefs.h. */
10434 _ACEOF
10435 cat confdefs.h >>conftest.$ac_ext
10436 cat >>conftest.$ac_ext <<_ACEOF
10437 /* end confdefs.h. */
10439 /* Override any GCC internal prototype to avoid an error.
10440 Use char because int might match the return type of a GCC
10441 builtin and then its argument prototype would still apply. */
10442 #ifdef __cplusplus
10443 extern "C"
10444 #endif
10445 char XRenderSetPictureTransform ();
10447 main ()
10449 return XRenderSetPictureTransform ();
10451 return 0;
10453 _ACEOF
10454 rm -f conftest.$ac_objext conftest$ac_exeext
10455 if { (ac_try="$ac_link"
10456 case "(($ac_try" in
10457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10458 *) ac_try_echo=$ac_try;;
10459 esac
10460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10461 (eval "$ac_link") 2>conftest.er1
10462 ac_status=$?
10463 grep -v '^ *+' conftest.er1 >conftest.err
10464 rm -f conftest.er1
10465 cat conftest.err >&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); } && {
10468 test -z "$ac_c_werror_flag" ||
10469 test ! -s conftest.err
10470 } && test -s conftest$ac_exeext &&
10471 $as_test_x conftest$ac_exeext; then
10472 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10473 else
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.$ac_ext >&5
10477 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10481 conftest$ac_exeext conftest.$ac_ext
10482 LIBS=$ac_check_lib_save_LIBS
10484 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10485 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10486 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10488 cat >>confdefs.h <<\_ACEOF
10489 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10490 _ACEOF
10498 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10499 case "x$with_xrender" in
10500 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10501 xno) ;;
10502 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10503 This is an error since --with-xrender was requested." >&5
10504 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10505 This is an error since --with-xrender was requested." >&2;}
10506 { (exit 1); exit 1; }; } ;;
10507 esac
10511 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10512 then
10513 cat >conftest.$ac_ext <<_ACEOF
10514 /* confdefs.h. */
10515 _ACEOF
10516 cat confdefs.h >>conftest.$ac_ext
10517 cat >>conftest.$ac_ext <<_ACEOF
10518 /* end confdefs.h. */
10519 #include <X11/Xlib.h>
10520 #include <X11/extensions/Xrandr.h>
10522 main ()
10524 static typeof(XRRSetScreenConfigAndRate) * func;
10526 return 0;
10528 _ACEOF
10529 rm -f conftest.$ac_objext
10530 if { (ac_try="$ac_compile"
10531 case "(($ac_try" in
10532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10533 *) ac_try_echo=$ac_try;;
10534 esac
10535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10536 (eval "$ac_compile") 2>conftest.er1
10537 ac_status=$?
10538 grep -v '^ *+' conftest.er1 >conftest.err
10539 rm -f conftest.er1
10540 cat conftest.err >&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); } && {
10543 test -z "$ac_c_werror_flag" ||
10544 test ! -s conftest.err
10545 } && test -s conftest.$ac_objext; then
10546 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10547 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10548 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10549 echo $ECHO_N "(cached) $ECHO_C" >&6
10550 else
10551 ac_check_soname_save_LIBS=$LIBS
10552 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10553 cat >conftest.$ac_ext <<_ACEOF
10554 /* confdefs.h. */
10555 _ACEOF
10556 cat confdefs.h >>conftest.$ac_ext
10557 cat >>conftest.$ac_ext <<_ACEOF
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10563 #ifdef __cplusplus
10564 extern "C"
10565 #endif
10566 char XRRQueryExtension ();
10568 main ()
10570 return XRRQueryExtension ();
10572 return 0;
10574 _ACEOF
10575 rm -f conftest.$ac_objext conftest$ac_exeext
10576 if { (ac_try="$ac_link"
10577 case "(($ac_try" in
10578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10579 *) ac_try_echo=$ac_try;;
10580 esac
10581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10582 (eval "$ac_link") 2>conftest.er1
10583 ac_status=$?
10584 grep -v '^ *+' conftest.er1 >conftest.err
10585 rm -f conftest.er1
10586 cat conftest.err >&5
10587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); } && {
10589 test -z "$ac_c_werror_flag" ||
10590 test ! -s conftest.err
10591 } && test -s conftest$ac_exeext &&
10592 $as_test_x conftest$ac_exeext; then
10593 case "$LIBEXT" in
10594 dll) ;;
10595 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'` ;;
10596 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10597 esac
10598 else
10599 echo "$as_me: failed program was:" >&5
10600 sed 's/^/| /' conftest.$ac_ext >&5
10605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10606 conftest$ac_exeext conftest.$ac_ext
10607 LIBS=$ac_check_soname_save_LIBS
10609 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10610 { echo "$as_me:$LINENO: result: not found" >&5
10611 echo "${ECHO_T}not found" >&6; }
10613 else
10614 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10615 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10617 cat >>confdefs.h <<_ACEOF
10618 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10619 _ACEOF
10624 else
10625 echo "$as_me: failed program was:" >&5
10626 sed 's/^/| /' conftest.$ac_ext >&5
10631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10633 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10634 case "x$with_xrandr" in
10635 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10636 xno) ;;
10637 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10638 This is an error since --with-xrandr was requested." >&5
10639 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10640 This is an error since --with-xrandr was requested." >&2;}
10641 { (exit 1); exit 1; }; } ;;
10642 esac
10646 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10647 then
10648 cat >conftest.$ac_ext <<_ACEOF
10649 /* confdefs.h. */
10650 _ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654 #include <X11/Xlib.h>
10655 #include <X11/extensions/Xinerama.h>
10657 main ()
10659 static typeof(XineramaQueryScreens) * func;
10661 return 0;
10663 _ACEOF
10664 rm -f conftest.$ac_objext
10665 if { (ac_try="$ac_compile"
10666 case "(($ac_try" in
10667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10668 *) ac_try_echo=$ac_try;;
10669 esac
10670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10671 (eval "$ac_compile") 2>conftest.er1
10672 ac_status=$?
10673 grep -v '^ *+' conftest.er1 >conftest.err
10674 rm -f conftest.er1
10675 cat conftest.err >&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } && {
10678 test -z "$ac_c_werror_flag" ||
10679 test ! -s conftest.err
10680 } && test -s conftest.$ac_objext; then
10681 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10682 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10683 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10684 echo $ECHO_N "(cached) $ECHO_C" >&6
10685 else
10686 ac_check_soname_save_LIBS=$LIBS
10687 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10688 cat >conftest.$ac_ext <<_ACEOF
10689 /* confdefs.h. */
10690 _ACEOF
10691 cat confdefs.h >>conftest.$ac_ext
10692 cat >>conftest.$ac_ext <<_ACEOF
10693 /* end confdefs.h. */
10695 /* Override any GCC internal prototype to avoid an error.
10696 Use char because int might match the return type of a GCC
10697 builtin and then its argument prototype would still apply. */
10698 #ifdef __cplusplus
10699 extern "C"
10700 #endif
10701 char XineramaQueryScreens ();
10703 main ()
10705 return XineramaQueryScreens ();
10707 return 0;
10709 _ACEOF
10710 rm -f conftest.$ac_objext conftest$ac_exeext
10711 if { (ac_try="$ac_link"
10712 case "(($ac_try" in
10713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10714 *) ac_try_echo=$ac_try;;
10715 esac
10716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10717 (eval "$ac_link") 2>conftest.er1
10718 ac_status=$?
10719 grep -v '^ *+' conftest.er1 >conftest.err
10720 rm -f conftest.er1
10721 cat conftest.err >&5
10722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10723 (exit $ac_status); } && {
10724 test -z "$ac_c_werror_flag" ||
10725 test ! -s conftest.err
10726 } && test -s conftest$ac_exeext &&
10727 $as_test_x conftest$ac_exeext; then
10728 case "$LIBEXT" in
10729 dll) ;;
10730 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'` ;;
10731 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10732 esac
10733 else
10734 echo "$as_me: failed program was:" >&5
10735 sed 's/^/| /' conftest.$ac_ext >&5
10740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10741 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_soname_save_LIBS
10744 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10745 { echo "$as_me:$LINENO: result: not found" >&5
10746 echo "${ECHO_T}not found" >&6; }
10748 else
10749 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10750 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10752 cat >>confdefs.h <<_ACEOF
10753 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10754 _ACEOF
10759 else
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.$ac_ext >&5
10766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10768 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10769 case "x$with_xinerama" in
10770 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10771 xno) ;;
10772 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10773 This is an error since --with-xinerama was requested." >&5
10774 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10775 This is an error since --with-xinerama was requested." >&2;}
10776 { (exit 1); exit 1; }; } ;;
10777 esac
10781 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10782 then
10783 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10784 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10785 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10786 echo $ECHO_N "(cached) $ECHO_C" >&6
10787 else
10788 ac_check_soname_save_LIBS=$LIBS
10789 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10790 cat >conftest.$ac_ext <<_ACEOF
10791 /* confdefs.h. */
10792 _ACEOF
10793 cat confdefs.h >>conftest.$ac_ext
10794 cat >>conftest.$ac_ext <<_ACEOF
10795 /* end confdefs.h. */
10797 /* Override any GCC internal prototype to avoid an error.
10798 Use char because int might match the return type of a GCC
10799 builtin and then its argument prototype would still apply. */
10800 #ifdef __cplusplus
10801 extern "C"
10802 #endif
10803 char XCompositeRedirectWindow ();
10805 main ()
10807 return XCompositeRedirectWindow ();
10809 return 0;
10811 _ACEOF
10812 rm -f conftest.$ac_objext conftest$ac_exeext
10813 if { (ac_try="$ac_link"
10814 case "(($ac_try" in
10815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10816 *) ac_try_echo=$ac_try;;
10817 esac
10818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10819 (eval "$ac_link") 2>conftest.er1
10820 ac_status=$?
10821 grep -v '^ *+' conftest.er1 >conftest.err
10822 rm -f conftest.er1
10823 cat conftest.err >&5
10824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10825 (exit $ac_status); } && {
10826 test -z "$ac_c_werror_flag" ||
10827 test ! -s conftest.err
10828 } && test -s conftest$ac_exeext &&
10829 $as_test_x conftest$ac_exeext; then
10830 case "$LIBEXT" in
10831 dll) ;;
10832 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'` ;;
10833 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10834 esac
10835 else
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.$ac_ext >&5
10842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10843 conftest$ac_exeext conftest.$ac_ext
10844 LIBS=$ac_check_soname_save_LIBS
10846 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10847 { echo "$as_me:$LINENO: result: not found" >&5
10848 echo "${ECHO_T}not found" >&6; }
10850 else
10851 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10852 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10854 cat >>confdefs.h <<_ACEOF
10855 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10856 _ACEOF
10862 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10863 case "x$with_xcomposite" in
10864 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10865 xno) ;;
10866 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10867 This is an error since --with-xcomposite was requested." >&5
10868 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10869 This is an error since --with-xcomposite was requested." >&2;}
10870 { (exit 1); exit 1; }; } ;;
10871 esac
10875 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10876 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10877 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10879 else
10880 cat >conftest.$ac_ext <<_ACEOF
10881 /* confdefs.h. */
10882 _ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10886 #ifdef HAVE_X11_XLIB_H
10887 #include <X11/Xlib.h>
10888 #endif
10891 main ()
10893 static XICCallback ac_aggr;
10894 if (ac_aggr.callback)
10895 return 0;
10897 return 0;
10899 _ACEOF
10900 rm -f conftest.$ac_objext
10901 if { (ac_try="$ac_compile"
10902 case "(($ac_try" in
10903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10904 *) ac_try_echo=$ac_try;;
10905 esac
10906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10907 (eval "$ac_compile") 2>conftest.er1
10908 ac_status=$?
10909 grep -v '^ *+' conftest.er1 >conftest.err
10910 rm -f conftest.er1
10911 cat conftest.err >&5
10912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10913 (exit $ac_status); } && {
10914 test -z "$ac_c_werror_flag" ||
10915 test ! -s conftest.err
10916 } && test -s conftest.$ac_objext; then
10917 ac_cv_member_XICCallback_callback=yes
10918 else
10919 echo "$as_me: failed program was:" >&5
10920 sed 's/^/| /' conftest.$ac_ext >&5
10922 cat >conftest.$ac_ext <<_ACEOF
10923 /* confdefs.h. */
10924 _ACEOF
10925 cat confdefs.h >>conftest.$ac_ext
10926 cat >>conftest.$ac_ext <<_ACEOF
10927 /* end confdefs.h. */
10928 #ifdef HAVE_X11_XLIB_H
10929 #include <X11/Xlib.h>
10930 #endif
10933 main ()
10935 static XICCallback ac_aggr;
10936 if (sizeof ac_aggr.callback)
10937 return 0;
10939 return 0;
10941 _ACEOF
10942 rm -f conftest.$ac_objext
10943 if { (ac_try="$ac_compile"
10944 case "(($ac_try" in
10945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10946 *) ac_try_echo=$ac_try;;
10947 esac
10948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10949 (eval "$ac_compile") 2>conftest.er1
10950 ac_status=$?
10951 grep -v '^ *+' conftest.er1 >conftest.err
10952 rm -f conftest.er1
10953 cat conftest.err >&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); } && {
10956 test -z "$ac_c_werror_flag" ||
10957 test ! -s conftest.err
10958 } && test -s conftest.$ac_objext; then
10959 ac_cv_member_XICCallback_callback=yes
10960 else
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.$ac_ext >&5
10964 ac_cv_member_XICCallback_callback=no
10967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10972 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10973 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10974 if test $ac_cv_member_XICCallback_callback = yes; then
10976 cat >>confdefs.h <<_ACEOF
10977 #define HAVE_XICCALLBACK_CALLBACK 1
10978 _ACEOF
10985 opengl_msg=""
10986 if test "x$with_opengl" != "xno"
10987 then
10992 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10995 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10996 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10998 echo $ECHO_N "(cached) $ECHO_C" >&6
10999 else
11000 cat >conftest.$ac_ext <<_ACEOF
11001 /* confdefs.h. */
11002 _ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11006 #ifdef HAVE_GL_GLX_H
11007 # include <GL/glx.h>
11008 #endif
11010 #include <$ac_header>
11011 _ACEOF
11012 rm -f conftest.$ac_objext
11013 if { (ac_try="$ac_compile"
11014 case "(($ac_try" in
11015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11016 *) ac_try_echo=$ac_try;;
11017 esac
11018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11019 (eval "$ac_compile") 2>conftest.er1
11020 ac_status=$?
11021 grep -v '^ *+' conftest.er1 >conftest.err
11022 rm -f conftest.er1
11023 cat conftest.err >&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); } && {
11026 test -z "$ac_c_werror_flag" ||
11027 test ! -s conftest.err
11028 } && test -s conftest.$ac_objext; then
11029 eval "$as_ac_Header=yes"
11030 else
11031 echo "$as_me: failed program was:" >&5
11032 sed 's/^/| /' conftest.$ac_ext >&5
11034 eval "$as_ac_Header=no"
11037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11039 ac_res=`eval echo '${'$as_ac_Header'}'`
11040 { echo "$as_me:$LINENO: result: $ac_res" >&5
11041 echo "${ECHO_T}$ac_res" >&6; }
11042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11043 cat >>confdefs.h <<_ACEOF
11044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11045 _ACEOF
11049 done
11051 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11052 then
11053 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11054 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11055 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11057 else
11058 cat >conftest.$ac_ext <<_ACEOF
11059 /* confdefs.h. */
11060 _ACEOF
11061 cat confdefs.h >>conftest.$ac_ext
11062 cat >>conftest.$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11064 #include <GL/gl.h>
11066 main ()
11068 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11070 return 0;
11072 _ACEOF
11073 rm -f conftest.$ac_objext
11074 if { (ac_try="$ac_compile"
11075 case "(($ac_try" in
11076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11077 *) ac_try_echo=$ac_try;;
11078 esac
11079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11080 (eval "$ac_compile") 2>conftest.er1
11081 ac_status=$?
11082 grep -v '^ *+' conftest.er1 >conftest.err
11083 rm -f conftest.er1
11084 cat conftest.err >&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); } && {
11087 test -z "$ac_c_werror_flag" ||
11088 test ! -s conftest.err
11089 } && test -s conftest.$ac_objext; then
11090 wine_cv_opengl_header_version_OK="yes"
11091 else
11092 echo "$as_me: failed program was:" >&5
11093 sed 's/^/| /' conftest.$ac_ext >&5
11095 wine_cv_opengl_header_version_OK="no"
11098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11100 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11101 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11103 if test "$wine_cv_opengl_header_version_OK" = "yes"
11104 then
11105 { echo "$as_me:$LINENO: checking for -lGL" >&5
11106 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11107 if test "${ac_cv_lib_soname_GL+set}" = set; then
11108 echo $ECHO_N "(cached) $ECHO_C" >&6
11109 else
11110 ac_check_soname_save_LIBS=$LIBS
11111 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11112 cat >conftest.$ac_ext <<_ACEOF
11113 /* confdefs.h. */
11114 _ACEOF
11115 cat confdefs.h >>conftest.$ac_ext
11116 cat >>conftest.$ac_ext <<_ACEOF
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11122 #ifdef __cplusplus
11123 extern "C"
11124 #endif
11125 char glXCreateContext ();
11127 main ()
11129 return glXCreateContext ();
11131 return 0;
11133 _ACEOF
11134 rm -f conftest.$ac_objext conftest$ac_exeext
11135 if { (ac_try="$ac_link"
11136 case "(($ac_try" in
11137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11138 *) ac_try_echo=$ac_try;;
11139 esac
11140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11141 (eval "$ac_link") 2>conftest.er1
11142 ac_status=$?
11143 grep -v '^ *+' conftest.er1 >conftest.err
11144 rm -f conftest.er1
11145 cat conftest.err >&5
11146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } && {
11148 test -z "$ac_c_werror_flag" ||
11149 test ! -s conftest.err
11150 } && test -s conftest$ac_exeext &&
11151 $as_test_x conftest$ac_exeext; then
11152 case "$LIBEXT" in
11153 dll) ;;
11154 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'` ;;
11155 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11156 esac
11157 else
11158 echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.$ac_ext >&5
11164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11165 conftest$ac_exeext conftest.$ac_ext
11166 LIBS=$ac_check_soname_save_LIBS
11168 if test "x$ac_cv_lib_soname_GL" = "x"; then
11169 { echo "$as_me:$LINENO: result: not found" >&5
11170 echo "${ECHO_T}not found" >&6; }
11171 { echo "$as_me:$LINENO: checking for -lGL" >&5
11172 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11173 if test "${ac_cv_lib_soname_GL+set}" = set; then
11174 echo $ECHO_N "(cached) $ECHO_C" >&6
11175 else
11176 ac_check_soname_save_LIBS=$LIBS
11177 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"
11178 cat >conftest.$ac_ext <<_ACEOF
11179 /* confdefs.h. */
11180 _ACEOF
11181 cat confdefs.h >>conftest.$ac_ext
11182 cat >>conftest.$ac_ext <<_ACEOF
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11188 #ifdef __cplusplus
11189 extern "C"
11190 #endif
11191 char glXCreateContext ();
11193 main ()
11195 return glXCreateContext ();
11197 return 0;
11199 _ACEOF
11200 rm -f conftest.$ac_objext conftest$ac_exeext
11201 if { (ac_try="$ac_link"
11202 case "(($ac_try" in
11203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11204 *) ac_try_echo=$ac_try;;
11205 esac
11206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11207 (eval "$ac_link") 2>conftest.er1
11208 ac_status=$?
11209 grep -v '^ *+' conftest.er1 >conftest.err
11210 rm -f conftest.er1
11211 cat conftest.err >&5
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); } && {
11214 test -z "$ac_c_werror_flag" ||
11215 test ! -s conftest.err
11216 } && test -s conftest$ac_exeext &&
11217 $as_test_x conftest$ac_exeext; then
11218 case "$LIBEXT" in
11219 dll) ;;
11220 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'` ;;
11221 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11222 esac
11223 else
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.$ac_ext >&5
11230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11231 conftest$ac_exeext conftest.$ac_ext
11232 LIBS=$ac_check_soname_save_LIBS
11234 if test "x$ac_cv_lib_soname_GL" = "x"; then
11235 { echo "$as_me:$LINENO: result: not found" >&5
11236 echo "${ECHO_T}not found" >&6; }
11237 if test -f /usr/X11R6/lib/libGL.a
11238 then
11239 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11240 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11241 else
11242 opengl_msg="No OpenGL library found on this system."
11244 else
11245 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11246 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11248 cat >>confdefs.h <<_ACEOF
11249 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11250 _ACEOF
11252 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"
11253 OPENGLFILES='$(OPENGLFILES)'
11255 cat >>confdefs.h <<\_ACEOF
11256 #define HAVE_OPENGL 1
11257 _ACEOF
11261 else
11262 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11263 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11265 cat >>confdefs.h <<_ACEOF
11266 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11267 _ACEOF
11269 OPENGL_LIBS="-lGL"
11270 OPENGLFILES='$(OPENGLFILES)'
11272 cat >>confdefs.h <<\_ACEOF
11273 #define HAVE_OPENGL 1
11274 _ACEOF
11278 if test "$ac_cv_header_GL_glu_h" = "yes"
11279 then
11280 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11281 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11282 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11284 else
11285 ac_check_soname_save_LIBS=$LIBS
11286 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11287 cat >conftest.$ac_ext <<_ACEOF
11288 /* confdefs.h. */
11289 _ACEOF
11290 cat confdefs.h >>conftest.$ac_ext
11291 cat >>conftest.$ac_ext <<_ACEOF
11292 /* end confdefs.h. */
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11297 #ifdef __cplusplus
11298 extern "C"
11299 #endif
11300 char gluLookAt ();
11302 main ()
11304 return gluLookAt ();
11306 return 0;
11308 _ACEOF
11309 rm -f conftest.$ac_objext conftest$ac_exeext
11310 if { (ac_try="$ac_link"
11311 case "(($ac_try" in
11312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11313 *) ac_try_echo=$ac_try;;
11314 esac
11315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11316 (eval "$ac_link") 2>conftest.er1
11317 ac_status=$?
11318 grep -v '^ *+' conftest.er1 >conftest.err
11319 rm -f conftest.er1
11320 cat conftest.err >&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); } && {
11323 test -z "$ac_c_werror_flag" ||
11324 test ! -s conftest.err
11325 } && test -s conftest$ac_exeext &&
11326 $as_test_x conftest$ac_exeext; then
11327 case "$LIBEXT" in
11328 dll) ;;
11329 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11330 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11331 esac
11332 else
11333 echo "$as_me: failed program was:" >&5
11334 sed 's/^/| /' conftest.$ac_ext >&5
11339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11340 conftest$ac_exeext conftest.$ac_ext
11341 LIBS=$ac_check_soname_save_LIBS
11343 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11344 { echo "$as_me:$LINENO: result: not found" >&5
11345 echo "${ECHO_T}not found" >&6; }
11347 else
11348 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11349 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11351 cat >>confdefs.h <<_ACEOF
11352 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11353 _ACEOF
11355 GLU32FILES='$(GLU32FILES)'
11359 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11360 case "x$with_glu" in
11361 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11362 xno) ;;
11363 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11364 This is an error since --with-glu was requested." >&5
11365 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11366 This is an error since --with-glu was requested." >&2;}
11367 { (exit 1); exit 1; }; } ;;
11368 esac
11371 else
11372 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11374 else
11375 opengl_msg="OpenGL development headers not found."
11378 if test -n "$opengl_msg"; then
11379 case "x$with_opengl" in
11380 x) wine_warnings="$wine_warnings|$opengl_msg
11381 OpenGL and Direct3D won't be supported." ;;
11382 xno) ;;
11383 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11384 OpenGL and Direct3D won't be supported.
11385 This is an error since --with-opengl was requested." >&5
11386 echo "$as_me: error: $opengl_msg
11387 OpenGL and Direct3D won't be supported.
11388 This is an error since --with-opengl was requested." >&2;}
11389 { (exit 1); exit 1; }; } ;;
11390 esac
11394 NASLIBS=""
11397 for ac_header in audio/audiolib.h
11399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11400 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11401 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11406 ac_res=`eval echo '${'$as_ac_Header'}'`
11407 { echo "$as_me:$LINENO: result: $ac_res" >&5
11408 echo "${ECHO_T}$ac_res" >&6; }
11409 else
11410 # Is the header compilable?
11411 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11413 cat >conftest.$ac_ext <<_ACEOF
11414 /* confdefs.h. */
11415 _ACEOF
11416 cat confdefs.h >>conftest.$ac_ext
11417 cat >>conftest.$ac_ext <<_ACEOF
11418 /* end confdefs.h. */
11419 $ac_includes_default
11420 #include <$ac_header>
11421 _ACEOF
11422 rm -f conftest.$ac_objext
11423 if { (ac_try="$ac_compile"
11424 case "(($ac_try" in
11425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11426 *) ac_try_echo=$ac_try;;
11427 esac
11428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11429 (eval "$ac_compile") 2>conftest.er1
11430 ac_status=$?
11431 grep -v '^ *+' conftest.er1 >conftest.err
11432 rm -f conftest.er1
11433 cat conftest.err >&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); } && {
11436 test -z "$ac_c_werror_flag" ||
11437 test ! -s conftest.err
11438 } && test -s conftest.$ac_objext; then
11439 ac_header_compiler=yes
11440 else
11441 echo "$as_me: failed program was:" >&5
11442 sed 's/^/| /' conftest.$ac_ext >&5
11444 ac_header_compiler=no
11447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11448 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11449 echo "${ECHO_T}$ac_header_compiler" >&6; }
11451 # Is the header present?
11452 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11454 cat >conftest.$ac_ext <<_ACEOF
11455 /* confdefs.h. */
11456 _ACEOF
11457 cat confdefs.h >>conftest.$ac_ext
11458 cat >>conftest.$ac_ext <<_ACEOF
11459 /* end confdefs.h. */
11460 #include <$ac_header>
11461 _ACEOF
11462 if { (ac_try="$ac_cpp conftest.$ac_ext"
11463 case "(($ac_try" in
11464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11465 *) ac_try_echo=$ac_try;;
11466 esac
11467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11468 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11469 ac_status=$?
11470 grep -v '^ *+' conftest.er1 >conftest.err
11471 rm -f conftest.er1
11472 cat conftest.err >&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); } >/dev/null && {
11475 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11476 test ! -s conftest.err
11477 }; then
11478 ac_header_preproc=yes
11479 else
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.$ac_ext >&5
11483 ac_header_preproc=no
11486 rm -f conftest.err conftest.$ac_ext
11487 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11488 echo "${ECHO_T}$ac_header_preproc" >&6; }
11490 # So? What about this header?
11491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11492 yes:no: )
11493 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11497 ac_header_preproc=yes
11499 no:yes:* )
11500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11504 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11506 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11507 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11510 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11512 ( cat <<\_ASBOX
11513 ## ------------------------------------ ##
11514 ## Report this to wine-devel@winehq.org ##
11515 ## ------------------------------------ ##
11516 _ASBOX
11517 ) | sed "s/^/$as_me: WARNING: /" >&2
11519 esac
11520 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11522 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11523 echo $ECHO_N "(cached) $ECHO_C" >&6
11524 else
11525 eval "$as_ac_Header=\$ac_header_preproc"
11527 ac_res=`eval echo '${'$as_ac_Header'}'`
11528 { echo "$as_me:$LINENO: result: $ac_res" >&5
11529 echo "${ECHO_T}$ac_res" >&6; }
11532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11533 cat >>confdefs.h <<_ACEOF
11534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11535 _ACEOF
11537 for ac_header in audio/soundlib.h
11539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11540 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11543 echo $ECHO_N "(cached) $ECHO_C" >&6
11544 else
11545 cat >conftest.$ac_ext <<_ACEOF
11546 /* confdefs.h. */
11547 _ACEOF
11548 cat confdefs.h >>conftest.$ac_ext
11549 cat >>conftest.$ac_ext <<_ACEOF
11550 /* end confdefs.h. */
11551 #include <audio/audiolib.h>
11553 #include <$ac_header>
11554 _ACEOF
11555 rm -f conftest.$ac_objext
11556 if { (ac_try="$ac_compile"
11557 case "(($ac_try" in
11558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11559 *) ac_try_echo=$ac_try;;
11560 esac
11561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11562 (eval "$ac_compile") 2>conftest.er1
11563 ac_status=$?
11564 grep -v '^ *+' conftest.er1 >conftest.err
11565 rm -f conftest.er1
11566 cat conftest.err >&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } && {
11569 test -z "$ac_c_werror_flag" ||
11570 test ! -s conftest.err
11571 } && test -s conftest.$ac_objext; then
11572 eval "$as_ac_Header=yes"
11573 else
11574 echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.$ac_ext >&5
11577 eval "$as_ac_Header=no"
11580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11582 ac_res=`eval echo '${'$as_ac_Header'}'`
11583 { echo "$as_me:$LINENO: result: $ac_res" >&5
11584 echo "${ECHO_T}$ac_res" >&6; }
11585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11586 cat >>confdefs.h <<_ACEOF
11587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11588 _ACEOF
11592 done
11594 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11595 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11596 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11598 else
11599 ac_check_lib_save_LIBS=$LIBS
11600 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11601 cat >conftest.$ac_ext <<_ACEOF
11602 /* confdefs.h. */
11603 _ACEOF
11604 cat confdefs.h >>conftest.$ac_ext
11605 cat >>conftest.$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11608 /* Override any GCC internal prototype to avoid an error.
11609 Use char because int might match the return type of a GCC
11610 builtin and then its argument prototype would still apply. */
11611 #ifdef __cplusplus
11612 extern "C"
11613 #endif
11614 char AuCreateFlow ();
11616 main ()
11618 return AuCreateFlow ();
11620 return 0;
11622 _ACEOF
11623 rm -f conftest.$ac_objext conftest$ac_exeext
11624 if { (ac_try="$ac_link"
11625 case "(($ac_try" in
11626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11627 *) ac_try_echo=$ac_try;;
11628 esac
11629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11630 (eval "$ac_link") 2>conftest.er1
11631 ac_status=$?
11632 grep -v '^ *+' conftest.er1 >conftest.err
11633 rm -f conftest.er1
11634 cat conftest.err >&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } && {
11637 test -z "$ac_c_werror_flag" ||
11638 test ! -s conftest.err
11639 } && test -s conftest$ac_exeext &&
11640 $as_test_x conftest$ac_exeext; then
11641 ac_cv_lib_audio_AuCreateFlow=yes
11642 else
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.$ac_ext >&5
11646 ac_cv_lib_audio_AuCreateFlow=no
11649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11650 conftest$ac_exeext conftest.$ac_ext
11651 LIBS=$ac_check_lib_save_LIBS
11653 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11654 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11655 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11657 cat >>confdefs.h <<\_ACEOF
11658 #define HAVE_NAS 1
11659 _ACEOF
11661 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11662 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11663 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11664 echo $ECHO_N "(cached) $ECHO_C" >&6
11665 else
11666 ac_check_lib_save_LIBS=$LIBS
11667 LIBS="-lXau $X_LIBS $LIBS"
11668 cat >conftest.$ac_ext <<_ACEOF
11669 /* confdefs.h. */
11670 _ACEOF
11671 cat confdefs.h >>conftest.$ac_ext
11672 cat >>conftest.$ac_ext <<_ACEOF
11673 /* end confdefs.h. */
11675 /* Override any GCC internal prototype to avoid an error.
11676 Use char because int might match the return type of a GCC
11677 builtin and then its argument prototype would still apply. */
11678 #ifdef __cplusplus
11679 extern "C"
11680 #endif
11681 char XauGetBestAuthByAddr ();
11683 main ()
11685 return XauGetBestAuthByAddr ();
11687 return 0;
11689 _ACEOF
11690 rm -f conftest.$ac_objext conftest$ac_exeext
11691 if { (ac_try="$ac_link"
11692 case "(($ac_try" in
11693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11694 *) ac_try_echo=$ac_try;;
11695 esac
11696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11697 (eval "$ac_link") 2>conftest.er1
11698 ac_status=$?
11699 grep -v '^ *+' conftest.er1 >conftest.err
11700 rm -f conftest.er1
11701 cat conftest.err >&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } && {
11704 test -z "$ac_c_werror_flag" ||
11705 test ! -s conftest.err
11706 } && test -s conftest$ac_exeext &&
11707 $as_test_x conftest$ac_exeext; then
11708 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11709 else
11710 echo "$as_me: failed program was:" >&5
11711 sed 's/^/| /' conftest.$ac_ext >&5
11713 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11717 conftest$ac_exeext conftest.$ac_ext
11718 LIBS=$ac_check_lib_save_LIBS
11720 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11721 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11722 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11723 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11724 else
11725 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11733 done
11736 CPPFLAGS="$ac_save_CPPFLAGS"
11737 XFILES='$(XFILES)'
11738 else
11739 XLIB=""
11740 X_CFLAGS=""
11741 X_LIBS=""
11743 if test "x$XLIB" = "x"; then
11744 case "x$with_x" in
11745 xno) ;;
11746 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11747 without X support, which probably isn't what you want. You will need to install
11748 development packages of Xlib/Xfree86 at the very least.
11749 Use the --without-x option if you really want this." >&5
11750 echo "$as_me: error: X development files not found. Wine will be built
11751 without X support, which probably isn't what you want. You will need to install
11752 development packages of Xlib/Xfree86 at the very least.
11753 Use the --without-x option if you really want this." >&2;}
11754 { (exit 1); exit 1; }; } ;;
11755 esac
11760 XML2LIBS=""
11762 XML2INCL=""
11764 XSLTLIBS=""
11766 XSLTINCL=""
11768 if test "x$with_xml" != "xno"
11769 then
11770 ac_save_CPPFLAGS="$CPPFLAGS"
11771 if test "$PKG_CONFIG" != "false"
11772 then
11773 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11774 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11775 else
11776 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11777 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11779 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11781 for ac_header in libxml/parser.h
11783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11785 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11788 echo $ECHO_N "(cached) $ECHO_C" >&6
11790 ac_res=`eval echo '${'$as_ac_Header'}'`
11791 { echo "$as_me:$LINENO: result: $ac_res" >&5
11792 echo "${ECHO_T}$ac_res" >&6; }
11793 else
11794 # Is the header compilable?
11795 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11797 cat >conftest.$ac_ext <<_ACEOF
11798 /* confdefs.h. */
11799 _ACEOF
11800 cat confdefs.h >>conftest.$ac_ext
11801 cat >>conftest.$ac_ext <<_ACEOF
11802 /* end confdefs.h. */
11803 $ac_includes_default
11804 #include <$ac_header>
11805 _ACEOF
11806 rm -f conftest.$ac_objext
11807 if { (ac_try="$ac_compile"
11808 case "(($ac_try" in
11809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11810 *) ac_try_echo=$ac_try;;
11811 esac
11812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11813 (eval "$ac_compile") 2>conftest.er1
11814 ac_status=$?
11815 grep -v '^ *+' conftest.er1 >conftest.err
11816 rm -f conftest.er1
11817 cat conftest.err >&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); } && {
11820 test -z "$ac_c_werror_flag" ||
11821 test ! -s conftest.err
11822 } && test -s conftest.$ac_objext; then
11823 ac_header_compiler=yes
11824 else
11825 echo "$as_me: failed program was:" >&5
11826 sed 's/^/| /' conftest.$ac_ext >&5
11828 ac_header_compiler=no
11831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11832 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11833 echo "${ECHO_T}$ac_header_compiler" >&6; }
11835 # Is the header present?
11836 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11838 cat >conftest.$ac_ext <<_ACEOF
11839 /* confdefs.h. */
11840 _ACEOF
11841 cat confdefs.h >>conftest.$ac_ext
11842 cat >>conftest.$ac_ext <<_ACEOF
11843 /* end confdefs.h. */
11844 #include <$ac_header>
11845 _ACEOF
11846 if { (ac_try="$ac_cpp conftest.$ac_ext"
11847 case "(($ac_try" in
11848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11849 *) ac_try_echo=$ac_try;;
11850 esac
11851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11853 ac_status=$?
11854 grep -v '^ *+' conftest.er1 >conftest.err
11855 rm -f conftest.er1
11856 cat conftest.err >&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); } >/dev/null && {
11859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11860 test ! -s conftest.err
11861 }; then
11862 ac_header_preproc=yes
11863 else
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11867 ac_header_preproc=no
11870 rm -f conftest.err conftest.$ac_ext
11871 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11872 echo "${ECHO_T}$ac_header_preproc" >&6; }
11874 # So? What about this header?
11875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11876 yes:no: )
11877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11881 ac_header_preproc=yes
11883 no:yes:* )
11884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11896 ( cat <<\_ASBOX
11897 ## ------------------------------------ ##
11898 ## Report this to wine-devel@winehq.org ##
11899 ## ------------------------------------ ##
11900 _ASBOX
11901 ) | sed "s/^/$as_me: WARNING: /" >&2
11903 esac
11904 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11907 echo $ECHO_N "(cached) $ECHO_C" >&6
11908 else
11909 eval "$as_ac_Header=\$ac_header_preproc"
11911 ac_res=`eval echo '${'$as_ac_Header'}'`
11912 { echo "$as_me:$LINENO: result: $ac_res" >&5
11913 echo "${ECHO_T}$ac_res" >&6; }
11916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11917 cat >>confdefs.h <<_ACEOF
11918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11919 _ACEOF
11920 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11921 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11922 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11923 echo $ECHO_N "(cached) $ECHO_C" >&6
11924 else
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lxml2 $ac_xml_libs $LIBS"
11927 cat >conftest.$ac_ext <<_ACEOF
11928 /* confdefs.h. */
11929 _ACEOF
11930 cat confdefs.h >>conftest.$ac_ext
11931 cat >>conftest.$ac_ext <<_ACEOF
11932 /* end confdefs.h. */
11934 /* Override any GCC internal prototype to avoid an error.
11935 Use char because int might match the return type of a GCC
11936 builtin and then its argument prototype would still apply. */
11937 #ifdef __cplusplus
11938 extern "C"
11939 #endif
11940 char xmlParseMemory ();
11942 main ()
11944 return xmlParseMemory ();
11946 return 0;
11948 _ACEOF
11949 rm -f conftest.$ac_objext conftest$ac_exeext
11950 if { (ac_try="$ac_link"
11951 case "(($ac_try" in
11952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11953 *) ac_try_echo=$ac_try;;
11954 esac
11955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11956 (eval "$ac_link") 2>conftest.er1
11957 ac_status=$?
11958 grep -v '^ *+' conftest.er1 >conftest.err
11959 rm -f conftest.er1
11960 cat conftest.err >&5
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); } && {
11963 test -z "$ac_c_werror_flag" ||
11964 test ! -s conftest.err
11965 } && test -s conftest$ac_exeext &&
11966 $as_test_x conftest$ac_exeext; then
11967 ac_cv_lib_xml2_xmlParseMemory=yes
11968 else
11969 echo "$as_me: failed program was:" >&5
11970 sed 's/^/| /' conftest.$ac_ext >&5
11972 ac_cv_lib_xml2_xmlParseMemory=no
11975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11976 conftest$ac_exeext conftest.$ac_ext
11977 LIBS=$ac_check_lib_save_LIBS
11979 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11980 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11981 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11983 cat >>confdefs.h <<\_ACEOF
11984 #define HAVE_LIBXML2 1
11985 _ACEOF
11987 XML2LIBS="$ac_xml_libs"
11988 XML2INCL="$ac_xml_cflags"
11991 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11992 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11993 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 else
11996 ac_check_lib_save_LIBS=$LIBS
11997 LIBS="-lxml2 $ac_xml_libs $LIBS"
11998 cat >conftest.$ac_ext <<_ACEOF
11999 /* confdefs.h. */
12000 _ACEOF
12001 cat confdefs.h >>conftest.$ac_ext
12002 cat >>conftest.$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12005 /* Override any GCC internal prototype to avoid an error.
12006 Use char because int might match the return type of a GCC
12007 builtin and then its argument prototype would still apply. */
12008 #ifdef __cplusplus
12009 extern "C"
12010 #endif
12011 char xmlReadMemory ();
12013 main ()
12015 return xmlReadMemory ();
12017 return 0;
12019 _ACEOF
12020 rm -f conftest.$ac_objext conftest$ac_exeext
12021 if { (ac_try="$ac_link"
12022 case "(($ac_try" in
12023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12024 *) ac_try_echo=$ac_try;;
12025 esac
12026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12027 (eval "$ac_link") 2>conftest.er1
12028 ac_status=$?
12029 grep -v '^ *+' conftest.er1 >conftest.err
12030 rm -f conftest.er1
12031 cat conftest.err >&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } && {
12034 test -z "$ac_c_werror_flag" ||
12035 test ! -s conftest.err
12036 } && test -s conftest$ac_exeext &&
12037 $as_test_x conftest$ac_exeext; then
12038 ac_cv_lib_xml2_xmlReadMemory=yes
12039 else
12040 echo "$as_me: failed program was:" >&5
12041 sed 's/^/| /' conftest.$ac_ext >&5
12043 ac_cv_lib_xml2_xmlReadMemory=no
12046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12047 conftest$ac_exeext conftest.$ac_ext
12048 LIBS=$ac_check_lib_save_LIBS
12050 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12051 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12052 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12054 cat >>confdefs.h <<\_ACEOF
12055 #define HAVE_XMLREADMEMORY 1
12056 _ACEOF
12060 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12061 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12062 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12063 echo $ECHO_N "(cached) $ECHO_C" >&6
12064 else
12065 ac_check_lib_save_LIBS=$LIBS
12066 LIBS="-lxml2 $ac_xml_libs $LIBS"
12067 cat >conftest.$ac_ext <<_ACEOF
12068 /* confdefs.h. */
12069 _ACEOF
12070 cat confdefs.h >>conftest.$ac_ext
12071 cat >>conftest.$ac_ext <<_ACEOF
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12077 #ifdef __cplusplus
12078 extern "C"
12079 #endif
12080 char xmlNewDocPI ();
12082 main ()
12084 return xmlNewDocPI ();
12086 return 0;
12088 _ACEOF
12089 rm -f conftest.$ac_objext conftest$ac_exeext
12090 if { (ac_try="$ac_link"
12091 case "(($ac_try" in
12092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12093 *) ac_try_echo=$ac_try;;
12094 esac
12095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12096 (eval "$ac_link") 2>conftest.er1
12097 ac_status=$?
12098 grep -v '^ *+' conftest.er1 >conftest.err
12099 rm -f conftest.er1
12100 cat conftest.err >&5
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); } && {
12103 test -z "$ac_c_werror_flag" ||
12104 test ! -s conftest.err
12105 } && test -s conftest$ac_exeext &&
12106 $as_test_x conftest$ac_exeext; then
12107 ac_cv_lib_xml2_xmlNewDocPI=yes
12108 else
12109 echo "$as_me: failed program was:" >&5
12110 sed 's/^/| /' conftest.$ac_ext >&5
12112 ac_cv_lib_xml2_xmlNewDocPI=no
12115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12116 conftest$ac_exeext conftest.$ac_ext
12117 LIBS=$ac_check_lib_save_LIBS
12119 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12120 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12121 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12123 cat >>confdefs.h <<\_ACEOF
12124 #define HAVE_XMLNEWDOCPI 1
12125 _ACEOF
12132 done
12134 CPPFLAGS="$ac_save_CPPFLAGS"
12136 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12137 case "x$with_xml" in
12138 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12139 xno) ;;
12140 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12141 This is an error since --with-xml was requested." >&5
12142 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12143 This is an error since --with-xml was requested." >&2;}
12144 { (exit 1); exit 1; }; } ;;
12145 esac
12149 if test "x$with_xslt" != "xno"
12150 then
12151 if test "$PKG_CONFIG" != "false"
12152 then
12153 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12154 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12155 else
12156 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12157 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12159 ac_save_CPPFLAGS="$CPPFLAGS"
12160 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
12163 for ac_header in libxslt/pattern.h libxslt/transform.h
12165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12166 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12168 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 else
12171 cat >conftest.$ac_ext <<_ACEOF
12172 /* confdefs.h. */
12173 _ACEOF
12174 cat confdefs.h >>conftest.$ac_ext
12175 cat >>conftest.$ac_ext <<_ACEOF
12176 /* end confdefs.h. */
12177 #ifdef HAVE_LIBXSLT_PATTERN_H
12178 # include <libxslt/pattern.h>
12179 #endif
12181 #include <$ac_header>
12182 _ACEOF
12183 rm -f conftest.$ac_objext
12184 if { (ac_try="$ac_compile"
12185 case "(($ac_try" in
12186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12187 *) ac_try_echo=$ac_try;;
12188 esac
12189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12190 (eval "$ac_compile") 2>conftest.er1
12191 ac_status=$?
12192 grep -v '^ *+' conftest.er1 >conftest.err
12193 rm -f conftest.er1
12194 cat conftest.err >&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); } && {
12197 test -z "$ac_c_werror_flag" ||
12198 test ! -s conftest.err
12199 } && test -s conftest.$ac_objext; then
12200 eval "$as_ac_Header=yes"
12201 else
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.$ac_ext >&5
12205 eval "$as_ac_Header=no"
12208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12210 ac_res=`eval echo '${'$as_ac_Header'}'`
12211 { echo "$as_me:$LINENO: result: $ac_res" >&5
12212 echo "${ECHO_T}$ac_res" >&6; }
12213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12214 cat >>confdefs.h <<_ACEOF
12215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12216 _ACEOF
12220 done
12222 CPPFLAGS="$ac_save_CPPFLAGS"
12223 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12224 then
12225 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12226 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12227 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12228 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 else
12230 ac_check_lib_save_LIBS=$LIBS
12231 LIBS="-lxslt $ac_xslt_libs $LIBS"
12232 cat >conftest.$ac_ext <<_ACEOF
12233 /* confdefs.h. */
12234 _ACEOF
12235 cat confdefs.h >>conftest.$ac_ext
12236 cat >>conftest.$ac_ext <<_ACEOF
12237 /* end confdefs.h. */
12239 /* Override any GCC internal prototype to avoid an error.
12240 Use char because int might match the return type of a GCC
12241 builtin and then its argument prototype would still apply. */
12242 #ifdef __cplusplus
12243 extern "C"
12244 #endif
12245 char xsltCompilePattern ();
12247 main ()
12249 return xsltCompilePattern ();
12251 return 0;
12253 _ACEOF
12254 rm -f conftest.$ac_objext conftest$ac_exeext
12255 if { (ac_try="$ac_link"
12256 case "(($ac_try" in
12257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12258 *) ac_try_echo=$ac_try;;
12259 esac
12260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12261 (eval "$ac_link") 2>conftest.er1
12262 ac_status=$?
12263 grep -v '^ *+' conftest.er1 >conftest.err
12264 rm -f conftest.er1
12265 cat conftest.err >&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } && {
12268 test -z "$ac_c_werror_flag" ||
12269 test ! -s conftest.err
12270 } && test -s conftest$ac_exeext &&
12271 $as_test_x conftest$ac_exeext; then
12272 ac_cv_lib_xslt_xsltCompilePattern=yes
12273 else
12274 echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.$ac_ext >&5
12277 ac_cv_lib_xslt_xsltCompilePattern=no
12280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12281 conftest$ac_exeext conftest.$ac_ext
12282 LIBS=$ac_check_lib_save_LIBS
12284 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12285 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12286 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12288 cat >>confdefs.h <<\_ACEOF
12289 #define HAVE_LIBXSLT 1
12290 _ACEOF
12292 XSLTLIBS="$ac_xslt_libs"
12293 XSLTINCL="$ac_xslt_cflags"
12294 ac_save_LIBS="$LIBS"
12295 LIBS="$LIBS $ac_xslt_libs"
12297 for ac_func in xsltInit
12299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12303 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 else
12305 cat >conftest.$ac_ext <<_ACEOF
12306 /* confdefs.h. */
12307 _ACEOF
12308 cat confdefs.h >>conftest.$ac_ext
12309 cat >>conftest.$ac_ext <<_ACEOF
12310 /* end confdefs.h. */
12311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12313 #define $ac_func innocuous_$ac_func
12315 /* System header to define __stub macros and hopefully few prototypes,
12316 which can conflict with char $ac_func (); below.
12317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12318 <limits.h> exists even on freestanding compilers. */
12320 #ifdef __STDC__
12321 # include <limits.h>
12322 #else
12323 # include <assert.h>
12324 #endif
12326 #undef $ac_func
12328 /* Override any GCC internal prototype to avoid an error.
12329 Use char because int might match the return type of a GCC
12330 builtin and then its argument prototype would still apply. */
12331 #ifdef __cplusplus
12332 extern "C"
12333 #endif
12334 char $ac_func ();
12335 /* The GNU C library defines this for functions which it implements
12336 to always fail with ENOSYS. Some functions are actually named
12337 something starting with __ and the normal name is an alias. */
12338 #if defined __stub_$ac_func || defined __stub___$ac_func
12339 choke me
12340 #endif
12343 main ()
12345 return $ac_func ();
12347 return 0;
12349 _ACEOF
12350 rm -f conftest.$ac_objext conftest$ac_exeext
12351 if { (ac_try="$ac_link"
12352 case "(($ac_try" in
12353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12354 *) ac_try_echo=$ac_try;;
12355 esac
12356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12357 (eval "$ac_link") 2>conftest.er1
12358 ac_status=$?
12359 grep -v '^ *+' conftest.er1 >conftest.err
12360 rm -f conftest.er1
12361 cat conftest.err >&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); } && {
12364 test -z "$ac_c_werror_flag" ||
12365 test ! -s conftest.err
12366 } && test -s conftest$ac_exeext &&
12367 $as_test_x conftest$ac_exeext; then
12368 eval "$as_ac_var=yes"
12369 else
12370 echo "$as_me: failed program was:" >&5
12371 sed 's/^/| /' conftest.$ac_ext >&5
12373 eval "$as_ac_var=no"
12376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12377 conftest$ac_exeext conftest.$ac_ext
12379 ac_res=`eval echo '${'$as_ac_var'}'`
12380 { echo "$as_me:$LINENO: result: $ac_res" >&5
12381 echo "${ECHO_T}$ac_res" >&6; }
12382 if test `eval echo '${'$as_ac_var'}'` = yes; then
12383 cat >>confdefs.h <<_ACEOF
12384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12385 _ACEOF
12388 done
12390 LIBS="$ac_save_LIBS"
12395 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12396 case "x$with_xslt" in
12397 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12398 xno) ;;
12399 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12400 This is an error since --with-xslt was requested." >&5
12401 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12402 This is an error since --with-xslt was requested." >&2;}
12403 { (exit 1); exit 1; }; } ;;
12404 esac
12408 HALINCL=""
12410 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12411 then
12412 ac_save_CPPFLAGS="$CPPFLAGS"
12413 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12414 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12415 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12418 for ac_header in dbus/dbus.h hal/libhal.h
12420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12425 echo $ECHO_N "(cached) $ECHO_C" >&6
12427 ac_res=`eval echo '${'$as_ac_Header'}'`
12428 { echo "$as_me:$LINENO: result: $ac_res" >&5
12429 echo "${ECHO_T}$ac_res" >&6; }
12430 else
12431 # Is the header compilable?
12432 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12434 cat >conftest.$ac_ext <<_ACEOF
12435 /* confdefs.h. */
12436 _ACEOF
12437 cat confdefs.h >>conftest.$ac_ext
12438 cat >>conftest.$ac_ext <<_ACEOF
12439 /* end confdefs.h. */
12440 $ac_includes_default
12441 #include <$ac_header>
12442 _ACEOF
12443 rm -f conftest.$ac_objext
12444 if { (ac_try="$ac_compile"
12445 case "(($ac_try" in
12446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12447 *) ac_try_echo=$ac_try;;
12448 esac
12449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12450 (eval "$ac_compile") 2>conftest.er1
12451 ac_status=$?
12452 grep -v '^ *+' conftest.er1 >conftest.err
12453 rm -f conftest.er1
12454 cat conftest.err >&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); } && {
12457 test -z "$ac_c_werror_flag" ||
12458 test ! -s conftest.err
12459 } && test -s conftest.$ac_objext; then
12460 ac_header_compiler=yes
12461 else
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.$ac_ext >&5
12465 ac_header_compiler=no
12468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12469 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12470 echo "${ECHO_T}$ac_header_compiler" >&6; }
12472 # Is the header present?
12473 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12475 cat >conftest.$ac_ext <<_ACEOF
12476 /* confdefs.h. */
12477 _ACEOF
12478 cat confdefs.h >>conftest.$ac_ext
12479 cat >>conftest.$ac_ext <<_ACEOF
12480 /* end confdefs.h. */
12481 #include <$ac_header>
12482 _ACEOF
12483 if { (ac_try="$ac_cpp conftest.$ac_ext"
12484 case "(($ac_try" in
12485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12486 *) ac_try_echo=$ac_try;;
12487 esac
12488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12490 ac_status=$?
12491 grep -v '^ *+' conftest.er1 >conftest.err
12492 rm -f conftest.er1
12493 cat conftest.err >&5
12494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495 (exit $ac_status); } >/dev/null && {
12496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12497 test ! -s conftest.err
12498 }; then
12499 ac_header_preproc=yes
12500 else
12501 echo "$as_me: failed program was:" >&5
12502 sed 's/^/| /' conftest.$ac_ext >&5
12504 ac_header_preproc=no
12507 rm -f conftest.err conftest.$ac_ext
12508 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12509 echo "${ECHO_T}$ac_header_preproc" >&6; }
12511 # So? What about this header?
12512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12513 yes:no: )
12514 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12515 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12517 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12518 ac_header_preproc=yes
12520 no:yes:* )
12521 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12522 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12523 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12524 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12525 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12526 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12527 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12528 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12531 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12532 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12533 ( cat <<\_ASBOX
12534 ## ------------------------------------ ##
12535 ## Report this to wine-devel@winehq.org ##
12536 ## ------------------------------------ ##
12537 _ASBOX
12538 ) | sed "s/^/$as_me: WARNING: /" >&2
12540 esac
12541 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12543 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12544 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 else
12546 eval "$as_ac_Header=\$ac_header_preproc"
12548 ac_res=`eval echo '${'$as_ac_Header'}'`
12549 { echo "$as_me:$LINENO: result: $ac_res" >&5
12550 echo "${ECHO_T}$ac_res" >&6; }
12553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12554 cat >>confdefs.h <<_ACEOF
12555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12556 _ACEOF
12560 done
12562 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12563 then
12564 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12565 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12566 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 else
12569 ac_check_lib_save_LIBS=$LIBS
12570 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12571 cat >conftest.$ac_ext <<_ACEOF
12572 /* confdefs.h. */
12573 _ACEOF
12574 cat confdefs.h >>conftest.$ac_ext
12575 cat >>conftest.$ac_ext <<_ACEOF
12576 /* end confdefs.h. */
12578 /* Override any GCC internal prototype to avoid an error.
12579 Use char because int might match the return type of a GCC
12580 builtin and then its argument prototype would still apply. */
12581 #ifdef __cplusplus
12582 extern "C"
12583 #endif
12584 char dbus_connection_close ();
12586 main ()
12588 return dbus_connection_close ();
12590 return 0;
12592 _ACEOF
12593 rm -f conftest.$ac_objext conftest$ac_exeext
12594 if { (ac_try="$ac_link"
12595 case "(($ac_try" in
12596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12597 *) ac_try_echo=$ac_try;;
12598 esac
12599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12600 (eval "$ac_link") 2>conftest.er1
12601 ac_status=$?
12602 grep -v '^ *+' conftest.er1 >conftest.err
12603 rm -f conftest.er1
12604 cat conftest.err >&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); } && {
12607 test -z "$ac_c_werror_flag" ||
12608 test ! -s conftest.err
12609 } && test -s conftest$ac_exeext &&
12610 $as_test_x conftest$ac_exeext; then
12611 ac_cv_lib_dbus_1_dbus_connection_close=yes
12612 else
12613 echo "$as_me: failed program was:" >&5
12614 sed 's/^/| /' conftest.$ac_ext >&5
12616 ac_cv_lib_dbus_1_dbus_connection_close=no
12619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12620 conftest$ac_exeext conftest.$ac_ext
12621 LIBS=$ac_check_lib_save_LIBS
12623 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12624 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12625 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12626 { echo "$as_me:$LINENO: checking for -lhal" >&5
12627 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12628 if test "${ac_cv_lib_soname_hal+set}" = set; then
12629 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 else
12631 ac_check_soname_save_LIBS=$LIBS
12632 LIBS="-lhal $ac_hal_libs $LIBS"
12633 cat >conftest.$ac_ext <<_ACEOF
12634 /* confdefs.h. */
12635 _ACEOF
12636 cat confdefs.h >>conftest.$ac_ext
12637 cat >>conftest.$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12640 /* Override any GCC internal prototype to avoid an error.
12641 Use char because int might match the return type of a GCC
12642 builtin and then its argument prototype would still apply. */
12643 #ifdef __cplusplus
12644 extern "C"
12645 #endif
12646 char libhal_ctx_new ();
12648 main ()
12650 return libhal_ctx_new ();
12652 return 0;
12654 _ACEOF
12655 rm -f conftest.$ac_objext conftest$ac_exeext
12656 if { (ac_try="$ac_link"
12657 case "(($ac_try" in
12658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12659 *) ac_try_echo=$ac_try;;
12660 esac
12661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12662 (eval "$ac_link") 2>conftest.er1
12663 ac_status=$?
12664 grep -v '^ *+' conftest.er1 >conftest.err
12665 rm -f conftest.er1
12666 cat conftest.err >&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } && {
12669 test -z "$ac_c_werror_flag" ||
12670 test ! -s conftest.err
12671 } && test -s conftest$ac_exeext &&
12672 $as_test_x conftest$ac_exeext; then
12673 case "$LIBEXT" in
12674 dll) ;;
12675 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'` ;;
12676 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12677 esac
12678 else
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.$ac_ext >&5
12685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12686 conftest$ac_exeext conftest.$ac_ext
12687 LIBS=$ac_check_soname_save_LIBS
12689 if test "x$ac_cv_lib_soname_hal" = "x"; then
12690 { echo "$as_me:$LINENO: result: not found" >&5
12691 echo "${ECHO_T}not found" >&6; }
12693 else
12694 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12695 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12697 cat >>confdefs.h <<_ACEOF
12698 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12699 _ACEOF
12701 HALINCL="$ac_hal_cflags"
12707 CPPFLAGS="$ac_save_CPPFLAGS"
12709 if test "x$ac_cv_lib_soname_hal" = "x"; then
12710 case "x$with_hal" in
12711 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12712 xno) ;;
12713 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12714 This is an error since --with-hal was requested." >&5
12715 echo "$as_me: error: libhal development files not found, no dynamic device support.
12716 This is an error since --with-hal was requested." >&2;}
12717 { (exit 1); exit 1; }; } ;;
12718 esac
12722 CURSESLIBS=""
12723 if test "$ac_cv_header_ncurses_h" = "yes"
12724 then
12725 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12726 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12727 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12729 else
12730 ac_check_soname_save_LIBS=$LIBS
12731 LIBS="-lncurses $LIBS"
12732 cat >conftest.$ac_ext <<_ACEOF
12733 /* confdefs.h. */
12734 _ACEOF
12735 cat confdefs.h >>conftest.$ac_ext
12736 cat >>conftest.$ac_ext <<_ACEOF
12737 /* end confdefs.h. */
12739 /* Override any GCC internal prototype to avoid an error.
12740 Use char because int might match the return type of a GCC
12741 builtin and then its argument prototype would still apply. */
12742 #ifdef __cplusplus
12743 extern "C"
12744 #endif
12745 char waddch ();
12747 main ()
12749 return waddch ();
12751 return 0;
12753 _ACEOF
12754 rm -f conftest.$ac_objext conftest$ac_exeext
12755 if { (ac_try="$ac_link"
12756 case "(($ac_try" in
12757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12758 *) ac_try_echo=$ac_try;;
12759 esac
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_link") 2>conftest.er1
12762 ac_status=$?
12763 grep -v '^ *+' conftest.er1 >conftest.err
12764 rm -f conftest.er1
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } && {
12768 test -z "$ac_c_werror_flag" ||
12769 test ! -s conftest.err
12770 } && test -s conftest$ac_exeext &&
12771 $as_test_x conftest$ac_exeext; then
12772 case "$LIBEXT" in
12773 dll) ;;
12774 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'` ;;
12775 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12776 esac
12777 else
12778 echo "$as_me: failed program was:" >&5
12779 sed 's/^/| /' conftest.$ac_ext >&5
12784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12785 conftest$ac_exeext conftest.$ac_ext
12786 LIBS=$ac_check_soname_save_LIBS
12788 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12789 { echo "$as_me:$LINENO: result: not found" >&5
12790 echo "${ECHO_T}not found" >&6; }
12792 else
12793 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12794 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12796 cat >>confdefs.h <<_ACEOF
12797 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12798 _ACEOF
12800 CURSESLIBS="-lncurses"
12803 elif test "$ac_cv_header_curses_h" = "yes"
12804 then
12805 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12806 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12807 if test "${ac_cv_lib_soname_curses+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12809 else
12810 ac_check_soname_save_LIBS=$LIBS
12811 LIBS="-lcurses $LIBS"
12812 cat >conftest.$ac_ext <<_ACEOF
12813 /* confdefs.h. */
12814 _ACEOF
12815 cat confdefs.h >>conftest.$ac_ext
12816 cat >>conftest.$ac_ext <<_ACEOF
12817 /* end confdefs.h. */
12819 /* Override any GCC internal prototype to avoid an error.
12820 Use char because int might match the return type of a GCC
12821 builtin and then its argument prototype would still apply. */
12822 #ifdef __cplusplus
12823 extern "C"
12824 #endif
12825 char waddch ();
12827 main ()
12829 return waddch ();
12831 return 0;
12833 _ACEOF
12834 rm -f conftest.$ac_objext conftest$ac_exeext
12835 if { (ac_try="$ac_link"
12836 case "(($ac_try" in
12837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12838 *) ac_try_echo=$ac_try;;
12839 esac
12840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12841 (eval "$ac_link") 2>conftest.er1
12842 ac_status=$?
12843 grep -v '^ *+' conftest.er1 >conftest.err
12844 rm -f conftest.er1
12845 cat conftest.err >&5
12846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12847 (exit $ac_status); } && {
12848 test -z "$ac_c_werror_flag" ||
12849 test ! -s conftest.err
12850 } && test -s conftest$ac_exeext &&
12851 $as_test_x conftest$ac_exeext; then
12852 case "$LIBEXT" in
12853 dll) ;;
12854 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'` ;;
12855 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12856 esac
12857 else
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.$ac_ext >&5
12864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12865 conftest$ac_exeext conftest.$ac_ext
12866 LIBS=$ac_check_soname_save_LIBS
12868 if test "x$ac_cv_lib_soname_curses" = "x"; then
12869 { echo "$as_me:$LINENO: result: not found" >&5
12870 echo "${ECHO_T}not found" >&6; }
12872 else
12873 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12874 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12876 cat >>confdefs.h <<_ACEOF
12877 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12878 _ACEOF
12880 CURSESLIBS="-lcurses"
12884 ac_save_LIBS="$LIBS"
12885 LIBS="$LIBS $CURSESLIBS"
12887 for ac_func in mousemask
12889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12893 echo $ECHO_N "(cached) $ECHO_C" >&6
12894 else
12895 cat >conftest.$ac_ext <<_ACEOF
12896 /* confdefs.h. */
12897 _ACEOF
12898 cat confdefs.h >>conftest.$ac_ext
12899 cat >>conftest.$ac_ext <<_ACEOF
12900 /* end confdefs.h. */
12901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12903 #define $ac_func innocuous_$ac_func
12905 /* System header to define __stub macros and hopefully few prototypes,
12906 which can conflict with char $ac_func (); below.
12907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12908 <limits.h> exists even on freestanding compilers. */
12910 #ifdef __STDC__
12911 # include <limits.h>
12912 #else
12913 # include <assert.h>
12914 #endif
12916 #undef $ac_func
12918 /* Override any GCC internal prototype to avoid an error.
12919 Use char because int might match the return type of a GCC
12920 builtin and then its argument prototype would still apply. */
12921 #ifdef __cplusplus
12922 extern "C"
12923 #endif
12924 char $ac_func ();
12925 /* The GNU C library defines this for functions which it implements
12926 to always fail with ENOSYS. Some functions are actually named
12927 something starting with __ and the normal name is an alias. */
12928 #if defined __stub_$ac_func || defined __stub___$ac_func
12929 choke me
12930 #endif
12933 main ()
12935 return $ac_func ();
12937 return 0;
12939 _ACEOF
12940 rm -f conftest.$ac_objext conftest$ac_exeext
12941 if { (ac_try="$ac_link"
12942 case "(($ac_try" in
12943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12944 *) ac_try_echo=$ac_try;;
12945 esac
12946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12947 (eval "$ac_link") 2>conftest.er1
12948 ac_status=$?
12949 grep -v '^ *+' conftest.er1 >conftest.err
12950 rm -f conftest.er1
12951 cat conftest.err >&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } && {
12954 test -z "$ac_c_werror_flag" ||
12955 test ! -s conftest.err
12956 } && test -s conftest$ac_exeext &&
12957 $as_test_x conftest$ac_exeext; then
12958 eval "$as_ac_var=yes"
12959 else
12960 echo "$as_me: failed program was:" >&5
12961 sed 's/^/| /' conftest.$ac_ext >&5
12963 eval "$as_ac_var=no"
12966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12967 conftest$ac_exeext conftest.$ac_ext
12969 ac_res=`eval echo '${'$as_ac_var'}'`
12970 { echo "$as_me:$LINENO: result: $ac_res" >&5
12971 echo "${ECHO_T}$ac_res" >&6; }
12972 if test `eval echo '${'$as_ac_var'}'` = yes; then
12973 cat >>confdefs.h <<_ACEOF
12974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12975 _ACEOF
12978 done
12980 LIBS="$ac_save_LIBS"
12981 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12982 case "x$with_curses" in
12983 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12984 xno) ;;
12985 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12986 This is an error since --with-curses was requested." >&5
12987 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12988 This is an error since --with-curses was requested." >&2;}
12989 { (exit 1); exit 1; }; } ;;
12990 esac
12994 # Extract the first word of "sane-config", so it can be a program name with args.
12995 set dummy sane-config; ac_word=$2
12996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12998 if test "${ac_cv_prog_sane_devel+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13000 else
13001 if test -n "$sane_devel"; then
13002 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
13003 else
13004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13005 for as_dir in $PATH
13007 IFS=$as_save_IFS
13008 test -z "$as_dir" && as_dir=.
13009 for ac_exec_ext in '' $ac_executable_extensions; do
13010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13011 ac_cv_prog_sane_devel="sane-config"
13012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13013 break 2
13015 done
13016 done
13017 IFS=$as_save_IFS
13019 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
13022 sane_devel=$ac_cv_prog_sane_devel
13023 if test -n "$sane_devel"; then
13024 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13025 echo "${ECHO_T}$sane_devel" >&6; }
13026 else
13027 { echo "$as_me:$LINENO: result: no" >&5
13028 echo "${ECHO_T}no" >&6; }
13032 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13033 then
13034 ac_sane_incl="`$sane_devel --cflags`"
13035 ac_sane_libs="`$sane_devel --ldflags`"
13036 ac_save_CPPFLAGS="$CPPFLAGS"
13037 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
13038 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13039 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13040 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13041 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13044 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13045 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13046 else
13047 # Is the header compilable?
13048 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13049 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13050 cat >conftest.$ac_ext <<_ACEOF
13051 /* confdefs.h. */
13052 _ACEOF
13053 cat confdefs.h >>conftest.$ac_ext
13054 cat >>conftest.$ac_ext <<_ACEOF
13055 /* end confdefs.h. */
13056 $ac_includes_default
13057 #include <sane/sane.h>
13058 _ACEOF
13059 rm -f conftest.$ac_objext
13060 if { (ac_try="$ac_compile"
13061 case "(($ac_try" in
13062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13063 *) ac_try_echo=$ac_try;;
13064 esac
13065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13066 (eval "$ac_compile") 2>conftest.er1
13067 ac_status=$?
13068 grep -v '^ *+' conftest.er1 >conftest.err
13069 rm -f conftest.er1
13070 cat conftest.err >&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); } && {
13073 test -z "$ac_c_werror_flag" ||
13074 test ! -s conftest.err
13075 } && test -s conftest.$ac_objext; then
13076 ac_header_compiler=yes
13077 else
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.$ac_ext >&5
13081 ac_header_compiler=no
13084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13085 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13086 echo "${ECHO_T}$ac_header_compiler" >&6; }
13088 # Is the header present?
13089 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13090 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13091 cat >conftest.$ac_ext <<_ACEOF
13092 /* confdefs.h. */
13093 _ACEOF
13094 cat confdefs.h >>conftest.$ac_ext
13095 cat >>conftest.$ac_ext <<_ACEOF
13096 /* end confdefs.h. */
13097 #include <sane/sane.h>
13098 _ACEOF
13099 if { (ac_try="$ac_cpp conftest.$ac_ext"
13100 case "(($ac_try" in
13101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13102 *) ac_try_echo=$ac_try;;
13103 esac
13104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13106 ac_status=$?
13107 grep -v '^ *+' conftest.er1 >conftest.err
13108 rm -f conftest.er1
13109 cat conftest.err >&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); } >/dev/null && {
13112 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13113 test ! -s conftest.err
13114 }; then
13115 ac_header_preproc=yes
13116 else
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.$ac_ext >&5
13120 ac_header_preproc=no
13123 rm -f conftest.err conftest.$ac_ext
13124 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13125 echo "${ECHO_T}$ac_header_preproc" >&6; }
13127 # So? What about this header?
13128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13129 yes:no: )
13130 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13131 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13132 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13133 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13134 ac_header_preproc=yes
13136 no:yes:* )
13137 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13138 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13139 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13140 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13141 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13142 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13143 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13144 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13145 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13146 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13147 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13148 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13149 ( cat <<\_ASBOX
13150 ## ------------------------------------ ##
13151 ## Report this to wine-devel@winehq.org ##
13152 ## ------------------------------------ ##
13153 _ASBOX
13154 ) | sed "s/^/$as_me: WARNING: /" >&2
13156 esac
13157 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13158 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13159 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13160 echo $ECHO_N "(cached) $ECHO_C" >&6
13161 else
13162 ac_cv_header_sane_sane_h=$ac_header_preproc
13164 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13165 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13168 if test $ac_cv_header_sane_sane_h = yes; then
13169 { echo "$as_me:$LINENO: checking for -lsane" >&5
13170 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13171 if test "${ac_cv_lib_soname_sane+set}" = set; then
13172 echo $ECHO_N "(cached) $ECHO_C" >&6
13173 else
13174 ac_check_soname_save_LIBS=$LIBS
13175 LIBS="-lsane $ac_sane_libs $LIBS"
13176 cat >conftest.$ac_ext <<_ACEOF
13177 /* confdefs.h. */
13178 _ACEOF
13179 cat confdefs.h >>conftest.$ac_ext
13180 cat >>conftest.$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13183 /* Override any GCC internal prototype to avoid an error.
13184 Use char because int might match the return type of a GCC
13185 builtin and then its argument prototype would still apply. */
13186 #ifdef __cplusplus
13187 extern "C"
13188 #endif
13189 char sane_init ();
13191 main ()
13193 return sane_init ();
13195 return 0;
13197 _ACEOF
13198 rm -f conftest.$ac_objext conftest$ac_exeext
13199 if { (ac_try="$ac_link"
13200 case "(($ac_try" in
13201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13202 *) ac_try_echo=$ac_try;;
13203 esac
13204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13205 (eval "$ac_link") 2>conftest.er1
13206 ac_status=$?
13207 grep -v '^ *+' conftest.er1 >conftest.err
13208 rm -f conftest.er1
13209 cat conftest.err >&5
13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211 (exit $ac_status); } && {
13212 test -z "$ac_c_werror_flag" ||
13213 test ! -s conftest.err
13214 } && test -s conftest$ac_exeext &&
13215 $as_test_x conftest$ac_exeext; then
13216 case "$LIBEXT" in
13217 dll) ;;
13218 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'` ;;
13219 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13220 esac
13221 else
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.$ac_ext >&5
13228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13229 conftest$ac_exeext conftest.$ac_ext
13230 LIBS=$ac_check_soname_save_LIBS
13232 if test "x$ac_cv_lib_soname_sane" = "x"; then
13233 { echo "$as_me:$LINENO: result: not found" >&5
13234 echo "${ECHO_T}not found" >&6; }
13236 else
13237 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13238 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13240 cat >>confdefs.h <<_ACEOF
13241 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13242 _ACEOF
13244 SANEINCL="$ac_sane_incl"
13251 CPPFLAGS="$ac_save_CPPFLAGS"
13253 if test "x$ac_cv_lib_soname_sane" = "x"; then
13254 case "x$with_sane" in
13255 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13256 xno) ;;
13257 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13258 This is an error since --with-sane was requested." >&5
13259 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13260 This is an error since --with-sane was requested." >&2;}
13261 { (exit 1); exit 1; }; } ;;
13262 esac
13266 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13267 set dummy gphoto2-config; ac_word=$2
13268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13270 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13271 echo $ECHO_N "(cached) $ECHO_C" >&6
13272 else
13273 if test -n "$gphoto2_devel"; then
13274 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13275 else
13276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13277 for as_dir in $PATH
13279 IFS=$as_save_IFS
13280 test -z "$as_dir" && as_dir=.
13281 for ac_exec_ext in '' $ac_executable_extensions; do
13282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13283 ac_cv_prog_gphoto2_devel="gphoto2-config"
13284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13285 break 2
13287 done
13288 done
13289 IFS=$as_save_IFS
13291 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13294 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13295 if test -n "$gphoto2_devel"; then
13296 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13297 echo "${ECHO_T}$gphoto2_devel" >&6; }
13298 else
13299 { echo "$as_me:$LINENO: result: no" >&5
13300 echo "${ECHO_T}no" >&6; }
13304 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13305 set dummy gphoto2-port-config; ac_word=$2
13306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13308 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13309 echo $ECHO_N "(cached) $ECHO_C" >&6
13310 else
13311 if test -n "$gphoto2port_devel"; then
13312 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13313 else
13314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13315 for as_dir in $PATH
13317 IFS=$as_save_IFS
13318 test -z "$as_dir" && as_dir=.
13319 for ac_exec_ext in '' $ac_executable_extensions; do
13320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13321 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13323 break 2
13325 done
13326 done
13327 IFS=$as_save_IFS
13329 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13332 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13333 if test -n "$gphoto2port_devel"; then
13334 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13335 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13336 else
13337 { echo "$as_me:$LINENO: result: no" >&5
13338 echo "${ECHO_T}no" >&6; }
13342 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13343 then
13344 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13345 ac_gphoto2_libs=""
13346 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13348 case "$i" in
13349 -L/usr/lib|-L/usr/lib64) ;;
13350 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13351 esac
13352 done
13353 ac_save_CPPFLAGS="$CPPFLAGS"
13354 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13355 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13356 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13357 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13358 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13359 echo $ECHO_N "(cached) $ECHO_C" >&6
13361 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13362 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13363 else
13364 # Is the header compilable?
13365 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13366 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13367 cat >conftest.$ac_ext <<_ACEOF
13368 /* confdefs.h. */
13369 _ACEOF
13370 cat confdefs.h >>conftest.$ac_ext
13371 cat >>conftest.$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13373 $ac_includes_default
13374 #include <gphoto2-camera.h>
13375 _ACEOF
13376 rm -f conftest.$ac_objext
13377 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
13393 ac_header_compiler=yes
13394 else
13395 echo "$as_me: failed program was:" >&5
13396 sed 's/^/| /' conftest.$ac_ext >&5
13398 ac_header_compiler=no
13401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13402 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13403 echo "${ECHO_T}$ac_header_compiler" >&6; }
13405 # Is the header present?
13406 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13407 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13408 cat >conftest.$ac_ext <<_ACEOF
13409 /* confdefs.h. */
13410 _ACEOF
13411 cat confdefs.h >>conftest.$ac_ext
13412 cat >>conftest.$ac_ext <<_ACEOF
13413 /* end confdefs.h. */
13414 #include <gphoto2-camera.h>
13415 _ACEOF
13416 if { (ac_try="$ac_cpp conftest.$ac_ext"
13417 case "(($ac_try" in
13418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13419 *) ac_try_echo=$ac_try;;
13420 esac
13421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13423 ac_status=$?
13424 grep -v '^ *+' conftest.er1 >conftest.err
13425 rm -f conftest.er1
13426 cat conftest.err >&5
13427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13428 (exit $ac_status); } >/dev/null && {
13429 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13430 test ! -s conftest.err
13431 }; then
13432 ac_header_preproc=yes
13433 else
13434 echo "$as_me: failed program was:" >&5
13435 sed 's/^/| /' conftest.$ac_ext >&5
13437 ac_header_preproc=no
13440 rm -f conftest.err conftest.$ac_ext
13441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13442 echo "${ECHO_T}$ac_header_preproc" >&6; }
13444 # So? What about this header?
13445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13446 yes:no: )
13447 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13448 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13449 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13450 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13451 ac_header_preproc=yes
13453 no:yes:* )
13454 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13455 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13456 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13457 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13458 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13459 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13460 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13461 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13462 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13463 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13464 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13465 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13466 ( cat <<\_ASBOX
13467 ## ------------------------------------ ##
13468 ## Report this to wine-devel@winehq.org ##
13469 ## ------------------------------------ ##
13470 _ASBOX
13471 ) | sed "s/^/$as_me: WARNING: /" >&2
13473 esac
13474 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13475 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13476 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13477 echo $ECHO_N "(cached) $ECHO_C" >&6
13478 else
13479 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13481 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13482 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13485 if test $ac_cv_header_gphoto2_camera_h = yes; then
13486 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13487 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13488 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 else
13491 ac_check_lib_save_LIBS=$LIBS
13492 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
13493 cat >conftest.$ac_ext <<_ACEOF
13494 /* confdefs.h. */
13495 _ACEOF
13496 cat confdefs.h >>conftest.$ac_ext
13497 cat >>conftest.$ac_ext <<_ACEOF
13498 /* end confdefs.h. */
13500 /* Override any GCC internal prototype to avoid an error.
13501 Use char because int might match the return type of a GCC
13502 builtin and then its argument prototype would still apply. */
13503 #ifdef __cplusplus
13504 extern "C"
13505 #endif
13506 char gp_camera_new ();
13508 main ()
13510 return gp_camera_new ();
13512 return 0;
13514 _ACEOF
13515 rm -f conftest.$ac_objext conftest$ac_exeext
13516 if { (ac_try="$ac_link"
13517 case "(($ac_try" in
13518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13519 *) ac_try_echo=$ac_try;;
13520 esac
13521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13522 (eval "$ac_link") 2>conftest.er1
13523 ac_status=$?
13524 grep -v '^ *+' conftest.er1 >conftest.err
13525 rm -f conftest.er1
13526 cat conftest.err >&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); } && {
13529 test -z "$ac_c_werror_flag" ||
13530 test ! -s conftest.err
13531 } && test -s conftest$ac_exeext &&
13532 $as_test_x conftest$ac_exeext; then
13533 ac_cv_lib_gphoto2_gp_camera_new=yes
13534 else
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5
13538 ac_cv_lib_gphoto2_gp_camera_new=no
13541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13542 conftest$ac_exeext conftest.$ac_ext
13543 LIBS=$ac_check_lib_save_LIBS
13545 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13546 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13547 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13549 cat >>confdefs.h <<\_ACEOF
13550 #define HAVE_GPHOTO2 1
13551 _ACEOF
13553 GPHOTO2LIBS="$ac_gphoto2_libs"
13555 GPHOTO2INCL="$ac_gphoto2_incl"
13562 CPPFLAGS="$ac_save_CPPFLAGS"
13564 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13565 case "x$with_gphoto" in
13566 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13567 xno) ;;
13568 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13569 This is an error since --with-gphoto was requested." >&5
13570 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13571 This is an error since --with-gphoto was requested." >&2;}
13572 { (exit 1); exit 1; }; } ;;
13573 esac
13578 RESOLVLIBS=""
13580 if test "$ac_cv_header_resolv_h" = "yes"
13581 then
13582 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13583 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13584 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13586 else
13587 ac_check_lib_save_LIBS=$LIBS
13588 LIBS="-lresolv $LIBS"
13589 cat >conftest.$ac_ext <<_ACEOF
13590 /* confdefs.h. */
13591 _ACEOF
13592 cat confdefs.h >>conftest.$ac_ext
13593 cat >>conftest.$ac_ext <<_ACEOF
13594 /* end confdefs.h. */
13596 /* Override any GCC internal prototype to avoid an error.
13597 Use char because int might match the return type of a GCC
13598 builtin and then its argument prototype would still apply. */
13599 #ifdef __cplusplus
13600 extern "C"
13601 #endif
13602 char res_query ();
13604 main ()
13606 return res_query ();
13608 return 0;
13610 _ACEOF
13611 rm -f conftest.$ac_objext conftest$ac_exeext
13612 if { (ac_try="$ac_link"
13613 case "(($ac_try" in
13614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13615 *) ac_try_echo=$ac_try;;
13616 esac
13617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13618 (eval "$ac_link") 2>conftest.er1
13619 ac_status=$?
13620 grep -v '^ *+' conftest.er1 >conftest.err
13621 rm -f conftest.er1
13622 cat conftest.err >&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); } && {
13625 test -z "$ac_c_werror_flag" ||
13626 test ! -s conftest.err
13627 } && test -s conftest$ac_exeext &&
13628 $as_test_x conftest$ac_exeext; then
13629 ac_cv_lib_resolv_res_query=yes
13630 else
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.$ac_ext >&5
13634 ac_cv_lib_resolv_res_query=no
13637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13638 conftest$ac_exeext conftest.$ac_ext
13639 LIBS=$ac_check_lib_save_LIBS
13641 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13642 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13643 if test $ac_cv_lib_resolv_res_query = yes; then
13645 cat >>confdefs.h <<\_ACEOF
13646 #define HAVE_RESOLV 1
13647 _ACEOF
13649 RESOLVLIBS="-lresolv"
13654 LCMSLIBS=""
13656 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13657 then
13658 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13659 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13660 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13661 echo $ECHO_N "(cached) $ECHO_C" >&6
13662 else
13663 ac_check_lib_save_LIBS=$LIBS
13664 LIBS="-llcms $LIBS"
13665 cat >conftest.$ac_ext <<_ACEOF
13666 /* confdefs.h. */
13667 _ACEOF
13668 cat confdefs.h >>conftest.$ac_ext
13669 cat >>conftest.$ac_ext <<_ACEOF
13670 /* end confdefs.h. */
13672 /* Override any GCC internal prototype to avoid an error.
13673 Use char because int might match the return type of a GCC
13674 builtin and then its argument prototype would still apply. */
13675 #ifdef __cplusplus
13676 extern "C"
13677 #endif
13678 char cmsOpenProfileFromFile ();
13680 main ()
13682 return cmsOpenProfileFromFile ();
13684 return 0;
13686 _ACEOF
13687 rm -f conftest.$ac_objext conftest$ac_exeext
13688 if { (ac_try="$ac_link"
13689 case "(($ac_try" in
13690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13691 *) ac_try_echo=$ac_try;;
13692 esac
13693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13694 (eval "$ac_link") 2>conftest.er1
13695 ac_status=$?
13696 grep -v '^ *+' conftest.er1 >conftest.err
13697 rm -f conftest.er1
13698 cat conftest.err >&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); } && {
13701 test -z "$ac_c_werror_flag" ||
13702 test ! -s conftest.err
13703 } && test -s conftest$ac_exeext &&
13704 $as_test_x conftest$ac_exeext; then
13705 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13706 else
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13710 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13714 conftest$ac_exeext conftest.$ac_ext
13715 LIBS=$ac_check_lib_save_LIBS
13717 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13718 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13719 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13721 cat >>confdefs.h <<\_ACEOF
13722 #define HAVE_LCMS 1
13723 _ACEOF
13725 LCMSLIBS="-llcms"
13729 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13730 case "x$with_cms" in
13731 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13732 xno) ;;
13733 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13734 This is an error since --with-cms was requested." >&5
13735 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13736 This is an error since --with-cms was requested." >&2;}
13737 { (exit 1); exit 1; }; } ;;
13738 esac
13742 for ac_prog in freetype-config freetype2-config
13744 # Extract the first word of "$ac_prog", so it can be a program name with args.
13745 set dummy $ac_prog; ac_word=$2
13746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13748 if test "${ac_cv_prog_ft_devel+set}" = set; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13750 else
13751 if test -n "$ft_devel"; then
13752 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13753 else
13754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13755 for as_dir in $PATH
13757 IFS=$as_save_IFS
13758 test -z "$as_dir" && as_dir=.
13759 for ac_exec_ext in '' $ac_executable_extensions; do
13760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13761 ac_cv_prog_ft_devel="$ac_prog"
13762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13763 break 2
13765 done
13766 done
13767 IFS=$as_save_IFS
13771 ft_devel=$ac_cv_prog_ft_devel
13772 if test -n "$ft_devel"; then
13773 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13774 echo "${ECHO_T}$ft_devel" >&6; }
13775 else
13776 { echo "$as_me:$LINENO: result: no" >&5
13777 echo "${ECHO_T}no" >&6; }
13781 test -n "$ft_devel" && break
13782 done
13783 test -n "$ft_devel" || ft_devel="false"
13785 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13786 then
13787 ac_freetype_libs=`$ft_devel --libs`
13788 ac_freetype_incl=`$ft_devel --cflags`
13789 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13790 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13791 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13793 else
13794 ac_check_soname_save_LIBS=$LIBS
13795 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13796 cat >conftest.$ac_ext <<_ACEOF
13797 /* confdefs.h. */
13798 _ACEOF
13799 cat confdefs.h >>conftest.$ac_ext
13800 cat >>conftest.$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13803 /* Override any GCC internal prototype to avoid an error.
13804 Use char because int might match the return type of a GCC
13805 builtin and then its argument prototype would still apply. */
13806 #ifdef __cplusplus
13807 extern "C"
13808 #endif
13809 char FT_Init_FreeType ();
13811 main ()
13813 return FT_Init_FreeType ();
13815 return 0;
13817 _ACEOF
13818 rm -f conftest.$ac_objext conftest$ac_exeext
13819 if { (ac_try="$ac_link"
13820 case "(($ac_try" in
13821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13822 *) ac_try_echo=$ac_try;;
13823 esac
13824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13825 (eval "$ac_link") 2>conftest.er1
13826 ac_status=$?
13827 grep -v '^ *+' conftest.er1 >conftest.err
13828 rm -f conftest.er1
13829 cat conftest.err >&5
13830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831 (exit $ac_status); } && {
13832 test -z "$ac_c_werror_flag" ||
13833 test ! -s conftest.err
13834 } && test -s conftest$ac_exeext &&
13835 $as_test_x conftest$ac_exeext; then
13836 case "$LIBEXT" in
13837 dll) ;;
13838 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'` ;;
13839 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13840 esac
13841 else
13842 echo "$as_me: failed program was:" >&5
13843 sed 's/^/| /' conftest.$ac_ext >&5
13848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13849 conftest$ac_exeext conftest.$ac_ext
13850 LIBS=$ac_check_soname_save_LIBS
13852 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13853 { echo "$as_me:$LINENO: result: not found" >&5
13854 echo "${ECHO_T}not found" >&6; }
13855 ft_lib=no
13856 else
13857 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13858 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13860 cat >>confdefs.h <<_ACEOF
13861 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13862 _ACEOF
13864 ft_lib=yes
13867 if test "$ft_lib" = "yes"
13868 then
13869 ac_save_CPPFLAGS="$CPPFLAGS"
13870 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13883 for ac_header in ft2build.h \
13884 freetype/freetype.h \
13885 freetype/ftglyph.h \
13886 freetype/fttypes.h \
13887 freetype/tttables.h \
13888 freetype/ftnames.h \
13889 freetype/ftsnames.h \
13890 freetype/ttnameid.h \
13891 freetype/ftoutln.h \
13892 freetype/ftwinfnt.h \
13893 freetype/ftmodapi.h \
13894 freetype/internal/sfnt.h
13896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13897 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13901 else
13902 cat >conftest.$ac_ext <<_ACEOF
13903 /* confdefs.h. */
13904 _ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13908 #ifdef HAVE_FT2BUILD_H
13909 # include <ft2build.h>
13910 #endif
13912 #include <$ac_header>
13913 _ACEOF
13914 rm -f conftest.$ac_objext
13915 if { (ac_try="$ac_compile"
13916 case "(($ac_try" in
13917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;;
13919 esac
13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13921 (eval "$ac_compile") 2>conftest.er1
13922 ac_status=$?
13923 grep -v '^ *+' conftest.er1 >conftest.err
13924 rm -f conftest.er1
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } && {
13928 test -z "$ac_c_werror_flag" ||
13929 test ! -s conftest.err
13930 } && test -s conftest.$ac_objext; then
13931 eval "$as_ac_Header=yes"
13932 else
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13936 eval "$as_ac_Header=no"
13939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13941 ac_res=`eval echo '${'$as_ac_Header'}'`
13942 { echo "$as_me:$LINENO: result: $ac_res" >&5
13943 echo "${ECHO_T}$ac_res" >&6; }
13944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13945 cat >>confdefs.h <<_ACEOF
13946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13947 _ACEOF
13951 done
13953 cat >conftest.$ac_ext <<_ACEOF
13954 /* confdefs.h. */
13955 _ACEOF
13956 cat confdefs.h >>conftest.$ac_ext
13957 cat >>conftest.$ac_ext <<_ACEOF
13958 /* end confdefs.h. */
13959 #include <ft2build.h>
13960 #include <freetype/fttrigon.h>
13961 _ACEOF
13962 if { (ac_try="$ac_cpp conftest.$ac_ext"
13963 case "(($ac_try" in
13964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13965 *) ac_try_echo=$ac_try;;
13966 esac
13967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13968 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13969 ac_status=$?
13970 grep -v '^ *+' conftest.er1 >conftest.err
13971 rm -f conftest.er1
13972 cat conftest.err >&5
13973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13974 (exit $ac_status); } >/dev/null && {
13975 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13976 test ! -s conftest.err
13977 }; then
13979 cat >>confdefs.h <<\_ACEOF
13980 #define HAVE_FREETYPE_FTTRIGON_H 1
13981 _ACEOF
13983 wine_cv_fttrigon=yes
13984 else
13985 echo "$as_me: failed program was:" >&5
13986 sed 's/^/| /' conftest.$ac_ext >&5
13988 wine_cv_fttrigon=no
13991 rm -f conftest.err conftest.$ac_ext
13992 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13993 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13994 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13996 else
13997 cat >conftest.$ac_ext <<_ACEOF
13998 /* confdefs.h. */
13999 _ACEOF
14000 cat confdefs.h >>conftest.$ac_ext
14001 cat >>conftest.$ac_ext <<_ACEOF
14002 /* end confdefs.h. */
14003 #include <freetype/ftmodapi.h>
14005 typedef FT_TrueTypeEngineType ac__type_new_;
14007 main ()
14009 if ((ac__type_new_ *) 0)
14010 return 0;
14011 if (sizeof (ac__type_new_))
14012 return 0;
14014 return 0;
14016 _ACEOF
14017 rm -f conftest.$ac_objext
14018 if { (ac_try="$ac_compile"
14019 case "(($ac_try" in
14020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14021 *) ac_try_echo=$ac_try;;
14022 esac
14023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14024 (eval "$ac_compile") 2>conftest.er1
14025 ac_status=$?
14026 grep -v '^ *+' conftest.er1 >conftest.err
14027 rm -f conftest.er1
14028 cat conftest.err >&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); } && {
14031 test -z "$ac_c_werror_flag" ||
14032 test ! -s conftest.err
14033 } && test -s conftest.$ac_objext; then
14034 ac_cv_type_FT_TrueTypeEngineType=yes
14035 else
14036 echo "$as_me: failed program was:" >&5
14037 sed 's/^/| /' conftest.$ac_ext >&5
14039 ac_cv_type_FT_TrueTypeEngineType=no
14042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14044 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14045 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14046 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14048 cat >>confdefs.h <<_ACEOF
14049 #define HAVE_FT_TRUETYPEENGINETYPE 1
14050 _ACEOF
14055 ac_save_CFLAGS="$CFLAGS"
14056 CFLAGS="$CFLAGS $ac_freetype_libs"
14058 for ac_func in FT_Load_Sfnt_Table
14060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14063 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14064 echo $ECHO_N "(cached) $ECHO_C" >&6
14065 else
14066 cat >conftest.$ac_ext <<_ACEOF
14067 /* confdefs.h. */
14068 _ACEOF
14069 cat confdefs.h >>conftest.$ac_ext
14070 cat >>conftest.$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14074 #define $ac_func innocuous_$ac_func
14076 /* System header to define __stub macros and hopefully few prototypes,
14077 which can conflict with char $ac_func (); below.
14078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14079 <limits.h> exists even on freestanding compilers. */
14081 #ifdef __STDC__
14082 # include <limits.h>
14083 #else
14084 # include <assert.h>
14085 #endif
14087 #undef $ac_func
14089 /* Override any GCC internal prototype to avoid an error.
14090 Use char because int might match the return type of a GCC
14091 builtin and then its argument prototype would still apply. */
14092 #ifdef __cplusplus
14093 extern "C"
14094 #endif
14095 char $ac_func ();
14096 /* The GNU C library defines this for functions which it implements
14097 to always fail with ENOSYS. Some functions are actually named
14098 something starting with __ and the normal name is an alias. */
14099 #if defined __stub_$ac_func || defined __stub___$ac_func
14100 choke me
14101 #endif
14104 main ()
14106 return $ac_func ();
14108 return 0;
14110 _ACEOF
14111 rm -f conftest.$ac_objext conftest$ac_exeext
14112 if { (ac_try="$ac_link"
14113 case "(($ac_try" in
14114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14115 *) ac_try_echo=$ac_try;;
14116 esac
14117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14118 (eval "$ac_link") 2>conftest.er1
14119 ac_status=$?
14120 grep -v '^ *+' conftest.er1 >conftest.err
14121 rm -f conftest.er1
14122 cat conftest.err >&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); } && {
14125 test -z "$ac_c_werror_flag" ||
14126 test ! -s conftest.err
14127 } && test -s conftest$ac_exeext &&
14128 $as_test_x conftest$ac_exeext; then
14129 eval "$as_ac_var=yes"
14130 else
14131 echo "$as_me: failed program was:" >&5
14132 sed 's/^/| /' conftest.$ac_ext >&5
14134 eval "$as_ac_var=no"
14137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14138 conftest$ac_exeext conftest.$ac_ext
14140 ac_res=`eval echo '${'$as_ac_var'}'`
14141 { echo "$as_me:$LINENO: result: $ac_res" >&5
14142 echo "${ECHO_T}$ac_res" >&6; }
14143 if test `eval echo '${'$as_ac_var'}'` = yes; then
14144 cat >>confdefs.h <<_ACEOF
14145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14146 _ACEOF
14149 done
14151 CFLAGS="$ac_save_CFLAGS"
14152 CPPFLAGS="$ac_save_CPPFLAGS"
14153 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14154 then
14156 cat >>confdefs.h <<\_ACEOF
14157 #define HAVE_FREETYPE 1
14158 _ACEOF
14160 FREETYPELIBS="$ac_freetype_libs"
14162 FREETYPEINCL="$ac_freetype_incl"
14164 FONTSSUBDIRS="fonts"
14169 if test "x$FREETYPELIBS" = "x"; then
14170 case "x$with_freetype" in
14171 xno) ;;
14172 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14173 Fonts will not be built. Dialog text may be invisible or unaligned.
14174 Use the --without-freetype option if you really want this." >&5
14175 echo "$as_me: error: FreeType development files not found.
14176 Fonts will not be built. Dialog text may be invisible or unaligned.
14177 Use the --without-freetype option if you really want this." >&2;}
14178 { (exit 1); exit 1; }; } ;;
14179 esac
14183 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14184 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14185 if test "${ac_cv_c_ppdev+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14187 else
14188 cat >conftest.$ac_ext <<_ACEOF
14189 /* confdefs.h. */
14190 _ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194 #include <linux/ppdev.h>
14196 main ()
14198 ioctl (1,PPCLAIM,0)
14200 return 0;
14202 _ACEOF
14203 rm -f conftest.$ac_objext
14204 if { (ac_try="$ac_compile"
14205 case "(($ac_try" in
14206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14207 *) ac_try_echo=$ac_try;;
14208 esac
14209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14210 (eval "$ac_compile") 2>conftest.er1
14211 ac_status=$?
14212 grep -v '^ *+' conftest.er1 >conftest.err
14213 rm -f conftest.er1
14214 cat conftest.err >&5
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); } && {
14217 test -z "$ac_c_werror_flag" ||
14218 test ! -s conftest.err
14219 } && test -s conftest.$ac_objext; then
14220 ac_cv_c_ppdev="yes"
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14225 ac_cv_c_ppdev="no"
14228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14230 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14231 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14232 if test "$ac_cv_c_ppdev" = "yes"
14233 then
14235 cat >>confdefs.h <<\_ACEOF
14236 #define HAVE_PPDEV 1
14237 _ACEOF
14241 { echo "$as_me:$LINENO: checking for va_copy" >&5
14242 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14243 if test "${ac_cv_c_va_copy+set}" = set; then
14244 echo $ECHO_N "(cached) $ECHO_C" >&6
14245 else
14246 cat >conftest.$ac_ext <<_ACEOF
14247 /* confdefs.h. */
14248 _ACEOF
14249 cat confdefs.h >>conftest.$ac_ext
14250 cat >>conftest.$ac_ext <<_ACEOF
14251 /* end confdefs.h. */
14252 #include <stdarg.h>
14254 main ()
14256 va_list ap1, ap2; va_copy(ap1,ap2);
14258 return 0;
14260 _ACEOF
14261 rm -f conftest.$ac_objext conftest$ac_exeext
14262 if { (ac_try="$ac_link"
14263 case "(($ac_try" in
14264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14265 *) ac_try_echo=$ac_try;;
14266 esac
14267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14268 (eval "$ac_link") 2>conftest.er1
14269 ac_status=$?
14270 grep -v '^ *+' conftest.er1 >conftest.err
14271 rm -f conftest.er1
14272 cat conftest.err >&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } && {
14275 test -z "$ac_c_werror_flag" ||
14276 test ! -s conftest.err
14277 } && test -s conftest$ac_exeext &&
14278 $as_test_x conftest$ac_exeext; then
14279 ac_cv_c_va_copy="yes"
14280 else
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14284 ac_cv_c_va_copy="no"
14287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14288 conftest$ac_exeext conftest.$ac_ext
14291 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14292 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14293 if test "$ac_cv_c_va_copy" = "yes"
14294 then
14296 cat >>confdefs.h <<\_ACEOF
14297 #define HAVE_VA_COPY 1
14298 _ACEOF
14301 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14302 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14303 if test "${ac_cv_c___va_copy+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14305 else
14306 cat >conftest.$ac_ext <<_ACEOF
14307 /* confdefs.h. */
14308 _ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14312 #include <stdarg.h>
14314 main ()
14316 va_list ap1, ap2; __va_copy(ap1,ap2);
14318 return 0;
14320 _ACEOF
14321 rm -f conftest.$ac_objext conftest$ac_exeext
14322 if { (ac_try="$ac_link"
14323 case "(($ac_try" in
14324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14325 *) ac_try_echo=$ac_try;;
14326 esac
14327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14328 (eval "$ac_link") 2>conftest.er1
14329 ac_status=$?
14330 grep -v '^ *+' conftest.er1 >conftest.err
14331 rm -f conftest.er1
14332 cat conftest.err >&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); } && {
14335 test -z "$ac_c_werror_flag" ||
14336 test ! -s conftest.err
14337 } && test -s conftest$ac_exeext &&
14338 $as_test_x conftest$ac_exeext; then
14339 ac_cv_c___va_copy="yes"
14340 else
14341 echo "$as_me: failed program was:" >&5
14342 sed 's/^/| /' conftest.$ac_ext >&5
14344 ac_cv_c___va_copy="no"
14347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14348 conftest$ac_exeext conftest.$ac_ext
14351 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14352 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14353 if test "$ac_cv_c___va_copy" = "yes"
14354 then
14356 cat >>confdefs.h <<\_ACEOF
14357 #define HAVE___VA_COPY 1
14358 _ACEOF
14362 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14363 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14364 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14365 echo $ECHO_N "(cached) $ECHO_C" >&6
14366 else
14367 cat >conftest.$ac_ext <<_ACEOF
14368 /* confdefs.h. */
14369 _ACEOF
14370 cat confdefs.h >>conftest.$ac_ext
14371 cat >>conftest.$ac_ext <<_ACEOF
14372 /* end confdefs.h. */
14373 #define _GNU_SOURCE
14374 #include <pthread.h>
14376 typedef pthread_rwlock_t ac__type_new_;
14378 main ()
14380 if ((ac__type_new_ *) 0)
14381 return 0;
14382 if (sizeof (ac__type_new_))
14383 return 0;
14385 return 0;
14387 _ACEOF
14388 rm -f conftest.$ac_objext
14389 if { (ac_try="$ac_compile"
14390 case "(($ac_try" in
14391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14392 *) ac_try_echo=$ac_try;;
14393 esac
14394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14395 (eval "$ac_compile") 2>conftest.er1
14396 ac_status=$?
14397 grep -v '^ *+' conftest.er1 >conftest.err
14398 rm -f conftest.er1
14399 cat conftest.err >&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } && {
14402 test -z "$ac_c_werror_flag" ||
14403 test ! -s conftest.err
14404 } && test -s conftest.$ac_objext; then
14405 ac_cv_type_pthread_rwlock_t=yes
14406 else
14407 echo "$as_me: failed program was:" >&5
14408 sed 's/^/| /' conftest.$ac_ext >&5
14410 ac_cv_type_pthread_rwlock_t=no
14413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14415 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14416 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14417 if test $ac_cv_type_pthread_rwlock_t = yes; then
14419 cat >>confdefs.h <<_ACEOF
14420 #define HAVE_PTHREAD_RWLOCK_T 1
14421 _ACEOF
14425 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14426 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14427 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14429 else
14430 cat >conftest.$ac_ext <<_ACEOF
14431 /* confdefs.h. */
14432 _ACEOF
14433 cat confdefs.h >>conftest.$ac_ext
14434 cat >>conftest.$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14436 #define _GNU_SOURCE
14437 #include <pthread.h>
14439 typedef pthread_rwlockattr_t ac__type_new_;
14441 main ()
14443 if ((ac__type_new_ *) 0)
14444 return 0;
14445 if (sizeof (ac__type_new_))
14446 return 0;
14448 return 0;
14450 _ACEOF
14451 rm -f conftest.$ac_objext
14452 if { (ac_try="$ac_compile"
14453 case "(($ac_try" in
14454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455 *) ac_try_echo=$ac_try;;
14456 esac
14457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14458 (eval "$ac_compile") 2>conftest.er1
14459 ac_status=$?
14460 grep -v '^ *+' conftest.er1 >conftest.err
14461 rm -f conftest.er1
14462 cat conftest.err >&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } && {
14465 test -z "$ac_c_werror_flag" ||
14466 test ! -s conftest.err
14467 } && test -s conftest.$ac_objext; then
14468 ac_cv_type_pthread_rwlockattr_t=yes
14469 else
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14473 ac_cv_type_pthread_rwlockattr_t=no
14476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14478 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14479 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14480 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14482 cat >>confdefs.h <<_ACEOF
14483 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14484 _ACEOF
14490 ac_wine_check_funcs_save_LIBS="$LIBS"
14491 LIBS="$LIBS $LIBPTHREAD"
14496 for ac_func in \
14497 pthread_attr_get_np \
14498 pthread_getattr_np \
14499 pthread_get_stackaddr_np \
14500 pthread_get_stacksize_np
14502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14506 echo $ECHO_N "(cached) $ECHO_C" >&6
14507 else
14508 cat >conftest.$ac_ext <<_ACEOF
14509 /* confdefs.h. */
14510 _ACEOF
14511 cat confdefs.h >>conftest.$ac_ext
14512 cat >>conftest.$ac_ext <<_ACEOF
14513 /* end confdefs.h. */
14514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14516 #define $ac_func innocuous_$ac_func
14518 /* System header to define __stub macros and hopefully few prototypes,
14519 which can conflict with char $ac_func (); below.
14520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14521 <limits.h> exists even on freestanding compilers. */
14523 #ifdef __STDC__
14524 # include <limits.h>
14525 #else
14526 # include <assert.h>
14527 #endif
14529 #undef $ac_func
14531 /* Override any GCC internal prototype to avoid an error.
14532 Use char because int might match the return type of a GCC
14533 builtin and then its argument prototype would still apply. */
14534 #ifdef __cplusplus
14535 extern "C"
14536 #endif
14537 char $ac_func ();
14538 /* The GNU C library defines this for functions which it implements
14539 to always fail with ENOSYS. Some functions are actually named
14540 something starting with __ and the normal name is an alias. */
14541 #if defined __stub_$ac_func || defined __stub___$ac_func
14542 choke me
14543 #endif
14546 main ()
14548 return $ac_func ();
14550 return 0;
14552 _ACEOF
14553 rm -f conftest.$ac_objext conftest$ac_exeext
14554 if { (ac_try="$ac_link"
14555 case "(($ac_try" in
14556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14558 esac
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_link") 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest$ac_exeext &&
14570 $as_test_x conftest$ac_exeext; then
14571 eval "$as_ac_var=yes"
14572 else
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.$ac_ext >&5
14576 eval "$as_ac_var=no"
14579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14580 conftest$ac_exeext conftest.$ac_ext
14582 ac_res=`eval echo '${'$as_ac_var'}'`
14583 { echo "$as_me:$LINENO: result: $ac_res" >&5
14584 echo "${ECHO_T}$ac_res" >&6; }
14585 if test `eval echo '${'$as_ac_var'}'` = yes; then
14586 cat >>confdefs.h <<_ACEOF
14587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14588 _ACEOF
14591 done
14593 LIBS="$ac_wine_check_funcs_save_LIBS"
14595 # Extract the first word of "esd-config", so it can be a program name with args.
14596 set dummy esd-config; ac_word=$2
14597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14599 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14600 echo $ECHO_N "(cached) $ECHO_C" >&6
14601 else
14602 case $ESDCONFIG in
14603 [\\/]* | ?:[\\/]*)
14604 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14608 for as_dir in $PATH
14610 IFS=$as_save_IFS
14611 test -z "$as_dir" && as_dir=.
14612 for ac_exec_ext in '' $ac_executable_extensions; do
14613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14614 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14616 break 2
14618 done
14619 done
14620 IFS=$as_save_IFS
14623 esac
14625 ESDCONFIG=$ac_cv_path_ESDCONFIG
14626 if test -n "$ESDCONFIG"; then
14627 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14628 echo "${ECHO_T}$ESDCONFIG" >&6; }
14629 else
14630 { echo "$as_me:$LINENO: result: no" >&5
14631 echo "${ECHO_T}no" >&6; }
14635 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14636 then
14637 ac_esd_incl=""
14638 for i in `$ESDCONFIG --cflags`
14640 case "$i" in
14641 -I*) ac_esd_incl="$ac_esd_incl $i";;
14642 esac
14643 done
14644 ac_esd_libs=`$ESDCONFIG --libs`
14645 save_CFLAGS="$CFLAGS"
14646 CFLAGS="$CFLAGS $ac_esd_incl"
14647 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14648 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14649 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14651 else
14652 ac_check_lib_save_LIBS=$LIBS
14653 LIBS="-lesd $ac_esd_libs $LIBS"
14654 cat >conftest.$ac_ext <<_ACEOF
14655 /* confdefs.h. */
14656 _ACEOF
14657 cat confdefs.h >>conftest.$ac_ext
14658 cat >>conftest.$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14661 /* Override any GCC internal prototype to avoid an error.
14662 Use char because int might match the return type of a GCC
14663 builtin and then its argument prototype would still apply. */
14664 #ifdef __cplusplus
14665 extern "C"
14666 #endif
14667 char esd_open_sound ();
14669 main ()
14671 return esd_open_sound ();
14673 return 0;
14675 _ACEOF
14676 rm -f conftest.$ac_objext conftest$ac_exeext
14677 if { (ac_try="$ac_link"
14678 case "(($ac_try" in
14679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14680 *) ac_try_echo=$ac_try;;
14681 esac
14682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14683 (eval "$ac_link") 2>conftest.er1
14684 ac_status=$?
14685 grep -v '^ *+' conftest.er1 >conftest.err
14686 rm -f conftest.er1
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } && {
14690 test -z "$ac_c_werror_flag" ||
14691 test ! -s conftest.err
14692 } && test -s conftest$ac_exeext &&
14693 $as_test_x conftest$ac_exeext; then
14694 ac_cv_lib_esd_esd_open_sound=yes
14695 else
14696 echo "$as_me: failed program was:" >&5
14697 sed 's/^/| /' conftest.$ac_ext >&5
14699 ac_cv_lib_esd_esd_open_sound=no
14702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14703 conftest$ac_exeext conftest.$ac_ext
14704 LIBS=$ac_check_lib_save_LIBS
14706 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14707 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14708 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14709 ESDINCL="$ac_esd_incl"
14711 ESDLIBS="$ac_esd_libs"
14714 cat >>confdefs.h <<\_ACEOF
14715 #define HAVE_ESD 1
14716 _ACEOF
14720 CFLAGS="$save_CFLAGS"
14723 ALSALIBS=""
14725 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14726 then
14727 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14728 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14729 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 else
14732 ac_check_lib_save_LIBS=$LIBS
14733 LIBS="-lasound $LIBS"
14734 cat >conftest.$ac_ext <<_ACEOF
14735 /* confdefs.h. */
14736 _ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14744 #ifdef __cplusplus
14745 extern "C"
14746 #endif
14747 char snd_pcm_hw_params_get_access ();
14749 main ()
14751 return snd_pcm_hw_params_get_access ();
14753 return 0;
14755 _ACEOF
14756 rm -f conftest.$ac_objext conftest$ac_exeext
14757 if { (ac_try="$ac_link"
14758 case "(($ac_try" in
14759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14760 *) ac_try_echo=$ac_try;;
14761 esac
14762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14763 (eval "$ac_link") 2>conftest.er1
14764 ac_status=$?
14765 grep -v '^ *+' conftest.er1 >conftest.err
14766 rm -f conftest.er1
14767 cat conftest.err >&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } && {
14770 test -z "$ac_c_werror_flag" ||
14771 test ! -s conftest.err
14772 } && test -s conftest$ac_exeext &&
14773 $as_test_x conftest$ac_exeext; then
14774 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14775 else
14776 echo "$as_me: failed program was:" >&5
14777 sed 's/^/| /' conftest.$ac_ext >&5
14779 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14783 conftest$ac_exeext conftest.$ac_ext
14784 LIBS=$ac_check_lib_save_LIBS
14786 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14787 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14788 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14789 cat >conftest.$ac_ext <<_ACEOF
14790 /* confdefs.h. */
14791 _ACEOF
14792 cat confdefs.h >>conftest.$ac_ext
14793 cat >>conftest.$ac_ext <<_ACEOF
14794 /* end confdefs.h. */
14795 #ifdef HAVE_ALSA_ASOUNDLIB_H
14796 #include <alsa/asoundlib.h>
14797 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14798 #include <sys/asoundlib.h>
14799 #endif
14801 main ()
14803 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14805 return 0;
14807 _ACEOF
14808 rm -f conftest.$ac_objext
14809 if { (ac_try="$ac_compile"
14810 case "(($ac_try" in
14811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14812 *) ac_try_echo=$ac_try;;
14813 esac
14814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14815 (eval "$ac_compile") 2>conftest.er1
14816 ac_status=$?
14817 grep -v '^ *+' conftest.er1 >conftest.err
14818 rm -f conftest.er1
14819 cat conftest.err >&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 (exit $ac_status); } && {
14822 test -z "$ac_c_werror_flag" ||
14823 test ! -s conftest.err
14824 } && test -s conftest.$ac_objext; then
14826 cat >>confdefs.h <<\_ACEOF
14827 #define HAVE_ALSA 1
14828 _ACEOF
14830 ALSALIBS="-lasound"
14831 else
14832 echo "$as_me: failed program was:" >&5
14833 sed 's/^/| /' conftest.$ac_ext >&5
14838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14843 AUDIOIOLIBS=""
14845 if test "$ac_cv_header_libaudioio_h" = "yes"
14846 then
14847 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14848 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14849 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14850 echo $ECHO_N "(cached) $ECHO_C" >&6
14851 else
14852 ac_check_lib_save_LIBS=$LIBS
14853 LIBS="-laudioio $LIBS"
14854 cat >conftest.$ac_ext <<_ACEOF
14855 /* confdefs.h. */
14856 _ACEOF
14857 cat confdefs.h >>conftest.$ac_ext
14858 cat >>conftest.$ac_ext <<_ACEOF
14859 /* end confdefs.h. */
14861 /* Override any GCC internal prototype to avoid an error.
14862 Use char because int might match the return type of a GCC
14863 builtin and then its argument prototype would still apply. */
14864 #ifdef __cplusplus
14865 extern "C"
14866 #endif
14867 char AudioIOGetVersion ();
14869 main ()
14871 return AudioIOGetVersion ();
14873 return 0;
14875 _ACEOF
14876 rm -f conftest.$ac_objext conftest$ac_exeext
14877 if { (ac_try="$ac_link"
14878 case "(($ac_try" in
14879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14880 *) ac_try_echo=$ac_try;;
14881 esac
14882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14883 (eval "$ac_link") 2>conftest.er1
14884 ac_status=$?
14885 grep -v '^ *+' conftest.er1 >conftest.err
14886 rm -f conftest.er1
14887 cat conftest.err >&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); } && {
14890 test -z "$ac_c_werror_flag" ||
14891 test ! -s conftest.err
14892 } && test -s conftest$ac_exeext &&
14893 $as_test_x conftest$ac_exeext; then
14894 ac_cv_lib_audioio_AudioIOGetVersion=yes
14895 else
14896 echo "$as_me: failed program was:" >&5
14897 sed 's/^/| /' conftest.$ac_ext >&5
14899 ac_cv_lib_audioio_AudioIOGetVersion=no
14902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14903 conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_check_lib_save_LIBS
14906 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14907 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14908 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14909 AUDIOIOLIBS="-laudioio"
14911 cat >>confdefs.h <<\_ACEOF
14912 #define HAVE_LIBAUDIOIO 1
14913 _ACEOF
14920 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14921 then
14922 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14923 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14924 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14925 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 else
14927 ac_check_soname_save_LIBS=$LIBS
14928 LIBS="-lcapi20 $LIBS"
14929 cat >conftest.$ac_ext <<_ACEOF
14930 /* confdefs.h. */
14931 _ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14936 /* Override any GCC internal prototype to avoid an error.
14937 Use char because int might match the return type of a GCC
14938 builtin and then its argument prototype would still apply. */
14939 #ifdef __cplusplus
14940 extern "C"
14941 #endif
14942 char capi20_register ();
14944 main ()
14946 return capi20_register ();
14948 return 0;
14950 _ACEOF
14951 rm -f conftest.$ac_objext conftest$ac_exeext
14952 if { (ac_try="$ac_link"
14953 case "(($ac_try" in
14954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14955 *) ac_try_echo=$ac_try;;
14956 esac
14957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14958 (eval "$ac_link") 2>conftest.er1
14959 ac_status=$?
14960 grep -v '^ *+' conftest.er1 >conftest.err
14961 rm -f conftest.er1
14962 cat conftest.err >&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); } && {
14965 test -z "$ac_c_werror_flag" ||
14966 test ! -s conftest.err
14967 } && test -s conftest$ac_exeext &&
14968 $as_test_x conftest$ac_exeext; then
14969 case "$LIBEXT" in
14970 dll) ;;
14971 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'` ;;
14972 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14973 esac
14974 else
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14982 conftest$ac_exeext conftest.$ac_ext
14983 LIBS=$ac_check_soname_save_LIBS
14985 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14986 { echo "$as_me:$LINENO: result: not found" >&5
14987 echo "${ECHO_T}not found" >&6; }
14989 else
14990 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14991 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14993 cat >>confdefs.h <<_ACEOF
14994 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14995 _ACEOF
15001 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15002 case "x$with_capi" in
15003 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15004 xno) ;;
15005 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15006 This is an error since --with-capi was requested." >&5
15007 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15008 This is an error since --with-capi was requested." >&2;}
15009 { (exit 1); exit 1; }; } ;;
15010 esac
15014 CUPSINCL=""
15016 if test "x$with_cups" != "xno"
15017 then
15018 ac_save_CPPFLAGS="$CPPFLAGS"
15019 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
15020 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
15021 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
15023 for ac_header in cups/cups.h
15025 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15026 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15027 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15032 ac_res=`eval echo '${'$as_ac_Header'}'`
15033 { echo "$as_me:$LINENO: result: $ac_res" >&5
15034 echo "${ECHO_T}$ac_res" >&6; }
15035 else
15036 # Is the header compilable?
15037 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15039 cat >conftest.$ac_ext <<_ACEOF
15040 /* confdefs.h. */
15041 _ACEOF
15042 cat confdefs.h >>conftest.$ac_ext
15043 cat >>conftest.$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15045 $ac_includes_default
15046 #include <$ac_header>
15047 _ACEOF
15048 rm -f conftest.$ac_objext
15049 if { (ac_try="$ac_compile"
15050 case "(($ac_try" in
15051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15052 *) ac_try_echo=$ac_try;;
15053 esac
15054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15055 (eval "$ac_compile") 2>conftest.er1
15056 ac_status=$?
15057 grep -v '^ *+' conftest.er1 >conftest.err
15058 rm -f conftest.er1
15059 cat conftest.err >&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); } && {
15062 test -z "$ac_c_werror_flag" ||
15063 test ! -s conftest.err
15064 } && test -s conftest.$ac_objext; then
15065 ac_header_compiler=yes
15066 else
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.$ac_ext >&5
15070 ac_header_compiler=no
15073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15074 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15075 echo "${ECHO_T}$ac_header_compiler" >&6; }
15077 # Is the header present?
15078 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15080 cat >conftest.$ac_ext <<_ACEOF
15081 /* confdefs.h. */
15082 _ACEOF
15083 cat confdefs.h >>conftest.$ac_ext
15084 cat >>conftest.$ac_ext <<_ACEOF
15085 /* end confdefs.h. */
15086 #include <$ac_header>
15087 _ACEOF
15088 if { (ac_try="$ac_cpp conftest.$ac_ext"
15089 case "(($ac_try" in
15090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15091 *) ac_try_echo=$ac_try;;
15092 esac
15093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15094 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15095 ac_status=$?
15096 grep -v '^ *+' conftest.er1 >conftest.err
15097 rm -f conftest.er1
15098 cat conftest.err >&5
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); } >/dev/null && {
15101 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15102 test ! -s conftest.err
15103 }; then
15104 ac_header_preproc=yes
15105 else
15106 echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.$ac_ext >&5
15109 ac_header_preproc=no
15112 rm -f conftest.err conftest.$ac_ext
15113 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15114 echo "${ECHO_T}$ac_header_preproc" >&6; }
15116 # So? What about this header?
15117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15118 yes:no: )
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15122 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15123 ac_header_preproc=yes
15125 no:yes:* )
15126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15130 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15131 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15132 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15133 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15136 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15137 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15138 ( cat <<\_ASBOX
15139 ## ------------------------------------ ##
15140 ## Report this to wine-devel@winehq.org ##
15141 ## ------------------------------------ ##
15142 _ASBOX
15143 ) | sed "s/^/$as_me: WARNING: /" >&2
15145 esac
15146 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15149 echo $ECHO_N "(cached) $ECHO_C" >&6
15150 else
15151 eval "$as_ac_Header=\$ac_header_preproc"
15153 ac_res=`eval echo '${'$as_ac_Header'}'`
15154 { echo "$as_me:$LINENO: result: $ac_res" >&5
15155 echo "${ECHO_T}$ac_res" >&6; }
15158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15159 cat >>confdefs.h <<_ACEOF
15160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15161 _ACEOF
15162 { echo "$as_me:$LINENO: checking for -lcups" >&5
15163 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15164 if test "${ac_cv_lib_soname_cups+set}" = set; then
15165 echo $ECHO_N "(cached) $ECHO_C" >&6
15166 else
15167 ac_check_soname_save_LIBS=$LIBS
15168 LIBS="-lcups $ac_cups_libs $LIBS"
15169 cat >conftest.$ac_ext <<_ACEOF
15170 /* confdefs.h. */
15171 _ACEOF
15172 cat confdefs.h >>conftest.$ac_ext
15173 cat >>conftest.$ac_ext <<_ACEOF
15174 /* end confdefs.h. */
15176 /* Override any GCC internal prototype to avoid an error.
15177 Use char because int might match the return type of a GCC
15178 builtin and then its argument prototype would still apply. */
15179 #ifdef __cplusplus
15180 extern "C"
15181 #endif
15182 char cupsGetDefault ();
15184 main ()
15186 return cupsGetDefault ();
15188 return 0;
15190 _ACEOF
15191 rm -f conftest.$ac_objext conftest$ac_exeext
15192 if { (ac_try="$ac_link"
15193 case "(($ac_try" in
15194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15195 *) ac_try_echo=$ac_try;;
15196 esac
15197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15198 (eval "$ac_link") 2>conftest.er1
15199 ac_status=$?
15200 grep -v '^ *+' conftest.er1 >conftest.err
15201 rm -f conftest.er1
15202 cat conftest.err >&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); } && {
15205 test -z "$ac_c_werror_flag" ||
15206 test ! -s conftest.err
15207 } && test -s conftest$ac_exeext &&
15208 $as_test_x conftest$ac_exeext; then
15209 case "$LIBEXT" in
15210 dll) ;;
15211 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'` ;;
15212 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15213 esac
15214 else
15215 echo "$as_me: failed program was:" >&5
15216 sed 's/^/| /' conftest.$ac_ext >&5
15221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15222 conftest$ac_exeext conftest.$ac_ext
15223 LIBS=$ac_check_soname_save_LIBS
15225 if test "x$ac_cv_lib_soname_cups" = "x"; then
15226 { echo "$as_me:$LINENO: result: not found" >&5
15227 echo "${ECHO_T}not found" >&6; }
15229 else
15230 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15231 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15233 cat >>confdefs.h <<_ACEOF
15234 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15235 _ACEOF
15237 CUPSINCL="$ac_cups_cflags"
15242 done
15244 CPPFLAGS="$ac_save_CPPFLAGS"
15246 if test "x$ac_cv_lib_soname_cups" = "x"; then
15247 case "x$with_cups" in
15248 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15249 xno) ;;
15250 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15251 This is an error since --with-cups was requested." >&5
15252 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15253 This is an error since --with-cups was requested." >&2;}
15254 { (exit 1); exit 1; }; } ;;
15255 esac
15259 if test "$ac_cv_header_jack_jack_h" = "yes"
15260 then
15261 { echo "$as_me:$LINENO: checking for -ljack" >&5
15262 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15263 if test "${ac_cv_lib_soname_jack+set}" = set; then
15264 echo $ECHO_N "(cached) $ECHO_C" >&6
15265 else
15266 ac_check_soname_save_LIBS=$LIBS
15267 LIBS="-ljack $LIBS"
15268 cat >conftest.$ac_ext <<_ACEOF
15269 /* confdefs.h. */
15270 _ACEOF
15271 cat confdefs.h >>conftest.$ac_ext
15272 cat >>conftest.$ac_ext <<_ACEOF
15273 /* end confdefs.h. */
15275 /* Override any GCC internal prototype to avoid an error.
15276 Use char because int might match the return type of a GCC
15277 builtin and then its argument prototype would still apply. */
15278 #ifdef __cplusplus
15279 extern "C"
15280 #endif
15281 char jack_client_new ();
15283 main ()
15285 return jack_client_new ();
15287 return 0;
15289 _ACEOF
15290 rm -f conftest.$ac_objext conftest$ac_exeext
15291 if { (ac_try="$ac_link"
15292 case "(($ac_try" in
15293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15294 *) ac_try_echo=$ac_try;;
15295 esac
15296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15297 (eval "$ac_link") 2>conftest.er1
15298 ac_status=$?
15299 grep -v '^ *+' conftest.er1 >conftest.err
15300 rm -f conftest.er1
15301 cat conftest.err >&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } && {
15304 test -z "$ac_c_werror_flag" ||
15305 test ! -s conftest.err
15306 } && test -s conftest$ac_exeext &&
15307 $as_test_x conftest$ac_exeext; then
15308 case "$LIBEXT" in
15309 dll) ;;
15310 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15311 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15312 esac
15313 else
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15321 conftest$ac_exeext conftest.$ac_ext
15322 LIBS=$ac_check_soname_save_LIBS
15324 if test "x$ac_cv_lib_soname_jack" = "x"; then
15325 { echo "$as_me:$LINENO: result: not found" >&5
15326 echo "${ECHO_T}not found" >&6; }
15328 else
15329 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15330 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15332 cat >>confdefs.h <<_ACEOF
15333 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15334 _ACEOF
15341 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15342 then
15343 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15344 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15345 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 else
15348 ac_check_soname_save_LIBS=$LIBS
15349 LIBS="-lfontconfig $LIBS"
15350 cat >conftest.$ac_ext <<_ACEOF
15351 /* confdefs.h. */
15352 _ACEOF
15353 cat confdefs.h >>conftest.$ac_ext
15354 cat >>conftest.$ac_ext <<_ACEOF
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15360 #ifdef __cplusplus
15361 extern "C"
15362 #endif
15363 char FcInit ();
15365 main ()
15367 return FcInit ();
15369 return 0;
15371 _ACEOF
15372 rm -f conftest.$ac_objext conftest$ac_exeext
15373 if { (ac_try="$ac_link"
15374 case "(($ac_try" in
15375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15376 *) ac_try_echo=$ac_try;;
15377 esac
15378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15379 (eval "$ac_link") 2>conftest.er1
15380 ac_status=$?
15381 grep -v '^ *+' conftest.er1 >conftest.err
15382 rm -f conftest.er1
15383 cat conftest.err >&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } && {
15386 test -z "$ac_c_werror_flag" ||
15387 test ! -s conftest.err
15388 } && test -s conftest$ac_exeext &&
15389 $as_test_x conftest$ac_exeext; then
15390 case "$LIBEXT" in
15391 dll) ;;
15392 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'` ;;
15393 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15394 esac
15395 else
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.$ac_ext >&5
15402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15403 conftest$ac_exeext conftest.$ac_ext
15404 LIBS=$ac_check_soname_save_LIBS
15406 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15407 { echo "$as_me:$LINENO: result: not found" >&5
15408 echo "${ECHO_T}not found" >&6; }
15410 else
15411 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15412 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15414 cat >>confdefs.h <<_ACEOF
15415 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15416 _ACEOF
15421 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15422 then
15423 ac_save_CPPFLAGS="$CPPFLAGS"
15424 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15425 $as_unset ac_cv_header_fontconfig_fontconfig_h
15427 for ac_header in fontconfig/fontconfig.h
15429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15434 echo $ECHO_N "(cached) $ECHO_C" >&6
15436 ac_res=`eval echo '${'$as_ac_Header'}'`
15437 { echo "$as_me:$LINENO: result: $ac_res" >&5
15438 echo "${ECHO_T}$ac_res" >&6; }
15439 else
15440 # Is the header compilable?
15441 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15442 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15443 cat >conftest.$ac_ext <<_ACEOF
15444 /* confdefs.h. */
15445 _ACEOF
15446 cat confdefs.h >>conftest.$ac_ext
15447 cat >>conftest.$ac_ext <<_ACEOF
15448 /* end confdefs.h. */
15449 $ac_includes_default
15450 #include <$ac_header>
15451 _ACEOF
15452 rm -f conftest.$ac_objext
15453 if { (ac_try="$ac_compile"
15454 case "(($ac_try" in
15455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15456 *) ac_try_echo=$ac_try;;
15457 esac
15458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15459 (eval "$ac_compile") 2>conftest.er1
15460 ac_status=$?
15461 grep -v '^ *+' conftest.er1 >conftest.err
15462 rm -f conftest.er1
15463 cat conftest.err >&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); } && {
15466 test -z "$ac_c_werror_flag" ||
15467 test ! -s conftest.err
15468 } && test -s conftest.$ac_objext; then
15469 ac_header_compiler=yes
15470 else
15471 echo "$as_me: failed program was:" >&5
15472 sed 's/^/| /' conftest.$ac_ext >&5
15474 ac_header_compiler=no
15477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15478 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15479 echo "${ECHO_T}$ac_header_compiler" >&6; }
15481 # Is the header present?
15482 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15484 cat >conftest.$ac_ext <<_ACEOF
15485 /* confdefs.h. */
15486 _ACEOF
15487 cat confdefs.h >>conftest.$ac_ext
15488 cat >>conftest.$ac_ext <<_ACEOF
15489 /* end confdefs.h. */
15490 #include <$ac_header>
15491 _ACEOF
15492 if { (ac_try="$ac_cpp conftest.$ac_ext"
15493 case "(($ac_try" in
15494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15495 *) ac_try_echo=$ac_try;;
15496 esac
15497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15499 ac_status=$?
15500 grep -v '^ *+' conftest.er1 >conftest.err
15501 rm -f conftest.er1
15502 cat conftest.err >&5
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); } >/dev/null && {
15505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15506 test ! -s conftest.err
15507 }; then
15508 ac_header_preproc=yes
15509 else
15510 echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15513 ac_header_preproc=no
15516 rm -f conftest.err conftest.$ac_ext
15517 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15518 echo "${ECHO_T}$ac_header_preproc" >&6; }
15520 # So? What about this header?
15521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15522 yes:no: )
15523 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15524 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15526 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15527 ac_header_preproc=yes
15529 no:yes:* )
15530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15534 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15535 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15536 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15537 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15539 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15540 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15541 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15542 ( cat <<\_ASBOX
15543 ## ------------------------------------ ##
15544 ## Report this to wine-devel@winehq.org ##
15545 ## ------------------------------------ ##
15546 _ASBOX
15547 ) | sed "s/^/$as_me: WARNING: /" >&2
15549 esac
15550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 else
15555 eval "$as_ac_Header=\$ac_header_preproc"
15557 ac_res=`eval echo '${'$as_ac_Header'}'`
15558 { echo "$as_me:$LINENO: result: $ac_res" >&5
15559 echo "${ECHO_T}$ac_res" >&6; }
15562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15563 cat >>confdefs.h <<_ACEOF
15564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15565 _ACEOF
15569 done
15571 CPPFLAGS="$ac_save_CPPFLAGS"
15572 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15573 then
15574 FONTCONFIGINCL="$X_CFLAGS"
15576 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15577 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15578 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15579 echo $ECHO_N "(cached) $ECHO_C" >&6
15580 else
15581 ac_check_soname_save_LIBS=$LIBS
15582 LIBS="-lfontconfig $X_LIBS $LIBS"
15583 cat >conftest.$ac_ext <<_ACEOF
15584 /* confdefs.h. */
15585 _ACEOF
15586 cat confdefs.h >>conftest.$ac_ext
15587 cat >>conftest.$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15590 /* Override any GCC internal prototype to avoid an error.
15591 Use char because int might match the return type of a GCC
15592 builtin and then its argument prototype would still apply. */
15593 #ifdef __cplusplus
15594 extern "C"
15595 #endif
15596 char FcInit ();
15598 main ()
15600 return FcInit ();
15602 return 0;
15604 _ACEOF
15605 rm -f conftest.$ac_objext conftest$ac_exeext
15606 if { (ac_try="$ac_link"
15607 case "(($ac_try" in
15608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15609 *) ac_try_echo=$ac_try;;
15610 esac
15611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15612 (eval "$ac_link") 2>conftest.er1
15613 ac_status=$?
15614 grep -v '^ *+' conftest.er1 >conftest.err
15615 rm -f conftest.er1
15616 cat conftest.err >&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } && {
15619 test -z "$ac_c_werror_flag" ||
15620 test ! -s conftest.err
15621 } && test -s conftest$ac_exeext &&
15622 $as_test_x conftest$ac_exeext; then
15623 case "$LIBEXT" in
15624 dll) ;;
15625 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'` ;;
15626 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15627 esac
15628 else
15629 echo "$as_me: failed program was:" >&5
15630 sed 's/^/| /' conftest.$ac_ext >&5
15635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15636 conftest$ac_exeext conftest.$ac_ext
15637 LIBS=$ac_check_soname_save_LIBS
15639 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15640 { echo "$as_me:$LINENO: result: not found" >&5
15641 echo "${ECHO_T}not found" >&6; }
15643 else
15644 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15645 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15647 cat >>confdefs.h <<_ACEOF
15648 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15649 _ACEOF
15656 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15657 case "x$with_fontconfig" in
15658 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15659 xno) ;;
15660 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15661 This is an error since --with-fontconfig was requested." >&5
15662 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15663 This is an error since --with-fontconfig was requested." >&2;}
15664 { (exit 1); exit 1; }; } ;;
15665 esac
15669 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15670 then
15671 { echo "$as_me:$LINENO: checking for -lssl" >&5
15672 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15673 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15675 else
15676 ac_check_soname_save_LIBS=$LIBS
15677 LIBS="-lssl $LIBS"
15678 cat >conftest.$ac_ext <<_ACEOF
15679 /* confdefs.h. */
15680 _ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15685 /* Override any GCC internal prototype to avoid an error.
15686 Use char because int might match the return type of a GCC
15687 builtin and then its argument prototype would still apply. */
15688 #ifdef __cplusplus
15689 extern "C"
15690 #endif
15691 char SSL_library_init ();
15693 main ()
15695 return SSL_library_init ();
15697 return 0;
15699 _ACEOF
15700 rm -f conftest.$ac_objext conftest$ac_exeext
15701 if { (ac_try="$ac_link"
15702 case "(($ac_try" in
15703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15704 *) ac_try_echo=$ac_try;;
15705 esac
15706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15707 (eval "$ac_link") 2>conftest.er1
15708 ac_status=$?
15709 grep -v '^ *+' conftest.er1 >conftest.err
15710 rm -f conftest.er1
15711 cat conftest.err >&5
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); } && {
15714 test -z "$ac_c_werror_flag" ||
15715 test ! -s conftest.err
15716 } && test -s conftest$ac_exeext &&
15717 $as_test_x conftest$ac_exeext; then
15718 case "$LIBEXT" in
15719 dll) ;;
15720 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'` ;;
15721 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15722 esac
15723 else
15724 echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.$ac_ext >&5
15730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15731 conftest$ac_exeext conftest.$ac_ext
15732 LIBS=$ac_check_soname_save_LIBS
15734 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15735 { echo "$as_me:$LINENO: result: not found" >&5
15736 echo "${ECHO_T}not found" >&6; }
15738 else
15739 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15740 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15742 cat >>confdefs.h <<_ACEOF
15743 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15744 _ACEOF
15749 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15750 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15751 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15752 echo $ECHO_N "(cached) $ECHO_C" >&6
15753 else
15754 ac_check_soname_save_LIBS=$LIBS
15755 LIBS="-lcrypto $LIBS"
15756 cat >conftest.$ac_ext <<_ACEOF
15757 /* confdefs.h. */
15758 _ACEOF
15759 cat confdefs.h >>conftest.$ac_ext
15760 cat >>conftest.$ac_ext <<_ACEOF
15761 /* end confdefs.h. */
15763 /* Override any GCC internal prototype to avoid an error.
15764 Use char because int might match the return type of a GCC
15765 builtin and then its argument prototype would still apply. */
15766 #ifdef __cplusplus
15767 extern "C"
15768 #endif
15769 char BIO_new_socket ();
15771 main ()
15773 return BIO_new_socket ();
15775 return 0;
15777 _ACEOF
15778 rm -f conftest.$ac_objext conftest$ac_exeext
15779 if { (ac_try="$ac_link"
15780 case "(($ac_try" in
15781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15782 *) ac_try_echo=$ac_try;;
15783 esac
15784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15785 (eval "$ac_link") 2>conftest.er1
15786 ac_status=$?
15787 grep -v '^ *+' conftest.er1 >conftest.err
15788 rm -f conftest.er1
15789 cat conftest.err >&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } && {
15792 test -z "$ac_c_werror_flag" ||
15793 test ! -s conftest.err
15794 } && test -s conftest$ac_exeext &&
15795 $as_test_x conftest$ac_exeext; then
15796 case "$LIBEXT" in
15797 dll) ;;
15798 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'` ;;
15799 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15800 esac
15801 else
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15809 conftest$ac_exeext conftest.$ac_ext
15810 LIBS=$ac_check_soname_save_LIBS
15812 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15813 { echo "$as_me:$LINENO: result: not found" >&5
15814 echo "${ECHO_T}not found" >&6; }
15816 else
15817 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15818 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15820 cat >>confdefs.h <<_ACEOF
15821 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15822 _ACEOF
15828 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15829 case "x$with_openssl" in
15830 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15831 xno) ;;
15832 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15833 This is an error since --with-openssl was requested." >&5
15834 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15835 This is an error since --with-openssl was requested." >&2;}
15836 { (exit 1); exit 1; }; } ;;
15837 esac
15841 if test "$ac_cv_header_jpeglib_h" = "yes"
15842 then
15843 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15844 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15845 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15846 echo $ECHO_N "(cached) $ECHO_C" >&6
15847 else
15848 ac_check_soname_save_LIBS=$LIBS
15849 LIBS="-ljpeg $LIBS"
15850 cat >conftest.$ac_ext <<_ACEOF
15851 /* confdefs.h. */
15852 _ACEOF
15853 cat confdefs.h >>conftest.$ac_ext
15854 cat >>conftest.$ac_ext <<_ACEOF
15855 /* end confdefs.h. */
15857 /* Override any GCC internal prototype to avoid an error.
15858 Use char because int might match the return type of a GCC
15859 builtin and then its argument prototype would still apply. */
15860 #ifdef __cplusplus
15861 extern "C"
15862 #endif
15863 char jpeg_start_decompress ();
15865 main ()
15867 return jpeg_start_decompress ();
15869 return 0;
15871 _ACEOF
15872 rm -f conftest.$ac_objext conftest$ac_exeext
15873 if { (ac_try="$ac_link"
15874 case "(($ac_try" in
15875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15876 *) ac_try_echo=$ac_try;;
15877 esac
15878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15879 (eval "$ac_link") 2>conftest.er1
15880 ac_status=$?
15881 grep -v '^ *+' conftest.er1 >conftest.err
15882 rm -f conftest.er1
15883 cat conftest.err >&5
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); } && {
15886 test -z "$ac_c_werror_flag" ||
15887 test ! -s conftest.err
15888 } && test -s conftest$ac_exeext &&
15889 $as_test_x conftest$ac_exeext; then
15890 case "$LIBEXT" in
15891 dll) ;;
15892 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'` ;;
15893 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15894 esac
15895 else
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.$ac_ext >&5
15902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15903 conftest$ac_exeext conftest.$ac_ext
15904 LIBS=$ac_check_soname_save_LIBS
15906 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15907 { echo "$as_me:$LINENO: result: not found" >&5
15908 echo "${ECHO_T}not found" >&6; }
15910 else
15911 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15912 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15914 cat >>confdefs.h <<_ACEOF
15915 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15916 _ACEOF
15922 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15923 case "x$with_jpeg" in
15924 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15925 xno) ;;
15926 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15927 This is an error since --with-jpeg was requested." >&5
15928 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15929 This is an error since --with-jpeg was requested." >&2;}
15930 { (exit 1); exit 1; }; } ;;
15931 esac
15935 if test "$ac_cv_header_png_h" = "yes"
15936 then
15937 { echo "$as_me:$LINENO: checking for -lpng" >&5
15938 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15939 if test "${ac_cv_lib_soname_png+set}" = set; then
15940 echo $ECHO_N "(cached) $ECHO_C" >&6
15941 else
15942 ac_check_soname_save_LIBS=$LIBS
15943 LIBS="-lpng -lm $LIBS"
15944 cat >conftest.$ac_ext <<_ACEOF
15945 /* confdefs.h. */
15946 _ACEOF
15947 cat confdefs.h >>conftest.$ac_ext
15948 cat >>conftest.$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15951 /* Override any GCC internal prototype to avoid an error.
15952 Use char because int might match the return type of a GCC
15953 builtin and then its argument prototype would still apply. */
15954 #ifdef __cplusplus
15955 extern "C"
15956 #endif
15957 char png_create_read_struct ();
15959 main ()
15961 return png_create_read_struct ();
15963 return 0;
15965 _ACEOF
15966 rm -f conftest.$ac_objext conftest$ac_exeext
15967 if { (ac_try="$ac_link"
15968 case "(($ac_try" in
15969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15970 *) ac_try_echo=$ac_try;;
15971 esac
15972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15973 (eval "$ac_link") 2>conftest.er1
15974 ac_status=$?
15975 grep -v '^ *+' conftest.er1 >conftest.err
15976 rm -f conftest.er1
15977 cat conftest.err >&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); } && {
15980 test -z "$ac_c_werror_flag" ||
15981 test ! -s conftest.err
15982 } && test -s conftest$ac_exeext &&
15983 $as_test_x conftest$ac_exeext; then
15984 case "$LIBEXT" in
15985 dll) ;;
15986 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'` ;;
15987 *) 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'` ;;
15988 esac
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15997 conftest$ac_exeext conftest.$ac_ext
15998 LIBS=$ac_check_soname_save_LIBS
16000 if test "x$ac_cv_lib_soname_png" = "x"; then
16001 { echo "$as_me:$LINENO: result: not found" >&5
16002 echo "${ECHO_T}not found" >&6; }
16004 else
16005 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16006 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16008 cat >>confdefs.h <<_ACEOF
16009 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16010 _ACEOF
16016 if test "x$ac_cv_lib_soname_png" = "x"; then
16017 case "x$with_png" in
16018 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16019 xno) ;;
16020 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16021 This is an error since --with-png was requested." >&5
16022 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16023 This is an error since --with-png was requested." >&2;}
16024 { (exit 1); exit 1; }; } ;;
16025 esac
16029 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16030 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16031 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16032 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 else
16034 ac_check_soname_save_LIBS=$LIBS
16035 LIBS="-lodbc $LIBS"
16036 cat >conftest.$ac_ext <<_ACEOF
16037 /* confdefs.h. */
16038 _ACEOF
16039 cat confdefs.h >>conftest.$ac_ext
16040 cat >>conftest.$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16043 /* Override any GCC internal prototype to avoid an error.
16044 Use char because int might match the return type of a GCC
16045 builtin and then its argument prototype would still apply. */
16046 #ifdef __cplusplus
16047 extern "C"
16048 #endif
16049 char SQLConnect ();
16051 main ()
16053 return SQLConnect ();
16055 return 0;
16057 _ACEOF
16058 rm -f conftest.$ac_objext conftest$ac_exeext
16059 if { (ac_try="$ac_link"
16060 case "(($ac_try" in
16061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16062 *) ac_try_echo=$ac_try;;
16063 esac
16064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16065 (eval "$ac_link") 2>conftest.er1
16066 ac_status=$?
16067 grep -v '^ *+' conftest.er1 >conftest.err
16068 rm -f conftest.er1
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } && {
16072 test -z "$ac_c_werror_flag" ||
16073 test ! -s conftest.err
16074 } && test -s conftest$ac_exeext &&
16075 $as_test_x conftest$ac_exeext; then
16076 case "$LIBEXT" in
16077 dll) ;;
16078 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'` ;;
16079 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16080 esac
16081 else
16082 echo "$as_me: failed program was:" >&5
16083 sed 's/^/| /' conftest.$ac_ext >&5
16088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16089 conftest$ac_exeext conftest.$ac_ext
16090 LIBS=$ac_check_soname_save_LIBS
16092 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16093 { echo "$as_me:$LINENO: result: not found" >&5
16094 echo "${ECHO_T}not found" >&6; }
16095 cat >>confdefs.h <<_ACEOF
16096 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16097 _ACEOF
16099 else
16100 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16101 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16103 cat >>confdefs.h <<_ACEOF
16104 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16105 _ACEOF
16111 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
16112 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16113 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16114 "$ac_cv_header_soundcard_h" != "yes" -a \
16115 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16116 then
16117 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16121 EXTRACFLAGS=""
16123 if test "x${GCC}" = "xyes"
16124 then
16125 EXTRACFLAGS="-Wall -pipe"
16127 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16128 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16129 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16130 echo $ECHO_N "(cached) $ECHO_C" >&6
16131 else
16132 if test "$cross_compiling" = yes; then
16133 ac_cv_c_gcc_strength_bug="yes"
16134 else
16135 cat >conftest.$ac_ext <<_ACEOF
16136 /* confdefs.h. */
16137 _ACEOF
16138 cat confdefs.h >>conftest.$ac_ext
16139 cat >>conftest.$ac_ext <<_ACEOF
16140 /* end confdefs.h. */
16141 int L[4] = {0,1,2,3};
16143 main ()
16145 static int Array[3];
16146 unsigned int B = 3;
16147 int i;
16148 for(i=0; i<B; i++) Array[i] = i - 3;
16149 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16150 L[i] = 4;
16151 exit( Array[1] != -2 || L[2] != 3)
16153 return 0;
16155 _ACEOF
16156 rm -f conftest$ac_exeext
16157 if { (ac_try="$ac_link"
16158 case "(($ac_try" in
16159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16160 *) ac_try_echo=$ac_try;;
16161 esac
16162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16163 (eval "$ac_link") 2>&5
16164 ac_status=$?
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16167 { (case "(($ac_try" in
16168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16169 *) ac_try_echo=$ac_try;;
16170 esac
16171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16172 (eval "$ac_try") 2>&5
16173 ac_status=$?
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); }; }; then
16176 ac_cv_c_gcc_strength_bug="no"
16177 else
16178 echo "$as_me: program exited with status $ac_status" >&5
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.$ac_ext >&5
16182 ( exit $ac_status )
16183 ac_cv_c_gcc_strength_bug="yes"
16185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16190 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16191 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16192 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16193 then
16194 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16198 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16199 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16200 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 else
16203 ac_wine_try_cflags_saved=$CFLAGS
16204 CFLAGS="$CFLAGS -fshort-wchar"
16205 cat >conftest.$ac_ext <<_ACEOF
16206 /* confdefs.h. */
16207 _ACEOF
16208 cat confdefs.h >>conftest.$ac_ext
16209 cat >>conftest.$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16213 main ()
16217 return 0;
16219 _ACEOF
16220 rm -f conftest.$ac_objext conftest$ac_exeext
16221 if { (ac_try="$ac_link"
16222 case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16225 esac
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_link") 2>conftest.er1
16228 ac_status=$?
16229 grep -v '^ *+' conftest.er1 >conftest.err
16230 rm -f conftest.er1
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } && {
16234 test -z "$ac_c_werror_flag" ||
16235 test ! -s conftest.err
16236 } && test -s conftest$ac_exeext &&
16237 $as_test_x conftest$ac_exeext; then
16238 ac_cv_cflags__fshort_wchar=yes
16239 else
16240 echo "$as_me: failed program was:" >&5
16241 sed 's/^/| /' conftest.$ac_ext >&5
16243 ac_cv_cflags__fshort_wchar=no
16246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16247 conftest$ac_exeext conftest.$ac_ext
16248 CFLAGS=$ac_wine_try_cflags_saved
16250 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16251 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16252 if test $ac_cv_cflags__fshort_wchar = yes; then
16254 cat >>confdefs.h <<\_ACEOF
16255 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16256 _ACEOF
16260 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16261 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16262 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16263 echo $ECHO_N "(cached) $ECHO_C" >&6
16264 else
16265 ac_wine_try_cflags_saved=$CFLAGS
16266 CFLAGS="$CFLAGS -fno-strict-aliasing"
16267 cat >conftest.$ac_ext <<_ACEOF
16268 /* confdefs.h. */
16269 _ACEOF
16270 cat confdefs.h >>conftest.$ac_ext
16271 cat >>conftest.$ac_ext <<_ACEOF
16272 /* end confdefs.h. */
16275 main ()
16279 return 0;
16281 _ACEOF
16282 rm -f conftest.$ac_objext conftest$ac_exeext
16283 if { (ac_try="$ac_link"
16284 case "(($ac_try" in
16285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16286 *) ac_try_echo=$ac_try;;
16287 esac
16288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16289 (eval "$ac_link") 2>conftest.er1
16290 ac_status=$?
16291 grep -v '^ *+' conftest.er1 >conftest.err
16292 rm -f conftest.er1
16293 cat conftest.err >&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } && {
16296 test -z "$ac_c_werror_flag" ||
16297 test ! -s conftest.err
16298 } && test -s conftest$ac_exeext &&
16299 $as_test_x conftest$ac_exeext; then
16300 ac_cv_cflags__fno_strict_aliasing=yes
16301 else
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.$ac_ext >&5
16305 ac_cv_cflags__fno_strict_aliasing=no
16308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16309 conftest$ac_exeext conftest.$ac_ext
16310 CFLAGS=$ac_wine_try_cflags_saved
16312 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16313 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16314 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16315 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16318 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16319 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16320 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16321 echo $ECHO_N "(cached) $ECHO_C" >&6
16322 else
16323 ac_wine_try_cflags_saved=$CFLAGS
16324 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16325 cat >conftest.$ac_ext <<_ACEOF
16326 /* confdefs.h. */
16327 _ACEOF
16328 cat confdefs.h >>conftest.$ac_ext
16329 cat >>conftest.$ac_ext <<_ACEOF
16330 /* end confdefs.h. */
16333 main ()
16337 return 0;
16339 _ACEOF
16340 rm -f conftest.$ac_objext conftest$ac_exeext
16341 if { (ac_try="$ac_link"
16342 case "(($ac_try" in
16343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16344 *) ac_try_echo=$ac_try;;
16345 esac
16346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16347 (eval "$ac_link") 2>conftest.er1
16348 ac_status=$?
16349 grep -v '^ *+' conftest.er1 >conftest.err
16350 rm -f conftest.er1
16351 cat conftest.err >&5
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); } && {
16354 test -z "$ac_c_werror_flag" ||
16355 test ! -s conftest.err
16356 } && test -s conftest$ac_exeext &&
16357 $as_test_x conftest$ac_exeext; then
16358 ac_cv_cflags__Wdeclaration_after_statement=yes
16359 else
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16363 ac_cv_cflags__Wdeclaration_after_statement=no
16366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16367 conftest$ac_exeext conftest.$ac_ext
16368 CFLAGS=$ac_wine_try_cflags_saved
16370 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16371 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16372 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16373 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16376 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16377 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16378 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16379 echo $ECHO_N "(cached) $ECHO_C" >&6
16380 else
16381 ac_wine_try_cflags_saved=$CFLAGS
16382 CFLAGS="$CFLAGS -Wwrite-strings"
16383 cat >conftest.$ac_ext <<_ACEOF
16384 /* confdefs.h. */
16385 _ACEOF
16386 cat confdefs.h >>conftest.$ac_ext
16387 cat >>conftest.$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16391 main ()
16395 return 0;
16397 _ACEOF
16398 rm -f conftest.$ac_objext conftest$ac_exeext
16399 if { (ac_try="$ac_link"
16400 case "(($ac_try" in
16401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16402 *) ac_try_echo=$ac_try;;
16403 esac
16404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16405 (eval "$ac_link") 2>conftest.er1
16406 ac_status=$?
16407 grep -v '^ *+' conftest.er1 >conftest.err
16408 rm -f conftest.er1
16409 cat conftest.err >&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } && {
16412 test -z "$ac_c_werror_flag" ||
16413 test ! -s conftest.err
16414 } && test -s conftest$ac_exeext &&
16415 $as_test_x conftest$ac_exeext; then
16416 ac_cv_cflags__Wwrite_strings=yes
16417 else
16418 echo "$as_me: failed program was:" >&5
16419 sed 's/^/| /' conftest.$ac_ext >&5
16421 ac_cv_cflags__Wwrite_strings=no
16424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16425 conftest$ac_exeext conftest.$ac_ext
16426 CFLAGS=$ac_wine_try_cflags_saved
16428 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16429 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16430 if test $ac_cv_cflags__Wwrite_strings = yes; then
16431 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16434 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16435 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16436 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16437 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 else
16439 ac_wine_try_cflags_saved=$CFLAGS
16440 CFLAGS="$CFLAGS -Wtype-limits"
16441 cat >conftest.$ac_ext <<_ACEOF
16442 /* confdefs.h. */
16443 _ACEOF
16444 cat confdefs.h >>conftest.$ac_ext
16445 cat >>conftest.$ac_ext <<_ACEOF
16446 /* end confdefs.h. */
16449 main ()
16453 return 0;
16455 _ACEOF
16456 rm -f conftest.$ac_objext conftest$ac_exeext
16457 if { (ac_try="$ac_link"
16458 case "(($ac_try" in
16459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16460 *) ac_try_echo=$ac_try;;
16461 esac
16462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16463 (eval "$ac_link") 2>conftest.er1
16464 ac_status=$?
16465 grep -v '^ *+' conftest.er1 >conftest.err
16466 rm -f conftest.er1
16467 cat conftest.err >&5
16468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16469 (exit $ac_status); } && {
16470 test -z "$ac_c_werror_flag" ||
16471 test ! -s conftest.err
16472 } && test -s conftest$ac_exeext &&
16473 $as_test_x conftest$ac_exeext; then
16474 ac_cv_cflags__Wtype_limits=yes
16475 else
16476 echo "$as_me: failed program was:" >&5
16477 sed 's/^/| /' conftest.$ac_ext >&5
16479 ac_cv_cflags__Wtype_limits=no
16482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16483 conftest$ac_exeext conftest.$ac_ext
16484 CFLAGS=$ac_wine_try_cflags_saved
16486 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16487 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16488 if test $ac_cv_cflags__Wtype_limits = yes; then
16489 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16493 saved_CFLAGS="$CFLAGS"
16494 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16495 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16496 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16497 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16498 echo $ECHO_N "(cached) $ECHO_C" >&6
16499 else
16500 cat >conftest.$ac_ext <<_ACEOF
16501 /* confdefs.h. */
16502 _ACEOF
16503 cat confdefs.h >>conftest.$ac_ext
16504 cat >>conftest.$ac_ext <<_ACEOF
16505 /* end confdefs.h. */
16506 #include <string.h>
16508 main ()
16512 return 0;
16514 _ACEOF
16515 rm -f conftest.$ac_objext
16516 if { (ac_try="$ac_compile"
16517 case "(($ac_try" in
16518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16519 *) ac_try_echo=$ac_try;;
16520 esac
16521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16522 (eval "$ac_compile") 2>conftest.er1
16523 ac_status=$?
16524 grep -v '^ *+' conftest.er1 >conftest.err
16525 rm -f conftest.er1
16526 cat conftest.err >&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); } && {
16529 test -z "$ac_c_werror_flag" ||
16530 test ! -s conftest.err
16531 } && test -s conftest.$ac_objext; then
16532 ac_cv_c_string_h_warnings=no
16533 else
16534 echo "$as_me: failed program was:" >&5
16535 sed 's/^/| /' conftest.$ac_ext >&5
16537 ac_cv_c_string_h_warnings=yes
16540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16542 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16543 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16544 CFLAGS="$saved_CFLAGS"
16545 if test "$ac_cv_c_string_h_warnings" = "no"
16546 then
16547 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16550 BUILTINFLAG=""
16552 saved_CFLAGS="$CFLAGS"
16553 CFLAGS="$CFLAGS -Werror"
16554 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16555 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16556 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 else
16559 cat >conftest.$ac_ext <<_ACEOF
16560 /* confdefs.h. */
16561 _ACEOF
16562 cat confdefs.h >>conftest.$ac_ext
16563 cat >>conftest.$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16567 main ()
16569 int iswlower(unsigned short);
16571 return 0;
16573 _ACEOF
16574 rm -f conftest.$ac_objext
16575 if { (ac_try="$ac_compile"
16576 case "(($ac_try" in
16577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16578 *) ac_try_echo=$ac_try;;
16579 esac
16580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16581 (eval "$ac_compile") 2>conftest.er1
16582 ac_status=$?
16583 grep -v '^ *+' conftest.er1 >conftest.err
16584 rm -f conftest.er1
16585 cat conftest.err >&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } && {
16588 test -z "$ac_c_werror_flag" ||
16589 test ! -s conftest.err
16590 } && test -s conftest.$ac_objext; then
16591 ac_cv_c_builtin_wchar_ctype=no
16592 else
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.$ac_ext >&5
16596 ac_cv_c_builtin_wchar_ctype=yes
16599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16601 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16602 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16603 CFLAGS="$saved_CFLAGS"
16604 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16605 then
16606 BUILTINFLAG="-fno-builtin"
16611 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16612 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16613 if test "${ac_cv_asm_func_def+set}" = set; then
16614 echo $ECHO_N "(cached) $ECHO_C" >&6
16615 else
16616 cat >conftest.$ac_ext <<_ACEOF
16617 /* confdefs.h. */
16618 _ACEOF
16619 cat confdefs.h >>conftest.$ac_ext
16620 cat >>conftest.$ac_ext <<_ACEOF
16621 /* end confdefs.h. */
16624 main ()
16626 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16628 return 0;
16630 _ACEOF
16631 rm -f conftest.$ac_objext conftest$ac_exeext
16632 if { (ac_try="$ac_link"
16633 case "(($ac_try" in
16634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16635 *) ac_try_echo=$ac_try;;
16636 esac
16637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16638 (eval "$ac_link") 2>conftest.er1
16639 ac_status=$?
16640 grep -v '^ *+' conftest.er1 >conftest.err
16641 rm -f conftest.er1
16642 cat conftest.err >&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); } && {
16645 test -z "$ac_c_werror_flag" ||
16646 test ! -s conftest.err
16647 } && test -s conftest$ac_exeext &&
16648 $as_test_x conftest$ac_exeext; then
16649 ac_cv_asm_func_def=".def"
16650 else
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16654 cat >conftest.$ac_ext <<_ACEOF
16655 /* confdefs.h. */
16656 _ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16662 main ()
16664 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16666 return 0;
16668 _ACEOF
16669 rm -f conftest.$ac_objext conftest$ac_exeext
16670 if { (ac_try="$ac_link"
16671 case "(($ac_try" in
16672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16673 *) ac_try_echo=$ac_try;;
16674 esac
16675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16676 (eval "$ac_link") 2>conftest.er1
16677 ac_status=$?
16678 grep -v '^ *+' conftest.er1 >conftest.err
16679 rm -f conftest.er1
16680 cat conftest.err >&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); } && {
16683 test -z "$ac_c_werror_flag" ||
16684 test ! -s conftest.err
16685 } && test -s conftest$ac_exeext &&
16686 $as_test_x conftest$ac_exeext; then
16687 ac_cv_asm_func_def=".type @function"
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16692 cat >conftest.$ac_ext <<_ACEOF
16693 /* confdefs.h. */
16694 _ACEOF
16695 cat confdefs.h >>conftest.$ac_ext
16696 cat >>conftest.$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16700 main ()
16702 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16704 return 0;
16706 _ACEOF
16707 rm -f conftest.$ac_objext conftest$ac_exeext
16708 if { (ac_try="$ac_link"
16709 case "(($ac_try" in
16710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16711 *) ac_try_echo=$ac_try;;
16712 esac
16713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16714 (eval "$ac_link") 2>conftest.er1
16715 ac_status=$?
16716 grep -v '^ *+' conftest.er1 >conftest.err
16717 rm -f conftest.er1
16718 cat conftest.err >&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_c_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest$ac_exeext &&
16724 $as_test_x conftest$ac_exeext; then
16725 ac_cv_asm_func_def=".type 2"
16726 else
16727 echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16730 ac_cv_asm_func_def="unknown"
16733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16734 conftest$ac_exeext conftest.$ac_ext
16737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16738 conftest$ac_exeext conftest.$ac_ext
16741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16742 conftest$ac_exeext conftest.$ac_ext
16744 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16745 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16749 case "$ac_cv_asm_func_def" in
16750 ".def")
16751 cat >>confdefs.h <<\_ACEOF
16752 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16753 _ACEOF
16755 ".type @function")
16756 cat >>confdefs.h <<\_ACEOF
16757 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16758 _ACEOF
16760 ".type 2")
16761 cat >>confdefs.h <<\_ACEOF
16762 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16763 _ACEOF
16766 cat >>confdefs.h <<\_ACEOF
16767 #define __ASM_FUNC(name) ""
16768 _ACEOF
16770 esac
16773 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16774 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16775 if test "${ac_cv_c_extern_prefix+set}" = set; then
16776 echo $ECHO_N "(cached) $ECHO_C" >&6
16777 else
16778 cat >conftest.$ac_ext <<_ACEOF
16779 /* confdefs.h. */
16780 _ACEOF
16781 cat confdefs.h >>conftest.$ac_ext
16782 cat >>conftest.$ac_ext <<_ACEOF
16783 /* end confdefs.h. */
16784 extern int ac_test;
16786 main ()
16788 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16790 return 0;
16792 _ACEOF
16793 rm -f conftest.$ac_objext conftest$ac_exeext
16794 if { (ac_try="$ac_link"
16795 case "(($ac_try" in
16796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16797 *) ac_try_echo=$ac_try;;
16798 esac
16799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16800 (eval "$ac_link") 2>conftest.er1
16801 ac_status=$?
16802 grep -v '^ *+' conftest.er1 >conftest.err
16803 rm -f conftest.er1
16804 cat conftest.err >&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); } && {
16807 test -z "$ac_c_werror_flag" ||
16808 test ! -s conftest.err
16809 } && test -s conftest$ac_exeext &&
16810 $as_test_x conftest$ac_exeext; then
16811 ac_cv_c_extern_prefix="yes"
16812 else
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.$ac_ext >&5
16816 ac_cv_c_extern_prefix="no"
16819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16820 conftest$ac_exeext conftest.$ac_ext
16822 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16823 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16827 if test "$ac_cv_c_extern_prefix" = "yes"
16828 then
16829 cat >>confdefs.h <<\_ACEOF
16830 #define __ASM_NAME(name) "_" name
16831 _ACEOF
16833 else
16834 cat >>confdefs.h <<\_ACEOF
16835 #define __ASM_NAME(name) name
16836 _ACEOF
16841 LDPATH=""
16843 case $build_os in
16844 cygwin*|mingw32*)
16845 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16847 darwin*|macosx*)
16849 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16850 then
16851 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16855 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16857 esac
16859 case $host_os in
16860 mingw32*)
16861 CRTLIBS="-lmsvcrt"
16863 SOCKETLIBS="-lws2_32"
16866 esac
16868 MAIN_BINARY="wine-pthread"
16869 case $host_cpu in
16870 *i[3456789]86*)
16871 case $host_os in
16872 linux* | k*bsd*-gnu)
16873 MAIN_BINARY="wine-glibc"
16875 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16877 freebsd*)
16878 MAIN_BINARY="wine-freebsd"
16880 EXTRA_BINARIES="wine-pthread"
16882 esac
16884 esac
16956 for ac_func in \
16957 _pclose \
16958 _popen \
16959 _snprintf \
16960 _spawnvp \
16961 _strdup \
16962 _stricmp \
16963 _strnicmp \
16964 _strtoi64 \
16965 _strtoui64 \
16966 _vsnprintf \
16967 asctime_r \
16968 chsize \
16969 clone \
16970 dlopen \
16971 epoll_create \
16972 ffs \
16973 finite \
16974 fork \
16975 fpclass \
16976 fstatfs \
16977 fstatvfs \
16978 ftruncate \
16979 futimes \
16980 futimesat \
16981 getdirentries \
16982 getopt_long \
16983 getpagesize \
16984 getpwuid \
16985 gettid \
16986 gettimeofday \
16987 getuid \
16988 inet_pton \
16989 kqueue \
16990 lstat \
16991 memmove \
16992 mmap \
16993 pclose \
16994 poll \
16995 popen \
16996 prctl \
16997 pread \
16998 pwrite \
16999 readlink \
17000 rfork \
17001 sched_yield \
17002 select \
17003 setproctitle \
17004 setrlimit \
17005 settimeofday \
17006 sigaltstack \
17007 sigprocmask \
17008 snprintf \
17009 spawnvp \
17010 statfs \
17011 statvfs \
17012 strcasecmp \
17013 strdup \
17014 strerror \
17015 strncasecmp \
17016 strtold \
17017 strtoll \
17018 strtoull \
17019 tcgetattr \
17020 thr_kill2 \
17021 timegm \
17022 usleep \
17023 vsnprintf \
17024 wait4 \
17025 waitpid \
17028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17029 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17031 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17032 echo $ECHO_N "(cached) $ECHO_C" >&6
17033 else
17034 cat >conftest.$ac_ext <<_ACEOF
17035 /* confdefs.h. */
17036 _ACEOF
17037 cat confdefs.h >>conftest.$ac_ext
17038 cat >>conftest.$ac_ext <<_ACEOF
17039 /* end confdefs.h. */
17040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17042 #define $ac_func innocuous_$ac_func
17044 /* System header to define __stub macros and hopefully few prototypes,
17045 which can conflict with char $ac_func (); below.
17046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17047 <limits.h> exists even on freestanding compilers. */
17049 #ifdef __STDC__
17050 # include <limits.h>
17051 #else
17052 # include <assert.h>
17053 #endif
17055 #undef $ac_func
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17060 #ifdef __cplusplus
17061 extern "C"
17062 #endif
17063 char $ac_func ();
17064 /* The GNU C library defines this for functions which it implements
17065 to always fail with ENOSYS. Some functions are actually named
17066 something starting with __ and the normal name is an alias. */
17067 #if defined __stub_$ac_func || defined __stub___$ac_func
17068 choke me
17069 #endif
17072 main ()
17074 return $ac_func ();
17076 return 0;
17078 _ACEOF
17079 rm -f conftest.$ac_objext conftest$ac_exeext
17080 if { (ac_try="$ac_link"
17081 case "(($ac_try" in
17082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17083 *) ac_try_echo=$ac_try;;
17084 esac
17085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17086 (eval "$ac_link") 2>conftest.er1
17087 ac_status=$?
17088 grep -v '^ *+' conftest.er1 >conftest.err
17089 rm -f conftest.er1
17090 cat conftest.err >&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } && {
17093 test -z "$ac_c_werror_flag" ||
17094 test ! -s conftest.err
17095 } && test -s conftest$ac_exeext &&
17096 $as_test_x conftest$ac_exeext; then
17097 eval "$as_ac_var=yes"
17098 else
17099 echo "$as_me: failed program was:" >&5
17100 sed 's/^/| /' conftest.$ac_ext >&5
17102 eval "$as_ac_var=no"
17105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17106 conftest$ac_exeext conftest.$ac_ext
17108 ac_res=`eval echo '${'$as_ac_var'}'`
17109 { echo "$as_me:$LINENO: result: $ac_res" >&5
17110 echo "${ECHO_T}$ac_res" >&6; }
17111 if test `eval echo '${'$as_ac_var'}'` = yes; then
17112 cat >>confdefs.h <<_ACEOF
17113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17114 _ACEOF
17117 done
17120 if test "$ac_cv_func_dlopen" = no
17121 then
17122 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17123 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17124 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 else
17127 ac_check_lib_save_LIBS=$LIBS
17128 LIBS="-ldl $LIBS"
17129 cat >conftest.$ac_ext <<_ACEOF
17130 /* confdefs.h. */
17131 _ACEOF
17132 cat confdefs.h >>conftest.$ac_ext
17133 cat >>conftest.$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17136 /* Override any GCC internal prototype to avoid an error.
17137 Use char because int might match the return type of a GCC
17138 builtin and then its argument prototype would still apply. */
17139 #ifdef __cplusplus
17140 extern "C"
17141 #endif
17142 char dlopen ();
17144 main ()
17146 return dlopen ();
17148 return 0;
17150 _ACEOF
17151 rm -f conftest.$ac_objext conftest$ac_exeext
17152 if { (ac_try="$ac_link"
17153 case "(($ac_try" in
17154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17155 *) ac_try_echo=$ac_try;;
17156 esac
17157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17158 (eval "$ac_link") 2>conftest.er1
17159 ac_status=$?
17160 grep -v '^ *+' conftest.er1 >conftest.err
17161 rm -f conftest.er1
17162 cat conftest.err >&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } && {
17165 test -z "$ac_c_werror_flag" ||
17166 test ! -s conftest.err
17167 } && test -s conftest$ac_exeext &&
17168 $as_test_x conftest$ac_exeext; then
17169 ac_cv_lib_dl_dlopen=yes
17170 else
17171 echo "$as_me: failed program was:" >&5
17172 sed 's/^/| /' conftest.$ac_ext >&5
17174 ac_cv_lib_dl_dlopen=no
17177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17178 conftest$ac_exeext conftest.$ac_ext
17179 LIBS=$ac_check_lib_save_LIBS
17181 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17182 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17183 if test $ac_cv_lib_dl_dlopen = yes; then
17184 cat >>confdefs.h <<\_ACEOF
17185 #define HAVE_DLOPEN 1
17186 _ACEOF
17187 LIBDL="-ldl"
17192 ac_wine_check_funcs_save_LIBS="$LIBS"
17193 LIBS="$LIBS $LIBDL"
17195 for ac_func in dladdr
17197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17198 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17200 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 else
17203 cat >conftest.$ac_ext <<_ACEOF
17204 /* confdefs.h. */
17205 _ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17211 #define $ac_func innocuous_$ac_func
17213 /* System header to define __stub macros and hopefully few prototypes,
17214 which can conflict with char $ac_func (); below.
17215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17216 <limits.h> exists even on freestanding compilers. */
17218 #ifdef __STDC__
17219 # include <limits.h>
17220 #else
17221 # include <assert.h>
17222 #endif
17224 #undef $ac_func
17226 /* Override any GCC internal prototype to avoid an error.
17227 Use char because int might match the return type of a GCC
17228 builtin and then its argument prototype would still apply. */
17229 #ifdef __cplusplus
17230 extern "C"
17231 #endif
17232 char $ac_func ();
17233 /* The GNU C library defines this for functions which it implements
17234 to always fail with ENOSYS. Some functions are actually named
17235 something starting with __ and the normal name is an alias. */
17236 #if defined __stub_$ac_func || defined __stub___$ac_func
17237 choke me
17238 #endif
17241 main ()
17243 return $ac_func ();
17245 return 0;
17247 _ACEOF
17248 rm -f conftest.$ac_objext conftest$ac_exeext
17249 if { (ac_try="$ac_link"
17250 case "(($ac_try" in
17251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17252 *) ac_try_echo=$ac_try;;
17253 esac
17254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17255 (eval "$ac_link") 2>conftest.er1
17256 ac_status=$?
17257 grep -v '^ *+' conftest.er1 >conftest.err
17258 rm -f conftest.er1
17259 cat conftest.err >&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); } && {
17262 test -z "$ac_c_werror_flag" ||
17263 test ! -s conftest.err
17264 } && test -s conftest$ac_exeext &&
17265 $as_test_x conftest$ac_exeext; then
17266 eval "$as_ac_var=yes"
17267 else
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.$ac_ext >&5
17271 eval "$as_ac_var=no"
17274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17275 conftest$ac_exeext conftest.$ac_ext
17277 ac_res=`eval echo '${'$as_ac_var'}'`
17278 { echo "$as_me:$LINENO: result: $ac_res" >&5
17279 echo "${ECHO_T}$ac_res" >&6; }
17280 if test `eval echo '${'$as_ac_var'}'` = yes; then
17281 cat >>confdefs.h <<_ACEOF
17282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17283 _ACEOF
17286 done
17288 LIBS="$ac_wine_check_funcs_save_LIBS"
17290 if test "$ac_cv_func_poll" = no
17291 then
17292 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17293 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17294 if test "${ac_cv_lib_poll_poll+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 else
17297 ac_check_lib_save_LIBS=$LIBS
17298 LIBS="-lpoll $LIBS"
17299 cat >conftest.$ac_ext <<_ACEOF
17300 /* confdefs.h. */
17301 _ACEOF
17302 cat confdefs.h >>conftest.$ac_ext
17303 cat >>conftest.$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17306 /* Override any GCC internal prototype to avoid an error.
17307 Use char because int might match the return type of a GCC
17308 builtin and then its argument prototype would still apply. */
17309 #ifdef __cplusplus
17310 extern "C"
17311 #endif
17312 char poll ();
17314 main ()
17316 return poll ();
17318 return 0;
17320 _ACEOF
17321 rm -f conftest.$ac_objext conftest$ac_exeext
17322 if { (ac_try="$ac_link"
17323 case "(($ac_try" in
17324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17325 *) ac_try_echo=$ac_try;;
17326 esac
17327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17328 (eval "$ac_link") 2>conftest.er1
17329 ac_status=$?
17330 grep -v '^ *+' conftest.er1 >conftest.err
17331 rm -f conftest.er1
17332 cat conftest.err >&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } && {
17335 test -z "$ac_c_werror_flag" ||
17336 test ! -s conftest.err
17337 } && test -s conftest$ac_exeext &&
17338 $as_test_x conftest$ac_exeext; then
17339 ac_cv_lib_poll_poll=yes
17340 else
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.$ac_ext >&5
17344 ac_cv_lib_poll_poll=no
17347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17348 conftest$ac_exeext conftest.$ac_ext
17349 LIBS=$ac_check_lib_save_LIBS
17351 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17352 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17353 if test $ac_cv_lib_poll_poll = yes; then
17354 cat >>confdefs.h <<\_ACEOF
17355 #define HAVE_POLL 1
17356 _ACEOF
17357 LIBPOLL="-lpoll"
17363 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17364 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17365 if test "${ac_cv_search_gethostbyname+set}" = set; then
17366 echo $ECHO_N "(cached) $ECHO_C" >&6
17367 else
17368 ac_func_search_save_LIBS=$LIBS
17369 cat >conftest.$ac_ext <<_ACEOF
17370 /* confdefs.h. */
17371 _ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17376 /* Override any GCC internal prototype to avoid an error.
17377 Use char because int might match the return type of a GCC
17378 builtin and then its argument prototype would still apply. */
17379 #ifdef __cplusplus
17380 extern "C"
17381 #endif
17382 char gethostbyname ();
17384 main ()
17386 return gethostbyname ();
17388 return 0;
17390 _ACEOF
17391 for ac_lib in '' nsl; do
17392 if test -z "$ac_lib"; then
17393 ac_res="none required"
17394 else
17395 ac_res=-l$ac_lib
17396 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17398 rm -f conftest.$ac_objext conftest$ac_exeext
17399 if { (ac_try="$ac_link"
17400 case "(($ac_try" in
17401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17402 *) ac_try_echo=$ac_try;;
17403 esac
17404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17405 (eval "$ac_link") 2>conftest.er1
17406 ac_status=$?
17407 grep -v '^ *+' conftest.er1 >conftest.err
17408 rm -f conftest.er1
17409 cat conftest.err >&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } && {
17412 test -z "$ac_c_werror_flag" ||
17413 test ! -s conftest.err
17414 } && test -s conftest$ac_exeext &&
17415 $as_test_x conftest$ac_exeext; then
17416 ac_cv_search_gethostbyname=$ac_res
17417 else
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17425 conftest$ac_exeext
17426 if test "${ac_cv_search_gethostbyname+set}" = set; then
17427 break
17429 done
17430 if test "${ac_cv_search_gethostbyname+set}" = set; then
17432 else
17433 ac_cv_search_gethostbyname=no
17435 rm conftest.$ac_ext
17436 LIBS=$ac_func_search_save_LIBS
17438 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17439 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17440 ac_res=$ac_cv_search_gethostbyname
17441 if test "$ac_res" != no; then
17442 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17447 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17448 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17449 if test "${ac_cv_search_connect+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 else
17452 ac_func_search_save_LIBS=$LIBS
17453 cat >conftest.$ac_ext <<_ACEOF
17454 /* confdefs.h. */
17455 _ACEOF
17456 cat confdefs.h >>conftest.$ac_ext
17457 cat >>conftest.$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17460 /* Override any GCC internal prototype to avoid an error.
17461 Use char because int might match the return type of a GCC
17462 builtin and then its argument prototype would still apply. */
17463 #ifdef __cplusplus
17464 extern "C"
17465 #endif
17466 char connect ();
17468 main ()
17470 return connect ();
17472 return 0;
17474 _ACEOF
17475 for ac_lib in '' socket; do
17476 if test -z "$ac_lib"; then
17477 ac_res="none required"
17478 else
17479 ac_res=-l$ac_lib
17480 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17482 rm -f conftest.$ac_objext conftest$ac_exeext
17483 if { (ac_try="$ac_link"
17484 case "(($ac_try" in
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486 *) ac_try_echo=$ac_try;;
17487 esac
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_link") 2>conftest.er1
17490 ac_status=$?
17491 grep -v '^ *+' conftest.er1 >conftest.err
17492 rm -f conftest.er1
17493 cat conftest.err >&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } && {
17496 test -z "$ac_c_werror_flag" ||
17497 test ! -s conftest.err
17498 } && test -s conftest$ac_exeext &&
17499 $as_test_x conftest$ac_exeext; then
17500 ac_cv_search_connect=$ac_res
17501 else
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.$ac_ext >&5
17508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17509 conftest$ac_exeext
17510 if test "${ac_cv_search_connect+set}" = set; then
17511 break
17513 done
17514 if test "${ac_cv_search_connect+set}" = set; then
17516 else
17517 ac_cv_search_connect=no
17519 rm conftest.$ac_ext
17520 LIBS=$ac_func_search_save_LIBS
17522 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17523 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17524 ac_res=$ac_cv_search_connect
17525 if test "$ac_res" != no; then
17526 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17531 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17532 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17533 if test "${ac_cv_search_inet_aton+set}" = set; then
17534 echo $ECHO_N "(cached) $ECHO_C" >&6
17535 else
17536 ac_func_search_save_LIBS=$LIBS
17537 cat >conftest.$ac_ext <<_ACEOF
17538 /* confdefs.h. */
17539 _ACEOF
17540 cat confdefs.h >>conftest.$ac_ext
17541 cat >>conftest.$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17544 /* Override any GCC internal prototype to avoid an error.
17545 Use char because int might match the return type of a GCC
17546 builtin and then its argument prototype would still apply. */
17547 #ifdef __cplusplus
17548 extern "C"
17549 #endif
17550 char inet_aton ();
17552 main ()
17554 return inet_aton ();
17556 return 0;
17558 _ACEOF
17559 for ac_lib in '' resolv; do
17560 if test -z "$ac_lib"; then
17561 ac_res="none required"
17562 else
17563 ac_res=-l$ac_lib
17564 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17566 rm -f conftest.$ac_objext conftest$ac_exeext
17567 if { (ac_try="$ac_link"
17568 case "(($ac_try" in
17569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17570 *) ac_try_echo=$ac_try;;
17571 esac
17572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17573 (eval "$ac_link") 2>conftest.er1
17574 ac_status=$?
17575 grep -v '^ *+' conftest.er1 >conftest.err
17576 rm -f conftest.er1
17577 cat conftest.err >&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } && {
17580 test -z "$ac_c_werror_flag" ||
17581 test ! -s conftest.err
17582 } && test -s conftest$ac_exeext &&
17583 $as_test_x conftest$ac_exeext; then
17584 ac_cv_search_inet_aton=$ac_res
17585 else
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17593 conftest$ac_exeext
17594 if test "${ac_cv_search_inet_aton+set}" = set; then
17595 break
17597 done
17598 if test "${ac_cv_search_inet_aton+set}" = set; then
17600 else
17601 ac_cv_search_inet_aton=no
17603 rm conftest.$ac_ext
17604 LIBS=$ac_func_search_save_LIBS
17606 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17607 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17608 ac_res=$ac_cv_search_inet_aton
17609 if test "$ac_res" != no; then
17610 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17623 for ac_func in \
17624 getaddrinfo \
17625 getnameinfo \
17626 getnetbyname \
17627 getprotobyname \
17628 getprotobynumber \
17629 getservbyport \
17630 inet_network \
17631 sendmsg \
17634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17638 echo $ECHO_N "(cached) $ECHO_C" >&6
17639 else
17640 cat >conftest.$ac_ext <<_ACEOF
17641 /* confdefs.h. */
17642 _ACEOF
17643 cat confdefs.h >>conftest.$ac_ext
17644 cat >>conftest.$ac_ext <<_ACEOF
17645 /* end confdefs.h. */
17646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17648 #define $ac_func innocuous_$ac_func
17650 /* System header to define __stub macros and hopefully few prototypes,
17651 which can conflict with char $ac_func (); below.
17652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17653 <limits.h> exists even on freestanding compilers. */
17655 #ifdef __STDC__
17656 # include <limits.h>
17657 #else
17658 # include <assert.h>
17659 #endif
17661 #undef $ac_func
17663 /* Override any GCC internal prototype to avoid an error.
17664 Use char because int might match the return type of a GCC
17665 builtin and then its argument prototype would still apply. */
17666 #ifdef __cplusplus
17667 extern "C"
17668 #endif
17669 char $ac_func ();
17670 /* The GNU C library defines this for functions which it implements
17671 to always fail with ENOSYS. Some functions are actually named
17672 something starting with __ and the normal name is an alias. */
17673 #if defined __stub_$ac_func || defined __stub___$ac_func
17674 choke me
17675 #endif
17678 main ()
17680 return $ac_func ();
17682 return 0;
17684 _ACEOF
17685 rm -f conftest.$ac_objext conftest$ac_exeext
17686 if { (ac_try="$ac_link"
17687 case "(($ac_try" in
17688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17689 *) ac_try_echo=$ac_try;;
17690 esac
17691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17692 (eval "$ac_link") 2>conftest.er1
17693 ac_status=$?
17694 grep -v '^ *+' conftest.er1 >conftest.err
17695 rm -f conftest.er1
17696 cat conftest.err >&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } && {
17699 test -z "$ac_c_werror_flag" ||
17700 test ! -s conftest.err
17701 } && test -s conftest$ac_exeext &&
17702 $as_test_x conftest$ac_exeext; then
17703 eval "$as_ac_var=yes"
17704 else
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.$ac_ext >&5
17708 eval "$as_ac_var=no"
17711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17712 conftest$ac_exeext conftest.$ac_ext
17714 ac_res=`eval echo '${'$as_ac_var'}'`
17715 { echo "$as_me:$LINENO: result: $ac_res" >&5
17716 echo "${ECHO_T}$ac_res" >&6; }
17717 if test `eval echo '${'$as_ac_var'}'` = yes; then
17718 cat >>confdefs.h <<_ACEOF
17719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17720 _ACEOF
17723 done
17726 LDAPLIBS=""
17728 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17729 then
17730 { echo "$as_me:$LINENO: checking for LDAPSortKey" >&5
17731 echo $ECHO_N "checking for LDAPSortKey... $ECHO_C" >&6; }
17732 if test "${ac_cv_type_LDAPSortKey+set}" = set; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17734 else
17735 cat >conftest.$ac_ext <<_ACEOF
17736 /* confdefs.h. */
17737 _ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 #include <ldap.h>
17743 typedef LDAPSortKey ac__type_new_;
17745 main ()
17747 if ((ac__type_new_ *) 0)
17748 return 0;
17749 if (sizeof (ac__type_new_))
17750 return 0;
17752 return 0;
17754 _ACEOF
17755 rm -f conftest.$ac_objext
17756 if { (ac_try="$ac_compile"
17757 case "(($ac_try" in
17758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17759 *) ac_try_echo=$ac_try;;
17760 esac
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_compile") 2>conftest.er1
17763 ac_status=$?
17764 grep -v '^ *+' conftest.er1 >conftest.err
17765 rm -f conftest.er1
17766 cat conftest.err >&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } && {
17769 test -z "$ac_c_werror_flag" ||
17770 test ! -s conftest.err
17771 } && test -s conftest.$ac_objext; then
17772 ac_cv_type_LDAPSortKey=yes
17773 else
17774 echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.$ac_ext >&5
17777 ac_cv_type_LDAPSortKey=no
17780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782 { echo "$as_me:$LINENO: result: $ac_cv_type_LDAPSortKey" >&5
17783 echo "${ECHO_T}$ac_cv_type_LDAPSortKey" >&6; }
17784 if test $ac_cv_type_LDAPSortKey = yes; then
17785 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
17786 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
17787 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17789 else
17790 ac_check_lib_save_LIBS=$LIBS
17791 LIBS="-lldap_r $LIBPTHREAD $LIBS"
17792 cat >conftest.$ac_ext <<_ACEOF
17793 /* confdefs.h. */
17794 _ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17799 /* Override any GCC internal prototype to avoid an error.
17800 Use char because int might match the return type of a GCC
17801 builtin and then its argument prototype would still apply. */
17802 #ifdef __cplusplus
17803 extern "C"
17804 #endif
17805 char ldap_initialize ();
17807 main ()
17809 return ldap_initialize ();
17811 return 0;
17813 _ACEOF
17814 rm -f conftest.$ac_objext conftest$ac_exeext
17815 if { (ac_try="$ac_link"
17816 case "(($ac_try" in
17817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17818 *) ac_try_echo=$ac_try;;
17819 esac
17820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17821 (eval "$ac_link") 2>conftest.er1
17822 ac_status=$?
17823 grep -v '^ *+' conftest.er1 >conftest.err
17824 rm -f conftest.er1
17825 cat conftest.err >&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); } && {
17828 test -z "$ac_c_werror_flag" ||
17829 test ! -s conftest.err
17830 } && test -s conftest$ac_exeext &&
17831 $as_test_x conftest$ac_exeext; then
17832 ac_cv_lib_ldap_r_ldap_initialize=yes
17833 else
17834 echo "$as_me: failed program was:" >&5
17835 sed 's/^/| /' conftest.$ac_ext >&5
17837 ac_cv_lib_ldap_r_ldap_initialize=no
17840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17841 conftest$ac_exeext conftest.$ac_ext
17842 LIBS=$ac_check_lib_save_LIBS
17844 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17845 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17846 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
17847 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
17848 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
17849 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
17850 echo $ECHO_N "(cached) $ECHO_C" >&6
17851 else
17852 ac_check_lib_save_LIBS=$LIBS
17853 LIBS="-llber $LIBPTHREAD $LIBS"
17854 cat >conftest.$ac_ext <<_ACEOF
17855 /* confdefs.h. */
17856 _ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17861 /* Override any GCC internal prototype to avoid an error.
17862 Use char because int might match the return type of a GCC
17863 builtin and then its argument prototype would still apply. */
17864 #ifdef __cplusplus
17865 extern "C"
17866 #endif
17867 char ber_init ();
17869 main ()
17871 return ber_init ();
17873 return 0;
17875 _ACEOF
17876 rm -f conftest.$ac_objext conftest$ac_exeext
17877 if { (ac_try="$ac_link"
17878 case "(($ac_try" in
17879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17880 *) ac_try_echo=$ac_try;;
17881 esac
17882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17883 (eval "$ac_link") 2>conftest.er1
17884 ac_status=$?
17885 grep -v '^ *+' conftest.er1 >conftest.err
17886 rm -f conftest.er1
17887 cat conftest.err >&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } && {
17890 test -z "$ac_c_werror_flag" ||
17891 test ! -s conftest.err
17892 } && test -s conftest$ac_exeext &&
17893 $as_test_x conftest$ac_exeext; then
17894 ac_cv_lib_lber_ber_init=yes
17895 else
17896 echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.$ac_ext >&5
17899 ac_cv_lib_lber_ber_init=no
17902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17903 conftest$ac_exeext conftest.$ac_ext
17904 LIBS=$ac_check_lib_save_LIBS
17906 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
17907 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
17908 if test $ac_cv_lib_lber_ber_init = yes; then
17910 cat >>confdefs.h <<\_ACEOF
17911 #define HAVE_LDAP 1
17912 _ACEOF
17914 LDAPLIBS="-lldap_r -llber"
17921 ac_wine_check_funcs_save_LIBS="$LIBS"
17922 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
17931 for ac_func in \
17932 ldap_count_references \
17933 ldap_first_reference \
17934 ldap_next_reference \
17935 ldap_parse_reference \
17936 ldap_parse_sort_control \
17937 ldap_parse_sortresponse_control \
17938 ldap_parse_vlv_control \
17939 ldap_parse_vlvresponse_control
17941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17942 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17944 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17945 echo $ECHO_N "(cached) $ECHO_C" >&6
17946 else
17947 cat >conftest.$ac_ext <<_ACEOF
17948 /* confdefs.h. */
17949 _ACEOF
17950 cat confdefs.h >>conftest.$ac_ext
17951 cat >>conftest.$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17955 #define $ac_func innocuous_$ac_func
17957 /* System header to define __stub macros and hopefully few prototypes,
17958 which can conflict with char $ac_func (); below.
17959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17960 <limits.h> exists even on freestanding compilers. */
17962 #ifdef __STDC__
17963 # include <limits.h>
17964 #else
17965 # include <assert.h>
17966 #endif
17968 #undef $ac_func
17970 /* Override any GCC internal prototype to avoid an error.
17971 Use char because int might match the return type of a GCC
17972 builtin and then its argument prototype would still apply. */
17973 #ifdef __cplusplus
17974 extern "C"
17975 #endif
17976 char $ac_func ();
17977 /* The GNU C library defines this for functions which it implements
17978 to always fail with ENOSYS. Some functions are actually named
17979 something starting with __ and the normal name is an alias. */
17980 #if defined __stub_$ac_func || defined __stub___$ac_func
17981 choke me
17982 #endif
17985 main ()
17987 return $ac_func ();
17989 return 0;
17991 _ACEOF
17992 rm -f conftest.$ac_objext conftest$ac_exeext
17993 if { (ac_try="$ac_link"
17994 case "(($ac_try" in
17995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17996 *) ac_try_echo=$ac_try;;
17997 esac
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999 (eval "$ac_link") 2>conftest.er1
18000 ac_status=$?
18001 grep -v '^ *+' conftest.er1 >conftest.err
18002 rm -f conftest.er1
18003 cat conftest.err >&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && {
18006 test -z "$ac_c_werror_flag" ||
18007 test ! -s conftest.err
18008 } && test -s conftest$ac_exeext &&
18009 $as_test_x conftest$ac_exeext; then
18010 eval "$as_ac_var=yes"
18011 else
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.$ac_ext >&5
18015 eval "$as_ac_var=no"
18018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18019 conftest$ac_exeext conftest.$ac_ext
18021 ac_res=`eval echo '${'$as_ac_var'}'`
18022 { echo "$as_me:$LINENO: result: $ac_res" >&5
18023 echo "${ECHO_T}$ac_res" >&6; }
18024 if test `eval echo '${'$as_ac_var'}'` = yes; then
18025 cat >>confdefs.h <<_ACEOF
18026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18027 _ACEOF
18030 done
18032 LIBS="$ac_wine_check_funcs_save_LIBS"
18034 if test "x$LDAPLIBS" = "x"; then
18035 case "x$with_ldap" in
18036 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
18037 xno) ;;
18038 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18039 This is an error since --with-ldap was requested." >&5
18040 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18041 This is an error since --with-ldap was requested." >&2;}
18042 { (exit 1); exit 1; }; } ;;
18043 esac
18048 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18049 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18050 if test "${ac_cv_c_const+set}" = set; then
18051 echo $ECHO_N "(cached) $ECHO_C" >&6
18052 else
18053 cat >conftest.$ac_ext <<_ACEOF
18054 /* confdefs.h. */
18055 _ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18061 main ()
18063 /* FIXME: Include the comments suggested by Paul. */
18064 #ifndef __cplusplus
18065 /* Ultrix mips cc rejects this. */
18066 typedef int charset[2];
18067 const charset cs;
18068 /* SunOS 4.1.1 cc rejects this. */
18069 char const *const *pcpcc;
18070 char **ppc;
18071 /* NEC SVR4.0.2 mips cc rejects this. */
18072 struct point {int x, y;};
18073 static struct point const zero = {0,0};
18074 /* AIX XL C 1.02.0.0 rejects this.
18075 It does not let you subtract one const X* pointer from another in
18076 an arm of an if-expression whose if-part is not a constant
18077 expression */
18078 const char *g = "string";
18079 pcpcc = &g + (g ? g-g : 0);
18080 /* HPUX 7.0 cc rejects these. */
18081 ++pcpcc;
18082 ppc = (char**) pcpcc;
18083 pcpcc = (char const *const *) ppc;
18084 { /* SCO 3.2v4 cc rejects this. */
18085 char *t;
18086 char const *s = 0 ? (char *) 0 : (char const *) 0;
18088 *t++ = 0;
18089 if (s) return 0;
18091 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18092 int x[] = {25, 17};
18093 const int *foo = &x[0];
18094 ++foo;
18096 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18097 typedef const int *iptr;
18098 iptr p = 0;
18099 ++p;
18101 { /* AIX XL C 1.02.0.0 rejects this saying
18102 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18103 struct s { int j; const int *ap[3]; };
18104 struct s *b; b->j = 5;
18106 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18107 const int foo = 10;
18108 if (!foo) return 0;
18110 return !cs[0] && !zero.x;
18111 #endif
18114 return 0;
18116 _ACEOF
18117 rm -f conftest.$ac_objext
18118 if { (ac_try="$ac_compile"
18119 case "(($ac_try" in
18120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18121 *) ac_try_echo=$ac_try;;
18122 esac
18123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18124 (eval "$ac_compile") 2>conftest.er1
18125 ac_status=$?
18126 grep -v '^ *+' conftest.er1 >conftest.err
18127 rm -f conftest.er1
18128 cat conftest.err >&5
18129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130 (exit $ac_status); } && {
18131 test -z "$ac_c_werror_flag" ||
18132 test ! -s conftest.err
18133 } && test -s conftest.$ac_objext; then
18134 ac_cv_c_const=yes
18135 else
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.$ac_ext >&5
18139 ac_cv_c_const=no
18142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18144 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18145 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18146 if test $ac_cv_c_const = no; then
18148 cat >>confdefs.h <<\_ACEOF
18149 #define const
18150 _ACEOF
18154 { echo "$as_me:$LINENO: checking for inline" >&5
18155 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18156 if test "${ac_cv_c_inline+set}" = set; then
18157 echo $ECHO_N "(cached) $ECHO_C" >&6
18158 else
18159 ac_cv_c_inline=no
18160 for ac_kw in inline __inline__ __inline; do
18161 cat >conftest.$ac_ext <<_ACEOF
18162 /* confdefs.h. */
18163 _ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167 #ifndef __cplusplus
18168 typedef int foo_t;
18169 static $ac_kw foo_t static_foo () {return 0; }
18170 $ac_kw foo_t foo () {return 0; }
18171 #endif
18173 _ACEOF
18174 rm -f conftest.$ac_objext
18175 if { (ac_try="$ac_compile"
18176 case "(($ac_try" in
18177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18178 *) ac_try_echo=$ac_try;;
18179 esac
18180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18181 (eval "$ac_compile") 2>conftest.er1
18182 ac_status=$?
18183 grep -v '^ *+' conftest.er1 >conftest.err
18184 rm -f conftest.er1
18185 cat conftest.err >&5
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } && {
18188 test -z "$ac_c_werror_flag" ||
18189 test ! -s conftest.err
18190 } && test -s conftest.$ac_objext; then
18191 ac_cv_c_inline=$ac_kw
18192 else
18193 echo "$as_me: failed program was:" >&5
18194 sed 's/^/| /' conftest.$ac_ext >&5
18199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18200 test "$ac_cv_c_inline" != no && break
18201 done
18204 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18205 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18208 case $ac_cv_c_inline in
18209 inline | yes) ;;
18211 case $ac_cv_c_inline in
18212 no) ac_val=;;
18213 *) ac_val=$ac_cv_c_inline;;
18214 esac
18215 cat >>confdefs.h <<_ACEOF
18216 #ifndef __cplusplus
18217 #define inline $ac_val
18218 #endif
18219 _ACEOF
18221 esac
18223 { echo "$as_me:$LINENO: checking for mode_t" >&5
18224 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
18225 if test "${ac_cv_type_mode_t+set}" = set; then
18226 echo $ECHO_N "(cached) $ECHO_C" >&6
18227 else
18228 cat >conftest.$ac_ext <<_ACEOF
18229 /* confdefs.h. */
18230 _ACEOF
18231 cat confdefs.h >>conftest.$ac_ext
18232 cat >>conftest.$ac_ext <<_ACEOF
18233 /* end confdefs.h. */
18234 $ac_includes_default
18235 typedef mode_t ac__type_new_;
18237 main ()
18239 if ((ac__type_new_ *) 0)
18240 return 0;
18241 if (sizeof (ac__type_new_))
18242 return 0;
18244 return 0;
18246 _ACEOF
18247 rm -f conftest.$ac_objext
18248 if { (ac_try="$ac_compile"
18249 case "(($ac_try" in
18250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18251 *) ac_try_echo=$ac_try;;
18252 esac
18253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18254 (eval "$ac_compile") 2>conftest.er1
18255 ac_status=$?
18256 grep -v '^ *+' conftest.er1 >conftest.err
18257 rm -f conftest.er1
18258 cat conftest.err >&5
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); } && {
18261 test -z "$ac_c_werror_flag" ||
18262 test ! -s conftest.err
18263 } && test -s conftest.$ac_objext; then
18264 ac_cv_type_mode_t=yes
18265 else
18266 echo "$as_me: failed program was:" >&5
18267 sed 's/^/| /' conftest.$ac_ext >&5
18269 ac_cv_type_mode_t=no
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18274 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18275 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18276 if test $ac_cv_type_mode_t = yes; then
18278 cat >>confdefs.h <<_ACEOF
18279 #define HAVE_MODE_T 1
18280 _ACEOF
18284 { echo "$as_me:$LINENO: checking for off_t" >&5
18285 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18286 if test "${ac_cv_type_off_t+set}" = set; then
18287 echo $ECHO_N "(cached) $ECHO_C" >&6
18288 else
18289 cat >conftest.$ac_ext <<_ACEOF
18290 /* confdefs.h. */
18291 _ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 $ac_includes_default
18296 typedef off_t ac__type_new_;
18298 main ()
18300 if ((ac__type_new_ *) 0)
18301 return 0;
18302 if (sizeof (ac__type_new_))
18303 return 0;
18305 return 0;
18307 _ACEOF
18308 rm -f conftest.$ac_objext
18309 if { (ac_try="$ac_compile"
18310 case "(($ac_try" in
18311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18313 esac
18314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 (eval "$ac_compile") 2>conftest.er1
18316 ac_status=$?
18317 grep -v '^ *+' conftest.er1 >conftest.err
18318 rm -f conftest.er1
18319 cat conftest.err >&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && {
18322 test -z "$ac_c_werror_flag" ||
18323 test ! -s conftest.err
18324 } && test -s conftest.$ac_objext; then
18325 ac_cv_type_off_t=yes
18326 else
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18330 ac_cv_type_off_t=no
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18335 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18336 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18337 if test $ac_cv_type_off_t = yes; then
18339 cat >>confdefs.h <<_ACEOF
18340 #define HAVE_OFF_T 1
18341 _ACEOF
18345 { echo "$as_me:$LINENO: checking for pid_t" >&5
18346 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18347 if test "${ac_cv_type_pid_t+set}" = set; then
18348 echo $ECHO_N "(cached) $ECHO_C" >&6
18349 else
18350 cat >conftest.$ac_ext <<_ACEOF
18351 /* confdefs.h. */
18352 _ACEOF
18353 cat confdefs.h >>conftest.$ac_ext
18354 cat >>conftest.$ac_ext <<_ACEOF
18355 /* end confdefs.h. */
18356 $ac_includes_default
18357 typedef pid_t ac__type_new_;
18359 main ()
18361 if ((ac__type_new_ *) 0)
18362 return 0;
18363 if (sizeof (ac__type_new_))
18364 return 0;
18366 return 0;
18368 _ACEOF
18369 rm -f conftest.$ac_objext
18370 if { (ac_try="$ac_compile"
18371 case "(($ac_try" in
18372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18373 *) ac_try_echo=$ac_try;;
18374 esac
18375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18376 (eval "$ac_compile") 2>conftest.er1
18377 ac_status=$?
18378 grep -v '^ *+' conftest.er1 >conftest.err
18379 rm -f conftest.er1
18380 cat conftest.err >&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } && {
18383 test -z "$ac_c_werror_flag" ||
18384 test ! -s conftest.err
18385 } && test -s conftest.$ac_objext; then
18386 ac_cv_type_pid_t=yes
18387 else
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.$ac_ext >&5
18391 ac_cv_type_pid_t=no
18394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18396 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18397 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18398 if test $ac_cv_type_pid_t = yes; then
18400 cat >>confdefs.h <<_ACEOF
18401 #define HAVE_PID_T 1
18402 _ACEOF
18406 { echo "$as_me:$LINENO: checking for size_t" >&5
18407 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18408 if test "${ac_cv_type_size_t+set}" = set; then
18409 echo $ECHO_N "(cached) $ECHO_C" >&6
18410 else
18411 cat >conftest.$ac_ext <<_ACEOF
18412 /* confdefs.h. */
18413 _ACEOF
18414 cat confdefs.h >>conftest.$ac_ext
18415 cat >>conftest.$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18417 $ac_includes_default
18418 typedef size_t ac__type_new_;
18420 main ()
18422 if ((ac__type_new_ *) 0)
18423 return 0;
18424 if (sizeof (ac__type_new_))
18425 return 0;
18427 return 0;
18429 _ACEOF
18430 rm -f conftest.$ac_objext
18431 if { (ac_try="$ac_compile"
18432 case "(($ac_try" in
18433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18434 *) ac_try_echo=$ac_try;;
18435 esac
18436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18437 (eval "$ac_compile") 2>conftest.er1
18438 ac_status=$?
18439 grep -v '^ *+' conftest.er1 >conftest.err
18440 rm -f conftest.er1
18441 cat conftest.err >&5
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && {
18444 test -z "$ac_c_werror_flag" ||
18445 test ! -s conftest.err
18446 } && test -s conftest.$ac_objext; then
18447 ac_cv_type_size_t=yes
18448 else
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 ac_cv_type_size_t=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18457 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18458 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18459 if test $ac_cv_type_size_t = yes; then
18461 cat >>confdefs.h <<_ACEOF
18462 #define HAVE_SIZE_T 1
18463 _ACEOF
18467 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18468 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18469 if test "${ac_cv_type_ssize_t+set}" = set; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 else
18472 cat >conftest.$ac_ext <<_ACEOF
18473 /* confdefs.h. */
18474 _ACEOF
18475 cat confdefs.h >>conftest.$ac_ext
18476 cat >>conftest.$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18478 $ac_includes_default
18479 typedef ssize_t ac__type_new_;
18481 main ()
18483 if ((ac__type_new_ *) 0)
18484 return 0;
18485 if (sizeof (ac__type_new_))
18486 return 0;
18488 return 0;
18490 _ACEOF
18491 rm -f conftest.$ac_objext
18492 if { (ac_try="$ac_compile"
18493 case "(($ac_try" in
18494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18495 *) ac_try_echo=$ac_try;;
18496 esac
18497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18498 (eval "$ac_compile") 2>conftest.er1
18499 ac_status=$?
18500 grep -v '^ *+' conftest.er1 >conftest.err
18501 rm -f conftest.er1
18502 cat conftest.err >&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); } && {
18505 test -z "$ac_c_werror_flag" ||
18506 test ! -s conftest.err
18507 } && test -s conftest.$ac_objext; then
18508 ac_cv_type_ssize_t=yes
18509 else
18510 echo "$as_me: failed program was:" >&5
18511 sed 's/^/| /' conftest.$ac_ext >&5
18513 ac_cv_type_ssize_t=no
18516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18518 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18519 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18520 if test $ac_cv_type_ssize_t = yes; then
18522 cat >>confdefs.h <<_ACEOF
18523 #define HAVE_SSIZE_T 1
18524 _ACEOF
18528 { echo "$as_me:$LINENO: checking for long long" >&5
18529 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18530 if test "${ac_cv_type_long_long+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18532 else
18533 cat >conftest.$ac_ext <<_ACEOF
18534 /* confdefs.h. */
18535 _ACEOF
18536 cat confdefs.h >>conftest.$ac_ext
18537 cat >>conftest.$ac_ext <<_ACEOF
18538 /* end confdefs.h. */
18539 $ac_includes_default
18540 typedef long long ac__type_new_;
18542 main ()
18544 if ((ac__type_new_ *) 0)
18545 return 0;
18546 if (sizeof (ac__type_new_))
18547 return 0;
18549 return 0;
18551 _ACEOF
18552 rm -f conftest.$ac_objext
18553 if { (ac_try="$ac_compile"
18554 case "(($ac_try" in
18555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18556 *) ac_try_echo=$ac_try;;
18557 esac
18558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18559 (eval "$ac_compile") 2>conftest.er1
18560 ac_status=$?
18561 grep -v '^ *+' conftest.er1 >conftest.err
18562 rm -f conftest.er1
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } && {
18566 test -z "$ac_c_werror_flag" ||
18567 test ! -s conftest.err
18568 } && test -s conftest.$ac_objext; then
18569 ac_cv_type_long_long=yes
18570 else
18571 echo "$as_me: failed program was:" >&5
18572 sed 's/^/| /' conftest.$ac_ext >&5
18574 ac_cv_type_long_long=no
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18580 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18581 if test $ac_cv_type_long_long = yes; then
18583 cat >>confdefs.h <<_ACEOF
18584 #define HAVE_LONG_LONG 1
18585 _ACEOF
18589 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18590 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18591 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18592 echo $ECHO_N "(cached) $ECHO_C" >&6
18593 else
18594 cat >conftest.$ac_ext <<_ACEOF
18595 /* confdefs.h. */
18596 _ACEOF
18597 cat confdefs.h >>conftest.$ac_ext
18598 cat >>conftest.$ac_ext <<_ACEOF
18599 /* end confdefs.h. */
18600 $ac_includes_default
18601 typedef fsblkcnt_t ac__type_new_;
18603 main ()
18605 if ((ac__type_new_ *) 0)
18606 return 0;
18607 if (sizeof (ac__type_new_))
18608 return 0;
18610 return 0;
18612 _ACEOF
18613 rm -f conftest.$ac_objext
18614 if { (ac_try="$ac_compile"
18615 case "(($ac_try" in
18616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18617 *) ac_try_echo=$ac_try;;
18618 esac
18619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18620 (eval "$ac_compile") 2>conftest.er1
18621 ac_status=$?
18622 grep -v '^ *+' conftest.er1 >conftest.err
18623 rm -f conftest.er1
18624 cat conftest.err >&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); } && {
18627 test -z "$ac_c_werror_flag" ||
18628 test ! -s conftest.err
18629 } && test -s conftest.$ac_objext; then
18630 ac_cv_type_fsblkcnt_t=yes
18631 else
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.$ac_ext >&5
18635 ac_cv_type_fsblkcnt_t=no
18638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18640 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18641 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18642 if test $ac_cv_type_fsblkcnt_t = yes; then
18644 cat >>confdefs.h <<_ACEOF
18645 #define HAVE_FSBLKCNT_T 1
18646 _ACEOF
18650 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18651 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18652 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18653 echo $ECHO_N "(cached) $ECHO_C" >&6
18654 else
18655 cat >conftest.$ac_ext <<_ACEOF
18656 /* confdefs.h. */
18657 _ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18661 $ac_includes_default
18662 typedef fsfilcnt_t ac__type_new_;
18664 main ()
18666 if ((ac__type_new_ *) 0)
18667 return 0;
18668 if (sizeof (ac__type_new_))
18669 return 0;
18671 return 0;
18673 _ACEOF
18674 rm -f conftest.$ac_objext
18675 if { (ac_try="$ac_compile"
18676 case "(($ac_try" in
18677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18678 *) ac_try_echo=$ac_try;;
18679 esac
18680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18681 (eval "$ac_compile") 2>conftest.er1
18682 ac_status=$?
18683 grep -v '^ *+' conftest.er1 >conftest.err
18684 rm -f conftest.er1
18685 cat conftest.err >&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } && {
18688 test -z "$ac_c_werror_flag" ||
18689 test ! -s conftest.err
18690 } && test -s conftest.$ac_objext; then
18691 ac_cv_type_fsfilcnt_t=yes
18692 else
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.$ac_ext >&5
18696 ac_cv_type_fsfilcnt_t=no
18699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18702 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18703 if test $ac_cv_type_fsfilcnt_t = yes; then
18705 cat >>confdefs.h <<_ACEOF
18706 #define HAVE_FSFILCNT_T 1
18707 _ACEOF
18712 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18713 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18714 if test "${ac_cv_type_sigset_t+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 else
18717 cat >conftest.$ac_ext <<_ACEOF
18718 /* confdefs.h. */
18719 _ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723 #include <signal.h>
18725 typedef sigset_t ac__type_new_;
18727 main ()
18729 if ((ac__type_new_ *) 0)
18730 return 0;
18731 if (sizeof (ac__type_new_))
18732 return 0;
18734 return 0;
18736 _ACEOF
18737 rm -f conftest.$ac_objext
18738 if { (ac_try="$ac_compile"
18739 case "(($ac_try" in
18740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18741 *) ac_try_echo=$ac_try;;
18742 esac
18743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18744 (eval "$ac_compile") 2>conftest.er1
18745 ac_status=$?
18746 grep -v '^ *+' conftest.er1 >conftest.err
18747 rm -f conftest.er1
18748 cat conftest.err >&5
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); } && {
18751 test -z "$ac_c_werror_flag" ||
18752 test ! -s conftest.err
18753 } && test -s conftest.$ac_objext; then
18754 ac_cv_type_sigset_t=yes
18755 else
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18759 ac_cv_type_sigset_t=no
18762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18764 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18765 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18766 if test $ac_cv_type_sigset_t = yes; then
18768 cat >>confdefs.h <<_ACEOF
18769 #define HAVE_SIGSET_T 1
18770 _ACEOF
18775 { echo "$as_me:$LINENO: checking for request_sense" >&5
18776 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18777 if test "${ac_cv_type_request_sense+set}" = set; then
18778 echo $ECHO_N "(cached) $ECHO_C" >&6
18779 else
18780 cat >conftest.$ac_ext <<_ACEOF
18781 /* confdefs.h. */
18782 _ACEOF
18783 cat confdefs.h >>conftest.$ac_ext
18784 cat >>conftest.$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18786 #include <linux/cdrom.h>
18788 typedef request_sense ac__type_new_;
18790 main ()
18792 if ((ac__type_new_ *) 0)
18793 return 0;
18794 if (sizeof (ac__type_new_))
18795 return 0;
18797 return 0;
18799 _ACEOF
18800 rm -f conftest.$ac_objext
18801 if { (ac_try="$ac_compile"
18802 case "(($ac_try" in
18803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18804 *) ac_try_echo=$ac_try;;
18805 esac
18806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18807 (eval "$ac_compile") 2>conftest.er1
18808 ac_status=$?
18809 grep -v '^ *+' conftest.er1 >conftest.err
18810 rm -f conftest.er1
18811 cat conftest.err >&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); } && {
18814 test -z "$ac_c_werror_flag" ||
18815 test ! -s conftest.err
18816 } && test -s conftest.$ac_objext; then
18817 ac_cv_type_request_sense=yes
18818 else
18819 echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.$ac_ext >&5
18822 ac_cv_type_request_sense=no
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18827 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18828 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18829 if test $ac_cv_type_request_sense = yes; then
18831 cat >>confdefs.h <<_ACEOF
18832 #define HAVE_REQUEST_SENSE 1
18833 _ACEOF
18839 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18840 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18841 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18842 echo $ECHO_N "(cached) $ECHO_C" >&6
18843 else
18844 cat >conftest.$ac_ext <<_ACEOF
18845 /* confdefs.h. */
18846 _ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 #ifdef HAVE_LINUX_INPUT_H
18851 #include <linux/input.h>
18852 #endif
18855 main ()
18857 static struct ff_effect ac_aggr;
18858 if (ac_aggr.direction)
18859 return 0;
18861 return 0;
18863 _ACEOF
18864 rm -f conftest.$ac_objext
18865 if { (ac_try="$ac_compile"
18866 case "(($ac_try" in
18867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18868 *) ac_try_echo=$ac_try;;
18869 esac
18870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18871 (eval "$ac_compile") 2>conftest.er1
18872 ac_status=$?
18873 grep -v '^ *+' conftest.er1 >conftest.err
18874 rm -f conftest.er1
18875 cat conftest.err >&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } && {
18878 test -z "$ac_c_werror_flag" ||
18879 test ! -s conftest.err
18880 } && test -s conftest.$ac_objext; then
18881 ac_cv_member_struct_ff_effect_direction=yes
18882 else
18883 echo "$as_me: failed program was:" >&5
18884 sed 's/^/| /' conftest.$ac_ext >&5
18886 cat >conftest.$ac_ext <<_ACEOF
18887 /* confdefs.h. */
18888 _ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18892 #ifdef HAVE_LINUX_INPUT_H
18893 #include <linux/input.h>
18894 #endif
18897 main ()
18899 static struct ff_effect ac_aggr;
18900 if (sizeof ac_aggr.direction)
18901 return 0;
18903 return 0;
18905 _ACEOF
18906 rm -f conftest.$ac_objext
18907 if { (ac_try="$ac_compile"
18908 case "(($ac_try" in
18909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18910 *) ac_try_echo=$ac_try;;
18911 esac
18912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18913 (eval "$ac_compile") 2>conftest.er1
18914 ac_status=$?
18915 grep -v '^ *+' conftest.er1 >conftest.err
18916 rm -f conftest.er1
18917 cat conftest.err >&5
18918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18919 (exit $ac_status); } && {
18920 test -z "$ac_c_werror_flag" ||
18921 test ! -s conftest.err
18922 } && test -s conftest.$ac_objext; then
18923 ac_cv_member_struct_ff_effect_direction=yes
18924 else
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.$ac_ext >&5
18928 ac_cv_member_struct_ff_effect_direction=no
18931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18936 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18937 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18938 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18940 cat >>confdefs.h <<_ACEOF
18941 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18942 _ACEOF
18948 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18949 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18950 if test "${wine_cv_have_sigaddset+set}" = set; then
18951 echo $ECHO_N "(cached) $ECHO_C" >&6
18952 else
18953 cat >conftest.$ac_ext <<_ACEOF
18954 /* confdefs.h. */
18955 _ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 #include <signal.h>
18961 main ()
18963 sigset_t set; sigaddset(&set,SIGTERM);
18965 return 0;
18967 _ACEOF
18968 rm -f conftest.$ac_objext conftest$ac_exeext
18969 if { (ac_try="$ac_link"
18970 case "(($ac_try" in
18971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18972 *) ac_try_echo=$ac_try;;
18973 esac
18974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18975 (eval "$ac_link") 2>conftest.er1
18976 ac_status=$?
18977 grep -v '^ *+' conftest.er1 >conftest.err
18978 rm -f conftest.er1
18979 cat conftest.err >&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); } && {
18982 test -z "$ac_c_werror_flag" ||
18983 test ! -s conftest.err
18984 } && test -s conftest$ac_exeext &&
18985 $as_test_x conftest$ac_exeext; then
18986 wine_cv_have_sigaddset=yes
18987 else
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.$ac_ext >&5
18991 wine_cv_have_sigaddset=no
18994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18995 conftest$ac_exeext conftest.$ac_ext
18997 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18998 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18999 if test "$wine_cv_have_sigaddset" = "yes"
19000 then
19002 cat >>confdefs.h <<\_ACEOF
19003 #define HAVE_SIGADDSET 1
19004 _ACEOF
19009 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19010 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
19011 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
19012 echo $ECHO_N "(cached) $ECHO_C" >&6
19013 else
19014 cat >conftest.$ac_ext <<_ACEOF
19015 /* confdefs.h. */
19016 _ACEOF
19017 cat confdefs.h >>conftest.$ac_ext
19018 cat >>conftest.$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19020 #include <netdb.h>
19022 main ()
19025 char *name=0;
19026 struct hostent he;
19027 struct hostent *result;
19028 char *buf=0;
19029 int bufsize=0;
19030 int res,errnr;
19031 char *addr=0;
19032 int addrlen=0;
19033 int addrtype=0;
19034 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19035 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19038 return 0;
19040 _ACEOF
19041 rm -f conftest.$ac_objext conftest$ac_exeext
19042 if { (ac_try="$ac_link"
19043 case "(($ac_try" in
19044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19045 *) ac_try_echo=$ac_try;;
19046 esac
19047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19048 (eval "$ac_link") 2>conftest.er1
19049 ac_status=$?
19050 grep -v '^ *+' conftest.er1 >conftest.err
19051 rm -f conftest.er1
19052 cat conftest.err >&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } && {
19055 test -z "$ac_c_werror_flag" ||
19056 test ! -s conftest.err
19057 } && test -s conftest$ac_exeext &&
19058 $as_test_x conftest$ac_exeext; then
19059 wine_cv_linux_gethostbyname_r_6=yes
19060 else
19061 echo "$as_me: failed program was:" >&5
19062 sed 's/^/| /' conftest.$ac_ext >&5
19064 wine_cv_linux_gethostbyname_r_6=no
19068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19069 conftest$ac_exeext conftest.$ac_ext
19072 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
19073 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
19074 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19075 then
19077 cat >>confdefs.h <<\_ACEOF
19078 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
19079 _ACEOF
19083 if test "$ac_cv_header_linux_joystick_h" = "yes"
19084 then
19085 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19086 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
19087 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19089 else
19090 cat >conftest.$ac_ext <<_ACEOF
19091 /* confdefs.h. */
19092 _ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19097 #include <sys/ioctl.h>
19098 #include <sys/types.h>
19099 #include <linux/joystick.h>
19101 struct js_event blub;
19102 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19103 #error "no 2.2 header"
19104 #endif
19107 main ()
19109 /*empty*/
19111 return 0;
19113 _ACEOF
19114 rm -f conftest.$ac_objext
19115 if { (ac_try="$ac_compile"
19116 case "(($ac_try" in
19117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19118 *) ac_try_echo=$ac_try;;
19119 esac
19120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19121 (eval "$ac_compile") 2>conftest.er1
19122 ac_status=$?
19123 grep -v '^ *+' conftest.er1 >conftest.err
19124 rm -f conftest.er1
19125 cat conftest.err >&5
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); } && {
19128 test -z "$ac_c_werror_flag" ||
19129 test ! -s conftest.err
19130 } && test -s conftest.$ac_objext; then
19131 wine_cv_linux_joystick_22_api=yes
19132 else
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19136 wine_cv_linux_joystick_22_api=no
19139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
19143 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
19144 if test "$wine_cv_linux_joystick_22_api" = "yes"
19145 then
19147 cat >>confdefs.h <<\_ACEOF
19148 #define HAVE_LINUX_22_JOYSTICK_API 1
19149 _ACEOF
19155 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
19156 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
19157 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
19158 echo $ECHO_N "(cached) $ECHO_C" >&6
19159 else
19160 cat >conftest.$ac_ext <<_ACEOF
19161 /* confdefs.h. */
19162 _ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 #include <sys/types.h>
19167 #ifdef HAVE_SYS_PARAM_H
19168 # include <sys/param.h>
19169 #endif
19170 #ifdef HAVE_SYS_MOUNT_H
19171 # include <sys/mount.h>
19172 #endif
19173 #ifdef HAVE_SYS_VFS_H
19174 # include <sys/vfs.h>
19175 #endif
19176 #ifdef HAVE_SYS_STATFS_H
19177 # include <sys/statfs.h>
19178 #endif
19181 main ()
19183 static struct statfs ac_aggr;
19184 if (ac_aggr.f_bfree)
19185 return 0;
19187 return 0;
19189 _ACEOF
19190 rm -f conftest.$ac_objext
19191 if { (ac_try="$ac_compile"
19192 case "(($ac_try" in
19193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19194 *) ac_try_echo=$ac_try;;
19195 esac
19196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19197 (eval "$ac_compile") 2>conftest.er1
19198 ac_status=$?
19199 grep -v '^ *+' conftest.er1 >conftest.err
19200 rm -f conftest.er1
19201 cat conftest.err >&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } && {
19204 test -z "$ac_c_werror_flag" ||
19205 test ! -s conftest.err
19206 } && test -s conftest.$ac_objext; then
19207 ac_cv_member_struct_statfs_f_bfree=yes
19208 else
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19212 cat >conftest.$ac_ext <<_ACEOF
19213 /* confdefs.h. */
19214 _ACEOF
19215 cat confdefs.h >>conftest.$ac_ext
19216 cat >>conftest.$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218 #include <sys/types.h>
19219 #ifdef HAVE_SYS_PARAM_H
19220 # include <sys/param.h>
19221 #endif
19222 #ifdef HAVE_SYS_MOUNT_H
19223 # include <sys/mount.h>
19224 #endif
19225 #ifdef HAVE_SYS_VFS_H
19226 # include <sys/vfs.h>
19227 #endif
19228 #ifdef HAVE_SYS_STATFS_H
19229 # include <sys/statfs.h>
19230 #endif
19233 main ()
19235 static struct statfs ac_aggr;
19236 if (sizeof ac_aggr.f_bfree)
19237 return 0;
19239 return 0;
19241 _ACEOF
19242 rm -f conftest.$ac_objext
19243 if { (ac_try="$ac_compile"
19244 case "(($ac_try" in
19245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19246 *) ac_try_echo=$ac_try;;
19247 esac
19248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19249 (eval "$ac_compile") 2>conftest.er1
19250 ac_status=$?
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } && {
19256 test -z "$ac_c_werror_flag" ||
19257 test ! -s conftest.err
19258 } && test -s conftest.$ac_objext; then
19259 ac_cv_member_struct_statfs_f_bfree=yes
19260 else
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.$ac_ext >&5
19264 ac_cv_member_struct_statfs_f_bfree=no
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19272 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19273 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19274 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19276 cat >>confdefs.h <<_ACEOF
19277 #define HAVE_STRUCT_STATFS_F_BFREE 1
19278 _ACEOF
19282 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19283 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19284 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19285 echo $ECHO_N "(cached) $ECHO_C" >&6
19286 else
19287 cat >conftest.$ac_ext <<_ACEOF
19288 /* confdefs.h. */
19289 _ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 #include <sys/types.h>
19294 #ifdef HAVE_SYS_PARAM_H
19295 # include <sys/param.h>
19296 #endif
19297 #ifdef HAVE_SYS_MOUNT_H
19298 # include <sys/mount.h>
19299 #endif
19300 #ifdef HAVE_SYS_VFS_H
19301 # include <sys/vfs.h>
19302 #endif
19303 #ifdef HAVE_SYS_STATFS_H
19304 # include <sys/statfs.h>
19305 #endif
19308 main ()
19310 static struct statfs ac_aggr;
19311 if (ac_aggr.f_bavail)
19312 return 0;
19314 return 0;
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (ac_try="$ac_compile"
19319 case "(($ac_try" in
19320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19322 esac
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_compile") 2>conftest.er1
19325 ac_status=$?
19326 grep -v '^ *+' conftest.er1 >conftest.err
19327 rm -f conftest.er1
19328 cat conftest.err >&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } && {
19331 test -z "$ac_c_werror_flag" ||
19332 test ! -s conftest.err
19333 } && test -s conftest.$ac_objext; then
19334 ac_cv_member_struct_statfs_f_bavail=yes
19335 else
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19339 cat >conftest.$ac_ext <<_ACEOF
19340 /* confdefs.h. */
19341 _ACEOF
19342 cat confdefs.h >>conftest.$ac_ext
19343 cat >>conftest.$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 #include <sys/types.h>
19346 #ifdef HAVE_SYS_PARAM_H
19347 # include <sys/param.h>
19348 #endif
19349 #ifdef HAVE_SYS_MOUNT_H
19350 # include <sys/mount.h>
19351 #endif
19352 #ifdef HAVE_SYS_VFS_H
19353 # include <sys/vfs.h>
19354 #endif
19355 #ifdef HAVE_SYS_STATFS_H
19356 # include <sys/statfs.h>
19357 #endif
19360 main ()
19362 static struct statfs ac_aggr;
19363 if (sizeof ac_aggr.f_bavail)
19364 return 0;
19366 return 0;
19368 _ACEOF
19369 rm -f conftest.$ac_objext
19370 if { (ac_try="$ac_compile"
19371 case "(($ac_try" in
19372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19373 *) ac_try_echo=$ac_try;;
19374 esac
19375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19376 (eval "$ac_compile") 2>conftest.er1
19377 ac_status=$?
19378 grep -v '^ *+' conftest.er1 >conftest.err
19379 rm -f conftest.er1
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } && {
19383 test -z "$ac_c_werror_flag" ||
19384 test ! -s conftest.err
19385 } && test -s conftest.$ac_objext; then
19386 ac_cv_member_struct_statfs_f_bavail=yes
19387 else
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.$ac_ext >&5
19391 ac_cv_member_struct_statfs_f_bavail=no
19394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19399 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19400 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19401 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19403 cat >>confdefs.h <<_ACEOF
19404 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19405 _ACEOF
19409 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19410 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19411 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19412 echo $ECHO_N "(cached) $ECHO_C" >&6
19413 else
19414 cat >conftest.$ac_ext <<_ACEOF
19415 /* confdefs.h. */
19416 _ACEOF
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 #include <sys/types.h>
19421 #ifdef HAVE_SYS_PARAM_H
19422 # include <sys/param.h>
19423 #endif
19424 #ifdef HAVE_SYS_MOUNT_H
19425 # include <sys/mount.h>
19426 #endif
19427 #ifdef HAVE_SYS_VFS_H
19428 # include <sys/vfs.h>
19429 #endif
19430 #ifdef HAVE_SYS_STATFS_H
19431 # include <sys/statfs.h>
19432 #endif
19435 main ()
19437 static struct statfs ac_aggr;
19438 if (ac_aggr.f_frsize)
19439 return 0;
19441 return 0;
19443 _ACEOF
19444 rm -f conftest.$ac_objext
19445 if { (ac_try="$ac_compile"
19446 case "(($ac_try" in
19447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19449 esac
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_compile") 2>conftest.er1
19452 ac_status=$?
19453 grep -v '^ *+' conftest.er1 >conftest.err
19454 rm -f conftest.er1
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } && {
19458 test -z "$ac_c_werror_flag" ||
19459 test ! -s conftest.err
19460 } && test -s conftest.$ac_objext; then
19461 ac_cv_member_struct_statfs_f_frsize=yes
19462 else
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 #include <sys/types.h>
19473 #ifdef HAVE_SYS_PARAM_H
19474 # include <sys/param.h>
19475 #endif
19476 #ifdef HAVE_SYS_MOUNT_H
19477 # include <sys/mount.h>
19478 #endif
19479 #ifdef HAVE_SYS_VFS_H
19480 # include <sys/vfs.h>
19481 #endif
19482 #ifdef HAVE_SYS_STATFS_H
19483 # include <sys/statfs.h>
19484 #endif
19487 main ()
19489 static struct statfs ac_aggr;
19490 if (sizeof ac_aggr.f_frsize)
19491 return 0;
19493 return 0;
19495 _ACEOF
19496 rm -f conftest.$ac_objext
19497 if { (ac_try="$ac_compile"
19498 case "(($ac_try" in
19499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19500 *) ac_try_echo=$ac_try;;
19501 esac
19502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19503 (eval "$ac_compile") 2>conftest.er1
19504 ac_status=$?
19505 grep -v '^ *+' conftest.er1 >conftest.err
19506 rm -f conftest.er1
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } && {
19510 test -z "$ac_c_werror_flag" ||
19511 test ! -s conftest.err
19512 } && test -s conftest.$ac_objext; then
19513 ac_cv_member_struct_statfs_f_frsize=yes
19514 else
19515 echo "$as_me: failed program was:" >&5
19516 sed 's/^/| /' conftest.$ac_ext >&5
19518 ac_cv_member_struct_statfs_f_frsize=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19527 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19528 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19530 cat >>confdefs.h <<_ACEOF
19531 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19532 _ACEOF
19536 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19537 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19538 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19539 echo $ECHO_N "(cached) $ECHO_C" >&6
19540 else
19541 cat >conftest.$ac_ext <<_ACEOF
19542 /* confdefs.h. */
19543 _ACEOF
19544 cat confdefs.h >>conftest.$ac_ext
19545 cat >>conftest.$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19547 #include <sys/types.h>
19548 #ifdef HAVE_SYS_PARAM_H
19549 # include <sys/param.h>
19550 #endif
19551 #ifdef HAVE_SYS_MOUNT_H
19552 # include <sys/mount.h>
19553 #endif
19554 #ifdef HAVE_SYS_VFS_H
19555 # include <sys/vfs.h>
19556 #endif
19557 #ifdef HAVE_SYS_STATFS_H
19558 # include <sys/statfs.h>
19559 #endif
19562 main ()
19564 static struct statfs ac_aggr;
19565 if (ac_aggr.f_ffree)
19566 return 0;
19568 return 0;
19570 _ACEOF
19571 rm -f conftest.$ac_objext
19572 if { (ac_try="$ac_compile"
19573 case "(($ac_try" in
19574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19575 *) ac_try_echo=$ac_try;;
19576 esac
19577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19578 (eval "$ac_compile") 2>conftest.er1
19579 ac_status=$?
19580 grep -v '^ *+' conftest.er1 >conftest.err
19581 rm -f conftest.er1
19582 cat conftest.err >&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); } && {
19585 test -z "$ac_c_werror_flag" ||
19586 test ! -s conftest.err
19587 } && test -s conftest.$ac_objext; then
19588 ac_cv_member_struct_statfs_f_ffree=yes
19589 else
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19593 cat >conftest.$ac_ext <<_ACEOF
19594 /* confdefs.h. */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 #include <sys/types.h>
19600 #ifdef HAVE_SYS_PARAM_H
19601 # include <sys/param.h>
19602 #endif
19603 #ifdef HAVE_SYS_MOUNT_H
19604 # include <sys/mount.h>
19605 #endif
19606 #ifdef HAVE_SYS_VFS_H
19607 # include <sys/vfs.h>
19608 #endif
19609 #ifdef HAVE_SYS_STATFS_H
19610 # include <sys/statfs.h>
19611 #endif
19614 main ()
19616 static struct statfs ac_aggr;
19617 if (sizeof ac_aggr.f_ffree)
19618 return 0;
19620 return 0;
19622 _ACEOF
19623 rm -f conftest.$ac_objext
19624 if { (ac_try="$ac_compile"
19625 case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19628 esac
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_compile") 2>conftest.er1
19631 ac_status=$?
19632 grep -v '^ *+' conftest.er1 >conftest.err
19633 rm -f conftest.er1
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } && {
19637 test -z "$ac_c_werror_flag" ||
19638 test ! -s conftest.err
19639 } && test -s conftest.$ac_objext; then
19640 ac_cv_member_struct_statfs_f_ffree=yes
19641 else
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19645 ac_cv_member_struct_statfs_f_ffree=no
19648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19653 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19654 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19655 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19657 cat >>confdefs.h <<_ACEOF
19658 #define HAVE_STRUCT_STATFS_F_FFREE 1
19659 _ACEOF
19663 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19664 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19665 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19666 echo $ECHO_N "(cached) $ECHO_C" >&6
19667 else
19668 cat >conftest.$ac_ext <<_ACEOF
19669 /* confdefs.h. */
19670 _ACEOF
19671 cat confdefs.h >>conftest.$ac_ext
19672 cat >>conftest.$ac_ext <<_ACEOF
19673 /* end confdefs.h. */
19674 #include <sys/types.h>
19675 #ifdef HAVE_SYS_PARAM_H
19676 # include <sys/param.h>
19677 #endif
19678 #ifdef HAVE_SYS_MOUNT_H
19679 # include <sys/mount.h>
19680 #endif
19681 #ifdef HAVE_SYS_VFS_H
19682 # include <sys/vfs.h>
19683 #endif
19684 #ifdef HAVE_SYS_STATFS_H
19685 # include <sys/statfs.h>
19686 #endif
19689 main ()
19691 static struct statfs ac_aggr;
19692 if (ac_aggr.f_favail)
19693 return 0;
19695 return 0;
19697 _ACEOF
19698 rm -f conftest.$ac_objext
19699 if { (ac_try="$ac_compile"
19700 case "(($ac_try" in
19701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19702 *) ac_try_echo=$ac_try;;
19703 esac
19704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19705 (eval "$ac_compile") 2>conftest.er1
19706 ac_status=$?
19707 grep -v '^ *+' conftest.er1 >conftest.err
19708 rm -f conftest.er1
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } && {
19712 test -z "$ac_c_werror_flag" ||
19713 test ! -s conftest.err
19714 } && test -s conftest.$ac_objext; then
19715 ac_cv_member_struct_statfs_f_favail=yes
19716 else
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19720 cat >conftest.$ac_ext <<_ACEOF
19721 /* confdefs.h. */
19722 _ACEOF
19723 cat confdefs.h >>conftest.$ac_ext
19724 cat >>conftest.$ac_ext <<_ACEOF
19725 /* end confdefs.h. */
19726 #include <sys/types.h>
19727 #ifdef HAVE_SYS_PARAM_H
19728 # include <sys/param.h>
19729 #endif
19730 #ifdef HAVE_SYS_MOUNT_H
19731 # include <sys/mount.h>
19732 #endif
19733 #ifdef HAVE_SYS_VFS_H
19734 # include <sys/vfs.h>
19735 #endif
19736 #ifdef HAVE_SYS_STATFS_H
19737 # include <sys/statfs.h>
19738 #endif
19741 main ()
19743 static struct statfs ac_aggr;
19744 if (sizeof ac_aggr.f_favail)
19745 return 0;
19747 return 0;
19749 _ACEOF
19750 rm -f conftest.$ac_objext
19751 if { (ac_try="$ac_compile"
19752 case "(($ac_try" in
19753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19754 *) ac_try_echo=$ac_try;;
19755 esac
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_compile") 2>conftest.er1
19758 ac_status=$?
19759 grep -v '^ *+' conftest.er1 >conftest.err
19760 rm -f conftest.er1
19761 cat conftest.err >&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } && {
19764 test -z "$ac_c_werror_flag" ||
19765 test ! -s conftest.err
19766 } && test -s conftest.$ac_objext; then
19767 ac_cv_member_struct_statfs_f_favail=yes
19768 else
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.$ac_ext >&5
19772 ac_cv_member_struct_statfs_f_favail=no
19775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19780 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19781 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19782 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19784 cat >>confdefs.h <<_ACEOF
19785 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19786 _ACEOF
19790 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19791 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19792 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795 cat >conftest.$ac_ext <<_ACEOF
19796 /* confdefs.h. */
19797 _ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 #include <sys/types.h>
19802 #ifdef HAVE_SYS_PARAM_H
19803 # include <sys/param.h>
19804 #endif
19805 #ifdef HAVE_SYS_MOUNT_H
19806 # include <sys/mount.h>
19807 #endif
19808 #ifdef HAVE_SYS_VFS_H
19809 # include <sys/vfs.h>
19810 #endif
19811 #ifdef HAVE_SYS_STATFS_H
19812 # include <sys/statfs.h>
19813 #endif
19816 main ()
19818 static struct statfs ac_aggr;
19819 if (ac_aggr.f_namelen)
19820 return 0;
19822 return 0;
19824 _ACEOF
19825 rm -f conftest.$ac_objext
19826 if { (ac_try="$ac_compile"
19827 case "(($ac_try" in
19828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19829 *) ac_try_echo=$ac_try;;
19830 esac
19831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19832 (eval "$ac_compile") 2>conftest.er1
19833 ac_status=$?
19834 grep -v '^ *+' conftest.er1 >conftest.err
19835 rm -f conftest.er1
19836 cat conftest.err >&5
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } && {
19839 test -z "$ac_c_werror_flag" ||
19840 test ! -s conftest.err
19841 } && test -s conftest.$ac_objext; then
19842 ac_cv_member_struct_statfs_f_namelen=yes
19843 else
19844 echo "$as_me: failed program was:" >&5
19845 sed 's/^/| /' conftest.$ac_ext >&5
19847 cat >conftest.$ac_ext <<_ACEOF
19848 /* confdefs.h. */
19849 _ACEOF
19850 cat confdefs.h >>conftest.$ac_ext
19851 cat >>conftest.$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 #include <sys/types.h>
19854 #ifdef HAVE_SYS_PARAM_H
19855 # include <sys/param.h>
19856 #endif
19857 #ifdef HAVE_SYS_MOUNT_H
19858 # include <sys/mount.h>
19859 #endif
19860 #ifdef HAVE_SYS_VFS_H
19861 # include <sys/vfs.h>
19862 #endif
19863 #ifdef HAVE_SYS_STATFS_H
19864 # include <sys/statfs.h>
19865 #endif
19868 main ()
19870 static struct statfs ac_aggr;
19871 if (sizeof ac_aggr.f_namelen)
19872 return 0;
19874 return 0;
19876 _ACEOF
19877 rm -f conftest.$ac_objext
19878 if { (ac_try="$ac_compile"
19879 case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881 *) ac_try_echo=$ac_try;;
19882 esac
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_compile") 2>conftest.er1
19885 ac_status=$?
19886 grep -v '^ *+' conftest.er1 >conftest.err
19887 rm -f conftest.er1
19888 cat conftest.err >&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } && {
19891 test -z "$ac_c_werror_flag" ||
19892 test ! -s conftest.err
19893 } && test -s conftest.$ac_objext; then
19894 ac_cv_member_struct_statfs_f_namelen=yes
19895 else
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19899 ac_cv_member_struct_statfs_f_namelen=no
19902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19907 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19908 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19909 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19911 cat >>confdefs.h <<_ACEOF
19912 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19913 _ACEOF
19919 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19920 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19921 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 else
19924 cat >conftest.$ac_ext <<_ACEOF
19925 /* confdefs.h. */
19926 _ACEOF
19927 cat confdefs.h >>conftest.$ac_ext
19928 cat >>conftest.$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 #ifdef HAVE_SYS_STATVFS_H
19931 #include <sys/statvfs.h>
19932 #endif
19935 main ()
19937 static struct statvfs ac_aggr;
19938 if (ac_aggr.f_blocks)
19939 return 0;
19941 return 0;
19943 _ACEOF
19944 rm -f conftest.$ac_objext
19945 if { (ac_try="$ac_compile"
19946 case "(($ac_try" in
19947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19948 *) ac_try_echo=$ac_try;;
19949 esac
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_compile") 2>conftest.er1
19952 ac_status=$?
19953 grep -v '^ *+' conftest.er1 >conftest.err
19954 rm -f conftest.er1
19955 cat conftest.err >&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } && {
19958 test -z "$ac_c_werror_flag" ||
19959 test ! -s conftest.err
19960 } && test -s conftest.$ac_objext; then
19961 ac_cv_member_struct_statvfs_f_blocks=yes
19962 else
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.$ac_ext >&5
19966 cat >conftest.$ac_ext <<_ACEOF
19967 /* confdefs.h. */
19968 _ACEOF
19969 cat confdefs.h >>conftest.$ac_ext
19970 cat >>conftest.$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19972 #ifdef HAVE_SYS_STATVFS_H
19973 #include <sys/statvfs.h>
19974 #endif
19977 main ()
19979 static struct statvfs ac_aggr;
19980 if (sizeof ac_aggr.f_blocks)
19981 return 0;
19983 return 0;
19985 _ACEOF
19986 rm -f conftest.$ac_objext
19987 if { (ac_try="$ac_compile"
19988 case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19991 esac
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_compile") 2>conftest.er1
19994 ac_status=$?
19995 grep -v '^ *+' conftest.er1 >conftest.err
19996 rm -f conftest.er1
19997 cat conftest.err >&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } && {
20000 test -z "$ac_c_werror_flag" ||
20001 test ! -s conftest.err
20002 } && test -s conftest.$ac_objext; then
20003 ac_cv_member_struct_statvfs_f_blocks=yes
20004 else
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20008 ac_cv_member_struct_statvfs_f_blocks=no
20011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20016 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
20017 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
20018 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
20022 _ACEOF
20028 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
20029 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
20030 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 else
20033 cat >conftest.$ac_ext <<_ACEOF
20034 /* confdefs.h. */
20035 _ACEOF
20036 cat confdefs.h >>conftest.$ac_ext
20037 cat >>conftest.$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 #include <sys/types.h>
20040 #ifdef HAVE_SYS_SOCKET_H
20041 # include <sys/socket.h>
20042 #endif
20043 #ifdef HAVE_SYS_UN_H
20044 # include <sys/un.h>
20045 #endif
20048 main ()
20050 static struct msghdr ac_aggr;
20051 if (ac_aggr.msg_accrights)
20052 return 0;
20054 return 0;
20056 _ACEOF
20057 rm -f conftest.$ac_objext
20058 if { (ac_try="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20062 esac
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20065 ac_status=$?
20066 grep -v '^ *+' conftest.er1 >conftest.err
20067 rm -f conftest.er1
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_c_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.$ac_objext; then
20074 ac_cv_member_struct_msghdr_msg_accrights=yes
20075 else
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20079 cat >conftest.$ac_ext <<_ACEOF
20080 /* confdefs.h. */
20081 _ACEOF
20082 cat confdefs.h >>conftest.$ac_ext
20083 cat >>conftest.$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20085 #include <sys/types.h>
20086 #ifdef HAVE_SYS_SOCKET_H
20087 # include <sys/socket.h>
20088 #endif
20089 #ifdef HAVE_SYS_UN_H
20090 # include <sys/un.h>
20091 #endif
20094 main ()
20096 static struct msghdr ac_aggr;
20097 if (sizeof ac_aggr.msg_accrights)
20098 return 0;
20100 return 0;
20102 _ACEOF
20103 rm -f conftest.$ac_objext
20104 if { (ac_try="$ac_compile"
20105 case "(($ac_try" in
20106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20107 *) ac_try_echo=$ac_try;;
20108 esac
20109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20110 (eval "$ac_compile") 2>conftest.er1
20111 ac_status=$?
20112 grep -v '^ *+' conftest.er1 >conftest.err
20113 rm -f conftest.er1
20114 cat conftest.err >&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } && {
20117 test -z "$ac_c_werror_flag" ||
20118 test ! -s conftest.err
20119 } && test -s conftest.$ac_objext; then
20120 ac_cv_member_struct_msghdr_msg_accrights=yes
20121 else
20122 echo "$as_me: failed program was:" >&5
20123 sed 's/^/| /' conftest.$ac_ext >&5
20125 ac_cv_member_struct_msghdr_msg_accrights=no
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
20134 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
20135 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
20137 cat >>confdefs.h <<_ACEOF
20138 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
20139 _ACEOF
20143 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
20144 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
20145 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 else
20148 cat >conftest.$ac_ext <<_ACEOF
20149 /* confdefs.h. */
20150 _ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 #include <sys/types.h>
20155 #ifdef HAVE_SYS_SOCKET_H
20156 # include <sys/socket.h>
20157 #endif
20158 #ifdef HAVE_SYS_UN_H
20159 # include <sys/un.h>
20160 #endif
20163 main ()
20165 static struct sockaddr ac_aggr;
20166 if (ac_aggr.sa_len)
20167 return 0;
20169 return 0;
20171 _ACEOF
20172 rm -f conftest.$ac_objext
20173 if { (ac_try="$ac_compile"
20174 case "(($ac_try" in
20175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20176 *) ac_try_echo=$ac_try;;
20177 esac
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20179 (eval "$ac_compile") 2>conftest.er1
20180 ac_status=$?
20181 grep -v '^ *+' conftest.er1 >conftest.err
20182 rm -f conftest.er1
20183 cat conftest.err >&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } && {
20186 test -z "$ac_c_werror_flag" ||
20187 test ! -s conftest.err
20188 } && test -s conftest.$ac_objext; then
20189 ac_cv_member_struct_sockaddr_sa_len=yes
20190 else
20191 echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.$ac_ext >&5
20194 cat >conftest.$ac_ext <<_ACEOF
20195 /* confdefs.h. */
20196 _ACEOF
20197 cat confdefs.h >>conftest.$ac_ext
20198 cat >>conftest.$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20200 #include <sys/types.h>
20201 #ifdef HAVE_SYS_SOCKET_H
20202 # include <sys/socket.h>
20203 #endif
20204 #ifdef HAVE_SYS_UN_H
20205 # include <sys/un.h>
20206 #endif
20209 main ()
20211 static struct sockaddr ac_aggr;
20212 if (sizeof ac_aggr.sa_len)
20213 return 0;
20215 return 0;
20217 _ACEOF
20218 rm -f conftest.$ac_objext
20219 if { (ac_try="$ac_compile"
20220 case "(($ac_try" in
20221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20222 *) ac_try_echo=$ac_try;;
20223 esac
20224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20225 (eval "$ac_compile") 2>conftest.er1
20226 ac_status=$?
20227 grep -v '^ *+' conftest.er1 >conftest.err
20228 rm -f conftest.er1
20229 cat conftest.err >&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); } && {
20232 test -z "$ac_c_werror_flag" ||
20233 test ! -s conftest.err
20234 } && test -s conftest.$ac_objext; then
20235 ac_cv_member_struct_sockaddr_sa_len=yes
20236 else
20237 echo "$as_me: failed program was:" >&5
20238 sed 's/^/| /' conftest.$ac_ext >&5
20240 ac_cv_member_struct_sockaddr_sa_len=no
20243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20249 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20250 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20252 cat >>confdefs.h <<_ACEOF
20253 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20254 _ACEOF
20258 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20259 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20260 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20261 echo $ECHO_N "(cached) $ECHO_C" >&6
20262 else
20263 cat >conftest.$ac_ext <<_ACEOF
20264 /* confdefs.h. */
20265 _ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 #include <sys/types.h>
20270 #ifdef HAVE_SYS_SOCKET_H
20271 # include <sys/socket.h>
20272 #endif
20273 #ifdef HAVE_SYS_UN_H
20274 # include <sys/un.h>
20275 #endif
20278 main ()
20280 static struct sockaddr_un ac_aggr;
20281 if (ac_aggr.sun_len)
20282 return 0;
20284 return 0;
20286 _ACEOF
20287 rm -f conftest.$ac_objext
20288 if { (ac_try="$ac_compile"
20289 case "(($ac_try" in
20290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20291 *) ac_try_echo=$ac_try;;
20292 esac
20293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20294 (eval "$ac_compile") 2>conftest.er1
20295 ac_status=$?
20296 grep -v '^ *+' conftest.er1 >conftest.err
20297 rm -f conftest.er1
20298 cat conftest.err >&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); } && {
20301 test -z "$ac_c_werror_flag" ||
20302 test ! -s conftest.err
20303 } && test -s conftest.$ac_objext; then
20304 ac_cv_member_struct_sockaddr_un_sun_len=yes
20305 else
20306 echo "$as_me: failed program was:" >&5
20307 sed 's/^/| /' conftest.$ac_ext >&5
20309 cat >conftest.$ac_ext <<_ACEOF
20310 /* confdefs.h. */
20311 _ACEOF
20312 cat confdefs.h >>conftest.$ac_ext
20313 cat >>conftest.$ac_ext <<_ACEOF
20314 /* end confdefs.h. */
20315 #include <sys/types.h>
20316 #ifdef HAVE_SYS_SOCKET_H
20317 # include <sys/socket.h>
20318 #endif
20319 #ifdef HAVE_SYS_UN_H
20320 # include <sys/un.h>
20321 #endif
20324 main ()
20326 static struct sockaddr_un ac_aggr;
20327 if (sizeof ac_aggr.sun_len)
20328 return 0;
20330 return 0;
20332 _ACEOF
20333 rm -f conftest.$ac_objext
20334 if { (ac_try="$ac_compile"
20335 case "(($ac_try" in
20336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20337 *) ac_try_echo=$ac_try;;
20338 esac
20339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20340 (eval "$ac_compile") 2>conftest.er1
20341 ac_status=$?
20342 grep -v '^ *+' conftest.er1 >conftest.err
20343 rm -f conftest.er1
20344 cat conftest.err >&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } && {
20347 test -z "$ac_c_werror_flag" ||
20348 test ! -s conftest.err
20349 } && test -s conftest.$ac_objext; then
20350 ac_cv_member_struct_sockaddr_un_sun_len=yes
20351 else
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20355 ac_cv_member_struct_sockaddr_un_sun_len=no
20358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20363 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20364 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20365 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20367 cat >>confdefs.h <<_ACEOF
20368 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20369 _ACEOF
20375 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20376 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20377 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20378 echo $ECHO_N "(cached) $ECHO_C" >&6
20379 else
20380 cat >conftest.$ac_ext <<_ACEOF
20381 /* confdefs.h. */
20382 _ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 #include <sys/types.h>
20387 #ifdef HAVE_SCSI_SG_H
20388 #include <scsi/sg.h>
20389 #endif
20392 main ()
20394 static scsireq_t ac_aggr;
20395 if (ac_aggr.cmd)
20396 return 0;
20398 return 0;
20400 _ACEOF
20401 rm -f conftest.$ac_objext
20402 if { (ac_try="$ac_compile"
20403 case "(($ac_try" in
20404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20405 *) ac_try_echo=$ac_try;;
20406 esac
20407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20408 (eval "$ac_compile") 2>conftest.er1
20409 ac_status=$?
20410 grep -v '^ *+' conftest.er1 >conftest.err
20411 rm -f conftest.er1
20412 cat conftest.err >&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); } && {
20415 test -z "$ac_c_werror_flag" ||
20416 test ! -s conftest.err
20417 } && test -s conftest.$ac_objext; then
20418 ac_cv_member_scsireq_t_cmd=yes
20419 else
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20423 cat >conftest.$ac_ext <<_ACEOF
20424 /* confdefs.h. */
20425 _ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 #include <sys/types.h>
20430 #ifdef HAVE_SCSI_SG_H
20431 #include <scsi/sg.h>
20432 #endif
20435 main ()
20437 static scsireq_t ac_aggr;
20438 if (sizeof ac_aggr.cmd)
20439 return 0;
20441 return 0;
20443 _ACEOF
20444 rm -f conftest.$ac_objext
20445 if { (ac_try="$ac_compile"
20446 case "(($ac_try" in
20447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20448 *) ac_try_echo=$ac_try;;
20449 esac
20450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20451 (eval "$ac_compile") 2>conftest.er1
20452 ac_status=$?
20453 grep -v '^ *+' conftest.er1 >conftest.err
20454 rm -f conftest.er1
20455 cat conftest.err >&5
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); } && {
20458 test -z "$ac_c_werror_flag" ||
20459 test ! -s conftest.err
20460 } && test -s conftest.$ac_objext; then
20461 ac_cv_member_scsireq_t_cmd=yes
20462 else
20463 echo "$as_me: failed program was:" >&5
20464 sed 's/^/| /' conftest.$ac_ext >&5
20466 ac_cv_member_scsireq_t_cmd=no
20469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20474 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20475 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20476 if test $ac_cv_member_scsireq_t_cmd = yes; then
20478 cat >>confdefs.h <<_ACEOF
20479 #define HAVE_SCSIREQ_T_CMD 1
20480 _ACEOF
20484 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20485 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20486 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20487 echo $ECHO_N "(cached) $ECHO_C" >&6
20488 else
20489 cat >conftest.$ac_ext <<_ACEOF
20490 /* confdefs.h. */
20491 _ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 #include <sys/types.h>
20496 #ifdef HAVE_SCSI_SG_H
20497 #include <scsi/sg.h>
20498 #endif
20501 main ()
20503 static sg_io_hdr_t ac_aggr;
20504 if (ac_aggr.interface_id)
20505 return 0;
20507 return 0;
20509 _ACEOF
20510 rm -f conftest.$ac_objext
20511 if { (ac_try="$ac_compile"
20512 case "(($ac_try" in
20513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20514 *) ac_try_echo=$ac_try;;
20515 esac
20516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20517 (eval "$ac_compile") 2>conftest.er1
20518 ac_status=$?
20519 grep -v '^ *+' conftest.er1 >conftest.err
20520 rm -f conftest.er1
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } && {
20524 test -z "$ac_c_werror_flag" ||
20525 test ! -s conftest.err
20526 } && test -s conftest.$ac_objext; then
20527 ac_cv_member_sg_io_hdr_t_interface_id=yes
20528 else
20529 echo "$as_me: failed program was:" >&5
20530 sed 's/^/| /' conftest.$ac_ext >&5
20532 cat >conftest.$ac_ext <<_ACEOF
20533 /* confdefs.h. */
20534 _ACEOF
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 #include <sys/types.h>
20539 #ifdef HAVE_SCSI_SG_H
20540 #include <scsi/sg.h>
20541 #endif
20544 main ()
20546 static sg_io_hdr_t ac_aggr;
20547 if (sizeof ac_aggr.interface_id)
20548 return 0;
20550 return 0;
20552 _ACEOF
20553 rm -f conftest.$ac_objext
20554 if { (ac_try="$ac_compile"
20555 case "(($ac_try" in
20556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20557 *) ac_try_echo=$ac_try;;
20558 esac
20559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20560 (eval "$ac_compile") 2>conftest.er1
20561 ac_status=$?
20562 grep -v '^ *+' conftest.er1 >conftest.err
20563 rm -f conftest.er1
20564 cat conftest.err >&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } && {
20567 test -z "$ac_c_werror_flag" ||
20568 test ! -s conftest.err
20569 } && test -s conftest.$ac_objext; then
20570 ac_cv_member_sg_io_hdr_t_interface_id=yes
20571 else
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20575 ac_cv_member_sg_io_hdr_t_interface_id=no
20578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20583 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20584 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20585 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20587 cat >>confdefs.h <<_ACEOF
20588 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20589 _ACEOF
20595 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20596 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20597 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20598 echo $ECHO_N "(cached) $ECHO_C" >&6
20599 else
20600 cat >conftest.$ac_ext <<_ACEOF
20601 /* confdefs.h. */
20602 _ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 #include <signal.h>
20609 main ()
20611 static siginfo_t ac_aggr;
20612 if (ac_aggr.si_fd)
20613 return 0;
20615 return 0;
20617 _ACEOF
20618 rm -f conftest.$ac_objext
20619 if { (ac_try="$ac_compile"
20620 case "(($ac_try" in
20621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20622 *) ac_try_echo=$ac_try;;
20623 esac
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_compile") 2>conftest.er1
20626 ac_status=$?
20627 grep -v '^ *+' conftest.er1 >conftest.err
20628 rm -f conftest.er1
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } && {
20632 test -z "$ac_c_werror_flag" ||
20633 test ! -s conftest.err
20634 } && test -s conftest.$ac_objext; then
20635 ac_cv_member_siginfo_t_si_fd=yes
20636 else
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20640 cat >conftest.$ac_ext <<_ACEOF
20641 /* confdefs.h. */
20642 _ACEOF
20643 cat confdefs.h >>conftest.$ac_ext
20644 cat >>conftest.$ac_ext <<_ACEOF
20645 /* end confdefs.h. */
20646 #include <signal.h>
20649 main ()
20651 static siginfo_t ac_aggr;
20652 if (sizeof ac_aggr.si_fd)
20653 return 0;
20655 return 0;
20657 _ACEOF
20658 rm -f conftest.$ac_objext
20659 if { (ac_try="$ac_compile"
20660 case "(($ac_try" in
20661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20662 *) ac_try_echo=$ac_try;;
20663 esac
20664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20665 (eval "$ac_compile") 2>conftest.er1
20666 ac_status=$?
20667 grep -v '^ *+' conftest.er1 >conftest.err
20668 rm -f conftest.er1
20669 cat conftest.err >&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); } && {
20672 test -z "$ac_c_werror_flag" ||
20673 test ! -s conftest.err
20674 } && test -s conftest.$ac_objext; then
20675 ac_cv_member_siginfo_t_si_fd=yes
20676 else
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 ac_cv_member_siginfo_t_si_fd=no
20683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20688 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20689 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20690 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20692 cat >>confdefs.h <<_ACEOF
20693 #define HAVE_SIGINFO_T_SI_FD 1
20694 _ACEOF
20700 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20701 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20702 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20703 echo $ECHO_N "(cached) $ECHO_C" >&6
20704 else
20705 cat >conftest.$ac_ext <<_ACEOF
20706 /* confdefs.h. */
20707 _ACEOF
20708 cat confdefs.h >>conftest.$ac_ext
20709 cat >>conftest.$ac_ext <<_ACEOF
20710 /* end confdefs.h. */
20711 #include <sys/types.h>
20712 #ifdef HAVE_SYS_MTIO_H
20713 #include <sys/mtio.h>
20714 #endif
20717 main ()
20719 static struct mtget ac_aggr;
20720 if (ac_aggr.mt_blksiz)
20721 return 0;
20723 return 0;
20725 _ACEOF
20726 rm -f conftest.$ac_objext
20727 if { (ac_try="$ac_compile"
20728 case "(($ac_try" in
20729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20730 *) ac_try_echo=$ac_try;;
20731 esac
20732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20733 (eval "$ac_compile") 2>conftest.er1
20734 ac_status=$?
20735 grep -v '^ *+' conftest.er1 >conftest.err
20736 rm -f conftest.er1
20737 cat conftest.err >&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); } && {
20740 test -z "$ac_c_werror_flag" ||
20741 test ! -s conftest.err
20742 } && test -s conftest.$ac_objext; then
20743 ac_cv_member_struct_mtget_mt_blksiz=yes
20744 else
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20748 cat >conftest.$ac_ext <<_ACEOF
20749 /* confdefs.h. */
20750 _ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h. */
20754 #include <sys/types.h>
20755 #ifdef HAVE_SYS_MTIO_H
20756 #include <sys/mtio.h>
20757 #endif
20760 main ()
20762 static struct mtget ac_aggr;
20763 if (sizeof ac_aggr.mt_blksiz)
20764 return 0;
20766 return 0;
20768 _ACEOF
20769 rm -f conftest.$ac_objext
20770 if { (ac_try="$ac_compile"
20771 case "(($ac_try" in
20772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20773 *) ac_try_echo=$ac_try;;
20774 esac
20775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20776 (eval "$ac_compile") 2>conftest.er1
20777 ac_status=$?
20778 grep -v '^ *+' conftest.er1 >conftest.err
20779 rm -f conftest.er1
20780 cat conftest.err >&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); } && {
20783 test -z "$ac_c_werror_flag" ||
20784 test ! -s conftest.err
20785 } && test -s conftest.$ac_objext; then
20786 ac_cv_member_struct_mtget_mt_blksiz=yes
20787 else
20788 echo "$as_me: failed program was:" >&5
20789 sed 's/^/| /' conftest.$ac_ext >&5
20791 ac_cv_member_struct_mtget_mt_blksiz=no
20794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20800 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20801 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20803 cat >>confdefs.h <<_ACEOF
20804 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20805 _ACEOF
20809 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20810 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20811 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20813 else
20814 cat >conftest.$ac_ext <<_ACEOF
20815 /* confdefs.h. */
20816 _ACEOF
20817 cat confdefs.h >>conftest.$ac_ext
20818 cat >>conftest.$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20820 #include <sys/types.h>
20821 #ifdef HAVE_SYS_MTIO_H
20822 #include <sys/mtio.h>
20823 #endif
20826 main ()
20828 static struct mtget ac_aggr;
20829 if (ac_aggr.mt_gstat)
20830 return 0;
20832 return 0;
20834 _ACEOF
20835 rm -f conftest.$ac_objext
20836 if { (ac_try="$ac_compile"
20837 case "(($ac_try" in
20838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20839 *) ac_try_echo=$ac_try;;
20840 esac
20841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20842 (eval "$ac_compile") 2>conftest.er1
20843 ac_status=$?
20844 grep -v '^ *+' conftest.er1 >conftest.err
20845 rm -f conftest.er1
20846 cat conftest.err >&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); } && {
20849 test -z "$ac_c_werror_flag" ||
20850 test ! -s conftest.err
20851 } && test -s conftest.$ac_objext; then
20852 ac_cv_member_struct_mtget_mt_gstat=yes
20853 else
20854 echo "$as_me: failed program was:" >&5
20855 sed 's/^/| /' conftest.$ac_ext >&5
20857 cat >conftest.$ac_ext <<_ACEOF
20858 /* confdefs.h. */
20859 _ACEOF
20860 cat confdefs.h >>conftest.$ac_ext
20861 cat >>conftest.$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20863 #include <sys/types.h>
20864 #ifdef HAVE_SYS_MTIO_H
20865 #include <sys/mtio.h>
20866 #endif
20869 main ()
20871 static struct mtget ac_aggr;
20872 if (sizeof ac_aggr.mt_gstat)
20873 return 0;
20875 return 0;
20877 _ACEOF
20878 rm -f conftest.$ac_objext
20879 if { (ac_try="$ac_compile"
20880 case "(($ac_try" in
20881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20882 *) ac_try_echo=$ac_try;;
20883 esac
20884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20885 (eval "$ac_compile") 2>conftest.er1
20886 ac_status=$?
20887 grep -v '^ *+' conftest.er1 >conftest.err
20888 rm -f conftest.er1
20889 cat conftest.err >&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } && {
20892 test -z "$ac_c_werror_flag" ||
20893 test ! -s conftest.err
20894 } && test -s conftest.$ac_objext; then
20895 ac_cv_member_struct_mtget_mt_gstat=yes
20896 else
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.$ac_ext >&5
20900 ac_cv_member_struct_mtget_mt_gstat=no
20903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20908 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20909 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20910 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20912 cat >>confdefs.h <<_ACEOF
20913 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20914 _ACEOF
20918 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20919 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20920 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20921 echo $ECHO_N "(cached) $ECHO_C" >&6
20922 else
20923 cat >conftest.$ac_ext <<_ACEOF
20924 /* confdefs.h. */
20925 _ACEOF
20926 cat confdefs.h >>conftest.$ac_ext
20927 cat >>conftest.$ac_ext <<_ACEOF
20928 /* end confdefs.h. */
20929 #include <sys/types.h>
20930 #ifdef HAVE_SYS_MTIO_H
20931 #include <sys/mtio.h>
20932 #endif
20935 main ()
20937 static struct mtget ac_aggr;
20938 if (ac_aggr.mt_blkno)
20939 return 0;
20941 return 0;
20943 _ACEOF
20944 rm -f conftest.$ac_objext
20945 if { (ac_try="$ac_compile"
20946 case "(($ac_try" in
20947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20948 *) ac_try_echo=$ac_try;;
20949 esac
20950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20951 (eval "$ac_compile") 2>conftest.er1
20952 ac_status=$?
20953 grep -v '^ *+' conftest.er1 >conftest.err
20954 rm -f conftest.er1
20955 cat conftest.err >&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); } && {
20958 test -z "$ac_c_werror_flag" ||
20959 test ! -s conftest.err
20960 } && test -s conftest.$ac_objext; then
20961 ac_cv_member_struct_mtget_mt_blkno=yes
20962 else
20963 echo "$as_me: failed program was:" >&5
20964 sed 's/^/| /' conftest.$ac_ext >&5
20966 cat >conftest.$ac_ext <<_ACEOF
20967 /* confdefs.h. */
20968 _ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 #include <sys/types.h>
20973 #ifdef HAVE_SYS_MTIO_H
20974 #include <sys/mtio.h>
20975 #endif
20978 main ()
20980 static struct mtget ac_aggr;
20981 if (sizeof ac_aggr.mt_blkno)
20982 return 0;
20984 return 0;
20986 _ACEOF
20987 rm -f conftest.$ac_objext
20988 if { (ac_try="$ac_compile"
20989 case "(($ac_try" in
20990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20991 *) ac_try_echo=$ac_try;;
20992 esac
20993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20994 (eval "$ac_compile") 2>conftest.er1
20995 ac_status=$?
20996 grep -v '^ *+' conftest.er1 >conftest.err
20997 rm -f conftest.er1
20998 cat conftest.err >&5
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); } && {
21001 test -z "$ac_c_werror_flag" ||
21002 test ! -s conftest.err
21003 } && test -s conftest.$ac_objext; then
21004 ac_cv_member_struct_mtget_mt_blkno=yes
21005 else
21006 echo "$as_me: failed program was:" >&5
21007 sed 's/^/| /' conftest.$ac_ext >&5
21009 ac_cv_member_struct_mtget_mt_blkno=no
21012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21017 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
21018 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
21019 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
21021 cat >>confdefs.h <<_ACEOF
21022 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
21023 _ACEOF
21029 { echo "$as_me:$LINENO: checking for struct option.name" >&5
21030 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
21031 if test "${ac_cv_member_struct_option_name+set}" = set; then
21032 echo $ECHO_N "(cached) $ECHO_C" >&6
21033 else
21034 cat >conftest.$ac_ext <<_ACEOF
21035 /* confdefs.h. */
21036 _ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 #ifdef HAVE_GETOPT_H
21041 #include <getopt.h>
21042 #endif
21045 main ()
21047 static struct option ac_aggr;
21048 if (ac_aggr.name)
21049 return 0;
21051 return 0;
21053 _ACEOF
21054 rm -f conftest.$ac_objext
21055 if { (ac_try="$ac_compile"
21056 case "(($ac_try" in
21057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21058 *) ac_try_echo=$ac_try;;
21059 esac
21060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21061 (eval "$ac_compile") 2>conftest.er1
21062 ac_status=$?
21063 grep -v '^ *+' conftest.er1 >conftest.err
21064 rm -f conftest.er1
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } && {
21068 test -z "$ac_c_werror_flag" ||
21069 test ! -s conftest.err
21070 } && test -s conftest.$ac_objext; then
21071 ac_cv_member_struct_option_name=yes
21072 else
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.$ac_ext >&5
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 #ifdef HAVE_GETOPT_H
21083 #include <getopt.h>
21084 #endif
21087 main ()
21089 static struct option ac_aggr;
21090 if (sizeof ac_aggr.name)
21091 return 0;
21093 return 0;
21095 _ACEOF
21096 rm -f conftest.$ac_objext
21097 if { (ac_try="$ac_compile"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21101 esac
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_compile") 2>conftest.er1
21104 ac_status=$?
21105 grep -v '^ *+' conftest.er1 >conftest.err
21106 rm -f conftest.er1
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && {
21110 test -z "$ac_c_werror_flag" ||
21111 test ! -s conftest.err
21112 } && test -s conftest.$ac_objext; then
21113 ac_cv_member_struct_option_name=yes
21114 else
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21118 ac_cv_member_struct_option_name=no
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21126 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
21127 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
21128 if test $ac_cv_member_struct_option_name = yes; then
21130 cat >>confdefs.h <<_ACEOF
21131 #define HAVE_STRUCT_OPTION_NAME 1
21132 _ACEOF
21138 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
21139 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
21140 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
21141 echo $ECHO_N "(cached) $ECHO_C" >&6
21142 else
21143 cat >conftest.$ac_ext <<_ACEOF
21144 /* confdefs.h. */
21145 _ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21151 main ()
21153 static struct stat ac_aggr;
21154 if (ac_aggr.st_blocks)
21155 return 0;
21157 return 0;
21159 _ACEOF
21160 rm -f conftest.$ac_objext
21161 if { (ac_try="$ac_compile"
21162 case "(($ac_try" in
21163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21164 *) ac_try_echo=$ac_try;;
21165 esac
21166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21167 (eval "$ac_compile") 2>conftest.er1
21168 ac_status=$?
21169 grep -v '^ *+' conftest.er1 >conftest.err
21170 rm -f conftest.er1
21171 cat conftest.err >&5
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); } && {
21174 test -z "$ac_c_werror_flag" ||
21175 test ! -s conftest.err
21176 } && test -s conftest.$ac_objext; then
21177 ac_cv_member_struct_stat_st_blocks=yes
21178 else
21179 echo "$as_me: failed program was:" >&5
21180 sed 's/^/| /' conftest.$ac_ext >&5
21182 cat >conftest.$ac_ext <<_ACEOF
21183 /* confdefs.h. */
21184 _ACEOF
21185 cat confdefs.h >>conftest.$ac_ext
21186 cat >>conftest.$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21188 $ac_includes_default
21190 main ()
21192 static struct stat ac_aggr;
21193 if (sizeof ac_aggr.st_blocks)
21194 return 0;
21196 return 0;
21198 _ACEOF
21199 rm -f conftest.$ac_objext
21200 if { (ac_try="$ac_compile"
21201 case "(($ac_try" in
21202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21203 *) ac_try_echo=$ac_try;;
21204 esac
21205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21206 (eval "$ac_compile") 2>conftest.er1
21207 ac_status=$?
21208 grep -v '^ *+' conftest.er1 >conftest.err
21209 rm -f conftest.er1
21210 cat conftest.err >&5
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); } && {
21213 test -z "$ac_c_werror_flag" ||
21214 test ! -s conftest.err
21215 } && test -s conftest.$ac_objext; then
21216 ac_cv_member_struct_stat_st_blocks=yes
21217 else
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21221 ac_cv_member_struct_stat_st_blocks=no
21224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
21230 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
21231 if test $ac_cv_member_struct_stat_st_blocks = yes; then
21233 cat >>confdefs.h <<_ACEOF
21234 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21235 _ACEOF
21241 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21242 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21243 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21244 echo $ECHO_N "(cached) $ECHO_C" >&6
21245 else
21246 cat >conftest.$ac_ext <<_ACEOF
21247 /* confdefs.h. */
21248 _ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 #ifdef HAVE_SYS_TYPES_H
21253 #include <sys/types.h>
21254 #endif
21255 #ifdef HAVE_NETINET_IN_H
21256 #include <netinet/in.h>
21257 #endif
21260 main ()
21262 static struct sockaddr_in6 ac_aggr;
21263 if (ac_aggr.sin6_scope_id)
21264 return 0;
21266 return 0;
21268 _ACEOF
21269 rm -f conftest.$ac_objext
21270 if { (ac_try="$ac_compile"
21271 case "(($ac_try" in
21272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21273 *) ac_try_echo=$ac_try;;
21274 esac
21275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21276 (eval "$ac_compile") 2>conftest.er1
21277 ac_status=$?
21278 grep -v '^ *+' conftest.er1 >conftest.err
21279 rm -f conftest.er1
21280 cat conftest.err >&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); } && {
21283 test -z "$ac_c_werror_flag" ||
21284 test ! -s conftest.err
21285 } && test -s conftest.$ac_objext; then
21286 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21287 else
21288 echo "$as_me: failed program was:" >&5
21289 sed 's/^/| /' conftest.$ac_ext >&5
21291 cat >conftest.$ac_ext <<_ACEOF
21292 /* confdefs.h. */
21293 _ACEOF
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297 #ifdef HAVE_SYS_TYPES_H
21298 #include <sys/types.h>
21299 #endif
21300 #ifdef HAVE_NETINET_IN_H
21301 #include <netinet/in.h>
21302 #endif
21305 main ()
21307 static struct sockaddr_in6 ac_aggr;
21308 if (sizeof ac_aggr.sin6_scope_id)
21309 return 0;
21311 return 0;
21313 _ACEOF
21314 rm -f conftest.$ac_objext
21315 if { (ac_try="$ac_compile"
21316 case "(($ac_try" in
21317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21318 *) ac_try_echo=$ac_try;;
21319 esac
21320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21321 (eval "$ac_compile") 2>conftest.er1
21322 ac_status=$?
21323 grep -v '^ *+' conftest.er1 >conftest.err
21324 rm -f conftest.er1
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } && {
21328 test -z "$ac_c_werror_flag" ||
21329 test ! -s conftest.err
21330 } && test -s conftest.$ac_objext; then
21331 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21332 else
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21336 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21344 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21345 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21346 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21348 cat >>confdefs.h <<_ACEOF
21349 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21350 _ACEOF
21356 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21357 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21358 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21359 echo $ECHO_N "(cached) $ECHO_C" >&6
21360 else
21361 cat >conftest.$ac_ext <<_ACEOF
21362 /* confdefs.h. */
21363 _ACEOF
21364 cat confdefs.h >>conftest.$ac_ext
21365 cat >>conftest.$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21367 #ifdef HAVE_SYS_TYPES_H
21368 #include <sys/types.h>
21369 #endif
21370 #ifdef HAVE_NETINET_IN_H
21371 # include <netinet/in.h>
21372 #endif
21373 #ifdef HAVE_ARPA_NAMESER_H
21374 # include <arpa/nameser.h>
21375 #endif
21378 main ()
21380 static ns_msg ac_aggr;
21381 if (ac_aggr._msg_ptr)
21382 return 0;
21384 return 0;
21386 _ACEOF
21387 rm -f conftest.$ac_objext
21388 if { (ac_try="$ac_compile"
21389 case "(($ac_try" in
21390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21391 *) ac_try_echo=$ac_try;;
21392 esac
21393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21394 (eval "$ac_compile") 2>conftest.er1
21395 ac_status=$?
21396 grep -v '^ *+' conftest.er1 >conftest.err
21397 rm -f conftest.er1
21398 cat conftest.err >&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); } && {
21401 test -z "$ac_c_werror_flag" ||
21402 test ! -s conftest.err
21403 } && test -s conftest.$ac_objext; then
21404 ac_cv_member_ns_msg__msg_ptr=yes
21405 else
21406 echo "$as_me: failed program was:" >&5
21407 sed 's/^/| /' conftest.$ac_ext >&5
21409 cat >conftest.$ac_ext <<_ACEOF
21410 /* confdefs.h. */
21411 _ACEOF
21412 cat confdefs.h >>conftest.$ac_ext
21413 cat >>conftest.$ac_ext <<_ACEOF
21414 /* end confdefs.h. */
21415 #ifdef HAVE_SYS_TYPES_H
21416 #include <sys/types.h>
21417 #endif
21418 #ifdef HAVE_NETINET_IN_H
21419 # include <netinet/in.h>
21420 #endif
21421 #ifdef HAVE_ARPA_NAMESER_H
21422 # include <arpa/nameser.h>
21423 #endif
21426 main ()
21428 static ns_msg ac_aggr;
21429 if (sizeof ac_aggr._msg_ptr)
21430 return 0;
21432 return 0;
21434 _ACEOF
21435 rm -f conftest.$ac_objext
21436 if { (ac_try="$ac_compile"
21437 case "(($ac_try" in
21438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21439 *) ac_try_echo=$ac_try;;
21440 esac
21441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21442 (eval "$ac_compile") 2>conftest.er1
21443 ac_status=$?
21444 grep -v '^ *+' conftest.er1 >conftest.err
21445 rm -f conftest.er1
21446 cat conftest.err >&5
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } && {
21449 test -z "$ac_c_werror_flag" ||
21450 test ! -s conftest.err
21451 } && test -s conftest.$ac_objext; then
21452 ac_cv_member_ns_msg__msg_ptr=yes
21453 else
21454 echo "$as_me: failed program was:" >&5
21455 sed 's/^/| /' conftest.$ac_ext >&5
21457 ac_cv_member_ns_msg__msg_ptr=no
21460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21465 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21466 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21467 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21469 cat >>confdefs.h <<_ACEOF
21470 #define HAVE_NS_MSG__MSG_PTR 1
21471 _ACEOF
21477 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21478 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21479 if test "${ac_cv_have_timezone+set}" = set; then
21480 echo $ECHO_N "(cached) $ECHO_C" >&6
21481 else
21482 cat >conftest.$ac_ext <<_ACEOF
21483 /* confdefs.h. */
21484 _ACEOF
21485 cat confdefs.h >>conftest.$ac_ext
21486 cat >>conftest.$ac_ext <<_ACEOF
21487 /* end confdefs.h. */
21488 #include <time.h>
21490 main ()
21492 timezone = 1
21494 return 0;
21496 _ACEOF
21497 rm -f conftest.$ac_objext conftest$ac_exeext
21498 if { (ac_try="$ac_link"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21502 esac
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_link") 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest$ac_exeext &&
21514 $as_test_x conftest$ac_exeext; then
21515 ac_cv_have_timezone="yes"
21516 else
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.$ac_ext >&5
21520 ac_cv_have_timezone="no"
21523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21524 conftest$ac_exeext conftest.$ac_ext
21526 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21527 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21528 if test "$ac_cv_have_timezone" = "yes"
21529 then
21531 cat >>confdefs.h <<\_ACEOF
21532 #define HAVE_TIMEZONE 1
21533 _ACEOF
21536 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21537 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21538 if test "${ac_cv_have_daylight+set}" = set; then
21539 echo $ECHO_N "(cached) $ECHO_C" >&6
21540 else
21541 cat >conftest.$ac_ext <<_ACEOF
21542 /* confdefs.h. */
21543 _ACEOF
21544 cat confdefs.h >>conftest.$ac_ext
21545 cat >>conftest.$ac_ext <<_ACEOF
21546 /* end confdefs.h. */
21547 #include <time.h>
21549 main ()
21551 daylight = 1
21553 return 0;
21555 _ACEOF
21556 rm -f conftest.$ac_objext conftest$ac_exeext
21557 if { (ac_try="$ac_link"
21558 case "(($ac_try" in
21559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21560 *) ac_try_echo=$ac_try;;
21561 esac
21562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21563 (eval "$ac_link") 2>conftest.er1
21564 ac_status=$?
21565 grep -v '^ *+' conftest.er1 >conftest.err
21566 rm -f conftest.er1
21567 cat conftest.err >&5
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); } && {
21570 test -z "$ac_c_werror_flag" ||
21571 test ! -s conftest.err
21572 } && test -s conftest$ac_exeext &&
21573 $as_test_x conftest$ac_exeext; then
21574 ac_cv_have_daylight="yes"
21575 else
21576 echo "$as_me: failed program was:" >&5
21577 sed 's/^/| /' conftest.$ac_ext >&5
21579 ac_cv_have_daylight="no"
21582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21583 conftest$ac_exeext conftest.$ac_ext
21585 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21586 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21587 if test "$ac_cv_have_daylight" = "yes"
21588 then
21590 cat >>confdefs.h <<\_ACEOF
21591 #define HAVE_DAYLIGHT 1
21592 _ACEOF
21596 { echo "$as_me:$LINENO: checking for isinf" >&5
21597 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21598 if test "${ac_cv_have_isinf+set}" = set; then
21599 echo $ECHO_N "(cached) $ECHO_C" >&6
21600 else
21601 cat >conftest.$ac_ext <<_ACEOF
21602 /* confdefs.h. */
21603 _ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21607 #include <math.h>
21609 main ()
21611 float f = 0.0; int i=isinf(f)
21613 return 0;
21615 _ACEOF
21616 rm -f conftest.$ac_objext conftest$ac_exeext
21617 if { (ac_try="$ac_link"
21618 case "(($ac_try" in
21619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21620 *) ac_try_echo=$ac_try;;
21621 esac
21622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21623 (eval "$ac_link") 2>conftest.er1
21624 ac_status=$?
21625 grep -v '^ *+' conftest.er1 >conftest.err
21626 rm -f conftest.er1
21627 cat conftest.err >&5
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629 (exit $ac_status); } && {
21630 test -z "$ac_c_werror_flag" ||
21631 test ! -s conftest.err
21632 } && test -s conftest$ac_exeext &&
21633 $as_test_x conftest$ac_exeext; then
21634 ac_cv_have_isinf="yes"
21635 else
21636 echo "$as_me: failed program was:" >&5
21637 sed 's/^/| /' conftest.$ac_ext >&5
21639 ac_cv_have_isinf="no"
21642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21643 conftest$ac_exeext conftest.$ac_ext
21645 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21646 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21647 if test "$ac_cv_have_isinf" = "yes"
21648 then
21650 cat >>confdefs.h <<\_ACEOF
21651 #define HAVE_ISINF 1
21652 _ACEOF
21657 case $host_cpu in
21658 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21659 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21660 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21661 echo $ECHO_N "(cached) $ECHO_C" >&6
21662 else
21663 cat >conftest.$ac_ext <<_ACEOF
21664 /* confdefs.h. */
21665 _ACEOF
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21669 #ifndef __i386__
21671 #endif
21672 _ACEOF
21673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21674 $EGREP "yes" >/dev/null 2>&1; then
21675 ac_cv_cpp_def___i386__=yes
21676 else
21677 ac_cv_cpp_def___i386__=no
21679 rm -f conftest*
21682 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21683 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21684 if test $ac_cv_cpp_def___i386__ = yes; then
21685 CFLAGS="$CFLAGS -D__i386__"
21686 LINTFLAGS="$LINTFLAGS -D__i386__"
21689 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21690 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21691 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21692 echo $ECHO_N "(cached) $ECHO_C" >&6
21693 else
21694 cat >conftest.$ac_ext <<_ACEOF
21695 /* confdefs.h. */
21696 _ACEOF
21697 cat confdefs.h >>conftest.$ac_ext
21698 cat >>conftest.$ac_ext <<_ACEOF
21699 /* end confdefs.h. */
21700 #ifndef __x86_64__
21702 #endif
21703 _ACEOF
21704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21705 $EGREP "yes" >/dev/null 2>&1; then
21706 ac_cv_cpp_def___x86_64__=yes
21707 else
21708 ac_cv_cpp_def___x86_64__=no
21710 rm -f conftest*
21713 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21714 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21715 if test $ac_cv_cpp_def___x86_64__ = yes; then
21716 CFLAGS="$CFLAGS -D__x86_64__"
21717 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21720 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21721 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21722 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21723 echo $ECHO_N "(cached) $ECHO_C" >&6
21724 else
21725 cat >conftest.$ac_ext <<_ACEOF
21726 /* confdefs.h. */
21727 _ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731 #ifndef __ALPHA__
21733 #endif
21734 _ACEOF
21735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21736 $EGREP "yes" >/dev/null 2>&1; then
21737 ac_cv_cpp_def___ALPHA__=yes
21738 else
21739 ac_cv_cpp_def___ALPHA__=no
21741 rm -f conftest*
21744 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21745 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21746 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21747 CFLAGS="$CFLAGS -D__ALPHA__"
21748 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21751 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21752 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21753 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21754 echo $ECHO_N "(cached) $ECHO_C" >&6
21755 else
21756 cat >conftest.$ac_ext <<_ACEOF
21757 /* confdefs.h. */
21758 _ACEOF
21759 cat confdefs.h >>conftest.$ac_ext
21760 cat >>conftest.$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 #ifndef __sparc__
21764 #endif
21765 _ACEOF
21766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21767 $EGREP "yes" >/dev/null 2>&1; then
21768 ac_cv_cpp_def___sparc__=yes
21769 else
21770 ac_cv_cpp_def___sparc__=no
21772 rm -f conftest*
21775 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21776 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21777 if test $ac_cv_cpp_def___sparc__ = yes; then
21778 CFLAGS="$CFLAGS -D__sparc__"
21779 LINTFLAGS="$LINTFLAGS -D__sparc__"
21782 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21783 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21784 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21786 else
21787 cat >conftest.$ac_ext <<_ACEOF
21788 /* confdefs.h. */
21789 _ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 #ifndef __powerpc__
21795 #endif
21796 _ACEOF
21797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21798 $EGREP "yes" >/dev/null 2>&1; then
21799 ac_cv_cpp_def___powerpc__=yes
21800 else
21801 ac_cv_cpp_def___powerpc__=no
21803 rm -f conftest*
21806 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21807 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21808 if test $ac_cv_cpp_def___powerpc__ = yes; then
21809 CFLAGS="$CFLAGS -D__powerpc__"
21810 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21813 esac
21815 case $host_vendor in
21816 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21817 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21818 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21819 echo $ECHO_N "(cached) $ECHO_C" >&6
21820 else
21821 cat >conftest.$ac_ext <<_ACEOF
21822 /* confdefs.h. */
21823 _ACEOF
21824 cat confdefs.h >>conftest.$ac_ext
21825 cat >>conftest.$ac_ext <<_ACEOF
21826 /* end confdefs.h. */
21827 #ifndef __sun__
21829 #endif
21830 _ACEOF
21831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21832 $EGREP "yes" >/dev/null 2>&1; then
21833 ac_cv_cpp_def___sun__=yes
21834 else
21835 ac_cv_cpp_def___sun__=no
21837 rm -f conftest*
21840 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21841 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21842 if test $ac_cv_cpp_def___sun__ = yes; then
21843 CFLAGS="$CFLAGS -D__sun__"
21844 LINTFLAGS="$LINTFLAGS -D__sun__"
21847 esac
21850 DEPENDENCIES="### Dependencies:
21852 .INIT: Makefile
21853 .BEGIN: Makefile
21854 Makefile: dummy
21855 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21857 \$(OBJS): \$(IDL_GEN_HEADERS)
21858 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21859 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21860 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21861 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21867 ac_config_commands="$ac_config_commands include/stamp-h"
21870 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21872 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21874 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21876 ac_config_commands="$ac_config_commands dlls/user32/resources"
21878 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21880 ac_config_commands="$ac_config_commands include/wine"
21883 MAKE_RULES=Make.rules
21886 MAKE_DLL_RULES=dlls/Makedll.rules
21889 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21892 MAKE_TEST_RULES=dlls/Maketest.rules
21895 MAKE_PROG_RULES=programs/Makeprog.rules
21898 ac_config_files="$ac_config_files Make.rules"
21900 ac_config_files="$ac_config_files dlls/Makedll.rules"
21902 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21904 ac_config_files="$ac_config_files dlls/Maketest.rules"
21906 ac_config_files="$ac_config_files programs/Makeprog.rules"
21908 ac_config_files="$ac_config_files Makefile"
21910 ac_config_files="$ac_config_files dlls/Makefile"
21912 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21914 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21916 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21918 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21920 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21922 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21924 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21926 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21928 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21930 ac_config_files="$ac_config_files dlls/appwiz.cpl/Makefile"
21932 ac_config_files="$ac_config_files dlls/atl/Makefile"
21934 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21936 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21938 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21940 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21942 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21944 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21946 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21948 ac_config_files="$ac_config_files dlls/cards/Makefile"
21950 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21952 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21954 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21956 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21958 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21960 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21962 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21964 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21966 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21968 ac_config_files="$ac_config_files dlls/credui/Makefile"
21970 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21972 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21974 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21976 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21978 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21980 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21982 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21984 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21986 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21988 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21990 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21992 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21994 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21996 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21998 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
22000 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
22002 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
22004 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
22006 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
22008 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
22010 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
22012 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
22014 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
22016 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
22018 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
22020 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
22022 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
22024 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
22026 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
22028 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
22030 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
22032 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
22034 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
22036 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
22038 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
22040 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
22042 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
22044 ac_config_files="$ac_config_files dlls/d3dxof/tests/Makefile"
22046 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
22048 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
22050 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
22052 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
22054 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
22056 ac_config_files="$ac_config_files dlls/devenum/Makefile"
22058 ac_config_files="$ac_config_files dlls/dinput/Makefile"
22060 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
22062 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
22064 ac_config_files="$ac_config_files dlls/dmband/Makefile"
22066 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
22068 ac_config_files="$ac_config_files dlls/dmime/Makefile"
22070 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
22072 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
22074 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
22076 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
22078 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
22080 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
22082 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
22084 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
22086 ac_config_files="$ac_config_files dlls/dplay/Makefile"
22088 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
22090 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
22092 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
22094 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
22096 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
22098 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
22100 ac_config_files="$ac_config_files dlls/dpwsockx/Makefile"
22102 ac_config_files="$ac_config_files dlls/dsound/Makefile"
22104 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
22106 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
22108 ac_config_files="$ac_config_files dlls/dswave/Makefile"
22110 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
22112 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
22114 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
22116 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
22118 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
22120 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
22122 ac_config_files="$ac_config_files dlls/fusion/Makefile"
22124 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
22126 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
22128 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
22130 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
22132 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
22134 ac_config_files="$ac_config_files dlls/glu32/Makefile"
22136 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
22138 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
22140 ac_config_files="$ac_config_files dlls/hal/Makefile"
22142 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
22144 ac_config_files="$ac_config_files dlls/hid/Makefile"
22146 ac_config_files="$ac_config_files dlls/hlink/Makefile"
22148 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
22150 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
22152 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
22154 ac_config_files="$ac_config_files dlls/icmp/Makefile"
22156 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
22158 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
22160 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
22162 ac_config_files="$ac_config_files dlls/imm32/Makefile"
22164 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
22166 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
22168 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
22170 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
22172 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
22174 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
22176 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
22178 ac_config_files="$ac_config_files dlls/initpki/Makefile"
22180 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
22182 ac_config_files="$ac_config_files dlls/inseng/Makefile"
22184 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
22186 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
22188 ac_config_files="$ac_config_files dlls/itircl/Makefile"
22190 ac_config_files="$ac_config_files dlls/itss/Makefile"
22192 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
22194 ac_config_files="$ac_config_files dlls/jscript/Makefile"
22196 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
22198 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
22200 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
22202 ac_config_files="$ac_config_files dlls/localspl/Makefile"
22204 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
22206 ac_config_files="$ac_config_files dlls/localui/Makefile"
22208 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
22210 ac_config_files="$ac_config_files dlls/lz32/Makefile"
22212 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
22214 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
22216 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
22218 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
22220 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
22222 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
22224 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
22226 ac_config_files="$ac_config_files dlls/midimap/Makefile"
22228 ac_config_files="$ac_config_files dlls/mlang/Makefile"
22230 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
22232 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
22234 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
22236 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
22238 ac_config_files="$ac_config_files dlls/mpr/Makefile"
22240 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
22242 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
22244 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
22246 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
22248 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
22250 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
22252 ac_config_files="$ac_config_files dlls/mscms/Makefile"
22254 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
22256 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
22258 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
22260 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
22262 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
22264 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
22266 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
22268 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
22270 ac_config_files="$ac_config_files dlls/msi/Makefile"
22272 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
22274 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
22276 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
22278 ac_config_files="$ac_config_files dlls/msisip/Makefile"
22280 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
22282 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
22284 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
22286 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
22288 ac_config_files="$ac_config_files dlls/mstask/Makefile"
22290 ac_config_files="$ac_config_files dlls/mstask/tests/Makefile"
22292 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
22294 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
22296 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
22298 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
22300 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
22302 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
22304 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
22306 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
22308 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
22310 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
22312 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
22314 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
22316 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
22318 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
22320 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
22322 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
22324 ac_config_files="$ac_config_files dlls/newdev/Makefile"
22326 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
22328 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
22330 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
22332 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22334 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22336 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22338 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22340 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22342 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22344 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22346 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22348 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22350 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22352 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22354 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22356 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22358 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22360 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22362 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22364 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22366 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22368 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22370 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22372 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22374 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22376 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22378 ac_config_files="$ac_config_files dlls/printui/Makefile"
22380 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22382 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22384 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22386 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22388 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22390 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22392 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22394 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22396 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22398 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22400 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22402 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22404 ac_config_files="$ac_config_files dlls/query/Makefile"
22406 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22408 ac_config_files="$ac_config_files dlls/rasapi32/tests/Makefile"
22410 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22412 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22414 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22416 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22418 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22420 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22422 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22424 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22426 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22428 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22430 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22432 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22434 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22436 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22438 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22440 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22442 ac_config_files="$ac_config_files dlls/security/Makefile"
22444 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22446 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22448 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22450 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22452 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22454 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22456 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22458 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22460 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22462 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22464 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22466 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22468 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22470 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22472 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22474 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22476 ac_config_files="$ac_config_files dlls/slc/Makefile"
22478 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22480 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22482 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22484 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22486 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22488 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22490 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22492 ac_config_files="$ac_config_files dlls/sti/Makefile"
22494 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22496 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22498 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22500 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22502 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22504 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22506 ac_config_files="$ac_config_files dlls/url/Makefile"
22508 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22510 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22512 ac_config_files="$ac_config_files dlls/user32/Makefile"
22514 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22516 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22518 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22520 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22522 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22524 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22526 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22528 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22530 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22532 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22534 ac_config_files="$ac_config_files dlls/version/Makefile"
22536 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22538 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22540 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22542 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22544 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22546 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22548 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22550 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22552 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22554 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22556 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22558 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22560 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22562 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22564 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22566 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22568 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22570 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22572 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22574 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22576 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22578 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22580 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22582 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22584 ac_config_files="$ac_config_files dlls/winhttp/tests/Makefile"
22586 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22588 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22590 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22592 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22594 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22596 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22598 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22600 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22602 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22604 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22606 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22608 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22610 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22612 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22614 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22616 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22618 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22620 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22622 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22624 ac_config_files="$ac_config_files documentation/Makefile"
22626 ac_config_files="$ac_config_files fonts/Makefile"
22628 ac_config_files="$ac_config_files include/Makefile"
22630 ac_config_files="$ac_config_files libs/Makefile"
22632 ac_config_files="$ac_config_files libs/port/Makefile"
22634 ac_config_files="$ac_config_files libs/wine/Makefile"
22636 ac_config_files="$ac_config_files libs/wpp/Makefile"
22638 ac_config_files="$ac_config_files loader/Makefile"
22640 ac_config_files="$ac_config_files programs/Makefile"
22642 ac_config_files="$ac_config_files programs/clock/Makefile"
22644 ac_config_files="$ac_config_files programs/cmd/Makefile"
22646 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22648 ac_config_files="$ac_config_files programs/control/Makefile"
22650 ac_config_files="$ac_config_files programs/eject/Makefile"
22652 ac_config_files="$ac_config_files programs/expand/Makefile"
22654 ac_config_files="$ac_config_files programs/explorer/Makefile"
22656 ac_config_files="$ac_config_files programs/hh/Makefile"
22658 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22660 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22662 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22664 ac_config_files="$ac_config_files programs/net/Makefile"
22666 ac_config_files="$ac_config_files programs/notepad/Makefile"
22668 ac_config_files="$ac_config_files programs/oleview/Makefile"
22670 ac_config_files="$ac_config_files programs/progman/Makefile"
22672 ac_config_files="$ac_config_files programs/reg/Makefile"
22674 ac_config_files="$ac_config_files programs/regedit/Makefile"
22676 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22678 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22680 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22682 ac_config_files="$ac_config_files programs/secedit/Makefile"
22684 ac_config_files="$ac_config_files programs/services/Makefile"
22686 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22688 ac_config_files="$ac_config_files programs/start/Makefile"
22690 ac_config_files="$ac_config_files programs/svchost/Makefile"
22692 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22694 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22696 ac_config_files="$ac_config_files programs/view/Makefile"
22698 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22700 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22702 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22704 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22706 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22708 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22710 ac_config_files="$ac_config_files programs/winefile/Makefile"
22712 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22714 ac_config_files="$ac_config_files programs/winemine/Makefile"
22716 ac_config_files="$ac_config_files programs/winepath/Makefile"
22718 ac_config_files="$ac_config_files programs/winetest/Makefile"
22720 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22722 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22724 ac_config_files="$ac_config_files programs/winver/Makefile"
22726 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22728 ac_config_files="$ac_config_files programs/write/Makefile"
22730 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22732 ac_config_files="$ac_config_files server/Makefile"
22734 ac_config_files="$ac_config_files tools/Makefile"
22736 ac_config_files="$ac_config_files tools/widl/Makefile"
22738 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22740 ac_config_files="$ac_config_files tools/winedump/Makefile"
22742 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22744 ac_config_files="$ac_config_files tools/wmc/Makefile"
22746 ac_config_files="$ac_config_files tools/wrc/Makefile"
22749 cat >confcache <<\_ACEOF
22750 # This file is a shell script that caches the results of configure
22751 # tests run on this system so they can be shared between configure
22752 # scripts and configure runs, see configure's option --config-cache.
22753 # It is not useful on other systems. If it contains results you don't
22754 # want to keep, you may remove or edit it.
22756 # config.status only pays attention to the cache file if you give it
22757 # the --recheck option to rerun configure.
22759 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22760 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22761 # following values.
22763 _ACEOF
22765 # The following way of writing the cache mishandles newlines in values,
22766 # but we know of no workaround that is simple, portable, and efficient.
22767 # So, we kill variables containing newlines.
22768 # Ultrix sh set writes to stderr and can't be redirected directly,
22769 # and sets the high bit in the cache file unless we assign to the vars.
22771 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22772 eval ac_val=\$$ac_var
22773 case $ac_val in #(
22774 *${as_nl}*)
22775 case $ac_var in #(
22776 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22777 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22778 esac
22779 case $ac_var in #(
22780 _ | IFS | as_nl) ;; #(
22781 *) $as_unset $ac_var ;;
22782 esac ;;
22783 esac
22784 done
22786 (set) 2>&1 |
22787 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22788 *${as_nl}ac_space=\ *)
22789 # `set' does not quote correctly, so add quotes (double-quote
22790 # substitution turns \\\\ into \\, and sed turns \\ into \).
22791 sed -n \
22792 "s/'/'\\\\''/g;
22793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22794 ;; #(
22796 # `set' quotes correctly as required by POSIX, so do not add quotes.
22797 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22799 esac |
22800 sort
22802 sed '
22803 /^ac_cv_env_/b end
22804 t clear
22805 :clear
22806 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22807 t end
22808 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22809 :end' >>confcache
22810 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22811 if test -w "$cache_file"; then
22812 test "x$cache_file" != "x/dev/null" &&
22813 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22814 echo "$as_me: updating cache $cache_file" >&6;}
22815 cat confcache >$cache_file
22816 else
22817 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22818 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22821 rm -f confcache
22823 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22824 # Let make expand exec_prefix.
22825 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22827 DEFS=-DHAVE_CONFIG_H
22829 ac_libobjs=
22830 ac_ltlibobjs=
22831 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22832 # 1. Remove the extension, and $U if already installed.
22833 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22834 ac_i=`echo "$ac_i" | sed "$ac_script"`
22835 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22836 # will be set to the directory where LIBOBJS objects are built.
22837 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22838 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22839 done
22840 LIBOBJS=$ac_libobjs
22842 LTLIBOBJS=$ac_ltlibobjs
22846 : ${CONFIG_STATUS=./config.status}
22847 ac_clean_files_save=$ac_clean_files
22848 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22849 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22850 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22851 cat >$CONFIG_STATUS <<_ACEOF
22852 #! $SHELL
22853 # Generated by $as_me.
22854 # Run this file to recreate the current configuration.
22855 # Compiler output produced by configure, useful for debugging
22856 # configure, is in config.log if it exists.
22858 debug=false
22859 ac_cs_recheck=false
22860 ac_cs_silent=false
22861 SHELL=\${CONFIG_SHELL-$SHELL}
22862 _ACEOF
22864 cat >>$CONFIG_STATUS <<\_ACEOF
22865 ## --------------------- ##
22866 ## M4sh Initialization. ##
22867 ## --------------------- ##
22869 # Be more Bourne compatible
22870 DUALCASE=1; export DUALCASE # for MKS sh
22871 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22872 emulate sh
22873 NULLCMD=:
22874 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22875 # is contrary to our usage. Disable this feature.
22876 alias -g '${1+"$@"}'='"$@"'
22877 setopt NO_GLOB_SUBST
22878 else
22879 case `(set -o) 2>/dev/null` in
22880 *posix*) set -o posix ;;
22881 esac
22888 # PATH needs CR
22889 # Avoid depending upon Character Ranges.
22890 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22891 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22892 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22893 as_cr_digits='0123456789'
22894 as_cr_alnum=$as_cr_Letters$as_cr_digits
22896 # The user is always right.
22897 if test "${PATH_SEPARATOR+set}" != set; then
22898 echo "#! /bin/sh" >conf$$.sh
22899 echo "exit 0" >>conf$$.sh
22900 chmod +x conf$$.sh
22901 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22902 PATH_SEPARATOR=';'
22903 else
22904 PATH_SEPARATOR=:
22906 rm -f conf$$.sh
22909 # Support unset when possible.
22910 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22911 as_unset=unset
22912 else
22913 as_unset=false
22917 # IFS
22918 # We need space, tab and new line, in precisely that order. Quoting is
22919 # there to prevent editors from complaining about space-tab.
22920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22921 # splitting by setting IFS to empty value.)
22922 as_nl='
22924 IFS=" "" $as_nl"
22926 # Find who we are. Look in the path if we contain no directory separator.
22927 case $0 in
22928 *[\\/]* ) as_myself=$0 ;;
22929 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22930 for as_dir in $PATH
22932 IFS=$as_save_IFS
22933 test -z "$as_dir" && as_dir=.
22934 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22935 done
22936 IFS=$as_save_IFS
22939 esac
22940 # We did not find ourselves, most probably we were run as `sh COMMAND'
22941 # in which case we are not to be found in the path.
22942 if test "x$as_myself" = x; then
22943 as_myself=$0
22945 if test ! -f "$as_myself"; then
22946 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22947 { (exit 1); exit 1; }
22950 # Work around bugs in pre-3.0 UWIN ksh.
22951 for as_var in ENV MAIL MAILPATH
22952 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22953 done
22954 PS1='$ '
22955 PS2='> '
22956 PS4='+ '
22958 # NLS nuisances.
22959 for as_var in \
22960 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22961 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22962 LC_TELEPHONE LC_TIME
22964 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22965 eval $as_var=C; export $as_var
22966 else
22967 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22969 done
22971 # Required to use basename.
22972 if expr a : '\(a\)' >/dev/null 2>&1 &&
22973 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22974 as_expr=expr
22975 else
22976 as_expr=false
22979 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22980 as_basename=basename
22981 else
22982 as_basename=false
22986 # Name of the executable.
22987 as_me=`$as_basename -- "$0" ||
22988 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22989 X"$0" : 'X\(//\)$' \| \
22990 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22991 echo X/"$0" |
22992 sed '/^.*\/\([^/][^/]*\)\/*$/{
22993 s//\1/
22996 /^X\/\(\/\/\)$/{
22997 s//\1/
23000 /^X\/\(\/\).*/{
23001 s//\1/
23004 s/.*/./; q'`
23006 # CDPATH.
23007 $as_unset CDPATH
23011 as_lineno_1=$LINENO
23012 as_lineno_2=$LINENO
23013 test "x$as_lineno_1" != "x$as_lineno_2" &&
23014 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23016 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23017 # uniformly replaced by the line number. The first 'sed' inserts a
23018 # line-number line after each line using $LINENO; the second 'sed'
23019 # does the real work. The second script uses 'N' to pair each
23020 # line-number line with the line containing $LINENO, and appends
23021 # trailing '-' during substitution so that $LINENO is not a special
23022 # case at line end.
23023 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23024 # scripts with optimization help from Paolo Bonzini. Blame Lee
23025 # E. McMahon (1931-1989) for sed's syntax. :-)
23026 sed -n '
23028 /[$]LINENO/=
23029 ' <$as_myself |
23030 sed '
23031 s/[$]LINENO.*/&-/
23032 t lineno
23034 :lineno
23036 :loop
23037 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23038 t loop
23039 s/-\n.*//
23040 ' >$as_me.lineno &&
23041 chmod +x "$as_me.lineno" ||
23042 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23043 { (exit 1); exit 1; }; }
23045 # Don't try to exec as it changes $[0], causing all sort of problems
23046 # (the dirname of $[0] is not the place where we might find the
23047 # original and so on. Autoconf is especially sensitive to this).
23048 . "./$as_me.lineno"
23049 # Exit status is that of the last command.
23050 exit
23054 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23055 as_dirname=dirname
23056 else
23057 as_dirname=false
23060 ECHO_C= ECHO_N= ECHO_T=
23061 case `echo -n x` in
23062 -n*)
23063 case `echo 'x\c'` in
23064 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23065 *) ECHO_C='\c';;
23066 esac;;
23068 ECHO_N='-n';;
23069 esac
23071 if expr a : '\(a\)' >/dev/null 2>&1 &&
23072 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23073 as_expr=expr
23074 else
23075 as_expr=false
23078 rm -f conf$$ conf$$.exe conf$$.file
23079 if test -d conf$$.dir; then
23080 rm -f conf$$.dir/conf$$.file
23081 else
23082 rm -f conf$$.dir
23083 mkdir conf$$.dir
23085 echo >conf$$.file
23086 if ln -s conf$$.file conf$$ 2>/dev/null; then
23087 as_ln_s='ln -s'
23088 # ... but there are two gotchas:
23089 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23090 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23091 # In both cases, we have to default to `cp -p'.
23092 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23093 as_ln_s='cp -p'
23094 elif ln conf$$.file conf$$ 2>/dev/null; then
23095 as_ln_s=ln
23096 else
23097 as_ln_s='cp -p'
23099 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23100 rmdir conf$$.dir 2>/dev/null
23102 if mkdir -p . 2>/dev/null; then
23103 as_mkdir_p=:
23104 else
23105 test -d ./-p && rmdir ./-p
23106 as_mkdir_p=false
23109 if test -x / >/dev/null 2>&1; then
23110 as_test_x='test -x'
23111 else
23112 if ls -dL / >/dev/null 2>&1; then
23113 as_ls_L_option=L
23114 else
23115 as_ls_L_option=
23117 as_test_x='
23118 eval sh -c '\''
23119 if test -d "$1"; then
23120 test -d "$1/.";
23121 else
23122 case $1 in
23123 -*)set "./$1";;
23124 esac;
23125 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23126 ???[sx]*):;;*)false;;esac;fi
23127 '\'' sh
23130 as_executable_p=$as_test_x
23132 # Sed expression to map a string onto a valid CPP name.
23133 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23135 # Sed expression to map a string onto a valid variable name.
23136 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23139 exec 6>&1
23141 # Save the log message, to keep $[0] and so on meaningful, and to
23142 # report actual input values of CONFIG_FILES etc. instead of their
23143 # values after options handling.
23144 ac_log="
23145 This file was extended by Wine $as_me 1.1.2, which was
23146 generated by GNU Autoconf 2.61. Invocation command line was
23148 CONFIG_FILES = $CONFIG_FILES
23149 CONFIG_HEADERS = $CONFIG_HEADERS
23150 CONFIG_LINKS = $CONFIG_LINKS
23151 CONFIG_COMMANDS = $CONFIG_COMMANDS
23152 $ $0 $@
23154 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23157 _ACEOF
23159 cat >>$CONFIG_STATUS <<_ACEOF
23160 # Files that config.status was made for.
23161 config_files="$ac_config_files"
23162 config_headers="$ac_config_headers"
23163 config_commands="$ac_config_commands"
23165 _ACEOF
23167 cat >>$CONFIG_STATUS <<\_ACEOF
23168 ac_cs_usage="\
23169 \`$as_me' instantiates files from templates according to the
23170 current configuration.
23172 Usage: $0 [OPTIONS] [FILE]...
23174 -h, --help print this help, then exit
23175 -V, --version print version number and configuration settings, then exit
23176 -q, --quiet do not print progress messages
23177 -d, --debug don't remove temporary files
23178 --recheck update $as_me by reconfiguring in the same conditions
23179 --file=FILE[:TEMPLATE]
23180 instantiate the configuration file FILE
23181 --header=FILE[:TEMPLATE]
23182 instantiate the configuration header FILE
23184 Configuration files:
23185 $config_files
23187 Configuration headers:
23188 $config_headers
23190 Configuration commands:
23191 $config_commands
23193 Report bugs to <bug-autoconf@gnu.org>."
23195 _ACEOF
23196 cat >>$CONFIG_STATUS <<_ACEOF
23197 ac_cs_version="\\
23198 Wine config.status 1.1.2
23199 configured by $0, generated by GNU Autoconf 2.61,
23200 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23202 Copyright (C) 2006 Free Software Foundation, Inc.
23203 This config.status script is free software; the Free Software Foundation
23204 gives unlimited permission to copy, distribute and modify it."
23206 ac_pwd='$ac_pwd'
23207 srcdir='$srcdir'
23208 INSTALL='$INSTALL'
23209 _ACEOF
23211 cat >>$CONFIG_STATUS <<\_ACEOF
23212 # If no file are specified by the user, then we need to provide default
23213 # value. By we need to know if files were specified by the user.
23214 ac_need_defaults=:
23215 while test $# != 0
23217 case $1 in
23218 --*=*)
23219 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23220 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23221 ac_shift=:
23224 ac_option=$1
23225 ac_optarg=$2
23226 ac_shift=shift
23228 esac
23230 case $ac_option in
23231 # Handling of the options.
23232 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23233 ac_cs_recheck=: ;;
23234 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23235 echo "$ac_cs_version"; exit ;;
23236 --debug | --debu | --deb | --de | --d | -d )
23237 debug=: ;;
23238 --file | --fil | --fi | --f )
23239 $ac_shift
23240 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23241 ac_need_defaults=false;;
23242 --header | --heade | --head | --hea )
23243 $ac_shift
23244 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23245 ac_need_defaults=false;;
23246 --he | --h)
23247 # Conflict between --help and --header
23248 { echo "$as_me: error: ambiguous option: $1
23249 Try \`$0 --help' for more information." >&2
23250 { (exit 1); exit 1; }; };;
23251 --help | --hel | -h )
23252 echo "$ac_cs_usage"; exit ;;
23253 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23254 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23255 ac_cs_silent=: ;;
23257 # This is an error.
23258 -*) { echo "$as_me: error: unrecognized option: $1
23259 Try \`$0 --help' for more information." >&2
23260 { (exit 1); exit 1; }; } ;;
23262 *) ac_config_targets="$ac_config_targets $1"
23263 ac_need_defaults=false ;;
23265 esac
23266 shift
23267 done
23269 ac_configure_extra_args=
23271 if $ac_cs_silent; then
23272 exec 6>/dev/null
23273 ac_configure_extra_args="$ac_configure_extra_args --silent"
23276 _ACEOF
23277 cat >>$CONFIG_STATUS <<_ACEOF
23278 if \$ac_cs_recheck; then
23279 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23280 CONFIG_SHELL=$SHELL
23281 export CONFIG_SHELL
23282 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23285 _ACEOF
23286 cat >>$CONFIG_STATUS <<\_ACEOF
23287 exec 5>>config.log
23289 echo
23290 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23291 ## Running $as_me. ##
23292 _ASBOX
23293 echo "$ac_log"
23294 } >&5
23296 _ACEOF
23297 cat >>$CONFIG_STATUS <<_ACEOF
23298 _ACEOF
23300 cat >>$CONFIG_STATUS <<\_ACEOF
23302 # Handling of arguments.
23303 for ac_config_target in $ac_config_targets
23305 case $ac_config_target in
23306 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23307 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23308 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23309 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23310 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23311 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
23312 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23313 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
23314 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
23315 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
23316 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23317 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
23318 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
23319 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23320 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
23321 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
23322 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
23323 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23324 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23325 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23326 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23327 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
23328 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23329 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
23330 "dlls/appwiz.cpl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/appwiz.cpl/Makefile" ;;
23331 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
23332 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23333 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23334 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
23335 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23336 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23337 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23338 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23339 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
23340 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23341 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23342 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
23343 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23344 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23345 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23346 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23347 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23348 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23349 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23350 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23351 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23352 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23353 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23354 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23355 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23356 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23357 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23358 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23359 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23360 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23361 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23362 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23363 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23364 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23365 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23366 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23367 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23368 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23369 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23370 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23371 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23372 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23373 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23374 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23375 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23376 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23377 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23378 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23379 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23380 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23381 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23382 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23383 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23384 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23385 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23386 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23387 "dlls/d3dxof/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/tests/Makefile" ;;
23388 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23389 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23390 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23391 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23392 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23393 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23394 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23395 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23396 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23397 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23398 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23399 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23400 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23401 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23402 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23403 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23404 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23405 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23406 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23407 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23408 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23409 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23410 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23411 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23412 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23413 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23414 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23415 "dlls/dpwsockx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpwsockx/Makefile" ;;
23416 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23417 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23418 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23419 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23420 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23421 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23422 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23423 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23424 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23425 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23426 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23427 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23428 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23429 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23430 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23431 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23432 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23433 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23434 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23435 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23436 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23437 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23438 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23439 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23440 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23441 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23442 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23443 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23444 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23445 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23446 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23447 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23448 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23449 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23450 "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23451 "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23452 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23453 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23454 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23455 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23456 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23457 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23458 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23459 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23460 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23461 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23462 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23463 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23464 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23465 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23466 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23467 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23468 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23469 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23470 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23471 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23472 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23473 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23474 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23475 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23476 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23477 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23478 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23479 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23480 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23481 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23482 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23483 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23484 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23485 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23486 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23487 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23488 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23489 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23490 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23491 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23492 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23493 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23494 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23495 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23496 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23497 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23498 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23499 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23500 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23501 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23502 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23503 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23504 "dlls/msisip/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisip/Makefile" ;;
23505 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23506 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23507 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23508 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23509 "dlls/mstask/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/Makefile" ;;
23510 "dlls/mstask/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/tests/Makefile" ;;
23511 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23512 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23513 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23514 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23515 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23516 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23517 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23518 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23519 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23520 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23521 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23522 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23523 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23524 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23525 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23526 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23527 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23528 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23529 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23530 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23531 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23532 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23533 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23534 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23535 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23536 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23537 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23538 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23539 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23540 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23541 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23542 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23543 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23544 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23545 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23546 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23547 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23548 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23549 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23550 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23551 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23552 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23553 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23554 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23555 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23556 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23557 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23558 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23559 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23560 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23561 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23562 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23563 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23564 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23565 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23566 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23567 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23568 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23569 "dlls/rasapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/tests/Makefile" ;;
23570 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23571 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23572 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23573 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23574 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23575 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23576 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23577 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23578 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23579 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23580 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23581 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23582 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23583 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23584 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23585 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23586 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23587 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23588 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23589 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23590 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23591 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23592 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23593 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23594 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23595 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23596 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23597 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23598 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23599 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23600 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23601 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23602 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23603 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23604 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23605 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23606 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23607 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23608 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23609 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23610 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23611 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23612 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23613 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23614 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23615 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23616 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23617 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23618 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23619 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23620 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23621 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23622 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23623 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23624 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23625 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23626 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23627 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23628 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23629 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23630 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23631 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23632 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23633 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23634 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23635 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23636 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23637 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23638 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23639 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23640 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23641 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23642 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23643 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23644 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23645 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23646 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23647 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23648 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23649 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23650 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23651 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23652 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23653 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23654 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23655 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23656 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23657 "dlls/winhttp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/tests/Makefile" ;;
23658 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23659 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23660 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23661 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23662 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23663 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23664 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23665 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23666 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23667 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23668 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23669 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23670 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23671 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23672 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23673 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23674 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23675 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23676 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23677 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23678 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23679 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23680 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23681 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23682 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23683 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23684 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23685 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23686 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23687 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23688 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23689 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23690 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23691 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23692 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23693 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23694 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23695 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23696 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23697 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23698 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23699 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23700 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23701 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23702 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23703 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23704 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23705 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23706 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23707 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23708 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23709 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23710 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23711 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23712 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23713 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23714 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23715 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23716 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23717 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23718 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23719 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23720 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23721 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23722 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23723 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23724 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23725 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23726 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23727 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23728 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23729 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23730 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23731 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23732 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23733 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23734 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23735 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23736 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23737 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23738 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23740 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23741 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23742 { (exit 1); exit 1; }; };;
23743 esac
23744 done
23747 # If the user did not use the arguments to specify the items to instantiate,
23748 # then the envvar interface is used. Set only those that are not.
23749 # We use the long form for the default assignment because of an extremely
23750 # bizarre bug on SunOS 4.1.3.
23751 if $ac_need_defaults; then
23752 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23753 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23754 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23757 # Have a temporary directory for convenience. Make it in the build tree
23758 # simply because there is no reason against having it here, and in addition,
23759 # creating and moving files from /tmp can sometimes cause problems.
23760 # Hook for its removal unless debugging.
23761 # Note that there is a small window in which the directory will not be cleaned:
23762 # after its creation but before its name has been assigned to `$tmp'.
23763 $debug ||
23765 tmp=
23766 trap 'exit_status=$?
23767 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23769 trap '{ (exit 1); exit 1; }' 1 2 13 15
23771 # Create a (secure) tmp directory for tmp files.
23774 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23775 test -n "$tmp" && test -d "$tmp"
23776 } ||
23778 tmp=./conf$$-$RANDOM
23779 (umask 077 && mkdir "$tmp")
23780 } ||
23782 echo "$me: cannot create a temporary directory in ." >&2
23783 { (exit 1); exit 1; }
23787 # Set up the sed scripts for CONFIG_FILES section.
23790 # No need to generate the scripts if there are no CONFIG_FILES.
23791 # This happens for instance when ./config.status config.h
23792 if test -n "$CONFIG_FILES"; then
23794 _ACEOF
23796 # Create sed commands to just substitute file output variables.
23798 # Remaining file output variables are in a fragment that also has non-file
23799 # output varibles.
23803 ac_delim='%!_!# '
23804 for ac_last_try in false false false false false :; do
23805 cat >conf$$subs.sed <<_ACEOF
23806 SHELL!$SHELL$ac_delim
23807 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23808 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23809 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23810 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23811 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23812 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23813 exec_prefix!$exec_prefix$ac_delim
23814 prefix!$prefix$ac_delim
23815 program_transform_name!$program_transform_name$ac_delim
23816 bindir!$bindir$ac_delim
23817 sbindir!$sbindir$ac_delim
23818 libexecdir!$libexecdir$ac_delim
23819 datarootdir!$datarootdir$ac_delim
23820 datadir!$datadir$ac_delim
23821 sysconfdir!$sysconfdir$ac_delim
23822 sharedstatedir!$sharedstatedir$ac_delim
23823 localstatedir!$localstatedir$ac_delim
23824 includedir!$includedir$ac_delim
23825 oldincludedir!$oldincludedir$ac_delim
23826 docdir!$docdir$ac_delim
23827 infodir!$infodir$ac_delim
23828 htmldir!$htmldir$ac_delim
23829 dvidir!$dvidir$ac_delim
23830 pdfdir!$pdfdir$ac_delim
23831 psdir!$psdir$ac_delim
23832 libdir!$libdir$ac_delim
23833 localedir!$localedir$ac_delim
23834 mandir!$mandir$ac_delim
23835 DEFS!$DEFS$ac_delim
23836 ECHO_C!$ECHO_C$ac_delim
23837 ECHO_N!$ECHO_N$ac_delim
23838 ECHO_T!$ECHO_T$ac_delim
23839 LIBS!$LIBS$ac_delim
23840 build_alias!$build_alias$ac_delim
23841 host_alias!$host_alias$ac_delim
23842 target_alias!$target_alias$ac_delim
23843 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23844 build!$build$ac_delim
23845 build_cpu!$build_cpu$ac_delim
23846 build_vendor!$build_vendor$ac_delim
23847 build_os!$build_os$ac_delim
23848 host!$host$ac_delim
23849 host_cpu!$host_cpu$ac_delim
23850 host_vendor!$host_vendor$ac_delim
23851 host_os!$host_os$ac_delim
23852 WIN16_FILES!$WIN16_FILES$ac_delim
23853 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23854 SET_MAKE!$SET_MAKE$ac_delim
23855 CC!$CC$ac_delim
23856 CFLAGS!$CFLAGS$ac_delim
23857 LDFLAGS!$LDFLAGS$ac_delim
23858 CPPFLAGS!$CPPFLAGS$ac_delim
23859 ac_ct_CC!$ac_ct_CC$ac_delim
23860 EXEEXT!$EXEEXT$ac_delim
23861 OBJEXT!$OBJEXT$ac_delim
23862 CXX!$CXX$ac_delim
23863 CXXFLAGS!$CXXFLAGS$ac_delim
23864 ac_ct_CXX!$ac_ct_CXX$ac_delim
23865 CPPBIN!$CPPBIN$ac_delim
23866 TOOLSDIR!$TOOLSDIR$ac_delim
23867 XMKMF!$XMKMF$ac_delim
23868 CPP!$CPP$ac_delim
23869 X_CFLAGS!$X_CFLAGS$ac_delim
23870 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23871 X_LIBS!$X_LIBS$ac_delim
23872 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23873 FLEX!$FLEX$ac_delim
23874 BISON!$BISON$ac_delim
23875 AS!$AS$ac_delim
23876 ac_ct_AS!$ac_ct_AS$ac_delim
23877 LD!$LD$ac_delim
23878 ac_ct_LD!$ac_ct_LD$ac_delim
23879 NM!$NM$ac_delim
23880 ac_ct_NM!$ac_ct_NM$ac_delim
23881 AR!$AR$ac_delim
23882 ac_ct_AR!$ac_ct_AR$ac_delim
23883 ARFLAGS!$ARFLAGS$ac_delim
23884 RANLIB!$RANLIB$ac_delim
23885 STRIP!$STRIP$ac_delim
23886 WINDRES!$WINDRES$ac_delim
23887 LN_S!$LN_S$ac_delim
23888 _ACEOF
23890 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23891 break
23892 elif $ac_last_try; then
23893 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23894 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23895 { (exit 1); exit 1; }; }
23896 else
23897 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23899 done
23901 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23902 if test -n "$ac_eof"; then
23903 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23904 ac_eof=`expr $ac_eof + 1`
23907 cat >>$CONFIG_STATUS <<_ACEOF
23908 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23909 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23910 /^[ ]*@MAKE_RULES@[ ]*$/{
23911 r $MAKE_RULES
23914 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23915 r $MAKE_DLL_RULES
23918 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23919 r $MAKE_IMPLIB_RULES
23922 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23923 r $MAKE_TEST_RULES
23926 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23927 r $MAKE_PROG_RULES
23930 _ACEOF
23931 sed '
23932 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23933 s/^/s,@/; s/!/@,|#_!!_#|/
23936 s/'"$ac_delim"'$/,g/; t
23937 s/$/\\/; p
23938 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23939 ' >>$CONFIG_STATUS <conf$$subs.sed
23940 rm -f conf$$subs.sed
23941 cat >>$CONFIG_STATUS <<_ACEOF
23942 CEOF$ac_eof
23943 _ACEOF
23946 ac_delim='%!_!# '
23947 for ac_last_try in false false false false false :; do
23948 cat >conf$$subs.sed <<_ACEOF
23949 LN!$LN$ac_delim
23950 GREP!$GREP$ac_delim
23951 EGREP!$EGREP$ac_delim
23952 LDCONFIG!$LDCONFIG$ac_delim
23953 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23954 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23955 INSTALL_DATA!$INSTALL_DATA$ac_delim
23956 LINT!$LINT$ac_delim
23957 LINTFLAGS!$LINTFLAGS$ac_delim
23958 FONTFORGE!$FONTFORGE$ac_delim
23959 PKG_CONFIG!$PKG_CONFIG$ac_delim
23960 RSVG!$RSVG$ac_delim
23961 ICOTOOL!$ICOTOOL$ac_delim
23962 PRELINK!$PRELINK$ac_delim
23963 LIBPTHREAD!$LIBPTHREAD$ac_delim
23964 XLIB!$XLIB$ac_delim
23965 XFILES!$XFILES$ac_delim
23966 OPENGLFILES!$OPENGLFILES$ac_delim
23967 GLU32FILES!$GLU32FILES$ac_delim
23968 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23969 QUARTZFILES!$QUARTZFILES$ac_delim
23970 DLLEXT!$DLLEXT$ac_delim
23971 DLLFLAGS!$DLLFLAGS$ac_delim
23972 LDSHARED!$LDSHARED$ac_delim
23973 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23974 LIBEXT!$LIBEXT$ac_delim
23975 IMPLIBEXT!$IMPLIBEXT$ac_delim
23976 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23977 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23978 LDD!$LDD$ac_delim
23979 DLLTOOL!$DLLTOOL$ac_delim
23980 DLLWRAP!$DLLWRAP$ac_delim
23981 MINGWAR!$MINGWAR$ac_delim
23982 SECURITYLIB!$SECURITYLIB$ac_delim
23983 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23984 IOKITLIB!$IOKITLIB$ac_delim
23985 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23986 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23987 COREAUDIO!$COREAUDIO$ac_delim
23988 CARBONLIB!$CARBONLIB$ac_delim
23989 CROSSTEST!$CROSSTEST$ac_delim
23990 CROSSCC!$CROSSCC$ac_delim
23991 CROSSWINDRES!$CROSSWINDRES$ac_delim
23992 NASLIBS!$NASLIBS$ac_delim
23993 XML2LIBS!$XML2LIBS$ac_delim
23994 XML2INCL!$XML2INCL$ac_delim
23995 XSLTLIBS!$XSLTLIBS$ac_delim
23996 XSLTINCL!$XSLTINCL$ac_delim
23997 HALINCL!$HALINCL$ac_delim
23998 sane_devel!$sane_devel$ac_delim
23999 SANEINCL!$SANEINCL$ac_delim
24000 gphoto2_devel!$gphoto2_devel$ac_delim
24001 gphoto2port_devel!$gphoto2port_devel$ac_delim
24002 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24003 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24004 RESOLVLIBS!$RESOLVLIBS$ac_delim
24005 LCMSLIBS!$LCMSLIBS$ac_delim
24006 ft_devel!$ft_devel$ac_delim
24007 FREETYPELIBS!$FREETYPELIBS$ac_delim
24008 FREETYPEINCL!$FREETYPEINCL$ac_delim
24009 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24010 ESDCONFIG!$ESDCONFIG$ac_delim
24011 ESDINCL!$ESDINCL$ac_delim
24012 ESDLIBS!$ESDLIBS$ac_delim
24013 ALSALIBS!$ALSALIBS$ac_delim
24014 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24015 CUPSINCL!$CUPSINCL$ac_delim
24016 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
24017 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24018 BUILTINFLAG!$BUILTINFLAG$ac_delim
24019 LDPATH!$LDPATH$ac_delim
24020 CRTLIBS!$CRTLIBS$ac_delim
24021 SOCKETLIBS!$SOCKETLIBS$ac_delim
24022 MAIN_BINARY!$MAIN_BINARY$ac_delim
24023 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24024 LIBDL!$LIBDL$ac_delim
24025 LIBPOLL!$LIBPOLL$ac_delim
24026 LDAPLIBS!$LDAPLIBS$ac_delim
24027 DEPENDENCIES!$DEPENDENCIES$ac_delim
24028 LIBOBJS!$LIBOBJS$ac_delim
24029 LTLIBOBJS!$LTLIBOBJS$ac_delim
24030 _ACEOF
24032 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
24033 break
24034 elif $ac_last_try; then
24035 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24036 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24037 { (exit 1); exit 1; }; }
24038 else
24039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24041 done
24043 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24044 if test -n "$ac_eof"; then
24045 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24046 ac_eof=`expr $ac_eof + 1`
24049 cat >>$CONFIG_STATUS <<_ACEOF
24050 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24051 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24052 _ACEOF
24053 sed '
24054 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24055 s/^/s,@/; s/!/@,|#_!!_#|/
24058 s/'"$ac_delim"'$/,g/; t
24059 s/$/\\/; p
24060 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24061 ' >>$CONFIG_STATUS <conf$$subs.sed
24062 rm -f conf$$subs.sed
24063 cat >>$CONFIG_STATUS <<_ACEOF
24064 :end
24065 s/|#_!!_#|//g
24066 CEOF$ac_eof
24067 _ACEOF
24070 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24071 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24072 # trailing colons and then remove the whole line if VPATH becomes empty
24073 # (actually we leave an empty line to preserve line numbers).
24074 if test "x$srcdir" = x.; then
24075 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24076 s/:*\$(srcdir):*/:/
24077 s/:*\${srcdir}:*/:/
24078 s/:*@srcdir@:*/:/
24079 s/^\([^=]*=[ ]*\):*/\1/
24080 s/:*$//
24081 s/^[^=]*=[ ]*$//
24085 cat >>$CONFIG_STATUS <<\_ACEOF
24086 fi # test -n "$CONFIG_FILES"
24089 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24091 case $ac_tag in
24092 :[FHLC]) ac_mode=$ac_tag; continue;;
24093 esac
24094 case $ac_mode$ac_tag in
24095 :[FHL]*:*);;
24096 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24097 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24098 { (exit 1); exit 1; }; };;
24099 :[FH]-) ac_tag=-:-;;
24100 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24101 esac
24102 ac_save_IFS=$IFS
24103 IFS=:
24104 set x $ac_tag
24105 IFS=$ac_save_IFS
24106 shift
24107 ac_file=$1
24108 shift
24110 case $ac_mode in
24111 :L) ac_source=$1;;
24112 :[FH])
24113 ac_file_inputs=
24114 for ac_f
24116 case $ac_f in
24117 -) ac_f="$tmp/stdin";;
24118 *) # Look for the file first in the build tree, then in the source tree
24119 # (if the path is not absolute). The absolute path cannot be DOS-style,
24120 # because $ac_f cannot contain `:'.
24121 test -f "$ac_f" ||
24122 case $ac_f in
24123 [\\/$]*) false;;
24124 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24125 esac ||
24126 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24127 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24128 { (exit 1); exit 1; }; };;
24129 esac
24130 ac_file_inputs="$ac_file_inputs $ac_f"
24131 done
24133 # Let's still pretend it is `configure' which instantiates (i.e., don't
24134 # use $as_me), people would be surprised to read:
24135 # /* config.h. Generated by config.status. */
24136 configure_input="Generated from "`IFS=:
24137 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24138 if test x"$ac_file" != x-; then
24139 configure_input="$ac_file. $configure_input"
24140 { echo "$as_me:$LINENO: creating $ac_file" >&5
24141 echo "$as_me: creating $ac_file" >&6;}
24144 case $ac_tag in
24145 *:-:* | *:-) cat >"$tmp/stdin";;
24146 esac
24148 esac
24150 ac_dir=`$as_dirname -- "$ac_file" ||
24151 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24152 X"$ac_file" : 'X\(//\)[^/]' \| \
24153 X"$ac_file" : 'X\(//\)$' \| \
24154 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24155 echo X"$ac_file" |
24156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24157 s//\1/
24160 /^X\(\/\/\)[^/].*/{
24161 s//\1/
24164 /^X\(\/\/\)$/{
24165 s//\1/
24168 /^X\(\/\).*/{
24169 s//\1/
24172 s/.*/./; q'`
24173 { as_dir="$ac_dir"
24174 case $as_dir in #(
24175 -*) as_dir=./$as_dir;;
24176 esac
24177 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24178 as_dirs=
24179 while :; do
24180 case $as_dir in #(
24181 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24182 *) as_qdir=$as_dir;;
24183 esac
24184 as_dirs="'$as_qdir' $as_dirs"
24185 as_dir=`$as_dirname -- "$as_dir" ||
24186 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24187 X"$as_dir" : 'X\(//\)[^/]' \| \
24188 X"$as_dir" : 'X\(//\)$' \| \
24189 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24190 echo X"$as_dir" |
24191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24192 s//\1/
24195 /^X\(\/\/\)[^/].*/{
24196 s//\1/
24199 /^X\(\/\/\)$/{
24200 s//\1/
24203 /^X\(\/\).*/{
24204 s//\1/
24207 s/.*/./; q'`
24208 test -d "$as_dir" && break
24209 done
24210 test -z "$as_dirs" || eval "mkdir $as_dirs"
24211 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24212 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24213 { (exit 1); exit 1; }; }; }
24214 ac_builddir=.
24216 case "$ac_dir" in
24217 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24219 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24220 # A ".." for each directory in $ac_dir_suffix.
24221 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24222 case $ac_top_builddir_sub in
24223 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24224 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24225 esac ;;
24226 esac
24227 ac_abs_top_builddir=$ac_pwd
24228 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24229 # for backward compatibility:
24230 ac_top_builddir=$ac_top_build_prefix
24232 case $srcdir in
24233 .) # We are building in place.
24234 ac_srcdir=.
24235 ac_top_srcdir=$ac_top_builddir_sub
24236 ac_abs_top_srcdir=$ac_pwd ;;
24237 [\\/]* | ?:[\\/]* ) # Absolute name.
24238 ac_srcdir=$srcdir$ac_dir_suffix;
24239 ac_top_srcdir=$srcdir
24240 ac_abs_top_srcdir=$srcdir ;;
24241 *) # Relative name.
24242 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24243 ac_top_srcdir=$ac_top_build_prefix$srcdir
24244 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24245 esac
24246 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24249 case $ac_mode in
24252 # CONFIG_FILE
24255 case $INSTALL in
24256 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24257 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24258 esac
24259 _ACEOF
24261 cat >>$CONFIG_STATUS <<\_ACEOF
24262 # If the template does not know about datarootdir, expand it.
24263 # FIXME: This hack should be removed a few years after 2.60.
24264 ac_datarootdir_hack=; ac_datarootdir_seen=
24266 case `sed -n '/datarootdir/ {
24270 /@datadir@/p
24271 /@docdir@/p
24272 /@infodir@/p
24273 /@localedir@/p
24274 /@mandir@/p
24275 ' $ac_file_inputs` in
24276 *datarootdir*) ac_datarootdir_seen=yes;;
24277 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24278 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24279 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24280 _ACEOF
24281 cat >>$CONFIG_STATUS <<_ACEOF
24282 ac_datarootdir_hack='
24283 s&@datadir@&$datadir&g
24284 s&@docdir@&$docdir&g
24285 s&@infodir@&$infodir&g
24286 s&@localedir@&$localedir&g
24287 s&@mandir@&$mandir&g
24288 s&\\\${datarootdir}&$datarootdir&g' ;;
24289 esac
24290 _ACEOF
24292 # Neutralize VPATH when `$srcdir' = `.'.
24293 # Shell code in configure.ac might set extrasub.
24294 # FIXME: do we really want to maintain this feature?
24295 cat >>$CONFIG_STATUS <<_ACEOF
24296 sed "$ac_vpsub
24297 $extrasub
24298 _ACEOF
24299 cat >>$CONFIG_STATUS <<\_ACEOF
24301 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24302 s&@configure_input@&$configure_input&;t t
24303 s&@top_builddir@&$ac_top_builddir_sub&;t t
24304 s&@srcdir@&$ac_srcdir&;t t
24305 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24306 s&@top_srcdir@&$ac_top_srcdir&;t t
24307 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24308 s&@builddir@&$ac_builddir&;t t
24309 s&@abs_builddir@&$ac_abs_builddir&;t t
24310 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24311 s&@INSTALL@&$ac_INSTALL&;t t
24312 $ac_datarootdir_hack
24313 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24315 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24316 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24317 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24318 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24319 which seems to be undefined. Please make sure it is defined." >&5
24320 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24321 which seems to be undefined. Please make sure it is defined." >&2;}
24323 rm -f "$tmp/stdin"
24324 case $ac_file in
24325 -) cat "$tmp/out"; rm -f "$tmp/out";;
24326 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24327 esac
24331 # CONFIG_HEADER
24333 _ACEOF
24335 # Transform confdefs.h into a sed script `conftest.defines', that
24336 # substitutes the proper values into config.h.in to produce config.h.
24337 rm -f conftest.defines conftest.tail
24338 # First, append a space to every undef/define line, to ease matching.
24339 echo 's/$/ /' >conftest.defines
24340 # Then, protect against being on the right side of a sed subst, or in
24341 # an unquoted here document, in config.status. If some macros were
24342 # called several times there might be several #defines for the same
24343 # symbol, which is useless. But do not sort them, since the last
24344 # AC_DEFINE must be honored.
24345 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24346 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24347 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24348 # PARAMS is the parameter list in the macro definition--in most cases, it's
24349 # just an empty string.
24350 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24351 ac_dB='\\)[ (].*,\\1define\\2'
24352 ac_dC=' '
24353 ac_dD=' ,'
24355 uniq confdefs.h |
24356 sed -n '
24357 t rset
24358 :rset
24359 s/^[ ]*#[ ]*define[ ][ ]*//
24360 t ok
24363 s/[\\&,]/\\&/g
24364 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24365 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24366 ' >>conftest.defines
24368 # Remove the space that was appended to ease matching.
24369 # Then replace #undef with comments. This is necessary, for
24370 # example, in the case of _POSIX_SOURCE, which is predefined and required
24371 # on some systems where configure will not decide to define it.
24372 # (The regexp can be short, since the line contains either #define or #undef.)
24373 echo 's/ $//
24374 s,^[ #]*u.*,/* & */,' >>conftest.defines
24376 # Break up conftest.defines:
24377 ac_max_sed_lines=50
24379 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24380 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24381 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24382 # et cetera.
24383 ac_in='$ac_file_inputs'
24384 ac_out='"$tmp/out1"'
24385 ac_nxt='"$tmp/out2"'
24387 while :
24389 # Write a here document:
24390 cat >>$CONFIG_STATUS <<_ACEOF
24391 # First, check the format of the line:
24392 cat >"\$tmp/defines.sed" <<\\CEOF
24393 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24394 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24396 :def
24397 _ACEOF
24398 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24399 echo 'CEOF
24400 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24401 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24402 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24403 grep . conftest.tail >/dev/null || break
24404 rm -f conftest.defines
24405 mv conftest.tail conftest.defines
24406 done
24407 rm -f conftest.defines conftest.tail
24409 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24410 cat >>$CONFIG_STATUS <<\_ACEOF
24411 if test x"$ac_file" != x-; then
24412 echo "/* $configure_input */" >"$tmp/config.h"
24413 cat "$ac_result" >>"$tmp/config.h"
24414 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24415 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24416 echo "$as_me: $ac_file is unchanged" >&6;}
24417 else
24418 rm -f $ac_file
24419 mv "$tmp/config.h" $ac_file
24421 else
24422 echo "/* $configure_input */"
24423 cat "$ac_result"
24425 rm -f "$tmp/out12"
24428 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24429 echo "$as_me: executing $ac_file commands" >&6;}
24431 esac
24434 case $ac_file$ac_mode in
24435 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24436 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24437 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24438 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24439 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24440 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24441 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24442 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24443 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24444 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24445 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24446 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24447 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24449 esac
24450 done # for ac_tag
24453 { (exit 0); exit 0; }
24454 _ACEOF
24455 chmod +x $CONFIG_STATUS
24456 ac_clean_files=$ac_clean_files_save
24459 # configure is writing to config.log, and then calls config.status.
24460 # config.status does its own redirection, appending to config.log.
24461 # Unfortunately, on DOS this fails, as config.log is still kept open
24462 # by configure, so config.status won't be able to write to it; its
24463 # output is simply discarded. So we exec the FD to /dev/null,
24464 # effectively closing config.log, so it can be properly (re)opened and
24465 # appended to by config.status. When coming back to configure, we
24466 # need to make the FD available again.
24467 if test "$no_create" != yes; then
24468 ac_cs_success=:
24469 ac_config_status_args=
24470 test "$silent" = yes &&
24471 ac_config_status_args="$ac_config_status_args --quiet"
24472 exec 5>/dev/null
24473 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24474 exec 5>>config.log
24475 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24476 # would make configure fail if this is the last instruction.
24477 $ac_cs_success || { (exit 1); exit 1; }
24481 if test "$no_create" = "yes"
24482 then
24483 exit 0
24486 ac_save_IFS="$IFS"
24487 IFS="|"
24488 if test "x$wine_notices != "x; then
24489 echo >&6
24490 for msg in $wine_notices; do
24491 if test -n "$msg"; then
24492 { echo "$as_me:$LINENO: $msg" >&5
24493 echo "$as_me: $msg" >&6;}
24495 done
24497 for msg in $wine_warnings; do
24498 if test -n "$msg"; then
24499 echo >&2
24500 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24501 echo "$as_me: WARNING: $msg" >&2;}
24503 done
24504 IFS="$ac_save_IFS"
24506 echo "
24507 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24508 " >&6