crypt32/tests: fix the protectdata tests on Vista.
[wine/wine64.git] / configure
blobb5c34de850ab1510de0c3d650520fa187cb07fbb
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.1.1.
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.1'
578 PACKAGE_STRING='Wine 1.1.1'
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.1 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.1:";;
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.1
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.1, 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
7213 for ac_header in \
7214 AudioUnit/AudioUnit.h \
7215 Carbon/Carbon.h \
7216 CoreAudio/CoreAudio.h \
7217 DiskArbitration/DiskArbitration.h \
7218 IOKit/IOKitLib.h \
7219 alias.h \
7220 alsa/asoundlib.h \
7221 arpa/inet.h \
7222 arpa/nameser.h \
7223 asm/types.h \
7224 capi20.h \
7225 curses.h \
7226 direct.h \
7227 dlfcn.h \
7228 elf.h \
7229 float.h \
7230 fontconfig/fontconfig.h \
7231 getopt.h \
7232 ieeefp.h \
7233 io.h \
7234 jack/jack.h \
7235 jpeglib.h \
7236 lber.h \
7237 lcms.h \
7238 lcms/lcms.h \
7239 ldap.h \
7240 libaudioio.h \
7241 link.h \
7242 linux/cdrom.h \
7243 linux/compiler.h \
7244 linux/hdreg.h \
7245 linux/input.h \
7246 linux/ioctl.h \
7247 linux/joystick.h \
7248 linux/major.h \
7249 linux/param.h \
7250 linux/serial.h \
7251 linux/ucdrom.h \
7252 mach/mach.h \
7253 mach/machine.h \
7254 machine/cpu.h \
7255 machine/limits.h \
7256 machine/soundcard.h \
7257 mntent.h \
7258 ncurses.h \
7259 netdb.h \
7260 netinet/in.h \
7261 netinet/in_systm.h \
7262 netinet/tcp.h \
7263 netinet/tcp_fsm.h \
7264 openssl/err.h \
7265 openssl/ssl.h \
7266 png.h \
7267 poll.h \
7268 process.h \
7269 pthread.h \
7270 pwd.h \
7271 regex.h \
7272 sched.h \
7273 scsi/scsi.h \
7274 scsi/scsi_ioctl.h \
7275 scsi/sg.h \
7276 soundcard.h \
7277 stdint.h \
7278 strings.h \
7279 sys/asoundlib.h \
7280 sys/cdio.h \
7281 sys/elf32.h \
7282 sys/epoll.h \
7283 sys/errno.h \
7284 sys/event.h \
7285 sys/exec_elf.h \
7286 sys/filio.h \
7287 sys/ioctl.h \
7288 sys/ipc.h \
7289 sys/limits.h \
7290 sys/link.h \
7291 sys/lwp.h \
7292 sys/mman.h \
7293 sys/modem.h \
7294 sys/msg.h \
7295 sys/mtio.h \
7296 sys/param.h \
7297 sys/poll.h \
7298 sys/prctl.h \
7299 sys/ptrace.h \
7300 sys/reg.h \
7301 sys/resource.h \
7302 sys/scsiio.h \
7303 sys/shm.h \
7304 sys/signal.h \
7305 sys/socket.h \
7306 sys/socketvar.h \
7307 sys/sockio.h \
7308 sys/soundcard.h \
7309 sys/statvfs.h \
7310 sys/strtio.h \
7311 sys/syscall.h \
7312 sys/sysctl.h \
7313 sys/time.h \
7314 sys/times.h \
7315 sys/uio.h \
7316 sys/un.h \
7317 sys/vm86.h \
7318 sys/wait.h \
7319 syscall.h \
7320 termios.h \
7321 unistd.h \
7322 utime.h \
7323 valgrind/memcheck.h
7326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7327 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7328 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 ac_res=`eval echo '${'$as_ac_Header'}'`
7334 { echo "$as_me:$LINENO: result: $ac_res" >&5
7335 echo "${ECHO_T}$ac_res" >&6; }
7336 else
7337 # Is the header compilable?
7338 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7340 cat >conftest.$ac_ext <<_ACEOF
7341 /* confdefs.h. */
7342 _ACEOF
7343 cat confdefs.h >>conftest.$ac_ext
7344 cat >>conftest.$ac_ext <<_ACEOF
7345 /* end confdefs.h. */
7346 $ac_includes_default
7347 #include <$ac_header>
7348 _ACEOF
7349 rm -f conftest.$ac_objext
7350 if { (ac_try="$ac_compile"
7351 case "(($ac_try" in
7352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7353 *) ac_try_echo=$ac_try;;
7354 esac
7355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7356 (eval "$ac_compile") 2>conftest.er1
7357 ac_status=$?
7358 grep -v '^ *+' conftest.er1 >conftest.err
7359 rm -f conftest.er1
7360 cat conftest.err >&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } && {
7363 test -z "$ac_c_werror_flag" ||
7364 test ! -s conftest.err
7365 } && test -s conftest.$ac_objext; then
7366 ac_header_compiler=yes
7367 else
7368 echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.$ac_ext >&5
7371 ac_header_compiler=no
7374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7375 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7376 echo "${ECHO_T}$ac_header_compiler" >&6; }
7378 # Is the header present?
7379 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7381 cat >conftest.$ac_ext <<_ACEOF
7382 /* confdefs.h. */
7383 _ACEOF
7384 cat confdefs.h >>conftest.$ac_ext
7385 cat >>conftest.$ac_ext <<_ACEOF
7386 /* end confdefs.h. */
7387 #include <$ac_header>
7388 _ACEOF
7389 if { (ac_try="$ac_cpp conftest.$ac_ext"
7390 case "(($ac_try" in
7391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7392 *) ac_try_echo=$ac_try;;
7393 esac
7394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7395 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7396 ac_status=$?
7397 grep -v '^ *+' conftest.er1 >conftest.err
7398 rm -f conftest.er1
7399 cat conftest.err >&5
7400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7401 (exit $ac_status); } >/dev/null && {
7402 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7403 test ! -s conftest.err
7404 }; then
7405 ac_header_preproc=yes
7406 else
7407 echo "$as_me: failed program was:" >&5
7408 sed 's/^/| /' conftest.$ac_ext >&5
7410 ac_header_preproc=no
7413 rm -f conftest.err conftest.$ac_ext
7414 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7415 echo "${ECHO_T}$ac_header_preproc" >&6; }
7417 # So? What about this header?
7418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7419 yes:no: )
7420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7424 ac_header_preproc=yes
7426 no:yes:* )
7427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7439 ( cat <<\_ASBOX
7440 ## ------------------------------------ ##
7441 ## Report this to wine-devel@winehq.org ##
7442 ## ------------------------------------ ##
7443 _ASBOX
7444 ) | sed "s/^/$as_me: WARNING: /" >&2
7446 esac
7447 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7450 echo $ECHO_N "(cached) $ECHO_C" >&6
7451 else
7452 eval "$as_ac_Header=\$ac_header_preproc"
7454 ac_res=`eval echo '${'$as_ac_Header'}'`
7455 { echo "$as_me:$LINENO: result: $ac_res" >&5
7456 echo "${ECHO_T}$ac_res" >&6; }
7459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7460 cat >>confdefs.h <<_ACEOF
7461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7462 _ACEOF
7466 done
7468 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7469 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7470 if test "${ac_cv_header_stat_broken+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6
7472 else
7473 cat >conftest.$ac_ext <<_ACEOF
7474 /* confdefs.h. */
7475 _ACEOF
7476 cat confdefs.h >>conftest.$ac_ext
7477 cat >>conftest.$ac_ext <<_ACEOF
7478 /* end confdefs.h. */
7479 #include <sys/types.h>
7480 #include <sys/stat.h>
7482 #if defined S_ISBLK && defined S_IFDIR
7483 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7484 #endif
7486 #if defined S_ISBLK && defined S_IFCHR
7487 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7488 #endif
7490 #if defined S_ISLNK && defined S_IFREG
7491 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7492 #endif
7494 #if defined S_ISSOCK && defined S_IFREG
7495 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7496 #endif
7498 _ACEOF
7499 rm -f conftest.$ac_objext
7500 if { (ac_try="$ac_compile"
7501 case "(($ac_try" in
7502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7503 *) ac_try_echo=$ac_try;;
7504 esac
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_compile") 2>conftest.er1
7507 ac_status=$?
7508 grep -v '^ *+' conftest.er1 >conftest.err
7509 rm -f conftest.er1
7510 cat conftest.err >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } && {
7513 test -z "$ac_c_werror_flag" ||
7514 test ! -s conftest.err
7515 } && test -s conftest.$ac_objext; then
7516 ac_cv_header_stat_broken=no
7517 else
7518 echo "$as_me: failed program was:" >&5
7519 sed 's/^/| /' conftest.$ac_ext >&5
7521 ac_cv_header_stat_broken=yes
7524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7526 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7527 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7528 if test $ac_cv_header_stat_broken = yes; then
7530 cat >>confdefs.h <<\_ACEOF
7531 #define STAT_MACROS_BROKEN 1
7532 _ACEOF
7542 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7545 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7548 echo $ECHO_N "(cached) $ECHO_C" >&6
7549 else
7550 cat >conftest.$ac_ext <<_ACEOF
7551 /* confdefs.h. */
7552 _ACEOF
7553 cat confdefs.h >>conftest.$ac_ext
7554 cat >>conftest.$ac_ext <<_ACEOF
7555 /* end confdefs.h. */
7556 #include <sys/types.h>
7557 #ifdef HAVE_SYS_PARAM_H
7558 # include <sys/param.h>
7559 #endif
7561 #include <$ac_header>
7562 _ACEOF
7563 rm -f conftest.$ac_objext
7564 if { (ac_try="$ac_compile"
7565 case "(($ac_try" in
7566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7567 *) ac_try_echo=$ac_try;;
7568 esac
7569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7570 (eval "$ac_compile") 2>conftest.er1
7571 ac_status=$?
7572 grep -v '^ *+' conftest.er1 >conftest.err
7573 rm -f conftest.er1
7574 cat conftest.err >&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } && {
7577 test -z "$ac_c_werror_flag" ||
7578 test ! -s conftest.err
7579 } && test -s conftest.$ac_objext; then
7580 eval "$as_ac_Header=yes"
7581 else
7582 echo "$as_me: failed program was:" >&5
7583 sed 's/^/| /' conftest.$ac_ext >&5
7585 eval "$as_ac_Header=no"
7588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7590 ac_res=`eval echo '${'$as_ac_Header'}'`
7591 { echo "$as_me:$LINENO: result: $ac_res" >&5
7592 echo "${ECHO_T}$ac_res" >&6; }
7593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7594 cat >>confdefs.h <<_ACEOF
7595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7596 _ACEOF
7600 done
7615 for ac_header in \
7616 netinet/ip.h \
7617 net/if.h \
7618 net/if_arp.h \
7619 net/if_dl.h \
7620 net/if_types.h \
7621 net/route.h \
7622 netinet/if_ether.h \
7623 netinet/in_pcb.h \
7624 netinet/ip_icmp.h \
7625 netinet/ip_var.h \
7626 netinet/udp.h \
7627 netipx/ipx.h \
7630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7631 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7634 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 else
7636 cat >conftest.$ac_ext <<_ACEOF
7637 /* confdefs.h. */
7638 _ACEOF
7639 cat confdefs.h >>conftest.$ac_ext
7640 cat >>conftest.$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7642 #include <sys/types.h>
7643 #ifdef HAVE_SYS_SOCKET_H
7644 # include <sys/socket.h>
7645 #endif
7646 #ifdef HAVE_SYS_SOCKETVAR_H
7647 # include <sys/socketvar.h>
7648 #endif
7649 #ifdef HAVE_NETINET_IN_H
7650 # include <netinet/in.h>
7651 #endif
7652 #ifdef HAVE_NETINET_IP_H
7653 # include <netinet/ip.h>
7654 #endif
7656 #include <$ac_header>
7657 _ACEOF
7658 rm -f conftest.$ac_objext
7659 if { (ac_try="$ac_compile"
7660 case "(($ac_try" in
7661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7662 *) ac_try_echo=$ac_try;;
7663 esac
7664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7665 (eval "$ac_compile") 2>conftest.er1
7666 ac_status=$?
7667 grep -v '^ *+' conftest.er1 >conftest.err
7668 rm -f conftest.er1
7669 cat conftest.err >&5
7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7671 (exit $ac_status); } && {
7672 test -z "$ac_c_werror_flag" ||
7673 test ! -s conftest.err
7674 } && test -s conftest.$ac_objext; then
7675 eval "$as_ac_Header=yes"
7676 else
7677 echo "$as_me: failed program was:" >&5
7678 sed 's/^/| /' conftest.$ac_ext >&5
7680 eval "$as_ac_Header=no"
7683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7685 ac_res=`eval echo '${'$as_ac_Header'}'`
7686 { echo "$as_me:$LINENO: result: $ac_res" >&5
7687 echo "${ECHO_T}$ac_res" >&6; }
7688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7689 cat >>confdefs.h <<_ACEOF
7690 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7691 _ACEOF
7695 done
7702 for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_timer.h
7704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6
7709 else
7710 cat >conftest.$ac_ext <<_ACEOF
7711 /* confdefs.h. */
7712 _ACEOF
7713 cat confdefs.h >>conftest.$ac_ext
7714 cat >>conftest.$ac_ext <<_ACEOF
7715 /* end confdefs.h. */
7716 #include <sys/types.h>
7717 #ifdef HAVE_ALIAS_H
7718 # include <alias.h>
7719 #endif
7720 #ifdef HAVE_SYS_SOCKET_H
7721 # include <sys/socket.h>
7722 #endif
7723 #ifdef HAVE_SYS_SOCKETVAR_H
7724 # include <sys/socketvar.h>
7725 #endif
7726 #ifdef HAVE_NETINET_IN_H
7727 # include <netinet/in.h>
7728 #endif
7729 #ifdef HAVE_NETINET_IP_H
7730 # include <netinet/ip.h>
7731 #endif
7732 #ifdef HAVE_NETINET_IP_VAR_H
7733 # include <netinet/ip_var.h>
7734 #endif
7735 #ifdef HAVE_NETINET_IP_ICMP_H
7736 # include <netinet/ip_icmp.h>
7737 #endif
7738 #ifdef HAVE_NETINET_UDP_H
7739 # include <netinet/udp.h>
7740 #endif
7741 #ifdef HAVE_NETINET_TCP_H
7742 # include <netinet/tcp.h>
7743 #endif
7745 #include <$ac_header>
7746 _ACEOF
7747 rm -f conftest.$ac_objext
7748 if { (ac_try="$ac_compile"
7749 case "(($ac_try" in
7750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7751 *) ac_try_echo=$ac_try;;
7752 esac
7753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7754 (eval "$ac_compile") 2>conftest.er1
7755 ac_status=$?
7756 grep -v '^ *+' conftest.er1 >conftest.err
7757 rm -f conftest.er1
7758 cat conftest.err >&5
7759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7760 (exit $ac_status); } && {
7761 test -z "$ac_c_werror_flag" ||
7762 test ! -s conftest.err
7763 } && test -s conftest.$ac_objext; then
7764 eval "$as_ac_Header=yes"
7765 else
7766 echo "$as_me: failed program was:" >&5
7767 sed 's/^/| /' conftest.$ac_ext >&5
7769 eval "$as_ac_Header=no"
7772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7774 ac_res=`eval echo '${'$as_ac_Header'}'`
7775 { echo "$as_me:$LINENO: result: $ac_res" >&5
7776 echo "${ECHO_T}$ac_res" >&6; }
7777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7778 cat >>confdefs.h <<_ACEOF
7779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7780 _ACEOF
7784 done
7788 for ac_header in linux/ipx.h
7790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7791 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7794 echo $ECHO_N "(cached) $ECHO_C" >&6
7795 else
7796 cat >conftest.$ac_ext <<_ACEOF
7797 /* confdefs.h. */
7798 _ACEOF
7799 cat confdefs.h >>conftest.$ac_ext
7800 cat >>conftest.$ac_ext <<_ACEOF
7801 /* end confdefs.h. */
7802 #include <sys/types.h>
7803 #ifdef HAVE_ASM_TYPES_H
7804 # include <asm/types.h>
7805 #endif
7806 #ifdef HAVE_SYS_SOCKET_H
7807 # include <sys/socket.h>
7808 #endif
7810 #include <$ac_header>
7811 _ACEOF
7812 rm -f conftest.$ac_objext
7813 if { (ac_try="$ac_compile"
7814 case "(($ac_try" in
7815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7816 *) ac_try_echo=$ac_try;;
7817 esac
7818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7819 (eval "$ac_compile") 2>conftest.er1
7820 ac_status=$?
7821 grep -v '^ *+' conftest.er1 >conftest.err
7822 rm -f conftest.er1
7823 cat conftest.err >&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); } && {
7826 test -z "$ac_c_werror_flag" ||
7827 test ! -s conftest.err
7828 } && test -s conftest.$ac_objext; then
7829 eval "$as_ac_Header=yes"
7830 else
7831 echo "$as_me: failed program was:" >&5
7832 sed 's/^/| /' conftest.$ac_ext >&5
7834 eval "$as_ac_Header=no"
7837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7839 ac_res=`eval echo '${'$as_ac_Header'}'`
7840 { echo "$as_me:$LINENO: result: $ac_res" >&5
7841 echo "${ECHO_T}$ac_res" >&6; }
7842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7843 cat >>confdefs.h <<_ACEOF
7844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7845 _ACEOF
7849 done
7853 for ac_header in resolv.h
7855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7856 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7858 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7859 echo $ECHO_N "(cached) $ECHO_C" >&6
7860 else
7861 cat >conftest.$ac_ext <<_ACEOF
7862 /* confdefs.h. */
7863 _ACEOF
7864 cat confdefs.h >>conftest.$ac_ext
7865 cat >>conftest.$ac_ext <<_ACEOF
7866 /* end confdefs.h. */
7867 #include <sys/types.h>
7868 #ifdef HAVE_SYS_SOCKET_H
7869 # include <sys/socket.h>
7870 #endif
7871 #ifdef HAVE_NETINET_IN_H
7872 # include <netinet/in.h>
7873 #endif
7874 #ifdef HAVE_ARPA_NAMESER_H
7875 # include <arpa/nameser.h>
7876 #endif
7878 #include <$ac_header>
7879 _ACEOF
7880 rm -f conftest.$ac_objext
7881 if { (ac_try="$ac_compile"
7882 case "(($ac_try" in
7883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7884 *) ac_try_echo=$ac_try;;
7885 esac
7886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7887 (eval "$ac_compile") 2>conftest.er1
7888 ac_status=$?
7889 grep -v '^ *+' conftest.er1 >conftest.err
7890 rm -f conftest.er1
7891 cat conftest.err >&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); } && {
7894 test -z "$ac_c_werror_flag" ||
7895 test ! -s conftest.err
7896 } && test -s conftest.$ac_objext; then
7897 eval "$as_ac_Header=yes"
7898 else
7899 echo "$as_me: failed program was:" >&5
7900 sed 's/^/| /' conftest.$ac_ext >&5
7902 eval "$as_ac_Header=no"
7905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7907 ac_res=`eval echo '${'$as_ac_Header'}'`
7908 { echo "$as_me:$LINENO: result: $ac_res" >&5
7909 echo "${ECHO_T}$ac_res" >&6; }
7910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7911 cat >>confdefs.h <<_ACEOF
7912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7913 _ACEOF
7917 done
7921 for ac_header in ucontext.h
7923 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7924 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7926 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7927 echo $ECHO_N "(cached) $ECHO_C" >&6
7928 else
7929 cat >conftest.$ac_ext <<_ACEOF
7930 /* confdefs.h. */
7931 _ACEOF
7932 cat confdefs.h >>conftest.$ac_ext
7933 cat >>conftest.$ac_ext <<_ACEOF
7934 /* end confdefs.h. */
7935 #include <signal.h>
7937 #include <$ac_header>
7938 _ACEOF
7939 rm -f conftest.$ac_objext
7940 if { (ac_try="$ac_compile"
7941 case "(($ac_try" in
7942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7943 *) ac_try_echo=$ac_try;;
7944 esac
7945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7946 (eval "$ac_compile") 2>conftest.er1
7947 ac_status=$?
7948 grep -v '^ *+' conftest.er1 >conftest.err
7949 rm -f conftest.er1
7950 cat conftest.err >&5
7951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952 (exit $ac_status); } && {
7953 test -z "$ac_c_werror_flag" ||
7954 test ! -s conftest.err
7955 } && test -s conftest.$ac_objext; then
7956 eval "$as_ac_Header=yes"
7957 else
7958 echo "$as_me: failed program was:" >&5
7959 sed 's/^/| /' conftest.$ac_ext >&5
7961 eval "$as_ac_Header=no"
7964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7966 ac_res=`eval echo '${'$as_ac_Header'}'`
7967 { echo "$as_me:$LINENO: result: $ac_res" >&5
7968 echo "${ECHO_T}$ac_res" >&6; }
7969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7970 cat >>confdefs.h <<_ACEOF
7971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7972 _ACEOF
7976 done
7980 for ac_header in sys/thr.h
7982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7983 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7986 echo $ECHO_N "(cached) $ECHO_C" >&6
7987 else
7988 cat >conftest.$ac_ext <<_ACEOF
7989 /* confdefs.h. */
7990 _ACEOF
7991 cat confdefs.h >>conftest.$ac_ext
7992 cat >>conftest.$ac_ext <<_ACEOF
7993 /* end confdefs.h. */
7994 #include <sys/types.h>
7995 #ifdef HAVE_UCONTEXT_H
7996 #include <ucontext.h>
7997 #endif
7999 #include <$ac_header>
8000 _ACEOF
8001 rm -f conftest.$ac_objext
8002 if { (ac_try="$ac_compile"
8003 case "(($ac_try" in
8004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8005 *) ac_try_echo=$ac_try;;
8006 esac
8007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8008 (eval "$ac_compile") 2>conftest.er1
8009 ac_status=$?
8010 grep -v '^ *+' conftest.er1 >conftest.err
8011 rm -f conftest.er1
8012 cat conftest.err >&5
8013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014 (exit $ac_status); } && {
8015 test -z "$ac_c_werror_flag" ||
8016 test ! -s conftest.err
8017 } && test -s conftest.$ac_objext; then
8018 eval "$as_ac_Header=yes"
8019 else
8020 echo "$as_me: failed program was:" >&5
8021 sed 's/^/| /' conftest.$ac_ext >&5
8023 eval "$as_ac_Header=no"
8026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8028 ac_res=`eval echo '${'$as_ac_Header'}'`
8029 { echo "$as_me:$LINENO: result: $ac_res" >&5
8030 echo "${ECHO_T}$ac_res" >&6; }
8031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8032 cat >>confdefs.h <<_ACEOF
8033 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8034 _ACEOF
8038 done
8042 for ac_header in pthread_np.h
8044 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8045 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8048 echo $ECHO_N "(cached) $ECHO_C" >&6
8049 else
8050 cat >conftest.$ac_ext <<_ACEOF
8051 /* confdefs.h. */
8052 _ACEOF
8053 cat confdefs.h >>conftest.$ac_ext
8054 cat >>conftest.$ac_ext <<_ACEOF
8055 /* end confdefs.h. */
8056 #ifdef HAVE_PTHREAD_H
8057 #include <pthread.h>
8058 #endif
8060 #include <$ac_header>
8061 _ACEOF
8062 rm -f conftest.$ac_objext
8063 if { (ac_try="$ac_compile"
8064 case "(($ac_try" in
8065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8066 *) ac_try_echo=$ac_try;;
8067 esac
8068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8069 (eval "$ac_compile") 2>conftest.er1
8070 ac_status=$?
8071 grep -v '^ *+' conftest.er1 >conftest.err
8072 rm -f conftest.er1
8073 cat conftest.err >&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); } && {
8076 test -z "$ac_c_werror_flag" ||
8077 test ! -s conftest.err
8078 } && test -s conftest.$ac_objext; then
8079 eval "$as_ac_Header=yes"
8080 else
8081 echo "$as_me: failed program was:" >&5
8082 sed 's/^/| /' conftest.$ac_ext >&5
8084 eval "$as_ac_Header=no"
8087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8089 ac_res=`eval echo '${'$as_ac_Header'}'`
8090 { echo "$as_me:$LINENO: result: $ac_res" >&5
8091 echo "${ECHO_T}$ac_res" >&6; }
8092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8093 cat >>confdefs.h <<_ACEOF
8094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8095 _ACEOF
8099 done
8103 for ac_header in linux/videodev.h
8105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8109 echo $ECHO_N "(cached) $ECHO_C" >&6
8110 else
8111 cat >conftest.$ac_ext <<_ACEOF
8112 /* confdefs.h. */
8113 _ACEOF
8114 cat confdefs.h >>conftest.$ac_ext
8115 cat >>conftest.$ac_ext <<_ACEOF
8116 /* end confdefs.h. */
8117 #ifdef HAVE_SYS_TIME_H
8118 #include <sys/time.h>
8119 #endif
8120 #include <sys/types.h>
8121 #ifdef HAVE_ASM_TYPES_H
8122 #include <asm/types.h>
8123 #endif
8125 #include <$ac_header>
8126 _ACEOF
8127 rm -f conftest.$ac_objext
8128 if { (ac_try="$ac_compile"
8129 case "(($ac_try" in
8130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8131 *) ac_try_echo=$ac_try;;
8132 esac
8133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8134 (eval "$ac_compile") 2>conftest.er1
8135 ac_status=$?
8136 grep -v '^ *+' conftest.er1 >conftest.err
8137 rm -f conftest.er1
8138 cat conftest.err >&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); } && {
8141 test -z "$ac_c_werror_flag" ||
8142 test ! -s conftest.err
8143 } && test -s conftest.$ac_objext; then
8144 eval "$as_ac_Header=yes"
8145 else
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.$ac_ext >&5
8149 eval "$as_ac_Header=no"
8152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8154 ac_res=`eval echo '${'$as_ac_Header'}'`
8155 { echo "$as_me:$LINENO: result: $ac_res" >&5
8156 echo "${ECHO_T}$ac_res" >&6; }
8157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8158 cat >>confdefs.h <<_ACEOF
8159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8160 _ACEOF
8164 done
8168 for ac_header in linux/capi.h
8170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8171 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8173 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8174 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 else
8176 cat >conftest.$ac_ext <<_ACEOF
8177 /* confdefs.h. */
8178 _ACEOF
8179 cat confdefs.h >>conftest.$ac_ext
8180 cat >>conftest.$ac_ext <<_ACEOF
8181 /* end confdefs.h. */
8182 #define __user
8184 #include <$ac_header>
8185 _ACEOF
8186 rm -f conftest.$ac_objext
8187 if { (ac_try="$ac_compile"
8188 case "(($ac_try" in
8189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8190 *) ac_try_echo=$ac_try;;
8191 esac
8192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8193 (eval "$ac_compile") 2>conftest.er1
8194 ac_status=$?
8195 grep -v '^ *+' conftest.er1 >conftest.err
8196 rm -f conftest.er1
8197 cat conftest.err >&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); } && {
8200 test -z "$ac_c_werror_flag" ||
8201 test ! -s conftest.err
8202 } && test -s conftest.$ac_objext; then
8203 eval "$as_ac_Header=yes"
8204 else
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.$ac_ext >&5
8208 eval "$as_ac_Header=no"
8211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8213 ac_res=`eval echo '${'$as_ac_Header'}'`
8214 { echo "$as_me:$LINENO: result: $ac_res" >&5
8215 echo "${ECHO_T}$ac_res" >&6; }
8216 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8217 cat >>confdefs.h <<_ACEOF
8218 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8219 _ACEOF
8223 done
8227 DLLEXT=""
8229 DLLFLAGS="-D_REENTRANT"
8231 LDSHARED=""
8233 LDDLLFLAGS=""
8235 LIBEXT="so"
8237 IMPLIBEXT="def"
8239 LDRPATH_INSTALL=""
8241 LDRPATH_LOCAL=""
8243 # Extract the first word of "ldd", so it can be a program name with args.
8244 set dummy ldd; ac_word=$2
8245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8247 if test "${ac_cv_path_LDD+set}" = set; then
8248 echo $ECHO_N "(cached) $ECHO_C" >&6
8249 else
8250 case $LDD in
8251 [\\/]* | ?:[\\/]*)
8252 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8256 as_dummy="/sbin:/usr/sbin:$PATH"
8257 for as_dir in $as_dummy
8259 IFS=$as_save_IFS
8260 test -z "$as_dir" && as_dir=.
8261 for ac_exec_ext in '' $ac_executable_extensions; do
8262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8263 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8265 break 2
8267 done
8268 done
8269 IFS=$as_save_IFS
8271 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8273 esac
8275 LDD=$ac_cv_path_LDD
8276 if test -n "$LDD"; then
8277 { echo "$as_me:$LINENO: result: $LDD" >&5
8278 echo "${ECHO_T}$LDD" >&6; }
8279 else
8280 { echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6; }
8286 case $host_os in
8287 cygwin*|mingw32*)
8288 if test -n "$ac_tool_prefix"; then
8289 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8290 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8293 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8294 echo $ECHO_N "(cached) $ECHO_C" >&6
8295 else
8296 if test -n "$DLLTOOL"; then
8297 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8298 else
8299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 for as_dir in $PATH
8302 IFS=$as_save_IFS
8303 test -z "$as_dir" && as_dir=.
8304 for ac_exec_ext in '' $ac_executable_extensions; do
8305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8306 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8308 break 2
8310 done
8311 done
8312 IFS=$as_save_IFS
8316 DLLTOOL=$ac_cv_prog_DLLTOOL
8317 if test -n "$DLLTOOL"; then
8318 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8319 echo "${ECHO_T}$DLLTOOL" >&6; }
8320 else
8321 { echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6; }
8327 if test -z "$ac_cv_prog_DLLTOOL"; then
8328 ac_ct_DLLTOOL=$DLLTOOL
8329 # Extract the first word of "dlltool", so it can be a program name with args.
8330 set dummy dlltool; ac_word=$2
8331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8333 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8334 echo $ECHO_N "(cached) $ECHO_C" >&6
8335 else
8336 if test -n "$ac_ct_DLLTOOL"; then
8337 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8338 else
8339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8340 for as_dir in $PATH
8342 IFS=$as_save_IFS
8343 test -z "$as_dir" && as_dir=.
8344 for ac_exec_ext in '' $ac_executable_extensions; do
8345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8346 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8348 break 2
8350 done
8351 done
8352 IFS=$as_save_IFS
8356 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8357 if test -n "$ac_ct_DLLTOOL"; then
8358 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8359 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8360 else
8361 { echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6; }
8365 if test "x$ac_ct_DLLTOOL" = x; then
8366 DLLTOOL="false"
8367 else
8368 case $cross_compiling:$ac_tool_warned in
8369 yes:)
8370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8371 whose name does not start with the host triplet. If you think this
8372 configuration is useful to you, please write to autoconf@gnu.org." >&5
8373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8374 whose name does not start with the host triplet. If you think this
8375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8376 ac_tool_warned=yes ;;
8377 esac
8378 DLLTOOL=$ac_ct_DLLTOOL
8380 else
8381 DLLTOOL="$ac_cv_prog_DLLTOOL"
8384 if test -n "$ac_tool_prefix"; then
8385 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8386 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8389 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8390 echo $ECHO_N "(cached) $ECHO_C" >&6
8391 else
8392 if test -n "$DLLWRAP"; then
8393 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8394 else
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8396 for as_dir in $PATH
8398 IFS=$as_save_IFS
8399 test -z "$as_dir" && as_dir=.
8400 for ac_exec_ext in '' $ac_executable_extensions; do
8401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8402 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8404 break 2
8406 done
8407 done
8408 IFS=$as_save_IFS
8412 DLLWRAP=$ac_cv_prog_DLLWRAP
8413 if test -n "$DLLWRAP"; then
8414 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8415 echo "${ECHO_T}$DLLWRAP" >&6; }
8416 else
8417 { echo "$as_me:$LINENO: result: no" >&5
8418 echo "${ECHO_T}no" >&6; }
8423 if test -z "$ac_cv_prog_DLLWRAP"; then
8424 ac_ct_DLLWRAP=$DLLWRAP
8425 # Extract the first word of "dllwrap", so it can be a program name with args.
8426 set dummy dllwrap; ac_word=$2
8427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8429 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8430 echo $ECHO_N "(cached) $ECHO_C" >&6
8431 else
8432 if test -n "$ac_ct_DLLWRAP"; then
8433 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8434 else
8435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8436 for as_dir in $PATH
8438 IFS=$as_save_IFS
8439 test -z "$as_dir" && as_dir=.
8440 for ac_exec_ext in '' $ac_executable_extensions; do
8441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8442 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8444 break 2
8446 done
8447 done
8448 IFS=$as_save_IFS
8452 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8453 if test -n "$ac_ct_DLLWRAP"; then
8454 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8455 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8456 else
8457 { echo "$as_me:$LINENO: result: no" >&5
8458 echo "${ECHO_T}no" >&6; }
8461 if test "x$ac_ct_DLLWRAP" = x; then
8462 DLLWRAP="false"
8463 else
8464 case $cross_compiling:$ac_tool_warned in
8465 yes:)
8466 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8467 whose name does not start with the host triplet. If you think this
8468 configuration is useful to you, please write to autoconf@gnu.org." >&5
8469 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8470 whose name does not start with the host triplet. If you think this
8471 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8472 ac_tool_warned=yes ;;
8473 esac
8474 DLLWRAP=$ac_ct_DLLWRAP
8476 else
8477 DLLWRAP="$ac_cv_prog_DLLWRAP"
8480 if test -n "$ac_tool_prefix"; then
8481 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8482 set dummy ${ac_tool_prefix}ar; ac_word=$2
8483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8485 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8486 echo $ECHO_N "(cached) $ECHO_C" >&6
8487 else
8488 if test -n "$MINGWAR"; then
8489 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8490 else
8491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8492 for as_dir in $PATH
8494 IFS=$as_save_IFS
8495 test -z "$as_dir" && as_dir=.
8496 for ac_exec_ext in '' $ac_executable_extensions; do
8497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8498 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8500 break 2
8502 done
8503 done
8504 IFS=$as_save_IFS
8508 MINGWAR=$ac_cv_prog_MINGWAR
8509 if test -n "$MINGWAR"; then
8510 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8511 echo "${ECHO_T}$MINGWAR" >&6; }
8512 else
8513 { echo "$as_me:$LINENO: result: no" >&5
8514 echo "${ECHO_T}no" >&6; }
8519 if test -z "$ac_cv_prog_MINGWAR"; then
8520 ac_ct_MINGWAR=$MINGWAR
8521 # Extract the first word of "ar", so it can be a program name with args.
8522 set dummy ar; ac_word=$2
8523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8525 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8526 echo $ECHO_N "(cached) $ECHO_C" >&6
8527 else
8528 if test -n "$ac_ct_MINGWAR"; then
8529 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8530 else
8531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8532 for as_dir in $PATH
8534 IFS=$as_save_IFS
8535 test -z "$as_dir" && as_dir=.
8536 for ac_exec_ext in '' $ac_executable_extensions; do
8537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8538 ac_cv_prog_ac_ct_MINGWAR="ar"
8539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8540 break 2
8542 done
8543 done
8544 IFS=$as_save_IFS
8548 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8549 if test -n "$ac_ct_MINGWAR"; then
8550 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8551 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8552 else
8553 { echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6; }
8557 if test "x$ac_ct_MINGWAR" = x; then
8558 MINGWAR="false"
8559 else
8560 case $cross_compiling:$ac_tool_warned in
8561 yes:)
8562 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8563 whose name does not start with the host triplet. If you think this
8564 configuration is useful to you, please write to autoconf@gnu.org." >&5
8565 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8566 whose name does not start with the host triplet. If you think this
8567 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8568 ac_tool_warned=yes ;;
8569 esac
8570 MINGWAR=$ac_ct_MINGWAR
8572 else
8573 MINGWAR="$ac_cv_prog_MINGWAR"
8576 if test "$DLLWRAP" = "false"; then
8577 LIBEXT="a"
8578 else
8579 LIBEXT="dll"
8581 IMPLIBEXT="a"
8582 WIN16_FILES=""
8583 WIN16_INSTALL=""
8585 darwin*|macosx*)
8586 DLLEXT=".so"
8587 LIBEXT="dylib"
8588 DLLFLAGS="$DLLFLAGS -fPIC"
8589 LDDLLFLAGS="-bundle -multiply_defined suppress"
8590 LIBWINE_LDFLAGS="-multiply_defined suppress"
8591 LDSHARED="\$(CC) -dynamiclib"
8592 STRIP="$STRIP -x"
8593 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8594 SECURITYLIB="-framework Security -framework CoreFoundation"
8596 COREFOUNDATIONLIB="-framework CoreFoundation"
8598 IOKITLIB="-framework IOKit -framework CoreFoundation"
8600 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8602 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8603 then
8604 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8607 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8608 then
8609 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8612 case $host_cpu in
8613 *powerpc*)
8614 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8615 esac
8616 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8617 then
8618 CARBONLIB="-framework Carbon"
8620 QUARTZFILES='$(QUARTZFILES)'
8624 DLLFLAGS="$DLLFLAGS -fPIC"
8625 DLLEXT=".so"
8626 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8627 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8628 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8629 echo $ECHO_N "(cached) $ECHO_C" >&6
8630 else
8631 ac_wine_try_cflags_saved=$CFLAGS
8632 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8633 cat >conftest.$ac_ext <<_ACEOF
8634 void myfunc() {}
8635 _ACEOF
8636 rm -f conftest.$ac_objext conftest$ac_exeext
8637 if { (ac_try="$ac_link"
8638 case "(($ac_try" in
8639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8640 *) ac_try_echo=$ac_try;;
8641 esac
8642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8643 (eval "$ac_link") 2>conftest.er1
8644 ac_status=$?
8645 grep -v '^ *+' conftest.er1 >conftest.err
8646 rm -f conftest.er1
8647 cat conftest.err >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } && {
8650 test -z "$ac_c_werror_flag" ||
8651 test ! -s conftest.err
8652 } && test -s conftest$ac_exeext &&
8653 $as_test_x conftest$ac_exeext; then
8654 ac_cv_c_dll_gnuelf="yes"
8655 else
8656 echo "$as_me: failed program was:" >&5
8657 sed 's/^/| /' conftest.$ac_ext >&5
8659 ac_cv_c_dll_gnuelf="no"
8662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8667 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8668 if test "$ac_cv_c_dll_gnuelf" = "yes"
8669 then
8670 LDSHARED="\$(CC) -shared"
8671 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8672 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8673 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8674 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8675 echo $ECHO_N "(cached) $ECHO_C" >&6
8676 else
8677 ac_wine_try_cflags_saved=$CFLAGS
8678 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8679 cat >conftest.$ac_ext <<_ACEOF
8680 /* confdefs.h. */
8681 _ACEOF
8682 cat confdefs.h >>conftest.$ac_ext
8683 cat >>conftest.$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8687 main ()
8691 return 0;
8693 _ACEOF
8694 rm -f conftest.$ac_objext conftest$ac_exeext
8695 if { (ac_try="$ac_link"
8696 case "(($ac_try" in
8697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8698 *) ac_try_echo=$ac_try;;
8699 esac
8700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8701 (eval "$ac_link") 2>conftest.er1
8702 ac_status=$?
8703 grep -v '^ *+' conftest.er1 >conftest.err
8704 rm -f conftest.er1
8705 cat conftest.err >&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } && {
8708 test -z "$ac_c_werror_flag" ||
8709 test ! -s conftest.err
8710 } && test -s conftest$ac_exeext &&
8711 $as_test_x conftest$ac_exeext; then
8712 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8713 else
8714 echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.$ac_ext >&5
8717 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8721 conftest$ac_exeext conftest.$ac_ext
8722 CFLAGS=$ac_wine_try_cflags_saved
8724 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8725 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8726 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8727 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8728 else
8729 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8730 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8731 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8732 echo $ECHO_N "(cached) $ECHO_C" >&6
8733 else
8734 ac_wine_try_cflags_saved=$CFLAGS
8735 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8736 cat >conftest.$ac_ext <<_ACEOF
8737 /* confdefs.h. */
8738 _ACEOF
8739 cat confdefs.h >>conftest.$ac_ext
8740 cat >>conftest.$ac_ext <<_ACEOF
8741 /* end confdefs.h. */
8744 main ()
8748 return 0;
8750 _ACEOF
8751 rm -f conftest.$ac_objext conftest$ac_exeext
8752 if { (ac_try="$ac_link"
8753 case "(($ac_try" in
8754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8755 *) ac_try_echo=$ac_try;;
8756 esac
8757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8758 (eval "$ac_link") 2>conftest.er1
8759 ac_status=$?
8760 grep -v '^ *+' conftest.er1 >conftest.err
8761 rm -f conftest.er1
8762 cat conftest.err >&5
8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); } && {
8765 test -z "$ac_c_werror_flag" ||
8766 test ! -s conftest.err
8767 } && test -s conftest$ac_exeext &&
8768 $as_test_x conftest$ac_exeext; then
8769 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8770 else
8771 echo "$as_me: failed program was:" >&5
8772 sed 's/^/| /' conftest.$ac_ext >&5
8774 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8778 conftest$ac_exeext conftest.$ac_ext
8779 CFLAGS=$ac_wine_try_cflags_saved
8781 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8782 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8783 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8784 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8790 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8791 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8792 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8794 else
8795 ac_wine_try_cflags_saved=$CFLAGS
8796 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8797 cat >conftest.$ac_ext <<_ACEOF
8798 /* confdefs.h. */
8799 _ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8805 main ()
8809 return 0;
8811 _ACEOF
8812 rm -f conftest.$ac_objext conftest$ac_exeext
8813 if { (ac_try="$ac_link"
8814 case "(($ac_try" in
8815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8816 *) ac_try_echo=$ac_try;;
8817 esac
8818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8819 (eval "$ac_link") 2>conftest.er1
8820 ac_status=$?
8821 grep -v '^ *+' conftest.er1 >conftest.err
8822 rm -f conftest.er1
8823 cat conftest.err >&5
8824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825 (exit $ac_status); } && {
8826 test -z "$ac_c_werror_flag" ||
8827 test ! -s conftest.err
8828 } && test -s conftest$ac_exeext &&
8829 $as_test_x conftest$ac_exeext; then
8830 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8831 else
8832 echo "$as_me: failed program was:" >&5
8833 sed 's/^/| /' conftest.$ac_ext >&5
8835 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8839 conftest$ac_exeext conftest.$ac_ext
8840 CFLAGS=$ac_wine_try_cflags_saved
8842 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8843 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8844 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8845 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8849 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8850 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8851 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8853 else
8854 ac_wine_try_cflags_saved=$CFLAGS
8855 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8856 cat >conftest.$ac_ext <<_ACEOF
8857 /* confdefs.h. */
8858 _ACEOF
8859 cat confdefs.h >>conftest.$ac_ext
8860 cat >>conftest.$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8864 main ()
8868 return 0;
8870 _ACEOF
8871 rm -f conftest.$ac_objext conftest$ac_exeext
8872 if { (ac_try="$ac_link"
8873 case "(($ac_try" in
8874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8875 *) ac_try_echo=$ac_try;;
8876 esac
8877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8878 (eval "$ac_link") 2>conftest.er1
8879 ac_status=$?
8880 grep -v '^ *+' conftest.er1 >conftest.err
8881 rm -f conftest.er1
8882 cat conftest.err >&5
8883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884 (exit $ac_status); } && {
8885 test -z "$ac_c_werror_flag" ||
8886 test ! -s conftest.err
8887 } && test -s conftest$ac_exeext &&
8888 $as_test_x conftest$ac_exeext; then
8889 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8890 else
8891 echo "$as_me: failed program was:" >&5
8892 sed 's/^/| /' conftest.$ac_ext >&5
8894 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8898 conftest$ac_exeext conftest.$ac_ext
8899 CFLAGS=$ac_wine_try_cflags_saved
8901 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8902 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8903 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8904 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8908 echo '{ global: *; };' >conftest.map
8909 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8910 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8911 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8912 echo $ECHO_N "(cached) $ECHO_C" >&6
8913 else
8914 ac_wine_try_cflags_saved=$CFLAGS
8915 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8916 cat >conftest.$ac_ext <<_ACEOF
8917 /* confdefs.h. */
8918 _ACEOF
8919 cat confdefs.h >>conftest.$ac_ext
8920 cat >>conftest.$ac_ext <<_ACEOF
8921 /* end confdefs.h. */
8924 main ()
8928 return 0;
8930 _ACEOF
8931 rm -f conftest.$ac_objext conftest$ac_exeext
8932 if { (ac_try="$ac_link"
8933 case "(($ac_try" in
8934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8935 *) ac_try_echo=$ac_try;;
8936 esac
8937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8938 (eval "$ac_link") 2>conftest.er1
8939 ac_status=$?
8940 grep -v '^ *+' conftest.er1 >conftest.err
8941 rm -f conftest.er1
8942 cat conftest.err >&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); } && {
8945 test -z "$ac_c_werror_flag" ||
8946 test ! -s conftest.err
8947 } && test -s conftest$ac_exeext &&
8948 $as_test_x conftest$ac_exeext; then
8949 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8950 else
8951 echo "$as_me: failed program was:" >&5
8952 sed 's/^/| /' conftest.$ac_ext >&5
8954 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8958 conftest$ac_exeext conftest.$ac_ext
8959 CFLAGS=$ac_wine_try_cflags_saved
8961 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8962 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8963 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8964 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8967 rm -f conftest.map
8969 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8970 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8971 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8972 echo $ECHO_N "(cached) $ECHO_C" >&6
8973 else
8974 ac_wine_try_cflags_saved=$CFLAGS
8975 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8976 cat >conftest.$ac_ext <<_ACEOF
8977 /* confdefs.h. */
8978 _ACEOF
8979 cat confdefs.h >>conftest.$ac_ext
8980 cat >>conftest.$ac_ext <<_ACEOF
8981 /* end confdefs.h. */
8984 main ()
8988 return 0;
8990 _ACEOF
8991 rm -f conftest.$ac_objext conftest$ac_exeext
8992 if { (ac_try="$ac_link"
8993 case "(($ac_try" in
8994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8995 *) ac_try_echo=$ac_try;;
8996 esac
8997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8998 (eval "$ac_link") 2>conftest.er1
8999 ac_status=$?
9000 grep -v '^ *+' conftest.er1 >conftest.err
9001 rm -f conftest.er1
9002 cat conftest.err >&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); } && {
9005 test -z "$ac_c_werror_flag" ||
9006 test ! -s conftest.err
9007 } && test -s conftest$ac_exeext &&
9008 $as_test_x conftest$ac_exeext; then
9009 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9010 else
9011 echo "$as_me: failed program was:" >&5
9012 sed 's/^/| /' conftest.$ac_ext >&5
9014 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9018 conftest$ac_exeext conftest.$ac_ext
9019 CFLAGS=$ac_wine_try_cflags_saved
9021 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9022 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9023 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9024 LDEXECFLAGS="-Wl,--export-dynamic"
9029 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
9030 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9031 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9032 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9033 echo $ECHO_N "(cached) $ECHO_C" >&6
9034 else
9035 ac_wine_try_cflags_saved=$CFLAGS
9036 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9037 cat >conftest.$ac_ext <<_ACEOF
9038 /* confdefs.h. */
9039 _ACEOF
9040 cat confdefs.h >>conftest.$ac_ext
9041 cat >>conftest.$ac_ext <<_ACEOF
9042 /* end confdefs.h. */
9045 main ()
9049 return 0;
9051 _ACEOF
9052 rm -f conftest.$ac_objext conftest$ac_exeext
9053 if { (ac_try="$ac_link"
9054 case "(($ac_try" in
9055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9056 *) ac_try_echo=$ac_try;;
9057 esac
9058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9059 (eval "$ac_link") 2>conftest.er1
9060 ac_status=$?
9061 grep -v '^ *+' conftest.er1 >conftest.err
9062 rm -f conftest.er1
9063 cat conftest.err >&5
9064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9065 (exit $ac_status); } && {
9066 test -z "$ac_c_werror_flag" ||
9067 test ! -s conftest.err
9068 } && test -s conftest$ac_exeext &&
9069 $as_test_x conftest$ac_exeext; then
9070 eval "$as_ac_var=yes"
9071 else
9072 echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.$ac_ext >&5
9075 eval "$as_ac_var=no"
9078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9079 conftest$ac_exeext conftest.$ac_ext
9080 CFLAGS=$ac_wine_try_cflags_saved
9082 ac_res=`eval echo '${'$as_ac_var'}'`
9083 { echo "$as_me:$LINENO: result: $ac_res" >&5
9084 echo "${ECHO_T}$ac_res" >&6; }
9085 if test `eval echo '${'$as_ac_var'}'` = yes; then
9086 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9087 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9088 else
9089 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9090 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9091 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9092 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9094 else
9095 ac_wine_try_cflags_saved=$CFLAGS
9096 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9097 cat >conftest.$ac_ext <<_ACEOF
9098 /* confdefs.h. */
9099 _ACEOF
9100 cat confdefs.h >>conftest.$ac_ext
9101 cat >>conftest.$ac_ext <<_ACEOF
9102 /* end confdefs.h. */
9105 main ()
9109 return 0;
9111 _ACEOF
9112 rm -f conftest.$ac_objext conftest$ac_exeext
9113 if { (ac_try="$ac_link"
9114 case "(($ac_try" in
9115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9116 *) ac_try_echo=$ac_try;;
9117 esac
9118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9119 (eval "$ac_link") 2>conftest.er1
9120 ac_status=$?
9121 grep -v '^ *+' conftest.er1 >conftest.err
9122 rm -f conftest.er1
9123 cat conftest.err >&5
9124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 (exit $ac_status); } && {
9126 test -z "$ac_c_werror_flag" ||
9127 test ! -s conftest.err
9128 } && test -s conftest$ac_exeext &&
9129 $as_test_x conftest$ac_exeext; then
9130 eval "$as_ac_var=yes"
9131 else
9132 echo "$as_me: failed program was:" >&5
9133 sed 's/^/| /' conftest.$ac_ext >&5
9135 eval "$as_ac_var=no"
9138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9139 conftest$ac_exeext conftest.$ac_ext
9140 CFLAGS=$ac_wine_try_cflags_saved
9142 ac_res=`eval echo '${'$as_ac_var'}'`
9143 { echo "$as_me:$LINENO: result: $ac_res" >&5
9144 echo "${ECHO_T}$ac_res" >&6; }
9145 if test `eval echo '${'$as_ac_var'}'` = yes; then
9146 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9147 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9153 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9154 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9155 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9156 echo $ECHO_N "(cached) $ECHO_C" >&6
9157 else
9158 ac_wine_try_cflags_saved=$CFLAGS
9159 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9160 cat >conftest.$ac_ext <<_ACEOF
9161 /* confdefs.h. */
9162 _ACEOF
9163 cat confdefs.h >>conftest.$ac_ext
9164 cat >>conftest.$ac_ext <<_ACEOF
9165 /* end confdefs.h. */
9168 main ()
9172 return 0;
9174 _ACEOF
9175 rm -f conftest.$ac_objext conftest$ac_exeext
9176 if { (ac_try="$ac_link"
9177 case "(($ac_try" in
9178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9179 *) ac_try_echo=$ac_try;;
9180 esac
9181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9182 (eval "$ac_link") 2>conftest.er1
9183 ac_status=$?
9184 grep -v '^ *+' conftest.er1 >conftest.err
9185 rm -f conftest.er1
9186 cat conftest.err >&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } && {
9189 test -z "$ac_c_werror_flag" ||
9190 test ! -s conftest.err
9191 } && test -s conftest$ac_exeext &&
9192 $as_test_x conftest$ac_exeext; then
9193 ac_cv_cflags__Wl___enable_new_dtags=yes
9194 else
9195 echo "$as_me: failed program was:" >&5
9196 sed 's/^/| /' conftest.$ac_ext >&5
9198 ac_cv_cflags__Wl___enable_new_dtags=no
9201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9202 conftest$ac_exeext conftest.$ac_ext
9203 CFLAGS=$ac_wine_try_cflags_saved
9205 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9206 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9207 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9208 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9212 case $host_cpu in
9213 *i[3456789]86* | x86_64)
9214 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9215 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9216 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9217 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 else
9219 ac_wine_try_cflags_saved=$CFLAGS
9220 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9221 cat >conftest.$ac_ext <<_ACEOF
9222 /* confdefs.h. */
9223 _ACEOF
9224 cat confdefs.h >>conftest.$ac_ext
9225 cat >>conftest.$ac_ext <<_ACEOF
9226 /* end confdefs.h. */
9229 main ()
9233 return 0;
9235 _ACEOF
9236 rm -f conftest.$ac_objext conftest$ac_exeext
9237 if { (ac_try="$ac_link"
9238 case "(($ac_try" in
9239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9240 *) ac_try_echo=$ac_try;;
9241 esac
9242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9243 (eval "$ac_link") 2>conftest.er1
9244 ac_status=$?
9245 grep -v '^ *+' conftest.er1 >conftest.err
9246 rm -f conftest.er1
9247 cat conftest.err >&5
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); } && {
9250 test -z "$ac_c_werror_flag" ||
9251 test ! -s conftest.err
9252 } && test -s conftest$ac_exeext &&
9253 $as_test_x conftest$ac_exeext; then
9254 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9255 else
9256 echo "$as_me: failed program was:" >&5
9257 sed 's/^/| /' conftest.$ac_ext >&5
9259 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9263 conftest$ac_exeext conftest.$ac_ext
9264 CFLAGS=$ac_wine_try_cflags_saved
9266 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9267 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9268 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9269 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9273 esac
9275 else
9276 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9277 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9278 if test "${ac_cv_c_dll_unixware+set}" = set; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9280 else
9281 ac_wine_try_cflags_saved=$CFLAGS
9282 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9283 cat >conftest.$ac_ext <<_ACEOF
9284 void myfunc() {}
9285 _ACEOF
9286 rm -f conftest.$ac_objext conftest$ac_exeext
9287 if { (ac_try="$ac_link"
9288 case "(($ac_try" in
9289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9290 *) ac_try_echo=$ac_try;;
9291 esac
9292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9293 (eval "$ac_link") 2>conftest.er1
9294 ac_status=$?
9295 grep -v '^ *+' conftest.er1 >conftest.err
9296 rm -f conftest.er1
9297 cat conftest.err >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } && {
9300 test -z "$ac_c_werror_flag" ||
9301 test ! -s conftest.err
9302 } && test -s conftest$ac_exeext &&
9303 $as_test_x conftest$ac_exeext; then
9304 ac_cv_c_dll_unixware="yes"
9305 else
9306 echo "$as_me: failed program was:" >&5
9307 sed 's/^/| /' conftest.$ac_ext >&5
9309 ac_cv_c_dll_unixware="no"
9312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9313 conftest$ac_exeext conftest.$ac_ext
9314 CFLAGS=$ac_wine_try_cflags_saved
9316 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9317 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9318 if test "$ac_cv_c_dll_unixware" = "yes"
9319 then
9320 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9321 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9323 else
9324 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9325 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9326 if test "${ac_cv_c_dll_hpux+set}" = set; then
9327 echo $ECHO_N "(cached) $ECHO_C" >&6
9328 else
9329 ac_wine_try_cflags_saved=$CFLAGS
9330 CFLAGS="$CFLAGS -shared"
9331 cat >conftest.$ac_ext <<_ACEOF
9332 void myfunc() {}
9333 _ACEOF
9334 rm -f conftest.$ac_objext conftest$ac_exeext
9335 if { (ac_try="$ac_link"
9336 case "(($ac_try" in
9337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9338 *) ac_try_echo=$ac_try;;
9339 esac
9340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9341 (eval "$ac_link") 2>conftest.er1
9342 ac_status=$?
9343 grep -v '^ *+' conftest.er1 >conftest.err
9344 rm -f conftest.er1
9345 cat conftest.err >&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); } && {
9348 test -z "$ac_c_werror_flag" ||
9349 test ! -s conftest.err
9350 } && test -s conftest$ac_exeext &&
9351 $as_test_x conftest$ac_exeext; then
9352 ac_cv_c_dll_hpux="yes"
9353 else
9354 echo "$as_me: failed program was:" >&5
9355 sed 's/^/| /' conftest.$ac_ext >&5
9357 ac_cv_c_dll_hpux="no"
9360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9361 conftest$ac_exeext conftest.$ac_ext
9362 CFLAGS=$ac_wine_try_cflags_saved
9364 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9365 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9366 if test "$ac_cv_c_dll_hpux" = "yes"
9367 then
9368 LIBEXT="sl"
9369 DLLEXT=".sl"
9370 LDDLLFLAGS="-shared -fPIC"
9371 LDSHARED="\$(CC) -shared"
9376 CROSSTEST=""
9378 if test "$cross_compiling" = "no"
9379 then
9380 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9382 # Extract the first word of "$ac_prog", so it can be a program name with args.
9383 set dummy $ac_prog; ac_word=$2
9384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9386 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9387 echo $ECHO_N "(cached) $ECHO_C" >&6
9388 else
9389 if test -n "$CROSSCC"; then
9390 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9391 else
9392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9393 for as_dir in $PATH
9395 IFS=$as_save_IFS
9396 test -z "$as_dir" && as_dir=.
9397 for ac_exec_ext in '' $ac_executable_extensions; do
9398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9399 ac_cv_prog_CROSSCC="$ac_prog"
9400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9401 break 2
9403 done
9404 done
9405 IFS=$as_save_IFS
9409 CROSSCC=$ac_cv_prog_CROSSCC
9410 if test -n "$CROSSCC"; then
9411 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9412 echo "${ECHO_T}$CROSSCC" >&6; }
9413 else
9414 { echo "$as_me:$LINENO: result: no" >&5
9415 echo "${ECHO_T}no" >&6; }
9419 test -n "$CROSSCC" && break
9420 done
9421 test -n "$CROSSCC" || CROSSCC="false"
9423 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9425 # Extract the first word of "$ac_prog", so it can be a program name with args.
9426 set dummy $ac_prog; ac_word=$2
9427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9429 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9430 echo $ECHO_N "(cached) $ECHO_C" >&6
9431 else
9432 if test -n "$DLLTOOL"; then
9433 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9434 else
9435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9436 for as_dir in $PATH
9438 IFS=$as_save_IFS
9439 test -z "$as_dir" && as_dir=.
9440 for ac_exec_ext in '' $ac_executable_extensions; do
9441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9442 ac_cv_prog_DLLTOOL="$ac_prog"
9443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9444 break 2
9446 done
9447 done
9448 IFS=$as_save_IFS
9452 DLLTOOL=$ac_cv_prog_DLLTOOL
9453 if test -n "$DLLTOOL"; then
9454 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9455 echo "${ECHO_T}$DLLTOOL" >&6; }
9456 else
9457 { echo "$as_me:$LINENO: result: no" >&5
9458 echo "${ECHO_T}no" >&6; }
9462 test -n "$DLLTOOL" && break
9463 done
9464 test -n "$DLLTOOL" || DLLTOOL="false"
9466 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9468 # Extract the first word of "$ac_prog", so it can be a program name with args.
9469 set dummy $ac_prog; ac_word=$2
9470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9472 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9473 echo $ECHO_N "(cached) $ECHO_C" >&6
9474 else
9475 if test -n "$CROSSWINDRES"; then
9476 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9477 else
9478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9479 for as_dir in $PATH
9481 IFS=$as_save_IFS
9482 test -z "$as_dir" && as_dir=.
9483 for ac_exec_ext in '' $ac_executable_extensions; do
9484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9485 ac_cv_prog_CROSSWINDRES="$ac_prog"
9486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9487 break 2
9489 done
9490 done
9491 IFS=$as_save_IFS
9495 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9496 if test -n "$CROSSWINDRES"; then
9497 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9498 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9499 else
9500 { echo "$as_me:$LINENO: result: no" >&5
9501 echo "${ECHO_T}no" >&6; }
9505 test -n "$CROSSWINDRES" && break
9506 done
9507 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9509 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9511 # Extract the first word of "$ac_prog", so it can be a program name with args.
9512 set dummy $ac_prog; ac_word=$2
9513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9515 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9516 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 else
9518 if test -n "$MINGWAR"; then
9519 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9520 else
9521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9522 for as_dir in $PATH
9524 IFS=$as_save_IFS
9525 test -z "$as_dir" && as_dir=.
9526 for ac_exec_ext in '' $ac_executable_extensions; do
9527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9528 ac_cv_prog_MINGWAR="$ac_prog"
9529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9530 break 2
9532 done
9533 done
9534 IFS=$as_save_IFS
9538 MINGWAR=$ac_cv_prog_MINGWAR
9539 if test -n "$MINGWAR"; then
9540 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9541 echo "${ECHO_T}$MINGWAR" >&6; }
9542 else
9543 { echo "$as_me:$LINENO: result: no" >&5
9544 echo "${ECHO_T}no" >&6; }
9548 test -n "$MINGWAR" && break
9549 done
9550 test -n "$MINGWAR" || MINGWAR="false"
9552 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9555 esac
9557 if test "$LIBEXT" = "a"; then
9558 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9559 It is currently not possible to build Wine without shared library
9560 (.so) support to allow transparent switch between .so and .dll files.
9561 If you are using Linux, you will need a newer binutils.
9562 " >&5
9563 echo "$as_me: error: could not find a way to build shared libraries.
9564 It is currently not possible to build Wine without shared library
9565 (.so) support to allow transparent switch between .so and .dll files.
9566 If you are using Linux, you will need a newer binutils.
9567 " >&2;}
9568 { (exit 1); exit 1; }; }
9572 if test "$have_x" = "yes"
9573 then
9574 XLIB="-lXext -lX11"
9575 ac_save_CPPFLAGS="$CPPFLAGS"
9576 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9578 { echo "$as_me:$LINENO: checking for -lX11" >&5
9579 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9580 if test "${ac_cv_lib_soname_X11+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 else
9583 ac_check_soname_save_LIBS=$LIBS
9584 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9585 cat >conftest.$ac_ext <<_ACEOF
9586 /* confdefs.h. */
9587 _ACEOF
9588 cat confdefs.h >>conftest.$ac_ext
9589 cat >>conftest.$ac_ext <<_ACEOF
9590 /* end confdefs.h. */
9592 /* Override any GCC internal prototype to avoid an error.
9593 Use char because int might match the return type of a GCC
9594 builtin and then its argument prototype would still apply. */
9595 #ifdef __cplusplus
9596 extern "C"
9597 #endif
9598 char XCreateWindow ();
9600 main ()
9602 return XCreateWindow ();
9604 return 0;
9606 _ACEOF
9607 rm -f conftest.$ac_objext conftest$ac_exeext
9608 if { (ac_try="$ac_link"
9609 case "(($ac_try" in
9610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9611 *) ac_try_echo=$ac_try;;
9612 esac
9613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9614 (eval "$ac_link") 2>conftest.er1
9615 ac_status=$?
9616 grep -v '^ *+' conftest.er1 >conftest.err
9617 rm -f conftest.er1
9618 cat conftest.err >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } && {
9621 test -z "$ac_c_werror_flag" ||
9622 test ! -s conftest.err
9623 } && test -s conftest$ac_exeext &&
9624 $as_test_x conftest$ac_exeext; then
9625 case "$LIBEXT" in
9626 dll) ;;
9627 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'` ;;
9628 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9629 esac
9630 else
9631 echo "$as_me: failed program was:" >&5
9632 sed 's/^/| /' conftest.$ac_ext >&5
9637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9638 conftest$ac_exeext conftest.$ac_ext
9639 LIBS=$ac_check_soname_save_LIBS
9641 if test "x$ac_cv_lib_soname_X11" = "x"; then
9642 { echo "$as_me:$LINENO: result: not found" >&5
9643 echo "${ECHO_T}not found" >&6; }
9645 else
9646 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9647 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9649 cat >>confdefs.h <<_ACEOF
9650 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9651 _ACEOF
9656 { echo "$as_me:$LINENO: checking for -lXext" >&5
9657 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9658 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6
9660 else
9661 ac_check_soname_save_LIBS=$LIBS
9662 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9663 cat >conftest.$ac_ext <<_ACEOF
9664 /* confdefs.h. */
9665 _ACEOF
9666 cat confdefs.h >>conftest.$ac_ext
9667 cat >>conftest.$ac_ext <<_ACEOF
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9673 #ifdef __cplusplus
9674 extern "C"
9675 #endif
9676 char XextCreateExtension ();
9678 main ()
9680 return XextCreateExtension ();
9682 return 0;
9684 _ACEOF
9685 rm -f conftest.$ac_objext conftest$ac_exeext
9686 if { (ac_try="$ac_link"
9687 case "(($ac_try" in
9688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9689 *) ac_try_echo=$ac_try;;
9690 esac
9691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9692 (eval "$ac_link") 2>conftest.er1
9693 ac_status=$?
9694 grep -v '^ *+' conftest.er1 >conftest.err
9695 rm -f conftest.er1
9696 cat conftest.err >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); } && {
9699 test -z "$ac_c_werror_flag" ||
9700 test ! -s conftest.err
9701 } && test -s conftest$ac_exeext &&
9702 $as_test_x conftest$ac_exeext; then
9703 case "$LIBEXT" in
9704 dll) ;;
9705 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'` ;;
9706 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9707 esac
9708 else
9709 echo "$as_me: failed program was:" >&5
9710 sed 's/^/| /' conftest.$ac_ext >&5
9715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_soname_save_LIBS
9719 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9720 { echo "$as_me:$LINENO: result: not found" >&5
9721 echo "${ECHO_T}not found" >&6; }
9723 else
9724 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9725 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9727 cat >>confdefs.h <<_ACEOF
9728 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9729 _ACEOF
9747 for ac_header in X11/Xlib.h \
9748 X11/XKBlib.h \
9749 X11/Xutil.h \
9750 X11/Xcursor/Xcursor.h \
9751 X11/extensions/shape.h \
9752 X11/extensions/XInput.h \
9753 X11/extensions/XShm.h \
9754 X11/extensions/Xcomposite.h \
9755 X11/extensions/Xinerama.h \
9756 X11/extensions/Xrandr.h \
9757 X11/extensions/Xrender.h \
9758 X11/extensions/xf86vmode.h
9760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9764 echo $ECHO_N "(cached) $ECHO_C" >&6
9765 else
9766 cat >conftest.$ac_ext <<_ACEOF
9767 /* confdefs.h. */
9768 _ACEOF
9769 cat confdefs.h >>conftest.$ac_ext
9770 cat >>conftest.$ac_ext <<_ACEOF
9771 /* end confdefs.h. */
9772 #ifdef HAVE_X11_XLIB_H
9773 # include <X11/Xlib.h>
9774 #endif
9775 #ifdef HAVE_X11_XUTIL_H
9776 # include <X11/Xutil.h>
9777 #endif
9779 #include <$ac_header>
9780 _ACEOF
9781 rm -f conftest.$ac_objext
9782 if { (ac_try="$ac_compile"
9783 case "(($ac_try" in
9784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9785 *) ac_try_echo=$ac_try;;
9786 esac
9787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9788 (eval "$ac_compile") 2>conftest.er1
9789 ac_status=$?
9790 grep -v '^ *+' conftest.er1 >conftest.err
9791 rm -f conftest.er1
9792 cat conftest.err >&5
9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); } && {
9795 test -z "$ac_c_werror_flag" ||
9796 test ! -s conftest.err
9797 } && test -s conftest.$ac_objext; then
9798 eval "$as_ac_Header=yes"
9799 else
9800 echo "$as_me: failed program was:" >&5
9801 sed 's/^/| /' conftest.$ac_ext >&5
9803 eval "$as_ac_Header=no"
9806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9808 ac_res=`eval echo '${'$as_ac_Header'}'`
9809 { echo "$as_me:$LINENO: result: $ac_res" >&5
9810 echo "${ECHO_T}$ac_res" >&6; }
9811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9812 cat >>confdefs.h <<_ACEOF
9813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9814 _ACEOF
9818 done
9821 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9822 then
9823 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9824 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9825 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9826 echo $ECHO_N "(cached) $ECHO_C" >&6
9827 else
9828 ac_check_lib_save_LIBS=$LIBS
9829 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9830 cat >conftest.$ac_ext <<_ACEOF
9831 /* confdefs.h. */
9832 _ACEOF
9833 cat confdefs.h >>conftest.$ac_ext
9834 cat >>conftest.$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9837 /* Override any GCC internal prototype to avoid an error.
9838 Use char because int might match the return type of a GCC
9839 builtin and then its argument prototype would still apply. */
9840 #ifdef __cplusplus
9841 extern "C"
9842 #endif
9843 char XkbQueryExtension ();
9845 main ()
9847 return XkbQueryExtension ();
9849 return 0;
9851 _ACEOF
9852 rm -f conftest.$ac_objext conftest$ac_exeext
9853 if { (ac_try="$ac_link"
9854 case "(($ac_try" in
9855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9856 *) ac_try_echo=$ac_try;;
9857 esac
9858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9859 (eval "$ac_link") 2>conftest.er1
9860 ac_status=$?
9861 grep -v '^ *+' conftest.er1 >conftest.err
9862 rm -f conftest.er1
9863 cat conftest.err >&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } && {
9866 test -z "$ac_c_werror_flag" ||
9867 test ! -s conftest.err
9868 } && test -s conftest$ac_exeext &&
9869 $as_test_x conftest$ac_exeext; then
9870 ac_cv_lib_X11_XkbQueryExtension=yes
9871 else
9872 echo "$as_me: failed program was:" >&5
9873 sed 's/^/| /' conftest.$ac_ext >&5
9875 ac_cv_lib_X11_XkbQueryExtension=no
9878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9879 conftest$ac_exeext conftest.$ac_ext
9880 LIBS=$ac_check_lib_save_LIBS
9882 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9883 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9884 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9886 cat >>confdefs.h <<\_ACEOF
9887 #define HAVE_XKB 1
9888 _ACEOF
9894 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9895 then
9896 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9897 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9898 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9899 echo $ECHO_N "(cached) $ECHO_C" >&6
9900 else
9901 ac_check_soname_save_LIBS=$LIBS
9902 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9903 cat >conftest.$ac_ext <<_ACEOF
9904 /* confdefs.h. */
9905 _ACEOF
9906 cat confdefs.h >>conftest.$ac_ext
9907 cat >>conftest.$ac_ext <<_ACEOF
9908 /* end confdefs.h. */
9910 /* Override any GCC internal prototype to avoid an error.
9911 Use char because int might match the return type of a GCC
9912 builtin and then its argument prototype would still apply. */
9913 #ifdef __cplusplus
9914 extern "C"
9915 #endif
9916 char XcursorImageLoadCursor ();
9918 main ()
9920 return XcursorImageLoadCursor ();
9922 return 0;
9924 _ACEOF
9925 rm -f conftest.$ac_objext conftest$ac_exeext
9926 if { (ac_try="$ac_link"
9927 case "(($ac_try" in
9928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9929 *) ac_try_echo=$ac_try;;
9930 esac
9931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9932 (eval "$ac_link") 2>conftest.er1
9933 ac_status=$?
9934 grep -v '^ *+' conftest.er1 >conftest.err
9935 rm -f conftest.er1
9936 cat conftest.err >&5
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); } && {
9939 test -z "$ac_c_werror_flag" ||
9940 test ! -s conftest.err
9941 } && test -s conftest$ac_exeext &&
9942 $as_test_x conftest$ac_exeext; then
9943 case "$LIBEXT" in
9944 dll) ;;
9945 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'` ;;
9946 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9947 esac
9948 else
9949 echo "$as_me: failed program was:" >&5
9950 sed 's/^/| /' conftest.$ac_ext >&5
9955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9956 conftest$ac_exeext conftest.$ac_ext
9957 LIBS=$ac_check_soname_save_LIBS
9959 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9960 { echo "$as_me:$LINENO: result: not found" >&5
9961 echo "${ECHO_T}not found" >&6; }
9963 else
9964 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9965 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9967 cat >>confdefs.h <<_ACEOF
9968 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9969 _ACEOF
9975 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9976 case "x$with_xcursor" in
9977 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9978 xno) ;;
9979 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9980 This is an error since --with-xcursor was requested." >&5
9981 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9982 This is an error since --with-xcursor was requested." >&2;}
9983 { (exit 1); exit 1; }; } ;;
9984 esac
9988 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9989 then
9990 { echo "$as_me:$LINENO: checking for -lXi" >&5
9991 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9992 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9993 echo $ECHO_N "(cached) $ECHO_C" >&6
9994 else
9995 ac_check_soname_save_LIBS=$LIBS
9996 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9997 cat >conftest.$ac_ext <<_ACEOF
9998 /* confdefs.h. */
9999 _ACEOF
10000 cat confdefs.h >>conftest.$ac_ext
10001 cat >>conftest.$ac_ext <<_ACEOF
10002 /* end confdefs.h. */
10004 /* Override any GCC internal prototype to avoid an error.
10005 Use char because int might match the return type of a GCC
10006 builtin and then its argument prototype would still apply. */
10007 #ifdef __cplusplus
10008 extern "C"
10009 #endif
10010 char XOpenDevice ();
10012 main ()
10014 return XOpenDevice ();
10016 return 0;
10018 _ACEOF
10019 rm -f conftest.$ac_objext conftest$ac_exeext
10020 if { (ac_try="$ac_link"
10021 case "(($ac_try" in
10022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10023 *) ac_try_echo=$ac_try;;
10024 esac
10025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10026 (eval "$ac_link") 2>conftest.er1
10027 ac_status=$?
10028 grep -v '^ *+' conftest.er1 >conftest.err
10029 rm -f conftest.er1
10030 cat conftest.err >&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); } && {
10033 test -z "$ac_c_werror_flag" ||
10034 test ! -s conftest.err
10035 } && test -s conftest$ac_exeext &&
10036 $as_test_x conftest$ac_exeext; then
10037 case "$LIBEXT" in
10038 dll) ;;
10039 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'` ;;
10040 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10041 esac
10042 else
10043 echo "$as_me: failed program was:" >&5
10044 sed 's/^/| /' conftest.$ac_ext >&5
10049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10050 conftest$ac_exeext conftest.$ac_ext
10051 LIBS=$ac_check_soname_save_LIBS
10053 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10054 { echo "$as_me:$LINENO: result: not found" >&5
10055 echo "${ECHO_T}not found" >&6; }
10057 else
10058 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10059 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10061 cat >>confdefs.h <<_ACEOF
10062 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10063 _ACEOF
10069 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10070 case "x$with_xinput" in
10071 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10072 xno) ;;
10073 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10074 This is an error since --with-xinput was requested." >&5
10075 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10076 This is an error since --with-xinput was requested." >&2;}
10077 { (exit 1); exit 1; }; } ;;
10078 esac
10082 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10083 then
10084 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10085 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10086 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10087 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 else
10089 ac_check_lib_save_LIBS=$LIBS
10090 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10091 cat >conftest.$ac_ext <<_ACEOF
10092 /* confdefs.h. */
10093 _ACEOF
10094 cat confdefs.h >>conftest.$ac_ext
10095 cat >>conftest.$ac_ext <<_ACEOF
10096 /* end confdefs.h. */
10098 /* Override any GCC internal prototype to avoid an error.
10099 Use char because int might match the return type of a GCC
10100 builtin and then its argument prototype would still apply. */
10101 #ifdef __cplusplus
10102 extern "C"
10103 #endif
10104 char XShmQueryExtension ();
10106 main ()
10108 return XShmQueryExtension ();
10110 return 0;
10112 _ACEOF
10113 rm -f conftest.$ac_objext conftest$ac_exeext
10114 if { (ac_try="$ac_link"
10115 case "(($ac_try" in
10116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10117 *) ac_try_echo=$ac_try;;
10118 esac
10119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10120 (eval "$ac_link") 2>conftest.er1
10121 ac_status=$?
10122 grep -v '^ *+' conftest.er1 >conftest.err
10123 rm -f conftest.er1
10124 cat conftest.err >&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } && {
10127 test -z "$ac_c_werror_flag" ||
10128 test ! -s conftest.err
10129 } && test -s conftest$ac_exeext &&
10130 $as_test_x conftest$ac_exeext; then
10131 ac_cv_lib_Xext_XShmQueryExtension=yes
10132 else
10133 echo "$as_me: failed program was:" >&5
10134 sed 's/^/| /' conftest.$ac_ext >&5
10136 ac_cv_lib_Xext_XShmQueryExtension=no
10139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_lib_save_LIBS
10143 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10144 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10145 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10147 cat >>confdefs.h <<\_ACEOF
10148 #define HAVE_LIBXXSHM 1
10149 _ACEOF
10154 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10155 case "x$with_xshm" in
10156 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10157 xno) ;;
10158 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10159 This is an error since --with-xshm was requested." >&5
10160 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10161 This is an error since --with-xshm was requested." >&2;}
10162 { (exit 1); exit 1; }; } ;;
10163 esac
10167 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10168 then
10169 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10170 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10171 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10172 echo $ECHO_N "(cached) $ECHO_C" >&6
10173 else
10174 ac_check_lib_save_LIBS=$LIBS
10175 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10176 cat >conftest.$ac_ext <<_ACEOF
10177 /* confdefs.h. */
10178 _ACEOF
10179 cat confdefs.h >>conftest.$ac_ext
10180 cat >>conftest.$ac_ext <<_ACEOF
10181 /* end confdefs.h. */
10183 /* Override any GCC internal prototype to avoid an error.
10184 Use char because int might match the return type of a GCC
10185 builtin and then its argument prototype would still apply. */
10186 #ifdef __cplusplus
10187 extern "C"
10188 #endif
10189 char XShapeQueryExtension ();
10191 main ()
10193 return XShapeQueryExtension ();
10195 return 0;
10197 _ACEOF
10198 rm -f conftest.$ac_objext conftest$ac_exeext
10199 if { (ac_try="$ac_link"
10200 case "(($ac_try" in
10201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10202 *) ac_try_echo=$ac_try;;
10203 esac
10204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10205 (eval "$ac_link") 2>conftest.er1
10206 ac_status=$?
10207 grep -v '^ *+' conftest.er1 >conftest.err
10208 rm -f conftest.er1
10209 cat conftest.err >&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); } && {
10212 test -z "$ac_c_werror_flag" ||
10213 test ! -s conftest.err
10214 } && test -s conftest$ac_exeext &&
10215 $as_test_x conftest$ac_exeext; then
10216 ac_cv_lib_Xext_XShapeQueryExtension=yes
10217 else
10218 echo "$as_me: failed program was:" >&5
10219 sed 's/^/| /' conftest.$ac_ext >&5
10221 ac_cv_lib_Xext_XShapeQueryExtension=no
10224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10225 conftest$ac_exeext conftest.$ac_ext
10226 LIBS=$ac_check_lib_save_LIBS
10228 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10229 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10230 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10232 cat >>confdefs.h <<\_ACEOF
10233 #define HAVE_LIBXSHAPE 1
10234 _ACEOF
10239 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10240 case "x$with_xshape" in
10241 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10242 xno) ;;
10243 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10244 This is an error since --with-xshape was requested." >&5
10245 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10246 This is an error since --with-xshape was requested." >&2;}
10247 { (exit 1); exit 1; }; } ;;
10248 esac
10252 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10253 then
10254 { echo "$as_me:$LINENO: checking for -lXxf86vm" >&5
10255 echo $ECHO_N "checking for -lXxf86vm... $ECHO_C" >&6; }
10256 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
10258 else
10259 ac_check_soname_save_LIBS=$LIBS
10260 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10261 cat >conftest.$ac_ext <<_ACEOF
10262 /* confdefs.h. */
10263 _ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10271 #ifdef __cplusplus
10272 extern "C"
10273 #endif
10274 char XF86VidModeQueryExtension ();
10276 main ()
10278 return XF86VidModeQueryExtension ();
10280 return 0;
10282 _ACEOF
10283 rm -f conftest.$ac_objext conftest$ac_exeext
10284 if { (ac_try="$ac_link"
10285 case "(($ac_try" in
10286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10287 *) ac_try_echo=$ac_try;;
10288 esac
10289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10290 (eval "$ac_link") 2>conftest.er1
10291 ac_status=$?
10292 grep -v '^ *+' conftest.er1 >conftest.err
10293 rm -f conftest.er1
10294 cat conftest.err >&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); } && {
10297 test -z "$ac_c_werror_flag" ||
10298 test ! -s conftest.err
10299 } && test -s conftest$ac_exeext &&
10300 $as_test_x conftest$ac_exeext; then
10301 case "$LIBEXT" in
10302 dll) ;;
10303 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'` ;;
10304 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10305 esac
10306 else
10307 echo "$as_me: failed program was:" >&5
10308 sed 's/^/| /' conftest.$ac_ext >&5
10313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10314 conftest$ac_exeext conftest.$ac_ext
10315 LIBS=$ac_check_soname_save_LIBS
10317 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10318 { echo "$as_me:$LINENO: result: not found" >&5
10319 echo "${ECHO_T}not found" >&6; }
10321 else
10322 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xxf86vm" >&5
10323 echo "${ECHO_T}$ac_cv_lib_soname_Xxf86vm" >&6; }
10325 cat >>confdefs.h <<_ACEOF
10326 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10327 _ACEOF
10333 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10334 case "x$with_xxf86vm" in
10335 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10336 xno) ;;
10337 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10338 This is an error since --with-xxf86vm was requested." >&5
10339 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10340 This is an error since --with-xxf86vm was requested." >&2;}
10341 { (exit 1); exit 1; }; } ;;
10342 esac
10346 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"
10347 then
10348 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10349 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10350 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10351 echo $ECHO_N "(cached) $ECHO_C" >&6
10352 else
10353 ac_check_soname_save_LIBS=$LIBS
10354 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10355 cat >conftest.$ac_ext <<_ACEOF
10356 /* confdefs.h. */
10357 _ACEOF
10358 cat confdefs.h >>conftest.$ac_ext
10359 cat >>conftest.$ac_ext <<_ACEOF
10360 /* end confdefs.h. */
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10365 #ifdef __cplusplus
10366 extern "C"
10367 #endif
10368 char XRenderQueryExtension ();
10370 main ()
10372 return XRenderQueryExtension ();
10374 return 0;
10376 _ACEOF
10377 rm -f conftest.$ac_objext conftest$ac_exeext
10378 if { (ac_try="$ac_link"
10379 case "(($ac_try" in
10380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10381 *) ac_try_echo=$ac_try;;
10382 esac
10383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10384 (eval "$ac_link") 2>conftest.er1
10385 ac_status=$?
10386 grep -v '^ *+' conftest.er1 >conftest.err
10387 rm -f conftest.er1
10388 cat conftest.err >&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); } && {
10391 test -z "$ac_c_werror_flag" ||
10392 test ! -s conftest.err
10393 } && test -s conftest$ac_exeext &&
10394 $as_test_x conftest$ac_exeext; then
10395 case "$LIBEXT" in
10396 dll) ;;
10397 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'` ;;
10398 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10399 esac
10400 else
10401 echo "$as_me: failed program was:" >&5
10402 sed 's/^/| /' conftest.$ac_ext >&5
10407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10408 conftest$ac_exeext conftest.$ac_ext
10409 LIBS=$ac_check_soname_save_LIBS
10411 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10412 { echo "$as_me:$LINENO: result: not found" >&5
10413 echo "${ECHO_T}not found" >&6; }
10415 else
10416 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10417 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10419 cat >>confdefs.h <<_ACEOF
10420 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10421 _ACEOF
10423 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10424 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10425 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10426 echo $ECHO_N "(cached) $ECHO_C" >&6
10427 else
10428 ac_check_lib_save_LIBS=$LIBS
10429 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10430 cat >conftest.$ac_ext <<_ACEOF
10431 /* confdefs.h. */
10432 _ACEOF
10433 cat confdefs.h >>conftest.$ac_ext
10434 cat >>conftest.$ac_ext <<_ACEOF
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10440 #ifdef __cplusplus
10441 extern "C"
10442 #endif
10443 char XRenderSetPictureTransform ();
10445 main ()
10447 return XRenderSetPictureTransform ();
10449 return 0;
10451 _ACEOF
10452 rm -f conftest.$ac_objext conftest$ac_exeext
10453 if { (ac_try="$ac_link"
10454 case "(($ac_try" in
10455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10456 *) ac_try_echo=$ac_try;;
10457 esac
10458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10459 (eval "$ac_link") 2>conftest.er1
10460 ac_status=$?
10461 grep -v '^ *+' conftest.er1 >conftest.err
10462 rm -f conftest.er1
10463 cat conftest.err >&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); } && {
10466 test -z "$ac_c_werror_flag" ||
10467 test ! -s conftest.err
10468 } && test -s conftest$ac_exeext &&
10469 $as_test_x conftest$ac_exeext; then
10470 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10471 else
10472 echo "$as_me: failed program was:" >&5
10473 sed 's/^/| /' conftest.$ac_ext >&5
10475 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10479 conftest$ac_exeext conftest.$ac_ext
10480 LIBS=$ac_check_lib_save_LIBS
10482 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10483 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10484 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10486 cat >>confdefs.h <<\_ACEOF
10487 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10488 _ACEOF
10496 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10497 case "x$with_xrender" in
10498 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10499 xno) ;;
10500 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10501 This is an error since --with-xrender was requested." >&5
10502 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10503 This is an error since --with-xrender was requested." >&2;}
10504 { (exit 1); exit 1; }; } ;;
10505 esac
10509 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10510 then
10511 cat >conftest.$ac_ext <<_ACEOF
10512 /* confdefs.h. */
10513 _ACEOF
10514 cat confdefs.h >>conftest.$ac_ext
10515 cat >>conftest.$ac_ext <<_ACEOF
10516 /* end confdefs.h. */
10517 #include <X11/Xlib.h>
10518 #include <X11/extensions/Xrandr.h>
10520 main ()
10522 static typeof(XRRSetScreenConfigAndRate) * func;
10524 return 0;
10526 _ACEOF
10527 rm -f conftest.$ac_objext
10528 if { (ac_try="$ac_compile"
10529 case "(($ac_try" in
10530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10531 *) ac_try_echo=$ac_try;;
10532 esac
10533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10534 (eval "$ac_compile") 2>conftest.er1
10535 ac_status=$?
10536 grep -v '^ *+' conftest.er1 >conftest.err
10537 rm -f conftest.er1
10538 cat conftest.err >&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } && {
10541 test -z "$ac_c_werror_flag" ||
10542 test ! -s conftest.err
10543 } && test -s conftest.$ac_objext; then
10544 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10545 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10546 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10547 echo $ECHO_N "(cached) $ECHO_C" >&6
10548 else
10549 ac_check_soname_save_LIBS=$LIBS
10550 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10551 cat >conftest.$ac_ext <<_ACEOF
10552 /* confdefs.h. */
10553 _ACEOF
10554 cat confdefs.h >>conftest.$ac_ext
10555 cat >>conftest.$ac_ext <<_ACEOF
10556 /* end confdefs.h. */
10558 /* Override any GCC internal prototype to avoid an error.
10559 Use char because int might match the return type of a GCC
10560 builtin and then its argument prototype would still apply. */
10561 #ifdef __cplusplus
10562 extern "C"
10563 #endif
10564 char XRRQueryExtension ();
10566 main ()
10568 return XRRQueryExtension ();
10570 return 0;
10572 _ACEOF
10573 rm -f conftest.$ac_objext conftest$ac_exeext
10574 if { (ac_try="$ac_link"
10575 case "(($ac_try" in
10576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10577 *) ac_try_echo=$ac_try;;
10578 esac
10579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10580 (eval "$ac_link") 2>conftest.er1
10581 ac_status=$?
10582 grep -v '^ *+' conftest.er1 >conftest.err
10583 rm -f conftest.er1
10584 cat conftest.err >&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); } && {
10587 test -z "$ac_c_werror_flag" ||
10588 test ! -s conftest.err
10589 } && test -s conftest$ac_exeext &&
10590 $as_test_x conftest$ac_exeext; then
10591 case "$LIBEXT" in
10592 dll) ;;
10593 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'` ;;
10594 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10595 esac
10596 else
10597 echo "$as_me: failed program was:" >&5
10598 sed 's/^/| /' conftest.$ac_ext >&5
10603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10604 conftest$ac_exeext conftest.$ac_ext
10605 LIBS=$ac_check_soname_save_LIBS
10607 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10608 { echo "$as_me:$LINENO: result: not found" >&5
10609 echo "${ECHO_T}not found" >&6; }
10611 else
10612 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10613 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10615 cat >>confdefs.h <<_ACEOF
10616 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10617 _ACEOF
10622 else
10623 echo "$as_me: failed program was:" >&5
10624 sed 's/^/| /' conftest.$ac_ext >&5
10629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10631 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10632 case "x$with_xrandr" in
10633 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10634 xno) ;;
10635 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10636 This is an error since --with-xrandr was requested." >&5
10637 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10638 This is an error since --with-xrandr was requested." >&2;}
10639 { (exit 1); exit 1; }; } ;;
10640 esac
10644 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10645 then
10646 cat >conftest.$ac_ext <<_ACEOF
10647 /* confdefs.h. */
10648 _ACEOF
10649 cat confdefs.h >>conftest.$ac_ext
10650 cat >>conftest.$ac_ext <<_ACEOF
10651 /* end confdefs.h. */
10652 #include <X11/Xlib.h>
10653 #include <X11/extensions/Xinerama.h>
10655 main ()
10657 static typeof(XineramaQueryScreens) * func;
10659 return 0;
10661 _ACEOF
10662 rm -f conftest.$ac_objext
10663 if { (ac_try="$ac_compile"
10664 case "(($ac_try" in
10665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10666 *) ac_try_echo=$ac_try;;
10667 esac
10668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10669 (eval "$ac_compile") 2>conftest.er1
10670 ac_status=$?
10671 grep -v '^ *+' conftest.er1 >conftest.err
10672 rm -f conftest.er1
10673 cat conftest.err >&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 (exit $ac_status); } && {
10676 test -z "$ac_c_werror_flag" ||
10677 test ! -s conftest.err
10678 } && test -s conftest.$ac_objext; then
10679 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10680 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10681 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10682 echo $ECHO_N "(cached) $ECHO_C" >&6
10683 else
10684 ac_check_soname_save_LIBS=$LIBS
10685 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10686 cat >conftest.$ac_ext <<_ACEOF
10687 /* confdefs.h. */
10688 _ACEOF
10689 cat confdefs.h >>conftest.$ac_ext
10690 cat >>conftest.$ac_ext <<_ACEOF
10691 /* end confdefs.h. */
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10696 #ifdef __cplusplus
10697 extern "C"
10698 #endif
10699 char XineramaQueryScreens ();
10701 main ()
10703 return XineramaQueryScreens ();
10705 return 0;
10707 _ACEOF
10708 rm -f conftest.$ac_objext conftest$ac_exeext
10709 if { (ac_try="$ac_link"
10710 case "(($ac_try" in
10711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10712 *) ac_try_echo=$ac_try;;
10713 esac
10714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10715 (eval "$ac_link") 2>conftest.er1
10716 ac_status=$?
10717 grep -v '^ *+' conftest.er1 >conftest.err
10718 rm -f conftest.er1
10719 cat conftest.err >&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); } && {
10722 test -z "$ac_c_werror_flag" ||
10723 test ! -s conftest.err
10724 } && test -s conftest$ac_exeext &&
10725 $as_test_x conftest$ac_exeext; then
10726 case "$LIBEXT" in
10727 dll) ;;
10728 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'` ;;
10729 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10730 esac
10731 else
10732 echo "$as_me: failed program was:" >&5
10733 sed 's/^/| /' conftest.$ac_ext >&5
10738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_soname_save_LIBS
10742 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10743 { echo "$as_me:$LINENO: result: not found" >&5
10744 echo "${ECHO_T}not found" >&6; }
10746 else
10747 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10748 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10750 cat >>confdefs.h <<_ACEOF
10751 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10752 _ACEOF
10757 else
10758 echo "$as_me: failed program was:" >&5
10759 sed 's/^/| /' conftest.$ac_ext >&5
10764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10766 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10767 case "x$with_xinerama" in
10768 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10769 xno) ;;
10770 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10771 This is an error since --with-xinerama was requested." >&5
10772 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10773 This is an error since --with-xinerama was requested." >&2;}
10774 { (exit 1); exit 1; }; } ;;
10775 esac
10779 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10780 then
10781 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10782 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10783 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10784 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 else
10786 ac_check_soname_save_LIBS=$LIBS
10787 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10788 cat >conftest.$ac_ext <<_ACEOF
10789 /* confdefs.h. */
10790 _ACEOF
10791 cat confdefs.h >>conftest.$ac_ext
10792 cat >>conftest.$ac_ext <<_ACEOF
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char XCompositeRedirectWindow ();
10803 main ()
10805 return XCompositeRedirectWindow ();
10807 return 0;
10809 _ACEOF
10810 rm -f conftest.$ac_objext conftest$ac_exeext
10811 if { (ac_try="$ac_link"
10812 case "(($ac_try" in
10813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10814 *) ac_try_echo=$ac_try;;
10815 esac
10816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10817 (eval "$ac_link") 2>conftest.er1
10818 ac_status=$?
10819 grep -v '^ *+' conftest.er1 >conftest.err
10820 rm -f conftest.er1
10821 cat conftest.err >&5
10822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10823 (exit $ac_status); } && {
10824 test -z "$ac_c_werror_flag" ||
10825 test ! -s conftest.err
10826 } && test -s conftest$ac_exeext &&
10827 $as_test_x conftest$ac_exeext; then
10828 case "$LIBEXT" in
10829 dll) ;;
10830 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'` ;;
10831 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10832 esac
10833 else
10834 echo "$as_me: failed program was:" >&5
10835 sed 's/^/| /' conftest.$ac_ext >&5
10840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10841 conftest$ac_exeext conftest.$ac_ext
10842 LIBS=$ac_check_soname_save_LIBS
10844 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10845 { echo "$as_me:$LINENO: result: not found" >&5
10846 echo "${ECHO_T}not found" >&6; }
10848 else
10849 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10850 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10852 cat >>confdefs.h <<_ACEOF
10853 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10854 _ACEOF
10860 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10861 case "x$with_xcomposite" in
10862 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10863 xno) ;;
10864 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10865 This is an error since --with-xcomposite was requested." >&5
10866 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10867 This is an error since --with-xcomposite was requested." >&2;}
10868 { (exit 1); exit 1; }; } ;;
10869 esac
10873 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10874 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10875 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 else
10878 cat >conftest.$ac_ext <<_ACEOF
10879 /* confdefs.h. */
10880 _ACEOF
10881 cat confdefs.h >>conftest.$ac_ext
10882 cat >>conftest.$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10884 #ifdef HAVE_X11_XLIB_H
10885 #include <X11/Xlib.h>
10886 #endif
10889 main ()
10891 static XICCallback ac_aggr;
10892 if (ac_aggr.callback)
10893 return 0;
10895 return 0;
10897 _ACEOF
10898 rm -f conftest.$ac_objext
10899 if { (ac_try="$ac_compile"
10900 case "(($ac_try" in
10901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10902 *) ac_try_echo=$ac_try;;
10903 esac
10904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10905 (eval "$ac_compile") 2>conftest.er1
10906 ac_status=$?
10907 grep -v '^ *+' conftest.er1 >conftest.err
10908 rm -f conftest.er1
10909 cat conftest.err >&5
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); } && {
10912 test -z "$ac_c_werror_flag" ||
10913 test ! -s conftest.err
10914 } && test -s conftest.$ac_objext; then
10915 ac_cv_member_XICCallback_callback=yes
10916 else
10917 echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.$ac_ext >&5
10920 cat >conftest.$ac_ext <<_ACEOF
10921 /* confdefs.h. */
10922 _ACEOF
10923 cat confdefs.h >>conftest.$ac_ext
10924 cat >>conftest.$ac_ext <<_ACEOF
10925 /* end confdefs.h. */
10926 #ifdef HAVE_X11_XLIB_H
10927 #include <X11/Xlib.h>
10928 #endif
10931 main ()
10933 static XICCallback ac_aggr;
10934 if (sizeof ac_aggr.callback)
10935 return 0;
10937 return 0;
10939 _ACEOF
10940 rm -f conftest.$ac_objext
10941 if { (ac_try="$ac_compile"
10942 case "(($ac_try" in
10943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10944 *) ac_try_echo=$ac_try;;
10945 esac
10946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10947 (eval "$ac_compile") 2>conftest.er1
10948 ac_status=$?
10949 grep -v '^ *+' conftest.er1 >conftest.err
10950 rm -f conftest.er1
10951 cat conftest.err >&5
10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953 (exit $ac_status); } && {
10954 test -z "$ac_c_werror_flag" ||
10955 test ! -s conftest.err
10956 } && test -s conftest.$ac_objext; then
10957 ac_cv_member_XICCallback_callback=yes
10958 else
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.$ac_ext >&5
10962 ac_cv_member_XICCallback_callback=no
10965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10970 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10971 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10972 if test $ac_cv_member_XICCallback_callback = yes; then
10974 cat >>confdefs.h <<_ACEOF
10975 #define HAVE_XICCALLBACK_CALLBACK 1
10976 _ACEOF
10983 opengl_msg=""
10984 if test "x$with_opengl" != "xno"
10985 then
10990 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10996 echo $ECHO_N "(cached) $ECHO_C" >&6
10997 else
10998 cat >conftest.$ac_ext <<_ACEOF
10999 /* confdefs.h. */
11000 _ACEOF
11001 cat confdefs.h >>conftest.$ac_ext
11002 cat >>conftest.$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11004 #ifdef HAVE_GL_GLX_H
11005 # include <GL/glx.h>
11006 #endif
11008 #include <$ac_header>
11009 _ACEOF
11010 rm -f conftest.$ac_objext
11011 if { (ac_try="$ac_compile"
11012 case "(($ac_try" in
11013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11014 *) ac_try_echo=$ac_try;;
11015 esac
11016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11017 (eval "$ac_compile") 2>conftest.er1
11018 ac_status=$?
11019 grep -v '^ *+' conftest.er1 >conftest.err
11020 rm -f conftest.er1
11021 cat conftest.err >&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); } && {
11024 test -z "$ac_c_werror_flag" ||
11025 test ! -s conftest.err
11026 } && test -s conftest.$ac_objext; then
11027 eval "$as_ac_Header=yes"
11028 else
11029 echo "$as_me: failed program was:" >&5
11030 sed 's/^/| /' conftest.$ac_ext >&5
11032 eval "$as_ac_Header=no"
11035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11037 ac_res=`eval echo '${'$as_ac_Header'}'`
11038 { echo "$as_me:$LINENO: result: $ac_res" >&5
11039 echo "${ECHO_T}$ac_res" >&6; }
11040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11041 cat >>confdefs.h <<_ACEOF
11042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11043 _ACEOF
11047 done
11049 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11050 then
11051 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11052 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11053 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11054 echo $ECHO_N "(cached) $ECHO_C" >&6
11055 else
11056 cat >conftest.$ac_ext <<_ACEOF
11057 /* confdefs.h. */
11058 _ACEOF
11059 cat confdefs.h >>conftest.$ac_ext
11060 cat >>conftest.$ac_ext <<_ACEOF
11061 /* end confdefs.h. */
11062 #include <GL/gl.h>
11064 main ()
11066 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11068 return 0;
11070 _ACEOF
11071 rm -f conftest.$ac_objext
11072 if { (ac_try="$ac_compile"
11073 case "(($ac_try" in
11074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11075 *) ac_try_echo=$ac_try;;
11076 esac
11077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11078 (eval "$ac_compile") 2>conftest.er1
11079 ac_status=$?
11080 grep -v '^ *+' conftest.er1 >conftest.err
11081 rm -f conftest.er1
11082 cat conftest.err >&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); } && {
11085 test -z "$ac_c_werror_flag" ||
11086 test ! -s conftest.err
11087 } && test -s conftest.$ac_objext; then
11088 wine_cv_opengl_header_version_OK="yes"
11089 else
11090 echo "$as_me: failed program was:" >&5
11091 sed 's/^/| /' conftest.$ac_ext >&5
11093 wine_cv_opengl_header_version_OK="no"
11096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11098 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11099 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11101 if test "$wine_cv_opengl_header_version_OK" = "yes"
11102 then
11103 { echo "$as_me:$LINENO: checking for -lGL" >&5
11104 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11105 if test "${ac_cv_lib_soname_GL+set}" = set; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11107 else
11108 ac_check_soname_save_LIBS=$LIBS
11109 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11110 cat >conftest.$ac_ext <<_ACEOF
11111 /* confdefs.h. */
11112 _ACEOF
11113 cat confdefs.h >>conftest.$ac_ext
11114 cat >>conftest.$ac_ext <<_ACEOF
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11120 #ifdef __cplusplus
11121 extern "C"
11122 #endif
11123 char glXCreateContext ();
11125 main ()
11127 return glXCreateContext ();
11129 return 0;
11131 _ACEOF
11132 rm -f conftest.$ac_objext conftest$ac_exeext
11133 if { (ac_try="$ac_link"
11134 case "(($ac_try" in
11135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11136 *) ac_try_echo=$ac_try;;
11137 esac
11138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11139 (eval "$ac_link") 2>conftest.er1
11140 ac_status=$?
11141 grep -v '^ *+' conftest.er1 >conftest.err
11142 rm -f conftest.er1
11143 cat conftest.err >&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); } && {
11146 test -z "$ac_c_werror_flag" ||
11147 test ! -s conftest.err
11148 } && test -s conftest$ac_exeext &&
11149 $as_test_x conftest$ac_exeext; then
11150 case "$LIBEXT" in
11151 dll) ;;
11152 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'` ;;
11153 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11154 esac
11155 else
11156 echo "$as_me: failed program was:" >&5
11157 sed 's/^/| /' conftest.$ac_ext >&5
11162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11163 conftest$ac_exeext conftest.$ac_ext
11164 LIBS=$ac_check_soname_save_LIBS
11166 if test "x$ac_cv_lib_soname_GL" = "x"; then
11167 { echo "$as_me:$LINENO: result: not found" >&5
11168 echo "${ECHO_T}not found" >&6; }
11169 { echo "$as_me:$LINENO: checking for -lGL" >&5
11170 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11171 if test "${ac_cv_lib_soname_GL+set}" = set; then
11172 echo $ECHO_N "(cached) $ECHO_C" >&6
11173 else
11174 ac_check_soname_save_LIBS=$LIBS
11175 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"
11176 cat >conftest.$ac_ext <<_ACEOF
11177 /* confdefs.h. */
11178 _ACEOF
11179 cat confdefs.h >>conftest.$ac_ext
11180 cat >>conftest.$ac_ext <<_ACEOF
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11186 #ifdef __cplusplus
11187 extern "C"
11188 #endif
11189 char glXCreateContext ();
11191 main ()
11193 return glXCreateContext ();
11195 return 0;
11197 _ACEOF
11198 rm -f conftest.$ac_objext conftest$ac_exeext
11199 if { (ac_try="$ac_link"
11200 case "(($ac_try" in
11201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11202 *) ac_try_echo=$ac_try;;
11203 esac
11204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11205 (eval "$ac_link") 2>conftest.er1
11206 ac_status=$?
11207 grep -v '^ *+' conftest.er1 >conftest.err
11208 rm -f conftest.er1
11209 cat conftest.err >&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); } && {
11212 test -z "$ac_c_werror_flag" ||
11213 test ! -s conftest.err
11214 } && test -s conftest$ac_exeext &&
11215 $as_test_x conftest$ac_exeext; then
11216 case "$LIBEXT" in
11217 dll) ;;
11218 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'` ;;
11219 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11220 esac
11221 else
11222 echo "$as_me: failed program was:" >&5
11223 sed 's/^/| /' conftest.$ac_ext >&5
11228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11229 conftest$ac_exeext conftest.$ac_ext
11230 LIBS=$ac_check_soname_save_LIBS
11232 if test "x$ac_cv_lib_soname_GL" = "x"; then
11233 { echo "$as_me:$LINENO: result: not found" >&5
11234 echo "${ECHO_T}not found" >&6; }
11235 if test -f /usr/X11R6/lib/libGL.a
11236 then
11237 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11238 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11239 else
11240 opengl_msg="No OpenGL library found on this system."
11242 else
11243 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11244 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11246 cat >>confdefs.h <<_ACEOF
11247 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11248 _ACEOF
11250 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"
11251 OPENGLFILES='$(OPENGLFILES)'
11253 cat >>confdefs.h <<\_ACEOF
11254 #define HAVE_OPENGL 1
11255 _ACEOF
11259 else
11260 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11261 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11263 cat >>confdefs.h <<_ACEOF
11264 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11265 _ACEOF
11267 OPENGL_LIBS="-lGL"
11268 OPENGLFILES='$(OPENGLFILES)'
11270 cat >>confdefs.h <<\_ACEOF
11271 #define HAVE_OPENGL 1
11272 _ACEOF
11276 if test "$ac_cv_header_GL_glu_h" = "yes"
11277 then
11278 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11279 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11280 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11281 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 else
11283 ac_check_soname_save_LIBS=$LIBS
11284 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11285 cat >conftest.$ac_ext <<_ACEOF
11286 /* confdefs.h. */
11287 _ACEOF
11288 cat confdefs.h >>conftest.$ac_ext
11289 cat >>conftest.$ac_ext <<_ACEOF
11290 /* end confdefs.h. */
11292 /* Override any GCC internal prototype to avoid an error.
11293 Use char because int might match the return type of a GCC
11294 builtin and then its argument prototype would still apply. */
11295 #ifdef __cplusplus
11296 extern "C"
11297 #endif
11298 char gluLookAt ();
11300 main ()
11302 return gluLookAt ();
11304 return 0;
11306 _ACEOF
11307 rm -f conftest.$ac_objext conftest$ac_exeext
11308 if { (ac_try="$ac_link"
11309 case "(($ac_try" in
11310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11311 *) ac_try_echo=$ac_try;;
11312 esac
11313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11314 (eval "$ac_link") 2>conftest.er1
11315 ac_status=$?
11316 grep -v '^ *+' conftest.er1 >conftest.err
11317 rm -f conftest.er1
11318 cat conftest.err >&5
11319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11320 (exit $ac_status); } && {
11321 test -z "$ac_c_werror_flag" ||
11322 test ! -s conftest.err
11323 } && test -s conftest$ac_exeext &&
11324 $as_test_x conftest$ac_exeext; then
11325 case "$LIBEXT" in
11326 dll) ;;
11327 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'` ;;
11328 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11329 esac
11330 else
11331 echo "$as_me: failed program was:" >&5
11332 sed 's/^/| /' conftest.$ac_ext >&5
11337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11338 conftest$ac_exeext conftest.$ac_ext
11339 LIBS=$ac_check_soname_save_LIBS
11341 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11342 { echo "$as_me:$LINENO: result: not found" >&5
11343 echo "${ECHO_T}not found" >&6; }
11345 else
11346 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11347 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11349 cat >>confdefs.h <<_ACEOF
11350 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11351 _ACEOF
11353 GLU32FILES='$(GLU32FILES)'
11357 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11358 case "x$with_glu" in
11359 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11360 xno) ;;
11361 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11362 This is an error since --with-glu was requested." >&5
11363 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11364 This is an error since --with-glu was requested." >&2;}
11365 { (exit 1); exit 1; }; } ;;
11366 esac
11369 else
11370 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11372 else
11373 opengl_msg="OpenGL development headers not found."
11376 if test -n "$opengl_msg"; then
11377 case "x$with_opengl" in
11378 x) wine_warnings="$wine_warnings|$opengl_msg
11379 OpenGL and Direct3D won't be supported." ;;
11380 xno) ;;
11381 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11382 OpenGL and Direct3D won't be supported.
11383 This is an error since --with-opengl was requested." >&5
11384 echo "$as_me: error: $opengl_msg
11385 OpenGL and Direct3D won't be supported.
11386 This is an error since --with-opengl was requested." >&2;}
11387 { (exit 1); exit 1; }; } ;;
11388 esac
11392 NASLIBS=""
11395 for ac_header in audio/audiolib.h
11397 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11399 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11402 echo $ECHO_N "(cached) $ECHO_C" >&6
11404 ac_res=`eval echo '${'$as_ac_Header'}'`
11405 { echo "$as_me:$LINENO: result: $ac_res" >&5
11406 echo "${ECHO_T}$ac_res" >&6; }
11407 else
11408 # Is the header compilable?
11409 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11411 cat >conftest.$ac_ext <<_ACEOF
11412 /* confdefs.h. */
11413 _ACEOF
11414 cat confdefs.h >>conftest.$ac_ext
11415 cat >>conftest.$ac_ext <<_ACEOF
11416 /* end confdefs.h. */
11417 $ac_includes_default
11418 #include <$ac_header>
11419 _ACEOF
11420 rm -f conftest.$ac_objext
11421 if { (ac_try="$ac_compile"
11422 case "(($ac_try" in
11423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11424 *) ac_try_echo=$ac_try;;
11425 esac
11426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11427 (eval "$ac_compile") 2>conftest.er1
11428 ac_status=$?
11429 grep -v '^ *+' conftest.er1 >conftest.err
11430 rm -f conftest.er1
11431 cat conftest.err >&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); } && {
11434 test -z "$ac_c_werror_flag" ||
11435 test ! -s conftest.err
11436 } && test -s conftest.$ac_objext; then
11437 ac_header_compiler=yes
11438 else
11439 echo "$as_me: failed program was:" >&5
11440 sed 's/^/| /' conftest.$ac_ext >&5
11442 ac_header_compiler=no
11445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11446 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11447 echo "${ECHO_T}$ac_header_compiler" >&6; }
11449 # Is the header present?
11450 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11452 cat >conftest.$ac_ext <<_ACEOF
11453 /* confdefs.h. */
11454 _ACEOF
11455 cat confdefs.h >>conftest.$ac_ext
11456 cat >>conftest.$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11458 #include <$ac_header>
11459 _ACEOF
11460 if { (ac_try="$ac_cpp conftest.$ac_ext"
11461 case "(($ac_try" in
11462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11463 *) ac_try_echo=$ac_try;;
11464 esac
11465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11466 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11467 ac_status=$?
11468 grep -v '^ *+' conftest.er1 >conftest.err
11469 rm -f conftest.er1
11470 cat conftest.err >&5
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); } >/dev/null && {
11473 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11474 test ! -s conftest.err
11475 }; then
11476 ac_header_preproc=yes
11477 else
11478 echo "$as_me: failed program was:" >&5
11479 sed 's/^/| /' conftest.$ac_ext >&5
11481 ac_header_preproc=no
11484 rm -f conftest.err conftest.$ac_ext
11485 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11486 echo "${ECHO_T}$ac_header_preproc" >&6; }
11488 # So? What about this header?
11489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11490 yes:no: )
11491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11495 ac_header_preproc=yes
11497 no:yes:* )
11498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11510 ( cat <<\_ASBOX
11511 ## ------------------------------------ ##
11512 ## Report this to wine-devel@winehq.org ##
11513 ## ------------------------------------ ##
11514 _ASBOX
11515 ) | sed "s/^/$as_me: WARNING: /" >&2
11517 esac
11518 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11520 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11522 else
11523 eval "$as_ac_Header=\$ac_header_preproc"
11525 ac_res=`eval echo '${'$as_ac_Header'}'`
11526 { echo "$as_me:$LINENO: result: $ac_res" >&5
11527 echo "${ECHO_T}$ac_res" >&6; }
11530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11531 cat >>confdefs.h <<_ACEOF
11532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11533 _ACEOF
11535 for ac_header in audio/soundlib.h
11537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11542 else
11543 cat >conftest.$ac_ext <<_ACEOF
11544 /* confdefs.h. */
11545 _ACEOF
11546 cat confdefs.h >>conftest.$ac_ext
11547 cat >>conftest.$ac_ext <<_ACEOF
11548 /* end confdefs.h. */
11549 #include <audio/audiolib.h>
11551 #include <$ac_header>
11552 _ACEOF
11553 rm -f conftest.$ac_objext
11554 if { (ac_try="$ac_compile"
11555 case "(($ac_try" in
11556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11557 *) ac_try_echo=$ac_try;;
11558 esac
11559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11560 (eval "$ac_compile") 2>conftest.er1
11561 ac_status=$?
11562 grep -v '^ *+' conftest.er1 >conftest.err
11563 rm -f conftest.er1
11564 cat conftest.err >&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } && {
11567 test -z "$ac_c_werror_flag" ||
11568 test ! -s conftest.err
11569 } && test -s conftest.$ac_objext; then
11570 eval "$as_ac_Header=yes"
11571 else
11572 echo "$as_me: failed program was:" >&5
11573 sed 's/^/| /' conftest.$ac_ext >&5
11575 eval "$as_ac_Header=no"
11578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11580 ac_res=`eval echo '${'$as_ac_Header'}'`
11581 { echo "$as_me:$LINENO: result: $ac_res" >&5
11582 echo "${ECHO_T}$ac_res" >&6; }
11583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11584 cat >>confdefs.h <<_ACEOF
11585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11586 _ACEOF
11590 done
11592 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11593 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11594 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11595 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 else
11597 ac_check_lib_save_LIBS=$LIBS
11598 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11599 cat >conftest.$ac_ext <<_ACEOF
11600 /* confdefs.h. */
11601 _ACEOF
11602 cat confdefs.h >>conftest.$ac_ext
11603 cat >>conftest.$ac_ext <<_ACEOF
11604 /* end confdefs.h. */
11606 /* Override any GCC internal prototype to avoid an error.
11607 Use char because int might match the return type of a GCC
11608 builtin and then its argument prototype would still apply. */
11609 #ifdef __cplusplus
11610 extern "C"
11611 #endif
11612 char AuCreateFlow ();
11614 main ()
11616 return AuCreateFlow ();
11618 return 0;
11620 _ACEOF
11621 rm -f conftest.$ac_objext conftest$ac_exeext
11622 if { (ac_try="$ac_link"
11623 case "(($ac_try" in
11624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11625 *) ac_try_echo=$ac_try;;
11626 esac
11627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11628 (eval "$ac_link") 2>conftest.er1
11629 ac_status=$?
11630 grep -v '^ *+' conftest.er1 >conftest.err
11631 rm -f conftest.er1
11632 cat conftest.err >&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); } && {
11635 test -z "$ac_c_werror_flag" ||
11636 test ! -s conftest.err
11637 } && test -s conftest$ac_exeext &&
11638 $as_test_x conftest$ac_exeext; then
11639 ac_cv_lib_audio_AuCreateFlow=yes
11640 else
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.$ac_ext >&5
11644 ac_cv_lib_audio_AuCreateFlow=no
11647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11648 conftest$ac_exeext conftest.$ac_ext
11649 LIBS=$ac_check_lib_save_LIBS
11651 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11652 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11653 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11655 cat >>confdefs.h <<\_ACEOF
11656 #define HAVE_NAS 1
11657 _ACEOF
11659 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11660 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11661 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11663 else
11664 ac_check_lib_save_LIBS=$LIBS
11665 LIBS="-lXau $X_LIBS $LIBS"
11666 cat >conftest.$ac_ext <<_ACEOF
11667 /* confdefs.h. */
11668 _ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11676 #ifdef __cplusplus
11677 extern "C"
11678 #endif
11679 char XauGetBestAuthByAddr ();
11681 main ()
11683 return XauGetBestAuthByAddr ();
11685 return 0;
11687 _ACEOF
11688 rm -f conftest.$ac_objext conftest$ac_exeext
11689 if { (ac_try="$ac_link"
11690 case "(($ac_try" in
11691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11692 *) ac_try_echo=$ac_try;;
11693 esac
11694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11695 (eval "$ac_link") 2>conftest.er1
11696 ac_status=$?
11697 grep -v '^ *+' conftest.er1 >conftest.err
11698 rm -f conftest.er1
11699 cat conftest.err >&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); } && {
11702 test -z "$ac_c_werror_flag" ||
11703 test ! -s conftest.err
11704 } && test -s conftest$ac_exeext &&
11705 $as_test_x conftest$ac_exeext; then
11706 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11707 else
11708 echo "$as_me: failed program was:" >&5
11709 sed 's/^/| /' conftest.$ac_ext >&5
11711 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11715 conftest$ac_exeext conftest.$ac_ext
11716 LIBS=$ac_check_lib_save_LIBS
11718 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11719 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11720 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11721 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11722 else
11723 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11731 done
11734 CPPFLAGS="$ac_save_CPPFLAGS"
11735 XFILES='$(XFILES)'
11736 else
11737 XLIB=""
11738 X_CFLAGS=""
11739 X_LIBS=""
11741 if test "x$XLIB" = "x"; then
11742 case "x$with_x" in
11743 xno) ;;
11744 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11745 without X support, which probably isn't what you want. You will need to install
11746 development packages of Xlib/Xfree86 at the very least.
11747 Use the --without-x option if you really want this." >&5
11748 echo "$as_me: error: X development files not found. Wine will be built
11749 without X support, which probably isn't what you want. You will need to install
11750 development packages of Xlib/Xfree86 at the very least.
11751 Use the --without-x option if you really want this." >&2;}
11752 { (exit 1); exit 1; }; } ;;
11753 esac
11758 XML2LIBS=""
11760 XML2INCL=""
11762 XSLTLIBS=""
11764 XSLTINCL=""
11766 if test "x$with_xml" != "xno"
11767 then
11768 ac_save_CPPFLAGS="$CPPFLAGS"
11769 if test "$PKG_CONFIG" != "false"
11770 then
11771 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11772 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11773 else
11774 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11775 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11777 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11779 for ac_header in libxml/parser.h
11781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 ac_res=`eval echo '${'$as_ac_Header'}'`
11789 { echo "$as_me:$LINENO: result: $ac_res" >&5
11790 echo "${ECHO_T}$ac_res" >&6; }
11791 else
11792 # Is the header compilable?
11793 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11795 cat >conftest.$ac_ext <<_ACEOF
11796 /* confdefs.h. */
11797 _ACEOF
11798 cat confdefs.h >>conftest.$ac_ext
11799 cat >>conftest.$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11801 $ac_includes_default
11802 #include <$ac_header>
11803 _ACEOF
11804 rm -f conftest.$ac_objext
11805 if { (ac_try="$ac_compile"
11806 case "(($ac_try" in
11807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11808 *) ac_try_echo=$ac_try;;
11809 esac
11810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11811 (eval "$ac_compile") 2>conftest.er1
11812 ac_status=$?
11813 grep -v '^ *+' conftest.er1 >conftest.err
11814 rm -f conftest.er1
11815 cat conftest.err >&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); } && {
11818 test -z "$ac_c_werror_flag" ||
11819 test ! -s conftest.err
11820 } && test -s conftest.$ac_objext; then
11821 ac_header_compiler=yes
11822 else
11823 echo "$as_me: failed program was:" >&5
11824 sed 's/^/| /' conftest.$ac_ext >&5
11826 ac_header_compiler=no
11829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11830 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11831 echo "${ECHO_T}$ac_header_compiler" >&6; }
11833 # Is the header present?
11834 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11836 cat >conftest.$ac_ext <<_ACEOF
11837 /* confdefs.h. */
11838 _ACEOF
11839 cat confdefs.h >>conftest.$ac_ext
11840 cat >>conftest.$ac_ext <<_ACEOF
11841 /* end confdefs.h. */
11842 #include <$ac_header>
11843 _ACEOF
11844 if { (ac_try="$ac_cpp conftest.$ac_ext"
11845 case "(($ac_try" in
11846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11847 *) ac_try_echo=$ac_try;;
11848 esac
11849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11851 ac_status=$?
11852 grep -v '^ *+' conftest.er1 >conftest.err
11853 rm -f conftest.er1
11854 cat conftest.err >&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } >/dev/null && {
11857 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11858 test ! -s conftest.err
11859 }; then
11860 ac_header_preproc=yes
11861 else
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.$ac_ext >&5
11865 ac_header_preproc=no
11868 rm -f conftest.err conftest.$ac_ext
11869 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11870 echo "${ECHO_T}$ac_header_preproc" >&6; }
11872 # So? What about this header?
11873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11874 yes:no: )
11875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11879 ac_header_preproc=yes
11881 no:yes:* )
11882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11894 ( cat <<\_ASBOX
11895 ## ------------------------------------ ##
11896 ## Report this to wine-devel@winehq.org ##
11897 ## ------------------------------------ ##
11898 _ASBOX
11899 ) | sed "s/^/$as_me: WARNING: /" >&2
11901 esac
11902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11905 echo $ECHO_N "(cached) $ECHO_C" >&6
11906 else
11907 eval "$as_ac_Header=\$ac_header_preproc"
11909 ac_res=`eval echo '${'$as_ac_Header'}'`
11910 { echo "$as_me:$LINENO: result: $ac_res" >&5
11911 echo "${ECHO_T}$ac_res" >&6; }
11914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11915 cat >>confdefs.h <<_ACEOF
11916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11917 _ACEOF
11918 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11919 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11920 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11922 else
11923 ac_check_lib_save_LIBS=$LIBS
11924 LIBS="-lxml2 $ac_xml_libs $LIBS"
11925 cat >conftest.$ac_ext <<_ACEOF
11926 /* confdefs.h. */
11927 _ACEOF
11928 cat confdefs.h >>conftest.$ac_ext
11929 cat >>conftest.$ac_ext <<_ACEOF
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char xmlParseMemory ();
11940 main ()
11942 return xmlParseMemory ();
11944 return 0;
11946 _ACEOF
11947 rm -f conftest.$ac_objext conftest$ac_exeext
11948 if { (ac_try="$ac_link"
11949 case "(($ac_try" in
11950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11951 *) ac_try_echo=$ac_try;;
11952 esac
11953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11954 (eval "$ac_link") 2>conftest.er1
11955 ac_status=$?
11956 grep -v '^ *+' conftest.er1 >conftest.err
11957 rm -f conftest.er1
11958 cat conftest.err >&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } && {
11961 test -z "$ac_c_werror_flag" ||
11962 test ! -s conftest.err
11963 } && test -s conftest$ac_exeext &&
11964 $as_test_x conftest$ac_exeext; then
11965 ac_cv_lib_xml2_xmlParseMemory=yes
11966 else
11967 echo "$as_me: failed program was:" >&5
11968 sed 's/^/| /' conftest.$ac_ext >&5
11970 ac_cv_lib_xml2_xmlParseMemory=no
11973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11974 conftest$ac_exeext conftest.$ac_ext
11975 LIBS=$ac_check_lib_save_LIBS
11977 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11978 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11979 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11981 cat >>confdefs.h <<\_ACEOF
11982 #define HAVE_LIBXML2 1
11983 _ACEOF
11985 XML2LIBS="$ac_xml_libs"
11986 XML2INCL="$ac_xml_cflags"
11989 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11990 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11991 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11992 echo $ECHO_N "(cached) $ECHO_C" >&6
11993 else
11994 ac_check_lib_save_LIBS=$LIBS
11995 LIBS="-lxml2 $ac_xml_libs $LIBS"
11996 cat >conftest.$ac_ext <<_ACEOF
11997 /* confdefs.h. */
11998 _ACEOF
11999 cat confdefs.h >>conftest.$ac_ext
12000 cat >>conftest.$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12006 #ifdef __cplusplus
12007 extern "C"
12008 #endif
12009 char xmlReadMemory ();
12011 main ()
12013 return xmlReadMemory ();
12015 return 0;
12017 _ACEOF
12018 rm -f conftest.$ac_objext conftest$ac_exeext
12019 if { (ac_try="$ac_link"
12020 case "(($ac_try" in
12021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12022 *) ac_try_echo=$ac_try;;
12023 esac
12024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12025 (eval "$ac_link") 2>conftest.er1
12026 ac_status=$?
12027 grep -v '^ *+' conftest.er1 >conftest.err
12028 rm -f conftest.er1
12029 cat conftest.err >&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); } && {
12032 test -z "$ac_c_werror_flag" ||
12033 test ! -s conftest.err
12034 } && test -s conftest$ac_exeext &&
12035 $as_test_x conftest$ac_exeext; then
12036 ac_cv_lib_xml2_xmlReadMemory=yes
12037 else
12038 echo "$as_me: failed program was:" >&5
12039 sed 's/^/| /' conftest.$ac_ext >&5
12041 ac_cv_lib_xml2_xmlReadMemory=no
12044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12045 conftest$ac_exeext conftest.$ac_ext
12046 LIBS=$ac_check_lib_save_LIBS
12048 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12049 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12050 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12052 cat >>confdefs.h <<\_ACEOF
12053 #define HAVE_XMLREADMEMORY 1
12054 _ACEOF
12058 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12059 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12060 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12061 echo $ECHO_N "(cached) $ECHO_C" >&6
12062 else
12063 ac_check_lib_save_LIBS=$LIBS
12064 LIBS="-lxml2 $ac_xml_libs $LIBS"
12065 cat >conftest.$ac_ext <<_ACEOF
12066 /* confdefs.h. */
12067 _ACEOF
12068 cat confdefs.h >>conftest.$ac_ext
12069 cat >>conftest.$ac_ext <<_ACEOF
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char xmlNewDocPI ();
12080 main ()
12082 return xmlNewDocPI ();
12084 return 0;
12086 _ACEOF
12087 rm -f conftest.$ac_objext conftest$ac_exeext
12088 if { (ac_try="$ac_link"
12089 case "(($ac_try" in
12090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12091 *) ac_try_echo=$ac_try;;
12092 esac
12093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12094 (eval "$ac_link") 2>conftest.er1
12095 ac_status=$?
12096 grep -v '^ *+' conftest.er1 >conftest.err
12097 rm -f conftest.er1
12098 cat conftest.err >&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); } && {
12101 test -z "$ac_c_werror_flag" ||
12102 test ! -s conftest.err
12103 } && test -s conftest$ac_exeext &&
12104 $as_test_x conftest$ac_exeext; then
12105 ac_cv_lib_xml2_xmlNewDocPI=yes
12106 else
12107 echo "$as_me: failed program was:" >&5
12108 sed 's/^/| /' conftest.$ac_ext >&5
12110 ac_cv_lib_xml2_xmlNewDocPI=no
12113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_lib_save_LIBS
12117 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12118 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12119 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12121 cat >>confdefs.h <<\_ACEOF
12122 #define HAVE_XMLNEWDOCPI 1
12123 _ACEOF
12130 done
12132 CPPFLAGS="$ac_save_CPPFLAGS"
12134 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12135 case "x$with_xml" in
12136 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12137 xno) ;;
12138 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12139 This is an error since --with-xml was requested." >&5
12140 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12141 This is an error since --with-xml was requested." >&2;}
12142 { (exit 1); exit 1; }; } ;;
12143 esac
12147 if test "x$with_xslt" != "xno"
12148 then
12149 if test "$PKG_CONFIG" != "false"
12150 then
12151 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12152 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12153 else
12154 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12155 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12157 ac_save_CPPFLAGS="$CPPFLAGS"
12158 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
12161 for ac_header in libxslt/pattern.h libxslt/transform.h
12163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12168 else
12169 cat >conftest.$ac_ext <<_ACEOF
12170 /* confdefs.h. */
12171 _ACEOF
12172 cat confdefs.h >>conftest.$ac_ext
12173 cat >>conftest.$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 #ifdef HAVE_LIBXSLT_PATTERN_H
12176 # include <libxslt/pattern.h>
12177 #endif
12179 #include <$ac_header>
12180 _ACEOF
12181 rm -f conftest.$ac_objext
12182 if { (ac_try="$ac_compile"
12183 case "(($ac_try" in
12184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12185 *) ac_try_echo=$ac_try;;
12186 esac
12187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12188 (eval "$ac_compile") 2>conftest.er1
12189 ac_status=$?
12190 grep -v '^ *+' conftest.er1 >conftest.err
12191 rm -f conftest.er1
12192 cat conftest.err >&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } && {
12195 test -z "$ac_c_werror_flag" ||
12196 test ! -s conftest.err
12197 } && test -s conftest.$ac_objext; then
12198 eval "$as_ac_Header=yes"
12199 else
12200 echo "$as_me: failed program was:" >&5
12201 sed 's/^/| /' conftest.$ac_ext >&5
12203 eval "$as_ac_Header=no"
12206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12208 ac_res=`eval echo '${'$as_ac_Header'}'`
12209 { echo "$as_me:$LINENO: result: $ac_res" >&5
12210 echo "${ECHO_T}$ac_res" >&6; }
12211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12212 cat >>confdefs.h <<_ACEOF
12213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12214 _ACEOF
12218 done
12220 CPPFLAGS="$ac_save_CPPFLAGS"
12221 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12222 then
12223 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12224 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12225 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 else
12228 ac_check_lib_save_LIBS=$LIBS
12229 LIBS="-lxslt $ac_xslt_libs $LIBS"
12230 cat >conftest.$ac_ext <<_ACEOF
12231 /* confdefs.h. */
12232 _ACEOF
12233 cat confdefs.h >>conftest.$ac_ext
12234 cat >>conftest.$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12237 /* Override any GCC internal prototype to avoid an error.
12238 Use char because int might match the return type of a GCC
12239 builtin and then its argument prototype would still apply. */
12240 #ifdef __cplusplus
12241 extern "C"
12242 #endif
12243 char xsltCompilePattern ();
12245 main ()
12247 return xsltCompilePattern ();
12249 return 0;
12251 _ACEOF
12252 rm -f conftest.$ac_objext conftest$ac_exeext
12253 if { (ac_try="$ac_link"
12254 case "(($ac_try" in
12255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12256 *) ac_try_echo=$ac_try;;
12257 esac
12258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12259 (eval "$ac_link") 2>conftest.er1
12260 ac_status=$?
12261 grep -v '^ *+' conftest.er1 >conftest.err
12262 rm -f conftest.er1
12263 cat conftest.err >&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } && {
12266 test -z "$ac_c_werror_flag" ||
12267 test ! -s conftest.err
12268 } && test -s conftest$ac_exeext &&
12269 $as_test_x conftest$ac_exeext; then
12270 ac_cv_lib_xslt_xsltCompilePattern=yes
12271 else
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12275 ac_cv_lib_xslt_xsltCompilePattern=no
12278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_lib_save_LIBS
12282 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12283 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12284 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12286 cat >>confdefs.h <<\_ACEOF
12287 #define HAVE_LIBXSLT 1
12288 _ACEOF
12290 XSLTLIBS="$ac_xslt_libs"
12291 XSLTINCL="$ac_xslt_cflags"
12292 ac_save_LIBS="$LIBS"
12293 LIBS="$LIBS $ac_xslt_libs"
12295 for ac_func in xsltInit
12297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12301 echo $ECHO_N "(cached) $ECHO_C" >&6
12302 else
12303 cat >conftest.$ac_ext <<_ACEOF
12304 /* confdefs.h. */
12305 _ACEOF
12306 cat confdefs.h >>conftest.$ac_ext
12307 cat >>conftest.$ac_ext <<_ACEOF
12308 /* end confdefs.h. */
12309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12311 #define $ac_func innocuous_$ac_func
12313 /* System header to define __stub macros and hopefully few prototypes,
12314 which can conflict with char $ac_func (); below.
12315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12316 <limits.h> exists even on freestanding compilers. */
12318 #ifdef __STDC__
12319 # include <limits.h>
12320 #else
12321 # include <assert.h>
12322 #endif
12324 #undef $ac_func
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12329 #ifdef __cplusplus
12330 extern "C"
12331 #endif
12332 char $ac_func ();
12333 /* The GNU C library defines this for functions which it implements
12334 to always fail with ENOSYS. Some functions are actually named
12335 something starting with __ and the normal name is an alias. */
12336 #if defined __stub_$ac_func || defined __stub___$ac_func
12337 choke me
12338 #endif
12341 main ()
12343 return $ac_func ();
12345 return 0;
12347 _ACEOF
12348 rm -f conftest.$ac_objext conftest$ac_exeext
12349 if { (ac_try="$ac_link"
12350 case "(($ac_try" in
12351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12352 *) ac_try_echo=$ac_try;;
12353 esac
12354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12355 (eval "$ac_link") 2>conftest.er1
12356 ac_status=$?
12357 grep -v '^ *+' conftest.er1 >conftest.err
12358 rm -f conftest.er1
12359 cat conftest.err >&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } && {
12362 test -z "$ac_c_werror_flag" ||
12363 test ! -s conftest.err
12364 } && test -s conftest$ac_exeext &&
12365 $as_test_x conftest$ac_exeext; then
12366 eval "$as_ac_var=yes"
12367 else
12368 echo "$as_me: failed program was:" >&5
12369 sed 's/^/| /' conftest.$ac_ext >&5
12371 eval "$as_ac_var=no"
12374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12375 conftest$ac_exeext conftest.$ac_ext
12377 ac_res=`eval echo '${'$as_ac_var'}'`
12378 { echo "$as_me:$LINENO: result: $ac_res" >&5
12379 echo "${ECHO_T}$ac_res" >&6; }
12380 if test `eval echo '${'$as_ac_var'}'` = yes; then
12381 cat >>confdefs.h <<_ACEOF
12382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12383 _ACEOF
12386 done
12388 LIBS="$ac_save_LIBS"
12393 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12394 case "x$with_xslt" in
12395 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12396 xno) ;;
12397 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12398 This is an error since --with-xslt was requested." >&5
12399 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12400 This is an error since --with-xslt was requested." >&2;}
12401 { (exit 1); exit 1; }; } ;;
12402 esac
12406 HALINCL=""
12408 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12409 then
12410 ac_save_CPPFLAGS="$CPPFLAGS"
12411 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12412 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12413 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12416 for ac_header in dbus/dbus.h hal/libhal.h
12418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12423 echo $ECHO_N "(cached) $ECHO_C" >&6
12425 ac_res=`eval echo '${'$as_ac_Header'}'`
12426 { echo "$as_me:$LINENO: result: $ac_res" >&5
12427 echo "${ECHO_T}$ac_res" >&6; }
12428 else
12429 # Is the header compilable?
12430 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12431 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12432 cat >conftest.$ac_ext <<_ACEOF
12433 /* confdefs.h. */
12434 _ACEOF
12435 cat confdefs.h >>conftest.$ac_ext
12436 cat >>conftest.$ac_ext <<_ACEOF
12437 /* end confdefs.h. */
12438 $ac_includes_default
12439 #include <$ac_header>
12440 _ACEOF
12441 rm -f conftest.$ac_objext
12442 if { (ac_try="$ac_compile"
12443 case "(($ac_try" in
12444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12445 *) ac_try_echo=$ac_try;;
12446 esac
12447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12448 (eval "$ac_compile") 2>conftest.er1
12449 ac_status=$?
12450 grep -v '^ *+' conftest.er1 >conftest.err
12451 rm -f conftest.er1
12452 cat conftest.err >&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); } && {
12455 test -z "$ac_c_werror_flag" ||
12456 test ! -s conftest.err
12457 } && test -s conftest.$ac_objext; then
12458 ac_header_compiler=yes
12459 else
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.$ac_ext >&5
12463 ac_header_compiler=no
12466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12467 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12468 echo "${ECHO_T}$ac_header_compiler" >&6; }
12470 # Is the header present?
12471 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12473 cat >conftest.$ac_ext <<_ACEOF
12474 /* confdefs.h. */
12475 _ACEOF
12476 cat confdefs.h >>conftest.$ac_ext
12477 cat >>conftest.$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12479 #include <$ac_header>
12480 _ACEOF
12481 if { (ac_try="$ac_cpp conftest.$ac_ext"
12482 case "(($ac_try" in
12483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12484 *) ac_try_echo=$ac_try;;
12485 esac
12486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12488 ac_status=$?
12489 grep -v '^ *+' conftest.er1 >conftest.err
12490 rm -f conftest.er1
12491 cat conftest.err >&5
12492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12493 (exit $ac_status); } >/dev/null && {
12494 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12495 test ! -s conftest.err
12496 }; then
12497 ac_header_preproc=yes
12498 else
12499 echo "$as_me: failed program was:" >&5
12500 sed 's/^/| /' conftest.$ac_ext >&5
12502 ac_header_preproc=no
12505 rm -f conftest.err conftest.$ac_ext
12506 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12507 echo "${ECHO_T}$ac_header_preproc" >&6; }
12509 # So? What about this header?
12510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12511 yes:no: )
12512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12516 ac_header_preproc=yes
12518 no:yes:* )
12519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12531 ( cat <<\_ASBOX
12532 ## ------------------------------------ ##
12533 ## Report this to wine-devel@winehq.org ##
12534 ## ------------------------------------ ##
12535 _ASBOX
12536 ) | sed "s/^/$as_me: WARNING: /" >&2
12538 esac
12539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 else
12544 eval "$as_ac_Header=\$ac_header_preproc"
12546 ac_res=`eval echo '${'$as_ac_Header'}'`
12547 { echo "$as_me:$LINENO: result: $ac_res" >&5
12548 echo "${ECHO_T}$ac_res" >&6; }
12551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12552 cat >>confdefs.h <<_ACEOF
12553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12554 _ACEOF
12558 done
12560 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12561 then
12562 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12563 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12564 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12566 else
12567 ac_check_lib_save_LIBS=$LIBS
12568 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12569 cat >conftest.$ac_ext <<_ACEOF
12570 /* confdefs.h. */
12571 _ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12576 /* Override any GCC internal prototype to avoid an error.
12577 Use char because int might match the return type of a GCC
12578 builtin and then its argument prototype would still apply. */
12579 #ifdef __cplusplus
12580 extern "C"
12581 #endif
12582 char dbus_connection_close ();
12584 main ()
12586 return dbus_connection_close ();
12588 return 0;
12590 _ACEOF
12591 rm -f conftest.$ac_objext conftest$ac_exeext
12592 if { (ac_try="$ac_link"
12593 case "(($ac_try" in
12594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12595 *) ac_try_echo=$ac_try;;
12596 esac
12597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12598 (eval "$ac_link") 2>conftest.er1
12599 ac_status=$?
12600 grep -v '^ *+' conftest.er1 >conftest.err
12601 rm -f conftest.er1
12602 cat conftest.err >&5
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); } && {
12605 test -z "$ac_c_werror_flag" ||
12606 test ! -s conftest.err
12607 } && test -s conftest$ac_exeext &&
12608 $as_test_x conftest$ac_exeext; then
12609 ac_cv_lib_dbus_1_dbus_connection_close=yes
12610 else
12611 echo "$as_me: failed program was:" >&5
12612 sed 's/^/| /' conftest.$ac_ext >&5
12614 ac_cv_lib_dbus_1_dbus_connection_close=no
12617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12618 conftest$ac_exeext conftest.$ac_ext
12619 LIBS=$ac_check_lib_save_LIBS
12621 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12622 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12623 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12624 { echo "$as_me:$LINENO: checking for -lhal" >&5
12625 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12626 if test "${ac_cv_lib_soname_hal+set}" = set; then
12627 echo $ECHO_N "(cached) $ECHO_C" >&6
12628 else
12629 ac_check_soname_save_LIBS=$LIBS
12630 LIBS="-lhal $ac_hal_libs $LIBS"
12631 cat >conftest.$ac_ext <<_ACEOF
12632 /* confdefs.h. */
12633 _ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12638 /* Override any GCC internal prototype to avoid an error.
12639 Use char because int might match the return type of a GCC
12640 builtin and then its argument prototype would still apply. */
12641 #ifdef __cplusplus
12642 extern "C"
12643 #endif
12644 char libhal_ctx_new ();
12646 main ()
12648 return libhal_ctx_new ();
12650 return 0;
12652 _ACEOF
12653 rm -f conftest.$ac_objext conftest$ac_exeext
12654 if { (ac_try="$ac_link"
12655 case "(($ac_try" in
12656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12657 *) ac_try_echo=$ac_try;;
12658 esac
12659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12660 (eval "$ac_link") 2>conftest.er1
12661 ac_status=$?
12662 grep -v '^ *+' conftest.er1 >conftest.err
12663 rm -f conftest.er1
12664 cat conftest.err >&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } && {
12667 test -z "$ac_c_werror_flag" ||
12668 test ! -s conftest.err
12669 } && test -s conftest$ac_exeext &&
12670 $as_test_x conftest$ac_exeext; then
12671 case "$LIBEXT" in
12672 dll) ;;
12673 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'` ;;
12674 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12675 esac
12676 else
12677 echo "$as_me: failed program was:" >&5
12678 sed 's/^/| /' conftest.$ac_ext >&5
12683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12684 conftest$ac_exeext conftest.$ac_ext
12685 LIBS=$ac_check_soname_save_LIBS
12687 if test "x$ac_cv_lib_soname_hal" = "x"; then
12688 { echo "$as_me:$LINENO: result: not found" >&5
12689 echo "${ECHO_T}not found" >&6; }
12691 else
12692 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12693 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12695 cat >>confdefs.h <<_ACEOF
12696 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12697 _ACEOF
12699 HALINCL="$ac_hal_cflags"
12705 CPPFLAGS="$ac_save_CPPFLAGS"
12707 if test "x$ac_cv_lib_soname_hal" = "x"; then
12708 case "x$with_hal" in
12709 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12710 xno) ;;
12711 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12712 This is an error since --with-hal was requested." >&5
12713 echo "$as_me: error: libhal development files not found, no dynamic device support.
12714 This is an error since --with-hal was requested." >&2;}
12715 { (exit 1); exit 1; }; } ;;
12716 esac
12720 CURSESLIBS=""
12721 if test "$ac_cv_header_ncurses_h" = "yes"
12722 then
12723 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12724 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12725 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 else
12728 ac_check_soname_save_LIBS=$LIBS
12729 LIBS="-lncurses $LIBS"
12730 cat >conftest.$ac_ext <<_ACEOF
12731 /* confdefs.h. */
12732 _ACEOF
12733 cat confdefs.h >>conftest.$ac_ext
12734 cat >>conftest.$ac_ext <<_ACEOF
12735 /* end confdefs.h. */
12737 /* Override any GCC internal prototype to avoid an error.
12738 Use char because int might match the return type of a GCC
12739 builtin and then its argument prototype would still apply. */
12740 #ifdef __cplusplus
12741 extern "C"
12742 #endif
12743 char waddch ();
12745 main ()
12747 return waddch ();
12749 return 0;
12751 _ACEOF
12752 rm -f conftest.$ac_objext conftest$ac_exeext
12753 if { (ac_try="$ac_link"
12754 case "(($ac_try" in
12755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12756 *) ac_try_echo=$ac_try;;
12757 esac
12758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12759 (eval "$ac_link") 2>conftest.er1
12760 ac_status=$?
12761 grep -v '^ *+' conftest.er1 >conftest.err
12762 rm -f conftest.er1
12763 cat conftest.err >&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); } && {
12766 test -z "$ac_c_werror_flag" ||
12767 test ! -s conftest.err
12768 } && test -s conftest$ac_exeext &&
12769 $as_test_x conftest$ac_exeext; then
12770 case "$LIBEXT" in
12771 dll) ;;
12772 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'` ;;
12773 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12774 esac
12775 else
12776 echo "$as_me: failed program was:" >&5
12777 sed 's/^/| /' conftest.$ac_ext >&5
12782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12783 conftest$ac_exeext conftest.$ac_ext
12784 LIBS=$ac_check_soname_save_LIBS
12786 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12787 { echo "$as_me:$LINENO: result: not found" >&5
12788 echo "${ECHO_T}not found" >&6; }
12790 else
12791 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12792 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12794 cat >>confdefs.h <<_ACEOF
12795 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12796 _ACEOF
12798 CURSESLIBS="-lncurses"
12801 elif test "$ac_cv_header_curses_h" = "yes"
12802 then
12803 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12804 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12805 if test "${ac_cv_lib_soname_curses+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12807 else
12808 ac_check_soname_save_LIBS=$LIBS
12809 LIBS="-lcurses $LIBS"
12810 cat >conftest.$ac_ext <<_ACEOF
12811 /* confdefs.h. */
12812 _ACEOF
12813 cat confdefs.h >>conftest.$ac_ext
12814 cat >>conftest.$ac_ext <<_ACEOF
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12820 #ifdef __cplusplus
12821 extern "C"
12822 #endif
12823 char waddch ();
12825 main ()
12827 return waddch ();
12829 return 0;
12831 _ACEOF
12832 rm -f conftest.$ac_objext conftest$ac_exeext
12833 if { (ac_try="$ac_link"
12834 case "(($ac_try" in
12835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12836 *) ac_try_echo=$ac_try;;
12837 esac
12838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12839 (eval "$ac_link") 2>conftest.er1
12840 ac_status=$?
12841 grep -v '^ *+' conftest.er1 >conftest.err
12842 rm -f conftest.er1
12843 cat conftest.err >&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); } && {
12846 test -z "$ac_c_werror_flag" ||
12847 test ! -s conftest.err
12848 } && test -s conftest$ac_exeext &&
12849 $as_test_x conftest$ac_exeext; then
12850 case "$LIBEXT" in
12851 dll) ;;
12852 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'` ;;
12853 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12854 esac
12855 else
12856 echo "$as_me: failed program was:" >&5
12857 sed 's/^/| /' conftest.$ac_ext >&5
12862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12863 conftest$ac_exeext conftest.$ac_ext
12864 LIBS=$ac_check_soname_save_LIBS
12866 if test "x$ac_cv_lib_soname_curses" = "x"; then
12867 { echo "$as_me:$LINENO: result: not found" >&5
12868 echo "${ECHO_T}not found" >&6; }
12870 else
12871 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12872 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12874 cat >>confdefs.h <<_ACEOF
12875 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12876 _ACEOF
12878 CURSESLIBS="-lcurses"
12882 ac_save_LIBS="$LIBS"
12883 LIBS="$LIBS $CURSESLIBS"
12885 for ac_func in mousemask
12887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12888 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12890 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12892 else
12893 cat >conftest.$ac_ext <<_ACEOF
12894 /* confdefs.h. */
12895 _ACEOF
12896 cat confdefs.h >>conftest.$ac_ext
12897 cat >>conftest.$ac_ext <<_ACEOF
12898 /* end confdefs.h. */
12899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12901 #define $ac_func innocuous_$ac_func
12903 /* System header to define __stub macros and hopefully few prototypes,
12904 which can conflict with char $ac_func (); below.
12905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12906 <limits.h> exists even on freestanding compilers. */
12908 #ifdef __STDC__
12909 # include <limits.h>
12910 #else
12911 # include <assert.h>
12912 #endif
12914 #undef $ac_func
12916 /* Override any GCC internal prototype to avoid an error.
12917 Use char because int might match the return type of a GCC
12918 builtin and then its argument prototype would still apply. */
12919 #ifdef __cplusplus
12920 extern "C"
12921 #endif
12922 char $ac_func ();
12923 /* The GNU C library defines this for functions which it implements
12924 to always fail with ENOSYS. Some functions are actually named
12925 something starting with __ and the normal name is an alias. */
12926 #if defined __stub_$ac_func || defined __stub___$ac_func
12927 choke me
12928 #endif
12931 main ()
12933 return $ac_func ();
12935 return 0;
12937 _ACEOF
12938 rm -f conftest.$ac_objext conftest$ac_exeext
12939 if { (ac_try="$ac_link"
12940 case "(($ac_try" in
12941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12942 *) ac_try_echo=$ac_try;;
12943 esac
12944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12945 (eval "$ac_link") 2>conftest.er1
12946 ac_status=$?
12947 grep -v '^ *+' conftest.er1 >conftest.err
12948 rm -f conftest.er1
12949 cat conftest.err >&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); } && {
12952 test -z "$ac_c_werror_flag" ||
12953 test ! -s conftest.err
12954 } && test -s conftest$ac_exeext &&
12955 $as_test_x conftest$ac_exeext; then
12956 eval "$as_ac_var=yes"
12957 else
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.$ac_ext >&5
12961 eval "$as_ac_var=no"
12964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12965 conftest$ac_exeext conftest.$ac_ext
12967 ac_res=`eval echo '${'$as_ac_var'}'`
12968 { echo "$as_me:$LINENO: result: $ac_res" >&5
12969 echo "${ECHO_T}$ac_res" >&6; }
12970 if test `eval echo '${'$as_ac_var'}'` = yes; then
12971 cat >>confdefs.h <<_ACEOF
12972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12973 _ACEOF
12976 done
12978 LIBS="$ac_save_LIBS"
12979 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12980 case "x$with_curses" in
12981 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12982 xno) ;;
12983 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12984 This is an error since --with-curses was requested." >&5
12985 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12986 This is an error since --with-curses was requested." >&2;}
12987 { (exit 1); exit 1; }; } ;;
12988 esac
12992 # Extract the first word of "sane-config", so it can be a program name with args.
12993 set dummy sane-config; ac_word=$2
12994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12996 if test "${ac_cv_prog_sane_devel+set}" = set; then
12997 echo $ECHO_N "(cached) $ECHO_C" >&6
12998 else
12999 if test -n "$sane_devel"; then
13000 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
13001 else
13002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13003 for as_dir in $PATH
13005 IFS=$as_save_IFS
13006 test -z "$as_dir" && as_dir=.
13007 for ac_exec_ext in '' $ac_executable_extensions; do
13008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13009 ac_cv_prog_sane_devel="sane-config"
13010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13011 break 2
13013 done
13014 done
13015 IFS=$as_save_IFS
13017 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
13020 sane_devel=$ac_cv_prog_sane_devel
13021 if test -n "$sane_devel"; then
13022 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13023 echo "${ECHO_T}$sane_devel" >&6; }
13024 else
13025 { echo "$as_me:$LINENO: result: no" >&5
13026 echo "${ECHO_T}no" >&6; }
13030 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13031 then
13032 ac_sane_incl="`$sane_devel --cflags`"
13033 ac_sane_libs="`$sane_devel --ldflags`"
13034 ac_save_CPPFLAGS="$CPPFLAGS"
13035 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
13036 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13037 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13038 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13039 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13040 echo $ECHO_N "(cached) $ECHO_C" >&6
13042 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13043 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13044 else
13045 # Is the header compilable?
13046 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13047 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13048 cat >conftest.$ac_ext <<_ACEOF
13049 /* confdefs.h. */
13050 _ACEOF
13051 cat confdefs.h >>conftest.$ac_ext
13052 cat >>conftest.$ac_ext <<_ACEOF
13053 /* end confdefs.h. */
13054 $ac_includes_default
13055 #include <sane/sane.h>
13056 _ACEOF
13057 rm -f conftest.$ac_objext
13058 if { (ac_try="$ac_compile"
13059 case "(($ac_try" in
13060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13061 *) ac_try_echo=$ac_try;;
13062 esac
13063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13064 (eval "$ac_compile") 2>conftest.er1
13065 ac_status=$?
13066 grep -v '^ *+' conftest.er1 >conftest.err
13067 rm -f conftest.er1
13068 cat conftest.err >&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); } && {
13071 test -z "$ac_c_werror_flag" ||
13072 test ! -s conftest.err
13073 } && test -s conftest.$ac_objext; then
13074 ac_header_compiler=yes
13075 else
13076 echo "$as_me: failed program was:" >&5
13077 sed 's/^/| /' conftest.$ac_ext >&5
13079 ac_header_compiler=no
13082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13083 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13084 echo "${ECHO_T}$ac_header_compiler" >&6; }
13086 # Is the header present?
13087 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13088 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13089 cat >conftest.$ac_ext <<_ACEOF
13090 /* confdefs.h. */
13091 _ACEOF
13092 cat confdefs.h >>conftest.$ac_ext
13093 cat >>conftest.$ac_ext <<_ACEOF
13094 /* end confdefs.h. */
13095 #include <sane/sane.h>
13096 _ACEOF
13097 if { (ac_try="$ac_cpp conftest.$ac_ext"
13098 case "(($ac_try" in
13099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13100 *) ac_try_echo=$ac_try;;
13101 esac
13102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13103 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13104 ac_status=$?
13105 grep -v '^ *+' conftest.er1 >conftest.err
13106 rm -f conftest.er1
13107 cat conftest.err >&5
13108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13109 (exit $ac_status); } >/dev/null && {
13110 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13111 test ! -s conftest.err
13112 }; then
13113 ac_header_preproc=yes
13114 else
13115 echo "$as_me: failed program was:" >&5
13116 sed 's/^/| /' conftest.$ac_ext >&5
13118 ac_header_preproc=no
13121 rm -f conftest.err conftest.$ac_ext
13122 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13123 echo "${ECHO_T}$ac_header_preproc" >&6; }
13125 # So? What about this header?
13126 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13127 yes:no: )
13128 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13129 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13130 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13131 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13132 ac_header_preproc=yes
13134 no:yes:* )
13135 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13136 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13137 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13138 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13139 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13140 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13141 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13142 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13143 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13144 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13145 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13146 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13147 ( cat <<\_ASBOX
13148 ## ------------------------------------ ##
13149 ## Report this to wine-devel@winehq.org ##
13150 ## ------------------------------------ ##
13151 _ASBOX
13152 ) | sed "s/^/$as_me: WARNING: /" >&2
13154 esac
13155 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13156 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13157 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13158 echo $ECHO_N "(cached) $ECHO_C" >&6
13159 else
13160 ac_cv_header_sane_sane_h=$ac_header_preproc
13162 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13163 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13166 if test $ac_cv_header_sane_sane_h = yes; then
13167 { echo "$as_me:$LINENO: checking for -lsane" >&5
13168 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13169 if test "${ac_cv_lib_soname_sane+set}" = set; then
13170 echo $ECHO_N "(cached) $ECHO_C" >&6
13171 else
13172 ac_check_soname_save_LIBS=$LIBS
13173 LIBS="-lsane $ac_sane_libs $LIBS"
13174 cat >conftest.$ac_ext <<_ACEOF
13175 /* confdefs.h. */
13176 _ACEOF
13177 cat confdefs.h >>conftest.$ac_ext
13178 cat >>conftest.$ac_ext <<_ACEOF
13179 /* end confdefs.h. */
13181 /* Override any GCC internal prototype to avoid an error.
13182 Use char because int might match the return type of a GCC
13183 builtin and then its argument prototype would still apply. */
13184 #ifdef __cplusplus
13185 extern "C"
13186 #endif
13187 char sane_init ();
13189 main ()
13191 return sane_init ();
13193 return 0;
13195 _ACEOF
13196 rm -f conftest.$ac_objext conftest$ac_exeext
13197 if { (ac_try="$ac_link"
13198 case "(($ac_try" in
13199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13200 *) ac_try_echo=$ac_try;;
13201 esac
13202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13203 (eval "$ac_link") 2>conftest.er1
13204 ac_status=$?
13205 grep -v '^ *+' conftest.er1 >conftest.err
13206 rm -f conftest.er1
13207 cat conftest.err >&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } && {
13210 test -z "$ac_c_werror_flag" ||
13211 test ! -s conftest.err
13212 } && test -s conftest$ac_exeext &&
13213 $as_test_x conftest$ac_exeext; then
13214 case "$LIBEXT" in
13215 dll) ;;
13216 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'` ;;
13217 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13218 esac
13219 else
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.$ac_ext >&5
13226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13227 conftest$ac_exeext conftest.$ac_ext
13228 LIBS=$ac_check_soname_save_LIBS
13230 if test "x$ac_cv_lib_soname_sane" = "x"; then
13231 { echo "$as_me:$LINENO: result: not found" >&5
13232 echo "${ECHO_T}not found" >&6; }
13234 else
13235 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13236 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13238 cat >>confdefs.h <<_ACEOF
13239 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13240 _ACEOF
13242 SANEINCL="$ac_sane_incl"
13249 CPPFLAGS="$ac_save_CPPFLAGS"
13251 if test "x$ac_cv_lib_soname_sane" = "x"; then
13252 case "x$with_sane" in
13253 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13254 xno) ;;
13255 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13256 This is an error since --with-sane was requested." >&5
13257 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13258 This is an error since --with-sane was requested." >&2;}
13259 { (exit 1); exit 1; }; } ;;
13260 esac
13264 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13265 set dummy gphoto2-config; ac_word=$2
13266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13268 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 else
13271 if test -n "$gphoto2_devel"; then
13272 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13273 else
13274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13275 for as_dir in $PATH
13277 IFS=$as_save_IFS
13278 test -z "$as_dir" && as_dir=.
13279 for ac_exec_ext in '' $ac_executable_extensions; do
13280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13281 ac_cv_prog_gphoto2_devel="gphoto2-config"
13282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13283 break 2
13285 done
13286 done
13287 IFS=$as_save_IFS
13289 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13292 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13293 if test -n "$gphoto2_devel"; then
13294 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13295 echo "${ECHO_T}$gphoto2_devel" >&6; }
13296 else
13297 { echo "$as_me:$LINENO: result: no" >&5
13298 echo "${ECHO_T}no" >&6; }
13302 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13303 set dummy gphoto2-port-config; ac_word=$2
13304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13306 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6
13308 else
13309 if test -n "$gphoto2port_devel"; then
13310 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13311 else
13312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13313 for as_dir in $PATH
13315 IFS=$as_save_IFS
13316 test -z "$as_dir" && as_dir=.
13317 for ac_exec_ext in '' $ac_executable_extensions; do
13318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13319 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13321 break 2
13323 done
13324 done
13325 IFS=$as_save_IFS
13327 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13330 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13331 if test -n "$gphoto2port_devel"; then
13332 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13333 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13334 else
13335 { echo "$as_me:$LINENO: result: no" >&5
13336 echo "${ECHO_T}no" >&6; }
13340 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13341 then
13342 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13343 ac_gphoto2_libs=""
13344 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13346 case "$i" in
13347 -L/usr/lib|-L/usr/lib64) ;;
13348 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13349 esac
13350 done
13351 ac_save_CPPFLAGS="$CPPFLAGS"
13352 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13353 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13354 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13355 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13356 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13359 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13360 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13361 else
13362 # Is the header compilable?
13363 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13364 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13365 cat >conftest.$ac_ext <<_ACEOF
13366 /* confdefs.h. */
13367 _ACEOF
13368 cat confdefs.h >>conftest.$ac_ext
13369 cat >>conftest.$ac_ext <<_ACEOF
13370 /* end confdefs.h. */
13371 $ac_includes_default
13372 #include <gphoto2-camera.h>
13373 _ACEOF
13374 rm -f conftest.$ac_objext
13375 if { (ac_try="$ac_compile"
13376 case "(($ac_try" in
13377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13378 *) ac_try_echo=$ac_try;;
13379 esac
13380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13381 (eval "$ac_compile") 2>conftest.er1
13382 ac_status=$?
13383 grep -v '^ *+' conftest.er1 >conftest.err
13384 rm -f conftest.er1
13385 cat conftest.err >&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); } && {
13388 test -z "$ac_c_werror_flag" ||
13389 test ! -s conftest.err
13390 } && test -s conftest.$ac_objext; then
13391 ac_header_compiler=yes
13392 else
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.$ac_ext >&5
13396 ac_header_compiler=no
13399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13400 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13401 echo "${ECHO_T}$ac_header_compiler" >&6; }
13403 # Is the header present?
13404 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13405 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13406 cat >conftest.$ac_ext <<_ACEOF
13407 /* confdefs.h. */
13408 _ACEOF
13409 cat confdefs.h >>conftest.$ac_ext
13410 cat >>conftest.$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412 #include <gphoto2-camera.h>
13413 _ACEOF
13414 if { (ac_try="$ac_cpp conftest.$ac_ext"
13415 case "(($ac_try" in
13416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13417 *) ac_try_echo=$ac_try;;
13418 esac
13419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13421 ac_status=$?
13422 grep -v '^ *+' conftest.er1 >conftest.err
13423 rm -f conftest.er1
13424 cat conftest.err >&5
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); } >/dev/null && {
13427 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13428 test ! -s conftest.err
13429 }; then
13430 ac_header_preproc=yes
13431 else
13432 echo "$as_me: failed program was:" >&5
13433 sed 's/^/| /' conftest.$ac_ext >&5
13435 ac_header_preproc=no
13438 rm -f conftest.err conftest.$ac_ext
13439 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13440 echo "${ECHO_T}$ac_header_preproc" >&6; }
13442 # So? What about this header?
13443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13444 yes:no: )
13445 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13446 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13447 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13448 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13449 ac_header_preproc=yes
13451 no:yes:* )
13452 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13453 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13454 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13455 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13456 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13457 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13458 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13459 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13460 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13461 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13462 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13463 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13464 ( cat <<\_ASBOX
13465 ## ------------------------------------ ##
13466 ## Report this to wine-devel@winehq.org ##
13467 ## ------------------------------------ ##
13468 _ASBOX
13469 ) | sed "s/^/$as_me: WARNING: /" >&2
13471 esac
13472 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13473 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13474 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 else
13477 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13479 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13480 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13483 if test $ac_cv_header_gphoto2_camera_h = yes; then
13484 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13485 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13486 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13487 echo $ECHO_N "(cached) $ECHO_C" >&6
13488 else
13489 ac_check_lib_save_LIBS=$LIBS
13490 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
13491 cat >conftest.$ac_ext <<_ACEOF
13492 /* confdefs.h. */
13493 _ACEOF
13494 cat confdefs.h >>conftest.$ac_ext
13495 cat >>conftest.$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13498 /* Override any GCC internal prototype to avoid an error.
13499 Use char because int might match the return type of a GCC
13500 builtin and then its argument prototype would still apply. */
13501 #ifdef __cplusplus
13502 extern "C"
13503 #endif
13504 char gp_camera_new ();
13506 main ()
13508 return gp_camera_new ();
13510 return 0;
13512 _ACEOF
13513 rm -f conftest.$ac_objext conftest$ac_exeext
13514 if { (ac_try="$ac_link"
13515 case "(($ac_try" in
13516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13517 *) ac_try_echo=$ac_try;;
13518 esac
13519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13520 (eval "$ac_link") 2>conftest.er1
13521 ac_status=$?
13522 grep -v '^ *+' conftest.er1 >conftest.err
13523 rm -f conftest.er1
13524 cat conftest.err >&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); } && {
13527 test -z "$ac_c_werror_flag" ||
13528 test ! -s conftest.err
13529 } && test -s conftest$ac_exeext &&
13530 $as_test_x conftest$ac_exeext; then
13531 ac_cv_lib_gphoto2_gp_camera_new=yes
13532 else
13533 echo "$as_me: failed program was:" >&5
13534 sed 's/^/| /' conftest.$ac_ext >&5
13536 ac_cv_lib_gphoto2_gp_camera_new=no
13539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13540 conftest$ac_exeext conftest.$ac_ext
13541 LIBS=$ac_check_lib_save_LIBS
13543 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13544 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13545 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13547 cat >>confdefs.h <<\_ACEOF
13548 #define HAVE_GPHOTO2 1
13549 _ACEOF
13551 GPHOTO2LIBS="$ac_gphoto2_libs"
13553 GPHOTO2INCL="$ac_gphoto2_incl"
13560 CPPFLAGS="$ac_save_CPPFLAGS"
13562 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13563 case "x$with_gphoto" in
13564 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13565 xno) ;;
13566 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13567 This is an error since --with-gphoto was requested." >&5
13568 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13569 This is an error since --with-gphoto was requested." >&2;}
13570 { (exit 1); exit 1; }; } ;;
13571 esac
13576 RESOLVLIBS=""
13578 if test "$ac_cv_header_resolv_h" = "yes"
13579 then
13580 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13581 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13582 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13583 echo $ECHO_N "(cached) $ECHO_C" >&6
13584 else
13585 ac_check_lib_save_LIBS=$LIBS
13586 LIBS="-lresolv $LIBS"
13587 cat >conftest.$ac_ext <<_ACEOF
13588 /* confdefs.h. */
13589 _ACEOF
13590 cat confdefs.h >>conftest.$ac_ext
13591 cat >>conftest.$ac_ext <<_ACEOF
13592 /* end confdefs.h. */
13594 /* Override any GCC internal prototype to avoid an error.
13595 Use char because int might match the return type of a GCC
13596 builtin and then its argument prototype would still apply. */
13597 #ifdef __cplusplus
13598 extern "C"
13599 #endif
13600 char res_query ();
13602 main ()
13604 return res_query ();
13606 return 0;
13608 _ACEOF
13609 rm -f conftest.$ac_objext conftest$ac_exeext
13610 if { (ac_try="$ac_link"
13611 case "(($ac_try" in
13612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13613 *) ac_try_echo=$ac_try;;
13614 esac
13615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13616 (eval "$ac_link") 2>conftest.er1
13617 ac_status=$?
13618 grep -v '^ *+' conftest.er1 >conftest.err
13619 rm -f conftest.er1
13620 cat conftest.err >&5
13621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622 (exit $ac_status); } && {
13623 test -z "$ac_c_werror_flag" ||
13624 test ! -s conftest.err
13625 } && test -s conftest$ac_exeext &&
13626 $as_test_x conftest$ac_exeext; then
13627 ac_cv_lib_resolv_res_query=yes
13628 else
13629 echo "$as_me: failed program was:" >&5
13630 sed 's/^/| /' conftest.$ac_ext >&5
13632 ac_cv_lib_resolv_res_query=no
13635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13636 conftest$ac_exeext conftest.$ac_ext
13637 LIBS=$ac_check_lib_save_LIBS
13639 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13640 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13641 if test $ac_cv_lib_resolv_res_query = yes; then
13643 cat >>confdefs.h <<\_ACEOF
13644 #define HAVE_RESOLV 1
13645 _ACEOF
13647 RESOLVLIBS="-lresolv"
13652 LCMSLIBS=""
13654 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13655 then
13656 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13657 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13658 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13660 else
13661 ac_check_lib_save_LIBS=$LIBS
13662 LIBS="-llcms $LIBS"
13663 cat >conftest.$ac_ext <<_ACEOF
13664 /* confdefs.h. */
13665 _ACEOF
13666 cat confdefs.h >>conftest.$ac_ext
13667 cat >>conftest.$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13670 /* Override any GCC internal prototype to avoid an error.
13671 Use char because int might match the return type of a GCC
13672 builtin and then its argument prototype would still apply. */
13673 #ifdef __cplusplus
13674 extern "C"
13675 #endif
13676 char cmsOpenProfileFromFile ();
13678 main ()
13680 return cmsOpenProfileFromFile ();
13682 return 0;
13684 _ACEOF
13685 rm -f conftest.$ac_objext conftest$ac_exeext
13686 if { (ac_try="$ac_link"
13687 case "(($ac_try" in
13688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13689 *) ac_try_echo=$ac_try;;
13690 esac
13691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13692 (eval "$ac_link") 2>conftest.er1
13693 ac_status=$?
13694 grep -v '^ *+' conftest.er1 >conftest.err
13695 rm -f conftest.er1
13696 cat conftest.err >&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } && {
13699 test -z "$ac_c_werror_flag" ||
13700 test ! -s conftest.err
13701 } && test -s conftest$ac_exeext &&
13702 $as_test_x conftest$ac_exeext; then
13703 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13704 else
13705 echo "$as_me: failed program was:" >&5
13706 sed 's/^/| /' conftest.$ac_ext >&5
13708 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13712 conftest$ac_exeext conftest.$ac_ext
13713 LIBS=$ac_check_lib_save_LIBS
13715 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13716 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13717 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13719 cat >>confdefs.h <<\_ACEOF
13720 #define HAVE_LCMS 1
13721 _ACEOF
13723 LCMSLIBS="-llcms"
13727 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13728 case "x$with_cms" in
13729 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13730 xno) ;;
13731 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13732 This is an error since --with-cms was requested." >&5
13733 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13734 This is an error since --with-cms was requested." >&2;}
13735 { (exit 1); exit 1; }; } ;;
13736 esac
13740 for ac_prog in freetype-config freetype2-config
13742 # Extract the first word of "$ac_prog", so it can be a program name with args.
13743 set dummy $ac_prog; ac_word=$2
13744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13746 if test "${ac_cv_prog_ft_devel+set}" = set; then
13747 echo $ECHO_N "(cached) $ECHO_C" >&6
13748 else
13749 if test -n "$ft_devel"; then
13750 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13751 else
13752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13753 for as_dir in $PATH
13755 IFS=$as_save_IFS
13756 test -z "$as_dir" && as_dir=.
13757 for ac_exec_ext in '' $ac_executable_extensions; do
13758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13759 ac_cv_prog_ft_devel="$ac_prog"
13760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13761 break 2
13763 done
13764 done
13765 IFS=$as_save_IFS
13769 ft_devel=$ac_cv_prog_ft_devel
13770 if test -n "$ft_devel"; then
13771 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13772 echo "${ECHO_T}$ft_devel" >&6; }
13773 else
13774 { echo "$as_me:$LINENO: result: no" >&5
13775 echo "${ECHO_T}no" >&6; }
13779 test -n "$ft_devel" && break
13780 done
13781 test -n "$ft_devel" || ft_devel="false"
13783 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13784 then
13785 ac_freetype_libs=`$ft_devel --libs`
13786 ac_freetype_incl=`$ft_devel --cflags`
13787 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13788 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13789 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13790 echo $ECHO_N "(cached) $ECHO_C" >&6
13791 else
13792 ac_check_soname_save_LIBS=$LIBS
13793 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13794 cat >conftest.$ac_ext <<_ACEOF
13795 /* confdefs.h. */
13796 _ACEOF
13797 cat confdefs.h >>conftest.$ac_ext
13798 cat >>conftest.$ac_ext <<_ACEOF
13799 /* end confdefs.h. */
13801 /* Override any GCC internal prototype to avoid an error.
13802 Use char because int might match the return type of a GCC
13803 builtin and then its argument prototype would still apply. */
13804 #ifdef __cplusplus
13805 extern "C"
13806 #endif
13807 char FT_Init_FreeType ();
13809 main ()
13811 return FT_Init_FreeType ();
13813 return 0;
13815 _ACEOF
13816 rm -f conftest.$ac_objext conftest$ac_exeext
13817 if { (ac_try="$ac_link"
13818 case "(($ac_try" in
13819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13820 *) ac_try_echo=$ac_try;;
13821 esac
13822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13823 (eval "$ac_link") 2>conftest.er1
13824 ac_status=$?
13825 grep -v '^ *+' conftest.er1 >conftest.err
13826 rm -f conftest.er1
13827 cat conftest.err >&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } && {
13830 test -z "$ac_c_werror_flag" ||
13831 test ! -s conftest.err
13832 } && test -s conftest$ac_exeext &&
13833 $as_test_x conftest$ac_exeext; then
13834 case "$LIBEXT" in
13835 dll) ;;
13836 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'` ;;
13837 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13838 esac
13839 else
13840 echo "$as_me: failed program was:" >&5
13841 sed 's/^/| /' conftest.$ac_ext >&5
13846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13847 conftest$ac_exeext conftest.$ac_ext
13848 LIBS=$ac_check_soname_save_LIBS
13850 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13851 { echo "$as_me:$LINENO: result: not found" >&5
13852 echo "${ECHO_T}not found" >&6; }
13853 ft_lib=no
13854 else
13855 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13856 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13858 cat >>confdefs.h <<_ACEOF
13859 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13860 _ACEOF
13862 ft_lib=yes
13865 if test "$ft_lib" = "yes"
13866 then
13867 ac_save_CPPFLAGS="$CPPFLAGS"
13868 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13881 for ac_header in ft2build.h \
13882 freetype/freetype.h \
13883 freetype/ftglyph.h \
13884 freetype/fttypes.h \
13885 freetype/tttables.h \
13886 freetype/ftnames.h \
13887 freetype/ftsnames.h \
13888 freetype/ttnameid.h \
13889 freetype/ftoutln.h \
13890 freetype/ftwinfnt.h \
13891 freetype/ftmodapi.h \
13892 freetype/internal/sfnt.h
13894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13895 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13898 echo $ECHO_N "(cached) $ECHO_C" >&6
13899 else
13900 cat >conftest.$ac_ext <<_ACEOF
13901 /* confdefs.h. */
13902 _ACEOF
13903 cat confdefs.h >>conftest.$ac_ext
13904 cat >>conftest.$ac_ext <<_ACEOF
13905 /* end confdefs.h. */
13906 #ifdef HAVE_FT2BUILD_H
13907 # include <ft2build.h>
13908 #endif
13910 #include <$ac_header>
13911 _ACEOF
13912 rm -f conftest.$ac_objext
13913 if { (ac_try="$ac_compile"
13914 case "(($ac_try" in
13915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13916 *) ac_try_echo=$ac_try;;
13917 esac
13918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13919 (eval "$ac_compile") 2>conftest.er1
13920 ac_status=$?
13921 grep -v '^ *+' conftest.er1 >conftest.err
13922 rm -f conftest.er1
13923 cat conftest.err >&5
13924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13925 (exit $ac_status); } && {
13926 test -z "$ac_c_werror_flag" ||
13927 test ! -s conftest.err
13928 } && test -s conftest.$ac_objext; then
13929 eval "$as_ac_Header=yes"
13930 else
13931 echo "$as_me: failed program was:" >&5
13932 sed 's/^/| /' conftest.$ac_ext >&5
13934 eval "$as_ac_Header=no"
13937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13939 ac_res=`eval echo '${'$as_ac_Header'}'`
13940 { echo "$as_me:$LINENO: result: $ac_res" >&5
13941 echo "${ECHO_T}$ac_res" >&6; }
13942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13943 cat >>confdefs.h <<_ACEOF
13944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13945 _ACEOF
13949 done
13951 cat >conftest.$ac_ext <<_ACEOF
13952 /* confdefs.h. */
13953 _ACEOF
13954 cat confdefs.h >>conftest.$ac_ext
13955 cat >>conftest.$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13957 #include <ft2build.h>
13958 #include <freetype/fttrigon.h>
13959 _ACEOF
13960 if { (ac_try="$ac_cpp conftest.$ac_ext"
13961 case "(($ac_try" in
13962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13963 *) ac_try_echo=$ac_try;;
13964 esac
13965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13967 ac_status=$?
13968 grep -v '^ *+' conftest.er1 >conftest.err
13969 rm -f conftest.er1
13970 cat conftest.err >&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } >/dev/null && {
13973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13974 test ! -s conftest.err
13975 }; then
13977 cat >>confdefs.h <<\_ACEOF
13978 #define HAVE_FREETYPE_FTTRIGON_H 1
13979 _ACEOF
13981 wine_cv_fttrigon=yes
13982 else
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.$ac_ext >&5
13986 wine_cv_fttrigon=no
13989 rm -f conftest.err conftest.$ac_ext
13990 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13991 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13992 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13994 else
13995 cat >conftest.$ac_ext <<_ACEOF
13996 /* confdefs.h. */
13997 _ACEOF
13998 cat confdefs.h >>conftest.$ac_ext
13999 cat >>conftest.$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 #include <freetype/ftmodapi.h>
14003 typedef FT_TrueTypeEngineType ac__type_new_;
14005 main ()
14007 if ((ac__type_new_ *) 0)
14008 return 0;
14009 if (sizeof (ac__type_new_))
14010 return 0;
14012 return 0;
14014 _ACEOF
14015 rm -f conftest.$ac_objext
14016 if { (ac_try="$ac_compile"
14017 case "(($ac_try" in
14018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14019 *) ac_try_echo=$ac_try;;
14020 esac
14021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14022 (eval "$ac_compile") 2>conftest.er1
14023 ac_status=$?
14024 grep -v '^ *+' conftest.er1 >conftest.err
14025 rm -f conftest.er1
14026 cat conftest.err >&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } && {
14029 test -z "$ac_c_werror_flag" ||
14030 test ! -s conftest.err
14031 } && test -s conftest.$ac_objext; then
14032 ac_cv_type_FT_TrueTypeEngineType=yes
14033 else
14034 echo "$as_me: failed program was:" >&5
14035 sed 's/^/| /' conftest.$ac_ext >&5
14037 ac_cv_type_FT_TrueTypeEngineType=no
14040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14042 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14043 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14044 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14046 cat >>confdefs.h <<_ACEOF
14047 #define HAVE_FT_TRUETYPEENGINETYPE 1
14048 _ACEOF
14053 ac_save_CFLAGS="$CFLAGS"
14054 CFLAGS="$CFLAGS $ac_freetype_libs"
14056 for ac_func in FT_Load_Sfnt_Table
14058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14062 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 else
14064 cat >conftest.$ac_ext <<_ACEOF
14065 /* confdefs.h. */
14066 _ACEOF
14067 cat confdefs.h >>conftest.$ac_ext
14068 cat >>conftest.$ac_ext <<_ACEOF
14069 /* end confdefs.h. */
14070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14072 #define $ac_func innocuous_$ac_func
14074 /* System header to define __stub macros and hopefully few prototypes,
14075 which can conflict with char $ac_func (); below.
14076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14077 <limits.h> exists even on freestanding compilers. */
14079 #ifdef __STDC__
14080 # include <limits.h>
14081 #else
14082 # include <assert.h>
14083 #endif
14085 #undef $ac_func
14087 /* Override any GCC internal prototype to avoid an error.
14088 Use char because int might match the return type of a GCC
14089 builtin and then its argument prototype would still apply. */
14090 #ifdef __cplusplus
14091 extern "C"
14092 #endif
14093 char $ac_func ();
14094 /* The GNU C library defines this for functions which it implements
14095 to always fail with ENOSYS. Some functions are actually named
14096 something starting with __ and the normal name is an alias. */
14097 #if defined __stub_$ac_func || defined __stub___$ac_func
14098 choke me
14099 #endif
14102 main ()
14104 return $ac_func ();
14106 return 0;
14108 _ACEOF
14109 rm -f conftest.$ac_objext conftest$ac_exeext
14110 if { (ac_try="$ac_link"
14111 case "(($ac_try" in
14112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14113 *) ac_try_echo=$ac_try;;
14114 esac
14115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14116 (eval "$ac_link") 2>conftest.er1
14117 ac_status=$?
14118 grep -v '^ *+' conftest.er1 >conftest.err
14119 rm -f conftest.er1
14120 cat conftest.err >&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); } && {
14123 test -z "$ac_c_werror_flag" ||
14124 test ! -s conftest.err
14125 } && test -s conftest$ac_exeext &&
14126 $as_test_x conftest$ac_exeext; then
14127 eval "$as_ac_var=yes"
14128 else
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.$ac_ext >&5
14132 eval "$as_ac_var=no"
14135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14136 conftest$ac_exeext conftest.$ac_ext
14138 ac_res=`eval echo '${'$as_ac_var'}'`
14139 { echo "$as_me:$LINENO: result: $ac_res" >&5
14140 echo "${ECHO_T}$ac_res" >&6; }
14141 if test `eval echo '${'$as_ac_var'}'` = yes; then
14142 cat >>confdefs.h <<_ACEOF
14143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14144 _ACEOF
14147 done
14149 CFLAGS="$ac_save_CFLAGS"
14150 CPPFLAGS="$ac_save_CPPFLAGS"
14151 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14152 then
14154 cat >>confdefs.h <<\_ACEOF
14155 #define HAVE_FREETYPE 1
14156 _ACEOF
14158 FREETYPELIBS="$ac_freetype_libs"
14160 FREETYPEINCL="$ac_freetype_incl"
14162 FONTSSUBDIRS="fonts"
14167 if test "x$FREETYPELIBS" = "x"; then
14168 case "x$with_freetype" in
14169 xno) ;;
14170 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14171 Fonts will not be built. Dialog text may be invisible or unaligned.
14172 Use the --without-freetype option if you really want this." >&5
14173 echo "$as_me: error: FreeType development files not found.
14174 Fonts will not be built. Dialog text may be invisible or unaligned.
14175 Use the --without-freetype option if you really want this." >&2;}
14176 { (exit 1); exit 1; }; } ;;
14177 esac
14181 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14182 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14183 if test "${ac_cv_c_ppdev+set}" = set; then
14184 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 else
14186 cat >conftest.$ac_ext <<_ACEOF
14187 /* confdefs.h. */
14188 _ACEOF
14189 cat confdefs.h >>conftest.$ac_ext
14190 cat >>conftest.$ac_ext <<_ACEOF
14191 /* end confdefs.h. */
14192 #include <linux/ppdev.h>
14194 main ()
14196 ioctl (1,PPCLAIM,0)
14198 return 0;
14200 _ACEOF
14201 rm -f conftest.$ac_objext
14202 if { (ac_try="$ac_compile"
14203 case "(($ac_try" in
14204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14205 *) ac_try_echo=$ac_try;;
14206 esac
14207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14208 (eval "$ac_compile") 2>conftest.er1
14209 ac_status=$?
14210 grep -v '^ *+' conftest.er1 >conftest.err
14211 rm -f conftest.er1
14212 cat conftest.err >&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); } && {
14215 test -z "$ac_c_werror_flag" ||
14216 test ! -s conftest.err
14217 } && test -s conftest.$ac_objext; then
14218 ac_cv_c_ppdev="yes"
14219 else
14220 echo "$as_me: failed program was:" >&5
14221 sed 's/^/| /' conftest.$ac_ext >&5
14223 ac_cv_c_ppdev="no"
14226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14228 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14229 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14230 if test "$ac_cv_c_ppdev" = "yes"
14231 then
14233 cat >>confdefs.h <<\_ACEOF
14234 #define HAVE_PPDEV 1
14235 _ACEOF
14239 { echo "$as_me:$LINENO: checking for va_copy" >&5
14240 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14241 if test "${ac_cv_c_va_copy+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14243 else
14244 cat >conftest.$ac_ext <<_ACEOF
14245 /* confdefs.h. */
14246 _ACEOF
14247 cat confdefs.h >>conftest.$ac_ext
14248 cat >>conftest.$ac_ext <<_ACEOF
14249 /* end confdefs.h. */
14250 #include <stdarg.h>
14252 main ()
14254 va_list ap1, ap2; va_copy(ap1,ap2);
14256 return 0;
14258 _ACEOF
14259 rm -f conftest.$ac_objext conftest$ac_exeext
14260 if { (ac_try="$ac_link"
14261 case "(($ac_try" in
14262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14263 *) ac_try_echo=$ac_try;;
14264 esac
14265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14266 (eval "$ac_link") 2>conftest.er1
14267 ac_status=$?
14268 grep -v '^ *+' conftest.er1 >conftest.err
14269 rm -f conftest.er1
14270 cat conftest.err >&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); } && {
14273 test -z "$ac_c_werror_flag" ||
14274 test ! -s conftest.err
14275 } && test -s conftest$ac_exeext &&
14276 $as_test_x conftest$ac_exeext; then
14277 ac_cv_c_va_copy="yes"
14278 else
14279 echo "$as_me: failed program was:" >&5
14280 sed 's/^/| /' conftest.$ac_ext >&5
14282 ac_cv_c_va_copy="no"
14285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14286 conftest$ac_exeext conftest.$ac_ext
14289 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14290 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14291 if test "$ac_cv_c_va_copy" = "yes"
14292 then
14294 cat >>confdefs.h <<\_ACEOF
14295 #define HAVE_VA_COPY 1
14296 _ACEOF
14299 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14300 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14301 if test "${ac_cv_c___va_copy+set}" = set; then
14302 echo $ECHO_N "(cached) $ECHO_C" >&6
14303 else
14304 cat >conftest.$ac_ext <<_ACEOF
14305 /* confdefs.h. */
14306 _ACEOF
14307 cat confdefs.h >>conftest.$ac_ext
14308 cat >>conftest.$ac_ext <<_ACEOF
14309 /* end confdefs.h. */
14310 #include <stdarg.h>
14312 main ()
14314 va_list ap1, ap2; __va_copy(ap1,ap2);
14316 return 0;
14318 _ACEOF
14319 rm -f conftest.$ac_objext conftest$ac_exeext
14320 if { (ac_try="$ac_link"
14321 case "(($ac_try" in
14322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14323 *) ac_try_echo=$ac_try;;
14324 esac
14325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14326 (eval "$ac_link") 2>conftest.er1
14327 ac_status=$?
14328 grep -v '^ *+' conftest.er1 >conftest.err
14329 rm -f conftest.er1
14330 cat conftest.err >&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); } && {
14333 test -z "$ac_c_werror_flag" ||
14334 test ! -s conftest.err
14335 } && test -s conftest$ac_exeext &&
14336 $as_test_x conftest$ac_exeext; then
14337 ac_cv_c___va_copy="yes"
14338 else
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.$ac_ext >&5
14342 ac_cv_c___va_copy="no"
14345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14346 conftest$ac_exeext conftest.$ac_ext
14349 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14350 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14351 if test "$ac_cv_c___va_copy" = "yes"
14352 then
14354 cat >>confdefs.h <<\_ACEOF
14355 #define HAVE___VA_COPY 1
14356 _ACEOF
14360 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14361 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14362 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14363 echo $ECHO_N "(cached) $ECHO_C" >&6
14364 else
14365 cat >conftest.$ac_ext <<_ACEOF
14366 /* confdefs.h. */
14367 _ACEOF
14368 cat confdefs.h >>conftest.$ac_ext
14369 cat >>conftest.$ac_ext <<_ACEOF
14370 /* end confdefs.h. */
14371 #define _GNU_SOURCE
14372 #include <pthread.h>
14374 typedef pthread_rwlock_t ac__type_new_;
14376 main ()
14378 if ((ac__type_new_ *) 0)
14379 return 0;
14380 if (sizeof (ac__type_new_))
14381 return 0;
14383 return 0;
14385 _ACEOF
14386 rm -f conftest.$ac_objext
14387 if { (ac_try="$ac_compile"
14388 case "(($ac_try" in
14389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14390 *) ac_try_echo=$ac_try;;
14391 esac
14392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14393 (eval "$ac_compile") 2>conftest.er1
14394 ac_status=$?
14395 grep -v '^ *+' conftest.er1 >conftest.err
14396 rm -f conftest.er1
14397 cat conftest.err >&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); } && {
14400 test -z "$ac_c_werror_flag" ||
14401 test ! -s conftest.err
14402 } && test -s conftest.$ac_objext; then
14403 ac_cv_type_pthread_rwlock_t=yes
14404 else
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.$ac_ext >&5
14408 ac_cv_type_pthread_rwlock_t=no
14411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14413 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14414 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14415 if test $ac_cv_type_pthread_rwlock_t = yes; then
14417 cat >>confdefs.h <<_ACEOF
14418 #define HAVE_PTHREAD_RWLOCK_T 1
14419 _ACEOF
14423 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14424 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14425 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14426 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 else
14428 cat >conftest.$ac_ext <<_ACEOF
14429 /* confdefs.h. */
14430 _ACEOF
14431 cat confdefs.h >>conftest.$ac_ext
14432 cat >>conftest.$ac_ext <<_ACEOF
14433 /* end confdefs.h. */
14434 #define _GNU_SOURCE
14435 #include <pthread.h>
14437 typedef pthread_rwlockattr_t ac__type_new_;
14439 main ()
14441 if ((ac__type_new_ *) 0)
14442 return 0;
14443 if (sizeof (ac__type_new_))
14444 return 0;
14446 return 0;
14448 _ACEOF
14449 rm -f conftest.$ac_objext
14450 if { (ac_try="$ac_compile"
14451 case "(($ac_try" in
14452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14453 *) ac_try_echo=$ac_try;;
14454 esac
14455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14456 (eval "$ac_compile") 2>conftest.er1
14457 ac_status=$?
14458 grep -v '^ *+' conftest.er1 >conftest.err
14459 rm -f conftest.er1
14460 cat conftest.err >&5
14461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14462 (exit $ac_status); } && {
14463 test -z "$ac_c_werror_flag" ||
14464 test ! -s conftest.err
14465 } && test -s conftest.$ac_objext; then
14466 ac_cv_type_pthread_rwlockattr_t=yes
14467 else
14468 echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.$ac_ext >&5
14471 ac_cv_type_pthread_rwlockattr_t=no
14474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14476 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14477 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14478 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14480 cat >>confdefs.h <<_ACEOF
14481 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14482 _ACEOF
14488 ac_wine_check_funcs_save_LIBS="$LIBS"
14489 LIBS="$LIBS $LIBPTHREAD"
14494 for ac_func in \
14495 pthread_attr_get_np \
14496 pthread_getattr_np \
14497 pthread_get_stackaddr_np \
14498 pthread_get_stacksize_np
14500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14504 echo $ECHO_N "(cached) $ECHO_C" >&6
14505 else
14506 cat >conftest.$ac_ext <<_ACEOF
14507 /* confdefs.h. */
14508 _ACEOF
14509 cat confdefs.h >>conftest.$ac_ext
14510 cat >>conftest.$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14514 #define $ac_func innocuous_$ac_func
14516 /* System header to define __stub macros and hopefully few prototypes,
14517 which can conflict with char $ac_func (); below.
14518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14519 <limits.h> exists even on freestanding compilers. */
14521 #ifdef __STDC__
14522 # include <limits.h>
14523 #else
14524 # include <assert.h>
14525 #endif
14527 #undef $ac_func
14529 /* Override any GCC internal prototype to avoid an error.
14530 Use char because int might match the return type of a GCC
14531 builtin and then its argument prototype would still apply. */
14532 #ifdef __cplusplus
14533 extern "C"
14534 #endif
14535 char $ac_func ();
14536 /* The GNU C library defines this for functions which it implements
14537 to always fail with ENOSYS. Some functions are actually named
14538 something starting with __ and the normal name is an alias. */
14539 #if defined __stub_$ac_func || defined __stub___$ac_func
14540 choke me
14541 #endif
14544 main ()
14546 return $ac_func ();
14548 return 0;
14550 _ACEOF
14551 rm -f conftest.$ac_objext conftest$ac_exeext
14552 if { (ac_try="$ac_link"
14553 case "(($ac_try" in
14554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14555 *) ac_try_echo=$ac_try;;
14556 esac
14557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14558 (eval "$ac_link") 2>conftest.er1
14559 ac_status=$?
14560 grep -v '^ *+' conftest.er1 >conftest.err
14561 rm -f conftest.er1
14562 cat conftest.err >&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } && {
14565 test -z "$ac_c_werror_flag" ||
14566 test ! -s conftest.err
14567 } && test -s conftest$ac_exeext &&
14568 $as_test_x conftest$ac_exeext; then
14569 eval "$as_ac_var=yes"
14570 else
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14574 eval "$as_ac_var=no"
14577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14578 conftest$ac_exeext conftest.$ac_ext
14580 ac_res=`eval echo '${'$as_ac_var'}'`
14581 { echo "$as_me:$LINENO: result: $ac_res" >&5
14582 echo "${ECHO_T}$ac_res" >&6; }
14583 if test `eval echo '${'$as_ac_var'}'` = yes; then
14584 cat >>confdefs.h <<_ACEOF
14585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14586 _ACEOF
14589 done
14591 LIBS="$ac_wine_check_funcs_save_LIBS"
14593 # Extract the first word of "esd-config", so it can be a program name with args.
14594 set dummy esd-config; ac_word=$2
14595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14597 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14598 echo $ECHO_N "(cached) $ECHO_C" >&6
14599 else
14600 case $ESDCONFIG in
14601 [\\/]* | ?:[\\/]*)
14602 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14606 for as_dir in $PATH
14608 IFS=$as_save_IFS
14609 test -z "$as_dir" && as_dir=.
14610 for ac_exec_ext in '' $ac_executable_extensions; do
14611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14612 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14614 break 2
14616 done
14617 done
14618 IFS=$as_save_IFS
14621 esac
14623 ESDCONFIG=$ac_cv_path_ESDCONFIG
14624 if test -n "$ESDCONFIG"; then
14625 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14626 echo "${ECHO_T}$ESDCONFIG" >&6; }
14627 else
14628 { echo "$as_me:$LINENO: result: no" >&5
14629 echo "${ECHO_T}no" >&6; }
14633 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14634 then
14635 ac_esd_incl=""
14636 for i in `$ESDCONFIG --cflags`
14638 case "$i" in
14639 -I*) ac_esd_incl="$ac_esd_incl $i";;
14640 esac
14641 done
14642 ac_esd_libs=`$ESDCONFIG --libs`
14643 save_CFLAGS="$CFLAGS"
14644 CFLAGS="$CFLAGS $ac_esd_incl"
14645 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14646 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14647 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14649 else
14650 ac_check_lib_save_LIBS=$LIBS
14651 LIBS="-lesd $ac_esd_libs $LIBS"
14652 cat >conftest.$ac_ext <<_ACEOF
14653 /* confdefs.h. */
14654 _ACEOF
14655 cat confdefs.h >>conftest.$ac_ext
14656 cat >>conftest.$ac_ext <<_ACEOF
14657 /* end confdefs.h. */
14659 /* Override any GCC internal prototype to avoid an error.
14660 Use char because int might match the return type of a GCC
14661 builtin and then its argument prototype would still apply. */
14662 #ifdef __cplusplus
14663 extern "C"
14664 #endif
14665 char esd_open_sound ();
14667 main ()
14669 return esd_open_sound ();
14671 return 0;
14673 _ACEOF
14674 rm -f conftest.$ac_objext conftest$ac_exeext
14675 if { (ac_try="$ac_link"
14676 case "(($ac_try" in
14677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14678 *) ac_try_echo=$ac_try;;
14679 esac
14680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14681 (eval "$ac_link") 2>conftest.er1
14682 ac_status=$?
14683 grep -v '^ *+' conftest.er1 >conftest.err
14684 rm -f conftest.er1
14685 cat conftest.err >&5
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); } && {
14688 test -z "$ac_c_werror_flag" ||
14689 test ! -s conftest.err
14690 } && test -s conftest$ac_exeext &&
14691 $as_test_x conftest$ac_exeext; then
14692 ac_cv_lib_esd_esd_open_sound=yes
14693 else
14694 echo "$as_me: failed program was:" >&5
14695 sed 's/^/| /' conftest.$ac_ext >&5
14697 ac_cv_lib_esd_esd_open_sound=no
14700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14701 conftest$ac_exeext conftest.$ac_ext
14702 LIBS=$ac_check_lib_save_LIBS
14704 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14705 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14706 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14707 ESDINCL="$ac_esd_incl"
14709 ESDLIBS="$ac_esd_libs"
14712 cat >>confdefs.h <<\_ACEOF
14713 #define HAVE_ESD 1
14714 _ACEOF
14718 CFLAGS="$save_CFLAGS"
14721 ALSALIBS=""
14723 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14724 then
14725 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14726 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14727 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14728 echo $ECHO_N "(cached) $ECHO_C" >&6
14729 else
14730 ac_check_lib_save_LIBS=$LIBS
14731 LIBS="-lasound $LIBS"
14732 cat >conftest.$ac_ext <<_ACEOF
14733 /* confdefs.h. */
14734 _ACEOF
14735 cat confdefs.h >>conftest.$ac_ext
14736 cat >>conftest.$ac_ext <<_ACEOF
14737 /* end confdefs.h. */
14739 /* Override any GCC internal prototype to avoid an error.
14740 Use char because int might match the return type of a GCC
14741 builtin and then its argument prototype would still apply. */
14742 #ifdef __cplusplus
14743 extern "C"
14744 #endif
14745 char snd_pcm_hw_params_get_access ();
14747 main ()
14749 return snd_pcm_hw_params_get_access ();
14751 return 0;
14753 _ACEOF
14754 rm -f conftest.$ac_objext conftest$ac_exeext
14755 if { (ac_try="$ac_link"
14756 case "(($ac_try" in
14757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14758 *) ac_try_echo=$ac_try;;
14759 esac
14760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14761 (eval "$ac_link") 2>conftest.er1
14762 ac_status=$?
14763 grep -v '^ *+' conftest.er1 >conftest.err
14764 rm -f conftest.er1
14765 cat conftest.err >&5
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); } && {
14768 test -z "$ac_c_werror_flag" ||
14769 test ! -s conftest.err
14770 } && test -s conftest$ac_exeext &&
14771 $as_test_x conftest$ac_exeext; then
14772 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14773 else
14774 echo "$as_me: failed program was:" >&5
14775 sed 's/^/| /' conftest.$ac_ext >&5
14777 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14781 conftest$ac_exeext conftest.$ac_ext
14782 LIBS=$ac_check_lib_save_LIBS
14784 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14785 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14786 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14787 cat >conftest.$ac_ext <<_ACEOF
14788 /* confdefs.h. */
14789 _ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 #ifdef HAVE_ALSA_ASOUNDLIB_H
14794 #include <alsa/asoundlib.h>
14795 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14796 #include <sys/asoundlib.h>
14797 #endif
14799 main ()
14801 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14803 return 0;
14805 _ACEOF
14806 rm -f conftest.$ac_objext
14807 if { (ac_try="$ac_compile"
14808 case "(($ac_try" in
14809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14810 *) ac_try_echo=$ac_try;;
14811 esac
14812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14813 (eval "$ac_compile") 2>conftest.er1
14814 ac_status=$?
14815 grep -v '^ *+' conftest.er1 >conftest.err
14816 rm -f conftest.er1
14817 cat conftest.err >&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); } && {
14820 test -z "$ac_c_werror_flag" ||
14821 test ! -s conftest.err
14822 } && test -s conftest.$ac_objext; then
14824 cat >>confdefs.h <<\_ACEOF
14825 #define HAVE_ALSA 1
14826 _ACEOF
14828 ALSALIBS="-lasound"
14829 else
14830 echo "$as_me: failed program was:" >&5
14831 sed 's/^/| /' conftest.$ac_ext >&5
14836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14841 AUDIOIOLIBS=""
14843 if test "$ac_cv_header_libaudioio_h" = "yes"
14844 then
14845 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14846 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14847 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 else
14850 ac_check_lib_save_LIBS=$LIBS
14851 LIBS="-laudioio $LIBS"
14852 cat >conftest.$ac_ext <<_ACEOF
14853 /* confdefs.h. */
14854 _ACEOF
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14859 /* Override any GCC internal prototype to avoid an error.
14860 Use char because int might match the return type of a GCC
14861 builtin and then its argument prototype would still apply. */
14862 #ifdef __cplusplus
14863 extern "C"
14864 #endif
14865 char AudioIOGetVersion ();
14867 main ()
14869 return AudioIOGetVersion ();
14871 return 0;
14873 _ACEOF
14874 rm -f conftest.$ac_objext conftest$ac_exeext
14875 if { (ac_try="$ac_link"
14876 case "(($ac_try" in
14877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14878 *) ac_try_echo=$ac_try;;
14879 esac
14880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14881 (eval "$ac_link") 2>conftest.er1
14882 ac_status=$?
14883 grep -v '^ *+' conftest.er1 >conftest.err
14884 rm -f conftest.er1
14885 cat conftest.err >&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } && {
14888 test -z "$ac_c_werror_flag" ||
14889 test ! -s conftest.err
14890 } && test -s conftest$ac_exeext &&
14891 $as_test_x conftest$ac_exeext; then
14892 ac_cv_lib_audioio_AudioIOGetVersion=yes
14893 else
14894 echo "$as_me: failed program was:" >&5
14895 sed 's/^/| /' conftest.$ac_ext >&5
14897 ac_cv_lib_audioio_AudioIOGetVersion=no
14900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14901 conftest$ac_exeext conftest.$ac_ext
14902 LIBS=$ac_check_lib_save_LIBS
14904 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14905 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14906 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14907 AUDIOIOLIBS="-laudioio"
14909 cat >>confdefs.h <<\_ACEOF
14910 #define HAVE_LIBAUDIOIO 1
14911 _ACEOF
14918 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14919 then
14920 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14921 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14922 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14923 echo $ECHO_N "(cached) $ECHO_C" >&6
14924 else
14925 ac_check_soname_save_LIBS=$LIBS
14926 LIBS="-lcapi20 $LIBS"
14927 cat >conftest.$ac_ext <<_ACEOF
14928 /* confdefs.h. */
14929 _ACEOF
14930 cat confdefs.h >>conftest.$ac_ext
14931 cat >>conftest.$ac_ext <<_ACEOF
14932 /* end confdefs.h. */
14934 /* Override any GCC internal prototype to avoid an error.
14935 Use char because int might match the return type of a GCC
14936 builtin and then its argument prototype would still apply. */
14937 #ifdef __cplusplus
14938 extern "C"
14939 #endif
14940 char capi20_register ();
14942 main ()
14944 return capi20_register ();
14946 return 0;
14948 _ACEOF
14949 rm -f conftest.$ac_objext conftest$ac_exeext
14950 if { (ac_try="$ac_link"
14951 case "(($ac_try" in
14952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14953 *) ac_try_echo=$ac_try;;
14954 esac
14955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14956 (eval "$ac_link") 2>conftest.er1
14957 ac_status=$?
14958 grep -v '^ *+' conftest.er1 >conftest.err
14959 rm -f conftest.er1
14960 cat conftest.err >&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); } && {
14963 test -z "$ac_c_werror_flag" ||
14964 test ! -s conftest.err
14965 } && test -s conftest$ac_exeext &&
14966 $as_test_x conftest$ac_exeext; then
14967 case "$LIBEXT" in
14968 dll) ;;
14969 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'` ;;
14970 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14971 esac
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14980 conftest$ac_exeext conftest.$ac_ext
14981 LIBS=$ac_check_soname_save_LIBS
14983 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14984 { echo "$as_me:$LINENO: result: not found" >&5
14985 echo "${ECHO_T}not found" >&6; }
14987 else
14988 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14989 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14991 cat >>confdefs.h <<_ACEOF
14992 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14993 _ACEOF
14999 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15000 case "x$with_capi" in
15001 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15002 xno) ;;
15003 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15004 This is an error since --with-capi was requested." >&5
15005 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15006 This is an error since --with-capi was requested." >&2;}
15007 { (exit 1); exit 1; }; } ;;
15008 esac
15012 CUPSINCL=""
15014 if test "x$with_cups" != "xno"
15015 then
15016 ac_save_CPPFLAGS="$CPPFLAGS"
15017 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
15018 ac_cups_libs="`cups-config --ldflags 2>/dev/null` `cups-config --libs 2>/dev/null`"
15019 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
15021 for ac_header in cups/cups.h
15023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15025 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15027 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 ac_res=`eval echo '${'$as_ac_Header'}'`
15031 { echo "$as_me:$LINENO: result: $ac_res" >&5
15032 echo "${ECHO_T}$ac_res" >&6; }
15033 else
15034 # Is the header compilable?
15035 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15036 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15037 cat >conftest.$ac_ext <<_ACEOF
15038 /* confdefs.h. */
15039 _ACEOF
15040 cat confdefs.h >>conftest.$ac_ext
15041 cat >>conftest.$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043 $ac_includes_default
15044 #include <$ac_header>
15045 _ACEOF
15046 rm -f conftest.$ac_objext
15047 if { (ac_try="$ac_compile"
15048 case "(($ac_try" in
15049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15050 *) ac_try_echo=$ac_try;;
15051 esac
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_compile") 2>conftest.er1
15054 ac_status=$?
15055 grep -v '^ *+' conftest.er1 >conftest.err
15056 rm -f conftest.er1
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err
15062 } && test -s conftest.$ac_objext; then
15063 ac_header_compiler=yes
15064 else
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15068 ac_header_compiler=no
15071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15072 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15073 echo "${ECHO_T}$ac_header_compiler" >&6; }
15075 # Is the header present?
15076 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15078 cat >conftest.$ac_ext <<_ACEOF
15079 /* confdefs.h. */
15080 _ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15084 #include <$ac_header>
15085 _ACEOF
15086 if { (ac_try="$ac_cpp conftest.$ac_ext"
15087 case "(($ac_try" in
15088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15089 *) ac_try_echo=$ac_try;;
15090 esac
15091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15092 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15093 ac_status=$?
15094 grep -v '^ *+' conftest.er1 >conftest.err
15095 rm -f conftest.er1
15096 cat conftest.err >&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); } >/dev/null && {
15099 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15100 test ! -s conftest.err
15101 }; then
15102 ac_header_preproc=yes
15103 else
15104 echo "$as_me: failed program was:" >&5
15105 sed 's/^/| /' conftest.$ac_ext >&5
15107 ac_header_preproc=no
15110 rm -f conftest.err conftest.$ac_ext
15111 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15112 echo "${ECHO_T}$ac_header_preproc" >&6; }
15114 # So? What about this header?
15115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15116 yes:no: )
15117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15121 ac_header_preproc=yes
15123 no:yes:* )
15124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15127 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15131 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15136 ( cat <<\_ASBOX
15137 ## ------------------------------------ ##
15138 ## Report this to wine-devel@winehq.org ##
15139 ## ------------------------------------ ##
15140 _ASBOX
15141 ) | sed "s/^/$as_me: WARNING: /" >&2
15143 esac
15144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else
15149 eval "$as_ac_Header=\$ac_header_preproc"
15151 ac_res=`eval echo '${'$as_ac_Header'}'`
15152 { echo "$as_me:$LINENO: result: $ac_res" >&5
15153 echo "${ECHO_T}$ac_res" >&6; }
15156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15157 cat >>confdefs.h <<_ACEOF
15158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15159 _ACEOF
15160 { echo "$as_me:$LINENO: checking for -lcups" >&5
15161 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15162 if test "${ac_cv_lib_soname_cups+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 else
15165 ac_check_soname_save_LIBS=$LIBS
15166 LIBS="-lcups $ac_cups_libs $LIBS"
15167 cat >conftest.$ac_ext <<_ACEOF
15168 /* confdefs.h. */
15169 _ACEOF
15170 cat confdefs.h >>conftest.$ac_ext
15171 cat >>conftest.$ac_ext <<_ACEOF
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15177 #ifdef __cplusplus
15178 extern "C"
15179 #endif
15180 char cupsGetDefault ();
15182 main ()
15184 return cupsGetDefault ();
15186 return 0;
15188 _ACEOF
15189 rm -f conftest.$ac_objext conftest$ac_exeext
15190 if { (ac_try="$ac_link"
15191 case "(($ac_try" in
15192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15193 *) ac_try_echo=$ac_try;;
15194 esac
15195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15196 (eval "$ac_link") 2>conftest.er1
15197 ac_status=$?
15198 grep -v '^ *+' conftest.er1 >conftest.err
15199 rm -f conftest.er1
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } && {
15203 test -z "$ac_c_werror_flag" ||
15204 test ! -s conftest.err
15205 } && test -s conftest$ac_exeext &&
15206 $as_test_x conftest$ac_exeext; then
15207 case "$LIBEXT" in
15208 dll) ;;
15209 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'` ;;
15210 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15211 esac
15212 else
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15220 conftest$ac_exeext conftest.$ac_ext
15221 LIBS=$ac_check_soname_save_LIBS
15223 if test "x$ac_cv_lib_soname_cups" = "x"; then
15224 { echo "$as_me:$LINENO: result: not found" >&5
15225 echo "${ECHO_T}not found" >&6; }
15227 else
15228 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15229 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15231 cat >>confdefs.h <<_ACEOF
15232 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15233 _ACEOF
15235 CUPSINCL="$ac_cups_cflags"
15240 done
15242 CPPFLAGS="$ac_save_CPPFLAGS"
15244 if test "x$ac_cv_lib_soname_cups" = "x"; then
15245 case "x$with_cups" in
15246 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15247 xno) ;;
15248 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15249 This is an error since --with-cups was requested." >&5
15250 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15251 This is an error since --with-cups was requested." >&2;}
15252 { (exit 1); exit 1; }; } ;;
15253 esac
15257 if test "$ac_cv_header_jack_jack_h" = "yes"
15258 then
15259 { echo "$as_me:$LINENO: checking for -ljack" >&5
15260 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15261 if test "${ac_cv_lib_soname_jack+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 else
15264 ac_check_soname_save_LIBS=$LIBS
15265 LIBS="-ljack $LIBS"
15266 cat >conftest.$ac_ext <<_ACEOF
15267 /* confdefs.h. */
15268 _ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15273 /* Override any GCC internal prototype to avoid an error.
15274 Use char because int might match the return type of a GCC
15275 builtin and then its argument prototype would still apply. */
15276 #ifdef __cplusplus
15277 extern "C"
15278 #endif
15279 char jack_client_new ();
15281 main ()
15283 return jack_client_new ();
15285 return 0;
15287 _ACEOF
15288 rm -f conftest.$ac_objext conftest$ac_exeext
15289 if { (ac_try="$ac_link"
15290 case "(($ac_try" in
15291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15292 *) ac_try_echo=$ac_try;;
15293 esac
15294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15295 (eval "$ac_link") 2>conftest.er1
15296 ac_status=$?
15297 grep -v '^ *+' conftest.er1 >conftest.err
15298 rm -f conftest.er1
15299 cat conftest.err >&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); } && {
15302 test -z "$ac_c_werror_flag" ||
15303 test ! -s conftest.err
15304 } && test -s conftest$ac_exeext &&
15305 $as_test_x conftest$ac_exeext; then
15306 case "$LIBEXT" in
15307 dll) ;;
15308 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'` ;;
15309 *) 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'` ;;
15310 esac
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15319 conftest$ac_exeext conftest.$ac_ext
15320 LIBS=$ac_check_soname_save_LIBS
15322 if test "x$ac_cv_lib_soname_jack" = "x"; then
15323 { echo "$as_me:$LINENO: result: not found" >&5
15324 echo "${ECHO_T}not found" >&6; }
15326 else
15327 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15328 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15330 cat >>confdefs.h <<_ACEOF
15331 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15332 _ACEOF
15339 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15340 then
15341 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15342 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15343 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15344 echo $ECHO_N "(cached) $ECHO_C" >&6
15345 else
15346 ac_check_soname_save_LIBS=$LIBS
15347 LIBS="-lfontconfig $LIBS"
15348 cat >conftest.$ac_ext <<_ACEOF
15349 /* confdefs.h. */
15350 _ACEOF
15351 cat confdefs.h >>conftest.$ac_ext
15352 cat >>conftest.$ac_ext <<_ACEOF
15353 /* end confdefs.h. */
15355 /* Override any GCC internal prototype to avoid an error.
15356 Use char because int might match the return type of a GCC
15357 builtin and then its argument prototype would still apply. */
15358 #ifdef __cplusplus
15359 extern "C"
15360 #endif
15361 char FcInit ();
15363 main ()
15365 return FcInit ();
15367 return 0;
15369 _ACEOF
15370 rm -f conftest.$ac_objext conftest$ac_exeext
15371 if { (ac_try="$ac_link"
15372 case "(($ac_try" in
15373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15374 *) ac_try_echo=$ac_try;;
15375 esac
15376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15377 (eval "$ac_link") 2>conftest.er1
15378 ac_status=$?
15379 grep -v '^ *+' conftest.er1 >conftest.err
15380 rm -f conftest.er1
15381 cat conftest.err >&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } && {
15384 test -z "$ac_c_werror_flag" ||
15385 test ! -s conftest.err
15386 } && test -s conftest$ac_exeext &&
15387 $as_test_x conftest$ac_exeext; then
15388 case "$LIBEXT" in
15389 dll) ;;
15390 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'` ;;
15391 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15392 esac
15393 else
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.$ac_ext >&5
15400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15401 conftest$ac_exeext conftest.$ac_ext
15402 LIBS=$ac_check_soname_save_LIBS
15404 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15405 { echo "$as_me:$LINENO: result: not found" >&5
15406 echo "${ECHO_T}not found" >&6; }
15408 else
15409 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15410 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15412 cat >>confdefs.h <<_ACEOF
15413 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15414 _ACEOF
15419 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15420 then
15421 ac_save_CPPFLAGS="$CPPFLAGS"
15422 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15423 $as_unset ac_cv_header_fontconfig_fontconfig_h
15425 for ac_header in fontconfig/fontconfig.h
15427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15429 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15431 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15432 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 ac_res=`eval echo '${'$as_ac_Header'}'`
15435 { echo "$as_me:$LINENO: result: $ac_res" >&5
15436 echo "${ECHO_T}$ac_res" >&6; }
15437 else
15438 # Is the header compilable?
15439 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15441 cat >conftest.$ac_ext <<_ACEOF
15442 /* confdefs.h. */
15443 _ACEOF
15444 cat confdefs.h >>conftest.$ac_ext
15445 cat >>conftest.$ac_ext <<_ACEOF
15446 /* end confdefs.h. */
15447 $ac_includes_default
15448 #include <$ac_header>
15449 _ACEOF
15450 rm -f conftest.$ac_objext
15451 if { (ac_try="$ac_compile"
15452 case "(($ac_try" in
15453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15454 *) ac_try_echo=$ac_try;;
15455 esac
15456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15457 (eval "$ac_compile") 2>conftest.er1
15458 ac_status=$?
15459 grep -v '^ *+' conftest.er1 >conftest.err
15460 rm -f conftest.er1
15461 cat conftest.err >&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } && {
15464 test -z "$ac_c_werror_flag" ||
15465 test ! -s conftest.err
15466 } && test -s conftest.$ac_objext; then
15467 ac_header_compiler=yes
15468 else
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15472 ac_header_compiler=no
15475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15476 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15477 echo "${ECHO_T}$ac_header_compiler" >&6; }
15479 # Is the header present?
15480 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15482 cat >conftest.$ac_ext <<_ACEOF
15483 /* confdefs.h. */
15484 _ACEOF
15485 cat confdefs.h >>conftest.$ac_ext
15486 cat >>conftest.$ac_ext <<_ACEOF
15487 /* end confdefs.h. */
15488 #include <$ac_header>
15489 _ACEOF
15490 if { (ac_try="$ac_cpp conftest.$ac_ext"
15491 case "(($ac_try" in
15492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15494 esac
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15497 ac_status=$?
15498 grep -v '^ *+' conftest.er1 >conftest.err
15499 rm -f conftest.er1
15500 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } >/dev/null && {
15503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15504 test ! -s conftest.err
15505 }; then
15506 ac_header_preproc=yes
15507 else
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.$ac_ext >&5
15511 ac_header_preproc=no
15514 rm -f conftest.err conftest.$ac_ext
15515 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15516 echo "${ECHO_T}$ac_header_preproc" >&6; }
15518 # So? What about this header?
15519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15520 yes:no: )
15521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15525 ac_header_preproc=yes
15527 no:yes:* )
15528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15540 ( cat <<\_ASBOX
15541 ## ------------------------------------ ##
15542 ## Report this to wine-devel@winehq.org ##
15543 ## ------------------------------------ ##
15544 _ASBOX
15545 ) | sed "s/^/$as_me: WARNING: /" >&2
15547 esac
15548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15552 else
15553 eval "$as_ac_Header=\$ac_header_preproc"
15555 ac_res=`eval echo '${'$as_ac_Header'}'`
15556 { echo "$as_me:$LINENO: result: $ac_res" >&5
15557 echo "${ECHO_T}$ac_res" >&6; }
15560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15561 cat >>confdefs.h <<_ACEOF
15562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15563 _ACEOF
15567 done
15569 CPPFLAGS="$ac_save_CPPFLAGS"
15570 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15571 then
15572 FONTCONFIGINCL="$X_CFLAGS"
15574 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15575 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15576 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15578 else
15579 ac_check_soname_save_LIBS=$LIBS
15580 LIBS="-lfontconfig $X_LIBS $LIBS"
15581 cat >conftest.$ac_ext <<_ACEOF
15582 /* confdefs.h. */
15583 _ACEOF
15584 cat confdefs.h >>conftest.$ac_ext
15585 cat >>conftest.$ac_ext <<_ACEOF
15586 /* end confdefs.h. */
15588 /* Override any GCC internal prototype to avoid an error.
15589 Use char because int might match the return type of a GCC
15590 builtin and then its argument prototype would still apply. */
15591 #ifdef __cplusplus
15592 extern "C"
15593 #endif
15594 char FcInit ();
15596 main ()
15598 return FcInit ();
15600 return 0;
15602 _ACEOF
15603 rm -f conftest.$ac_objext conftest$ac_exeext
15604 if { (ac_try="$ac_link"
15605 case "(($ac_try" in
15606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15607 *) ac_try_echo=$ac_try;;
15608 esac
15609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15610 (eval "$ac_link") 2>conftest.er1
15611 ac_status=$?
15612 grep -v '^ *+' conftest.er1 >conftest.err
15613 rm -f conftest.er1
15614 cat conftest.err >&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } && {
15617 test -z "$ac_c_werror_flag" ||
15618 test ! -s conftest.err
15619 } && test -s conftest$ac_exeext &&
15620 $as_test_x conftest$ac_exeext; then
15621 case "$LIBEXT" in
15622 dll) ;;
15623 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'` ;;
15624 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15625 esac
15626 else
15627 echo "$as_me: failed program was:" >&5
15628 sed 's/^/| /' conftest.$ac_ext >&5
15633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15634 conftest$ac_exeext conftest.$ac_ext
15635 LIBS=$ac_check_soname_save_LIBS
15637 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15638 { echo "$as_me:$LINENO: result: not found" >&5
15639 echo "${ECHO_T}not found" >&6; }
15641 else
15642 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15643 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15645 cat >>confdefs.h <<_ACEOF
15646 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15647 _ACEOF
15654 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15655 case "x$with_fontconfig" in
15656 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15657 xno) ;;
15658 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15659 This is an error since --with-fontconfig was requested." >&5
15660 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15661 This is an error since --with-fontconfig was requested." >&2;}
15662 { (exit 1); exit 1; }; } ;;
15663 esac
15667 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15668 then
15669 { echo "$as_me:$LINENO: checking for -lssl" >&5
15670 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15671 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15672 echo $ECHO_N "(cached) $ECHO_C" >&6
15673 else
15674 ac_check_soname_save_LIBS=$LIBS
15675 LIBS="-lssl $LIBS"
15676 cat >conftest.$ac_ext <<_ACEOF
15677 /* confdefs.h. */
15678 _ACEOF
15679 cat confdefs.h >>conftest.$ac_ext
15680 cat >>conftest.$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15683 /* Override any GCC internal prototype to avoid an error.
15684 Use char because int might match the return type of a GCC
15685 builtin and then its argument prototype would still apply. */
15686 #ifdef __cplusplus
15687 extern "C"
15688 #endif
15689 char SSL_library_init ();
15691 main ()
15693 return SSL_library_init ();
15695 return 0;
15697 _ACEOF
15698 rm -f conftest.$ac_objext conftest$ac_exeext
15699 if { (ac_try="$ac_link"
15700 case "(($ac_try" in
15701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15702 *) ac_try_echo=$ac_try;;
15703 esac
15704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15705 (eval "$ac_link") 2>conftest.er1
15706 ac_status=$?
15707 grep -v '^ *+' conftest.er1 >conftest.err
15708 rm -f conftest.er1
15709 cat conftest.err >&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } && {
15712 test -z "$ac_c_werror_flag" ||
15713 test ! -s conftest.err
15714 } && test -s conftest$ac_exeext &&
15715 $as_test_x conftest$ac_exeext; then
15716 case "$LIBEXT" in
15717 dll) ;;
15718 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'` ;;
15719 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15720 esac
15721 else
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15729 conftest$ac_exeext conftest.$ac_ext
15730 LIBS=$ac_check_soname_save_LIBS
15732 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15733 { echo "$as_me:$LINENO: result: not found" >&5
15734 echo "${ECHO_T}not found" >&6; }
15736 else
15737 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15738 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15740 cat >>confdefs.h <<_ACEOF
15741 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15742 _ACEOF
15747 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15748 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15749 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15750 echo $ECHO_N "(cached) $ECHO_C" >&6
15751 else
15752 ac_check_soname_save_LIBS=$LIBS
15753 LIBS="-lcrypto $LIBS"
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15761 /* Override any GCC internal prototype to avoid an error.
15762 Use char because int might match the return type of a GCC
15763 builtin and then its argument prototype would still apply. */
15764 #ifdef __cplusplus
15765 extern "C"
15766 #endif
15767 char BIO_new_socket ();
15769 main ()
15771 return BIO_new_socket ();
15773 return 0;
15775 _ACEOF
15776 rm -f conftest.$ac_objext conftest$ac_exeext
15777 if { (ac_try="$ac_link"
15778 case "(($ac_try" in
15779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15780 *) ac_try_echo=$ac_try;;
15781 esac
15782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15783 (eval "$ac_link") 2>conftest.er1
15784 ac_status=$?
15785 grep -v '^ *+' conftest.er1 >conftest.err
15786 rm -f conftest.er1
15787 cat conftest.err >&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } && {
15790 test -z "$ac_c_werror_flag" ||
15791 test ! -s conftest.err
15792 } && test -s conftest$ac_exeext &&
15793 $as_test_x conftest$ac_exeext; then
15794 case "$LIBEXT" in
15795 dll) ;;
15796 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'` ;;
15797 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15798 esac
15799 else
15800 echo "$as_me: failed program was:" >&5
15801 sed 's/^/| /' conftest.$ac_ext >&5
15806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15807 conftest$ac_exeext conftest.$ac_ext
15808 LIBS=$ac_check_soname_save_LIBS
15810 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15811 { echo "$as_me:$LINENO: result: not found" >&5
15812 echo "${ECHO_T}not found" >&6; }
15814 else
15815 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15816 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15818 cat >>confdefs.h <<_ACEOF
15819 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15820 _ACEOF
15826 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15827 case "x$with_openssl" in
15828 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15829 xno) ;;
15830 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15831 This is an error since --with-openssl was requested." >&5
15832 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15833 This is an error since --with-openssl was requested." >&2;}
15834 { (exit 1); exit 1; }; } ;;
15835 esac
15839 if test "$ac_cv_header_jpeglib_h" = "yes"
15840 then
15841 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15842 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15843 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15844 echo $ECHO_N "(cached) $ECHO_C" >&6
15845 else
15846 ac_check_soname_save_LIBS=$LIBS
15847 LIBS="-ljpeg $LIBS"
15848 cat >conftest.$ac_ext <<_ACEOF
15849 /* confdefs.h. */
15850 _ACEOF
15851 cat confdefs.h >>conftest.$ac_ext
15852 cat >>conftest.$ac_ext <<_ACEOF
15853 /* end confdefs.h. */
15855 /* Override any GCC internal prototype to avoid an error.
15856 Use char because int might match the return type of a GCC
15857 builtin and then its argument prototype would still apply. */
15858 #ifdef __cplusplus
15859 extern "C"
15860 #endif
15861 char jpeg_start_decompress ();
15863 main ()
15865 return jpeg_start_decompress ();
15867 return 0;
15869 _ACEOF
15870 rm -f conftest.$ac_objext conftest$ac_exeext
15871 if { (ac_try="$ac_link"
15872 case "(($ac_try" in
15873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15874 *) ac_try_echo=$ac_try;;
15875 esac
15876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15877 (eval "$ac_link") 2>conftest.er1
15878 ac_status=$?
15879 grep -v '^ *+' conftest.er1 >conftest.err
15880 rm -f conftest.er1
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); } && {
15884 test -z "$ac_c_werror_flag" ||
15885 test ! -s conftest.err
15886 } && test -s conftest$ac_exeext &&
15887 $as_test_x conftest$ac_exeext; then
15888 case "$LIBEXT" in
15889 dll) ;;
15890 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'` ;;
15891 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15892 esac
15893 else
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15901 conftest$ac_exeext conftest.$ac_ext
15902 LIBS=$ac_check_soname_save_LIBS
15904 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15905 { echo "$as_me:$LINENO: result: not found" >&5
15906 echo "${ECHO_T}not found" >&6; }
15908 else
15909 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15910 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15912 cat >>confdefs.h <<_ACEOF
15913 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15914 _ACEOF
15920 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15921 case "x$with_jpeg" in
15922 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15923 xno) ;;
15924 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15925 This is an error since --with-jpeg was requested." >&5
15926 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15927 This is an error since --with-jpeg was requested." >&2;}
15928 { (exit 1); exit 1; }; } ;;
15929 esac
15933 if test "$ac_cv_header_png_h" = "yes"
15934 then
15935 { echo "$as_me:$LINENO: checking for -lpng" >&5
15936 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15937 if test "${ac_cv_lib_soname_png+set}" = set; then
15938 echo $ECHO_N "(cached) $ECHO_C" >&6
15939 else
15940 ac_check_soname_save_LIBS=$LIBS
15941 LIBS="-lpng -lm $LIBS"
15942 cat >conftest.$ac_ext <<_ACEOF
15943 /* confdefs.h. */
15944 _ACEOF
15945 cat confdefs.h >>conftest.$ac_ext
15946 cat >>conftest.$ac_ext <<_ACEOF
15947 /* end confdefs.h. */
15949 /* Override any GCC internal prototype to avoid an error.
15950 Use char because int might match the return type of a GCC
15951 builtin and then its argument prototype would still apply. */
15952 #ifdef __cplusplus
15953 extern "C"
15954 #endif
15955 char png_create_read_struct ();
15957 main ()
15959 return png_create_read_struct ();
15961 return 0;
15963 _ACEOF
15964 rm -f conftest.$ac_objext conftest$ac_exeext
15965 if { (ac_try="$ac_link"
15966 case "(($ac_try" in
15967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15968 *) ac_try_echo=$ac_try;;
15969 esac
15970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15971 (eval "$ac_link") 2>conftest.er1
15972 ac_status=$?
15973 grep -v '^ *+' conftest.er1 >conftest.err
15974 rm -f conftest.er1
15975 cat conftest.err >&5
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); } && {
15978 test -z "$ac_c_werror_flag" ||
15979 test ! -s conftest.err
15980 } && test -s conftest$ac_exeext &&
15981 $as_test_x conftest$ac_exeext; then
15982 case "$LIBEXT" in
15983 dll) ;;
15984 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'` ;;
15985 *) 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'` ;;
15986 esac
15987 else
15988 echo "$as_me: failed program was:" >&5
15989 sed 's/^/| /' conftest.$ac_ext >&5
15994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15995 conftest$ac_exeext conftest.$ac_ext
15996 LIBS=$ac_check_soname_save_LIBS
15998 if test "x$ac_cv_lib_soname_png" = "x"; then
15999 { echo "$as_me:$LINENO: result: not found" >&5
16000 echo "${ECHO_T}not found" >&6; }
16002 else
16003 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16004 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16006 cat >>confdefs.h <<_ACEOF
16007 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16008 _ACEOF
16014 if test "x$ac_cv_lib_soname_png" = "x"; then
16015 case "x$with_png" in
16016 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16017 xno) ;;
16018 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16019 This is an error since --with-png was requested." >&5
16020 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16021 This is an error since --with-png was requested." >&2;}
16022 { (exit 1); exit 1; }; } ;;
16023 esac
16027 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16028 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16029 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16030 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 else
16032 ac_check_soname_save_LIBS=$LIBS
16033 LIBS="-lodbc $LIBS"
16034 cat >conftest.$ac_ext <<_ACEOF
16035 /* confdefs.h. */
16036 _ACEOF
16037 cat confdefs.h >>conftest.$ac_ext
16038 cat >>conftest.$ac_ext <<_ACEOF
16039 /* end confdefs.h. */
16041 /* Override any GCC internal prototype to avoid an error.
16042 Use char because int might match the return type of a GCC
16043 builtin and then its argument prototype would still apply. */
16044 #ifdef __cplusplus
16045 extern "C"
16046 #endif
16047 char SQLConnect ();
16049 main ()
16051 return SQLConnect ();
16053 return 0;
16055 _ACEOF
16056 rm -f conftest.$ac_objext conftest$ac_exeext
16057 if { (ac_try="$ac_link"
16058 case "(($ac_try" in
16059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16060 *) ac_try_echo=$ac_try;;
16061 esac
16062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063 (eval "$ac_link") 2>conftest.er1
16064 ac_status=$?
16065 grep -v '^ *+' conftest.er1 >conftest.err
16066 rm -f conftest.er1
16067 cat conftest.err >&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } && {
16070 test -z "$ac_c_werror_flag" ||
16071 test ! -s conftest.err
16072 } && test -s conftest$ac_exeext &&
16073 $as_test_x conftest$ac_exeext; then
16074 case "$LIBEXT" in
16075 dll) ;;
16076 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'` ;;
16077 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16078 esac
16079 else
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16087 conftest$ac_exeext conftest.$ac_ext
16088 LIBS=$ac_check_soname_save_LIBS
16090 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16091 { echo "$as_me:$LINENO: result: not found" >&5
16092 echo "${ECHO_T}not found" >&6; }
16093 cat >>confdefs.h <<_ACEOF
16094 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16095 _ACEOF
16097 else
16098 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16099 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16101 cat >>confdefs.h <<_ACEOF
16102 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16103 _ACEOF
16109 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16110 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16111 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16112 "$ac_cv_header_soundcard_h" != "yes" -a \
16113 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16114 then
16115 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16119 EXTRACFLAGS=""
16121 if test "x${GCC}" = "xyes"
16122 then
16123 EXTRACFLAGS="-Wall -pipe"
16125 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16126 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16127 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16128 echo $ECHO_N "(cached) $ECHO_C" >&6
16129 else
16130 if test "$cross_compiling" = yes; then
16131 ac_cv_c_gcc_strength_bug="yes"
16132 else
16133 cat >conftest.$ac_ext <<_ACEOF
16134 /* confdefs.h. */
16135 _ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139 int L[4] = {0,1,2,3};
16141 main ()
16143 static int Array[3];
16144 unsigned int B = 3;
16145 int i;
16146 for(i=0; i<B; i++) Array[i] = i - 3;
16147 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16148 L[i] = 4;
16149 exit( Array[1] != -2 || L[2] != 3)
16151 return 0;
16153 _ACEOF
16154 rm -f conftest$ac_exeext
16155 if { (ac_try="$ac_link"
16156 case "(($ac_try" in
16157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16158 *) ac_try_echo=$ac_try;;
16159 esac
16160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16161 (eval "$ac_link") 2>&5
16162 ac_status=$?
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16165 { (case "(($ac_try" in
16166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16167 *) ac_try_echo=$ac_try;;
16168 esac
16169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16170 (eval "$ac_try") 2>&5
16171 ac_status=$?
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); }; }; then
16174 ac_cv_c_gcc_strength_bug="no"
16175 else
16176 echo "$as_me: program exited with status $ac_status" >&5
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 ( exit $ac_status )
16181 ac_cv_c_gcc_strength_bug="yes"
16183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16188 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16189 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16190 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16191 then
16192 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16196 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16197 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16198 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16199 echo $ECHO_N "(cached) $ECHO_C" >&6
16200 else
16201 ac_wine_try_cflags_saved=$CFLAGS
16202 CFLAGS="$CFLAGS -fshort-wchar"
16203 cat >conftest.$ac_ext <<_ACEOF
16204 /* confdefs.h. */
16205 _ACEOF
16206 cat confdefs.h >>conftest.$ac_ext
16207 cat >>conftest.$ac_ext <<_ACEOF
16208 /* end confdefs.h. */
16211 main ()
16215 return 0;
16217 _ACEOF
16218 rm -f conftest.$ac_objext conftest$ac_exeext
16219 if { (ac_try="$ac_link"
16220 case "(($ac_try" in
16221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16222 *) ac_try_echo=$ac_try;;
16223 esac
16224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16225 (eval "$ac_link") 2>conftest.er1
16226 ac_status=$?
16227 grep -v '^ *+' conftest.er1 >conftest.err
16228 rm -f conftest.er1
16229 cat conftest.err >&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } && {
16232 test -z "$ac_c_werror_flag" ||
16233 test ! -s conftest.err
16234 } && test -s conftest$ac_exeext &&
16235 $as_test_x conftest$ac_exeext; then
16236 ac_cv_cflags__fshort_wchar=yes
16237 else
16238 echo "$as_me: failed program was:" >&5
16239 sed 's/^/| /' conftest.$ac_ext >&5
16241 ac_cv_cflags__fshort_wchar=no
16244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16245 conftest$ac_exeext conftest.$ac_ext
16246 CFLAGS=$ac_wine_try_cflags_saved
16248 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16249 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16250 if test $ac_cv_cflags__fshort_wchar = yes; then
16252 cat >>confdefs.h <<\_ACEOF
16253 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16254 _ACEOF
16258 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16259 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16260 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16262 else
16263 ac_wine_try_cflags_saved=$CFLAGS
16264 CFLAGS="$CFLAGS -fno-strict-aliasing"
16265 cat >conftest.$ac_ext <<_ACEOF
16266 /* confdefs.h. */
16267 _ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16273 main ()
16277 return 0;
16279 _ACEOF
16280 rm -f conftest.$ac_objext conftest$ac_exeext
16281 if { (ac_try="$ac_link"
16282 case "(($ac_try" in
16283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16284 *) ac_try_echo=$ac_try;;
16285 esac
16286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16287 (eval "$ac_link") 2>conftest.er1
16288 ac_status=$?
16289 grep -v '^ *+' conftest.er1 >conftest.err
16290 rm -f conftest.er1
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } && {
16294 test -z "$ac_c_werror_flag" ||
16295 test ! -s conftest.err
16296 } && test -s conftest$ac_exeext &&
16297 $as_test_x conftest$ac_exeext; then
16298 ac_cv_cflags__fno_strict_aliasing=yes
16299 else
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16303 ac_cv_cflags__fno_strict_aliasing=no
16306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16307 conftest$ac_exeext conftest.$ac_ext
16308 CFLAGS=$ac_wine_try_cflags_saved
16310 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16311 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16312 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16313 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16316 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16317 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16318 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16319 echo $ECHO_N "(cached) $ECHO_C" >&6
16320 else
16321 ac_wine_try_cflags_saved=$CFLAGS
16322 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16323 cat >conftest.$ac_ext <<_ACEOF
16324 /* confdefs.h. */
16325 _ACEOF
16326 cat confdefs.h >>conftest.$ac_ext
16327 cat >>conftest.$ac_ext <<_ACEOF
16328 /* end confdefs.h. */
16331 main ()
16335 return 0;
16337 _ACEOF
16338 rm -f conftest.$ac_objext conftest$ac_exeext
16339 if { (ac_try="$ac_link"
16340 case "(($ac_try" in
16341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16342 *) ac_try_echo=$ac_try;;
16343 esac
16344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16345 (eval "$ac_link") 2>conftest.er1
16346 ac_status=$?
16347 grep -v '^ *+' conftest.er1 >conftest.err
16348 rm -f conftest.er1
16349 cat conftest.err >&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } && {
16352 test -z "$ac_c_werror_flag" ||
16353 test ! -s conftest.err
16354 } && test -s conftest$ac_exeext &&
16355 $as_test_x conftest$ac_exeext; then
16356 ac_cv_cflags__Wdeclaration_after_statement=yes
16357 else
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16361 ac_cv_cflags__Wdeclaration_after_statement=no
16364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16365 conftest$ac_exeext conftest.$ac_ext
16366 CFLAGS=$ac_wine_try_cflags_saved
16368 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16369 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16370 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16371 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16374 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16375 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16376 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6
16378 else
16379 ac_wine_try_cflags_saved=$CFLAGS
16380 CFLAGS="$CFLAGS -Wwrite-strings"
16381 cat >conftest.$ac_ext <<_ACEOF
16382 /* confdefs.h. */
16383 _ACEOF
16384 cat confdefs.h >>conftest.$ac_ext
16385 cat >>conftest.$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16389 main ()
16393 return 0;
16395 _ACEOF
16396 rm -f conftest.$ac_objext conftest$ac_exeext
16397 if { (ac_try="$ac_link"
16398 case "(($ac_try" in
16399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16400 *) ac_try_echo=$ac_try;;
16401 esac
16402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16403 (eval "$ac_link") 2>conftest.er1
16404 ac_status=$?
16405 grep -v '^ *+' conftest.er1 >conftest.err
16406 rm -f conftest.er1
16407 cat conftest.err >&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } && {
16410 test -z "$ac_c_werror_flag" ||
16411 test ! -s conftest.err
16412 } && test -s conftest$ac_exeext &&
16413 $as_test_x conftest$ac_exeext; then
16414 ac_cv_cflags__Wwrite_strings=yes
16415 else
16416 echo "$as_me: failed program was:" >&5
16417 sed 's/^/| /' conftest.$ac_ext >&5
16419 ac_cv_cflags__Wwrite_strings=no
16422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16423 conftest$ac_exeext conftest.$ac_ext
16424 CFLAGS=$ac_wine_try_cflags_saved
16426 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16427 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16428 if test $ac_cv_cflags__Wwrite_strings = yes; then
16429 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16432 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16433 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16434 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16435 echo $ECHO_N "(cached) $ECHO_C" >&6
16436 else
16437 ac_wine_try_cflags_saved=$CFLAGS
16438 CFLAGS="$CFLAGS -Wtype-limits"
16439 cat >conftest.$ac_ext <<_ACEOF
16440 /* confdefs.h. */
16441 _ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16447 main ()
16451 return 0;
16453 _ACEOF
16454 rm -f conftest.$ac_objext conftest$ac_exeext
16455 if { (ac_try="$ac_link"
16456 case "(($ac_try" in
16457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16458 *) ac_try_echo=$ac_try;;
16459 esac
16460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16461 (eval "$ac_link") 2>conftest.er1
16462 ac_status=$?
16463 grep -v '^ *+' conftest.er1 >conftest.err
16464 rm -f conftest.er1
16465 cat conftest.err >&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } && {
16468 test -z "$ac_c_werror_flag" ||
16469 test ! -s conftest.err
16470 } && test -s conftest$ac_exeext &&
16471 $as_test_x conftest$ac_exeext; then
16472 ac_cv_cflags__Wtype_limits=yes
16473 else
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.$ac_ext >&5
16477 ac_cv_cflags__Wtype_limits=no
16480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16481 conftest$ac_exeext conftest.$ac_ext
16482 CFLAGS=$ac_wine_try_cflags_saved
16484 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16485 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16486 if test $ac_cv_cflags__Wtype_limits = yes; then
16487 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16491 saved_CFLAGS="$CFLAGS"
16492 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16493 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16494 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16495 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16496 echo $ECHO_N "(cached) $ECHO_C" >&6
16497 else
16498 cat >conftest.$ac_ext <<_ACEOF
16499 /* confdefs.h. */
16500 _ACEOF
16501 cat confdefs.h >>conftest.$ac_ext
16502 cat >>conftest.$ac_ext <<_ACEOF
16503 /* end confdefs.h. */
16504 #include <string.h>
16506 main ()
16510 return 0;
16512 _ACEOF
16513 rm -f conftest.$ac_objext
16514 if { (ac_try="$ac_compile"
16515 case "(($ac_try" in
16516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16517 *) ac_try_echo=$ac_try;;
16518 esac
16519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16520 (eval "$ac_compile") 2>conftest.er1
16521 ac_status=$?
16522 grep -v '^ *+' conftest.er1 >conftest.err
16523 rm -f conftest.er1
16524 cat conftest.err >&5
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); } && {
16527 test -z "$ac_c_werror_flag" ||
16528 test ! -s conftest.err
16529 } && test -s conftest.$ac_objext; then
16530 ac_cv_c_string_h_warnings=no
16531 else
16532 echo "$as_me: failed program was:" >&5
16533 sed 's/^/| /' conftest.$ac_ext >&5
16535 ac_cv_c_string_h_warnings=yes
16538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16540 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16541 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16542 CFLAGS="$saved_CFLAGS"
16543 if test "$ac_cv_c_string_h_warnings" = "no"
16544 then
16545 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16548 BUILTINFLAG=""
16550 saved_CFLAGS="$CFLAGS"
16551 CFLAGS="$CFLAGS -Werror"
16552 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16553 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16554 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16555 echo $ECHO_N "(cached) $ECHO_C" >&6
16556 else
16557 cat >conftest.$ac_ext <<_ACEOF
16558 /* confdefs.h. */
16559 _ACEOF
16560 cat confdefs.h >>conftest.$ac_ext
16561 cat >>conftest.$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16565 main ()
16567 int iswlower(unsigned short);
16569 return 0;
16571 _ACEOF
16572 rm -f conftest.$ac_objext
16573 if { (ac_try="$ac_compile"
16574 case "(($ac_try" in
16575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16576 *) ac_try_echo=$ac_try;;
16577 esac
16578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16579 (eval "$ac_compile") 2>conftest.er1
16580 ac_status=$?
16581 grep -v '^ *+' conftest.er1 >conftest.err
16582 rm -f conftest.er1
16583 cat conftest.err >&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } && {
16586 test -z "$ac_c_werror_flag" ||
16587 test ! -s conftest.err
16588 } && test -s conftest.$ac_objext; then
16589 ac_cv_c_builtin_wchar_ctype=no
16590 else
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.$ac_ext >&5
16594 ac_cv_c_builtin_wchar_ctype=yes
16597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16599 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16600 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16601 CFLAGS="$saved_CFLAGS"
16602 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16603 then
16604 BUILTINFLAG="-fno-builtin"
16609 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16610 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16611 if test "${ac_cv_asm_func_def+set}" = set; then
16612 echo $ECHO_N "(cached) $ECHO_C" >&6
16613 else
16614 cat >conftest.$ac_ext <<_ACEOF
16615 /* confdefs.h. */
16616 _ACEOF
16617 cat confdefs.h >>conftest.$ac_ext
16618 cat >>conftest.$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16622 main ()
16624 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16626 return 0;
16628 _ACEOF
16629 rm -f conftest.$ac_objext conftest$ac_exeext
16630 if { (ac_try="$ac_link"
16631 case "(($ac_try" in
16632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16633 *) ac_try_echo=$ac_try;;
16634 esac
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636 (eval "$ac_link") 2>conftest.er1
16637 ac_status=$?
16638 grep -v '^ *+' conftest.er1 >conftest.err
16639 rm -f conftest.er1
16640 cat conftest.err >&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); } && {
16643 test -z "$ac_c_werror_flag" ||
16644 test ! -s conftest.err
16645 } && test -s conftest$ac_exeext &&
16646 $as_test_x conftest$ac_exeext; then
16647 ac_cv_asm_func_def=".def"
16648 else
16649 echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16652 cat >conftest.$ac_ext <<_ACEOF
16653 /* confdefs.h. */
16654 _ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h. */
16660 main ()
16662 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16664 return 0;
16666 _ACEOF
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (ac_try="$ac_link"
16669 case "(($ac_try" in
16670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16671 *) ac_try_echo=$ac_try;;
16672 esac
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674 (eval "$ac_link") 2>conftest.er1
16675 ac_status=$?
16676 grep -v '^ *+' conftest.er1 >conftest.err
16677 rm -f conftest.er1
16678 cat conftest.err >&5
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } && {
16681 test -z "$ac_c_werror_flag" ||
16682 test ! -s conftest.err
16683 } && test -s conftest$ac_exeext &&
16684 $as_test_x conftest$ac_exeext; then
16685 ac_cv_asm_func_def=".type @function"
16686 else
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16690 cat >conftest.$ac_ext <<_ACEOF
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16698 main ()
16700 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16702 return 0;
16704 _ACEOF
16705 rm -f conftest.$ac_objext conftest$ac_exeext
16706 if { (ac_try="$ac_link"
16707 case "(($ac_try" in
16708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16709 *) ac_try_echo=$ac_try;;
16710 esac
16711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16712 (eval "$ac_link") 2>conftest.er1
16713 ac_status=$?
16714 grep -v '^ *+' conftest.er1 >conftest.err
16715 rm -f conftest.er1
16716 cat conftest.err >&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } && {
16719 test -z "$ac_c_werror_flag" ||
16720 test ! -s conftest.err
16721 } && test -s conftest$ac_exeext &&
16722 $as_test_x conftest$ac_exeext; then
16723 ac_cv_asm_func_def=".type 2"
16724 else
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16728 ac_cv_asm_func_def="unknown"
16731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16732 conftest$ac_exeext conftest.$ac_ext
16735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16736 conftest$ac_exeext conftest.$ac_ext
16739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16740 conftest$ac_exeext conftest.$ac_ext
16742 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16743 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16747 case "$ac_cv_asm_func_def" in
16748 ".def")
16749 cat >>confdefs.h <<\_ACEOF
16750 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16751 _ACEOF
16753 ".type @function")
16754 cat >>confdefs.h <<\_ACEOF
16755 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16756 _ACEOF
16758 ".type 2")
16759 cat >>confdefs.h <<\_ACEOF
16760 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16761 _ACEOF
16764 cat >>confdefs.h <<\_ACEOF
16765 #define __ASM_FUNC(name) ""
16766 _ACEOF
16768 esac
16771 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16772 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16773 if test "${ac_cv_c_extern_prefix+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16775 else
16776 cat >conftest.$ac_ext <<_ACEOF
16777 /* confdefs.h. */
16778 _ACEOF
16779 cat confdefs.h >>conftest.$ac_ext
16780 cat >>conftest.$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16782 extern int ac_test;
16784 main ()
16786 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16788 return 0;
16790 _ACEOF
16791 rm -f conftest.$ac_objext conftest$ac_exeext
16792 if { (ac_try="$ac_link"
16793 case "(($ac_try" in
16794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16795 *) ac_try_echo=$ac_try;;
16796 esac
16797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16798 (eval "$ac_link") 2>conftest.er1
16799 ac_status=$?
16800 grep -v '^ *+' conftest.er1 >conftest.err
16801 rm -f conftest.er1
16802 cat conftest.err >&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && {
16805 test -z "$ac_c_werror_flag" ||
16806 test ! -s conftest.err
16807 } && test -s conftest$ac_exeext &&
16808 $as_test_x conftest$ac_exeext; then
16809 ac_cv_c_extern_prefix="yes"
16810 else
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.$ac_ext >&5
16814 ac_cv_c_extern_prefix="no"
16817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16818 conftest$ac_exeext conftest.$ac_ext
16820 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16821 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16825 if test "$ac_cv_c_extern_prefix" = "yes"
16826 then
16827 cat >>confdefs.h <<\_ACEOF
16828 #define __ASM_NAME(name) "_" name
16829 _ACEOF
16831 else
16832 cat >>confdefs.h <<\_ACEOF
16833 #define __ASM_NAME(name) name
16834 _ACEOF
16839 LDPATH=""
16841 case $build_os in
16842 cygwin*|mingw32*)
16843 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16845 darwin*|macosx*)
16847 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16848 then
16849 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16853 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16855 esac
16857 case $host_os in
16858 mingw32*)
16859 CRTLIBS="-lmsvcrt"
16861 SOCKETLIBS="-lws2_32"
16864 esac
16866 MAIN_BINARY="wine-pthread"
16867 case $host_cpu in
16868 *i[3456789]86*)
16869 case $host_os in
16870 linux* | k*bsd*-gnu)
16871 MAIN_BINARY="wine-glibc"
16873 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16875 freebsd*)
16876 MAIN_BINARY="wine-freebsd"
16878 EXTRA_BINARIES="wine-pthread"
16880 esac
16882 esac
16954 for ac_func in \
16955 _pclose \
16956 _popen \
16957 _snprintf \
16958 _spawnvp \
16959 _strdup \
16960 _stricmp \
16961 _strnicmp \
16962 _strtoi64 \
16963 _strtoui64 \
16964 _vsnprintf \
16965 asctime_r \
16966 chsize \
16967 clone \
16968 dlopen \
16969 epoll_create \
16970 ffs \
16971 finite \
16972 fork \
16973 fpclass \
16974 fstatfs \
16975 fstatvfs \
16976 ftruncate \
16977 futimes \
16978 futimesat \
16979 getdirentries \
16980 getopt_long \
16981 getpagesize \
16982 getpwuid \
16983 gettid \
16984 gettimeofday \
16985 getuid \
16986 inet_pton \
16987 kqueue \
16988 lstat \
16989 memmove \
16990 mmap \
16991 pclose \
16992 poll \
16993 popen \
16994 prctl \
16995 pread \
16996 pwrite \
16997 readlink \
16998 rfork \
16999 sched_yield \
17000 select \
17001 setproctitle \
17002 setrlimit \
17003 settimeofday \
17004 sigaltstack \
17005 sigprocmask \
17006 snprintf \
17007 spawnvp \
17008 statfs \
17009 statvfs \
17010 strcasecmp \
17011 strdup \
17012 strerror \
17013 strncasecmp \
17014 strtold \
17015 strtoll \
17016 strtoull \
17017 tcgetattr \
17018 thr_kill2 \
17019 timegm \
17020 usleep \
17021 vsnprintf \
17022 wait4 \
17023 waitpid \
17026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17030 echo $ECHO_N "(cached) $ECHO_C" >&6
17031 else
17032 cat >conftest.$ac_ext <<_ACEOF
17033 /* confdefs.h. */
17034 _ACEOF
17035 cat confdefs.h >>conftest.$ac_ext
17036 cat >>conftest.$ac_ext <<_ACEOF
17037 /* end confdefs.h. */
17038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17040 #define $ac_func innocuous_$ac_func
17042 /* System header to define __stub macros and hopefully few prototypes,
17043 which can conflict with char $ac_func (); below.
17044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17045 <limits.h> exists even on freestanding compilers. */
17047 #ifdef __STDC__
17048 # include <limits.h>
17049 #else
17050 # include <assert.h>
17051 #endif
17053 #undef $ac_func
17055 /* Override any GCC internal prototype to avoid an error.
17056 Use char because int might match the return type of a GCC
17057 builtin and then its argument prototype would still apply. */
17058 #ifdef __cplusplus
17059 extern "C"
17060 #endif
17061 char $ac_func ();
17062 /* The GNU C library defines this for functions which it implements
17063 to always fail with ENOSYS. Some functions are actually named
17064 something starting with __ and the normal name is an alias. */
17065 #if defined __stub_$ac_func || defined __stub___$ac_func
17066 choke me
17067 #endif
17070 main ()
17072 return $ac_func ();
17074 return 0;
17076 _ACEOF
17077 rm -f conftest.$ac_objext conftest$ac_exeext
17078 if { (ac_try="$ac_link"
17079 case "(($ac_try" in
17080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17081 *) ac_try_echo=$ac_try;;
17082 esac
17083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17084 (eval "$ac_link") 2>conftest.er1
17085 ac_status=$?
17086 grep -v '^ *+' conftest.er1 >conftest.err
17087 rm -f conftest.er1
17088 cat conftest.err >&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } && {
17091 test -z "$ac_c_werror_flag" ||
17092 test ! -s conftest.err
17093 } && test -s conftest$ac_exeext &&
17094 $as_test_x conftest$ac_exeext; then
17095 eval "$as_ac_var=yes"
17096 else
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.$ac_ext >&5
17100 eval "$as_ac_var=no"
17103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17104 conftest$ac_exeext conftest.$ac_ext
17106 ac_res=`eval echo '${'$as_ac_var'}'`
17107 { echo "$as_me:$LINENO: result: $ac_res" >&5
17108 echo "${ECHO_T}$ac_res" >&6; }
17109 if test `eval echo '${'$as_ac_var'}'` = yes; then
17110 cat >>confdefs.h <<_ACEOF
17111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17112 _ACEOF
17115 done
17118 if test "$ac_cv_func_dlopen" = no
17119 then
17120 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17121 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17122 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 else
17125 ac_check_lib_save_LIBS=$LIBS
17126 LIBS="-ldl $LIBS"
17127 cat >conftest.$ac_ext <<_ACEOF
17128 /* confdefs.h. */
17129 _ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17134 /* Override any GCC internal prototype to avoid an error.
17135 Use char because int might match the return type of a GCC
17136 builtin and then its argument prototype would still apply. */
17137 #ifdef __cplusplus
17138 extern "C"
17139 #endif
17140 char dlopen ();
17142 main ()
17144 return dlopen ();
17146 return 0;
17148 _ACEOF
17149 rm -f conftest.$ac_objext conftest$ac_exeext
17150 if { (ac_try="$ac_link"
17151 case "(($ac_try" in
17152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17153 *) ac_try_echo=$ac_try;;
17154 esac
17155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17156 (eval "$ac_link") 2>conftest.er1
17157 ac_status=$?
17158 grep -v '^ *+' conftest.er1 >conftest.err
17159 rm -f conftest.er1
17160 cat conftest.err >&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); } && {
17163 test -z "$ac_c_werror_flag" ||
17164 test ! -s conftest.err
17165 } && test -s conftest$ac_exeext &&
17166 $as_test_x conftest$ac_exeext; then
17167 ac_cv_lib_dl_dlopen=yes
17168 else
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.$ac_ext >&5
17172 ac_cv_lib_dl_dlopen=no
17175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17176 conftest$ac_exeext conftest.$ac_ext
17177 LIBS=$ac_check_lib_save_LIBS
17179 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17180 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17181 if test $ac_cv_lib_dl_dlopen = yes; then
17182 cat >>confdefs.h <<\_ACEOF
17183 #define HAVE_DLOPEN 1
17184 _ACEOF
17185 LIBDL="-ldl"
17190 ac_wine_check_funcs_save_LIBS="$LIBS"
17191 LIBS="$LIBS $LIBDL"
17193 for ac_func in dladdr
17195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17196 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17198 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17200 else
17201 cat >conftest.$ac_ext <<_ACEOF
17202 /* confdefs.h. */
17203 _ACEOF
17204 cat confdefs.h >>conftest.$ac_ext
17205 cat >>conftest.$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17209 #define $ac_func innocuous_$ac_func
17211 /* System header to define __stub macros and hopefully few prototypes,
17212 which can conflict with char $ac_func (); below.
17213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17214 <limits.h> exists even on freestanding compilers. */
17216 #ifdef __STDC__
17217 # include <limits.h>
17218 #else
17219 # include <assert.h>
17220 #endif
17222 #undef $ac_func
17224 /* Override any GCC internal prototype to avoid an error.
17225 Use char because int might match the return type of a GCC
17226 builtin and then its argument prototype would still apply. */
17227 #ifdef __cplusplus
17228 extern "C"
17229 #endif
17230 char $ac_func ();
17231 /* The GNU C library defines this for functions which it implements
17232 to always fail with ENOSYS. Some functions are actually named
17233 something starting with __ and the normal name is an alias. */
17234 #if defined __stub_$ac_func || defined __stub___$ac_func
17235 choke me
17236 #endif
17239 main ()
17241 return $ac_func ();
17243 return 0;
17245 _ACEOF
17246 rm -f conftest.$ac_objext conftest$ac_exeext
17247 if { (ac_try="$ac_link"
17248 case "(($ac_try" in
17249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17251 esac
17252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_link") 2>conftest.er1
17254 ac_status=$?
17255 grep -v '^ *+' conftest.er1 >conftest.err
17256 rm -f conftest.er1
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_c_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest$ac_exeext &&
17263 $as_test_x conftest$ac_exeext; then
17264 eval "$as_ac_var=yes"
17265 else
17266 echo "$as_me: failed program was:" >&5
17267 sed 's/^/| /' conftest.$ac_ext >&5
17269 eval "$as_ac_var=no"
17272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17273 conftest$ac_exeext conftest.$ac_ext
17275 ac_res=`eval echo '${'$as_ac_var'}'`
17276 { echo "$as_me:$LINENO: result: $ac_res" >&5
17277 echo "${ECHO_T}$ac_res" >&6; }
17278 if test `eval echo '${'$as_ac_var'}'` = yes; then
17279 cat >>confdefs.h <<_ACEOF
17280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17281 _ACEOF
17284 done
17286 LIBS="$ac_wine_check_funcs_save_LIBS"
17288 if test "$ac_cv_func_poll" = no
17289 then
17290 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17291 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17292 if test "${ac_cv_lib_poll_poll+set}" = set; then
17293 echo $ECHO_N "(cached) $ECHO_C" >&6
17294 else
17295 ac_check_lib_save_LIBS=$LIBS
17296 LIBS="-lpoll $LIBS"
17297 cat >conftest.$ac_ext <<_ACEOF
17298 /* confdefs.h. */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17304 /* Override any GCC internal prototype to avoid an error.
17305 Use char because int might match the return type of a GCC
17306 builtin and then its argument prototype would still apply. */
17307 #ifdef __cplusplus
17308 extern "C"
17309 #endif
17310 char poll ();
17312 main ()
17314 return poll ();
17316 return 0;
17318 _ACEOF
17319 rm -f conftest.$ac_objext conftest$ac_exeext
17320 if { (ac_try="$ac_link"
17321 case "(($ac_try" in
17322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17323 *) ac_try_echo=$ac_try;;
17324 esac
17325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17326 (eval "$ac_link") 2>conftest.er1
17327 ac_status=$?
17328 grep -v '^ *+' conftest.er1 >conftest.err
17329 rm -f conftest.er1
17330 cat conftest.err >&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); } && {
17333 test -z "$ac_c_werror_flag" ||
17334 test ! -s conftest.err
17335 } && test -s conftest$ac_exeext &&
17336 $as_test_x conftest$ac_exeext; then
17337 ac_cv_lib_poll_poll=yes
17338 else
17339 echo "$as_me: failed program was:" >&5
17340 sed 's/^/| /' conftest.$ac_ext >&5
17342 ac_cv_lib_poll_poll=no
17345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17346 conftest$ac_exeext conftest.$ac_ext
17347 LIBS=$ac_check_lib_save_LIBS
17349 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17350 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17351 if test $ac_cv_lib_poll_poll = yes; then
17352 cat >>confdefs.h <<\_ACEOF
17353 #define HAVE_POLL 1
17354 _ACEOF
17355 LIBPOLL="-lpoll"
17361 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17362 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17363 if test "${ac_cv_search_gethostbyname+set}" = set; then
17364 echo $ECHO_N "(cached) $ECHO_C" >&6
17365 else
17366 ac_func_search_save_LIBS=$LIBS
17367 cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h. */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17374 /* Override any GCC internal prototype to avoid an error.
17375 Use char because int might match the return type of a GCC
17376 builtin and then its argument prototype would still apply. */
17377 #ifdef __cplusplus
17378 extern "C"
17379 #endif
17380 char gethostbyname ();
17382 main ()
17384 return gethostbyname ();
17386 return 0;
17388 _ACEOF
17389 for ac_lib in '' nsl; do
17390 if test -z "$ac_lib"; then
17391 ac_res="none required"
17392 else
17393 ac_res=-l$ac_lib
17394 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17396 rm -f conftest.$ac_objext conftest$ac_exeext
17397 if { (ac_try="$ac_link"
17398 case "(($ac_try" in
17399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17400 *) ac_try_echo=$ac_try;;
17401 esac
17402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17403 (eval "$ac_link") 2>conftest.er1
17404 ac_status=$?
17405 grep -v '^ *+' conftest.er1 >conftest.err
17406 rm -f conftest.er1
17407 cat conftest.err >&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } && {
17410 test -z "$ac_c_werror_flag" ||
17411 test ! -s conftest.err
17412 } && test -s conftest$ac_exeext &&
17413 $as_test_x conftest$ac_exeext; then
17414 ac_cv_search_gethostbyname=$ac_res
17415 else
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17423 conftest$ac_exeext
17424 if test "${ac_cv_search_gethostbyname+set}" = set; then
17425 break
17427 done
17428 if test "${ac_cv_search_gethostbyname+set}" = set; then
17430 else
17431 ac_cv_search_gethostbyname=no
17433 rm conftest.$ac_ext
17434 LIBS=$ac_func_search_save_LIBS
17436 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17437 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17438 ac_res=$ac_cv_search_gethostbyname
17439 if test "$ac_res" != no; then
17440 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17445 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17446 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17447 if test "${ac_cv_search_connect+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 else
17450 ac_func_search_save_LIBS=$LIBS
17451 cat >conftest.$ac_ext <<_ACEOF
17452 /* confdefs.h. */
17453 _ACEOF
17454 cat confdefs.h >>conftest.$ac_ext
17455 cat >>conftest.$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17458 /* Override any GCC internal prototype to avoid an error.
17459 Use char because int might match the return type of a GCC
17460 builtin and then its argument prototype would still apply. */
17461 #ifdef __cplusplus
17462 extern "C"
17463 #endif
17464 char connect ();
17466 main ()
17468 return connect ();
17470 return 0;
17472 _ACEOF
17473 for ac_lib in '' socket; do
17474 if test -z "$ac_lib"; then
17475 ac_res="none required"
17476 else
17477 ac_res=-l$ac_lib
17478 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17480 rm -f conftest.$ac_objext conftest$ac_exeext
17481 if { (ac_try="$ac_link"
17482 case "(($ac_try" in
17483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17484 *) ac_try_echo=$ac_try;;
17485 esac
17486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17487 (eval "$ac_link") 2>conftest.er1
17488 ac_status=$?
17489 grep -v '^ *+' conftest.er1 >conftest.err
17490 rm -f conftest.er1
17491 cat conftest.err >&5
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); } && {
17494 test -z "$ac_c_werror_flag" ||
17495 test ! -s conftest.err
17496 } && test -s conftest$ac_exeext &&
17497 $as_test_x conftest$ac_exeext; then
17498 ac_cv_search_connect=$ac_res
17499 else
17500 echo "$as_me: failed program was:" >&5
17501 sed 's/^/| /' conftest.$ac_ext >&5
17506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17507 conftest$ac_exeext
17508 if test "${ac_cv_search_connect+set}" = set; then
17509 break
17511 done
17512 if test "${ac_cv_search_connect+set}" = set; then
17514 else
17515 ac_cv_search_connect=no
17517 rm conftest.$ac_ext
17518 LIBS=$ac_func_search_save_LIBS
17520 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17521 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17522 ac_res=$ac_cv_search_connect
17523 if test "$ac_res" != no; then
17524 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17529 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17530 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17531 if test "${ac_cv_search_inet_aton+set}" = set; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 else
17534 ac_func_search_save_LIBS=$LIBS
17535 cat >conftest.$ac_ext <<_ACEOF
17536 /* confdefs.h. */
17537 _ACEOF
17538 cat confdefs.h >>conftest.$ac_ext
17539 cat >>conftest.$ac_ext <<_ACEOF
17540 /* end confdefs.h. */
17542 /* Override any GCC internal prototype to avoid an error.
17543 Use char because int might match the return type of a GCC
17544 builtin and then its argument prototype would still apply. */
17545 #ifdef __cplusplus
17546 extern "C"
17547 #endif
17548 char inet_aton ();
17550 main ()
17552 return inet_aton ();
17554 return 0;
17556 _ACEOF
17557 for ac_lib in '' resolv; do
17558 if test -z "$ac_lib"; then
17559 ac_res="none required"
17560 else
17561 ac_res=-l$ac_lib
17562 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17564 rm -f conftest.$ac_objext conftest$ac_exeext
17565 if { (ac_try="$ac_link"
17566 case "(($ac_try" in
17567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17568 *) ac_try_echo=$ac_try;;
17569 esac
17570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571 (eval "$ac_link") 2>conftest.er1
17572 ac_status=$?
17573 grep -v '^ *+' conftest.er1 >conftest.err
17574 rm -f conftest.er1
17575 cat conftest.err >&5
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577 (exit $ac_status); } && {
17578 test -z "$ac_c_werror_flag" ||
17579 test ! -s conftest.err
17580 } && test -s conftest$ac_exeext &&
17581 $as_test_x conftest$ac_exeext; then
17582 ac_cv_search_inet_aton=$ac_res
17583 else
17584 echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.$ac_ext >&5
17590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17591 conftest$ac_exeext
17592 if test "${ac_cv_search_inet_aton+set}" = set; then
17593 break
17595 done
17596 if test "${ac_cv_search_inet_aton+set}" = set; then
17598 else
17599 ac_cv_search_inet_aton=no
17601 rm conftest.$ac_ext
17602 LIBS=$ac_func_search_save_LIBS
17604 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17605 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17606 ac_res=$ac_cv_search_inet_aton
17607 if test "$ac_res" != no; then
17608 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17621 for ac_func in \
17622 getaddrinfo \
17623 getnameinfo \
17624 getnetbyname \
17625 getprotobyname \
17626 getprotobynumber \
17627 getservbyport \
17628 inet_network \
17629 sendmsg \
17632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 else
17638 cat >conftest.$ac_ext <<_ACEOF
17639 /* confdefs.h. */
17640 _ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17646 #define $ac_func innocuous_$ac_func
17648 /* System header to define __stub macros and hopefully few prototypes,
17649 which can conflict with char $ac_func (); below.
17650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17651 <limits.h> exists even on freestanding compilers. */
17653 #ifdef __STDC__
17654 # include <limits.h>
17655 #else
17656 # include <assert.h>
17657 #endif
17659 #undef $ac_func
17661 /* Override any GCC internal prototype to avoid an error.
17662 Use char because int might match the return type of a GCC
17663 builtin and then its argument prototype would still apply. */
17664 #ifdef __cplusplus
17665 extern "C"
17666 #endif
17667 char $ac_func ();
17668 /* The GNU C library defines this for functions which it implements
17669 to always fail with ENOSYS. Some functions are actually named
17670 something starting with __ and the normal name is an alias. */
17671 #if defined __stub_$ac_func || defined __stub___$ac_func
17672 choke me
17673 #endif
17676 main ()
17678 return $ac_func ();
17680 return 0;
17682 _ACEOF
17683 rm -f conftest.$ac_objext conftest$ac_exeext
17684 if { (ac_try="$ac_link"
17685 case "(($ac_try" in
17686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17688 esac
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_link") 2>conftest.er1
17691 ac_status=$?
17692 grep -v '^ *+' conftest.er1 >conftest.err
17693 rm -f conftest.er1
17694 cat conftest.err >&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); } && {
17697 test -z "$ac_c_werror_flag" ||
17698 test ! -s conftest.err
17699 } && test -s conftest$ac_exeext &&
17700 $as_test_x conftest$ac_exeext; then
17701 eval "$as_ac_var=yes"
17702 else
17703 echo "$as_me: failed program was:" >&5
17704 sed 's/^/| /' conftest.$ac_ext >&5
17706 eval "$as_ac_var=no"
17709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17710 conftest$ac_exeext conftest.$ac_ext
17712 ac_res=`eval echo '${'$as_ac_var'}'`
17713 { echo "$as_me:$LINENO: result: $ac_res" >&5
17714 echo "${ECHO_T}$ac_res" >&6; }
17715 if test `eval echo '${'$as_ac_var'}'` = yes; then
17716 cat >>confdefs.h <<_ACEOF
17717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17718 _ACEOF
17721 done
17724 LDAPLIBS=""
17726 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17727 then
17728 { echo "$as_me:$LINENO: checking for LDAPSortKey" >&5
17729 echo $ECHO_N "checking for LDAPSortKey... $ECHO_C" >&6; }
17730 if test "${ac_cv_type_LDAPSortKey+set}" = set; then
17731 echo $ECHO_N "(cached) $ECHO_C" >&6
17732 else
17733 cat >conftest.$ac_ext <<_ACEOF
17734 /* confdefs.h. */
17735 _ACEOF
17736 cat confdefs.h >>conftest.$ac_ext
17737 cat >>conftest.$ac_ext <<_ACEOF
17738 /* end confdefs.h. */
17739 #include <ldap.h>
17741 typedef LDAPSortKey ac__type_new_;
17743 main ()
17745 if ((ac__type_new_ *) 0)
17746 return 0;
17747 if (sizeof (ac__type_new_))
17748 return 0;
17750 return 0;
17752 _ACEOF
17753 rm -f conftest.$ac_objext
17754 if { (ac_try="$ac_compile"
17755 case "(($ac_try" in
17756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17757 *) ac_try_echo=$ac_try;;
17758 esac
17759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17760 (eval "$ac_compile") 2>conftest.er1
17761 ac_status=$?
17762 grep -v '^ *+' conftest.er1 >conftest.err
17763 rm -f conftest.er1
17764 cat conftest.err >&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } && {
17767 test -z "$ac_c_werror_flag" ||
17768 test ! -s conftest.err
17769 } && test -s conftest.$ac_objext; then
17770 ac_cv_type_LDAPSortKey=yes
17771 else
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.$ac_ext >&5
17775 ac_cv_type_LDAPSortKey=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17780 { echo "$as_me:$LINENO: result: $ac_cv_type_LDAPSortKey" >&5
17781 echo "${ECHO_T}$ac_cv_type_LDAPSortKey" >&6; }
17782 if test $ac_cv_type_LDAPSortKey = yes; then
17783 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
17784 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
17785 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
17786 echo $ECHO_N "(cached) $ECHO_C" >&6
17787 else
17788 ac_check_lib_save_LIBS=$LIBS
17789 LIBS="-lldap_r $LIBPTHREAD $LIBS"
17790 cat >conftest.$ac_ext <<_ACEOF
17791 /* confdefs.h. */
17792 _ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17797 /* Override any GCC internal prototype to avoid an error.
17798 Use char because int might match the return type of a GCC
17799 builtin and then its argument prototype would still apply. */
17800 #ifdef __cplusplus
17801 extern "C"
17802 #endif
17803 char ldap_initialize ();
17805 main ()
17807 return ldap_initialize ();
17809 return 0;
17811 _ACEOF
17812 rm -f conftest.$ac_objext conftest$ac_exeext
17813 if { (ac_try="$ac_link"
17814 case "(($ac_try" in
17815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17816 *) ac_try_echo=$ac_try;;
17817 esac
17818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17819 (eval "$ac_link") 2>conftest.er1
17820 ac_status=$?
17821 grep -v '^ *+' conftest.er1 >conftest.err
17822 rm -f conftest.er1
17823 cat conftest.err >&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); } && {
17826 test -z "$ac_c_werror_flag" ||
17827 test ! -s conftest.err
17828 } && test -s conftest$ac_exeext &&
17829 $as_test_x conftest$ac_exeext; then
17830 ac_cv_lib_ldap_r_ldap_initialize=yes
17831 else
17832 echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17835 ac_cv_lib_ldap_r_ldap_initialize=no
17838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17839 conftest$ac_exeext conftest.$ac_ext
17840 LIBS=$ac_check_lib_save_LIBS
17842 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17843 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17844 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
17845 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
17846 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
17847 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17849 else
17850 ac_check_lib_save_LIBS=$LIBS
17851 LIBS="-llber $LIBPTHREAD $LIBS"
17852 cat >conftest.$ac_ext <<_ACEOF
17853 /* confdefs.h. */
17854 _ACEOF
17855 cat confdefs.h >>conftest.$ac_ext
17856 cat >>conftest.$ac_ext <<_ACEOF
17857 /* end confdefs.h. */
17859 /* Override any GCC internal prototype to avoid an error.
17860 Use char because int might match the return type of a GCC
17861 builtin and then its argument prototype would still apply. */
17862 #ifdef __cplusplus
17863 extern "C"
17864 #endif
17865 char ber_init ();
17867 main ()
17869 return ber_init ();
17871 return 0;
17873 _ACEOF
17874 rm -f conftest.$ac_objext conftest$ac_exeext
17875 if { (ac_try="$ac_link"
17876 case "(($ac_try" in
17877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17878 *) ac_try_echo=$ac_try;;
17879 esac
17880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17881 (eval "$ac_link") 2>conftest.er1
17882 ac_status=$?
17883 grep -v '^ *+' conftest.er1 >conftest.err
17884 rm -f conftest.er1
17885 cat conftest.err >&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); } && {
17888 test -z "$ac_c_werror_flag" ||
17889 test ! -s conftest.err
17890 } && test -s conftest$ac_exeext &&
17891 $as_test_x conftest$ac_exeext; then
17892 ac_cv_lib_lber_ber_init=yes
17893 else
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.$ac_ext >&5
17897 ac_cv_lib_lber_ber_init=no
17900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17901 conftest$ac_exeext conftest.$ac_ext
17902 LIBS=$ac_check_lib_save_LIBS
17904 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
17905 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
17906 if test $ac_cv_lib_lber_ber_init = yes; then
17908 cat >>confdefs.h <<\_ACEOF
17909 #define HAVE_LDAP 1
17910 _ACEOF
17912 LDAPLIBS="-lldap_r -llber"
17919 ac_wine_check_funcs_save_LIBS="$LIBS"
17920 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
17929 for ac_func in \
17930 ldap_count_references \
17931 ldap_first_reference \
17932 ldap_next_reference \
17933 ldap_parse_reference \
17934 ldap_parse_sort_control \
17935 ldap_parse_sortresponse_control \
17936 ldap_parse_vlv_control \
17937 ldap_parse_vlvresponse_control
17939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17940 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17942 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17943 echo $ECHO_N "(cached) $ECHO_C" >&6
17944 else
17945 cat >conftest.$ac_ext <<_ACEOF
17946 /* confdefs.h. */
17947 _ACEOF
17948 cat confdefs.h >>conftest.$ac_ext
17949 cat >>conftest.$ac_ext <<_ACEOF
17950 /* end confdefs.h. */
17951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17953 #define $ac_func innocuous_$ac_func
17955 /* System header to define __stub macros and hopefully few prototypes,
17956 which can conflict with char $ac_func (); below.
17957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17958 <limits.h> exists even on freestanding compilers. */
17960 #ifdef __STDC__
17961 # include <limits.h>
17962 #else
17963 # include <assert.h>
17964 #endif
17966 #undef $ac_func
17968 /* Override any GCC internal prototype to avoid an error.
17969 Use char because int might match the return type of a GCC
17970 builtin and then its argument prototype would still apply. */
17971 #ifdef __cplusplus
17972 extern "C"
17973 #endif
17974 char $ac_func ();
17975 /* The GNU C library defines this for functions which it implements
17976 to always fail with ENOSYS. Some functions are actually named
17977 something starting with __ and the normal name is an alias. */
17978 #if defined __stub_$ac_func || defined __stub___$ac_func
17979 choke me
17980 #endif
17983 main ()
17985 return $ac_func ();
17987 return 0;
17989 _ACEOF
17990 rm -f conftest.$ac_objext conftest$ac_exeext
17991 if { (ac_try="$ac_link"
17992 case "(($ac_try" in
17993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17994 *) ac_try_echo=$ac_try;;
17995 esac
17996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17997 (eval "$ac_link") 2>conftest.er1
17998 ac_status=$?
17999 grep -v '^ *+' conftest.er1 >conftest.err
18000 rm -f conftest.er1
18001 cat conftest.err >&5
18002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003 (exit $ac_status); } && {
18004 test -z "$ac_c_werror_flag" ||
18005 test ! -s conftest.err
18006 } && test -s conftest$ac_exeext &&
18007 $as_test_x conftest$ac_exeext; then
18008 eval "$as_ac_var=yes"
18009 else
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.$ac_ext >&5
18013 eval "$as_ac_var=no"
18016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18017 conftest$ac_exeext conftest.$ac_ext
18019 ac_res=`eval echo '${'$as_ac_var'}'`
18020 { echo "$as_me:$LINENO: result: $ac_res" >&5
18021 echo "${ECHO_T}$ac_res" >&6; }
18022 if test `eval echo '${'$as_ac_var'}'` = yes; then
18023 cat >>confdefs.h <<_ACEOF
18024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18025 _ACEOF
18028 done
18030 LIBS="$ac_wine_check_funcs_save_LIBS"
18032 if test "x$LDAPLIBS" = "x"; then
18033 case "x$with_ldap" in
18034 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
18035 xno) ;;
18036 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18037 This is an error since --with-ldap was requested." >&5
18038 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18039 This is an error since --with-ldap was requested." >&2;}
18040 { (exit 1); exit 1; }; } ;;
18041 esac
18046 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18047 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18048 if test "${ac_cv_c_const+set}" = set; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18050 else
18051 cat >conftest.$ac_ext <<_ACEOF
18052 /* confdefs.h. */
18053 _ACEOF
18054 cat confdefs.h >>conftest.$ac_ext
18055 cat >>conftest.$ac_ext <<_ACEOF
18056 /* end confdefs.h. */
18059 main ()
18061 /* FIXME: Include the comments suggested by Paul. */
18062 #ifndef __cplusplus
18063 /* Ultrix mips cc rejects this. */
18064 typedef int charset[2];
18065 const charset cs;
18066 /* SunOS 4.1.1 cc rejects this. */
18067 char const *const *pcpcc;
18068 char **ppc;
18069 /* NEC SVR4.0.2 mips cc rejects this. */
18070 struct point {int x, y;};
18071 static struct point const zero = {0,0};
18072 /* AIX XL C 1.02.0.0 rejects this.
18073 It does not let you subtract one const X* pointer from another in
18074 an arm of an if-expression whose if-part is not a constant
18075 expression */
18076 const char *g = "string";
18077 pcpcc = &g + (g ? g-g : 0);
18078 /* HPUX 7.0 cc rejects these. */
18079 ++pcpcc;
18080 ppc = (char**) pcpcc;
18081 pcpcc = (char const *const *) ppc;
18082 { /* SCO 3.2v4 cc rejects this. */
18083 char *t;
18084 char const *s = 0 ? (char *) 0 : (char const *) 0;
18086 *t++ = 0;
18087 if (s) return 0;
18089 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18090 int x[] = {25, 17};
18091 const int *foo = &x[0];
18092 ++foo;
18094 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18095 typedef const int *iptr;
18096 iptr p = 0;
18097 ++p;
18099 { /* AIX XL C 1.02.0.0 rejects this saying
18100 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18101 struct s { int j; const int *ap[3]; };
18102 struct s *b; b->j = 5;
18104 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18105 const int foo = 10;
18106 if (!foo) return 0;
18108 return !cs[0] && !zero.x;
18109 #endif
18112 return 0;
18114 _ACEOF
18115 rm -f conftest.$ac_objext
18116 if { (ac_try="$ac_compile"
18117 case "(($ac_try" in
18118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18119 *) ac_try_echo=$ac_try;;
18120 esac
18121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18122 (eval "$ac_compile") 2>conftest.er1
18123 ac_status=$?
18124 grep -v '^ *+' conftest.er1 >conftest.err
18125 rm -f conftest.er1
18126 cat conftest.err >&5
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); } && {
18129 test -z "$ac_c_werror_flag" ||
18130 test ! -s conftest.err
18131 } && test -s conftest.$ac_objext; then
18132 ac_cv_c_const=yes
18133 else
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18137 ac_cv_c_const=no
18140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18142 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18143 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18144 if test $ac_cv_c_const = no; then
18146 cat >>confdefs.h <<\_ACEOF
18147 #define const
18148 _ACEOF
18152 { echo "$as_me:$LINENO: checking for inline" >&5
18153 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18154 if test "${ac_cv_c_inline+set}" = set; then
18155 echo $ECHO_N "(cached) $ECHO_C" >&6
18156 else
18157 ac_cv_c_inline=no
18158 for ac_kw in inline __inline__ __inline; do
18159 cat >conftest.$ac_ext <<_ACEOF
18160 /* confdefs.h. */
18161 _ACEOF
18162 cat confdefs.h >>conftest.$ac_ext
18163 cat >>conftest.$ac_ext <<_ACEOF
18164 /* end confdefs.h. */
18165 #ifndef __cplusplus
18166 typedef int foo_t;
18167 static $ac_kw foo_t static_foo () {return 0; }
18168 $ac_kw foo_t foo () {return 0; }
18169 #endif
18171 _ACEOF
18172 rm -f conftest.$ac_objext
18173 if { (ac_try="$ac_compile"
18174 case "(($ac_try" in
18175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18176 *) ac_try_echo=$ac_try;;
18177 esac
18178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18179 (eval "$ac_compile") 2>conftest.er1
18180 ac_status=$?
18181 grep -v '^ *+' conftest.er1 >conftest.err
18182 rm -f conftest.er1
18183 cat conftest.err >&5
18184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18185 (exit $ac_status); } && {
18186 test -z "$ac_c_werror_flag" ||
18187 test ! -s conftest.err
18188 } && test -s conftest.$ac_objext; then
18189 ac_cv_c_inline=$ac_kw
18190 else
18191 echo "$as_me: failed program was:" >&5
18192 sed 's/^/| /' conftest.$ac_ext >&5
18197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18198 test "$ac_cv_c_inline" != no && break
18199 done
18202 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18203 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18206 case $ac_cv_c_inline in
18207 inline | yes) ;;
18209 case $ac_cv_c_inline in
18210 no) ac_val=;;
18211 *) ac_val=$ac_cv_c_inline;;
18212 esac
18213 cat >>confdefs.h <<_ACEOF
18214 #ifndef __cplusplus
18215 #define inline $ac_val
18216 #endif
18217 _ACEOF
18219 esac
18221 { echo "$as_me:$LINENO: checking for mode_t" >&5
18222 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
18223 if test "${ac_cv_type_mode_t+set}" = set; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18225 else
18226 cat >conftest.$ac_ext <<_ACEOF
18227 /* confdefs.h. */
18228 _ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 $ac_includes_default
18233 typedef mode_t ac__type_new_;
18235 main ()
18237 if ((ac__type_new_ *) 0)
18238 return 0;
18239 if (sizeof (ac__type_new_))
18240 return 0;
18242 return 0;
18244 _ACEOF
18245 rm -f conftest.$ac_objext
18246 if { (ac_try="$ac_compile"
18247 case "(($ac_try" in
18248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;;
18250 esac
18251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18252 (eval "$ac_compile") 2>conftest.er1
18253 ac_status=$?
18254 grep -v '^ *+' conftest.er1 >conftest.err
18255 rm -f conftest.er1
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } && {
18259 test -z "$ac_c_werror_flag" ||
18260 test ! -s conftest.err
18261 } && test -s conftest.$ac_objext; then
18262 ac_cv_type_mode_t=yes
18263 else
18264 echo "$as_me: failed program was:" >&5
18265 sed 's/^/| /' conftest.$ac_ext >&5
18267 ac_cv_type_mode_t=no
18270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18272 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18273 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18274 if test $ac_cv_type_mode_t = yes; then
18276 cat >>confdefs.h <<_ACEOF
18277 #define HAVE_MODE_T 1
18278 _ACEOF
18282 { echo "$as_me:$LINENO: checking for off_t" >&5
18283 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18284 if test "${ac_cv_type_off_t+set}" = set; then
18285 echo $ECHO_N "(cached) $ECHO_C" >&6
18286 else
18287 cat >conftest.$ac_ext <<_ACEOF
18288 /* confdefs.h. */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18294 typedef off_t ac__type_new_;
18296 main ()
18298 if ((ac__type_new_ *) 0)
18299 return 0;
18300 if (sizeof (ac__type_new_))
18301 return 0;
18303 return 0;
18305 _ACEOF
18306 rm -f conftest.$ac_objext
18307 if { (ac_try="$ac_compile"
18308 case "(($ac_try" in
18309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18310 *) ac_try_echo=$ac_try;;
18311 esac
18312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18313 (eval "$ac_compile") 2>conftest.er1
18314 ac_status=$?
18315 grep -v '^ *+' conftest.er1 >conftest.err
18316 rm -f conftest.er1
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } && {
18320 test -z "$ac_c_werror_flag" ||
18321 test ! -s conftest.err
18322 } && test -s conftest.$ac_objext; then
18323 ac_cv_type_off_t=yes
18324 else
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.$ac_ext >&5
18328 ac_cv_type_off_t=no
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18333 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18334 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18335 if test $ac_cv_type_off_t = yes; then
18337 cat >>confdefs.h <<_ACEOF
18338 #define HAVE_OFF_T 1
18339 _ACEOF
18343 { echo "$as_me:$LINENO: checking for pid_t" >&5
18344 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18345 if test "${ac_cv_type_pid_t+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18347 else
18348 cat >conftest.$ac_ext <<_ACEOF
18349 /* confdefs.h. */
18350 _ACEOF
18351 cat confdefs.h >>conftest.$ac_ext
18352 cat >>conftest.$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354 $ac_includes_default
18355 typedef pid_t ac__type_new_;
18357 main ()
18359 if ((ac__type_new_ *) 0)
18360 return 0;
18361 if (sizeof (ac__type_new_))
18362 return 0;
18364 return 0;
18366 _ACEOF
18367 rm -f conftest.$ac_objext
18368 if { (ac_try="$ac_compile"
18369 case "(($ac_try" in
18370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18371 *) ac_try_echo=$ac_try;;
18372 esac
18373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18374 (eval "$ac_compile") 2>conftest.er1
18375 ac_status=$?
18376 grep -v '^ *+' conftest.er1 >conftest.err
18377 rm -f conftest.er1
18378 cat conftest.err >&5
18379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18380 (exit $ac_status); } && {
18381 test -z "$ac_c_werror_flag" ||
18382 test ! -s conftest.err
18383 } && test -s conftest.$ac_objext; then
18384 ac_cv_type_pid_t=yes
18385 else
18386 echo "$as_me: failed program was:" >&5
18387 sed 's/^/| /' conftest.$ac_ext >&5
18389 ac_cv_type_pid_t=no
18392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18394 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18395 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18396 if test $ac_cv_type_pid_t = yes; then
18398 cat >>confdefs.h <<_ACEOF
18399 #define HAVE_PID_T 1
18400 _ACEOF
18404 { echo "$as_me:$LINENO: checking for size_t" >&5
18405 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18406 if test "${ac_cv_type_size_t+set}" = set; then
18407 echo $ECHO_N "(cached) $ECHO_C" >&6
18408 else
18409 cat >conftest.$ac_ext <<_ACEOF
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 $ac_includes_default
18416 typedef size_t ac__type_new_;
18418 main ()
18420 if ((ac__type_new_ *) 0)
18421 return 0;
18422 if (sizeof (ac__type_new_))
18423 return 0;
18425 return 0;
18427 _ACEOF
18428 rm -f conftest.$ac_objext
18429 if { (ac_try="$ac_compile"
18430 case "(($ac_try" in
18431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18432 *) ac_try_echo=$ac_try;;
18433 esac
18434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18435 (eval "$ac_compile") 2>conftest.er1
18436 ac_status=$?
18437 grep -v '^ *+' conftest.er1 >conftest.err
18438 rm -f conftest.er1
18439 cat conftest.err >&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); } && {
18442 test -z "$ac_c_werror_flag" ||
18443 test ! -s conftest.err
18444 } && test -s conftest.$ac_objext; then
18445 ac_cv_type_size_t=yes
18446 else
18447 echo "$as_me: failed program was:" >&5
18448 sed 's/^/| /' conftest.$ac_ext >&5
18450 ac_cv_type_size_t=no
18453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18455 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18456 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18457 if test $ac_cv_type_size_t = yes; then
18459 cat >>confdefs.h <<_ACEOF
18460 #define HAVE_SIZE_T 1
18461 _ACEOF
18465 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18466 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18467 if test "${ac_cv_type_ssize_t+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18469 else
18470 cat >conftest.$ac_ext <<_ACEOF
18471 /* confdefs.h. */
18472 _ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 $ac_includes_default
18477 typedef ssize_t ac__type_new_;
18479 main ()
18481 if ((ac__type_new_ *) 0)
18482 return 0;
18483 if (sizeof (ac__type_new_))
18484 return 0;
18486 return 0;
18488 _ACEOF
18489 rm -f conftest.$ac_objext
18490 if { (ac_try="$ac_compile"
18491 case "(($ac_try" in
18492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18493 *) ac_try_echo=$ac_try;;
18494 esac
18495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18496 (eval "$ac_compile") 2>conftest.er1
18497 ac_status=$?
18498 grep -v '^ *+' conftest.er1 >conftest.err
18499 rm -f conftest.er1
18500 cat conftest.err >&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } && {
18503 test -z "$ac_c_werror_flag" ||
18504 test ! -s conftest.err
18505 } && test -s conftest.$ac_objext; then
18506 ac_cv_type_ssize_t=yes
18507 else
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18511 ac_cv_type_ssize_t=no
18514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18516 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18517 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18518 if test $ac_cv_type_ssize_t = yes; then
18520 cat >>confdefs.h <<_ACEOF
18521 #define HAVE_SSIZE_T 1
18522 _ACEOF
18526 { echo "$as_me:$LINENO: checking for long long" >&5
18527 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18528 if test "${ac_cv_type_long_long+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18530 else
18531 cat >conftest.$ac_ext <<_ACEOF
18532 /* confdefs.h. */
18533 _ACEOF
18534 cat confdefs.h >>conftest.$ac_ext
18535 cat >>conftest.$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18537 $ac_includes_default
18538 typedef long long ac__type_new_;
18540 main ()
18542 if ((ac__type_new_ *) 0)
18543 return 0;
18544 if (sizeof (ac__type_new_))
18545 return 0;
18547 return 0;
18549 _ACEOF
18550 rm -f conftest.$ac_objext
18551 if { (ac_try="$ac_compile"
18552 case "(($ac_try" in
18553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18554 *) ac_try_echo=$ac_try;;
18555 esac
18556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18557 (eval "$ac_compile") 2>conftest.er1
18558 ac_status=$?
18559 grep -v '^ *+' conftest.er1 >conftest.err
18560 rm -f conftest.er1
18561 cat conftest.err >&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } && {
18564 test -z "$ac_c_werror_flag" ||
18565 test ! -s conftest.err
18566 } && test -s conftest.$ac_objext; then
18567 ac_cv_type_long_long=yes
18568 else
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.$ac_ext >&5
18572 ac_cv_type_long_long=no
18575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18577 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18578 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18579 if test $ac_cv_type_long_long = yes; then
18581 cat >>confdefs.h <<_ACEOF
18582 #define HAVE_LONG_LONG 1
18583 _ACEOF
18587 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18588 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18589 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18590 echo $ECHO_N "(cached) $ECHO_C" >&6
18591 else
18592 cat >conftest.$ac_ext <<_ACEOF
18593 /* confdefs.h. */
18594 _ACEOF
18595 cat confdefs.h >>conftest.$ac_ext
18596 cat >>conftest.$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18599 typedef fsblkcnt_t ac__type_new_;
18601 main ()
18603 if ((ac__type_new_ *) 0)
18604 return 0;
18605 if (sizeof (ac__type_new_))
18606 return 0;
18608 return 0;
18610 _ACEOF
18611 rm -f conftest.$ac_objext
18612 if { (ac_try="$ac_compile"
18613 case "(($ac_try" in
18614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18615 *) ac_try_echo=$ac_try;;
18616 esac
18617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18618 (eval "$ac_compile") 2>conftest.er1
18619 ac_status=$?
18620 grep -v '^ *+' conftest.er1 >conftest.err
18621 rm -f conftest.er1
18622 cat conftest.err >&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } && {
18625 test -z "$ac_c_werror_flag" ||
18626 test ! -s conftest.err
18627 } && test -s conftest.$ac_objext; then
18628 ac_cv_type_fsblkcnt_t=yes
18629 else
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18633 ac_cv_type_fsblkcnt_t=no
18636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18638 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18639 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18640 if test $ac_cv_type_fsblkcnt_t = yes; then
18642 cat >>confdefs.h <<_ACEOF
18643 #define HAVE_FSBLKCNT_T 1
18644 _ACEOF
18648 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18649 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18650 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18651 echo $ECHO_N "(cached) $ECHO_C" >&6
18652 else
18653 cat >conftest.$ac_ext <<_ACEOF
18654 /* confdefs.h. */
18655 _ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h. */
18659 $ac_includes_default
18660 typedef fsfilcnt_t ac__type_new_;
18662 main ()
18664 if ((ac__type_new_ *) 0)
18665 return 0;
18666 if (sizeof (ac__type_new_))
18667 return 0;
18669 return 0;
18671 _ACEOF
18672 rm -f conftest.$ac_objext
18673 if { (ac_try="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18677 esac
18678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18680 ac_status=$?
18681 grep -v '^ *+' conftest.er1 >conftest.err
18682 rm -f conftest.er1
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 ac_cv_type_fsfilcnt_t=yes
18690 else
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18694 ac_cv_type_fsfilcnt_t=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18700 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18701 if test $ac_cv_type_fsfilcnt_t = yes; then
18703 cat >>confdefs.h <<_ACEOF
18704 #define HAVE_FSFILCNT_T 1
18705 _ACEOF
18710 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18711 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18712 if test "${ac_cv_type_sigset_t+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 else
18715 cat >conftest.$ac_ext <<_ACEOF
18716 /* confdefs.h. */
18717 _ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 #include <signal.h>
18723 typedef sigset_t ac__type_new_;
18725 main ()
18727 if ((ac__type_new_ *) 0)
18728 return 0;
18729 if (sizeof (ac__type_new_))
18730 return 0;
18732 return 0;
18734 _ACEOF
18735 rm -f conftest.$ac_objext
18736 if { (ac_try="$ac_compile"
18737 case "(($ac_try" in
18738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18739 *) ac_try_echo=$ac_try;;
18740 esac
18741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18742 (eval "$ac_compile") 2>conftest.er1
18743 ac_status=$?
18744 grep -v '^ *+' conftest.er1 >conftest.err
18745 rm -f conftest.er1
18746 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } && {
18749 test -z "$ac_c_werror_flag" ||
18750 test ! -s conftest.err
18751 } && test -s conftest.$ac_objext; then
18752 ac_cv_type_sigset_t=yes
18753 else
18754 echo "$as_me: failed program was:" >&5
18755 sed 's/^/| /' conftest.$ac_ext >&5
18757 ac_cv_type_sigset_t=no
18760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18762 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18763 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18764 if test $ac_cv_type_sigset_t = yes; then
18766 cat >>confdefs.h <<_ACEOF
18767 #define HAVE_SIGSET_T 1
18768 _ACEOF
18773 { echo "$as_me:$LINENO: checking for request_sense" >&5
18774 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18775 if test "${ac_cv_type_request_sense+set}" = set; then
18776 echo $ECHO_N "(cached) $ECHO_C" >&6
18777 else
18778 cat >conftest.$ac_ext <<_ACEOF
18779 /* confdefs.h. */
18780 _ACEOF
18781 cat confdefs.h >>conftest.$ac_ext
18782 cat >>conftest.$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784 #include <linux/cdrom.h>
18786 typedef request_sense ac__type_new_;
18788 main ()
18790 if ((ac__type_new_ *) 0)
18791 return 0;
18792 if (sizeof (ac__type_new_))
18793 return 0;
18795 return 0;
18797 _ACEOF
18798 rm -f conftest.$ac_objext
18799 if { (ac_try="$ac_compile"
18800 case "(($ac_try" in
18801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18802 *) ac_try_echo=$ac_try;;
18803 esac
18804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18805 (eval "$ac_compile") 2>conftest.er1
18806 ac_status=$?
18807 grep -v '^ *+' conftest.er1 >conftest.err
18808 rm -f conftest.er1
18809 cat conftest.err >&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } && {
18812 test -z "$ac_c_werror_flag" ||
18813 test ! -s conftest.err
18814 } && test -s conftest.$ac_objext; then
18815 ac_cv_type_request_sense=yes
18816 else
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.$ac_ext >&5
18820 ac_cv_type_request_sense=no
18823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18825 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18826 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18827 if test $ac_cv_type_request_sense = yes; then
18829 cat >>confdefs.h <<_ACEOF
18830 #define HAVE_REQUEST_SENSE 1
18831 _ACEOF
18837 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18838 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18839 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18840 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 else
18842 cat >conftest.$ac_ext <<_ACEOF
18843 /* confdefs.h. */
18844 _ACEOF
18845 cat confdefs.h >>conftest.$ac_ext
18846 cat >>conftest.$ac_ext <<_ACEOF
18847 /* end confdefs.h. */
18848 #ifdef HAVE_LINUX_INPUT_H
18849 #include <linux/input.h>
18850 #endif
18853 main ()
18855 static struct ff_effect ac_aggr;
18856 if (ac_aggr.direction)
18857 return 0;
18859 return 0;
18861 _ACEOF
18862 rm -f conftest.$ac_objext
18863 if { (ac_try="$ac_compile"
18864 case "(($ac_try" in
18865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18866 *) ac_try_echo=$ac_try;;
18867 esac
18868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18869 (eval "$ac_compile") 2>conftest.er1
18870 ac_status=$?
18871 grep -v '^ *+' conftest.er1 >conftest.err
18872 rm -f conftest.er1
18873 cat conftest.err >&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } && {
18876 test -z "$ac_c_werror_flag" ||
18877 test ! -s conftest.err
18878 } && test -s conftest.$ac_objext; then
18879 ac_cv_member_struct_ff_effect_direction=yes
18880 else
18881 echo "$as_me: failed program was:" >&5
18882 sed 's/^/| /' conftest.$ac_ext >&5
18884 cat >conftest.$ac_ext <<_ACEOF
18885 /* confdefs.h. */
18886 _ACEOF
18887 cat confdefs.h >>conftest.$ac_ext
18888 cat >>conftest.$ac_ext <<_ACEOF
18889 /* end confdefs.h. */
18890 #ifdef HAVE_LINUX_INPUT_H
18891 #include <linux/input.h>
18892 #endif
18895 main ()
18897 static struct ff_effect ac_aggr;
18898 if (sizeof ac_aggr.direction)
18899 return 0;
18901 return 0;
18903 _ACEOF
18904 rm -f conftest.$ac_objext
18905 if { (ac_try="$ac_compile"
18906 case "(($ac_try" in
18907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18908 *) ac_try_echo=$ac_try;;
18909 esac
18910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18911 (eval "$ac_compile") 2>conftest.er1
18912 ac_status=$?
18913 grep -v '^ *+' conftest.er1 >conftest.err
18914 rm -f conftest.er1
18915 cat conftest.err >&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); } && {
18918 test -z "$ac_c_werror_flag" ||
18919 test ! -s conftest.err
18920 } && test -s conftest.$ac_objext; then
18921 ac_cv_member_struct_ff_effect_direction=yes
18922 else
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18926 ac_cv_member_struct_ff_effect_direction=no
18929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18934 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18935 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18936 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18938 cat >>confdefs.h <<_ACEOF
18939 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18940 _ACEOF
18946 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18947 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18948 if test "${wine_cv_have_sigaddset+set}" = set; then
18949 echo $ECHO_N "(cached) $ECHO_C" >&6
18950 else
18951 cat >conftest.$ac_ext <<_ACEOF
18952 /* confdefs.h. */
18953 _ACEOF
18954 cat confdefs.h >>conftest.$ac_ext
18955 cat >>conftest.$ac_ext <<_ACEOF
18956 /* end confdefs.h. */
18957 #include <signal.h>
18959 main ()
18961 sigset_t set; sigaddset(&set,SIGTERM);
18963 return 0;
18965 _ACEOF
18966 rm -f conftest.$ac_objext conftest$ac_exeext
18967 if { (ac_try="$ac_link"
18968 case "(($ac_try" in
18969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18970 *) ac_try_echo=$ac_try;;
18971 esac
18972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18973 (eval "$ac_link") 2>conftest.er1
18974 ac_status=$?
18975 grep -v '^ *+' conftest.er1 >conftest.err
18976 rm -f conftest.er1
18977 cat conftest.err >&5
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); } && {
18980 test -z "$ac_c_werror_flag" ||
18981 test ! -s conftest.err
18982 } && test -s conftest$ac_exeext &&
18983 $as_test_x conftest$ac_exeext; then
18984 wine_cv_have_sigaddset=yes
18985 else
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18989 wine_cv_have_sigaddset=no
18992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18993 conftest$ac_exeext conftest.$ac_ext
18995 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18996 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18997 if test "$wine_cv_have_sigaddset" = "yes"
18998 then
19000 cat >>confdefs.h <<\_ACEOF
19001 #define HAVE_SIGADDSET 1
19002 _ACEOF
19007 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19008 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
19009 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
19010 echo $ECHO_N "(cached) $ECHO_C" >&6
19011 else
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 #include <netdb.h>
19020 main ()
19023 char *name=0;
19024 struct hostent he;
19025 struct hostent *result;
19026 char *buf=0;
19027 int bufsize=0;
19028 int res,errnr;
19029 char *addr=0;
19030 int addrlen=0;
19031 int addrtype=0;
19032 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19033 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19036 return 0;
19038 _ACEOF
19039 rm -f conftest.$ac_objext conftest$ac_exeext
19040 if { (ac_try="$ac_link"
19041 case "(($ac_try" in
19042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19043 *) ac_try_echo=$ac_try;;
19044 esac
19045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19046 (eval "$ac_link") 2>conftest.er1
19047 ac_status=$?
19048 grep -v '^ *+' conftest.er1 >conftest.err
19049 rm -f conftest.er1
19050 cat conftest.err >&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); } && {
19053 test -z "$ac_c_werror_flag" ||
19054 test ! -s conftest.err
19055 } && test -s conftest$ac_exeext &&
19056 $as_test_x conftest$ac_exeext; then
19057 wine_cv_linux_gethostbyname_r_6=yes
19058 else
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.$ac_ext >&5
19062 wine_cv_linux_gethostbyname_r_6=no
19066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19067 conftest$ac_exeext conftest.$ac_ext
19070 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
19071 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
19072 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19073 then
19075 cat >>confdefs.h <<\_ACEOF
19076 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
19077 _ACEOF
19081 if test "$ac_cv_header_linux_joystick_h" = "yes"
19082 then
19083 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19084 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
19085 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 else
19088 cat >conftest.$ac_ext <<_ACEOF
19089 /* confdefs.h. */
19090 _ACEOF
19091 cat confdefs.h >>conftest.$ac_ext
19092 cat >>conftest.$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19095 #include <sys/ioctl.h>
19096 #include <sys/types.h>
19097 #include <linux/joystick.h>
19099 struct js_event blub;
19100 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19101 #error "no 2.2 header"
19102 #endif
19105 main ()
19107 /*empty*/
19109 return 0;
19111 _ACEOF
19112 rm -f conftest.$ac_objext
19113 if { (ac_try="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19117 esac
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19129 wine_cv_linux_joystick_22_api=yes
19130 else
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 wine_cv_linux_joystick_22_api=no
19137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19140 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
19141 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
19142 if test "$wine_cv_linux_joystick_22_api" = "yes"
19143 then
19145 cat >>confdefs.h <<\_ACEOF
19146 #define HAVE_LINUX_22_JOYSTICK_API 1
19147 _ACEOF
19153 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
19154 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
19155 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19157 else
19158 cat >conftest.$ac_ext <<_ACEOF
19159 /* confdefs.h. */
19160 _ACEOF
19161 cat confdefs.h >>conftest.$ac_ext
19162 cat >>conftest.$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19164 #include <sys/types.h>
19165 #ifdef HAVE_SYS_PARAM_H
19166 # include <sys/param.h>
19167 #endif
19168 #ifdef HAVE_SYS_MOUNT_H
19169 # include <sys/mount.h>
19170 #endif
19171 #ifdef HAVE_SYS_VFS_H
19172 # include <sys/vfs.h>
19173 #endif
19174 #ifdef HAVE_SYS_STATFS_H
19175 # include <sys/statfs.h>
19176 #endif
19179 main ()
19181 static struct statfs ac_aggr;
19182 if (ac_aggr.f_bfree)
19183 return 0;
19185 return 0;
19187 _ACEOF
19188 rm -f conftest.$ac_objext
19189 if { (ac_try="$ac_compile"
19190 case "(($ac_try" in
19191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19192 *) ac_try_echo=$ac_try;;
19193 esac
19194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19195 (eval "$ac_compile") 2>conftest.er1
19196 ac_status=$?
19197 grep -v '^ *+' conftest.er1 >conftest.err
19198 rm -f conftest.er1
19199 cat conftest.err >&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); } && {
19202 test -z "$ac_c_werror_flag" ||
19203 test ! -s conftest.err
19204 } && test -s conftest.$ac_objext; then
19205 ac_cv_member_struct_statfs_f_bfree=yes
19206 else
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19210 cat >conftest.$ac_ext <<_ACEOF
19211 /* confdefs.h. */
19212 _ACEOF
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19216 #include <sys/types.h>
19217 #ifdef HAVE_SYS_PARAM_H
19218 # include <sys/param.h>
19219 #endif
19220 #ifdef HAVE_SYS_MOUNT_H
19221 # include <sys/mount.h>
19222 #endif
19223 #ifdef HAVE_SYS_VFS_H
19224 # include <sys/vfs.h>
19225 #endif
19226 #ifdef HAVE_SYS_STATFS_H
19227 # include <sys/statfs.h>
19228 #endif
19231 main ()
19233 static struct statfs ac_aggr;
19234 if (sizeof ac_aggr.f_bfree)
19235 return 0;
19237 return 0;
19239 _ACEOF
19240 rm -f conftest.$ac_objext
19241 if { (ac_try="$ac_compile"
19242 case "(($ac_try" in
19243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19245 esac
19246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_compile") 2>conftest.er1
19248 ac_status=$?
19249 grep -v '^ *+' conftest.er1 >conftest.err
19250 rm -f conftest.er1
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_c_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest.$ac_objext; then
19257 ac_cv_member_struct_statfs_f_bfree=yes
19258 else
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19262 ac_cv_member_struct_statfs_f_bfree=no
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19271 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19272 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19274 cat >>confdefs.h <<_ACEOF
19275 #define HAVE_STRUCT_STATFS_F_BFREE 1
19276 _ACEOF
19280 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19281 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19282 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19283 echo $ECHO_N "(cached) $ECHO_C" >&6
19284 else
19285 cat >conftest.$ac_ext <<_ACEOF
19286 /* confdefs.h. */
19287 _ACEOF
19288 cat confdefs.h >>conftest.$ac_ext
19289 cat >>conftest.$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19291 #include <sys/types.h>
19292 #ifdef HAVE_SYS_PARAM_H
19293 # include <sys/param.h>
19294 #endif
19295 #ifdef HAVE_SYS_MOUNT_H
19296 # include <sys/mount.h>
19297 #endif
19298 #ifdef HAVE_SYS_VFS_H
19299 # include <sys/vfs.h>
19300 #endif
19301 #ifdef HAVE_SYS_STATFS_H
19302 # include <sys/statfs.h>
19303 #endif
19306 main ()
19308 static struct statfs ac_aggr;
19309 if (ac_aggr.f_bavail)
19310 return 0;
19312 return 0;
19314 _ACEOF
19315 rm -f conftest.$ac_objext
19316 if { (ac_try="$ac_compile"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19320 esac
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_compile") 2>conftest.er1
19323 ac_status=$?
19324 grep -v '^ *+' conftest.er1 >conftest.err
19325 rm -f conftest.er1
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.$ac_objext; then
19332 ac_cv_member_struct_statfs_f_bavail=yes
19333 else
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 cat >conftest.$ac_ext <<_ACEOF
19338 /* confdefs.h. */
19339 _ACEOF
19340 cat confdefs.h >>conftest.$ac_ext
19341 cat >>conftest.$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19343 #include <sys/types.h>
19344 #ifdef HAVE_SYS_PARAM_H
19345 # include <sys/param.h>
19346 #endif
19347 #ifdef HAVE_SYS_MOUNT_H
19348 # include <sys/mount.h>
19349 #endif
19350 #ifdef HAVE_SYS_VFS_H
19351 # include <sys/vfs.h>
19352 #endif
19353 #ifdef HAVE_SYS_STATFS_H
19354 # include <sys/statfs.h>
19355 #endif
19358 main ()
19360 static struct statfs ac_aggr;
19361 if (sizeof ac_aggr.f_bavail)
19362 return 0;
19364 return 0;
19366 _ACEOF
19367 rm -f conftest.$ac_objext
19368 if { (ac_try="$ac_compile"
19369 case "(($ac_try" in
19370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19371 *) ac_try_echo=$ac_try;;
19372 esac
19373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19374 (eval "$ac_compile") 2>conftest.er1
19375 ac_status=$?
19376 grep -v '^ *+' conftest.er1 >conftest.err
19377 rm -f conftest.er1
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } && {
19381 test -z "$ac_c_werror_flag" ||
19382 test ! -s conftest.err
19383 } && test -s conftest.$ac_objext; then
19384 ac_cv_member_struct_statfs_f_bavail=yes
19385 else
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19389 ac_cv_member_struct_statfs_f_bavail=no
19392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19398 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19399 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19401 cat >>confdefs.h <<_ACEOF
19402 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19403 _ACEOF
19407 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19408 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19409 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19410 echo $ECHO_N "(cached) $ECHO_C" >&6
19411 else
19412 cat >conftest.$ac_ext <<_ACEOF
19413 /* confdefs.h. */
19414 _ACEOF
19415 cat confdefs.h >>conftest.$ac_ext
19416 cat >>conftest.$ac_ext <<_ACEOF
19417 /* end confdefs.h. */
19418 #include <sys/types.h>
19419 #ifdef HAVE_SYS_PARAM_H
19420 # include <sys/param.h>
19421 #endif
19422 #ifdef HAVE_SYS_MOUNT_H
19423 # include <sys/mount.h>
19424 #endif
19425 #ifdef HAVE_SYS_VFS_H
19426 # include <sys/vfs.h>
19427 #endif
19428 #ifdef HAVE_SYS_STATFS_H
19429 # include <sys/statfs.h>
19430 #endif
19433 main ()
19435 static struct statfs ac_aggr;
19436 if (ac_aggr.f_frsize)
19437 return 0;
19439 return 0;
19441 _ACEOF
19442 rm -f conftest.$ac_objext
19443 if { (ac_try="$ac_compile"
19444 case "(($ac_try" in
19445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19446 *) ac_try_echo=$ac_try;;
19447 esac
19448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19449 (eval "$ac_compile") 2>conftest.er1
19450 ac_status=$?
19451 grep -v '^ *+' conftest.er1 >conftest.err
19452 rm -f conftest.er1
19453 cat conftest.err >&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } && {
19456 test -z "$ac_c_werror_flag" ||
19457 test ! -s conftest.err
19458 } && test -s conftest.$ac_objext; then
19459 ac_cv_member_struct_statfs_f_frsize=yes
19460 else
19461 echo "$as_me: failed program was:" >&5
19462 sed 's/^/| /' conftest.$ac_ext >&5
19464 cat >conftest.$ac_ext <<_ACEOF
19465 /* confdefs.h. */
19466 _ACEOF
19467 cat confdefs.h >>conftest.$ac_ext
19468 cat >>conftest.$ac_ext <<_ACEOF
19469 /* end confdefs.h. */
19470 #include <sys/types.h>
19471 #ifdef HAVE_SYS_PARAM_H
19472 # include <sys/param.h>
19473 #endif
19474 #ifdef HAVE_SYS_MOUNT_H
19475 # include <sys/mount.h>
19476 #endif
19477 #ifdef HAVE_SYS_VFS_H
19478 # include <sys/vfs.h>
19479 #endif
19480 #ifdef HAVE_SYS_STATFS_H
19481 # include <sys/statfs.h>
19482 #endif
19485 main ()
19487 static struct statfs ac_aggr;
19488 if (sizeof ac_aggr.f_frsize)
19489 return 0;
19491 return 0;
19493 _ACEOF
19494 rm -f conftest.$ac_objext
19495 if { (ac_try="$ac_compile"
19496 case "(($ac_try" in
19497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19498 *) ac_try_echo=$ac_try;;
19499 esac
19500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19501 (eval "$ac_compile") 2>conftest.er1
19502 ac_status=$?
19503 grep -v '^ *+' conftest.er1 >conftest.err
19504 rm -f conftest.er1
19505 cat conftest.err >&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); } && {
19508 test -z "$ac_c_werror_flag" ||
19509 test ! -s conftest.err
19510 } && test -s conftest.$ac_objext; then
19511 ac_cv_member_struct_statfs_f_frsize=yes
19512 else
19513 echo "$as_me: failed program was:" >&5
19514 sed 's/^/| /' conftest.$ac_ext >&5
19516 ac_cv_member_struct_statfs_f_frsize=no
19519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19525 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19526 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19528 cat >>confdefs.h <<_ACEOF
19529 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19530 _ACEOF
19534 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19535 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19536 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19537 echo $ECHO_N "(cached) $ECHO_C" >&6
19538 else
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 #include <sys/types.h>
19546 #ifdef HAVE_SYS_PARAM_H
19547 # include <sys/param.h>
19548 #endif
19549 #ifdef HAVE_SYS_MOUNT_H
19550 # include <sys/mount.h>
19551 #endif
19552 #ifdef HAVE_SYS_VFS_H
19553 # include <sys/vfs.h>
19554 #endif
19555 #ifdef HAVE_SYS_STATFS_H
19556 # include <sys/statfs.h>
19557 #endif
19560 main ()
19562 static struct statfs ac_aggr;
19563 if (ac_aggr.f_ffree)
19564 return 0;
19566 return 0;
19568 _ACEOF
19569 rm -f conftest.$ac_objext
19570 if { (ac_try="$ac_compile"
19571 case "(($ac_try" in
19572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19573 *) ac_try_echo=$ac_try;;
19574 esac
19575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19576 (eval "$ac_compile") 2>conftest.er1
19577 ac_status=$?
19578 grep -v '^ *+' conftest.er1 >conftest.err
19579 rm -f conftest.er1
19580 cat conftest.err >&5
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); } && {
19583 test -z "$ac_c_werror_flag" ||
19584 test ! -s conftest.err
19585 } && test -s conftest.$ac_objext; then
19586 ac_cv_member_struct_statfs_f_ffree=yes
19587 else
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19591 cat >conftest.$ac_ext <<_ACEOF
19592 /* confdefs.h. */
19593 _ACEOF
19594 cat confdefs.h >>conftest.$ac_ext
19595 cat >>conftest.$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19597 #include <sys/types.h>
19598 #ifdef HAVE_SYS_PARAM_H
19599 # include <sys/param.h>
19600 #endif
19601 #ifdef HAVE_SYS_MOUNT_H
19602 # include <sys/mount.h>
19603 #endif
19604 #ifdef HAVE_SYS_VFS_H
19605 # include <sys/vfs.h>
19606 #endif
19607 #ifdef HAVE_SYS_STATFS_H
19608 # include <sys/statfs.h>
19609 #endif
19612 main ()
19614 static struct statfs ac_aggr;
19615 if (sizeof ac_aggr.f_ffree)
19616 return 0;
19618 return 0;
19620 _ACEOF
19621 rm -f conftest.$ac_objext
19622 if { (ac_try="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19625 *) ac_try_echo=$ac_try;;
19626 esac
19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19629 ac_status=$?
19630 grep -v '^ *+' conftest.er1 >conftest.err
19631 rm -f conftest.er1
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.$ac_objext; then
19638 ac_cv_member_struct_statfs_f_ffree=yes
19639 else
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19643 ac_cv_member_struct_statfs_f_ffree=no
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19651 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19652 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19653 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19655 cat >>confdefs.h <<_ACEOF
19656 #define HAVE_STRUCT_STATFS_F_FFREE 1
19657 _ACEOF
19661 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19662 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19663 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19664 echo $ECHO_N "(cached) $ECHO_C" >&6
19665 else
19666 cat >conftest.$ac_ext <<_ACEOF
19667 /* confdefs.h. */
19668 _ACEOF
19669 cat confdefs.h >>conftest.$ac_ext
19670 cat >>conftest.$ac_ext <<_ACEOF
19671 /* end confdefs.h. */
19672 #include <sys/types.h>
19673 #ifdef HAVE_SYS_PARAM_H
19674 # include <sys/param.h>
19675 #endif
19676 #ifdef HAVE_SYS_MOUNT_H
19677 # include <sys/mount.h>
19678 #endif
19679 #ifdef HAVE_SYS_VFS_H
19680 # include <sys/vfs.h>
19681 #endif
19682 #ifdef HAVE_SYS_STATFS_H
19683 # include <sys/statfs.h>
19684 #endif
19687 main ()
19689 static struct statfs ac_aggr;
19690 if (ac_aggr.f_favail)
19691 return 0;
19693 return 0;
19695 _ACEOF
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
19698 case "(($ac_try" in
19699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700 *) ac_try_echo=$ac_try;;
19701 esac
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703 (eval "$ac_compile") 2>conftest.er1
19704 ac_status=$?
19705 grep -v '^ *+' conftest.er1 >conftest.err
19706 rm -f conftest.er1
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } && {
19710 test -z "$ac_c_werror_flag" ||
19711 test ! -s conftest.err
19712 } && test -s conftest.$ac_objext; then
19713 ac_cv_member_struct_statfs_f_favail=yes
19714 else
19715 echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19718 cat >conftest.$ac_ext <<_ACEOF
19719 /* confdefs.h. */
19720 _ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 #include <sys/types.h>
19725 #ifdef HAVE_SYS_PARAM_H
19726 # include <sys/param.h>
19727 #endif
19728 #ifdef HAVE_SYS_MOUNT_H
19729 # include <sys/mount.h>
19730 #endif
19731 #ifdef HAVE_SYS_VFS_H
19732 # include <sys/vfs.h>
19733 #endif
19734 #ifdef HAVE_SYS_STATFS_H
19735 # include <sys/statfs.h>
19736 #endif
19739 main ()
19741 static struct statfs ac_aggr;
19742 if (sizeof ac_aggr.f_favail)
19743 return 0;
19745 return 0;
19747 _ACEOF
19748 rm -f conftest.$ac_objext
19749 if { (ac_try="$ac_compile"
19750 case "(($ac_try" in
19751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19753 esac
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
19756 ac_status=$?
19757 grep -v '^ *+' conftest.er1 >conftest.err
19758 rm -f conftest.er1
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && {
19762 test -z "$ac_c_werror_flag" ||
19763 test ! -s conftest.err
19764 } && test -s conftest.$ac_objext; then
19765 ac_cv_member_struct_statfs_f_favail=yes
19766 else
19767 echo "$as_me: failed program was:" >&5
19768 sed 's/^/| /' conftest.$ac_ext >&5
19770 ac_cv_member_struct_statfs_f_favail=no
19773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19778 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19779 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19780 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19782 cat >>confdefs.h <<_ACEOF
19783 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19784 _ACEOF
19788 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19789 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19790 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19791 echo $ECHO_N "(cached) $ECHO_C" >&6
19792 else
19793 cat >conftest.$ac_ext <<_ACEOF
19794 /* confdefs.h. */
19795 _ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 #include <sys/types.h>
19800 #ifdef HAVE_SYS_PARAM_H
19801 # include <sys/param.h>
19802 #endif
19803 #ifdef HAVE_SYS_MOUNT_H
19804 # include <sys/mount.h>
19805 #endif
19806 #ifdef HAVE_SYS_VFS_H
19807 # include <sys/vfs.h>
19808 #endif
19809 #ifdef HAVE_SYS_STATFS_H
19810 # include <sys/statfs.h>
19811 #endif
19814 main ()
19816 static struct statfs ac_aggr;
19817 if (ac_aggr.f_namelen)
19818 return 0;
19820 return 0;
19822 _ACEOF
19823 rm -f conftest.$ac_objext
19824 if { (ac_try="$ac_compile"
19825 case "(($ac_try" in
19826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19827 *) ac_try_echo=$ac_try;;
19828 esac
19829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19830 (eval "$ac_compile") 2>conftest.er1
19831 ac_status=$?
19832 grep -v '^ *+' conftest.er1 >conftest.err
19833 rm -f conftest.er1
19834 cat conftest.err >&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } && {
19837 test -z "$ac_c_werror_flag" ||
19838 test ! -s conftest.err
19839 } && test -s conftest.$ac_objext; then
19840 ac_cv_member_struct_statfs_f_namelen=yes
19841 else
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.$ac_ext >&5
19845 cat >conftest.$ac_ext <<_ACEOF
19846 /* confdefs.h. */
19847 _ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #include <sys/types.h>
19852 #ifdef HAVE_SYS_PARAM_H
19853 # include <sys/param.h>
19854 #endif
19855 #ifdef HAVE_SYS_MOUNT_H
19856 # include <sys/mount.h>
19857 #endif
19858 #ifdef HAVE_SYS_VFS_H
19859 # include <sys/vfs.h>
19860 #endif
19861 #ifdef HAVE_SYS_STATFS_H
19862 # include <sys/statfs.h>
19863 #endif
19866 main ()
19868 static struct statfs ac_aggr;
19869 if (sizeof ac_aggr.f_namelen)
19870 return 0;
19872 return 0;
19874 _ACEOF
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19880 esac
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19892 ac_cv_member_struct_statfs_f_namelen=yes
19893 else
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 ac_cv_member_struct_statfs_f_namelen=no
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19905 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19906 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19907 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19909 cat >>confdefs.h <<_ACEOF
19910 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19911 _ACEOF
19917 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19918 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19919 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19920 echo $ECHO_N "(cached) $ECHO_C" >&6
19921 else
19922 cat >conftest.$ac_ext <<_ACEOF
19923 /* confdefs.h. */
19924 _ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 #ifdef HAVE_SYS_STATVFS_H
19929 #include <sys/statvfs.h>
19930 #endif
19933 main ()
19935 static struct statvfs ac_aggr;
19936 if (ac_aggr.f_blocks)
19937 return 0;
19939 return 0;
19941 _ACEOF
19942 rm -f conftest.$ac_objext
19943 if { (ac_try="$ac_compile"
19944 case "(($ac_try" in
19945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19946 *) ac_try_echo=$ac_try;;
19947 esac
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_compile") 2>conftest.er1
19950 ac_status=$?
19951 grep -v '^ *+' conftest.er1 >conftest.err
19952 rm -f conftest.er1
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && {
19956 test -z "$ac_c_werror_flag" ||
19957 test ! -s conftest.err
19958 } && test -s conftest.$ac_objext; then
19959 ac_cv_member_struct_statvfs_f_blocks=yes
19960 else
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19964 cat >conftest.$ac_ext <<_ACEOF
19965 /* confdefs.h. */
19966 _ACEOF
19967 cat confdefs.h >>conftest.$ac_ext
19968 cat >>conftest.$ac_ext <<_ACEOF
19969 /* end confdefs.h. */
19970 #ifdef HAVE_SYS_STATVFS_H
19971 #include <sys/statvfs.h>
19972 #endif
19975 main ()
19977 static struct statvfs ac_aggr;
19978 if (sizeof ac_aggr.f_blocks)
19979 return 0;
19981 return 0;
19983 _ACEOF
19984 rm -f conftest.$ac_objext
19985 if { (ac_try="$ac_compile"
19986 case "(($ac_try" in
19987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19988 *) ac_try_echo=$ac_try;;
19989 esac
19990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19991 (eval "$ac_compile") 2>conftest.er1
19992 ac_status=$?
19993 grep -v '^ *+' conftest.er1 >conftest.err
19994 rm -f conftest.er1
19995 cat conftest.err >&5
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); } && {
19998 test -z "$ac_c_werror_flag" ||
19999 test ! -s conftest.err
20000 } && test -s conftest.$ac_objext; then
20001 ac_cv_member_struct_statvfs_f_blocks=yes
20002 else
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.$ac_ext >&5
20006 ac_cv_member_struct_statvfs_f_blocks=no
20009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
20015 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
20016 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
20018 cat >>confdefs.h <<_ACEOF
20019 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
20020 _ACEOF
20026 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
20027 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
20028 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6
20030 else
20031 cat >conftest.$ac_ext <<_ACEOF
20032 /* confdefs.h. */
20033 _ACEOF
20034 cat confdefs.h >>conftest.$ac_ext
20035 cat >>conftest.$ac_ext <<_ACEOF
20036 /* end confdefs.h. */
20037 #include <sys/types.h>
20038 #ifdef HAVE_SYS_SOCKET_H
20039 # include <sys/socket.h>
20040 #endif
20041 #ifdef HAVE_SYS_UN_H
20042 # include <sys/un.h>
20043 #endif
20046 main ()
20048 static struct msghdr ac_aggr;
20049 if (ac_aggr.msg_accrights)
20050 return 0;
20052 return 0;
20054 _ACEOF
20055 rm -f conftest.$ac_objext
20056 if { (ac_try="$ac_compile"
20057 case "(($ac_try" in
20058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20059 *) ac_try_echo=$ac_try;;
20060 esac
20061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20062 (eval "$ac_compile") 2>conftest.er1
20063 ac_status=$?
20064 grep -v '^ *+' conftest.er1 >conftest.err
20065 rm -f conftest.er1
20066 cat conftest.err >&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); } && {
20069 test -z "$ac_c_werror_flag" ||
20070 test ! -s conftest.err
20071 } && test -s conftest.$ac_objext; then
20072 ac_cv_member_struct_msghdr_msg_accrights=yes
20073 else
20074 echo "$as_me: failed program was:" >&5
20075 sed 's/^/| /' conftest.$ac_ext >&5
20077 cat >conftest.$ac_ext <<_ACEOF
20078 /* confdefs.h. */
20079 _ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h. */
20083 #include <sys/types.h>
20084 #ifdef HAVE_SYS_SOCKET_H
20085 # include <sys/socket.h>
20086 #endif
20087 #ifdef HAVE_SYS_UN_H
20088 # include <sys/un.h>
20089 #endif
20092 main ()
20094 static struct msghdr ac_aggr;
20095 if (sizeof ac_aggr.msg_accrights)
20096 return 0;
20098 return 0;
20100 _ACEOF
20101 rm -f conftest.$ac_objext
20102 if { (ac_try="$ac_compile"
20103 case "(($ac_try" in
20104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20105 *) ac_try_echo=$ac_try;;
20106 esac
20107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20108 (eval "$ac_compile") 2>conftest.er1
20109 ac_status=$?
20110 grep -v '^ *+' conftest.er1 >conftest.err
20111 rm -f conftest.er1
20112 cat conftest.err >&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); } && {
20115 test -z "$ac_c_werror_flag" ||
20116 test ! -s conftest.err
20117 } && test -s conftest.$ac_objext; then
20118 ac_cv_member_struct_msghdr_msg_accrights=yes
20119 else
20120 echo "$as_me: failed program was:" >&5
20121 sed 's/^/| /' conftest.$ac_ext >&5
20123 ac_cv_member_struct_msghdr_msg_accrights=no
20126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20131 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
20132 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
20133 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
20135 cat >>confdefs.h <<_ACEOF
20136 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
20137 _ACEOF
20141 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
20142 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
20143 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
20144 echo $ECHO_N "(cached) $ECHO_C" >&6
20145 else
20146 cat >conftest.$ac_ext <<_ACEOF
20147 /* confdefs.h. */
20148 _ACEOF
20149 cat confdefs.h >>conftest.$ac_ext
20150 cat >>conftest.$ac_ext <<_ACEOF
20151 /* end confdefs.h. */
20152 #include <sys/types.h>
20153 #ifdef HAVE_SYS_SOCKET_H
20154 # include <sys/socket.h>
20155 #endif
20156 #ifdef HAVE_SYS_UN_H
20157 # include <sys/un.h>
20158 #endif
20161 main ()
20163 static struct sockaddr ac_aggr;
20164 if (ac_aggr.sa_len)
20165 return 0;
20167 return 0;
20169 _ACEOF
20170 rm -f conftest.$ac_objext
20171 if { (ac_try="$ac_compile"
20172 case "(($ac_try" in
20173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20174 *) ac_try_echo=$ac_try;;
20175 esac
20176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20177 (eval "$ac_compile") 2>conftest.er1
20178 ac_status=$?
20179 grep -v '^ *+' conftest.er1 >conftest.err
20180 rm -f conftest.er1
20181 cat conftest.err >&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } && {
20184 test -z "$ac_c_werror_flag" ||
20185 test ! -s conftest.err
20186 } && test -s conftest.$ac_objext; then
20187 ac_cv_member_struct_sockaddr_sa_len=yes
20188 else
20189 echo "$as_me: failed program was:" >&5
20190 sed 's/^/| /' conftest.$ac_ext >&5
20192 cat >conftest.$ac_ext <<_ACEOF
20193 /* confdefs.h. */
20194 _ACEOF
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 #include <sys/types.h>
20199 #ifdef HAVE_SYS_SOCKET_H
20200 # include <sys/socket.h>
20201 #endif
20202 #ifdef HAVE_SYS_UN_H
20203 # include <sys/un.h>
20204 #endif
20207 main ()
20209 static struct sockaddr ac_aggr;
20210 if (sizeof ac_aggr.sa_len)
20211 return 0;
20213 return 0;
20215 _ACEOF
20216 rm -f conftest.$ac_objext
20217 if { (ac_try="$ac_compile"
20218 case "(($ac_try" in
20219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20220 *) ac_try_echo=$ac_try;;
20221 esac
20222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20223 (eval "$ac_compile") 2>conftest.er1
20224 ac_status=$?
20225 grep -v '^ *+' conftest.er1 >conftest.err
20226 rm -f conftest.er1
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && {
20230 test -z "$ac_c_werror_flag" ||
20231 test ! -s conftest.err
20232 } && test -s conftest.$ac_objext; then
20233 ac_cv_member_struct_sockaddr_sa_len=yes
20234 else
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20238 ac_cv_member_struct_sockaddr_sa_len=no
20241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20247 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20248 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20250 cat >>confdefs.h <<_ACEOF
20251 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20252 _ACEOF
20256 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20257 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20258 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 else
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <sys/types.h>
20268 #ifdef HAVE_SYS_SOCKET_H
20269 # include <sys/socket.h>
20270 #endif
20271 #ifdef HAVE_SYS_UN_H
20272 # include <sys/un.h>
20273 #endif
20276 main ()
20278 static struct sockaddr_un ac_aggr;
20279 if (ac_aggr.sun_len)
20280 return 0;
20282 return 0;
20284 _ACEOF
20285 rm -f conftest.$ac_objext
20286 if { (ac_try="$ac_compile"
20287 case "(($ac_try" in
20288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20289 *) ac_try_echo=$ac_try;;
20290 esac
20291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20292 (eval "$ac_compile") 2>conftest.er1
20293 ac_status=$?
20294 grep -v '^ *+' conftest.er1 >conftest.err
20295 rm -f conftest.er1
20296 cat conftest.err >&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); } && {
20299 test -z "$ac_c_werror_flag" ||
20300 test ! -s conftest.err
20301 } && test -s conftest.$ac_objext; then
20302 ac_cv_member_struct_sockaddr_un_sun_len=yes
20303 else
20304 echo "$as_me: failed program was:" >&5
20305 sed 's/^/| /' conftest.$ac_ext >&5
20307 cat >conftest.$ac_ext <<_ACEOF
20308 /* confdefs.h. */
20309 _ACEOF
20310 cat confdefs.h >>conftest.$ac_ext
20311 cat >>conftest.$ac_ext <<_ACEOF
20312 /* end confdefs.h. */
20313 #include <sys/types.h>
20314 #ifdef HAVE_SYS_SOCKET_H
20315 # include <sys/socket.h>
20316 #endif
20317 #ifdef HAVE_SYS_UN_H
20318 # include <sys/un.h>
20319 #endif
20322 main ()
20324 static struct sockaddr_un ac_aggr;
20325 if (sizeof ac_aggr.sun_len)
20326 return 0;
20328 return 0;
20330 _ACEOF
20331 rm -f conftest.$ac_objext
20332 if { (ac_try="$ac_compile"
20333 case "(($ac_try" in
20334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20335 *) ac_try_echo=$ac_try;;
20336 esac
20337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20338 (eval "$ac_compile") 2>conftest.er1
20339 ac_status=$?
20340 grep -v '^ *+' conftest.er1 >conftest.err
20341 rm -f conftest.er1
20342 cat conftest.err >&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } && {
20345 test -z "$ac_c_werror_flag" ||
20346 test ! -s conftest.err
20347 } && test -s conftest.$ac_objext; then
20348 ac_cv_member_struct_sockaddr_un_sun_len=yes
20349 else
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20353 ac_cv_member_struct_sockaddr_un_sun_len=no
20356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20361 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20362 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20363 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20365 cat >>confdefs.h <<_ACEOF
20366 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20367 _ACEOF
20373 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20374 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20375 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20376 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 else
20378 cat >conftest.$ac_ext <<_ACEOF
20379 /* confdefs.h. */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 #include <sys/types.h>
20385 #ifdef HAVE_SCSI_SG_H
20386 #include <scsi/sg.h>
20387 #endif
20390 main ()
20392 static scsireq_t ac_aggr;
20393 if (ac_aggr.cmd)
20394 return 0;
20396 return 0;
20398 _ACEOF
20399 rm -f conftest.$ac_objext
20400 if { (ac_try="$ac_compile"
20401 case "(($ac_try" in
20402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20403 *) ac_try_echo=$ac_try;;
20404 esac
20405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20406 (eval "$ac_compile") 2>conftest.er1
20407 ac_status=$?
20408 grep -v '^ *+' conftest.er1 >conftest.err
20409 rm -f conftest.er1
20410 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } && {
20413 test -z "$ac_c_werror_flag" ||
20414 test ! -s conftest.err
20415 } && test -s conftest.$ac_objext; then
20416 ac_cv_member_scsireq_t_cmd=yes
20417 else
20418 echo "$as_me: failed program was:" >&5
20419 sed 's/^/| /' conftest.$ac_ext >&5
20421 cat >conftest.$ac_ext <<_ACEOF
20422 /* confdefs.h. */
20423 _ACEOF
20424 cat confdefs.h >>conftest.$ac_ext
20425 cat >>conftest.$ac_ext <<_ACEOF
20426 /* end confdefs.h. */
20427 #include <sys/types.h>
20428 #ifdef HAVE_SCSI_SG_H
20429 #include <scsi/sg.h>
20430 #endif
20433 main ()
20435 static scsireq_t ac_aggr;
20436 if (sizeof ac_aggr.cmd)
20437 return 0;
20439 return 0;
20441 _ACEOF
20442 rm -f conftest.$ac_objext
20443 if { (ac_try="$ac_compile"
20444 case "(($ac_try" in
20445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20446 *) ac_try_echo=$ac_try;;
20447 esac
20448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20449 (eval "$ac_compile") 2>conftest.er1
20450 ac_status=$?
20451 grep -v '^ *+' conftest.er1 >conftest.err
20452 rm -f conftest.er1
20453 cat conftest.err >&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); } && {
20456 test -z "$ac_c_werror_flag" ||
20457 test ! -s conftest.err
20458 } && test -s conftest.$ac_objext; then
20459 ac_cv_member_scsireq_t_cmd=yes
20460 else
20461 echo "$as_me: failed program was:" >&5
20462 sed 's/^/| /' conftest.$ac_ext >&5
20464 ac_cv_member_scsireq_t_cmd=no
20467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20472 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20473 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20474 if test $ac_cv_member_scsireq_t_cmd = yes; then
20476 cat >>confdefs.h <<_ACEOF
20477 #define HAVE_SCSIREQ_T_CMD 1
20478 _ACEOF
20482 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20483 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20484 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20485 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 else
20487 cat >conftest.$ac_ext <<_ACEOF
20488 /* confdefs.h. */
20489 _ACEOF
20490 cat confdefs.h >>conftest.$ac_ext
20491 cat >>conftest.$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 #include <sys/types.h>
20494 #ifdef HAVE_SCSI_SG_H
20495 #include <scsi/sg.h>
20496 #endif
20499 main ()
20501 static sg_io_hdr_t ac_aggr;
20502 if (ac_aggr.interface_id)
20503 return 0;
20505 return 0;
20507 _ACEOF
20508 rm -f conftest.$ac_objext
20509 if { (ac_try="$ac_compile"
20510 case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20513 esac
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_compile") 2>conftest.er1
20516 ac_status=$?
20517 grep -v '^ *+' conftest.er1 >conftest.err
20518 rm -f conftest.er1
20519 cat conftest.err >&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } && {
20522 test -z "$ac_c_werror_flag" ||
20523 test ! -s conftest.err
20524 } && test -s conftest.$ac_objext; then
20525 ac_cv_member_sg_io_hdr_t_interface_id=yes
20526 else
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.$ac_ext >&5
20530 cat >conftest.$ac_ext <<_ACEOF
20531 /* confdefs.h. */
20532 _ACEOF
20533 cat confdefs.h >>conftest.$ac_ext
20534 cat >>conftest.$ac_ext <<_ACEOF
20535 /* end confdefs.h. */
20536 #include <sys/types.h>
20537 #ifdef HAVE_SCSI_SG_H
20538 #include <scsi/sg.h>
20539 #endif
20542 main ()
20544 static sg_io_hdr_t ac_aggr;
20545 if (sizeof ac_aggr.interface_id)
20546 return 0;
20548 return 0;
20550 _ACEOF
20551 rm -f conftest.$ac_objext
20552 if { (ac_try="$ac_compile"
20553 case "(($ac_try" in
20554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20555 *) ac_try_echo=$ac_try;;
20556 esac
20557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20558 (eval "$ac_compile") 2>conftest.er1
20559 ac_status=$?
20560 grep -v '^ *+' conftest.er1 >conftest.err
20561 rm -f conftest.er1
20562 cat conftest.err >&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } && {
20565 test -z "$ac_c_werror_flag" ||
20566 test ! -s conftest.err
20567 } && test -s conftest.$ac_objext; then
20568 ac_cv_member_sg_io_hdr_t_interface_id=yes
20569 else
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.$ac_ext >&5
20573 ac_cv_member_sg_io_hdr_t_interface_id=no
20576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20581 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20582 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20583 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20585 cat >>confdefs.h <<_ACEOF
20586 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20587 _ACEOF
20593 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20594 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20595 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20596 echo $ECHO_N "(cached) $ECHO_C" >&6
20597 else
20598 cat >conftest.$ac_ext <<_ACEOF
20599 /* confdefs.h. */
20600 _ACEOF
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 #include <signal.h>
20607 main ()
20609 static siginfo_t ac_aggr;
20610 if (ac_aggr.si_fd)
20611 return 0;
20613 return 0;
20615 _ACEOF
20616 rm -f conftest.$ac_objext
20617 if { (ac_try="$ac_compile"
20618 case "(($ac_try" in
20619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20620 *) ac_try_echo=$ac_try;;
20621 esac
20622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20623 (eval "$ac_compile") 2>conftest.er1
20624 ac_status=$?
20625 grep -v '^ *+' conftest.er1 >conftest.err
20626 rm -f conftest.er1
20627 cat conftest.err >&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); } && {
20630 test -z "$ac_c_werror_flag" ||
20631 test ! -s conftest.err
20632 } && test -s conftest.$ac_objext; then
20633 ac_cv_member_siginfo_t_si_fd=yes
20634 else
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h. */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h. */
20644 #include <signal.h>
20647 main ()
20649 static siginfo_t ac_aggr;
20650 if (sizeof ac_aggr.si_fd)
20651 return 0;
20653 return 0;
20655 _ACEOF
20656 rm -f conftest.$ac_objext
20657 if { (ac_try="$ac_compile"
20658 case "(($ac_try" in
20659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20660 *) ac_try_echo=$ac_try;;
20661 esac
20662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20663 (eval "$ac_compile") 2>conftest.er1
20664 ac_status=$?
20665 grep -v '^ *+' conftest.er1 >conftest.err
20666 rm -f conftest.er1
20667 cat conftest.err >&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); } && {
20670 test -z "$ac_c_werror_flag" ||
20671 test ! -s conftest.err
20672 } && test -s conftest.$ac_objext; then
20673 ac_cv_member_siginfo_t_si_fd=yes
20674 else
20675 echo "$as_me: failed program was:" >&5
20676 sed 's/^/| /' conftest.$ac_ext >&5
20678 ac_cv_member_siginfo_t_si_fd=no
20681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20686 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20687 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20688 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20690 cat >>confdefs.h <<_ACEOF
20691 #define HAVE_SIGINFO_T_SI_FD 1
20692 _ACEOF
20698 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20699 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20700 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20701 echo $ECHO_N "(cached) $ECHO_C" >&6
20702 else
20703 cat >conftest.$ac_ext <<_ACEOF
20704 /* confdefs.h. */
20705 _ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 #include <sys/types.h>
20710 #ifdef HAVE_SYS_MTIO_H
20711 #include <sys/mtio.h>
20712 #endif
20715 main ()
20717 static struct mtget ac_aggr;
20718 if (ac_aggr.mt_blksiz)
20719 return 0;
20721 return 0;
20723 _ACEOF
20724 rm -f conftest.$ac_objext
20725 if { (ac_try="$ac_compile"
20726 case "(($ac_try" in
20727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20728 *) ac_try_echo=$ac_try;;
20729 esac
20730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20731 (eval "$ac_compile") 2>conftest.er1
20732 ac_status=$?
20733 grep -v '^ *+' conftest.er1 >conftest.err
20734 rm -f conftest.er1
20735 cat conftest.err >&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } && {
20738 test -z "$ac_c_werror_flag" ||
20739 test ! -s conftest.err
20740 } && test -s conftest.$ac_objext; then
20741 ac_cv_member_struct_mtget_mt_blksiz=yes
20742 else
20743 echo "$as_me: failed program was:" >&5
20744 sed 's/^/| /' conftest.$ac_ext >&5
20746 cat >conftest.$ac_ext <<_ACEOF
20747 /* confdefs.h. */
20748 _ACEOF
20749 cat confdefs.h >>conftest.$ac_ext
20750 cat >>conftest.$ac_ext <<_ACEOF
20751 /* end confdefs.h. */
20752 #include <sys/types.h>
20753 #ifdef HAVE_SYS_MTIO_H
20754 #include <sys/mtio.h>
20755 #endif
20758 main ()
20760 static struct mtget ac_aggr;
20761 if (sizeof ac_aggr.mt_blksiz)
20762 return 0;
20764 return 0;
20766 _ACEOF
20767 rm -f conftest.$ac_objext
20768 if { (ac_try="$ac_compile"
20769 case "(($ac_try" in
20770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20771 *) ac_try_echo=$ac_try;;
20772 esac
20773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20774 (eval "$ac_compile") 2>conftest.er1
20775 ac_status=$?
20776 grep -v '^ *+' conftest.er1 >conftest.err
20777 rm -f conftest.er1
20778 cat conftest.err >&5
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); } && {
20781 test -z "$ac_c_werror_flag" ||
20782 test ! -s conftest.err
20783 } && test -s conftest.$ac_objext; then
20784 ac_cv_member_struct_mtget_mt_blksiz=yes
20785 else
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20789 ac_cv_member_struct_mtget_mt_blksiz=no
20792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20797 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20798 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20799 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20801 cat >>confdefs.h <<_ACEOF
20802 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20803 _ACEOF
20807 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20808 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20809 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20810 echo $ECHO_N "(cached) $ECHO_C" >&6
20811 else
20812 cat >conftest.$ac_ext <<_ACEOF
20813 /* confdefs.h. */
20814 _ACEOF
20815 cat confdefs.h >>conftest.$ac_ext
20816 cat >>conftest.$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20818 #include <sys/types.h>
20819 #ifdef HAVE_SYS_MTIO_H
20820 #include <sys/mtio.h>
20821 #endif
20824 main ()
20826 static struct mtget ac_aggr;
20827 if (ac_aggr.mt_gstat)
20828 return 0;
20830 return 0;
20832 _ACEOF
20833 rm -f conftest.$ac_objext
20834 if { (ac_try="$ac_compile"
20835 case "(($ac_try" in
20836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20837 *) ac_try_echo=$ac_try;;
20838 esac
20839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_compile") 2>conftest.er1
20841 ac_status=$?
20842 grep -v '^ *+' conftest.er1 >conftest.err
20843 rm -f conftest.er1
20844 cat conftest.err >&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } && {
20847 test -z "$ac_c_werror_flag" ||
20848 test ! -s conftest.err
20849 } && test -s conftest.$ac_objext; then
20850 ac_cv_member_struct_mtget_mt_gstat=yes
20851 else
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20855 cat >conftest.$ac_ext <<_ACEOF
20856 /* confdefs.h. */
20857 _ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861 #include <sys/types.h>
20862 #ifdef HAVE_SYS_MTIO_H
20863 #include <sys/mtio.h>
20864 #endif
20867 main ()
20869 static struct mtget ac_aggr;
20870 if (sizeof ac_aggr.mt_gstat)
20871 return 0;
20873 return 0;
20875 _ACEOF
20876 rm -f conftest.$ac_objext
20877 if { (ac_try="$ac_compile"
20878 case "(($ac_try" in
20879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20881 esac
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_compile") 2>conftest.er1
20884 ac_status=$?
20885 grep -v '^ *+' conftest.er1 >conftest.err
20886 rm -f conftest.er1
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } && {
20890 test -z "$ac_c_werror_flag" ||
20891 test ! -s conftest.err
20892 } && test -s conftest.$ac_objext; then
20893 ac_cv_member_struct_mtget_mt_gstat=yes
20894 else
20895 echo "$as_me: failed program was:" >&5
20896 sed 's/^/| /' conftest.$ac_ext >&5
20898 ac_cv_member_struct_mtget_mt_gstat=no
20901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20906 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20907 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20908 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20910 cat >>confdefs.h <<_ACEOF
20911 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20912 _ACEOF
20916 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20917 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20918 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20920 else
20921 cat >conftest.$ac_ext <<_ACEOF
20922 /* confdefs.h. */
20923 _ACEOF
20924 cat confdefs.h >>conftest.$ac_ext
20925 cat >>conftest.$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 #include <sys/types.h>
20928 #ifdef HAVE_SYS_MTIO_H
20929 #include <sys/mtio.h>
20930 #endif
20933 main ()
20935 static struct mtget ac_aggr;
20936 if (ac_aggr.mt_blkno)
20937 return 0;
20939 return 0;
20941 _ACEOF
20942 rm -f conftest.$ac_objext
20943 if { (ac_try="$ac_compile"
20944 case "(($ac_try" in
20945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20946 *) ac_try_echo=$ac_try;;
20947 esac
20948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20949 (eval "$ac_compile") 2>conftest.er1
20950 ac_status=$?
20951 grep -v '^ *+' conftest.er1 >conftest.err
20952 rm -f conftest.er1
20953 cat conftest.err >&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } && {
20956 test -z "$ac_c_werror_flag" ||
20957 test ! -s conftest.err
20958 } && test -s conftest.$ac_objext; then
20959 ac_cv_member_struct_mtget_mt_blkno=yes
20960 else
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.$ac_ext >&5
20964 cat >conftest.$ac_ext <<_ACEOF
20965 /* confdefs.h. */
20966 _ACEOF
20967 cat confdefs.h >>conftest.$ac_ext
20968 cat >>conftest.$ac_ext <<_ACEOF
20969 /* end confdefs.h. */
20970 #include <sys/types.h>
20971 #ifdef HAVE_SYS_MTIO_H
20972 #include <sys/mtio.h>
20973 #endif
20976 main ()
20978 static struct mtget ac_aggr;
20979 if (sizeof ac_aggr.mt_blkno)
20980 return 0;
20982 return 0;
20984 _ACEOF
20985 rm -f conftest.$ac_objext
20986 if { (ac_try="$ac_compile"
20987 case "(($ac_try" in
20988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20989 *) ac_try_echo=$ac_try;;
20990 esac
20991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20992 (eval "$ac_compile") 2>conftest.er1
20993 ac_status=$?
20994 grep -v '^ *+' conftest.er1 >conftest.err
20995 rm -f conftest.er1
20996 cat conftest.err >&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); } && {
20999 test -z "$ac_c_werror_flag" ||
21000 test ! -s conftest.err
21001 } && test -s conftest.$ac_objext; then
21002 ac_cv_member_struct_mtget_mt_blkno=yes
21003 else
21004 echo "$as_me: failed program was:" >&5
21005 sed 's/^/| /' conftest.$ac_ext >&5
21007 ac_cv_member_struct_mtget_mt_blkno=no
21010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21015 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
21016 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
21017 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
21019 cat >>confdefs.h <<_ACEOF
21020 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
21021 _ACEOF
21027 { echo "$as_me:$LINENO: checking for struct option.name" >&5
21028 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
21029 if test "${ac_cv_member_struct_option_name+set}" = set; then
21030 echo $ECHO_N "(cached) $ECHO_C" >&6
21031 else
21032 cat >conftest.$ac_ext <<_ACEOF
21033 /* confdefs.h. */
21034 _ACEOF
21035 cat confdefs.h >>conftest.$ac_ext
21036 cat >>conftest.$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21038 #ifdef HAVE_GETOPT_H
21039 #include <getopt.h>
21040 #endif
21043 main ()
21045 static struct option ac_aggr;
21046 if (ac_aggr.name)
21047 return 0;
21049 return 0;
21051 _ACEOF
21052 rm -f conftest.$ac_objext
21053 if { (ac_try="$ac_compile"
21054 case "(($ac_try" in
21055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21056 *) ac_try_echo=$ac_try;;
21057 esac
21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21059 (eval "$ac_compile") 2>conftest.er1
21060 ac_status=$?
21061 grep -v '^ *+' conftest.er1 >conftest.err
21062 rm -f conftest.er1
21063 cat conftest.err >&5
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); } && {
21066 test -z "$ac_c_werror_flag" ||
21067 test ! -s conftest.err
21068 } && test -s conftest.$ac_objext; then
21069 ac_cv_member_struct_option_name=yes
21070 else
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21074 cat >conftest.$ac_ext <<_ACEOF
21075 /* confdefs.h. */
21076 _ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h. */
21080 #ifdef HAVE_GETOPT_H
21081 #include <getopt.h>
21082 #endif
21085 main ()
21087 static struct option ac_aggr;
21088 if (sizeof ac_aggr.name)
21089 return 0;
21091 return 0;
21093 _ACEOF
21094 rm -f conftest.$ac_objext
21095 if { (ac_try="$ac_compile"
21096 case "(($ac_try" in
21097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21099 esac
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_compile") 2>conftest.er1
21102 ac_status=$?
21103 grep -v '^ *+' conftest.er1 >conftest.err
21104 rm -f conftest.er1
21105 cat conftest.err >&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } && {
21108 test -z "$ac_c_werror_flag" ||
21109 test ! -s conftest.err
21110 } && test -s conftest.$ac_objext; then
21111 ac_cv_member_struct_option_name=yes
21112 else
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21116 ac_cv_member_struct_option_name=no
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
21125 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
21126 if test $ac_cv_member_struct_option_name = yes; then
21128 cat >>confdefs.h <<_ACEOF
21129 #define HAVE_STRUCT_OPTION_NAME 1
21130 _ACEOF
21136 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
21137 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
21138 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
21139 echo $ECHO_N "(cached) $ECHO_C" >&6
21140 else
21141 cat >conftest.$ac_ext <<_ACEOF
21142 /* confdefs.h. */
21143 _ACEOF
21144 cat confdefs.h >>conftest.$ac_ext
21145 cat >>conftest.$ac_ext <<_ACEOF
21146 /* end confdefs.h. */
21147 $ac_includes_default
21149 main ()
21151 static struct stat ac_aggr;
21152 if (ac_aggr.st_blocks)
21153 return 0;
21155 return 0;
21157 _ACEOF
21158 rm -f conftest.$ac_objext
21159 if { (ac_try="$ac_compile"
21160 case "(($ac_try" in
21161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21162 *) ac_try_echo=$ac_try;;
21163 esac
21164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21165 (eval "$ac_compile") 2>conftest.er1
21166 ac_status=$?
21167 grep -v '^ *+' conftest.er1 >conftest.err
21168 rm -f conftest.er1
21169 cat conftest.err >&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } && {
21172 test -z "$ac_c_werror_flag" ||
21173 test ! -s conftest.err
21174 } && test -s conftest.$ac_objext; then
21175 ac_cv_member_struct_stat_st_blocks=yes
21176 else
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21180 cat >conftest.$ac_ext <<_ACEOF
21181 /* confdefs.h. */
21182 _ACEOF
21183 cat confdefs.h >>conftest.$ac_ext
21184 cat >>conftest.$ac_ext <<_ACEOF
21185 /* end confdefs.h. */
21186 $ac_includes_default
21188 main ()
21190 static struct stat ac_aggr;
21191 if (sizeof ac_aggr.st_blocks)
21192 return 0;
21194 return 0;
21196 _ACEOF
21197 rm -f conftest.$ac_objext
21198 if { (ac_try="$ac_compile"
21199 case "(($ac_try" in
21200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21201 *) ac_try_echo=$ac_try;;
21202 esac
21203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21204 (eval "$ac_compile") 2>conftest.er1
21205 ac_status=$?
21206 grep -v '^ *+' conftest.er1 >conftest.err
21207 rm -f conftest.er1
21208 cat conftest.err >&5
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); } && {
21211 test -z "$ac_c_werror_flag" ||
21212 test ! -s conftest.err
21213 } && test -s conftest.$ac_objext; then
21214 ac_cv_member_struct_stat_st_blocks=yes
21215 else
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21219 ac_cv_member_struct_stat_st_blocks=no
21222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
21228 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
21229 if test $ac_cv_member_struct_stat_st_blocks = yes; then
21231 cat >>confdefs.h <<_ACEOF
21232 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21233 _ACEOF
21239 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21240 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21241 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21242 echo $ECHO_N "(cached) $ECHO_C" >&6
21243 else
21244 cat >conftest.$ac_ext <<_ACEOF
21245 /* confdefs.h. */
21246 _ACEOF
21247 cat confdefs.h >>conftest.$ac_ext
21248 cat >>conftest.$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21250 #ifdef HAVE_SYS_TYPES_H
21251 #include <sys/types.h>
21252 #endif
21253 #ifdef HAVE_NETINET_IN_H
21254 #include <netinet/in.h>
21255 #endif
21258 main ()
21260 static struct sockaddr_in6 ac_aggr;
21261 if (ac_aggr.sin6_scope_id)
21262 return 0;
21264 return 0;
21266 _ACEOF
21267 rm -f conftest.$ac_objext
21268 if { (ac_try="$ac_compile"
21269 case "(($ac_try" in
21270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21271 *) ac_try_echo=$ac_try;;
21272 esac
21273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21274 (eval "$ac_compile") 2>conftest.er1
21275 ac_status=$?
21276 grep -v '^ *+' conftest.er1 >conftest.err
21277 rm -f conftest.er1
21278 cat conftest.err >&5
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); } && {
21281 test -z "$ac_c_werror_flag" ||
21282 test ! -s conftest.err
21283 } && test -s conftest.$ac_objext; then
21284 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21285 else
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.$ac_ext >&5
21289 cat >conftest.$ac_ext <<_ACEOF
21290 /* confdefs.h. */
21291 _ACEOF
21292 cat confdefs.h >>conftest.$ac_ext
21293 cat >>conftest.$ac_ext <<_ACEOF
21294 /* end confdefs.h. */
21295 #ifdef HAVE_SYS_TYPES_H
21296 #include <sys/types.h>
21297 #endif
21298 #ifdef HAVE_NETINET_IN_H
21299 #include <netinet/in.h>
21300 #endif
21303 main ()
21305 static struct sockaddr_in6 ac_aggr;
21306 if (sizeof ac_aggr.sin6_scope_id)
21307 return 0;
21309 return 0;
21311 _ACEOF
21312 rm -f conftest.$ac_objext
21313 if { (ac_try="$ac_compile"
21314 case "(($ac_try" in
21315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21316 *) ac_try_echo=$ac_try;;
21317 esac
21318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21319 (eval "$ac_compile") 2>conftest.er1
21320 ac_status=$?
21321 grep -v '^ *+' conftest.er1 >conftest.err
21322 rm -f conftest.er1
21323 cat conftest.err >&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); } && {
21326 test -z "$ac_c_werror_flag" ||
21327 test ! -s conftest.err
21328 } && test -s conftest.$ac_objext; then
21329 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21330 else
21331 echo "$as_me: failed program was:" >&5
21332 sed 's/^/| /' conftest.$ac_ext >&5
21334 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21342 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21343 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21344 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21346 cat >>confdefs.h <<_ACEOF
21347 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21348 _ACEOF
21354 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21355 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21356 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21357 echo $ECHO_N "(cached) $ECHO_C" >&6
21358 else
21359 cat >conftest.$ac_ext <<_ACEOF
21360 /* confdefs.h. */
21361 _ACEOF
21362 cat confdefs.h >>conftest.$ac_ext
21363 cat >>conftest.$ac_ext <<_ACEOF
21364 /* end confdefs.h. */
21365 #ifdef HAVE_SYS_TYPES_H
21366 #include <sys/types.h>
21367 #endif
21368 #ifdef HAVE_NETINET_IN_H
21369 # include <netinet/in.h>
21370 #endif
21371 #ifdef HAVE_ARPA_NAMESER_H
21372 # include <arpa/nameser.h>
21373 #endif
21376 main ()
21378 static ns_msg ac_aggr;
21379 if (ac_aggr._msg_ptr)
21380 return 0;
21382 return 0;
21384 _ACEOF
21385 rm -f conftest.$ac_objext
21386 if { (ac_try="$ac_compile"
21387 case "(($ac_try" in
21388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21389 *) ac_try_echo=$ac_try;;
21390 esac
21391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21392 (eval "$ac_compile") 2>conftest.er1
21393 ac_status=$?
21394 grep -v '^ *+' conftest.er1 >conftest.err
21395 rm -f conftest.er1
21396 cat conftest.err >&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } && {
21399 test -z "$ac_c_werror_flag" ||
21400 test ! -s conftest.err
21401 } && test -s conftest.$ac_objext; then
21402 ac_cv_member_ns_msg__msg_ptr=yes
21403 else
21404 echo "$as_me: failed program was:" >&5
21405 sed 's/^/| /' conftest.$ac_ext >&5
21407 cat >conftest.$ac_ext <<_ACEOF
21408 /* confdefs.h. */
21409 _ACEOF
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 #ifdef HAVE_SYS_TYPES_H
21414 #include <sys/types.h>
21415 #endif
21416 #ifdef HAVE_NETINET_IN_H
21417 # include <netinet/in.h>
21418 #endif
21419 #ifdef HAVE_ARPA_NAMESER_H
21420 # include <arpa/nameser.h>
21421 #endif
21424 main ()
21426 static ns_msg ac_aggr;
21427 if (sizeof ac_aggr._msg_ptr)
21428 return 0;
21430 return 0;
21432 _ACEOF
21433 rm -f conftest.$ac_objext
21434 if { (ac_try="$ac_compile"
21435 case "(($ac_try" in
21436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21437 *) ac_try_echo=$ac_try;;
21438 esac
21439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21440 (eval "$ac_compile") 2>conftest.er1
21441 ac_status=$?
21442 grep -v '^ *+' conftest.er1 >conftest.err
21443 rm -f conftest.er1
21444 cat conftest.err >&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); } && {
21447 test -z "$ac_c_werror_flag" ||
21448 test ! -s conftest.err
21449 } && test -s conftest.$ac_objext; then
21450 ac_cv_member_ns_msg__msg_ptr=yes
21451 else
21452 echo "$as_me: failed program was:" >&5
21453 sed 's/^/| /' conftest.$ac_ext >&5
21455 ac_cv_member_ns_msg__msg_ptr=no
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21463 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21464 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21465 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21467 cat >>confdefs.h <<_ACEOF
21468 #define HAVE_NS_MSG__MSG_PTR 1
21469 _ACEOF
21475 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21476 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21477 if test "${ac_cv_have_timezone+set}" = set; then
21478 echo $ECHO_N "(cached) $ECHO_C" >&6
21479 else
21480 cat >conftest.$ac_ext <<_ACEOF
21481 /* confdefs.h. */
21482 _ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21486 #include <time.h>
21488 main ()
21490 timezone = 1
21492 return 0;
21494 _ACEOF
21495 rm -f conftest.$ac_objext conftest$ac_exeext
21496 if { (ac_try="$ac_link"
21497 case "(($ac_try" in
21498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21499 *) ac_try_echo=$ac_try;;
21500 esac
21501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21502 (eval "$ac_link") 2>conftest.er1
21503 ac_status=$?
21504 grep -v '^ *+' conftest.er1 >conftest.err
21505 rm -f conftest.er1
21506 cat conftest.err >&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && {
21509 test -z "$ac_c_werror_flag" ||
21510 test ! -s conftest.err
21511 } && test -s conftest$ac_exeext &&
21512 $as_test_x conftest$ac_exeext; then
21513 ac_cv_have_timezone="yes"
21514 else
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21518 ac_cv_have_timezone="no"
21521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21522 conftest$ac_exeext conftest.$ac_ext
21524 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21525 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21526 if test "$ac_cv_have_timezone" = "yes"
21527 then
21529 cat >>confdefs.h <<\_ACEOF
21530 #define HAVE_TIMEZONE 1
21531 _ACEOF
21534 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21535 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21536 if test "${ac_cv_have_daylight+set}" = set; then
21537 echo $ECHO_N "(cached) $ECHO_C" >&6
21538 else
21539 cat >conftest.$ac_ext <<_ACEOF
21540 /* confdefs.h. */
21541 _ACEOF
21542 cat confdefs.h >>conftest.$ac_ext
21543 cat >>conftest.$ac_ext <<_ACEOF
21544 /* end confdefs.h. */
21545 #include <time.h>
21547 main ()
21549 daylight = 1
21551 return 0;
21553 _ACEOF
21554 rm -f conftest.$ac_objext conftest$ac_exeext
21555 if { (ac_try="$ac_link"
21556 case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21559 esac
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_link") 2>conftest.er1
21562 ac_status=$?
21563 grep -v '^ *+' conftest.er1 >conftest.err
21564 rm -f conftest.er1
21565 cat conftest.err >&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } && {
21568 test -z "$ac_c_werror_flag" ||
21569 test ! -s conftest.err
21570 } && test -s conftest$ac_exeext &&
21571 $as_test_x conftest$ac_exeext; then
21572 ac_cv_have_daylight="yes"
21573 else
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21577 ac_cv_have_daylight="no"
21580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21581 conftest$ac_exeext conftest.$ac_ext
21583 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21584 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21585 if test "$ac_cv_have_daylight" = "yes"
21586 then
21588 cat >>confdefs.h <<\_ACEOF
21589 #define HAVE_DAYLIGHT 1
21590 _ACEOF
21594 { echo "$as_me:$LINENO: checking for isinf" >&5
21595 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21596 if test "${ac_cv_have_isinf+set}" = set; then
21597 echo $ECHO_N "(cached) $ECHO_C" >&6
21598 else
21599 cat >conftest.$ac_ext <<_ACEOF
21600 /* confdefs.h. */
21601 _ACEOF
21602 cat confdefs.h >>conftest.$ac_ext
21603 cat >>conftest.$ac_ext <<_ACEOF
21604 /* end confdefs.h. */
21605 #include <math.h>
21607 main ()
21609 float f = 0.0; int i=isinf(f)
21611 return 0;
21613 _ACEOF
21614 rm -f conftest.$ac_objext conftest$ac_exeext
21615 if { (ac_try="$ac_link"
21616 case "(($ac_try" in
21617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21618 *) ac_try_echo=$ac_try;;
21619 esac
21620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21621 (eval "$ac_link") 2>conftest.er1
21622 ac_status=$?
21623 grep -v '^ *+' conftest.er1 >conftest.err
21624 rm -f conftest.er1
21625 cat conftest.err >&5
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); } && {
21628 test -z "$ac_c_werror_flag" ||
21629 test ! -s conftest.err
21630 } && test -s conftest$ac_exeext &&
21631 $as_test_x conftest$ac_exeext; then
21632 ac_cv_have_isinf="yes"
21633 else
21634 echo "$as_me: failed program was:" >&5
21635 sed 's/^/| /' conftest.$ac_ext >&5
21637 ac_cv_have_isinf="no"
21640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21641 conftest$ac_exeext conftest.$ac_ext
21643 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21644 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21645 if test "$ac_cv_have_isinf" = "yes"
21646 then
21648 cat >>confdefs.h <<\_ACEOF
21649 #define HAVE_ISINF 1
21650 _ACEOF
21655 case $host_cpu in
21656 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21657 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21658 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21659 echo $ECHO_N "(cached) $ECHO_C" >&6
21660 else
21661 cat >conftest.$ac_ext <<_ACEOF
21662 /* confdefs.h. */
21663 _ACEOF
21664 cat confdefs.h >>conftest.$ac_ext
21665 cat >>conftest.$ac_ext <<_ACEOF
21666 /* end confdefs.h. */
21667 #ifndef __i386__
21669 #endif
21670 _ACEOF
21671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21672 $EGREP "yes" >/dev/null 2>&1; then
21673 ac_cv_cpp_def___i386__=yes
21674 else
21675 ac_cv_cpp_def___i386__=no
21677 rm -f conftest*
21680 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21681 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21682 if test $ac_cv_cpp_def___i386__ = yes; then
21683 CFLAGS="$CFLAGS -D__i386__"
21684 LINTFLAGS="$LINTFLAGS -D__i386__"
21687 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21688 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21689 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6
21691 else
21692 cat >conftest.$ac_ext <<_ACEOF
21693 /* confdefs.h. */
21694 _ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 #ifndef __x86_64__
21700 #endif
21701 _ACEOF
21702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21703 $EGREP "yes" >/dev/null 2>&1; then
21704 ac_cv_cpp_def___x86_64__=yes
21705 else
21706 ac_cv_cpp_def___x86_64__=no
21708 rm -f conftest*
21711 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21712 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21713 if test $ac_cv_cpp_def___x86_64__ = yes; then
21714 CFLAGS="$CFLAGS -D__x86_64__"
21715 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21718 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21719 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21720 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21721 echo $ECHO_N "(cached) $ECHO_C" >&6
21722 else
21723 cat >conftest.$ac_ext <<_ACEOF
21724 /* confdefs.h. */
21725 _ACEOF
21726 cat confdefs.h >>conftest.$ac_ext
21727 cat >>conftest.$ac_ext <<_ACEOF
21728 /* end confdefs.h. */
21729 #ifndef __ALPHA__
21731 #endif
21732 _ACEOF
21733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21734 $EGREP "yes" >/dev/null 2>&1; then
21735 ac_cv_cpp_def___ALPHA__=yes
21736 else
21737 ac_cv_cpp_def___ALPHA__=no
21739 rm -f conftest*
21742 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21743 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21744 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21745 CFLAGS="$CFLAGS -D__ALPHA__"
21746 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21749 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21750 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21751 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21752 echo $ECHO_N "(cached) $ECHO_C" >&6
21753 else
21754 cat >conftest.$ac_ext <<_ACEOF
21755 /* confdefs.h. */
21756 _ACEOF
21757 cat confdefs.h >>conftest.$ac_ext
21758 cat >>conftest.$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21760 #ifndef __sparc__
21762 #endif
21763 _ACEOF
21764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21765 $EGREP "yes" >/dev/null 2>&1; then
21766 ac_cv_cpp_def___sparc__=yes
21767 else
21768 ac_cv_cpp_def___sparc__=no
21770 rm -f conftest*
21773 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21774 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21775 if test $ac_cv_cpp_def___sparc__ = yes; then
21776 CFLAGS="$CFLAGS -D__sparc__"
21777 LINTFLAGS="$LINTFLAGS -D__sparc__"
21780 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21781 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21782 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21783 echo $ECHO_N "(cached) $ECHO_C" >&6
21784 else
21785 cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791 #ifndef __powerpc__
21793 #endif
21794 _ACEOF
21795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21796 $EGREP "yes" >/dev/null 2>&1; then
21797 ac_cv_cpp_def___powerpc__=yes
21798 else
21799 ac_cv_cpp_def___powerpc__=no
21801 rm -f conftest*
21804 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21805 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21806 if test $ac_cv_cpp_def___powerpc__ = yes; then
21807 CFLAGS="$CFLAGS -D__powerpc__"
21808 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21811 esac
21813 case $host_vendor in
21814 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21815 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21816 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 else
21819 cat >conftest.$ac_ext <<_ACEOF
21820 /* confdefs.h. */
21821 _ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 #ifndef __sun__
21827 #endif
21828 _ACEOF
21829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21830 $EGREP "yes" >/dev/null 2>&1; then
21831 ac_cv_cpp_def___sun__=yes
21832 else
21833 ac_cv_cpp_def___sun__=no
21835 rm -f conftest*
21838 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21839 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21840 if test $ac_cv_cpp_def___sun__ = yes; then
21841 CFLAGS="$CFLAGS -D__sun__"
21842 LINTFLAGS="$LINTFLAGS -D__sun__"
21845 esac
21848 DEPENDENCIES="### Dependencies:
21850 .INIT: Makefile
21851 .BEGIN: Makefile
21852 Makefile: dummy
21853 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21855 \$(OBJS): \$(IDL_GEN_HEADERS)
21856 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21857 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21858 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21859 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21865 ac_config_commands="$ac_config_commands include/stamp-h"
21868 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21870 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21872 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21874 ac_config_commands="$ac_config_commands dlls/user32/resources"
21876 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21878 ac_config_commands="$ac_config_commands include/wine"
21881 MAKE_RULES=Make.rules
21884 MAKE_DLL_RULES=dlls/Makedll.rules
21887 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21890 MAKE_TEST_RULES=dlls/Maketest.rules
21893 MAKE_PROG_RULES=programs/Makeprog.rules
21896 ac_config_files="$ac_config_files Make.rules"
21898 ac_config_files="$ac_config_files dlls/Makedll.rules"
21900 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21902 ac_config_files="$ac_config_files dlls/Maketest.rules"
21904 ac_config_files="$ac_config_files programs/Makeprog.rules"
21906 ac_config_files="$ac_config_files Makefile"
21908 ac_config_files="$ac_config_files dlls/Makefile"
21910 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21912 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21914 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21916 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21918 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21920 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21922 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21924 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21926 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21928 ac_config_files="$ac_config_files dlls/atl/Makefile"
21930 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21932 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21934 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21936 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21938 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21940 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21942 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21944 ac_config_files="$ac_config_files dlls/cards/Makefile"
21946 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21948 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21950 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21952 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21954 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21956 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21958 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21960 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21962 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21964 ac_config_files="$ac_config_files dlls/credui/Makefile"
21966 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21968 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21970 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21972 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21974 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21976 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21978 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21980 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21982 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21984 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21986 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21988 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21990 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21992 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21994 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21996 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21998 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
22000 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
22002 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
22004 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
22006 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
22008 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
22010 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
22012 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
22014 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
22016 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
22018 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
22020 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
22022 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
22024 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
22026 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
22028 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
22030 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
22032 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
22034 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
22036 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
22038 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
22040 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
22042 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
22044 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
22046 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
22048 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
22050 ac_config_files="$ac_config_files dlls/devenum/Makefile"
22052 ac_config_files="$ac_config_files dlls/dinput/Makefile"
22054 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
22056 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
22058 ac_config_files="$ac_config_files dlls/dmband/Makefile"
22060 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
22062 ac_config_files="$ac_config_files dlls/dmime/Makefile"
22064 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
22066 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
22068 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
22070 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
22072 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
22074 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
22076 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
22078 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
22080 ac_config_files="$ac_config_files dlls/dplay/Makefile"
22082 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
22084 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
22086 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
22088 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
22090 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
22092 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
22094 ac_config_files="$ac_config_files dlls/dpwsockx/Makefile"
22096 ac_config_files="$ac_config_files dlls/dsound/Makefile"
22098 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
22100 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
22102 ac_config_files="$ac_config_files dlls/dswave/Makefile"
22104 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
22106 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
22108 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
22110 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
22112 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
22114 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
22116 ac_config_files="$ac_config_files dlls/fusion/Makefile"
22118 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
22120 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
22122 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
22124 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
22126 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
22128 ac_config_files="$ac_config_files dlls/glu32/Makefile"
22130 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
22132 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
22134 ac_config_files="$ac_config_files dlls/hal/Makefile"
22136 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
22138 ac_config_files="$ac_config_files dlls/hid/Makefile"
22140 ac_config_files="$ac_config_files dlls/hlink/Makefile"
22142 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
22144 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
22146 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
22148 ac_config_files="$ac_config_files dlls/icmp/Makefile"
22150 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
22152 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
22154 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
22156 ac_config_files="$ac_config_files dlls/imm32/Makefile"
22158 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
22160 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
22162 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
22164 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
22166 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
22168 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
22170 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
22172 ac_config_files="$ac_config_files dlls/initpki/Makefile"
22174 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
22176 ac_config_files="$ac_config_files dlls/inseng/Makefile"
22178 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
22180 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
22182 ac_config_files="$ac_config_files dlls/itircl/Makefile"
22184 ac_config_files="$ac_config_files dlls/itss/Makefile"
22186 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
22188 ac_config_files="$ac_config_files dlls/jscript/Makefile"
22190 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
22192 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
22194 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
22196 ac_config_files="$ac_config_files dlls/localspl/Makefile"
22198 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
22200 ac_config_files="$ac_config_files dlls/localui/Makefile"
22202 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
22204 ac_config_files="$ac_config_files dlls/lz32/Makefile"
22206 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
22208 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
22210 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
22212 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
22214 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
22216 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
22218 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
22220 ac_config_files="$ac_config_files dlls/midimap/Makefile"
22222 ac_config_files="$ac_config_files dlls/mlang/Makefile"
22224 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
22226 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
22228 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
22230 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
22232 ac_config_files="$ac_config_files dlls/mpr/Makefile"
22234 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
22236 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
22238 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
22240 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
22242 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
22244 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
22246 ac_config_files="$ac_config_files dlls/mscms/Makefile"
22248 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
22250 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
22252 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
22254 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
22256 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
22258 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
22260 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
22262 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
22264 ac_config_files="$ac_config_files dlls/msi/Makefile"
22266 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
22268 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
22270 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
22272 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
22274 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
22276 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
22278 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
22280 ac_config_files="$ac_config_files dlls/mstask/Makefile"
22282 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
22284 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
22286 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
22288 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
22290 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
22292 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
22294 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
22296 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
22298 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
22300 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
22302 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
22304 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
22306 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
22308 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
22310 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
22312 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
22314 ac_config_files="$ac_config_files dlls/newdev/Makefile"
22316 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
22318 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
22320 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
22322 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22324 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22326 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22328 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22330 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22332 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22334 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22336 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22338 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22340 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22342 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22344 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22346 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22348 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22350 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22352 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22354 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22356 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22358 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22360 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22362 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22364 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22366 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22368 ac_config_files="$ac_config_files dlls/printui/Makefile"
22370 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22372 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22374 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22376 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22378 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22380 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22382 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22384 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22386 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22388 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22390 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22392 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22394 ac_config_files="$ac_config_files dlls/query/Makefile"
22396 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22398 ac_config_files="$ac_config_files dlls/rasapi32/tests/Makefile"
22400 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22402 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22404 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22406 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22408 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22410 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22412 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22414 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22416 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22418 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22420 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22422 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22424 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22426 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22428 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22430 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22432 ac_config_files="$ac_config_files dlls/security/Makefile"
22434 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22436 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22438 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22440 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22442 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22444 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22446 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22448 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22450 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22452 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22454 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22456 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22458 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22460 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22462 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22464 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22466 ac_config_files="$ac_config_files dlls/slc/Makefile"
22468 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22470 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22472 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22474 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22476 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22478 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22480 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22482 ac_config_files="$ac_config_files dlls/sti/Makefile"
22484 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22486 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22488 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22490 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22492 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22494 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22496 ac_config_files="$ac_config_files dlls/url/Makefile"
22498 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22500 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22502 ac_config_files="$ac_config_files dlls/user32/Makefile"
22504 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22506 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22508 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22510 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22512 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22514 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22516 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22518 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22520 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22522 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22524 ac_config_files="$ac_config_files dlls/version/Makefile"
22526 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22528 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22530 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22532 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22534 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22536 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22538 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22540 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22542 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22544 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22546 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22548 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22550 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22552 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22554 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22556 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22558 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22560 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22562 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22564 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22566 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22568 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22570 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22572 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22574 ac_config_files="$ac_config_files dlls/winhttp/tests/Makefile"
22576 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22578 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22580 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22582 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22584 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22586 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22588 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22590 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22592 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22594 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22596 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22598 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22600 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22602 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22604 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22606 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22608 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22610 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22612 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22614 ac_config_files="$ac_config_files documentation/Makefile"
22616 ac_config_files="$ac_config_files fonts/Makefile"
22618 ac_config_files="$ac_config_files include/Makefile"
22620 ac_config_files="$ac_config_files libs/Makefile"
22622 ac_config_files="$ac_config_files libs/port/Makefile"
22624 ac_config_files="$ac_config_files libs/wine/Makefile"
22626 ac_config_files="$ac_config_files libs/wpp/Makefile"
22628 ac_config_files="$ac_config_files loader/Makefile"
22630 ac_config_files="$ac_config_files programs/Makefile"
22632 ac_config_files="$ac_config_files programs/clock/Makefile"
22634 ac_config_files="$ac_config_files programs/cmd/Makefile"
22636 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22638 ac_config_files="$ac_config_files programs/control/Makefile"
22640 ac_config_files="$ac_config_files programs/eject/Makefile"
22642 ac_config_files="$ac_config_files programs/expand/Makefile"
22644 ac_config_files="$ac_config_files programs/explorer/Makefile"
22646 ac_config_files="$ac_config_files programs/hh/Makefile"
22648 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22650 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22652 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22654 ac_config_files="$ac_config_files programs/net/Makefile"
22656 ac_config_files="$ac_config_files programs/notepad/Makefile"
22658 ac_config_files="$ac_config_files programs/oleview/Makefile"
22660 ac_config_files="$ac_config_files programs/progman/Makefile"
22662 ac_config_files="$ac_config_files programs/reg/Makefile"
22664 ac_config_files="$ac_config_files programs/regedit/Makefile"
22666 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22668 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22670 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22672 ac_config_files="$ac_config_files programs/secedit/Makefile"
22674 ac_config_files="$ac_config_files programs/services/Makefile"
22676 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22678 ac_config_files="$ac_config_files programs/start/Makefile"
22680 ac_config_files="$ac_config_files programs/svchost/Makefile"
22682 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22684 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22686 ac_config_files="$ac_config_files programs/view/Makefile"
22688 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22690 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22692 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22694 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22696 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22698 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22700 ac_config_files="$ac_config_files programs/winefile/Makefile"
22702 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22704 ac_config_files="$ac_config_files programs/winemine/Makefile"
22706 ac_config_files="$ac_config_files programs/winepath/Makefile"
22708 ac_config_files="$ac_config_files programs/winetest/Makefile"
22710 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22712 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22714 ac_config_files="$ac_config_files programs/winver/Makefile"
22716 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22718 ac_config_files="$ac_config_files programs/write/Makefile"
22720 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22722 ac_config_files="$ac_config_files server/Makefile"
22724 ac_config_files="$ac_config_files tools/Makefile"
22726 ac_config_files="$ac_config_files tools/widl/Makefile"
22728 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22730 ac_config_files="$ac_config_files tools/winedump/Makefile"
22732 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22734 ac_config_files="$ac_config_files tools/wmc/Makefile"
22736 ac_config_files="$ac_config_files tools/wrc/Makefile"
22739 cat >confcache <<\_ACEOF
22740 # This file is a shell script that caches the results of configure
22741 # tests run on this system so they can be shared between configure
22742 # scripts and configure runs, see configure's option --config-cache.
22743 # It is not useful on other systems. If it contains results you don't
22744 # want to keep, you may remove or edit it.
22746 # config.status only pays attention to the cache file if you give it
22747 # the --recheck option to rerun configure.
22749 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22750 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22751 # following values.
22753 _ACEOF
22755 # The following way of writing the cache mishandles newlines in values,
22756 # but we know of no workaround that is simple, portable, and efficient.
22757 # So, we kill variables containing newlines.
22758 # Ultrix sh set writes to stderr and can't be redirected directly,
22759 # and sets the high bit in the cache file unless we assign to the vars.
22761 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22762 eval ac_val=\$$ac_var
22763 case $ac_val in #(
22764 *${as_nl}*)
22765 case $ac_var in #(
22766 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22767 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22768 esac
22769 case $ac_var in #(
22770 _ | IFS | as_nl) ;; #(
22771 *) $as_unset $ac_var ;;
22772 esac ;;
22773 esac
22774 done
22776 (set) 2>&1 |
22777 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22778 *${as_nl}ac_space=\ *)
22779 # `set' does not quote correctly, so add quotes (double-quote
22780 # substitution turns \\\\ into \\, and sed turns \\ into \).
22781 sed -n \
22782 "s/'/'\\\\''/g;
22783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22784 ;; #(
22786 # `set' quotes correctly as required by POSIX, so do not add quotes.
22787 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22789 esac |
22790 sort
22792 sed '
22793 /^ac_cv_env_/b end
22794 t clear
22795 :clear
22796 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22797 t end
22798 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22799 :end' >>confcache
22800 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22801 if test -w "$cache_file"; then
22802 test "x$cache_file" != "x/dev/null" &&
22803 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22804 echo "$as_me: updating cache $cache_file" >&6;}
22805 cat confcache >$cache_file
22806 else
22807 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22808 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22811 rm -f confcache
22813 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22814 # Let make expand exec_prefix.
22815 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22817 DEFS=-DHAVE_CONFIG_H
22819 ac_libobjs=
22820 ac_ltlibobjs=
22821 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22822 # 1. Remove the extension, and $U if already installed.
22823 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22824 ac_i=`echo "$ac_i" | sed "$ac_script"`
22825 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22826 # will be set to the directory where LIBOBJS objects are built.
22827 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22828 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22829 done
22830 LIBOBJS=$ac_libobjs
22832 LTLIBOBJS=$ac_ltlibobjs
22836 : ${CONFIG_STATUS=./config.status}
22837 ac_clean_files_save=$ac_clean_files
22838 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22839 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22840 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22841 cat >$CONFIG_STATUS <<_ACEOF
22842 #! $SHELL
22843 # Generated by $as_me.
22844 # Run this file to recreate the current configuration.
22845 # Compiler output produced by configure, useful for debugging
22846 # configure, is in config.log if it exists.
22848 debug=false
22849 ac_cs_recheck=false
22850 ac_cs_silent=false
22851 SHELL=\${CONFIG_SHELL-$SHELL}
22852 _ACEOF
22854 cat >>$CONFIG_STATUS <<\_ACEOF
22855 ## --------------------- ##
22856 ## M4sh Initialization. ##
22857 ## --------------------- ##
22859 # Be more Bourne compatible
22860 DUALCASE=1; export DUALCASE # for MKS sh
22861 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22862 emulate sh
22863 NULLCMD=:
22864 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22865 # is contrary to our usage. Disable this feature.
22866 alias -g '${1+"$@"}'='"$@"'
22867 setopt NO_GLOB_SUBST
22868 else
22869 case `(set -o) 2>/dev/null` in
22870 *posix*) set -o posix ;;
22871 esac
22878 # PATH needs CR
22879 # Avoid depending upon Character Ranges.
22880 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22881 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22882 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22883 as_cr_digits='0123456789'
22884 as_cr_alnum=$as_cr_Letters$as_cr_digits
22886 # The user is always right.
22887 if test "${PATH_SEPARATOR+set}" != set; then
22888 echo "#! /bin/sh" >conf$$.sh
22889 echo "exit 0" >>conf$$.sh
22890 chmod +x conf$$.sh
22891 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22892 PATH_SEPARATOR=';'
22893 else
22894 PATH_SEPARATOR=:
22896 rm -f conf$$.sh
22899 # Support unset when possible.
22900 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22901 as_unset=unset
22902 else
22903 as_unset=false
22907 # IFS
22908 # We need space, tab and new line, in precisely that order. Quoting is
22909 # there to prevent editors from complaining about space-tab.
22910 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22911 # splitting by setting IFS to empty value.)
22912 as_nl='
22914 IFS=" "" $as_nl"
22916 # Find who we are. Look in the path if we contain no directory separator.
22917 case $0 in
22918 *[\\/]* ) as_myself=$0 ;;
22919 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22920 for as_dir in $PATH
22922 IFS=$as_save_IFS
22923 test -z "$as_dir" && as_dir=.
22924 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22925 done
22926 IFS=$as_save_IFS
22929 esac
22930 # We did not find ourselves, most probably we were run as `sh COMMAND'
22931 # in which case we are not to be found in the path.
22932 if test "x$as_myself" = x; then
22933 as_myself=$0
22935 if test ! -f "$as_myself"; then
22936 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22937 { (exit 1); exit 1; }
22940 # Work around bugs in pre-3.0 UWIN ksh.
22941 for as_var in ENV MAIL MAILPATH
22942 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22943 done
22944 PS1='$ '
22945 PS2='> '
22946 PS4='+ '
22948 # NLS nuisances.
22949 for as_var in \
22950 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22951 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22952 LC_TELEPHONE LC_TIME
22954 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22955 eval $as_var=C; export $as_var
22956 else
22957 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22959 done
22961 # Required to use basename.
22962 if expr a : '\(a\)' >/dev/null 2>&1 &&
22963 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22964 as_expr=expr
22965 else
22966 as_expr=false
22969 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22970 as_basename=basename
22971 else
22972 as_basename=false
22976 # Name of the executable.
22977 as_me=`$as_basename -- "$0" ||
22978 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22979 X"$0" : 'X\(//\)$' \| \
22980 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22981 echo X/"$0" |
22982 sed '/^.*\/\([^/][^/]*\)\/*$/{
22983 s//\1/
22986 /^X\/\(\/\/\)$/{
22987 s//\1/
22990 /^X\/\(\/\).*/{
22991 s//\1/
22994 s/.*/./; q'`
22996 # CDPATH.
22997 $as_unset CDPATH
23001 as_lineno_1=$LINENO
23002 as_lineno_2=$LINENO
23003 test "x$as_lineno_1" != "x$as_lineno_2" &&
23004 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23006 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23007 # uniformly replaced by the line number. The first 'sed' inserts a
23008 # line-number line after each line using $LINENO; the second 'sed'
23009 # does the real work. The second script uses 'N' to pair each
23010 # line-number line with the line containing $LINENO, and appends
23011 # trailing '-' during substitution so that $LINENO is not a special
23012 # case at line end.
23013 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23014 # scripts with optimization help from Paolo Bonzini. Blame Lee
23015 # E. McMahon (1931-1989) for sed's syntax. :-)
23016 sed -n '
23018 /[$]LINENO/=
23019 ' <$as_myself |
23020 sed '
23021 s/[$]LINENO.*/&-/
23022 t lineno
23024 :lineno
23026 :loop
23027 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23028 t loop
23029 s/-\n.*//
23030 ' >$as_me.lineno &&
23031 chmod +x "$as_me.lineno" ||
23032 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23033 { (exit 1); exit 1; }; }
23035 # Don't try to exec as it changes $[0], causing all sort of problems
23036 # (the dirname of $[0] is not the place where we might find the
23037 # original and so on. Autoconf is especially sensitive to this).
23038 . "./$as_me.lineno"
23039 # Exit status is that of the last command.
23040 exit
23044 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23045 as_dirname=dirname
23046 else
23047 as_dirname=false
23050 ECHO_C= ECHO_N= ECHO_T=
23051 case `echo -n x` in
23052 -n*)
23053 case `echo 'x\c'` in
23054 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23055 *) ECHO_C='\c';;
23056 esac;;
23058 ECHO_N='-n';;
23059 esac
23061 if expr a : '\(a\)' >/dev/null 2>&1 &&
23062 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23063 as_expr=expr
23064 else
23065 as_expr=false
23068 rm -f conf$$ conf$$.exe conf$$.file
23069 if test -d conf$$.dir; then
23070 rm -f conf$$.dir/conf$$.file
23071 else
23072 rm -f conf$$.dir
23073 mkdir conf$$.dir
23075 echo >conf$$.file
23076 if ln -s conf$$.file conf$$ 2>/dev/null; then
23077 as_ln_s='ln -s'
23078 # ... but there are two gotchas:
23079 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23080 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23081 # In both cases, we have to default to `cp -p'.
23082 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23083 as_ln_s='cp -p'
23084 elif ln conf$$.file conf$$ 2>/dev/null; then
23085 as_ln_s=ln
23086 else
23087 as_ln_s='cp -p'
23089 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23090 rmdir conf$$.dir 2>/dev/null
23092 if mkdir -p . 2>/dev/null; then
23093 as_mkdir_p=:
23094 else
23095 test -d ./-p && rmdir ./-p
23096 as_mkdir_p=false
23099 if test -x / >/dev/null 2>&1; then
23100 as_test_x='test -x'
23101 else
23102 if ls -dL / >/dev/null 2>&1; then
23103 as_ls_L_option=L
23104 else
23105 as_ls_L_option=
23107 as_test_x='
23108 eval sh -c '\''
23109 if test -d "$1"; then
23110 test -d "$1/.";
23111 else
23112 case $1 in
23113 -*)set "./$1";;
23114 esac;
23115 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23116 ???[sx]*):;;*)false;;esac;fi
23117 '\'' sh
23120 as_executable_p=$as_test_x
23122 # Sed expression to map a string onto a valid CPP name.
23123 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23125 # Sed expression to map a string onto a valid variable name.
23126 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23129 exec 6>&1
23131 # Save the log message, to keep $[0] and so on meaningful, and to
23132 # report actual input values of CONFIG_FILES etc. instead of their
23133 # values after options handling.
23134 ac_log="
23135 This file was extended by Wine $as_me 1.1.1, which was
23136 generated by GNU Autoconf 2.61. Invocation command line was
23138 CONFIG_FILES = $CONFIG_FILES
23139 CONFIG_HEADERS = $CONFIG_HEADERS
23140 CONFIG_LINKS = $CONFIG_LINKS
23141 CONFIG_COMMANDS = $CONFIG_COMMANDS
23142 $ $0 $@
23144 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23147 _ACEOF
23149 cat >>$CONFIG_STATUS <<_ACEOF
23150 # Files that config.status was made for.
23151 config_files="$ac_config_files"
23152 config_headers="$ac_config_headers"
23153 config_commands="$ac_config_commands"
23155 _ACEOF
23157 cat >>$CONFIG_STATUS <<\_ACEOF
23158 ac_cs_usage="\
23159 \`$as_me' instantiates files from templates according to the
23160 current configuration.
23162 Usage: $0 [OPTIONS] [FILE]...
23164 -h, --help print this help, then exit
23165 -V, --version print version number and configuration settings, then exit
23166 -q, --quiet do not print progress messages
23167 -d, --debug don't remove temporary files
23168 --recheck update $as_me by reconfiguring in the same conditions
23169 --file=FILE[:TEMPLATE]
23170 instantiate the configuration file FILE
23171 --header=FILE[:TEMPLATE]
23172 instantiate the configuration header FILE
23174 Configuration files:
23175 $config_files
23177 Configuration headers:
23178 $config_headers
23180 Configuration commands:
23181 $config_commands
23183 Report bugs to <bug-autoconf@gnu.org>."
23185 _ACEOF
23186 cat >>$CONFIG_STATUS <<_ACEOF
23187 ac_cs_version="\\
23188 Wine config.status 1.1.1
23189 configured by $0, generated by GNU Autoconf 2.61,
23190 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23192 Copyright (C) 2006 Free Software Foundation, Inc.
23193 This config.status script is free software; the Free Software Foundation
23194 gives unlimited permission to copy, distribute and modify it."
23196 ac_pwd='$ac_pwd'
23197 srcdir='$srcdir'
23198 INSTALL='$INSTALL'
23199 _ACEOF
23201 cat >>$CONFIG_STATUS <<\_ACEOF
23202 # If no file are specified by the user, then we need to provide default
23203 # value. By we need to know if files were specified by the user.
23204 ac_need_defaults=:
23205 while test $# != 0
23207 case $1 in
23208 --*=*)
23209 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23210 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23211 ac_shift=:
23214 ac_option=$1
23215 ac_optarg=$2
23216 ac_shift=shift
23218 esac
23220 case $ac_option in
23221 # Handling of the options.
23222 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23223 ac_cs_recheck=: ;;
23224 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23225 echo "$ac_cs_version"; exit ;;
23226 --debug | --debu | --deb | --de | --d | -d )
23227 debug=: ;;
23228 --file | --fil | --fi | --f )
23229 $ac_shift
23230 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23231 ac_need_defaults=false;;
23232 --header | --heade | --head | --hea )
23233 $ac_shift
23234 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23235 ac_need_defaults=false;;
23236 --he | --h)
23237 # Conflict between --help and --header
23238 { echo "$as_me: error: ambiguous option: $1
23239 Try \`$0 --help' for more information." >&2
23240 { (exit 1); exit 1; }; };;
23241 --help | --hel | -h )
23242 echo "$ac_cs_usage"; exit ;;
23243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23244 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23245 ac_cs_silent=: ;;
23247 # This is an error.
23248 -*) { echo "$as_me: error: unrecognized option: $1
23249 Try \`$0 --help' for more information." >&2
23250 { (exit 1); exit 1; }; } ;;
23252 *) ac_config_targets="$ac_config_targets $1"
23253 ac_need_defaults=false ;;
23255 esac
23256 shift
23257 done
23259 ac_configure_extra_args=
23261 if $ac_cs_silent; then
23262 exec 6>/dev/null
23263 ac_configure_extra_args="$ac_configure_extra_args --silent"
23266 _ACEOF
23267 cat >>$CONFIG_STATUS <<_ACEOF
23268 if \$ac_cs_recheck; then
23269 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23270 CONFIG_SHELL=$SHELL
23271 export CONFIG_SHELL
23272 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23275 _ACEOF
23276 cat >>$CONFIG_STATUS <<\_ACEOF
23277 exec 5>>config.log
23279 echo
23280 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23281 ## Running $as_me. ##
23282 _ASBOX
23283 echo "$ac_log"
23284 } >&5
23286 _ACEOF
23287 cat >>$CONFIG_STATUS <<_ACEOF
23288 _ACEOF
23290 cat >>$CONFIG_STATUS <<\_ACEOF
23292 # Handling of arguments.
23293 for ac_config_target in $ac_config_targets
23295 case $ac_config_target in
23296 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23297 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23298 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23299 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23300 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23301 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
23302 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23303 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
23304 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
23305 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
23306 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23307 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
23308 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
23309 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23310 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
23311 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
23312 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
23313 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23314 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23315 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23316 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23317 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
23318 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23319 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
23320 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
23321 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23322 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23323 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
23324 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23325 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23326 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23327 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23328 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
23329 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23330 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23331 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
23332 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23333 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23334 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23335 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23336 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23337 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23338 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23339 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23340 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23341 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23342 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23343 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23344 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23345 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23346 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23347 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23348 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23349 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23350 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23351 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23352 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23353 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23354 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23355 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23356 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23357 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23358 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23359 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23360 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23361 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23362 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23363 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23364 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23365 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23366 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23367 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23368 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23369 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23370 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23371 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23372 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23373 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23374 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23375 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23376 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23377 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23378 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23379 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23380 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23381 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23382 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23383 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23384 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23385 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23386 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23387 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23388 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23389 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23390 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23391 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23392 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23393 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23394 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23395 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23396 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23397 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23398 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23399 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23400 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23401 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23402 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23403 "dlls/dpwsockx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpwsockx/Makefile" ;;
23404 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23405 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23406 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23407 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23408 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23409 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23410 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23411 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23412 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23413 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23414 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23415 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23416 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23417 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23418 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23419 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23420 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23421 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23422 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23423 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23424 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23425 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23426 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23427 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23428 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23429 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23430 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23431 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23432 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23433 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23434 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23435 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23436 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23437 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23438 "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23439 "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23440 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23441 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23442 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23443 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23444 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23445 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23446 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23447 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23448 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23449 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23450 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23451 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23452 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23453 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23454 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23455 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23456 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23457 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23458 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23459 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23460 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23461 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23462 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23463 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23464 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23465 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23466 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23467 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23468 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23469 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23470 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23471 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23472 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23473 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23474 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23475 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23476 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23477 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23478 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23479 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23480 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23481 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23482 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23483 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23484 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23485 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23486 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23487 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23488 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23489 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23490 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23491 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23492 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23493 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23494 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23495 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23496 "dlls/mstask/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/Makefile" ;;
23497 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23498 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23499 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23500 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23501 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23502 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23503 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23504 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23505 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23506 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23507 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23508 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23509 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23510 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23511 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23512 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23513 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23514 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23515 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23516 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23517 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23518 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23519 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23520 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23521 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23522 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23523 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23524 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23525 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23526 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23527 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23528 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23529 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23530 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23531 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23532 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23533 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23534 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23535 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23536 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23537 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23538 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23539 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23540 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23541 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23542 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23543 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23544 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23545 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23546 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23547 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23548 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23549 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23550 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23551 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23552 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23553 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23554 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23555 "dlls/rasapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/tests/Makefile" ;;
23556 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23557 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23558 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23559 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23560 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23561 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23562 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23563 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23564 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23565 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23566 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23567 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23568 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23569 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23570 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23571 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23572 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23573 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23574 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23575 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23576 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23577 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23578 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23579 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23580 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23581 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23582 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23583 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23584 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23585 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23586 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23587 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23588 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23589 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23590 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23591 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23592 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23593 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23594 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23595 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23596 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23597 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23598 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23599 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23600 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23601 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23602 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23603 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23604 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23605 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23606 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23607 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23608 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23609 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23610 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23611 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23612 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23613 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23614 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23615 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23616 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23617 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23618 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23619 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23620 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23621 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23622 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23623 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23624 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23625 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23626 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23627 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23628 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23629 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23630 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23631 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23632 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23633 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23634 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23635 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23636 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23637 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23638 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23639 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23640 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23641 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23642 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23643 "dlls/winhttp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/tests/Makefile" ;;
23644 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23645 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23646 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23647 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23648 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23649 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23650 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23651 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23652 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23653 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23654 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23655 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23656 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23657 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23658 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23659 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23660 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23661 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23662 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23663 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23664 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23665 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23666 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23667 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23668 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23669 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23670 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23671 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23672 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23673 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23674 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23675 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23676 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23677 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23678 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23679 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23680 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23681 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23682 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23683 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23684 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23685 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23686 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23687 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23688 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23689 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23690 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23691 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23692 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23693 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23694 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23695 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23696 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23697 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23698 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23699 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23700 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23701 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23702 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23703 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23704 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23705 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23706 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23707 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23708 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23709 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23710 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23711 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23712 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23713 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23714 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23715 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23716 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23717 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23718 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23719 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23720 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23721 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23722 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23723 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23724 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23726 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23727 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23728 { (exit 1); exit 1; }; };;
23729 esac
23730 done
23733 # If the user did not use the arguments to specify the items to instantiate,
23734 # then the envvar interface is used. Set only those that are not.
23735 # We use the long form for the default assignment because of an extremely
23736 # bizarre bug on SunOS 4.1.3.
23737 if $ac_need_defaults; then
23738 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23739 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23740 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23743 # Have a temporary directory for convenience. Make it in the build tree
23744 # simply because there is no reason against having it here, and in addition,
23745 # creating and moving files from /tmp can sometimes cause problems.
23746 # Hook for its removal unless debugging.
23747 # Note that there is a small window in which the directory will not be cleaned:
23748 # after its creation but before its name has been assigned to `$tmp'.
23749 $debug ||
23751 tmp=
23752 trap 'exit_status=$?
23753 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23755 trap '{ (exit 1); exit 1; }' 1 2 13 15
23757 # Create a (secure) tmp directory for tmp files.
23760 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23761 test -n "$tmp" && test -d "$tmp"
23762 } ||
23764 tmp=./conf$$-$RANDOM
23765 (umask 077 && mkdir "$tmp")
23766 } ||
23768 echo "$me: cannot create a temporary directory in ." >&2
23769 { (exit 1); exit 1; }
23773 # Set up the sed scripts for CONFIG_FILES section.
23776 # No need to generate the scripts if there are no CONFIG_FILES.
23777 # This happens for instance when ./config.status config.h
23778 if test -n "$CONFIG_FILES"; then
23780 _ACEOF
23782 # Create sed commands to just substitute file output variables.
23784 # Remaining file output variables are in a fragment that also has non-file
23785 # output varibles.
23789 ac_delim='%!_!# '
23790 for ac_last_try in false false false false false :; do
23791 cat >conf$$subs.sed <<_ACEOF
23792 SHELL!$SHELL$ac_delim
23793 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23794 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23795 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23796 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23797 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23798 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23799 exec_prefix!$exec_prefix$ac_delim
23800 prefix!$prefix$ac_delim
23801 program_transform_name!$program_transform_name$ac_delim
23802 bindir!$bindir$ac_delim
23803 sbindir!$sbindir$ac_delim
23804 libexecdir!$libexecdir$ac_delim
23805 datarootdir!$datarootdir$ac_delim
23806 datadir!$datadir$ac_delim
23807 sysconfdir!$sysconfdir$ac_delim
23808 sharedstatedir!$sharedstatedir$ac_delim
23809 localstatedir!$localstatedir$ac_delim
23810 includedir!$includedir$ac_delim
23811 oldincludedir!$oldincludedir$ac_delim
23812 docdir!$docdir$ac_delim
23813 infodir!$infodir$ac_delim
23814 htmldir!$htmldir$ac_delim
23815 dvidir!$dvidir$ac_delim
23816 pdfdir!$pdfdir$ac_delim
23817 psdir!$psdir$ac_delim
23818 libdir!$libdir$ac_delim
23819 localedir!$localedir$ac_delim
23820 mandir!$mandir$ac_delim
23821 DEFS!$DEFS$ac_delim
23822 ECHO_C!$ECHO_C$ac_delim
23823 ECHO_N!$ECHO_N$ac_delim
23824 ECHO_T!$ECHO_T$ac_delim
23825 LIBS!$LIBS$ac_delim
23826 build_alias!$build_alias$ac_delim
23827 host_alias!$host_alias$ac_delim
23828 target_alias!$target_alias$ac_delim
23829 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23830 build!$build$ac_delim
23831 build_cpu!$build_cpu$ac_delim
23832 build_vendor!$build_vendor$ac_delim
23833 build_os!$build_os$ac_delim
23834 host!$host$ac_delim
23835 host_cpu!$host_cpu$ac_delim
23836 host_vendor!$host_vendor$ac_delim
23837 host_os!$host_os$ac_delim
23838 WIN16_FILES!$WIN16_FILES$ac_delim
23839 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23840 SET_MAKE!$SET_MAKE$ac_delim
23841 CC!$CC$ac_delim
23842 CFLAGS!$CFLAGS$ac_delim
23843 LDFLAGS!$LDFLAGS$ac_delim
23844 CPPFLAGS!$CPPFLAGS$ac_delim
23845 ac_ct_CC!$ac_ct_CC$ac_delim
23846 EXEEXT!$EXEEXT$ac_delim
23847 OBJEXT!$OBJEXT$ac_delim
23848 CXX!$CXX$ac_delim
23849 CXXFLAGS!$CXXFLAGS$ac_delim
23850 ac_ct_CXX!$ac_ct_CXX$ac_delim
23851 CPPBIN!$CPPBIN$ac_delim
23852 TOOLSDIR!$TOOLSDIR$ac_delim
23853 XMKMF!$XMKMF$ac_delim
23854 CPP!$CPP$ac_delim
23855 X_CFLAGS!$X_CFLAGS$ac_delim
23856 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23857 X_LIBS!$X_LIBS$ac_delim
23858 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23859 FLEX!$FLEX$ac_delim
23860 BISON!$BISON$ac_delim
23861 AS!$AS$ac_delim
23862 ac_ct_AS!$ac_ct_AS$ac_delim
23863 LD!$LD$ac_delim
23864 ac_ct_LD!$ac_ct_LD$ac_delim
23865 NM!$NM$ac_delim
23866 ac_ct_NM!$ac_ct_NM$ac_delim
23867 AR!$AR$ac_delim
23868 ac_ct_AR!$ac_ct_AR$ac_delim
23869 ARFLAGS!$ARFLAGS$ac_delim
23870 RANLIB!$RANLIB$ac_delim
23871 STRIP!$STRIP$ac_delim
23872 WINDRES!$WINDRES$ac_delim
23873 LN_S!$LN_S$ac_delim
23874 _ACEOF
23876 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23877 break
23878 elif $ac_last_try; then
23879 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23880 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23881 { (exit 1); exit 1; }; }
23882 else
23883 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23885 done
23887 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23888 if test -n "$ac_eof"; then
23889 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23890 ac_eof=`expr $ac_eof + 1`
23893 cat >>$CONFIG_STATUS <<_ACEOF
23894 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23895 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23896 /^[ ]*@MAKE_RULES@[ ]*$/{
23897 r $MAKE_RULES
23900 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23901 r $MAKE_DLL_RULES
23904 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23905 r $MAKE_IMPLIB_RULES
23908 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23909 r $MAKE_TEST_RULES
23912 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23913 r $MAKE_PROG_RULES
23916 _ACEOF
23917 sed '
23918 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23919 s/^/s,@/; s/!/@,|#_!!_#|/
23922 s/'"$ac_delim"'$/,g/; t
23923 s/$/\\/; p
23924 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23925 ' >>$CONFIG_STATUS <conf$$subs.sed
23926 rm -f conf$$subs.sed
23927 cat >>$CONFIG_STATUS <<_ACEOF
23928 CEOF$ac_eof
23929 _ACEOF
23932 ac_delim='%!_!# '
23933 for ac_last_try in false false false false false :; do
23934 cat >conf$$subs.sed <<_ACEOF
23935 LN!$LN$ac_delim
23936 GREP!$GREP$ac_delim
23937 EGREP!$EGREP$ac_delim
23938 LDCONFIG!$LDCONFIG$ac_delim
23939 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23940 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23941 INSTALL_DATA!$INSTALL_DATA$ac_delim
23942 LINT!$LINT$ac_delim
23943 LINTFLAGS!$LINTFLAGS$ac_delim
23944 FONTFORGE!$FONTFORGE$ac_delim
23945 PKG_CONFIG!$PKG_CONFIG$ac_delim
23946 RSVG!$RSVG$ac_delim
23947 ICOTOOL!$ICOTOOL$ac_delim
23948 PRELINK!$PRELINK$ac_delim
23949 LIBPTHREAD!$LIBPTHREAD$ac_delim
23950 XLIB!$XLIB$ac_delim
23951 XFILES!$XFILES$ac_delim
23952 OPENGLFILES!$OPENGLFILES$ac_delim
23953 GLU32FILES!$GLU32FILES$ac_delim
23954 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23955 QUARTZFILES!$QUARTZFILES$ac_delim
23956 DLLEXT!$DLLEXT$ac_delim
23957 DLLFLAGS!$DLLFLAGS$ac_delim
23958 LDSHARED!$LDSHARED$ac_delim
23959 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23960 LIBEXT!$LIBEXT$ac_delim
23961 IMPLIBEXT!$IMPLIBEXT$ac_delim
23962 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23963 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23964 LDD!$LDD$ac_delim
23965 DLLTOOL!$DLLTOOL$ac_delim
23966 DLLWRAP!$DLLWRAP$ac_delim
23967 MINGWAR!$MINGWAR$ac_delim
23968 SECURITYLIB!$SECURITYLIB$ac_delim
23969 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23970 IOKITLIB!$IOKITLIB$ac_delim
23971 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23972 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23973 COREAUDIO!$COREAUDIO$ac_delim
23974 CARBONLIB!$CARBONLIB$ac_delim
23975 CROSSTEST!$CROSSTEST$ac_delim
23976 CROSSCC!$CROSSCC$ac_delim
23977 CROSSWINDRES!$CROSSWINDRES$ac_delim
23978 NASLIBS!$NASLIBS$ac_delim
23979 XML2LIBS!$XML2LIBS$ac_delim
23980 XML2INCL!$XML2INCL$ac_delim
23981 XSLTLIBS!$XSLTLIBS$ac_delim
23982 XSLTINCL!$XSLTINCL$ac_delim
23983 HALINCL!$HALINCL$ac_delim
23984 sane_devel!$sane_devel$ac_delim
23985 SANEINCL!$SANEINCL$ac_delim
23986 gphoto2_devel!$gphoto2_devel$ac_delim
23987 gphoto2port_devel!$gphoto2port_devel$ac_delim
23988 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23989 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23990 RESOLVLIBS!$RESOLVLIBS$ac_delim
23991 LCMSLIBS!$LCMSLIBS$ac_delim
23992 ft_devel!$ft_devel$ac_delim
23993 FREETYPELIBS!$FREETYPELIBS$ac_delim
23994 FREETYPEINCL!$FREETYPEINCL$ac_delim
23995 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23996 ESDCONFIG!$ESDCONFIG$ac_delim
23997 ESDINCL!$ESDINCL$ac_delim
23998 ESDLIBS!$ESDLIBS$ac_delim
23999 ALSALIBS!$ALSALIBS$ac_delim
24000 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24001 CUPSINCL!$CUPSINCL$ac_delim
24002 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
24003 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24004 BUILTINFLAG!$BUILTINFLAG$ac_delim
24005 LDPATH!$LDPATH$ac_delim
24006 CRTLIBS!$CRTLIBS$ac_delim
24007 SOCKETLIBS!$SOCKETLIBS$ac_delim
24008 MAIN_BINARY!$MAIN_BINARY$ac_delim
24009 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24010 LIBDL!$LIBDL$ac_delim
24011 LIBPOLL!$LIBPOLL$ac_delim
24012 LDAPLIBS!$LDAPLIBS$ac_delim
24013 DEPENDENCIES!$DEPENDENCIES$ac_delim
24014 LIBOBJS!$LIBOBJS$ac_delim
24015 LTLIBOBJS!$LTLIBOBJS$ac_delim
24016 _ACEOF
24018 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 81; then
24019 break
24020 elif $ac_last_try; then
24021 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24022 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24023 { (exit 1); exit 1; }; }
24024 else
24025 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24027 done
24029 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24030 if test -n "$ac_eof"; then
24031 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24032 ac_eof=`expr $ac_eof + 1`
24035 cat >>$CONFIG_STATUS <<_ACEOF
24036 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24038 _ACEOF
24039 sed '
24040 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24041 s/^/s,@/; s/!/@,|#_!!_#|/
24044 s/'"$ac_delim"'$/,g/; t
24045 s/$/\\/; p
24046 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24047 ' >>$CONFIG_STATUS <conf$$subs.sed
24048 rm -f conf$$subs.sed
24049 cat >>$CONFIG_STATUS <<_ACEOF
24050 :end
24051 s/|#_!!_#|//g
24052 CEOF$ac_eof
24053 _ACEOF
24056 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24057 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24058 # trailing colons and then remove the whole line if VPATH becomes empty
24059 # (actually we leave an empty line to preserve line numbers).
24060 if test "x$srcdir" = x.; then
24061 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24062 s/:*\$(srcdir):*/:/
24063 s/:*\${srcdir}:*/:/
24064 s/:*@srcdir@:*/:/
24065 s/^\([^=]*=[ ]*\):*/\1/
24066 s/:*$//
24067 s/^[^=]*=[ ]*$//
24071 cat >>$CONFIG_STATUS <<\_ACEOF
24072 fi # test -n "$CONFIG_FILES"
24075 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24077 case $ac_tag in
24078 :[FHLC]) ac_mode=$ac_tag; continue;;
24079 esac
24080 case $ac_mode$ac_tag in
24081 :[FHL]*:*);;
24082 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24083 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24084 { (exit 1); exit 1; }; };;
24085 :[FH]-) ac_tag=-:-;;
24086 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24087 esac
24088 ac_save_IFS=$IFS
24089 IFS=:
24090 set x $ac_tag
24091 IFS=$ac_save_IFS
24092 shift
24093 ac_file=$1
24094 shift
24096 case $ac_mode in
24097 :L) ac_source=$1;;
24098 :[FH])
24099 ac_file_inputs=
24100 for ac_f
24102 case $ac_f in
24103 -) ac_f="$tmp/stdin";;
24104 *) # Look for the file first in the build tree, then in the source tree
24105 # (if the path is not absolute). The absolute path cannot be DOS-style,
24106 # because $ac_f cannot contain `:'.
24107 test -f "$ac_f" ||
24108 case $ac_f in
24109 [\\/$]*) false;;
24110 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24111 esac ||
24112 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24113 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24114 { (exit 1); exit 1; }; };;
24115 esac
24116 ac_file_inputs="$ac_file_inputs $ac_f"
24117 done
24119 # Let's still pretend it is `configure' which instantiates (i.e., don't
24120 # use $as_me), people would be surprised to read:
24121 # /* config.h. Generated by config.status. */
24122 configure_input="Generated from "`IFS=:
24123 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24124 if test x"$ac_file" != x-; then
24125 configure_input="$ac_file. $configure_input"
24126 { echo "$as_me:$LINENO: creating $ac_file" >&5
24127 echo "$as_me: creating $ac_file" >&6;}
24130 case $ac_tag in
24131 *:-:* | *:-) cat >"$tmp/stdin";;
24132 esac
24134 esac
24136 ac_dir=`$as_dirname -- "$ac_file" ||
24137 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24138 X"$ac_file" : 'X\(//\)[^/]' \| \
24139 X"$ac_file" : 'X\(//\)$' \| \
24140 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24141 echo X"$ac_file" |
24142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24143 s//\1/
24146 /^X\(\/\/\)[^/].*/{
24147 s//\1/
24150 /^X\(\/\/\)$/{
24151 s//\1/
24154 /^X\(\/\).*/{
24155 s//\1/
24158 s/.*/./; q'`
24159 { as_dir="$ac_dir"
24160 case $as_dir in #(
24161 -*) as_dir=./$as_dir;;
24162 esac
24163 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24164 as_dirs=
24165 while :; do
24166 case $as_dir in #(
24167 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24168 *) as_qdir=$as_dir;;
24169 esac
24170 as_dirs="'$as_qdir' $as_dirs"
24171 as_dir=`$as_dirname -- "$as_dir" ||
24172 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24173 X"$as_dir" : 'X\(//\)[^/]' \| \
24174 X"$as_dir" : 'X\(//\)$' \| \
24175 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24176 echo X"$as_dir" |
24177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24178 s//\1/
24181 /^X\(\/\/\)[^/].*/{
24182 s//\1/
24185 /^X\(\/\/\)$/{
24186 s//\1/
24189 /^X\(\/\).*/{
24190 s//\1/
24193 s/.*/./; q'`
24194 test -d "$as_dir" && break
24195 done
24196 test -z "$as_dirs" || eval "mkdir $as_dirs"
24197 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24198 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24199 { (exit 1); exit 1; }; }; }
24200 ac_builddir=.
24202 case "$ac_dir" in
24203 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24205 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24206 # A ".." for each directory in $ac_dir_suffix.
24207 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24208 case $ac_top_builddir_sub in
24209 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24210 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24211 esac ;;
24212 esac
24213 ac_abs_top_builddir=$ac_pwd
24214 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24215 # for backward compatibility:
24216 ac_top_builddir=$ac_top_build_prefix
24218 case $srcdir in
24219 .) # We are building in place.
24220 ac_srcdir=.
24221 ac_top_srcdir=$ac_top_builddir_sub
24222 ac_abs_top_srcdir=$ac_pwd ;;
24223 [\\/]* | ?:[\\/]* ) # Absolute name.
24224 ac_srcdir=$srcdir$ac_dir_suffix;
24225 ac_top_srcdir=$srcdir
24226 ac_abs_top_srcdir=$srcdir ;;
24227 *) # Relative name.
24228 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24229 ac_top_srcdir=$ac_top_build_prefix$srcdir
24230 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24231 esac
24232 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24235 case $ac_mode in
24238 # CONFIG_FILE
24241 case $INSTALL in
24242 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24243 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24244 esac
24245 _ACEOF
24247 cat >>$CONFIG_STATUS <<\_ACEOF
24248 # If the template does not know about datarootdir, expand it.
24249 # FIXME: This hack should be removed a few years after 2.60.
24250 ac_datarootdir_hack=; ac_datarootdir_seen=
24252 case `sed -n '/datarootdir/ {
24256 /@datadir@/p
24257 /@docdir@/p
24258 /@infodir@/p
24259 /@localedir@/p
24260 /@mandir@/p
24261 ' $ac_file_inputs` in
24262 *datarootdir*) ac_datarootdir_seen=yes;;
24263 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24264 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24265 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24266 _ACEOF
24267 cat >>$CONFIG_STATUS <<_ACEOF
24268 ac_datarootdir_hack='
24269 s&@datadir@&$datadir&g
24270 s&@docdir@&$docdir&g
24271 s&@infodir@&$infodir&g
24272 s&@localedir@&$localedir&g
24273 s&@mandir@&$mandir&g
24274 s&\\\${datarootdir}&$datarootdir&g' ;;
24275 esac
24276 _ACEOF
24278 # Neutralize VPATH when `$srcdir' = `.'.
24279 # Shell code in configure.ac might set extrasub.
24280 # FIXME: do we really want to maintain this feature?
24281 cat >>$CONFIG_STATUS <<_ACEOF
24282 sed "$ac_vpsub
24283 $extrasub
24284 _ACEOF
24285 cat >>$CONFIG_STATUS <<\_ACEOF
24287 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24288 s&@configure_input@&$configure_input&;t t
24289 s&@top_builddir@&$ac_top_builddir_sub&;t t
24290 s&@srcdir@&$ac_srcdir&;t t
24291 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24292 s&@top_srcdir@&$ac_top_srcdir&;t t
24293 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24294 s&@builddir@&$ac_builddir&;t t
24295 s&@abs_builddir@&$ac_abs_builddir&;t t
24296 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24297 s&@INSTALL@&$ac_INSTALL&;t t
24298 $ac_datarootdir_hack
24299 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24302 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24303 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24304 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24305 which seems to be undefined. Please make sure it is defined." >&5
24306 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24307 which seems to be undefined. Please make sure it is defined." >&2;}
24309 rm -f "$tmp/stdin"
24310 case $ac_file in
24311 -) cat "$tmp/out"; rm -f "$tmp/out";;
24312 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24313 esac
24317 # CONFIG_HEADER
24319 _ACEOF
24321 # Transform confdefs.h into a sed script `conftest.defines', that
24322 # substitutes the proper values into config.h.in to produce config.h.
24323 rm -f conftest.defines conftest.tail
24324 # First, append a space to every undef/define line, to ease matching.
24325 echo 's/$/ /' >conftest.defines
24326 # Then, protect against being on the right side of a sed subst, or in
24327 # an unquoted here document, in config.status. If some macros were
24328 # called several times there might be several #defines for the same
24329 # symbol, which is useless. But do not sort them, since the last
24330 # AC_DEFINE must be honored.
24331 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24332 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24333 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24334 # PARAMS is the parameter list in the macro definition--in most cases, it's
24335 # just an empty string.
24336 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24337 ac_dB='\\)[ (].*,\\1define\\2'
24338 ac_dC=' '
24339 ac_dD=' ,'
24341 uniq confdefs.h |
24342 sed -n '
24343 t rset
24344 :rset
24345 s/^[ ]*#[ ]*define[ ][ ]*//
24346 t ok
24349 s/[\\&,]/\\&/g
24350 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24351 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24352 ' >>conftest.defines
24354 # Remove the space that was appended to ease matching.
24355 # Then replace #undef with comments. This is necessary, for
24356 # example, in the case of _POSIX_SOURCE, which is predefined and required
24357 # on some systems where configure will not decide to define it.
24358 # (The regexp can be short, since the line contains either #define or #undef.)
24359 echo 's/ $//
24360 s,^[ #]*u.*,/* & */,' >>conftest.defines
24362 # Break up conftest.defines:
24363 ac_max_sed_lines=50
24365 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24366 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24367 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24368 # et cetera.
24369 ac_in='$ac_file_inputs'
24370 ac_out='"$tmp/out1"'
24371 ac_nxt='"$tmp/out2"'
24373 while :
24375 # Write a here document:
24376 cat >>$CONFIG_STATUS <<_ACEOF
24377 # First, check the format of the line:
24378 cat >"\$tmp/defines.sed" <<\\CEOF
24379 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24380 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24382 :def
24383 _ACEOF
24384 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24385 echo 'CEOF
24386 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24387 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24388 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24389 grep . conftest.tail >/dev/null || break
24390 rm -f conftest.defines
24391 mv conftest.tail conftest.defines
24392 done
24393 rm -f conftest.defines conftest.tail
24395 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24396 cat >>$CONFIG_STATUS <<\_ACEOF
24397 if test x"$ac_file" != x-; then
24398 echo "/* $configure_input */" >"$tmp/config.h"
24399 cat "$ac_result" >>"$tmp/config.h"
24400 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24401 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24402 echo "$as_me: $ac_file is unchanged" >&6;}
24403 else
24404 rm -f $ac_file
24405 mv "$tmp/config.h" $ac_file
24407 else
24408 echo "/* $configure_input */"
24409 cat "$ac_result"
24411 rm -f "$tmp/out12"
24414 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24415 echo "$as_me: executing $ac_file commands" >&6;}
24417 esac
24420 case $ac_file$ac_mode in
24421 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24422 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24423 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24424 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24425 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24426 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24427 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24428 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24429 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24430 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24431 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24432 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24433 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24435 esac
24436 done # for ac_tag
24439 { (exit 0); exit 0; }
24440 _ACEOF
24441 chmod +x $CONFIG_STATUS
24442 ac_clean_files=$ac_clean_files_save
24445 # configure is writing to config.log, and then calls config.status.
24446 # config.status does its own redirection, appending to config.log.
24447 # Unfortunately, on DOS this fails, as config.log is still kept open
24448 # by configure, so config.status won't be able to write to it; its
24449 # output is simply discarded. So we exec the FD to /dev/null,
24450 # effectively closing config.log, so it can be properly (re)opened and
24451 # appended to by config.status. When coming back to configure, we
24452 # need to make the FD available again.
24453 if test "$no_create" != yes; then
24454 ac_cs_success=:
24455 ac_config_status_args=
24456 test "$silent" = yes &&
24457 ac_config_status_args="$ac_config_status_args --quiet"
24458 exec 5>/dev/null
24459 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24460 exec 5>>config.log
24461 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24462 # would make configure fail if this is the last instruction.
24463 $ac_cs_success || { (exit 1); exit 1; }
24467 if test "$no_create" = "yes"
24468 then
24469 exit 0
24472 ac_save_IFS="$IFS"
24473 IFS="|"
24474 if test "x$wine_notices != "x; then
24475 echo >&6
24476 for msg in $wine_notices; do
24477 if test -n "$msg"; then
24478 { echo "$as_me:$LINENO: $msg" >&5
24479 echo "$as_me: $msg" >&6;}
24481 done
24483 for msg in $wine_warnings; do
24484 if test -n "$msg"; then
24485 echo >&2
24486 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24487 echo "$as_me: WARNING: $msg" >&2;}
24489 done
24490 IFS="$ac_save_IFS"
24492 echo "
24493 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24494 " >&6