push ea9b5d58a895184c3fe41c2064530062fa8691e2
[wine/hacks.git] / configure
blob09e3267abec557d036e5f505e3f2a72a4f15208e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.1.2.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='1.1.2'
578 PACKAGE_STRING='Wine 1.1.2'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 TESTSUBDIRS
667 WINETEST
668 SET_MAKE
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
677 CXXFLAGS
678 ac_ct_CXX
679 CPPBIN
680 TOOLSDIR
681 XMKMF
683 X_CFLAGS
684 X_PRE_LIBS
685 X_LIBS
686 X_EXTRA_LIBS
687 FLEX
688 BISON
690 ac_ct_AS
692 ac_ct_LD
694 ac_ct_NM
696 ac_ct_AR
697 ARFLAGS
698 RANLIB
699 STRIP
700 WINDRES
701 LN_S
703 GREP
704 EGREP
705 LDCONFIG
706 INSTALL_PROGRAM
707 INSTALL_SCRIPT
708 INSTALL_DATA
709 LINT
710 LINTFLAGS
711 FONTFORGE
712 PKG_CONFIG
713 RSVG
714 ICOTOOL
715 PRELINK
716 LIBPTHREAD
717 XLIB
718 XFILES
719 OPENGLFILES
720 GLU32FILES
721 OPENGL_LIBS
722 QUARTZFILES
723 DLLEXT
724 DLLFLAGS
725 LDSHARED
726 LDDLLFLAGS
727 LIBEXT
728 IMPLIBEXT
729 LDRPATH_INSTALL
730 LDRPATH_LOCAL
732 DLLTOOL
733 DLLWRAP
734 MINGWAR
735 SECURITYLIB
736 COREFOUNDATIONLIB
737 IOKITLIB
738 LDEXECFLAGS
739 DISKARBITRATIONLIB
740 COREAUDIO
741 CARBONLIB
742 CROSSTEST
743 CROSSCC
744 CROSSWINDRES
745 NASLIBS
746 XML2LIBS
747 XML2INCL
748 XSLTLIBS
749 XSLTINCL
750 HALINCL
751 sane_devel
752 SANEINCL
753 gphoto2_devel
754 gphoto2port_devel
755 GPHOTO2LIBS
756 GPHOTO2INCL
757 RESOLVLIBS
758 LCMSLIBS
759 ft_devel
760 FREETYPELIBS
761 FREETYPEINCL
762 FONTSSUBDIRS
763 ESDCONFIG
764 ESDINCL
765 ESDLIBS
766 ALSALIBS
767 AUDIOIOLIBS
768 CUPSINCL
769 FONTCONFIGINCL
770 EXTRACFLAGS
771 BUILTINFLAG
772 LDPATH
773 CRTLIBS
774 SOCKETLIBS
775 MAIN_BINARY
776 EXTRA_BINARIES
777 LIBDL
778 LIBPOLL
779 LDAPLIBS
780 DEPENDENCIES
781 LIBOBJS
782 LTLIBOBJS'
783 ac_subst_files='MAKE_RULES
784 MAKE_DLL_RULES
785 MAKE_IMPLIB_RULES
786 MAKE_TEST_RULES
787 MAKE_PROG_RULES'
788 ac_precious_vars='build_alias
789 host_alias
790 target_alias
792 CFLAGS
793 LDFLAGS
794 LIBS
795 CPPFLAGS
797 CXXFLAGS
799 XMKMF
800 CPP'
803 # Initialize some variables set by options.
804 ac_init_help=
805 ac_init_version=false
806 # The variables have the same names as the options, with
807 # dashes changed to underlines.
808 cache_file=/dev/null
809 exec_prefix=NONE
810 no_create=
811 no_recursion=
812 prefix=NONE
813 program_prefix=NONE
814 program_suffix=NONE
815 program_transform_name=s,x,x,
816 silent=
817 site=
818 srcdir=
819 verbose=
820 x_includes=NONE
821 x_libraries=NONE
823 # Installation directory options.
824 # These are left unexpanded so users can "make install exec_prefix=/foo"
825 # and all the variables that are supposed to be based on exec_prefix
826 # by default will actually change.
827 # Use braces instead of parens because sh, perl, etc. also accept them.
828 # (The list follows the same order as the GNU Coding Standards.)
829 bindir='${exec_prefix}/bin'
830 sbindir='${exec_prefix}/sbin'
831 libexecdir='${exec_prefix}/libexec'
832 datarootdir='${prefix}/share'
833 datadir='${datarootdir}'
834 sysconfdir='${prefix}/etc'
835 sharedstatedir='${prefix}/com'
836 localstatedir='${prefix}/var'
837 includedir='${prefix}/include'
838 oldincludedir='/usr/include'
839 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
840 infodir='${datarootdir}/info'
841 htmldir='${docdir}'
842 dvidir='${docdir}'
843 pdfdir='${docdir}'
844 psdir='${docdir}'
845 libdir='${exec_prefix}/lib'
846 localedir='${datarootdir}/locale'
847 mandir='${datarootdir}/man'
849 ac_prev=
850 ac_dashdash=
851 for ac_option
853 # If the previous option needs an argument, assign it.
854 if test -n "$ac_prev"; then
855 eval $ac_prev=\$ac_option
856 ac_prev=
857 continue
860 case $ac_option in
861 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 *) ac_optarg=yes ;;
863 esac
865 # Accept the important Cygnus configure options, so we can diagnose typos.
867 case $ac_dashdash$ac_option in
869 ac_dashdash=yes ;;
871 -bindir | --bindir | --bindi | --bind | --bin | --bi)
872 ac_prev=bindir ;;
873 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
874 bindir=$ac_optarg ;;
876 -build | --build | --buil | --bui | --bu)
877 ac_prev=build_alias ;;
878 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
879 build_alias=$ac_optarg ;;
881 -cache-file | --cache-file | --cache-fil | --cache-fi \
882 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
883 ac_prev=cache_file ;;
884 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
885 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
886 cache_file=$ac_optarg ;;
888 --config-cache | -C)
889 cache_file=config.cache ;;
891 -datadir | --datadir | --datadi | --datad)
892 ac_prev=datadir ;;
893 -datadir=* | --datadir=* | --datadi=* | --datad=*)
894 datadir=$ac_optarg ;;
896 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
897 | --dataroo | --dataro | --datar)
898 ac_prev=datarootdir ;;
899 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
900 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
901 datarootdir=$ac_optarg ;;
903 -disable-* | --disable-*)
904 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
907 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
908 { (exit 1); exit 1; }; }
909 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
910 eval enable_$ac_feature=no ;;
912 -docdir | --docdir | --docdi | --doc | --do)
913 ac_prev=docdir ;;
914 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
915 docdir=$ac_optarg ;;
917 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
918 ac_prev=dvidir ;;
919 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
920 dvidir=$ac_optarg ;;
922 -enable-* | --enable-*)
923 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
924 # Reject names that are not valid shell variable names.
925 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
926 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
927 { (exit 1); exit 1; }; }
928 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
929 eval enable_$ac_feature=\$ac_optarg ;;
931 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
932 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
933 | --exec | --exe | --ex)
934 ac_prev=exec_prefix ;;
935 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
936 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
937 | --exec=* | --exe=* | --ex=*)
938 exec_prefix=$ac_optarg ;;
940 -gas | --gas | --ga | --g)
941 # Obsolete; use --with-gas.
942 with_gas=yes ;;
944 -help | --help | --hel | --he | -h)
945 ac_init_help=long ;;
946 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
947 ac_init_help=recursive ;;
948 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
949 ac_init_help=short ;;
951 -host | --host | --hos | --ho)
952 ac_prev=host_alias ;;
953 -host=* | --host=* | --hos=* | --ho=*)
954 host_alias=$ac_optarg ;;
956 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957 ac_prev=htmldir ;;
958 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959 | --ht=*)
960 htmldir=$ac_optarg ;;
962 -includedir | --includedir | --includedi | --included | --include \
963 | --includ | --inclu | --incl | --inc)
964 ac_prev=includedir ;;
965 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
966 | --includ=* | --inclu=* | --incl=* | --inc=*)
967 includedir=$ac_optarg ;;
969 -infodir | --infodir | --infodi | --infod | --info | --inf)
970 ac_prev=infodir ;;
971 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
972 infodir=$ac_optarg ;;
974 -libdir | --libdir | --libdi | --libd)
975 ac_prev=libdir ;;
976 -libdir=* | --libdir=* | --libdi=* | --libd=*)
977 libdir=$ac_optarg ;;
979 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
980 | --libexe | --libex | --libe)
981 ac_prev=libexecdir ;;
982 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
983 | --libexe=* | --libex=* | --libe=*)
984 libexecdir=$ac_optarg ;;
986 -localedir | --localedir | --localedi | --localed | --locale)
987 ac_prev=localedir ;;
988 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
989 localedir=$ac_optarg ;;
991 -localstatedir | --localstatedir | --localstatedi | --localstated \
992 | --localstate | --localstat | --localsta | --localst | --locals)
993 ac_prev=localstatedir ;;
994 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
995 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
996 localstatedir=$ac_optarg ;;
998 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
999 ac_prev=mandir ;;
1000 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 mandir=$ac_optarg ;;
1003 -nfp | --nfp | --nf)
1004 # Obsolete; use --without-fp.
1005 with_fp=no ;;
1007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1008 | --no-cr | --no-c | -n)
1009 no_create=yes ;;
1011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013 no_recursion=yes ;;
1015 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1016 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1017 | --oldin | --oldi | --old | --ol | --o)
1018 ac_prev=oldincludedir ;;
1019 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1020 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1021 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1022 oldincludedir=$ac_optarg ;;
1024 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1025 ac_prev=prefix ;;
1026 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1027 prefix=$ac_optarg ;;
1029 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1030 | --program-pre | --program-pr | --program-p)
1031 ac_prev=program_prefix ;;
1032 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1033 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1034 program_prefix=$ac_optarg ;;
1036 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1037 | --program-suf | --program-su | --program-s)
1038 ac_prev=program_suffix ;;
1039 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1040 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1041 program_suffix=$ac_optarg ;;
1043 -program-transform-name | --program-transform-name \
1044 | --program-transform-nam | --program-transform-na \
1045 | --program-transform-n | --program-transform- \
1046 | --program-transform | --program-transfor \
1047 | --program-transfo | --program-transf \
1048 | --program-trans | --program-tran \
1049 | --progr-tra | --program-tr | --program-t)
1050 ac_prev=program_transform_name ;;
1051 -program-transform-name=* | --program-transform-name=* \
1052 | --program-transform-nam=* | --program-transform-na=* \
1053 | --program-transform-n=* | --program-transform-=* \
1054 | --program-transform=* | --program-transfor=* \
1055 | --program-transfo=* | --program-transf=* \
1056 | --program-trans=* | --program-tran=* \
1057 | --progr-tra=* | --program-tr=* | --program-t=*)
1058 program_transform_name=$ac_optarg ;;
1060 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1061 ac_prev=pdfdir ;;
1062 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1063 pdfdir=$ac_optarg ;;
1065 -psdir | --psdir | --psdi | --psd | --ps)
1066 ac_prev=psdir ;;
1067 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068 psdir=$ac_optarg ;;
1070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1071 | -silent | --silent | --silen | --sile | --sil)
1072 silent=yes ;;
1074 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1075 ac_prev=sbindir ;;
1076 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1077 | --sbi=* | --sb=*)
1078 sbindir=$ac_optarg ;;
1080 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1081 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1082 | --sharedst | --shareds | --shared | --share | --shar \
1083 | --sha | --sh)
1084 ac_prev=sharedstatedir ;;
1085 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1086 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1087 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1088 | --sha=* | --sh=*)
1089 sharedstatedir=$ac_optarg ;;
1091 -site | --site | --sit)
1092 ac_prev=site ;;
1093 -site=* | --site=* | --sit=*)
1094 site=$ac_optarg ;;
1096 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1097 ac_prev=srcdir ;;
1098 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1099 srcdir=$ac_optarg ;;
1101 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1102 | --syscon | --sysco | --sysc | --sys | --sy)
1103 ac_prev=sysconfdir ;;
1104 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1105 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1106 sysconfdir=$ac_optarg ;;
1108 -target | --target | --targe | --targ | --tar | --ta | --t)
1109 ac_prev=target_alias ;;
1110 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1111 target_alias=$ac_optarg ;;
1113 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114 verbose=yes ;;
1116 -version | --version | --versio | --versi | --vers | -V)
1117 ac_init_version=: ;;
1119 -with-* | --with-*)
1120 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_$ac_package=\$ac_optarg ;;
1128 -without-* | --without-*)
1129 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1132 { echo "$as_me: error: invalid package name: $ac_package" >&2
1133 { (exit 1); exit 1; }; }
1134 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1135 eval with_$ac_package=no ;;
1137 --x)
1138 # Obsolete; use --with-x.
1139 with_x=yes ;;
1141 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1142 | --x-incl | --x-inc | --x-in | --x-i)
1143 ac_prev=x_includes ;;
1144 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1145 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1146 x_includes=$ac_optarg ;;
1148 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1149 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1150 ac_prev=x_libraries ;;
1151 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1152 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1153 x_libraries=$ac_optarg ;;
1155 -*) { echo "$as_me: error: unrecognized option: $ac_option
1156 Try \`$0 --help' for more information." >&2
1157 { (exit 1); exit 1; }; }
1160 *=*)
1161 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1164 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1165 { (exit 1); exit 1; }; }
1166 eval $ac_envvar=\$ac_optarg
1167 export $ac_envvar ;;
1170 # FIXME: should be removed in autoconf 3.0.
1171 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1172 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1173 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1174 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1177 esac
1178 done
1180 if test -n "$ac_prev"; then
1181 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1182 { echo "$as_me: error: missing argument to $ac_option" >&2
1183 { (exit 1); exit 1; }; }
1186 # Be sure to have absolute directory names.
1187 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1192 eval ac_val=\$$ac_var
1193 case $ac_val in
1194 [\\/$]* | ?:[\\/]* ) continue;;
1195 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1196 esac
1197 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1198 { (exit 1); exit 1; }; }
1199 done
1201 # There might be people who depend on the old broken behavior: `$host'
1202 # used to hold the argument of --host etc.
1203 # FIXME: To remove some day.
1204 build=$build_alias
1205 host=$host_alias
1206 target=$target_alias
1208 # FIXME: To remove some day.
1209 if test "x$host_alias" != x; then
1210 if test "x$build_alias" = x; then
1211 cross_compiling=maybe
1212 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1213 If a cross compiler is detected then cross compile mode will be used." >&2
1214 elif test "x$build_alias" != "x$host_alias"; then
1215 cross_compiling=yes
1219 ac_tool_prefix=
1220 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1222 test "$silent" = yes && exec 6>/dev/null
1225 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1226 ac_ls_di=`ls -di .` &&
1227 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1228 { echo "$as_me: error: Working directory cannot be determined" >&2
1229 { (exit 1); exit 1; }; }
1230 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1231 { echo "$as_me: error: pwd does not report name of working directory" >&2
1232 { (exit 1); exit 1; }; }
1235 # Find the source files, if location was not specified.
1236 if test -z "$srcdir"; then
1237 ac_srcdir_defaulted=yes
1238 # Try the directory containing this script, then the parent directory.
1239 ac_confdir=`$as_dirname -- "$0" ||
1240 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241 X"$0" : 'X\(//\)[^/]' \| \
1242 X"$0" : 'X\(//\)$' \| \
1243 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1244 echo X"$0" |
1245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1246 s//\1/
1249 /^X\(\/\/\)[^/].*/{
1250 s//\1/
1253 /^X\(\/\/\)$/{
1254 s//\1/
1257 /^X\(\/\).*/{
1258 s//\1/
1261 s/.*/./; q'`
1262 srcdir=$ac_confdir
1263 if test ! -r "$srcdir/$ac_unique_file"; then
1264 srcdir=..
1266 else
1267 ac_srcdir_defaulted=no
1269 if test ! -r "$srcdir/$ac_unique_file"; then
1270 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1271 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1272 { (exit 1); exit 1; }; }
1274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275 ac_abs_confdir=`(
1276 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1277 { (exit 1); exit 1; }; }
1278 pwd)`
1279 # When building in place, set srcdir=.
1280 if test "$ac_abs_confdir" = "$ac_pwd"; then
1281 srcdir=.
1283 # Remove unnecessary trailing slashes from srcdir.
1284 # Double slashes in file names in object file debugging info
1285 # mess up M-x gdb in Emacs.
1286 case $srcdir in
1287 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1288 esac
1289 for ac_var in $ac_precious_vars; do
1290 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_env_${ac_var}_value=\$${ac_var}
1292 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1293 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1294 done
1297 # Report the --help message.
1299 if test "$ac_init_help" = "long"; then
1300 # Omit some internal or obsolete options to make the list less imposing.
1301 # This message is too long to be a string in the A/UX 3.1 sh.
1302 cat <<_ACEOF
1303 \`configure' configures Wine 1.1.2 to adapt to many kinds of systems.
1305 Usage: $0 [OPTION]... [VAR=VALUE]...
1307 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1308 VAR=VALUE. See below for descriptions of some of the useful variables.
1310 Defaults for the options are specified in brackets.
1312 Configuration:
1313 -h, --help display this help and exit
1314 --help=short display options specific to this package
1315 --help=recursive display the short help of all the included packages
1316 -V, --version display version information and exit
1317 -q, --quiet, --silent do not print \`checking...' messages
1318 --cache-file=FILE cache test results in FILE [disabled]
1319 -C, --config-cache alias for \`--cache-file=config.cache'
1320 -n, --no-create do not create output files
1321 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1323 Installation directories:
1324 --prefix=PREFIX install architecture-independent files in PREFIX
1325 [$ac_default_prefix]
1326 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327 [PREFIX]
1329 By default, \`make install' will install all the files in
1330 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1331 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1332 for instance \`--prefix=\$HOME'.
1334 For better control, use the options below.
1336 Fine tuning of the installation directories:
1337 --bindir=DIR user executables [EPREFIX/bin]
1338 --sbindir=DIR system admin executables [EPREFIX/sbin]
1339 --libexecdir=DIR program executables [EPREFIX/libexec]
1340 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1341 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1342 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1343 --libdir=DIR object code libraries [EPREFIX/lib]
1344 --includedir=DIR C header files [PREFIX/include]
1345 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1346 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1347 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1348 --infodir=DIR info documentation [DATAROOTDIR/info]
1349 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1350 --mandir=DIR man documentation [DATAROOTDIR/man]
1351 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1352 --htmldir=DIR html documentation [DOCDIR]
1353 --dvidir=DIR dvi documentation [DOCDIR]
1354 --pdfdir=DIR pdf documentation [DOCDIR]
1355 --psdir=DIR ps documentation [DOCDIR]
1356 _ACEOF
1358 cat <<\_ACEOF
1360 X features:
1361 --x-includes=DIR X include files are in DIR
1362 --x-libraries=DIR X library files are in DIR
1364 System types:
1365 --build=BUILD configure for building on BUILD [guessed]
1366 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1367 _ACEOF
1370 if test -n "$ac_init_help"; then
1371 case $ac_init_help in
1372 short | recursive ) echo "Configuration of Wine 1.1.2:";;
1373 esac
1374 cat <<\_ACEOF
1376 Optional Features:
1377 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1378 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1379 --disable-win16 do not include Win16 support
1380 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1381 binaries)
1382 --enable-maintainer-mode
1383 enable maintainer-specific build rules
1384 --disable-tests do not build the testsuites
1386 Optional Packages:
1387 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1388 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1389 --without-alsa do not use the Alsa sound support
1390 --without-audioio do not use the AudioIO sound support
1391 --without-capi do not use CAPI (ISDN support)
1392 --without-cms do not use CMS (color management support)
1393 --without-coreaudio do not use the CoreAudio sound support
1394 --without-cups do not use CUPS
1395 --without-curses do not use (n)curses
1396 --without-esd do not use the EsounD sound support
1397 --without-fontconfig do not use fontconfig
1398 --without-freetype do not use the FreeType library
1399 --without-gphoto do not use gphoto (Digital Camera support)
1400 --without-glu do not use the GLU library
1401 --without-hal do not use HAL (dynamic device support)
1402 --without-jack do not use the Jack sound support
1403 --without-jpeg do not use JPEG
1404 --without-ldap do not use LDAP
1405 --without-nas do not use the NAS sound support
1406 --without-opengl do not use OpenGL
1407 --without-openssl do not use OpenSSL
1408 --without-oss do not use the OSS sound support
1409 --without-png do not use PNG
1410 --without-sane do not use SANE (scanner support)
1411 --without-xcomposite do not use the Xcomposite extension
1412 --without-xcursor do not use the Xcursor extension
1413 --without-xinerama do not use Xinerama (multi-monitor support)
1414 --without-xinput do not use the Xinput extension
1415 --without-xml do not use XML
1416 --without-xrandr do not use Xrandr (resolution changes)
1417 --without-xrender do not use the Xrender extension
1418 --without-xshape do not use the Xshape extension
1419 --without-xshm do not use XShm (shared memory extension)
1420 --without-xslt do not use XSLT
1421 --without-xxf86vm do not use XFree video mode extension
1422 --with-wine-tools=DIR use Wine tools from directory DIR
1423 --with-x use the X Window System
1425 Some influential environment variables:
1426 CC C compiler command
1427 CFLAGS C compiler flags
1428 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1429 nonstandard directory <lib dir>
1430 LIBS libraries to pass to the linker, e.g. -l<library>
1431 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1432 you have headers in a nonstandard directory <include dir>
1433 CXX C++ compiler command
1434 CXXFLAGS C++ compiler flags
1435 XMKMF Path to xmkmf, Makefile generator for X Window System
1436 CPP C preprocessor
1438 Use these variables to override the choices made by `configure' or to help
1439 it to find libraries and programs with nonstandard names/locations.
1441 Report bugs to <wine-devel@winehq.org>.
1442 _ACEOF
1443 ac_status=$?
1446 if test "$ac_init_help" = "recursive"; then
1447 # If there are subdirs, report their specific --help.
1448 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1449 test -d "$ac_dir" || continue
1450 ac_builddir=.
1452 case "$ac_dir" in
1453 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1455 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1456 # A ".." for each directory in $ac_dir_suffix.
1457 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1458 case $ac_top_builddir_sub in
1459 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1461 esac ;;
1462 esac
1463 ac_abs_top_builddir=$ac_pwd
1464 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1465 # for backward compatibility:
1466 ac_top_builddir=$ac_top_build_prefix
1468 case $srcdir in
1469 .) # We are building in place.
1470 ac_srcdir=.
1471 ac_top_srcdir=$ac_top_builddir_sub
1472 ac_abs_top_srcdir=$ac_pwd ;;
1473 [\\/]* | ?:[\\/]* ) # Absolute name.
1474 ac_srcdir=$srcdir$ac_dir_suffix;
1475 ac_top_srcdir=$srcdir
1476 ac_abs_top_srcdir=$srcdir ;;
1477 *) # Relative name.
1478 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1479 ac_top_srcdir=$ac_top_build_prefix$srcdir
1480 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1481 esac
1482 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1484 cd "$ac_dir" || { ac_status=$?; continue; }
1485 # Check for guested configure.
1486 if test -f "$ac_srcdir/configure.gnu"; then
1487 echo &&
1488 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1489 elif test -f "$ac_srcdir/configure"; then
1490 echo &&
1491 $SHELL "$ac_srcdir/configure" --help=recursive
1492 else
1493 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1494 fi || ac_status=$?
1495 cd "$ac_pwd" || { ac_status=$?; break; }
1496 done
1499 test -n "$ac_init_help" && exit $ac_status
1500 if $ac_init_version; then
1501 cat <<\_ACEOF
1502 Wine configure 1.1.2
1503 generated by GNU Autoconf 2.61
1505 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1506 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1507 This configure script is free software; the Free Software Foundation
1508 gives unlimited permission to copy, distribute and modify it.
1509 _ACEOF
1510 exit
1512 cat >config.log <<_ACEOF
1513 This file contains any messages produced by compilers while
1514 running configure, to aid debugging if configure makes a mistake.
1516 It was created by Wine $as_me 1.1.2, which was
1517 generated by GNU Autoconf 2.61. Invocation command line was
1519 $ $0 $@
1521 _ACEOF
1522 exec 5>>config.log
1524 cat <<_ASUNAME
1525 ## --------- ##
1526 ## Platform. ##
1527 ## --------- ##
1529 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1530 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1531 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1532 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1533 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1535 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1536 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1538 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1539 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1540 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1541 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1542 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1543 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1544 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1546 _ASUNAME
1548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549 for as_dir in $PATH
1551 IFS=$as_save_IFS
1552 test -z "$as_dir" && as_dir=.
1553 echo "PATH: $as_dir"
1554 done
1555 IFS=$as_save_IFS
1557 } >&5
1559 cat >&5 <<_ACEOF
1562 ## ----------- ##
1563 ## Core tests. ##
1564 ## ----------- ##
1566 _ACEOF
1569 # Keep a trace of the command line.
1570 # Strip out --no-create and --no-recursion so they do not pile up.
1571 # Strip out --silent because we don't want to record it for future runs.
1572 # Also quote any args containing shell meta-characters.
1573 # Make two passes to allow for proper duplicate-argument suppression.
1574 ac_configure_args=
1575 ac_configure_args0=
1576 ac_configure_args1=
1577 ac_must_keep_next=false
1578 for ac_pass in 1 2
1580 for ac_arg
1582 case $ac_arg in
1583 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1584 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1585 | -silent | --silent | --silen | --sile | --sil)
1586 continue ;;
1587 *\'*)
1588 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1589 esac
1590 case $ac_pass in
1591 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1593 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1594 if test $ac_must_keep_next = true; then
1595 ac_must_keep_next=false # Got value, back to normal.
1596 else
1597 case $ac_arg in
1598 *=* | --config-cache | -C | -disable-* | --disable-* \
1599 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1600 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1601 | -with-* | --with-* | -without-* | --without-* | --x)
1602 case "$ac_configure_args0 " in
1603 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1604 esac
1606 -* ) ac_must_keep_next=true ;;
1607 esac
1609 ac_configure_args="$ac_configure_args '$ac_arg'"
1611 esac
1612 done
1613 done
1614 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1615 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1617 # When interrupted or exit'd, cleanup temporary files, and complete
1618 # config.log. We remove comments because anyway the quotes in there
1619 # would cause problems or look ugly.
1620 # WARNING: Use '\'' to represent an apostrophe within the trap.
1621 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1622 trap 'exit_status=$?
1623 # Save into config.log some information that might help in debugging.
1625 echo
1627 cat <<\_ASBOX
1628 ## ---------------- ##
1629 ## Cache variables. ##
1630 ## ---------------- ##
1631 _ASBOX
1632 echo
1633 # The following way of writing the cache mishandles newlines in values,
1635 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1636 eval ac_val=\$$ac_var
1637 case $ac_val in #(
1638 *${as_nl}*)
1639 case $ac_var in #(
1640 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1641 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1642 esac
1643 case $ac_var in #(
1644 _ | IFS | as_nl) ;; #(
1645 *) $as_unset $ac_var ;;
1646 esac ;;
1647 esac
1648 done
1649 (set) 2>&1 |
1650 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1651 *${as_nl}ac_space=\ *)
1652 sed -n \
1653 "s/'\''/'\''\\\\'\'''\''/g;
1654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1655 ;; #(
1657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1659 esac |
1660 sort
1662 echo
1664 cat <<\_ASBOX
1665 ## ----------------- ##
1666 ## Output variables. ##
1667 ## ----------------- ##
1668 _ASBOX
1669 echo
1670 for ac_var in $ac_subst_vars
1672 eval ac_val=\$$ac_var
1673 case $ac_val in
1674 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1675 esac
1676 echo "$ac_var='\''$ac_val'\''"
1677 done | sort
1678 echo
1680 if test -n "$ac_subst_files"; then
1681 cat <<\_ASBOX
1682 ## ------------------- ##
1683 ## File substitutions. ##
1684 ## ------------------- ##
1685 _ASBOX
1686 echo
1687 for ac_var in $ac_subst_files
1689 eval ac_val=\$$ac_var
1690 case $ac_val in
1691 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1692 esac
1693 echo "$ac_var='\''$ac_val'\''"
1694 done | sort
1695 echo
1698 if test -s confdefs.h; then
1699 cat <<\_ASBOX
1700 ## ----------- ##
1701 ## confdefs.h. ##
1702 ## ----------- ##
1703 _ASBOX
1704 echo
1705 cat confdefs.h
1706 echo
1708 test "$ac_signal" != 0 &&
1709 echo "$as_me: caught signal $ac_signal"
1710 echo "$as_me: exit $exit_status"
1711 } >&5
1712 rm -f core *.core core.conftest.* &&
1713 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1714 exit $exit_status
1716 for ac_signal in 1 2 13 15; do
1717 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1718 done
1719 ac_signal=0
1721 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1722 rm -f -r conftest* confdefs.h
1724 # Predefined preprocessor variables.
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_NAME "$PACKAGE_NAME"
1728 _ACEOF
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1733 _ACEOF
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1738 _ACEOF
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_STRING "$PACKAGE_STRING"
1743 _ACEOF
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1748 _ACEOF
1751 # Let the site file select an alternate cache file if it wants to.
1752 # Prefer explicitly selected file to automatically selected ones.
1753 if test -n "$CONFIG_SITE"; then
1754 set x "$CONFIG_SITE"
1755 elif test "x$prefix" != xNONE; then
1756 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1757 else
1758 set x "$ac_default_prefix/share/config.site" \
1759 "$ac_default_prefix/etc/config.site"
1761 shift
1762 for ac_site_file
1764 if test -r "$ac_site_file"; then
1765 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1766 echo "$as_me: loading site script $ac_site_file" >&6;}
1767 sed 's/^/| /' "$ac_site_file" >&5
1768 . "$ac_site_file"
1770 done
1772 if test -r "$cache_file"; then
1773 # Some versions of bash will fail to source /dev/null (special
1774 # files actually), so we avoid doing that.
1775 if test -f "$cache_file"; then
1776 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1777 echo "$as_me: loading cache $cache_file" >&6;}
1778 case $cache_file in
1779 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1780 *) . "./$cache_file";;
1781 esac
1783 else
1784 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1785 echo "$as_me: creating cache $cache_file" >&6;}
1786 >$cache_file
1789 # Check that the precious variables saved in the cache have kept the same
1790 # value.
1791 ac_cache_corrupted=false
1792 for ac_var in $ac_precious_vars; do
1793 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1794 eval ac_new_set=\$ac_env_${ac_var}_set
1795 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1796 eval ac_new_val=\$ac_env_${ac_var}_value
1797 case $ac_old_set,$ac_new_set in
1798 set,)
1799 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1800 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1801 ac_cache_corrupted=: ;;
1802 ,set)
1803 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1804 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1805 ac_cache_corrupted=: ;;
1806 ,);;
1808 if test "x$ac_old_val" != "x$ac_new_val"; then
1809 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1810 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1811 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1812 echo "$as_me: former value: $ac_old_val" >&2;}
1813 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1814 echo "$as_me: current value: $ac_new_val" >&2;}
1815 ac_cache_corrupted=:
1816 fi;;
1817 esac
1818 # Pass precious variables to config.status.
1819 if test "$ac_new_set" = set; then
1820 case $ac_new_val in
1821 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1822 *) ac_arg=$ac_var=$ac_new_val ;;
1823 esac
1824 case " $ac_configure_args " in
1825 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1826 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1827 esac
1829 done
1830 if $ac_cache_corrupted; then
1831 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1832 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1833 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1834 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1835 { (exit 1); exit 1; }; }
1862 ac_ext=c
1863 ac_cpp='$CPP $CPPFLAGS'
1864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1870 ac_config_headers="$ac_config_headers include/config.h"
1872 ac_aux_dir=
1873 for ac_dir in tools "$srcdir"/tools; do
1874 if test -f "$ac_dir/install-sh"; then
1875 ac_aux_dir=$ac_dir
1876 ac_install_sh="$ac_aux_dir/install-sh -c"
1877 break
1878 elif test -f "$ac_dir/install.sh"; then
1879 ac_aux_dir=$ac_dir
1880 ac_install_sh="$ac_aux_dir/install.sh -c"
1881 break
1882 elif test -f "$ac_dir/shtool"; then
1883 ac_aux_dir=$ac_dir
1884 ac_install_sh="$ac_aux_dir/shtool install -c"
1885 break
1887 done
1888 if test -z "$ac_aux_dir"; then
1889 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1890 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1891 { (exit 1); exit 1; }; }
1894 # These three variables are undocumented and unsupported,
1895 # and are intended to be withdrawn in a future Autoconf release.
1896 # They can cause serious problems if a builder's source tree is in a directory
1897 # whose full name contains unusual characters.
1898 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1899 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1900 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1905 # Check whether --enable-win16 was given.
1906 if test "${enable_win16+set}" = set; then
1907 enableval=$enable_win16;
1910 # Check whether --enable-win64 was given.
1911 if test "${enable_win64+set}" = set; then
1912 enableval=$enable_win64;
1915 # Check whether --enable-maintainer-mode was given.
1916 if test "${enable_maintainer_mode+set}" = set; then
1917 enableval=$enable_maintainer_mode;
1918 else
1919 MAINTAINER_MODE=\#
1925 # Check whether --with-alsa was given.
1926 if test "${with_alsa+set}" = set; then
1927 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1931 # Check whether --with-audioio was given.
1932 if test "${with_audioio+set}" = set; then
1933 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1937 # Check whether --with-capi was given.
1938 if test "${with_capi+set}" = set; then
1939 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1943 # Check whether --with-cms was given.
1944 if test "${with_cms+set}" = set; then
1945 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1949 # Check whether --with-coreaudio was given.
1950 if test "${with_coreaudio+set}" = set; then
1951 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1955 # Check whether --with-cups was given.
1956 if test "${with_cups+set}" = set; then
1957 withval=$with_cups;
1961 # Check whether --with-curses was given.
1962 if test "${with_curses+set}" = set; then
1963 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1967 # Check whether --with-esd was given.
1968 if test "${with_esd+set}" = set; then
1969 withval=$with_esd;
1973 # Check whether --with-fontconfig was given.
1974 if test "${with_fontconfig+set}" = set; then
1975 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1979 # Check whether --with-freetype was given.
1980 if test "${with_freetype+set}" = set; then
1981 withval=$with_freetype;
1985 # Check whether --with-gphoto was given.
1986 if test "${with_gphoto+set}" = set; then
1987 withval=$with_gphoto;
1991 # Check whether --with-glu was given.
1992 if test "${with_glu+set}" = set; then
1993 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1997 # Check whether --with-hal was given.
1998 if test "${with_hal+set}" = set; then
1999 withval=$with_hal;
2003 # Check whether --with-jack was given.
2004 if test "${with_jack+set}" = set; then
2005 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2009 # Check whether --with-jpeg was given.
2010 if test "${with_jpeg+set}" = set; then
2011 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2015 # Check whether --with-ldap was given.
2016 if test "${with_ldap+set}" = set; then
2017 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2021 # Check whether --with-nas was given.
2022 if test "${with_nas+set}" = set; then
2023 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2027 # Check whether --with-opengl was given.
2028 if test "${with_opengl+set}" = set; then
2029 withval=$with_opengl;
2033 # Check whether --with-openssl was given.
2034 if test "${with_openssl+set}" = set; then
2035 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2039 # Check whether --with-oss was given.
2040 if test "${with_oss+set}" = set; then
2041 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
2045 # Check whether --with-png was given.
2046 if test "${with_png+set}" = set; then
2047 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2051 # Check whether --with-sane was given.
2052 if test "${with_sane+set}" = set; then
2053 withval=$with_sane;
2057 # Check whether --with-xcomposite was given.
2058 if test "${with_xcomposite+set}" = set; then
2059 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2063 # Check whether --with-xcursor was given.
2064 if test "${with_xcursor+set}" = set; then
2065 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2069 # Check whether --with-xinerama was given.
2070 if test "${with_xinerama+set}" = set; then
2071 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2075 # Check whether --with-xinput was given.
2076 if test "${with_xinput+set}" = set; then
2077 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2081 # Check whether --with-xml was given.
2082 if test "${with_xml+set}" = set; then
2083 withval=$with_xml;
2087 # Check whether --with-xrandr was given.
2088 if test "${with_xrandr+set}" = set; then
2089 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2093 # Check whether --with-xrender was given.
2094 if test "${with_xrender+set}" = set; then
2095 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2099 # Check whether --with-xshape was given.
2100 if test "${with_xshape+set}" = set; then
2101 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2105 # Check whether --with-xshm was given.
2106 if test "${with_xshm+set}" = set; then
2107 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2111 # Check whether --with-xslt was given.
2112 if test "${with_xslt+set}" = set; then
2113 withval=$with_xslt;
2117 # Check whether --with-xxf86vm was given.
2118 if test "${with_xxf86vm+set}" = set; then
2119 withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2124 # Check whether --with-wine-tools was given.
2125 if test "${with_wine_tools+set}" = set; then
2126 withval=$with_wine_tools;
2129 # Check whether --enable-tests was given.
2130 if test "${enable_tests+set}" = set; then
2131 enableval=$enable_tests;
2135 # Make sure we can run config.sub.
2136 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2137 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2138 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2139 { (exit 1); exit 1; }; }
2141 { echo "$as_me:$LINENO: checking build system type" >&5
2142 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2143 if test "${ac_cv_build+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 else
2146 ac_build_alias=$build_alias
2147 test "x$ac_build_alias" = x &&
2148 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2149 test "x$ac_build_alias" = x &&
2150 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2151 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2152 { (exit 1); exit 1; }; }
2153 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2154 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2155 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2156 { (exit 1); exit 1; }; }
2159 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2160 echo "${ECHO_T}$ac_cv_build" >&6; }
2161 case $ac_cv_build in
2162 *-*-*) ;;
2163 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2164 echo "$as_me: error: invalid value of canonical build" >&2;}
2165 { (exit 1); exit 1; }; };;
2166 esac
2167 build=$ac_cv_build
2168 ac_save_IFS=$IFS; IFS='-'
2169 set x $ac_cv_build
2170 shift
2171 build_cpu=$1
2172 build_vendor=$2
2173 shift; shift
2174 # Remember, the first character of IFS is used to create $*,
2175 # except with old shells:
2176 build_os=$*
2177 IFS=$ac_save_IFS
2178 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2181 { echo "$as_me:$LINENO: checking host system type" >&5
2182 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2183 if test "${ac_cv_host+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 else
2186 if test "x$host_alias" = x; then
2187 ac_cv_host=$ac_cv_build
2188 else
2189 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2190 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2191 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2192 { (exit 1); exit 1; }; }
2196 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2197 echo "${ECHO_T}$ac_cv_host" >&6; }
2198 case $ac_cv_host in
2199 *-*-*) ;;
2200 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2201 echo "$as_me: error: invalid value of canonical host" >&2;}
2202 { (exit 1); exit 1; }; };;
2203 esac
2204 host=$ac_cv_host
2205 ac_save_IFS=$IFS; IFS='-'
2206 set x $ac_cv_host
2207 shift
2208 host_cpu=$1
2209 host_vendor=$2
2210 shift; shift
2211 # Remember, the first character of IFS is used to create $*,
2212 # except with old shells:
2213 host_os=$*
2214 IFS=$ac_save_IFS
2215 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2218 case $host in
2219 x86_64*linux*)
2220 if test "x$enable_win64" != "xyes"
2221 then
2222 test -n "$CC" || CC="gcc -m32"
2223 test -n "$CXX"|| CXX="g++ -m32"
2224 test -n "$LD" || LD="ld -m elf_i386"
2225 test -n "$AS" || AS="as --32"
2226 host_cpu="i386"
2229 esac
2231 case $host_cpu in
2232 *i[3456789]86*)
2233 if test "x$enable_win16" != "xno"
2234 then
2235 enable_win16="yes"
2238 esac
2240 WIN16_FILES="\$(WIN16_FILES)"
2242 WIN16_INSTALL="\$(WIN16_INSTALL)"
2244 if test "x$enable_win16" != "xyes"
2245 then
2246 WIN16_FILES=""
2247 WIN16_INSTALL=""
2250 if test "x$enable_tests" == "xno"
2251 then
2252 TESTSUBDIRS=""
2254 WINETEST=""
2256 else
2257 TESTSUBDIRS="\$(TESTSUBDIRS)"
2259 WINETEST="winetest"
2263 case "$srcdir" in
2264 .) ;;
2265 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2266 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2267 You need to run 'make distclean' in the source tree first." >&5
2268 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2269 You need to run 'make distclean' in the source tree first." >&2;}
2270 { (exit 1); exit 1; }; }
2271 fi ;;
2272 esac
2275 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2276 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2277 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2278 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2280 else
2281 cat >conftest.make <<\_ACEOF
2282 SHELL = /bin/sh
2283 all:
2284 @echo '@@@%%%=$(MAKE)=@@@%%%'
2285 _ACEOF
2286 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2287 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2288 *@@@%%%=?*=@@@%%%*)
2289 eval ac_cv_prog_make_${ac_make}_set=yes;;
2291 eval ac_cv_prog_make_${ac_make}_set=no;;
2292 esac
2293 rm -f conftest.make
2295 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2296 { echo "$as_me:$LINENO: result: yes" >&5
2297 echo "${ECHO_T}yes" >&6; }
2298 SET_MAKE=
2299 else
2300 { echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6; }
2302 SET_MAKE="MAKE=${MAKE-make}"
2305 ac_ext=c
2306 ac_cpp='$CPP $CPPFLAGS'
2307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2310 if test -n "$ac_tool_prefix"; then
2311 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2312 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2315 if test "${ac_cv_prog_CC+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 else
2318 if test -n "$CC"; then
2319 ac_cv_prog_CC="$CC" # Let the user override the test.
2320 else
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322 for as_dir in $PATH
2324 IFS=$as_save_IFS
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 break 2
2332 done
2333 done
2334 IFS=$as_save_IFS
2338 CC=$ac_cv_prog_CC
2339 if test -n "$CC"; then
2340 { echo "$as_me:$LINENO: result: $CC" >&5
2341 echo "${ECHO_T}$CC" >&6; }
2342 else
2343 { echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6; }
2349 if test -z "$ac_cv_prog_CC"; then
2350 ac_ct_CC=$CC
2351 # Extract the first word of "gcc", so it can be a program name with args.
2352 set dummy gcc; ac_word=$2
2353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2355 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2356 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 else
2358 if test -n "$ac_ct_CC"; then
2359 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2360 else
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2362 for as_dir in $PATH
2364 IFS=$as_save_IFS
2365 test -z "$as_dir" && as_dir=.
2366 for ac_exec_ext in '' $ac_executable_extensions; do
2367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2368 ac_cv_prog_ac_ct_CC="gcc"
2369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370 break 2
2372 done
2373 done
2374 IFS=$as_save_IFS
2378 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2379 if test -n "$ac_ct_CC"; then
2380 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2381 echo "${ECHO_T}$ac_ct_CC" >&6; }
2382 else
2383 { echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6; }
2387 if test "x$ac_ct_CC" = x; then
2388 CC=""
2389 else
2390 case $cross_compiling:$ac_tool_warned in
2391 yes:)
2392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2393 whose name does not start with the host triplet. If you think this
2394 configuration is useful to you, please write to autoconf@gnu.org." >&5
2395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2396 whose name does not start with the host triplet. If you think this
2397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2398 ac_tool_warned=yes ;;
2399 esac
2400 CC=$ac_ct_CC
2402 else
2403 CC="$ac_cv_prog_CC"
2406 if test -z "$CC"; then
2407 if test -n "$ac_tool_prefix"; then
2408 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2409 set dummy ${ac_tool_prefix}cc; ac_word=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_prog_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 else
2415 if test -n "$CC"; then
2416 ac_cv_prog_CC="$CC" # Let the user override the test.
2417 else
2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419 for as_dir in $PATH
2421 IFS=$as_save_IFS
2422 test -z "$as_dir" && as_dir=.
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2425 ac_cv_prog_CC="${ac_tool_prefix}cc"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 break 2
2429 done
2430 done
2431 IFS=$as_save_IFS
2435 CC=$ac_cv_prog_CC
2436 if test -n "$CC"; then
2437 { echo "$as_me:$LINENO: result: $CC" >&5
2438 echo "${ECHO_T}$CC" >&6; }
2439 else
2440 { echo "$as_me:$LINENO: result: no" >&5
2441 echo "${ECHO_T}no" >&6; }
2447 if test -z "$CC"; then
2448 # Extract the first word of "cc", so it can be a program name with args.
2449 set dummy cc; ac_word=$2
2450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2452 if test "${ac_cv_prog_CC+set}" = set; then
2453 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 else
2455 if test -n "$CC"; then
2456 ac_cv_prog_CC="$CC" # Let the user override the test.
2457 else
2458 ac_prog_rejected=no
2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2460 for as_dir in $PATH
2462 IFS=$as_save_IFS
2463 test -z "$as_dir" && as_dir=.
2464 for ac_exec_ext in '' $ac_executable_extensions; do
2465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2466 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2467 ac_prog_rejected=yes
2468 continue
2470 ac_cv_prog_CC="cc"
2471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 break 2
2474 done
2475 done
2476 IFS=$as_save_IFS
2478 if test $ac_prog_rejected = yes; then
2479 # We found a bogon in the path, so make sure we never use it.
2480 set dummy $ac_cv_prog_CC
2481 shift
2482 if test $# != 0; then
2483 # We chose a different compiler from the bogus one.
2484 # However, it has the same basename, so the bogon will be chosen
2485 # first if we set CC to just the basename; use the full file name.
2486 shift
2487 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2492 CC=$ac_cv_prog_CC
2493 if test -n "$CC"; then
2494 { echo "$as_me:$LINENO: result: $CC" >&5
2495 echo "${ECHO_T}$CC" >&6; }
2496 else
2497 { echo "$as_me:$LINENO: result: no" >&5
2498 echo "${ECHO_T}no" >&6; }
2503 if test -z "$CC"; then
2504 if test -n "$ac_tool_prefix"; then
2505 for ac_prog in cl.exe
2507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2508 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2511 if test "${ac_cv_prog_CC+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 else
2514 if test -n "$CC"; then
2515 ac_cv_prog_CC="$CC" # Let the user override the test.
2516 else
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2524 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 break 2
2528 done
2529 done
2530 IFS=$as_save_IFS
2534 CC=$ac_cv_prog_CC
2535 if test -n "$CC"; then
2536 { echo "$as_me:$LINENO: result: $CC" >&5
2537 echo "${ECHO_T}$CC" >&6; }
2538 else
2539 { echo "$as_me:$LINENO: result: no" >&5
2540 echo "${ECHO_T}no" >&6; }
2544 test -n "$CC" && break
2545 done
2547 if test -z "$CC"; then
2548 ac_ct_CC=$CC
2549 for ac_prog in cl.exe
2551 # Extract the first word of "$ac_prog", so it can be a program name with args.
2552 set dummy $ac_prog; ac_word=$2
2553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2555 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2557 else
2558 if test -n "$ac_ct_CC"; then
2559 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2560 else
2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 for as_dir in $PATH
2564 IFS=$as_save_IFS
2565 test -z "$as_dir" && as_dir=.
2566 for ac_exec_ext in '' $ac_executable_extensions; do
2567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568 ac_cv_prog_ac_ct_CC="$ac_prog"
2569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2570 break 2
2572 done
2573 done
2574 IFS=$as_save_IFS
2578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2579 if test -n "$ac_ct_CC"; then
2580 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2581 echo "${ECHO_T}$ac_ct_CC" >&6; }
2582 else
2583 { echo "$as_me:$LINENO: result: no" >&5
2584 echo "${ECHO_T}no" >&6; }
2588 test -n "$ac_ct_CC" && break
2589 done
2591 if test "x$ac_ct_CC" = x; then
2592 CC=""
2593 else
2594 case $cross_compiling:$ac_tool_warned in
2595 yes:)
2596 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2597 whose name does not start with the host triplet. If you think this
2598 configuration is useful to you, please write to autoconf@gnu.org." >&5
2599 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2600 whose name does not start with the host triplet. If you think this
2601 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2602 ac_tool_warned=yes ;;
2603 esac
2604 CC=$ac_ct_CC
2611 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2612 See \`config.log' for more details." >&5
2613 echo "$as_me: error: no acceptable C compiler found in \$PATH
2614 See \`config.log' for more details." >&2;}
2615 { (exit 1); exit 1; }; }
2617 # Provide some information about the compiler.
2618 echo "$as_me:$LINENO: checking for C compiler version" >&5
2619 ac_compiler=`set X $ac_compile; echo $2`
2620 { (ac_try="$ac_compiler --version >&5"
2621 case "(($ac_try" in
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2624 esac
2625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2626 (eval "$ac_compiler --version >&5") 2>&5
2627 ac_status=$?
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); }
2630 { (ac_try="$ac_compiler -v >&5"
2631 case "(($ac_try" in
2632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2633 *) ac_try_echo=$ac_try;;
2634 esac
2635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2636 (eval "$ac_compiler -v >&5") 2>&5
2637 ac_status=$?
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }
2640 { (ac_try="$ac_compiler -V >&5"
2641 case "(($ac_try" in
2642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2644 esac
2645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2646 (eval "$ac_compiler -V >&5") 2>&5
2647 ac_status=$?
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }
2651 cat >conftest.$ac_ext <<_ACEOF
2652 /* confdefs.h. */
2653 _ACEOF
2654 cat confdefs.h >>conftest.$ac_ext
2655 cat >>conftest.$ac_ext <<_ACEOF
2656 /* end confdefs.h. */
2659 main ()
2663 return 0;
2665 _ACEOF
2666 ac_clean_files_save=$ac_clean_files
2667 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2668 # Try to create an executable without -o first, disregard a.out.
2669 # It will help us diagnose broken compilers, and finding out an intuition
2670 # of exeext.
2671 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2672 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2673 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2675 # List of possible output files, starting from the most likely.
2676 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2677 # only as a last resort. b.out is created by i960 compilers.
2678 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2680 # The IRIX 6 linker writes into existing files which may not be
2681 # executable, retaining their permissions. Remove them first so a
2682 # subsequent execution test works.
2683 ac_rmfiles=
2684 for ac_file in $ac_files
2686 case $ac_file in
2687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2688 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2689 esac
2690 done
2691 rm -f $ac_rmfiles
2693 if { (ac_try="$ac_link_default"
2694 case "(($ac_try" in
2695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2696 *) ac_try_echo=$ac_try;;
2697 esac
2698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2699 (eval "$ac_link_default") 2>&5
2700 ac_status=$?
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); }; then
2703 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2705 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2706 # so that the user can short-circuit this test for compilers unknown to
2707 # Autoconf.
2708 for ac_file in $ac_files ''
2710 test -f "$ac_file" || continue
2711 case $ac_file in
2712 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2714 [ab].out )
2715 # We found the default executable, but exeext='' is most
2716 # certainly right.
2717 break;;
2718 *.* )
2719 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2720 then :; else
2721 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2723 # We set ac_cv_exeext here because the later test for it is not
2724 # safe: cross compilers may not add the suffix if given an `-o'
2725 # argument, so we may need to know it at that point already.
2726 # Even if this section looks crufty: it has the advantage of
2727 # actually working.
2728 break;;
2730 break;;
2731 esac
2732 done
2733 test "$ac_cv_exeext" = no && ac_cv_exeext=
2735 else
2736 ac_file=''
2739 { echo "$as_me:$LINENO: result: $ac_file" >&5
2740 echo "${ECHO_T}$ac_file" >&6; }
2741 if test -z "$ac_file"; then
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2745 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2746 See \`config.log' for more details." >&5
2747 echo "$as_me: error: C compiler cannot create executables
2748 See \`config.log' for more details." >&2;}
2749 { (exit 77); exit 77; }; }
2752 ac_exeext=$ac_cv_exeext
2754 # Check that the compiler produces executables we can run. If not, either
2755 # the compiler is broken, or we cross compile.
2756 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2757 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2758 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2759 # If not cross compiling, check that we can run a simple program.
2760 if test "$cross_compiling" != yes; then
2761 if { ac_try='./$ac_file'
2762 { (case "(($ac_try" in
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2765 esac
2766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2767 (eval "$ac_try") 2>&5
2768 ac_status=$?
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; }; then
2771 cross_compiling=no
2772 else
2773 if test "$cross_compiling" = maybe; then
2774 cross_compiling=yes
2775 else
2776 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2777 If you meant to cross compile, use \`--host'.
2778 See \`config.log' for more details." >&5
2779 echo "$as_me: error: cannot run C compiled programs.
2780 If you meant to cross compile, use \`--host'.
2781 See \`config.log' for more details." >&2;}
2782 { (exit 1); exit 1; }; }
2786 { echo "$as_me:$LINENO: result: yes" >&5
2787 echo "${ECHO_T}yes" >&6; }
2789 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2790 ac_clean_files=$ac_clean_files_save
2791 # Check that the compiler produces executables we can run. If not, either
2792 # the compiler is broken, or we cross compile.
2793 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2794 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2795 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2796 echo "${ECHO_T}$cross_compiling" >&6; }
2798 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2799 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2800 if { (ac_try="$ac_link"
2801 case "(($ac_try" in
2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2803 *) ac_try_echo=$ac_try;;
2804 esac
2805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2806 (eval "$ac_link") 2>&5
2807 ac_status=$?
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); }; then
2810 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2811 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2812 # work properly (i.e., refer to `conftest.exe'), while it won't with
2813 # `rm'.
2814 for ac_file in conftest.exe conftest conftest.*; do
2815 test -f "$ac_file" || continue
2816 case $ac_file in
2817 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2818 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2819 break;;
2820 * ) break;;
2821 esac
2822 done
2823 else
2824 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2825 See \`config.log' for more details." >&5
2826 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2827 See \`config.log' for more details." >&2;}
2828 { (exit 1); exit 1; }; }
2831 rm -f conftest$ac_cv_exeext
2832 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2833 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2835 rm -f conftest.$ac_ext
2836 EXEEXT=$ac_cv_exeext
2837 ac_exeext=$EXEEXT
2838 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2839 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2840 if test "${ac_cv_objext+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2842 else
2843 cat >conftest.$ac_ext <<_ACEOF
2844 /* confdefs.h. */
2845 _ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2851 main ()
2855 return 0;
2857 _ACEOF
2858 rm -f conftest.o conftest.obj
2859 if { (ac_try="$ac_compile"
2860 case "(($ac_try" in
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2863 esac
2864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2865 (eval "$ac_compile") 2>&5
2866 ac_status=$?
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; then
2869 for ac_file in conftest.o conftest.obj conftest.*; do
2870 test -f "$ac_file" || continue;
2871 case $ac_file in
2872 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2873 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2874 break;;
2875 esac
2876 done
2877 else
2878 echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2882 See \`config.log' for more details." >&5
2883 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2884 See \`config.log' for more details." >&2;}
2885 { (exit 1); exit 1; }; }
2888 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2890 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2891 echo "${ECHO_T}$ac_cv_objext" >&6; }
2892 OBJEXT=$ac_cv_objext
2893 ac_objext=$OBJEXT
2894 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2895 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2896 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2897 echo $ECHO_N "(cached) $ECHO_C" >&6
2898 else
2899 cat >conftest.$ac_ext <<_ACEOF
2900 /* confdefs.h. */
2901 _ACEOF
2902 cat confdefs.h >>conftest.$ac_ext
2903 cat >>conftest.$ac_ext <<_ACEOF
2904 /* end confdefs.h. */
2907 main ()
2909 #ifndef __GNUC__
2910 choke me
2911 #endif
2914 return 0;
2916 _ACEOF
2917 rm -f conftest.$ac_objext
2918 if { (ac_try="$ac_compile"
2919 case "(($ac_try" in
2920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921 *) ac_try_echo=$ac_try;;
2922 esac
2923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2924 (eval "$ac_compile") 2>conftest.er1
2925 ac_status=$?
2926 grep -v '^ *+' conftest.er1 >conftest.err
2927 rm -f conftest.er1
2928 cat conftest.err >&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); } && {
2931 test -z "$ac_c_werror_flag" ||
2932 test ! -s conftest.err
2933 } && test -s conftest.$ac_objext; then
2934 ac_compiler_gnu=yes
2935 else
2936 echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2939 ac_compiler_gnu=no
2942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2943 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2946 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2947 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2948 GCC=`test $ac_compiler_gnu = yes && echo yes`
2949 ac_test_CFLAGS=${CFLAGS+set}
2950 ac_save_CFLAGS=$CFLAGS
2951 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2952 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2953 if test "${ac_cv_prog_cc_g+set}" = set; then
2954 echo $ECHO_N "(cached) $ECHO_C" >&6
2955 else
2956 ac_save_c_werror_flag=$ac_c_werror_flag
2957 ac_c_werror_flag=yes
2958 ac_cv_prog_cc_g=no
2959 CFLAGS="-g"
2960 cat >conftest.$ac_ext <<_ACEOF
2961 /* confdefs.h. */
2962 _ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2968 main ()
2972 return 0;
2974 _ACEOF
2975 rm -f conftest.$ac_objext
2976 if { (ac_try="$ac_compile"
2977 case "(($ac_try" in
2978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2979 *) ac_try_echo=$ac_try;;
2980 esac
2981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2982 (eval "$ac_compile") 2>conftest.er1
2983 ac_status=$?
2984 grep -v '^ *+' conftest.er1 >conftest.err
2985 rm -f conftest.er1
2986 cat conftest.err >&5
2987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988 (exit $ac_status); } && {
2989 test -z "$ac_c_werror_flag" ||
2990 test ! -s conftest.err
2991 } && test -s conftest.$ac_objext; then
2992 ac_cv_prog_cc_g=yes
2993 else
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2997 CFLAGS=""
2998 cat >conftest.$ac_ext <<_ACEOF
2999 /* confdefs.h. */
3000 _ACEOF
3001 cat confdefs.h >>conftest.$ac_ext
3002 cat >>conftest.$ac_ext <<_ACEOF
3003 /* end confdefs.h. */
3006 main ()
3010 return 0;
3012 _ACEOF
3013 rm -f conftest.$ac_objext
3014 if { (ac_try="$ac_compile"
3015 case "(($ac_try" in
3016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3017 *) ac_try_echo=$ac_try;;
3018 esac
3019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3020 (eval "$ac_compile") 2>conftest.er1
3021 ac_status=$?
3022 grep -v '^ *+' conftest.er1 >conftest.err
3023 rm -f conftest.er1
3024 cat conftest.err >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); } && {
3027 test -z "$ac_c_werror_flag" ||
3028 test ! -s conftest.err
3029 } && test -s conftest.$ac_objext; then
3031 else
3032 echo "$as_me: failed program was:" >&5
3033 sed 's/^/| /' conftest.$ac_ext >&5
3035 ac_c_werror_flag=$ac_save_c_werror_flag
3036 CFLAGS="-g"
3037 cat >conftest.$ac_ext <<_ACEOF
3038 /* confdefs.h. */
3039 _ACEOF
3040 cat confdefs.h >>conftest.$ac_ext
3041 cat >>conftest.$ac_ext <<_ACEOF
3042 /* end confdefs.h. */
3045 main ()
3049 return 0;
3051 _ACEOF
3052 rm -f conftest.$ac_objext
3053 if { (ac_try="$ac_compile"
3054 case "(($ac_try" in
3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3056 *) ac_try_echo=$ac_try;;
3057 esac
3058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3059 (eval "$ac_compile") 2>conftest.er1
3060 ac_status=$?
3061 grep -v '^ *+' conftest.er1 >conftest.err
3062 rm -f conftest.er1
3063 cat conftest.err >&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } && {
3066 test -z "$ac_c_werror_flag" ||
3067 test ! -s conftest.err
3068 } && test -s conftest.$ac_objext; then
3069 ac_cv_prog_cc_g=yes
3070 else
3071 echo "$as_me: failed program was:" >&5
3072 sed 's/^/| /' conftest.$ac_ext >&5
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3084 ac_c_werror_flag=$ac_save_c_werror_flag
3086 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3088 if test "$ac_test_CFLAGS" = set; then
3089 CFLAGS=$ac_save_CFLAGS
3090 elif test $ac_cv_prog_cc_g = yes; then
3091 if test "$GCC" = yes; then
3092 CFLAGS="-g -O2"
3093 else
3094 CFLAGS="-g"
3096 else
3097 if test "$GCC" = yes; then
3098 CFLAGS="-O2"
3099 else
3100 CFLAGS=
3103 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3104 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3105 if test "${ac_cv_prog_cc_c89+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 else
3108 ac_cv_prog_cc_c89=no
3109 ac_save_CC=$CC
3110 cat >conftest.$ac_ext <<_ACEOF
3111 /* confdefs.h. */
3112 _ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3116 #include <stdarg.h>
3117 #include <stdio.h>
3118 #include <sys/types.h>
3119 #include <sys/stat.h>
3120 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3121 struct buf { int x; };
3122 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3123 static char *e (p, i)
3124 char **p;
3125 int i;
3127 return p[i];
3129 static char *f (char * (*g) (char **, int), char **p, ...)
3131 char *s;
3132 va_list v;
3133 va_start (v,p);
3134 s = g (p, va_arg (v,int));
3135 va_end (v);
3136 return s;
3139 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3140 function prototypes and stuff, but not '\xHH' hex character constants.
3141 These don't provoke an error unfortunately, instead are silently treated
3142 as 'x'. The following induces an error, until -std is added to get
3143 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3144 array size at least. It's necessary to write '\x00'==0 to get something
3145 that's true only with -std. */
3146 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3148 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3149 inside strings and character constants. */
3150 #define FOO(x) 'x'
3151 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3153 int test (int i, double x);
3154 struct s1 {int (*f) (int a);};
3155 struct s2 {int (*f) (double a);};
3156 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3157 int argc;
3158 char **argv;
3160 main ()
3162 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3164 return 0;
3166 _ACEOF
3167 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3168 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3170 CC="$ac_save_CC $ac_arg"
3171 rm -f conftest.$ac_objext
3172 if { (ac_try="$ac_compile"
3173 case "(($ac_try" in
3174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175 *) ac_try_echo=$ac_try;;
3176 esac
3177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3178 (eval "$ac_compile") 2>conftest.er1
3179 ac_status=$?
3180 grep -v '^ *+' conftest.er1 >conftest.err
3181 rm -f conftest.er1
3182 cat conftest.err >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } && {
3185 test -z "$ac_c_werror_flag" ||
3186 test ! -s conftest.err
3187 } && test -s conftest.$ac_objext; then
3188 ac_cv_prog_cc_c89=$ac_arg
3189 else
3190 echo "$as_me: failed program was:" >&5
3191 sed 's/^/| /' conftest.$ac_ext >&5
3196 rm -f core conftest.err conftest.$ac_objext
3197 test "x$ac_cv_prog_cc_c89" != "xno" && break
3198 done
3199 rm -f conftest.$ac_ext
3200 CC=$ac_save_CC
3203 # AC_CACHE_VAL
3204 case "x$ac_cv_prog_cc_c89" in
3206 { echo "$as_me:$LINENO: result: none needed" >&5
3207 echo "${ECHO_T}none needed" >&6; } ;;
3208 xno)
3209 { echo "$as_me:$LINENO: result: unsupported" >&5
3210 echo "${ECHO_T}unsupported" >&6; } ;;
3212 CC="$CC $ac_cv_prog_cc_c89"
3213 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3214 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3215 esac
3218 ac_ext=c
3219 ac_cpp='$CPP $CPPFLAGS'
3220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3224 ac_ext=cpp
3225 ac_cpp='$CXXCPP $CPPFLAGS'
3226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3229 if test -z "$CXX"; then
3230 if test -n "$CCC"; then
3231 CXX=$CCC
3232 else
3233 if test -n "$ac_tool_prefix"; then
3234 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3236 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3237 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3240 if test "${ac_cv_prog_CXX+set}" = set; then
3241 echo $ECHO_N "(cached) $ECHO_C" >&6
3242 else
3243 if test -n "$CXX"; then
3244 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3245 else
3246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3247 for as_dir in $PATH
3249 IFS=$as_save_IFS
3250 test -z "$as_dir" && as_dir=.
3251 for ac_exec_ext in '' $ac_executable_extensions; do
3252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3253 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3255 break 2
3257 done
3258 done
3259 IFS=$as_save_IFS
3263 CXX=$ac_cv_prog_CXX
3264 if test -n "$CXX"; then
3265 { echo "$as_me:$LINENO: result: $CXX" >&5
3266 echo "${ECHO_T}$CXX" >&6; }
3267 else
3268 { echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6; }
3273 test -n "$CXX" && break
3274 done
3276 if test -z "$CXX"; then
3277 ac_ct_CXX=$CXX
3278 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3280 # Extract the first word of "$ac_prog", so it can be a program name with args.
3281 set dummy $ac_prog; ac_word=$2
3282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3284 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3286 else
3287 if test -n "$ac_ct_CXX"; then
3288 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3289 else
3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 for as_dir in $PATH
3293 IFS=$as_save_IFS
3294 test -z "$as_dir" && as_dir=.
3295 for ac_exec_ext in '' $ac_executable_extensions; do
3296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3297 ac_cv_prog_ac_ct_CXX="$ac_prog"
3298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 break 2
3301 done
3302 done
3303 IFS=$as_save_IFS
3307 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3308 if test -n "$ac_ct_CXX"; then
3309 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3310 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3311 else
3312 { echo "$as_me:$LINENO: result: no" >&5
3313 echo "${ECHO_T}no" >&6; }
3317 test -n "$ac_ct_CXX" && break
3318 done
3320 if test "x$ac_ct_CXX" = x; then
3321 CXX="g++"
3322 else
3323 case $cross_compiling:$ac_tool_warned in
3324 yes:)
3325 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3326 whose name does not start with the host triplet. If you think this
3327 configuration is useful to you, please write to autoconf@gnu.org." >&5
3328 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3329 whose name does not start with the host triplet. If you think this
3330 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3331 ac_tool_warned=yes ;;
3332 esac
3333 CXX=$ac_ct_CXX
3339 # Provide some information about the compiler.
3340 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3341 ac_compiler=`set X $ac_compile; echo $2`
3342 { (ac_try="$ac_compiler --version >&5"
3343 case "(($ac_try" in
3344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3346 esac
3347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3348 (eval "$ac_compiler --version >&5") 2>&5
3349 ac_status=$?
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }
3352 { (ac_try="$ac_compiler -v >&5"
3353 case "(($ac_try" in
3354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355 *) ac_try_echo=$ac_try;;
3356 esac
3357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3358 (eval "$ac_compiler -v >&5") 2>&5
3359 ac_status=$?
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); }
3362 { (ac_try="$ac_compiler -V >&5"
3363 case "(($ac_try" in
3364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3366 esac
3367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3368 (eval "$ac_compiler -V >&5") 2>&5
3369 ac_status=$?
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }
3373 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3374 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3375 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3377 else
3378 cat >conftest.$ac_ext <<_ACEOF
3379 /* confdefs.h. */
3380 _ACEOF
3381 cat confdefs.h >>conftest.$ac_ext
3382 cat >>conftest.$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3386 main ()
3388 #ifndef __GNUC__
3389 choke me
3390 #endif
3393 return 0;
3395 _ACEOF
3396 rm -f conftest.$ac_objext
3397 if { (ac_try="$ac_compile"
3398 case "(($ac_try" in
3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400 *) ac_try_echo=$ac_try;;
3401 esac
3402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3403 (eval "$ac_compile") 2>conftest.er1
3404 ac_status=$?
3405 grep -v '^ *+' conftest.er1 >conftest.err
3406 rm -f conftest.er1
3407 cat conftest.err >&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); } && {
3410 test -z "$ac_cxx_werror_flag" ||
3411 test ! -s conftest.err
3412 } && test -s conftest.$ac_objext; then
3413 ac_compiler_gnu=yes
3414 else
3415 echo "$as_me: failed program was:" >&5
3416 sed 's/^/| /' conftest.$ac_ext >&5
3418 ac_compiler_gnu=no
3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3422 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3425 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3426 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3427 GXX=`test $ac_compiler_gnu = yes && echo yes`
3428 ac_test_CXXFLAGS=${CXXFLAGS+set}
3429 ac_save_CXXFLAGS=$CXXFLAGS
3430 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3431 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3432 if test "${ac_cv_prog_cxx_g+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3434 else
3435 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3436 ac_cxx_werror_flag=yes
3437 ac_cv_prog_cxx_g=no
3438 CXXFLAGS="-g"
3439 cat >conftest.$ac_ext <<_ACEOF
3440 /* confdefs.h. */
3441 _ACEOF
3442 cat confdefs.h >>conftest.$ac_ext
3443 cat >>conftest.$ac_ext <<_ACEOF
3444 /* end confdefs.h. */
3447 main ()
3451 return 0;
3453 _ACEOF
3454 rm -f conftest.$ac_objext
3455 if { (ac_try="$ac_compile"
3456 case "(($ac_try" in
3457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458 *) ac_try_echo=$ac_try;;
3459 esac
3460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3461 (eval "$ac_compile") 2>conftest.er1
3462 ac_status=$?
3463 grep -v '^ *+' conftest.er1 >conftest.err
3464 rm -f conftest.er1
3465 cat conftest.err >&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); } && {
3468 test -z "$ac_cxx_werror_flag" ||
3469 test ! -s conftest.err
3470 } && test -s conftest.$ac_objext; then
3471 ac_cv_prog_cxx_g=yes
3472 else
3473 echo "$as_me: failed program was:" >&5
3474 sed 's/^/| /' conftest.$ac_ext >&5
3476 CXXFLAGS=""
3477 cat >conftest.$ac_ext <<_ACEOF
3478 /* confdefs.h. */
3479 _ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3485 main ()
3489 return 0;
3491 _ACEOF
3492 rm -f conftest.$ac_objext
3493 if { (ac_try="$ac_compile"
3494 case "(($ac_try" in
3495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3496 *) ac_try_echo=$ac_try;;
3497 esac
3498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3499 (eval "$ac_compile") 2>conftest.er1
3500 ac_status=$?
3501 grep -v '^ *+' conftest.er1 >conftest.err
3502 rm -f conftest.er1
3503 cat conftest.err >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); } && {
3506 test -z "$ac_cxx_werror_flag" ||
3507 test ! -s conftest.err
3508 } && test -s conftest.$ac_objext; then
3510 else
3511 echo "$as_me: failed program was:" >&5
3512 sed 's/^/| /' conftest.$ac_ext >&5
3514 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3515 CXXFLAGS="-g"
3516 cat >conftest.$ac_ext <<_ACEOF
3517 /* confdefs.h. */
3518 _ACEOF
3519 cat confdefs.h >>conftest.$ac_ext
3520 cat >>conftest.$ac_ext <<_ACEOF
3521 /* end confdefs.h. */
3524 main ()
3528 return 0;
3530 _ACEOF
3531 rm -f conftest.$ac_objext
3532 if { (ac_try="$ac_compile"
3533 case "(($ac_try" in
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3536 esac
3537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3538 (eval "$ac_compile") 2>conftest.er1
3539 ac_status=$?
3540 grep -v '^ *+' conftest.er1 >conftest.err
3541 rm -f conftest.er1
3542 cat conftest.err >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } && {
3545 test -z "$ac_cxx_werror_flag" ||
3546 test ! -s conftest.err
3547 } && test -s conftest.$ac_objext; then
3548 ac_cv_prog_cxx_g=yes
3549 else
3550 echo "$as_me: failed program was:" >&5
3551 sed 's/^/| /' conftest.$ac_ext >&5
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3565 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3566 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3567 if test "$ac_test_CXXFLAGS" = set; then
3568 CXXFLAGS=$ac_save_CXXFLAGS
3569 elif test $ac_cv_prog_cxx_g = yes; then
3570 if test "$GXX" = yes; then
3571 CXXFLAGS="-g -O2"
3572 else
3573 CXXFLAGS="-g"
3575 else
3576 if test "$GXX" = yes; then
3577 CXXFLAGS="-O2"
3578 else
3579 CXXFLAGS=
3582 ac_ext=c
3583 ac_cpp='$CPP $CPPFLAGS'
3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3588 if test -n "$ac_tool_prefix"; then
3589 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3590 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3593 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 else
3596 if test -n "$CPPBIN"; then
3597 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3598 else
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH
3602 IFS=$as_save_IFS
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3606 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 break 2
3610 done
3611 done
3612 IFS=$as_save_IFS
3616 CPPBIN=$ac_cv_prog_CPPBIN
3617 if test -n "$CPPBIN"; then
3618 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3619 echo "${ECHO_T}$CPPBIN" >&6; }
3620 else
3621 { echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6; }
3627 if test -z "$ac_cv_prog_CPPBIN"; then
3628 ac_ct_CPPBIN=$CPPBIN
3629 # Extract the first word of "cpp", so it can be a program name with args.
3630 set dummy cpp; ac_word=$2
3631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3633 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3635 else
3636 if test -n "$ac_ct_CPPBIN"; then
3637 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3638 else
3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640 for as_dir in $PATH
3642 IFS=$as_save_IFS
3643 test -z "$as_dir" && as_dir=.
3644 for ac_exec_ext in '' $ac_executable_extensions; do
3645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3646 ac_cv_prog_ac_ct_CPPBIN="cpp"
3647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3648 break 2
3650 done
3651 done
3652 IFS=$as_save_IFS
3656 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3657 if test -n "$ac_ct_CPPBIN"; then
3658 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3659 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3660 else
3661 { echo "$as_me:$LINENO: result: no" >&5
3662 echo "${ECHO_T}no" >&6; }
3665 if test "x$ac_ct_CPPBIN" = x; then
3666 CPPBIN="cpp"
3667 else
3668 case $cross_compiling:$ac_tool_warned in
3669 yes:)
3670 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3671 whose name does not start with the host triplet. If you think this
3672 configuration is useful to you, please write to autoconf@gnu.org." >&5
3673 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3674 whose name does not start with the host triplet. If you think this
3675 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3676 ac_tool_warned=yes ;;
3677 esac
3678 CPPBIN=$ac_ct_CPPBIN
3680 else
3681 CPPBIN="$ac_cv_prog_CPPBIN"
3685 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3686 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3687 if test "${wine_cv_toolsdir+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 else
3690 if test -z "$with_wine_tools"; then
3691 if test "$cross_compiling" = "yes"; then
3692 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3693 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3694 { (exit 1); exit 1; }; }
3695 else
3696 wine_cv_toolsdir="\$(TOPOBJDIR)"
3698 elif test -d "$with_wine_tools/tools/winebuild"; then
3699 case $with_wine_tools in
3700 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3701 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3702 esac
3703 else
3704 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3705 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3706 { (exit 1); exit 1; }; }
3709 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3710 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3711 TOOLSDIR=$wine_cv_toolsdir
3715 ac_ext=c
3716 ac_cpp='$CPP $CPPFLAGS'
3717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3721 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3722 # On Suns, sometimes $CPP names a directory.
3723 if test -n "$CPP" && test -d "$CPP"; then
3724 CPP=
3726 if test -z "$CPP"; then
3727 if test "${ac_cv_prog_CPP+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3729 else
3730 # Double quotes because CPP needs to be expanded
3731 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3733 ac_preproc_ok=false
3734 for ac_c_preproc_warn_flag in '' yes
3736 # Use a header file that comes with gcc, so configuring glibc
3737 # with a fresh cross-compiler works.
3738 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3739 # <limits.h> exists even on freestanding compilers.
3740 # On the NeXT, cc -E runs the code through the compiler's parser,
3741 # not just through cpp. "Syntax error" is here to catch this case.
3742 cat >conftest.$ac_ext <<_ACEOF
3743 /* confdefs.h. */
3744 _ACEOF
3745 cat confdefs.h >>conftest.$ac_ext
3746 cat >>conftest.$ac_ext <<_ACEOF
3747 /* end confdefs.h. */
3748 #ifdef __STDC__
3749 # include <limits.h>
3750 #else
3751 # include <assert.h>
3752 #endif
3753 Syntax error
3754 _ACEOF
3755 if { (ac_try="$ac_cpp conftest.$ac_ext"
3756 case "(($ac_try" in
3757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3758 *) ac_try_echo=$ac_try;;
3759 esac
3760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3761 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3762 ac_status=$?
3763 grep -v '^ *+' conftest.er1 >conftest.err
3764 rm -f conftest.er1
3765 cat conftest.err >&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } >/dev/null && {
3768 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3769 test ! -s conftest.err
3770 }; then
3772 else
3773 echo "$as_me: failed program was:" >&5
3774 sed 's/^/| /' conftest.$ac_ext >&5
3776 # Broken: fails on valid input.
3777 continue
3780 rm -f conftest.err conftest.$ac_ext
3782 # OK, works on sane cases. Now check whether nonexistent headers
3783 # can be detected and how.
3784 cat >conftest.$ac_ext <<_ACEOF
3785 /* confdefs.h. */
3786 _ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 #include <ac_nonexistent.h>
3791 _ACEOF
3792 if { (ac_try="$ac_cpp conftest.$ac_ext"
3793 case "(($ac_try" in
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3796 esac
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3799 ac_status=$?
3800 grep -v '^ *+' conftest.er1 >conftest.err
3801 rm -f conftest.er1
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } >/dev/null && {
3805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3806 test ! -s conftest.err
3807 }; then
3808 # Broken: success on invalid input.
3809 continue
3810 else
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3814 # Passes both tests.
3815 ac_preproc_ok=:
3816 break
3819 rm -f conftest.err conftest.$ac_ext
3821 done
3822 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3823 rm -f conftest.err conftest.$ac_ext
3824 if $ac_preproc_ok; then
3825 break
3828 done
3829 ac_cv_prog_CPP=$CPP
3832 CPP=$ac_cv_prog_CPP
3833 else
3834 ac_cv_prog_CPP=$CPP
3836 { echo "$as_me:$LINENO: result: $CPP" >&5
3837 echo "${ECHO_T}$CPP" >&6; }
3838 ac_preproc_ok=false
3839 for ac_c_preproc_warn_flag in '' yes
3841 # Use a header file that comes with gcc, so configuring glibc
3842 # with a fresh cross-compiler works.
3843 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3844 # <limits.h> exists even on freestanding compilers.
3845 # On the NeXT, cc -E runs the code through the compiler's parser,
3846 # not just through cpp. "Syntax error" is here to catch this case.
3847 cat >conftest.$ac_ext <<_ACEOF
3848 /* confdefs.h. */
3849 _ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3853 #ifdef __STDC__
3854 # include <limits.h>
3855 #else
3856 # include <assert.h>
3857 #endif
3858 Syntax error
3859 _ACEOF
3860 if { (ac_try="$ac_cpp conftest.$ac_ext"
3861 case "(($ac_try" in
3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3864 esac
3865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3866 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3867 ac_status=$?
3868 grep -v '^ *+' conftest.er1 >conftest.err
3869 rm -f conftest.er1
3870 cat conftest.err >&5
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3872 (exit $ac_status); } >/dev/null && {
3873 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3874 test ! -s conftest.err
3875 }; then
3877 else
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3881 # Broken: fails on valid input.
3882 continue
3885 rm -f conftest.err conftest.$ac_ext
3887 # OK, works on sane cases. Now check whether nonexistent headers
3888 # can be detected and how.
3889 cat >conftest.$ac_ext <<_ACEOF
3890 /* confdefs.h. */
3891 _ACEOF
3892 cat confdefs.h >>conftest.$ac_ext
3893 cat >>conftest.$ac_ext <<_ACEOF
3894 /* end confdefs.h. */
3895 #include <ac_nonexistent.h>
3896 _ACEOF
3897 if { (ac_try="$ac_cpp conftest.$ac_ext"
3898 case "(($ac_try" in
3899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3900 *) ac_try_echo=$ac_try;;
3901 esac
3902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3904 ac_status=$?
3905 grep -v '^ *+' conftest.er1 >conftest.err
3906 rm -f conftest.er1
3907 cat conftest.err >&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); } >/dev/null && {
3910 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3911 test ! -s conftest.err
3912 }; then
3913 # Broken: success on invalid input.
3914 continue
3915 else
3916 echo "$as_me: failed program was:" >&5
3917 sed 's/^/| /' conftest.$ac_ext >&5
3919 # Passes both tests.
3920 ac_preproc_ok=:
3921 break
3924 rm -f conftest.err conftest.$ac_ext
3926 done
3927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3928 rm -f conftest.err conftest.$ac_ext
3929 if $ac_preproc_ok; then
3931 else
3932 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3933 See \`config.log' for more details." >&5
3934 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3935 See \`config.log' for more details." >&2;}
3936 { (exit 1); exit 1; }; }
3939 ac_ext=c
3940 ac_cpp='$CPP $CPPFLAGS'
3941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3946 { echo "$as_me:$LINENO: checking for X" >&5
3947 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3950 # Check whether --with-x was given.
3951 if test "${with_x+set}" = set; then
3952 withval=$with_x;
3955 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3956 if test "x$with_x" = xno; then
3957 # The user explicitly disabled X.
3958 have_x=disabled
3959 else
3960 case $x_includes,$x_libraries in #(
3961 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3962 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3963 { (exit 1); exit 1; }; };; #(
3964 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 else
3967 # One or both of the vars are not set, and there is no cached value.
3968 ac_x_includes=no ac_x_libraries=no
3969 rm -f -r conftest.dir
3970 if mkdir conftest.dir; then
3971 cd conftest.dir
3972 cat >Imakefile <<'_ACEOF'
3973 incroot:
3974 @echo incroot='${INCROOT}'
3975 usrlibdir:
3976 @echo usrlibdir='${USRLIBDIR}'
3977 libdir:
3978 @echo libdir='${LIBDIR}'
3979 _ACEOF
3980 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3981 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3982 for ac_var in incroot usrlibdir libdir; do
3983 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3984 done
3985 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3986 for ac_extension in a so sl; do
3987 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3988 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3989 ac_im_usrlibdir=$ac_im_libdir; break
3991 done
3992 # Screen out bogus values from the imake configuration. They are
3993 # bogus both because they are the default anyway, and because
3994 # using them would break gcc on systems where it needs fixed includes.
3995 case $ac_im_incroot in
3996 /usr/include) ac_x_includes= ;;
3997 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3998 esac
3999 case $ac_im_usrlibdir in
4000 /usr/lib | /lib) ;;
4001 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
4002 esac
4004 cd ..
4005 rm -f -r conftest.dir
4008 # Standard set of common directories for X headers.
4009 # Check X11 before X11Rn because it is often a symlink to the current release.
4010 ac_x_header_dirs='
4011 /usr/X11/include
4012 /usr/X11R6/include
4013 /usr/X11R5/include
4014 /usr/X11R4/include
4016 /usr/include/X11
4017 /usr/include/X11R6
4018 /usr/include/X11R5
4019 /usr/include/X11R4
4021 /usr/local/X11/include
4022 /usr/local/X11R6/include
4023 /usr/local/X11R5/include
4024 /usr/local/X11R4/include
4026 /usr/local/include/X11
4027 /usr/local/include/X11R6
4028 /usr/local/include/X11R5
4029 /usr/local/include/X11R4
4031 /usr/X386/include
4032 /usr/x386/include
4033 /usr/XFree86/include/X11
4035 /usr/include
4036 /usr/local/include
4037 /usr/unsupported/include
4038 /usr/athena/include
4039 /usr/local/x11r5/include
4040 /usr/lpp/Xamples/include
4042 /usr/openwin/include
4043 /usr/openwin/share/include'
4045 if test "$ac_x_includes" = no; then
4046 # Guess where to find include files, by looking for Xlib.h.
4047 # First, try using that file with no special directory specified.
4048 cat >conftest.$ac_ext <<_ACEOF
4049 /* confdefs.h. */
4050 _ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4054 #include <X11/Xlib.h>
4055 _ACEOF
4056 if { (ac_try="$ac_cpp conftest.$ac_ext"
4057 case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4060 esac
4061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4062 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4063 ac_status=$?
4064 grep -v '^ *+' conftest.er1 >conftest.err
4065 rm -f conftest.er1
4066 cat conftest.err >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } >/dev/null && {
4069 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4070 test ! -s conftest.err
4071 }; then
4072 # We can compile using X headers with no special include directory.
4073 ac_x_includes=
4074 else
4075 echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4078 for ac_dir in $ac_x_header_dirs; do
4079 if test -r "$ac_dir/X11/Xlib.h"; then
4080 ac_x_includes=$ac_dir
4081 break
4083 done
4086 rm -f conftest.err conftest.$ac_ext
4087 fi # $ac_x_includes = no
4089 if test "$ac_x_libraries" = no; then
4090 # Check for the libraries.
4091 # See if we find them without any special options.
4092 # Don't add to $LIBS permanently.
4093 ac_save_LIBS=$LIBS
4094 LIBS="-lX11 $LIBS"
4095 cat >conftest.$ac_ext <<_ACEOF
4096 /* confdefs.h. */
4097 _ACEOF
4098 cat confdefs.h >>conftest.$ac_ext
4099 cat >>conftest.$ac_ext <<_ACEOF
4100 /* end confdefs.h. */
4101 #include <X11/Xlib.h>
4103 main ()
4105 XrmInitialize ()
4107 return 0;
4109 _ACEOF
4110 rm -f conftest.$ac_objext conftest$ac_exeext
4111 if { (ac_try="$ac_link"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4117 (eval "$ac_link") 2>conftest.er1
4118 ac_status=$?
4119 grep -v '^ *+' conftest.er1 >conftest.err
4120 rm -f conftest.er1
4121 cat conftest.err >&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); } && {
4124 test -z "$ac_c_werror_flag" ||
4125 test ! -s conftest.err
4126 } && test -s conftest$ac_exeext &&
4127 $as_test_x conftest$ac_exeext; then
4128 LIBS=$ac_save_LIBS
4129 # We can link X programs with no special library path.
4130 ac_x_libraries=
4131 else
4132 echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.$ac_ext >&5
4135 LIBS=$ac_save_LIBS
4136 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4138 # Don't even attempt the hair of trying to link an X program!
4139 for ac_extension in a so sl; do
4140 if test -r "$ac_dir/libX11.$ac_extension"; then
4141 ac_x_libraries=$ac_dir
4142 break 2
4144 done
4145 done
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 fi # $ac_x_libraries = no
4152 case $ac_x_includes,$ac_x_libraries in #(
4153 no,* | *,no | *\'*)
4154 # Didn't find X, or a directory has "'" in its name.
4155 ac_cv_have_x="have_x=no";; #(
4157 # Record where we found X for the cache.
4158 ac_cv_have_x="have_x=yes\
4159 ac_x_includes='$ac_x_includes'\
4160 ac_x_libraries='$ac_x_libraries'"
4161 esac
4163 ;; #(
4164 *) have_x=yes;;
4165 esac
4166 eval "$ac_cv_have_x"
4167 fi # $with_x != no
4169 if test "$have_x" != yes; then
4170 { echo "$as_me:$LINENO: result: $have_x" >&5
4171 echo "${ECHO_T}$have_x" >&6; }
4172 no_x=yes
4173 else
4174 # If each of the values was on the command line, it overrides each guess.
4175 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4176 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4177 # Update the cache value to reflect the command line values.
4178 ac_cv_have_x="have_x=yes\
4179 ac_x_includes='$x_includes'\
4180 ac_x_libraries='$x_libraries'"
4181 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4182 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4185 if test "$no_x" = yes; then
4186 # Not all programs may use this symbol, but it does not hurt to define it.
4188 cat >>confdefs.h <<\_ACEOF
4189 #define X_DISPLAY_MISSING 1
4190 _ACEOF
4192 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4193 else
4194 if test -n "$x_includes"; then
4195 X_CFLAGS="$X_CFLAGS -I$x_includes"
4198 # It would also be nice to do this for all -L options, not just this one.
4199 if test -n "$x_libraries"; then
4200 X_LIBS="$X_LIBS -L$x_libraries"
4201 # For Solaris; some versions of Sun CC require a space after -R and
4202 # others require no space. Words are not sufficient . . . .
4203 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4204 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4205 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4206 ac_xsave_c_werror_flag=$ac_c_werror_flag
4207 ac_c_werror_flag=yes
4208 cat >conftest.$ac_ext <<_ACEOF
4209 /* confdefs.h. */
4210 _ACEOF
4211 cat confdefs.h >>conftest.$ac_ext
4212 cat >>conftest.$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4216 main ()
4220 return 0;
4222 _ACEOF
4223 rm -f conftest.$ac_objext conftest$ac_exeext
4224 if { (ac_try="$ac_link"
4225 case "(($ac_try" in
4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4228 esac
4229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4230 (eval "$ac_link") 2>conftest.er1
4231 ac_status=$?
4232 grep -v '^ *+' conftest.er1 >conftest.err
4233 rm -f conftest.er1
4234 cat conftest.err >&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); } && {
4237 test -z "$ac_c_werror_flag" ||
4238 test ! -s conftest.err
4239 } && test -s conftest$ac_exeext &&
4240 $as_test_x conftest$ac_exeext; then
4241 { echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6; }
4243 X_LIBS="$X_LIBS -R$x_libraries"
4244 else
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.$ac_ext >&5
4248 LIBS="$ac_xsave_LIBS -R $x_libraries"
4249 cat >conftest.$ac_ext <<_ACEOF
4250 /* confdefs.h. */
4251 _ACEOF
4252 cat confdefs.h >>conftest.$ac_ext
4253 cat >>conftest.$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4257 main ()
4261 return 0;
4263 _ACEOF
4264 rm -f conftest.$ac_objext conftest$ac_exeext
4265 if { (ac_try="$ac_link"
4266 case "(($ac_try" in
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4269 esac
4270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4271 (eval "$ac_link") 2>conftest.er1
4272 ac_status=$?
4273 grep -v '^ *+' conftest.er1 >conftest.err
4274 rm -f conftest.er1
4275 cat conftest.err >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } && {
4278 test -z "$ac_c_werror_flag" ||
4279 test ! -s conftest.err
4280 } && test -s conftest$ac_exeext &&
4281 $as_test_x conftest$ac_exeext; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4284 X_LIBS="$X_LIBS -R $x_libraries"
4285 else
4286 echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.$ac_ext >&5
4289 { echo "$as_me:$LINENO: result: neither works" >&5
4290 echo "${ECHO_T}neither works" >&6; }
4293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4294 conftest$ac_exeext conftest.$ac_ext
4297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4298 conftest$ac_exeext conftest.$ac_ext
4299 ac_c_werror_flag=$ac_xsave_c_werror_flag
4300 LIBS=$ac_xsave_LIBS
4303 # Check for system-dependent libraries X programs must link with.
4304 # Do this before checking for the system-independent R6 libraries
4305 # (-lICE), since we may need -lsocket or whatever for X linking.
4307 if test "$ISC" = yes; then
4308 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4309 else
4310 # Martyn Johnson says this is needed for Ultrix, if the X
4311 # libraries were built with DECnet support. And Karl Berry says
4312 # the Alpha needs dnet_stub (dnet does not exist).
4313 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4314 cat >conftest.$ac_ext <<_ACEOF
4315 /* confdefs.h. */
4316 _ACEOF
4317 cat confdefs.h >>conftest.$ac_ext
4318 cat >>conftest.$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4321 /* Override any GCC internal prototype to avoid an error.
4322 Use char because int might match the return type of a GCC
4323 builtin and then its argument prototype would still apply. */
4324 #ifdef __cplusplus
4325 extern "C"
4326 #endif
4327 char XOpenDisplay ();
4329 main ()
4331 return XOpenDisplay ();
4333 return 0;
4335 _ACEOF
4336 rm -f conftest.$ac_objext conftest$ac_exeext
4337 if { (ac_try="$ac_link"
4338 case "(($ac_try" in
4339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4340 *) ac_try_echo=$ac_try;;
4341 esac
4342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4343 (eval "$ac_link") 2>conftest.er1
4344 ac_status=$?
4345 grep -v '^ *+' conftest.er1 >conftest.err
4346 rm -f conftest.er1
4347 cat conftest.err >&5
4348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4349 (exit $ac_status); } && {
4350 test -z "$ac_c_werror_flag" ||
4351 test ! -s conftest.err
4352 } && test -s conftest$ac_exeext &&
4353 $as_test_x conftest$ac_exeext; then
4355 else
4356 echo "$as_me: failed program was:" >&5
4357 sed 's/^/| /' conftest.$ac_ext >&5
4359 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4360 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4361 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4362 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 else
4364 ac_check_lib_save_LIBS=$LIBS
4365 LIBS="-ldnet $LIBS"
4366 cat >conftest.$ac_ext <<_ACEOF
4367 /* confdefs.h. */
4368 _ACEOF
4369 cat confdefs.h >>conftest.$ac_ext
4370 cat >>conftest.$ac_ext <<_ACEOF
4371 /* end confdefs.h. */
4373 /* Override any GCC internal prototype to avoid an error.
4374 Use char because int might match the return type of a GCC
4375 builtin and then its argument prototype would still apply. */
4376 #ifdef __cplusplus
4377 extern "C"
4378 #endif
4379 char dnet_ntoa ();
4381 main ()
4383 return dnet_ntoa ();
4385 return 0;
4387 _ACEOF
4388 rm -f conftest.$ac_objext conftest$ac_exeext
4389 if { (ac_try="$ac_link"
4390 case "(($ac_try" in
4391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4392 *) ac_try_echo=$ac_try;;
4393 esac
4394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4395 (eval "$ac_link") 2>conftest.er1
4396 ac_status=$?
4397 grep -v '^ *+' conftest.er1 >conftest.err
4398 rm -f conftest.er1
4399 cat conftest.err >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); } && {
4402 test -z "$ac_c_werror_flag" ||
4403 test ! -s conftest.err
4404 } && test -s conftest$ac_exeext &&
4405 $as_test_x conftest$ac_exeext; then
4406 ac_cv_lib_dnet_dnet_ntoa=yes
4407 else
4408 echo "$as_me: failed program was:" >&5
4409 sed 's/^/| /' conftest.$ac_ext >&5
4411 ac_cv_lib_dnet_dnet_ntoa=no
4414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4415 conftest$ac_exeext conftest.$ac_ext
4416 LIBS=$ac_check_lib_save_LIBS
4418 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4419 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4420 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4421 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4424 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4425 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4426 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4427 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4428 echo $ECHO_N "(cached) $ECHO_C" >&6
4429 else
4430 ac_check_lib_save_LIBS=$LIBS
4431 LIBS="-ldnet_stub $LIBS"
4432 cat >conftest.$ac_ext <<_ACEOF
4433 /* confdefs.h. */
4434 _ACEOF
4435 cat confdefs.h >>conftest.$ac_ext
4436 cat >>conftest.$ac_ext <<_ACEOF
4437 /* end confdefs.h. */
4439 /* Override any GCC internal prototype to avoid an error.
4440 Use char because int might match the return type of a GCC
4441 builtin and then its argument prototype would still apply. */
4442 #ifdef __cplusplus
4443 extern "C"
4444 #endif
4445 char dnet_ntoa ();
4447 main ()
4449 return dnet_ntoa ();
4451 return 0;
4453 _ACEOF
4454 rm -f conftest.$ac_objext conftest$ac_exeext
4455 if { (ac_try="$ac_link"
4456 case "(($ac_try" in
4457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4459 esac
4460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4461 (eval "$ac_link") 2>conftest.er1
4462 ac_status=$?
4463 grep -v '^ *+' conftest.er1 >conftest.err
4464 rm -f conftest.er1
4465 cat conftest.err >&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); } && {
4468 test -z "$ac_c_werror_flag" ||
4469 test ! -s conftest.err
4470 } && test -s conftest$ac_exeext &&
4471 $as_test_x conftest$ac_exeext; then
4472 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4473 else
4474 echo "$as_me: failed program was:" >&5
4475 sed 's/^/| /' conftest.$ac_ext >&5
4477 ac_cv_lib_dnet_stub_dnet_ntoa=no
4480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4481 conftest$ac_exeext conftest.$ac_ext
4482 LIBS=$ac_check_lib_save_LIBS
4484 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4485 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4486 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4487 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4494 conftest$ac_exeext conftest.$ac_ext
4495 LIBS="$ac_xsave_LIBS"
4497 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4498 # to get the SysV transport functions.
4499 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4500 # needs -lnsl.
4501 # The nsl library prevents programs from opening the X display
4502 # on Irix 5.2, according to T.E. Dickey.
4503 # The functions gethostbyname, getservbyname, and inet_addr are
4504 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4505 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4506 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4507 if test "${ac_cv_func_gethostbyname+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 else
4510 cat >conftest.$ac_ext <<_ACEOF
4511 /* confdefs.h. */
4512 _ACEOF
4513 cat confdefs.h >>conftest.$ac_ext
4514 cat >>conftest.$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4516 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4518 #define gethostbyname innocuous_gethostbyname
4520 /* System header to define __stub macros and hopefully few prototypes,
4521 which can conflict with char gethostbyname (); below.
4522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4523 <limits.h> exists even on freestanding compilers. */
4525 #ifdef __STDC__
4526 # include <limits.h>
4527 #else
4528 # include <assert.h>
4529 #endif
4531 #undef gethostbyname
4533 /* Override any GCC internal prototype to avoid an error.
4534 Use char because int might match the return type of a GCC
4535 builtin and then its argument prototype would still apply. */
4536 #ifdef __cplusplus
4537 extern "C"
4538 #endif
4539 char gethostbyname ();
4540 /* The GNU C library defines this for functions which it implements
4541 to always fail with ENOSYS. Some functions are actually named
4542 something starting with __ and the normal name is an alias. */
4543 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4544 choke me
4545 #endif
4548 main ()
4550 return gethostbyname ();
4552 return 0;
4554 _ACEOF
4555 rm -f conftest.$ac_objext conftest$ac_exeext
4556 if { (ac_try="$ac_link"
4557 case "(($ac_try" in
4558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4559 *) ac_try_echo=$ac_try;;
4560 esac
4561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4562 (eval "$ac_link") 2>conftest.er1
4563 ac_status=$?
4564 grep -v '^ *+' conftest.er1 >conftest.err
4565 rm -f conftest.er1
4566 cat conftest.err >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } && {
4569 test -z "$ac_c_werror_flag" ||
4570 test ! -s conftest.err
4571 } && test -s conftest$ac_exeext &&
4572 $as_test_x conftest$ac_exeext; then
4573 ac_cv_func_gethostbyname=yes
4574 else
4575 echo "$as_me: failed program was:" >&5
4576 sed 's/^/| /' conftest.$ac_ext >&5
4578 ac_cv_func_gethostbyname=no
4581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4582 conftest$ac_exeext conftest.$ac_ext
4584 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4585 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4587 if test $ac_cv_func_gethostbyname = no; then
4588 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4589 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4590 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 else
4593 ac_check_lib_save_LIBS=$LIBS
4594 LIBS="-lnsl $LIBS"
4595 cat >conftest.$ac_ext <<_ACEOF
4596 /* confdefs.h. */
4597 _ACEOF
4598 cat confdefs.h >>conftest.$ac_ext
4599 cat >>conftest.$ac_ext <<_ACEOF
4600 /* end confdefs.h. */
4602 /* Override any GCC internal prototype to avoid an error.
4603 Use char because int might match the return type of a GCC
4604 builtin and then its argument prototype would still apply. */
4605 #ifdef __cplusplus
4606 extern "C"
4607 #endif
4608 char gethostbyname ();
4610 main ()
4612 return gethostbyname ();
4614 return 0;
4616 _ACEOF
4617 rm -f conftest.$ac_objext conftest$ac_exeext
4618 if { (ac_try="$ac_link"
4619 case "(($ac_try" in
4620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4621 *) ac_try_echo=$ac_try;;
4622 esac
4623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4624 (eval "$ac_link") 2>conftest.er1
4625 ac_status=$?
4626 grep -v '^ *+' conftest.er1 >conftest.err
4627 rm -f conftest.er1
4628 cat conftest.err >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } && {
4631 test -z "$ac_c_werror_flag" ||
4632 test ! -s conftest.err
4633 } && test -s conftest$ac_exeext &&
4634 $as_test_x conftest$ac_exeext; then
4635 ac_cv_lib_nsl_gethostbyname=yes
4636 else
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.$ac_ext >&5
4640 ac_cv_lib_nsl_gethostbyname=no
4643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4644 conftest$ac_exeext conftest.$ac_ext
4645 LIBS=$ac_check_lib_save_LIBS
4647 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4648 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4649 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4650 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4653 if test $ac_cv_lib_nsl_gethostbyname = no; then
4654 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4655 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4656 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4657 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 else
4659 ac_check_lib_save_LIBS=$LIBS
4660 LIBS="-lbsd $LIBS"
4661 cat >conftest.$ac_ext <<_ACEOF
4662 /* confdefs.h. */
4663 _ACEOF
4664 cat confdefs.h >>conftest.$ac_ext
4665 cat >>conftest.$ac_ext <<_ACEOF
4666 /* end confdefs.h. */
4668 /* Override any GCC internal prototype to avoid an error.
4669 Use char because int might match the return type of a GCC
4670 builtin and then its argument prototype would still apply. */
4671 #ifdef __cplusplus
4672 extern "C"
4673 #endif
4674 char gethostbyname ();
4676 main ()
4678 return gethostbyname ();
4680 return 0;
4682 _ACEOF
4683 rm -f conftest.$ac_objext conftest$ac_exeext
4684 if { (ac_try="$ac_link"
4685 case "(($ac_try" in
4686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4687 *) ac_try_echo=$ac_try;;
4688 esac
4689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4690 (eval "$ac_link") 2>conftest.er1
4691 ac_status=$?
4692 grep -v '^ *+' conftest.er1 >conftest.err
4693 rm -f conftest.er1
4694 cat conftest.err >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } && {
4697 test -z "$ac_c_werror_flag" ||
4698 test ! -s conftest.err
4699 } && test -s conftest$ac_exeext &&
4700 $as_test_x conftest$ac_exeext; then
4701 ac_cv_lib_bsd_gethostbyname=yes
4702 else
4703 echo "$as_me: failed program was:" >&5
4704 sed 's/^/| /' conftest.$ac_ext >&5
4706 ac_cv_lib_bsd_gethostbyname=no
4709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4710 conftest$ac_exeext conftest.$ac_ext
4711 LIBS=$ac_check_lib_save_LIBS
4713 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4714 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4715 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4716 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4722 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4723 # socket/setsockopt and other routines are undefined under SCO ODT
4724 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4725 # on later versions), says Simon Leinen: it contains gethostby*
4726 # variants that don't use the name server (or something). -lsocket
4727 # must be given before -lnsl if both are needed. We assume that
4728 # if connect needs -lnsl, so does gethostbyname.
4729 { echo "$as_me:$LINENO: checking for connect" >&5
4730 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4731 if test "${ac_cv_func_connect+set}" = set; then
4732 echo $ECHO_N "(cached) $ECHO_C" >&6
4733 else
4734 cat >conftest.$ac_ext <<_ACEOF
4735 /* confdefs.h. */
4736 _ACEOF
4737 cat confdefs.h >>conftest.$ac_ext
4738 cat >>conftest.$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4740 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4742 #define connect innocuous_connect
4744 /* System header to define __stub macros and hopefully few prototypes,
4745 which can conflict with char connect (); below.
4746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4747 <limits.h> exists even on freestanding compilers. */
4749 #ifdef __STDC__
4750 # include <limits.h>
4751 #else
4752 # include <assert.h>
4753 #endif
4755 #undef connect
4757 /* Override any GCC internal prototype to avoid an error.
4758 Use char because int might match the return type of a GCC
4759 builtin and then its argument prototype would still apply. */
4760 #ifdef __cplusplus
4761 extern "C"
4762 #endif
4763 char connect ();
4764 /* The GNU C library defines this for functions which it implements
4765 to always fail with ENOSYS. Some functions are actually named
4766 something starting with __ and the normal name is an alias. */
4767 #if defined __stub_connect || defined __stub___connect
4768 choke me
4769 #endif
4772 main ()
4774 return connect ();
4776 return 0;
4778 _ACEOF
4779 rm -f conftest.$ac_objext conftest$ac_exeext
4780 if { (ac_try="$ac_link"
4781 case "(($ac_try" in
4782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4783 *) ac_try_echo=$ac_try;;
4784 esac
4785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4786 (eval "$ac_link") 2>conftest.er1
4787 ac_status=$?
4788 grep -v '^ *+' conftest.er1 >conftest.err
4789 rm -f conftest.er1
4790 cat conftest.err >&5
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); } && {
4793 test -z "$ac_c_werror_flag" ||
4794 test ! -s conftest.err
4795 } && test -s conftest$ac_exeext &&
4796 $as_test_x conftest$ac_exeext; then
4797 ac_cv_func_connect=yes
4798 else
4799 echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.$ac_ext >&5
4802 ac_cv_func_connect=no
4805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4806 conftest$ac_exeext conftest.$ac_ext
4808 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4809 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4811 if test $ac_cv_func_connect = no; then
4812 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4813 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4814 if test "${ac_cv_lib_socket_connect+set}" = set; then
4815 echo $ECHO_N "(cached) $ECHO_C" >&6
4816 else
4817 ac_check_lib_save_LIBS=$LIBS
4818 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4819 cat >conftest.$ac_ext <<_ACEOF
4820 /* confdefs.h. */
4821 _ACEOF
4822 cat confdefs.h >>conftest.$ac_ext
4823 cat >>conftest.$ac_ext <<_ACEOF
4824 /* end confdefs.h. */
4826 /* Override any GCC internal prototype to avoid an error.
4827 Use char because int might match the return type of a GCC
4828 builtin and then its argument prototype would still apply. */
4829 #ifdef __cplusplus
4830 extern "C"
4831 #endif
4832 char connect ();
4834 main ()
4836 return connect ();
4838 return 0;
4840 _ACEOF
4841 rm -f conftest.$ac_objext conftest$ac_exeext
4842 if { (ac_try="$ac_link"
4843 case "(($ac_try" in
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4846 esac
4847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4848 (eval "$ac_link") 2>conftest.er1
4849 ac_status=$?
4850 grep -v '^ *+' conftest.er1 >conftest.err
4851 rm -f conftest.er1
4852 cat conftest.err >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } && {
4855 test -z "$ac_c_werror_flag" ||
4856 test ! -s conftest.err
4857 } && test -s conftest$ac_exeext &&
4858 $as_test_x conftest$ac_exeext; then
4859 ac_cv_lib_socket_connect=yes
4860 else
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4864 ac_cv_lib_socket_connect=no
4867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4868 conftest$ac_exeext conftest.$ac_ext
4869 LIBS=$ac_check_lib_save_LIBS
4871 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4872 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4873 if test $ac_cv_lib_socket_connect = yes; then
4874 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4879 # Guillermo Gomez says -lposix is necessary on A/UX.
4880 { echo "$as_me:$LINENO: checking for remove" >&5
4881 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4882 if test "${ac_cv_func_remove+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 else
4885 cat >conftest.$ac_ext <<_ACEOF
4886 /* confdefs.h. */
4887 _ACEOF
4888 cat confdefs.h >>conftest.$ac_ext
4889 cat >>conftest.$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4891 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4893 #define remove innocuous_remove
4895 /* System header to define __stub macros and hopefully few prototypes,
4896 which can conflict with char remove (); below.
4897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4898 <limits.h> exists even on freestanding compilers. */
4900 #ifdef __STDC__
4901 # include <limits.h>
4902 #else
4903 # include <assert.h>
4904 #endif
4906 #undef remove
4908 /* Override any GCC internal prototype to avoid an error.
4909 Use char because int might match the return type of a GCC
4910 builtin and then its argument prototype would still apply. */
4911 #ifdef __cplusplus
4912 extern "C"
4913 #endif
4914 char remove ();
4915 /* The GNU C library defines this for functions which it implements
4916 to always fail with ENOSYS. Some functions are actually named
4917 something starting with __ and the normal name is an alias. */
4918 #if defined __stub_remove || defined __stub___remove
4919 choke me
4920 #endif
4923 main ()
4925 return remove ();
4927 return 0;
4929 _ACEOF
4930 rm -f conftest.$ac_objext conftest$ac_exeext
4931 if { (ac_try="$ac_link"
4932 case "(($ac_try" in
4933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4935 esac
4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937 (eval "$ac_link") 2>conftest.er1
4938 ac_status=$?
4939 grep -v '^ *+' conftest.er1 >conftest.err
4940 rm -f conftest.er1
4941 cat conftest.err >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); } && {
4944 test -z "$ac_c_werror_flag" ||
4945 test ! -s conftest.err
4946 } && test -s conftest$ac_exeext &&
4947 $as_test_x conftest$ac_exeext; then
4948 ac_cv_func_remove=yes
4949 else
4950 echo "$as_me: failed program was:" >&5
4951 sed 's/^/| /' conftest.$ac_ext >&5
4953 ac_cv_func_remove=no
4956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4957 conftest$ac_exeext conftest.$ac_ext
4959 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4960 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4962 if test $ac_cv_func_remove = no; then
4963 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4964 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4965 if test "${ac_cv_lib_posix_remove+set}" = set; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 else
4968 ac_check_lib_save_LIBS=$LIBS
4969 LIBS="-lposix $LIBS"
4970 cat >conftest.$ac_ext <<_ACEOF
4971 /* confdefs.h. */
4972 _ACEOF
4973 cat confdefs.h >>conftest.$ac_ext
4974 cat >>conftest.$ac_ext <<_ACEOF
4975 /* end confdefs.h. */
4977 /* Override any GCC internal prototype to avoid an error.
4978 Use char because int might match the return type of a GCC
4979 builtin and then its argument prototype would still apply. */
4980 #ifdef __cplusplus
4981 extern "C"
4982 #endif
4983 char remove ();
4985 main ()
4987 return remove ();
4989 return 0;
4991 _ACEOF
4992 rm -f conftest.$ac_objext conftest$ac_exeext
4993 if { (ac_try="$ac_link"
4994 case "(($ac_try" in
4995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4996 *) ac_try_echo=$ac_try;;
4997 esac
4998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4999 (eval "$ac_link") 2>conftest.er1
5000 ac_status=$?
5001 grep -v '^ *+' conftest.er1 >conftest.err
5002 rm -f conftest.er1
5003 cat conftest.err >&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); } && {
5006 test -z "$ac_c_werror_flag" ||
5007 test ! -s conftest.err
5008 } && test -s conftest$ac_exeext &&
5009 $as_test_x conftest$ac_exeext; then
5010 ac_cv_lib_posix_remove=yes
5011 else
5012 echo "$as_me: failed program was:" >&5
5013 sed 's/^/| /' conftest.$ac_ext >&5
5015 ac_cv_lib_posix_remove=no
5018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5019 conftest$ac_exeext conftest.$ac_ext
5020 LIBS=$ac_check_lib_save_LIBS
5022 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5023 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5024 if test $ac_cv_lib_posix_remove = yes; then
5025 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5030 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5031 { echo "$as_me:$LINENO: checking for shmat" >&5
5032 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5033 if test "${ac_cv_func_shmat+set}" = set; then
5034 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 else
5036 cat >conftest.$ac_ext <<_ACEOF
5037 /* confdefs.h. */
5038 _ACEOF
5039 cat confdefs.h >>conftest.$ac_ext
5040 cat >>conftest.$ac_ext <<_ACEOF
5041 /* end confdefs.h. */
5042 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5044 #define shmat innocuous_shmat
5046 /* System header to define __stub macros and hopefully few prototypes,
5047 which can conflict with char shmat (); below.
5048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5049 <limits.h> exists even on freestanding compilers. */
5051 #ifdef __STDC__
5052 # include <limits.h>
5053 #else
5054 # include <assert.h>
5055 #endif
5057 #undef shmat
5059 /* Override any GCC internal prototype to avoid an error.
5060 Use char because int might match the return type of a GCC
5061 builtin and then its argument prototype would still apply. */
5062 #ifdef __cplusplus
5063 extern "C"
5064 #endif
5065 char shmat ();
5066 /* The GNU C library defines this for functions which it implements
5067 to always fail with ENOSYS. Some functions are actually named
5068 something starting with __ and the normal name is an alias. */
5069 #if defined __stub_shmat || defined __stub___shmat
5070 choke me
5071 #endif
5074 main ()
5076 return shmat ();
5078 return 0;
5080 _ACEOF
5081 rm -f conftest.$ac_objext conftest$ac_exeext
5082 if { (ac_try="$ac_link"
5083 case "(($ac_try" in
5084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5086 esac
5087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5088 (eval "$ac_link") 2>conftest.er1
5089 ac_status=$?
5090 grep -v '^ *+' conftest.er1 >conftest.err
5091 rm -f conftest.er1
5092 cat conftest.err >&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } && {
5095 test -z "$ac_c_werror_flag" ||
5096 test ! -s conftest.err
5097 } && test -s conftest$ac_exeext &&
5098 $as_test_x conftest$ac_exeext; then
5099 ac_cv_func_shmat=yes
5100 else
5101 echo "$as_me: failed program was:" >&5
5102 sed 's/^/| /' conftest.$ac_ext >&5
5104 ac_cv_func_shmat=no
5107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5108 conftest$ac_exeext conftest.$ac_ext
5110 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5111 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5113 if test $ac_cv_func_shmat = no; then
5114 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5115 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5116 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5117 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 else
5119 ac_check_lib_save_LIBS=$LIBS
5120 LIBS="-lipc $LIBS"
5121 cat >conftest.$ac_ext <<_ACEOF
5122 /* confdefs.h. */
5123 _ACEOF
5124 cat confdefs.h >>conftest.$ac_ext
5125 cat >>conftest.$ac_ext <<_ACEOF
5126 /* end confdefs.h. */
5128 /* Override any GCC internal prototype to avoid an error.
5129 Use char because int might match the return type of a GCC
5130 builtin and then its argument prototype would still apply. */
5131 #ifdef __cplusplus
5132 extern "C"
5133 #endif
5134 char shmat ();
5136 main ()
5138 return shmat ();
5140 return 0;
5142 _ACEOF
5143 rm -f conftest.$ac_objext conftest$ac_exeext
5144 if { (ac_try="$ac_link"
5145 case "(($ac_try" in
5146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5147 *) ac_try_echo=$ac_try;;
5148 esac
5149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5150 (eval "$ac_link") 2>conftest.er1
5151 ac_status=$?
5152 grep -v '^ *+' conftest.er1 >conftest.err
5153 rm -f conftest.er1
5154 cat conftest.err >&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); } && {
5157 test -z "$ac_c_werror_flag" ||
5158 test ! -s conftest.err
5159 } && test -s conftest$ac_exeext &&
5160 $as_test_x conftest$ac_exeext; then
5161 ac_cv_lib_ipc_shmat=yes
5162 else
5163 echo "$as_me: failed program was:" >&5
5164 sed 's/^/| /' conftest.$ac_ext >&5
5166 ac_cv_lib_ipc_shmat=no
5169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5170 conftest$ac_exeext conftest.$ac_ext
5171 LIBS=$ac_check_lib_save_LIBS
5173 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5174 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5175 if test $ac_cv_lib_ipc_shmat = yes; then
5176 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5182 # Check for libraries that X11R6 Xt/Xaw programs need.
5183 ac_save_LDFLAGS=$LDFLAGS
5184 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5185 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5186 # check for ICE first), but we must link in the order -lSM -lICE or
5187 # we get undefined symbols. So assume we have SM if we have ICE.
5188 # These have to be linked with before -lX11, unlike the other
5189 # libraries we check for below, so use a different variable.
5190 # John Interrante, Karl Berry
5191 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5192 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5193 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5194 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 else
5196 ac_check_lib_save_LIBS=$LIBS
5197 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5198 cat >conftest.$ac_ext <<_ACEOF
5199 /* confdefs.h. */
5200 _ACEOF
5201 cat confdefs.h >>conftest.$ac_ext
5202 cat >>conftest.$ac_ext <<_ACEOF
5203 /* end confdefs.h. */
5205 /* Override any GCC internal prototype to avoid an error.
5206 Use char because int might match the return type of a GCC
5207 builtin and then its argument prototype would still apply. */
5208 #ifdef __cplusplus
5209 extern "C"
5210 #endif
5211 char IceConnectionNumber ();
5213 main ()
5215 return IceConnectionNumber ();
5217 return 0;
5219 _ACEOF
5220 rm -f conftest.$ac_objext conftest$ac_exeext
5221 if { (ac_try="$ac_link"
5222 case "(($ac_try" in
5223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 *) ac_try_echo=$ac_try;;
5225 esac
5226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5227 (eval "$ac_link") 2>conftest.er1
5228 ac_status=$?
5229 grep -v '^ *+' conftest.er1 >conftest.err
5230 rm -f conftest.er1
5231 cat conftest.err >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } && {
5234 test -z "$ac_c_werror_flag" ||
5235 test ! -s conftest.err
5236 } && test -s conftest$ac_exeext &&
5237 $as_test_x conftest$ac_exeext; then
5238 ac_cv_lib_ICE_IceConnectionNumber=yes
5239 else
5240 echo "$as_me: failed program was:" >&5
5241 sed 's/^/| /' conftest.$ac_ext >&5
5243 ac_cv_lib_ICE_IceConnectionNumber=no
5246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5247 conftest$ac_exeext conftest.$ac_ext
5248 LIBS=$ac_check_lib_save_LIBS
5250 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5251 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5252 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5253 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5256 LDFLAGS=$ac_save_LDFLAGS
5261 for ac_prog in flex
5263 # Extract the first word of "$ac_prog", so it can be a program name with args.
5264 set dummy $ac_prog; ac_word=$2
5265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5267 if test "${ac_cv_prog_FLEX+set}" = set; then
5268 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 else
5270 if test -n "$FLEX"; then
5271 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5280 ac_cv_prog_FLEX="$ac_prog"
5281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5284 done
5285 done
5286 IFS=$as_save_IFS
5290 FLEX=$ac_cv_prog_FLEX
5291 if test -n "$FLEX"; then
5292 { echo "$as_me:$LINENO: result: $FLEX" >&5
5293 echo "${ECHO_T}$FLEX" >&6; }
5294 else
5295 { echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6; }
5300 test -n "$FLEX" && break
5301 done
5302 test -n "$FLEX" || FLEX="none"
5304 if test "$FLEX" = "none"
5305 then
5306 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5307 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5308 { (exit 1); exit 1; }; }
5311 for ac_prog in bison
5313 # Extract the first word of "$ac_prog", so it can be a program name with args.
5314 set dummy $ac_prog; ac_word=$2
5315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5317 if test "${ac_cv_prog_BISON+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5319 else
5320 if test -n "$BISON"; then
5321 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5322 else
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324 for as_dir in $PATH
5326 IFS=$as_save_IFS
5327 test -z "$as_dir" && as_dir=.
5328 for ac_exec_ext in '' $ac_executable_extensions; do
5329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330 ac_cv_prog_BISON="$ac_prog"
5331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 break 2
5334 done
5335 done
5336 IFS=$as_save_IFS
5340 BISON=$ac_cv_prog_BISON
5341 if test -n "$BISON"; then
5342 { echo "$as_me:$LINENO: result: $BISON" >&5
5343 echo "${ECHO_T}$BISON" >&6; }
5344 else
5345 { echo "$as_me:$LINENO: result: no" >&5
5346 echo "${ECHO_T}no" >&6; }
5350 test -n "$BISON" && break
5351 done
5352 test -n "$BISON" || BISON="none"
5354 if test "$BISON" = "none"
5355 then
5356 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5357 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5358 { (exit 1); exit 1; }; }
5361 if test -n "$ac_tool_prefix"; then
5362 for ac_prog in gas as
5364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5368 if test "${ac_cv_prog_AS+set}" = set; then
5369 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 else
5371 if test -n "$AS"; then
5372 ac_cv_prog_AS="$AS" # Let the user override the test.
5373 else
5374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 for as_dir in $PATH
5377 IFS=$as_save_IFS
5378 test -z "$as_dir" && as_dir=.
5379 for ac_exec_ext in '' $ac_executable_extensions; do
5380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5381 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 break 2
5385 done
5386 done
5387 IFS=$as_save_IFS
5391 AS=$ac_cv_prog_AS
5392 if test -n "$AS"; then
5393 { echo "$as_me:$LINENO: result: $AS" >&5
5394 echo "${ECHO_T}$AS" >&6; }
5395 else
5396 { echo "$as_me:$LINENO: result: no" >&5
5397 echo "${ECHO_T}no" >&6; }
5401 test -n "$AS" && break
5402 done
5404 if test -z "$AS"; then
5405 ac_ct_AS=$AS
5406 for ac_prog in gas as
5408 # Extract the first word of "$ac_prog", so it can be a program name with args.
5409 set dummy $ac_prog; ac_word=$2
5410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5412 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 else
5415 if test -n "$ac_ct_AS"; then
5416 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5417 else
5418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419 for as_dir in $PATH
5421 IFS=$as_save_IFS
5422 test -z "$as_dir" && as_dir=.
5423 for ac_exec_ext in '' $ac_executable_extensions; do
5424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5425 ac_cv_prog_ac_ct_AS="$ac_prog"
5426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5427 break 2
5429 done
5430 done
5431 IFS=$as_save_IFS
5435 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5436 if test -n "$ac_ct_AS"; then
5437 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5438 echo "${ECHO_T}$ac_ct_AS" >&6; }
5439 else
5440 { echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6; }
5445 test -n "$ac_ct_AS" && break
5446 done
5448 if test "x$ac_ct_AS" = x; then
5449 AS="as"
5450 else
5451 case $cross_compiling:$ac_tool_warned in
5452 yes:)
5453 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5454 whose name does not start with the host triplet. If you think this
5455 configuration is useful to you, please write to autoconf@gnu.org." >&5
5456 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5457 whose name does not start with the host triplet. If you think this
5458 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5459 ac_tool_warned=yes ;;
5460 esac
5461 AS=$ac_ct_AS
5465 if test -n "$ac_tool_prefix"; then
5466 for ac_prog in ld gld
5468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5472 if test "${ac_cv_prog_LD+set}" = set; then
5473 echo $ECHO_N "(cached) $ECHO_C" >&6
5474 else
5475 if test -n "$LD"; then
5476 ac_cv_prog_LD="$LD" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5485 ac_cv_prog_LD="$ac_tool_prefix$ac_prog"
5486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 LD=$ac_cv_prog_LD
5496 if test -n "$LD"; then
5497 { echo "$as_me:$LINENO: result: $LD" >&5
5498 echo "${ECHO_T}$LD" >&6; }
5499 else
5500 { echo "$as_me:$LINENO: result: no" >&5
5501 echo "${ECHO_T}no" >&6; }
5505 test -n "$LD" && break
5506 done
5508 if test -z "$LD"; then
5509 ac_ct_LD=$LD
5510 for ac_prog in ld gld
5512 # Extract the first word of "$ac_prog", so it can be a program name with args.
5513 set dummy $ac_prog; ac_word=$2
5514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5516 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5517 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 else
5519 if test -n "$ac_ct_LD"; then
5520 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5521 else
5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5523 for as_dir in $PATH
5525 IFS=$as_save_IFS
5526 test -z "$as_dir" && as_dir=.
5527 for ac_exec_ext in '' $ac_executable_extensions; do
5528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5529 ac_cv_prog_ac_ct_LD="$ac_prog"
5530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5531 break 2
5533 done
5534 done
5535 IFS=$as_save_IFS
5539 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5540 if test -n "$ac_ct_LD"; then
5541 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5542 echo "${ECHO_T}$ac_ct_LD" >&6; }
5543 else
5544 { echo "$as_me:$LINENO: result: no" >&5
5545 echo "${ECHO_T}no" >&6; }
5549 test -n "$ac_ct_LD" && break
5550 done
5552 if test "x$ac_ct_LD" = x; then
5553 LD="ld"
5554 else
5555 case $cross_compiling:$ac_tool_warned in
5556 yes:)
5557 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5558 whose name does not start with the host triplet. If you think this
5559 configuration is useful to you, please write to autoconf@gnu.org." >&5
5560 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5561 whose name does not start with the host triplet. If you think this
5562 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5563 ac_tool_warned=yes ;;
5564 esac
5565 LD=$ac_ct_LD
5569 if test -n "$ac_tool_prefix"; then
5570 for ac_prog in nm gnm
5572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5573 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5576 if test "${ac_cv_prog_NM+set}" = set; then
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 else
5579 if test -n "$NM"; then
5580 ac_cv_prog_NM="$NM" # Let the user override the test.
5581 else
5582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5583 for as_dir in $PATH
5585 IFS=$as_save_IFS
5586 test -z "$as_dir" && as_dir=.
5587 for ac_exec_ext in '' $ac_executable_extensions; do
5588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5589 ac_cv_prog_NM="$ac_tool_prefix$ac_prog"
5590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5591 break 2
5593 done
5594 done
5595 IFS=$as_save_IFS
5599 NM=$ac_cv_prog_NM
5600 if test -n "$NM"; then
5601 { echo "$as_me:$LINENO: result: $NM" >&5
5602 echo "${ECHO_T}$NM" >&6; }
5603 else
5604 { echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6; }
5609 test -n "$NM" && break
5610 done
5612 if test -z "$NM"; then
5613 ac_ct_NM=$NM
5614 for ac_prog in nm gnm
5616 # Extract the first word of "$ac_prog", so it can be a program name with args.
5617 set dummy $ac_prog; ac_word=$2
5618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5620 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
5621 echo $ECHO_N "(cached) $ECHO_C" >&6
5622 else
5623 if test -n "$ac_ct_NM"; then
5624 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
5625 else
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 for as_dir in $PATH
5629 IFS=$as_save_IFS
5630 test -z "$as_dir" && as_dir=.
5631 for ac_exec_ext in '' $ac_executable_extensions; do
5632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5633 ac_cv_prog_ac_ct_NM="$ac_prog"
5634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 break 2
5637 done
5638 done
5639 IFS=$as_save_IFS
5643 ac_ct_NM=$ac_cv_prog_ac_ct_NM
5644 if test -n "$ac_ct_NM"; then
5645 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
5646 echo "${ECHO_T}$ac_ct_NM" >&6; }
5647 else
5648 { echo "$as_me:$LINENO: result: no" >&5
5649 echo "${ECHO_T}no" >&6; }
5653 test -n "$ac_ct_NM" && break
5654 done
5656 if test "x$ac_ct_NM" = x; then
5657 NM="nm"
5658 else
5659 case $cross_compiling:$ac_tool_warned in
5660 yes:)
5661 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5662 whose name does not start with the host triplet. If you think this
5663 configuration is useful to you, please write to autoconf@gnu.org." >&5
5664 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5665 whose name does not start with the host triplet. If you think this
5666 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5667 ac_tool_warned=yes ;;
5668 esac
5669 NM=$ac_ct_NM
5673 if test -n "$ac_tool_prefix"; then
5674 for ac_prog in ar gar
5676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5677 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5680 if test "${ac_cv_prog_AR+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5682 else
5683 if test -n "$AR"; then
5684 ac_cv_prog_AR="$AR" # Let the user override the test.
5685 else
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 for as_dir in $PATH
5689 IFS=$as_save_IFS
5690 test -z "$as_dir" && as_dir=.
5691 for ac_exec_ext in '' $ac_executable_extensions; do
5692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5693 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 break 2
5697 done
5698 done
5699 IFS=$as_save_IFS
5703 AR=$ac_cv_prog_AR
5704 if test -n "$AR"; then
5705 { echo "$as_me:$LINENO: result: $AR" >&5
5706 echo "${ECHO_T}$AR" >&6; }
5707 else
5708 { echo "$as_me:$LINENO: result: no" >&5
5709 echo "${ECHO_T}no" >&6; }
5713 test -n "$AR" && break
5714 done
5716 if test -z "$AR"; then
5717 ac_ct_AR=$AR
5718 for ac_prog in ar gar
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy $ac_prog; ac_word=$2
5722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5724 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5726 else
5727 if test -n "$ac_ct_AR"; then
5728 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5729 else
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5733 IFS=$as_save_IFS
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5737 ac_cv_prog_ac_ct_AR="$ac_prog"
5738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5748 if test -n "$ac_ct_AR"; then
5749 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5750 echo "${ECHO_T}$ac_ct_AR" >&6; }
5751 else
5752 { echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6; }
5757 test -n "$ac_ct_AR" && break
5758 done
5760 if test "x$ac_ct_AR" = x; then
5761 AR="ar"
5762 else
5763 case $cross_compiling:$ac_tool_warned in
5764 yes:)
5765 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5766 whose name does not start with the host triplet. If you think this
5767 configuration is useful to you, please write to autoconf@gnu.org." >&5
5768 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5769 whose name does not start with the host triplet. If you think this
5770 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5771 ac_tool_warned=yes ;;
5772 esac
5773 AR=$ac_ct_AR
5777 ARFLAGS=rc
5779 if test -n "$ac_tool_prefix"; then
5780 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5781 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5784 if test "${ac_cv_prog_RANLIB+set}" = set; then
5785 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 else
5787 if test -n "$RANLIB"; then
5788 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5789 else
5790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791 for as_dir in $PATH
5793 IFS=$as_save_IFS
5794 test -z "$as_dir" && as_dir=.
5795 for ac_exec_ext in '' $ac_executable_extensions; do
5796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5797 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 break 2
5801 done
5802 done
5803 IFS=$as_save_IFS
5807 RANLIB=$ac_cv_prog_RANLIB
5808 if test -n "$RANLIB"; then
5809 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5810 echo "${ECHO_T}$RANLIB" >&6; }
5811 else
5812 { echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6; }
5818 if test -z "$ac_cv_prog_RANLIB"; then
5819 ac_ct_RANLIB=$RANLIB
5820 # Extract the first word of "ranlib", so it can be a program name with args.
5821 set dummy ranlib; ac_word=$2
5822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5824 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 else
5827 if test -n "$ac_ct_RANLIB"; then
5828 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5829 else
5830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5831 for as_dir in $PATH
5833 IFS=$as_save_IFS
5834 test -z "$as_dir" && as_dir=.
5835 for ac_exec_ext in '' $ac_executable_extensions; do
5836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5837 ac_cv_prog_ac_ct_RANLIB="ranlib"
5838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 break 2
5841 done
5842 done
5843 IFS=$as_save_IFS
5847 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5848 if test -n "$ac_ct_RANLIB"; then
5849 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5850 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5851 else
5852 { echo "$as_me:$LINENO: result: no" >&5
5853 echo "${ECHO_T}no" >&6; }
5856 if test "x$ac_ct_RANLIB" = x; then
5857 RANLIB=":"
5858 else
5859 case $cross_compiling:$ac_tool_warned in
5860 yes:)
5861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5862 whose name does not start with the host triplet. If you think this
5863 configuration is useful to you, please write to autoconf@gnu.org." >&5
5864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5865 whose name does not start with the host triplet. If you think this
5866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5867 ac_tool_warned=yes ;;
5868 esac
5869 RANLIB=$ac_ct_RANLIB
5871 else
5872 RANLIB="$ac_cv_prog_RANLIB"
5875 if test -n "$ac_tool_prefix"; then
5876 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5877 set dummy ${ac_tool_prefix}strip; ac_word=$2
5878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5880 if test "${ac_cv_prog_STRIP+set}" = set; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 else
5883 if test -n "$STRIP"; then
5884 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5885 else
5886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 for as_dir in $PATH
5889 IFS=$as_save_IFS
5890 test -z "$as_dir" && as_dir=.
5891 for ac_exec_ext in '' $ac_executable_extensions; do
5892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5893 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 break 2
5897 done
5898 done
5899 IFS=$as_save_IFS
5903 STRIP=$ac_cv_prog_STRIP
5904 if test -n "$STRIP"; then
5905 { echo "$as_me:$LINENO: result: $STRIP" >&5
5906 echo "${ECHO_T}$STRIP" >&6; }
5907 else
5908 { echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6; }
5914 if test -z "$ac_cv_prog_STRIP"; then
5915 ac_ct_STRIP=$STRIP
5916 # Extract the first word of "strip", so it can be a program name with args.
5917 set dummy strip; ac_word=$2
5918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5920 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 else
5923 if test -n "$ac_ct_STRIP"; then
5924 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5925 else
5926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 for as_dir in $PATH
5929 IFS=$as_save_IFS
5930 test -z "$as_dir" && as_dir=.
5931 for ac_exec_ext in '' $ac_executable_extensions; do
5932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5933 ac_cv_prog_ac_ct_STRIP="strip"
5934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 break 2
5937 done
5938 done
5939 IFS=$as_save_IFS
5943 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5944 if test -n "$ac_ct_STRIP"; then
5945 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5946 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5947 else
5948 { echo "$as_me:$LINENO: result: no" >&5
5949 echo "${ECHO_T}no" >&6; }
5952 if test "x$ac_ct_STRIP" = x; then
5953 STRIP="strip"
5954 else
5955 case $cross_compiling:$ac_tool_warned in
5956 yes:)
5957 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5958 whose name does not start with the host triplet. If you think this
5959 configuration is useful to you, please write to autoconf@gnu.org." >&5
5960 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5961 whose name does not start with the host triplet. If you think this
5962 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5963 ac_tool_warned=yes ;;
5964 esac
5965 STRIP=$ac_ct_STRIP
5967 else
5968 STRIP="$ac_cv_prog_STRIP"
5971 if test -n "$ac_tool_prefix"; then
5972 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5973 set dummy ${ac_tool_prefix}windres; ac_word=$2
5974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5976 if test "${ac_cv_prog_WINDRES+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 else
5979 if test -n "$WINDRES"; then
5980 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5981 else
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH
5985 IFS=$as_save_IFS
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5989 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5991 break 2
5993 done
5994 done
5995 IFS=$as_save_IFS
5999 WINDRES=$ac_cv_prog_WINDRES
6000 if test -n "$WINDRES"; then
6001 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6002 echo "${ECHO_T}$WINDRES" >&6; }
6003 else
6004 { echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6; }
6010 if test -z "$ac_cv_prog_WINDRES"; then
6011 ac_ct_WINDRES=$WINDRES
6012 # Extract the first word of "windres", so it can be a program name with args.
6013 set dummy windres; ac_word=$2
6014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6016 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 else
6019 if test -n "$ac_ct_WINDRES"; then
6020 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6029 ac_cv_prog_ac_ct_WINDRES="windres"
6030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6035 IFS=$as_save_IFS
6039 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6040 if test -n "$ac_ct_WINDRES"; then
6041 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6042 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6043 else
6044 { echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6; }
6048 if test "x$ac_ct_WINDRES" = x; then
6049 WINDRES="false"
6050 else
6051 case $cross_compiling:$ac_tool_warned in
6052 yes:)
6053 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6054 whose name does not start with the host triplet. If you think this
6055 configuration is useful to you, please write to autoconf@gnu.org." >&5
6056 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6057 whose name does not start with the host triplet. If you think this
6058 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6059 ac_tool_warned=yes ;;
6060 esac
6061 WINDRES=$ac_ct_WINDRES
6063 else
6064 WINDRES="$ac_cv_prog_WINDRES"
6067 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6068 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6069 LN_S=$as_ln_s
6070 if test "$LN_S" = "ln -s"; then
6071 { echo "$as_me:$LINENO: result: yes" >&5
6072 echo "${ECHO_T}yes" >&6; }
6073 else
6074 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6075 echo "${ECHO_T}no, using $LN_S" >&6; }
6078 { echo "$as_me:$LINENO: checking whether ln works" >&5
6079 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6080 rm -f conf$$ conf$$.file
6081 echo >conf$$.file
6082 if ln conf$$.file conf$$ 2>/dev/null; then
6083 LN=ln
6085 { echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6; }
6087 else
6088 LN="cp -p"
6090 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6091 echo "${ECHO_T}no, using $LN" >&6; }
6093 rm -f conf$$ conf$$.file
6094 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6095 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6096 if test "${ac_cv_path_GREP+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 else
6099 # Extract the first word of "grep ggrep" to use in msg output
6100 if test -z "$GREP"; then
6101 set dummy grep ggrep; ac_prog_name=$2
6102 if test "${ac_cv_path_GREP+set}" = set; then
6103 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 else
6105 ac_path_GREP_found=false
6106 # Loop through the user's path and test for each of PROGNAME-LIST
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_prog in grep ggrep; do
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6115 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6116 # Check for GNU ac_path_GREP and select it if it is found.
6117 # Check for GNU $ac_path_GREP
6118 case `"$ac_path_GREP" --version 2>&1` in
6119 *GNU*)
6120 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6122 ac_count=0
6123 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6124 while :
6126 cat "conftest.in" "conftest.in" >"conftest.tmp"
6127 mv "conftest.tmp" "conftest.in"
6128 cp "conftest.in" "conftest.nl"
6129 echo 'GREP' >> "conftest.nl"
6130 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6131 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6132 ac_count=`expr $ac_count + 1`
6133 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6134 # Best one so far, save it but keep looking for a better one
6135 ac_cv_path_GREP="$ac_path_GREP"
6136 ac_path_GREP_max=$ac_count
6138 # 10*(2^10) chars as input seems more than enough
6139 test $ac_count -gt 10 && break
6140 done
6141 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6142 esac
6145 $ac_path_GREP_found && break 3
6146 done
6147 done
6149 done
6150 IFS=$as_save_IFS
6155 GREP="$ac_cv_path_GREP"
6156 if test -z "$GREP"; then
6157 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6158 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6159 { (exit 1); exit 1; }; }
6162 else
6163 ac_cv_path_GREP=$GREP
6168 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6169 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6170 GREP="$ac_cv_path_GREP"
6173 { echo "$as_me:$LINENO: checking for egrep" >&5
6174 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6175 if test "${ac_cv_path_EGREP+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6177 else
6178 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6179 then ac_cv_path_EGREP="$GREP -E"
6180 else
6181 # Extract the first word of "egrep" to use in msg output
6182 if test -z "$EGREP"; then
6183 set dummy egrep; ac_prog_name=$2
6184 if test "${ac_cv_path_EGREP+set}" = set; then
6185 echo $ECHO_N "(cached) $ECHO_C" >&6
6186 else
6187 ac_path_EGREP_found=false
6188 # Loop through the user's path and test for each of PROGNAME-LIST
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6192 IFS=$as_save_IFS
6193 test -z "$as_dir" && as_dir=.
6194 for ac_prog in egrep; do
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6197 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6198 # Check for GNU ac_path_EGREP and select it if it is found.
6199 # Check for GNU $ac_path_EGREP
6200 case `"$ac_path_EGREP" --version 2>&1` in
6201 *GNU*)
6202 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6204 ac_count=0
6205 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6206 while :
6208 cat "conftest.in" "conftest.in" >"conftest.tmp"
6209 mv "conftest.tmp" "conftest.in"
6210 cp "conftest.in" "conftest.nl"
6211 echo 'EGREP' >> "conftest.nl"
6212 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6213 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6214 ac_count=`expr $ac_count + 1`
6215 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6216 # Best one so far, save it but keep looking for a better one
6217 ac_cv_path_EGREP="$ac_path_EGREP"
6218 ac_path_EGREP_max=$ac_count
6220 # 10*(2^10) chars as input seems more than enough
6221 test $ac_count -gt 10 && break
6222 done
6223 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6224 esac
6227 $ac_path_EGREP_found && break 3
6228 done
6229 done
6231 done
6232 IFS=$as_save_IFS
6237 EGREP="$ac_cv_path_EGREP"
6238 if test -z "$EGREP"; then
6239 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6240 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6241 { (exit 1); exit 1; }; }
6244 else
6245 ac_cv_path_EGREP=$EGREP
6251 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6252 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6253 EGREP="$ac_cv_path_EGREP"
6256 # Extract the first word of "ldconfig", so it can be a program name with args.
6257 set dummy ldconfig; ac_word=$2
6258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6260 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6261 echo $ECHO_N "(cached) $ECHO_C" >&6
6262 else
6263 case $LDCONFIG in
6264 [\\/]* | ?:[\\/]*)
6265 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in /sbin /usr/sbin $PATH
6271 IFS=$as_save_IFS
6272 test -z "$as_dir" && as_dir=.
6273 for ac_exec_ext in '' $ac_executable_extensions; do
6274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 break 2
6279 done
6280 done
6281 IFS=$as_save_IFS
6283 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6285 esac
6287 LDCONFIG=$ac_cv_path_LDCONFIG
6288 if test -n "$LDCONFIG"; then
6289 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6290 echo "${ECHO_T}$LDCONFIG" >&6; }
6291 else
6292 { echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6; }
6297 # Find a good install program. We prefer a C program (faster),
6298 # so one script is as good as another. But avoid the broken or
6299 # incompatible versions:
6300 # SysV /etc/install, /usr/sbin/install
6301 # SunOS /usr/etc/install
6302 # IRIX /sbin/install
6303 # AIX /bin/install
6304 # AmigaOS /C/install, which installs bootblocks on floppy discs
6305 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6306 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6307 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6308 # OS/2's system install, which has a completely different semantic
6309 # ./install, which can be erroneously created by make from ./install.sh.
6310 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6311 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6312 if test -z "$INSTALL"; then
6313 if test "${ac_cv_path_install+set}" = set; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6315 else
6316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6317 for as_dir in $PATH
6319 IFS=$as_save_IFS
6320 test -z "$as_dir" && as_dir=.
6321 # Account for people who put trailing slashes in PATH elements.
6322 case $as_dir/ in
6323 ./ | .// | /cC/* | \
6324 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6325 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6326 /usr/ucb/* ) ;;
6328 # OSF1 and SCO ODT 3.0 have their own names for install.
6329 # Don't use installbsd from OSF since it installs stuff as root
6330 # by default.
6331 for ac_prog in ginstall scoinst install; do
6332 for ac_exec_ext in '' $ac_executable_extensions; do
6333 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6334 if test $ac_prog = install &&
6335 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6336 # AIX install. It has an incompatible calling convention.
6338 elif test $ac_prog = install &&
6339 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6340 # program-specific install script used by HP pwplus--don't use.
6342 else
6343 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6344 break 3
6347 done
6348 done
6350 esac
6351 done
6352 IFS=$as_save_IFS
6356 if test "${ac_cv_path_install+set}" = set; then
6357 INSTALL=$ac_cv_path_install
6358 else
6359 # As a last resort, use the slow shell script. Don't cache a
6360 # value for INSTALL within a source directory, because that will
6361 # break other packages using the cache if that directory is
6362 # removed, or if the value is a relative name.
6363 INSTALL=$ac_install_sh
6366 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6367 echo "${ECHO_T}$INSTALL" >&6; }
6369 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6370 # It thinks the first close brace ends the variable substitution.
6371 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6373 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6375 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6377 case "$INSTALL" in
6378 [\\/$]* | ?:[\\/]* ) ;;
6379 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6380 esac
6382 for ac_prog in lclint lint
6384 # Extract the first word of "$ac_prog", so it can be a program name with args.
6385 set dummy $ac_prog; ac_word=$2
6386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6388 if test "${ac_cv_prog_LINT+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 else
6391 if test -n "$LINT"; then
6392 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6393 else
6394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6395 for as_dir in $PATH
6397 IFS=$as_save_IFS
6398 test -z "$as_dir" && as_dir=.
6399 for ac_exec_ext in '' $ac_executable_extensions; do
6400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6401 ac_cv_prog_LINT="$ac_prog"
6402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6403 break 2
6405 done
6406 done
6407 IFS=$as_save_IFS
6411 LINT=$ac_cv_prog_LINT
6412 if test -n "$LINT"; then
6413 { echo "$as_me:$LINENO: result: $LINT" >&5
6414 echo "${ECHO_T}$LINT" >&6; }
6415 else
6416 { echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6; }
6421 test -n "$LINT" && break
6422 done
6424 if test "$LINT" = "lint"
6425 then
6426 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6431 for ac_prog in fontforge
6433 # Extract the first word of "$ac_prog", so it can be a program name with args.
6434 set dummy $ac_prog; ac_word=$2
6435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6437 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6438 echo $ECHO_N "(cached) $ECHO_C" >&6
6439 else
6440 if test -n "$FONTFORGE"; then
6441 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6442 else
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 for as_dir in $PATH
6446 IFS=$as_save_IFS
6447 test -z "$as_dir" && as_dir=.
6448 for ac_exec_ext in '' $ac_executable_extensions; do
6449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6450 ac_cv_prog_FONTFORGE="$ac_prog"
6451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6452 break 2
6454 done
6455 done
6456 IFS=$as_save_IFS
6460 FONTFORGE=$ac_cv_prog_FONTFORGE
6461 if test -n "$FONTFORGE"; then
6462 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6463 echo "${ECHO_T}$FONTFORGE" >&6; }
6464 else
6465 { echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6; }
6470 test -n "$FONTFORGE" && break
6471 done
6472 test -n "$FONTFORGE" || FONTFORGE="false"
6474 for ac_prog in pkg-config
6476 # Extract the first word of "$ac_prog", so it can be a program name with args.
6477 set dummy $ac_prog; ac_word=$2
6478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6480 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6481 echo $ECHO_N "(cached) $ECHO_C" >&6
6482 else
6483 if test -n "$PKG_CONFIG"; then
6484 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6485 else
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in $PATH
6489 IFS=$as_save_IFS
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493 ac_cv_prog_PKG_CONFIG="$ac_prog"
6494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6503 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6504 if test -n "$PKG_CONFIG"; then
6505 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6506 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6507 else
6508 { echo "$as_me:$LINENO: result: no" >&5
6509 echo "${ECHO_T}no" >&6; }
6513 test -n "$PKG_CONFIG" && break
6514 done
6515 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6517 for ac_prog in rsvg
6519 # Extract the first word of "$ac_prog", so it can be a program name with args.
6520 set dummy $ac_prog; ac_word=$2
6521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6523 if test "${ac_cv_prog_RSVG+set}" = set; then
6524 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 else
6526 if test -n "$RSVG"; then
6527 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6528 else
6529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6530 for as_dir in $PATH
6532 IFS=$as_save_IFS
6533 test -z "$as_dir" && as_dir=.
6534 for ac_exec_ext in '' $ac_executable_extensions; do
6535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6536 ac_cv_prog_RSVG="$ac_prog"
6537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 break 2
6540 done
6541 done
6542 IFS=$as_save_IFS
6546 RSVG=$ac_cv_prog_RSVG
6547 if test -n "$RSVG"; then
6548 { echo "$as_me:$LINENO: result: $RSVG" >&5
6549 echo "${ECHO_T}$RSVG" >&6; }
6550 else
6551 { echo "$as_me:$LINENO: result: no" >&5
6552 echo "${ECHO_T}no" >&6; }
6556 test -n "$RSVG" && break
6557 done
6558 test -n "$RSVG" || RSVG="false"
6560 for ac_prog in icotool
6562 # Extract the first word of "$ac_prog", so it can be a program name with args.
6563 set dummy $ac_prog; ac_word=$2
6564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6566 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6568 else
6569 if test -n "$ICOTOOL"; then
6570 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579 ac_cv_prog_ICOTOOL="$ac_prog"
6580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6583 done
6584 done
6585 IFS=$as_save_IFS
6589 ICOTOOL=$ac_cv_prog_ICOTOOL
6590 if test -n "$ICOTOOL"; then
6591 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6592 echo "${ECHO_T}$ICOTOOL" >&6; }
6593 else
6594 { echo "$as_me:$LINENO: result: no" >&5
6595 echo "${ECHO_T}no" >&6; }
6599 test -n "$ICOTOOL" && break
6600 done
6601 test -n "$ICOTOOL" || ICOTOOL="false"
6604 if test "${enable_maintainer_mode+set}" = set
6605 then
6606 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6607 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6608 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6611 case $host_cpu in
6612 *i[3456789]86*)
6613 # Extract the first word of "prelink", so it can be a program name with args.
6614 set dummy prelink; ac_word=$2
6615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6617 if test "${ac_cv_path_PRELINK+set}" = set; then
6618 echo $ECHO_N "(cached) $ECHO_C" >&6
6619 else
6620 case $PRELINK in
6621 [\\/]* | ?:[\\/]*)
6622 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6626 for as_dir in /sbin /usr/sbin $PATH
6628 IFS=$as_save_IFS
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6632 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6634 break 2
6636 done
6637 done
6638 IFS=$as_save_IFS
6640 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6642 esac
6644 PRELINK=$ac_cv_path_PRELINK
6645 if test -n "$PRELINK"; then
6646 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6647 echo "${ECHO_T}$PRELINK" >&6; }
6648 else
6649 { echo "$as_me:$LINENO: result: no" >&5
6650 echo "${ECHO_T}no" >&6; }
6655 esac
6659 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6660 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6661 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 else
6664 ac_check_lib_save_LIBS=$LIBS
6665 LIBS="-li386 $LIBS"
6666 cat >conftest.$ac_ext <<_ACEOF
6667 /* confdefs.h. */
6668 _ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6673 /* Override any GCC internal prototype to avoid an error.
6674 Use char because int might match the return type of a GCC
6675 builtin and then its argument prototype would still apply. */
6676 #ifdef __cplusplus
6677 extern "C"
6678 #endif
6679 char i386_set_ldt ();
6681 main ()
6683 return i386_set_ldt ();
6685 return 0;
6687 _ACEOF
6688 rm -f conftest.$ac_objext conftest$ac_exeext
6689 if { (ac_try="$ac_link"
6690 case "(($ac_try" in
6691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6692 *) ac_try_echo=$ac_try;;
6693 esac
6694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6695 (eval "$ac_link") 2>conftest.er1
6696 ac_status=$?
6697 grep -v '^ *+' conftest.er1 >conftest.err
6698 rm -f conftest.er1
6699 cat conftest.err >&5
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); } && {
6702 test -z "$ac_c_werror_flag" ||
6703 test ! -s conftest.err
6704 } && test -s conftest$ac_exeext &&
6705 $as_test_x conftest$ac_exeext; then
6706 ac_cv_lib_i386_i386_set_ldt=yes
6707 else
6708 echo "$as_me: failed program was:" >&5
6709 sed 's/^/| /' conftest.$ac_ext >&5
6711 ac_cv_lib_i386_i386_set_ldt=no
6714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6715 conftest$ac_exeext conftest.$ac_ext
6716 LIBS=$ac_check_lib_save_LIBS
6718 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6719 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6720 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6721 cat >>confdefs.h <<_ACEOF
6722 #define HAVE_LIBI386 1
6723 _ACEOF
6725 LIBS="-li386 $LIBS"
6730 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6731 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6732 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6733 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 else
6735 ac_check_lib_save_LIBS=$LIBS
6736 LIBS="-lossaudio $LIBS"
6737 cat >conftest.$ac_ext <<_ACEOF
6738 /* confdefs.h. */
6739 _ACEOF
6740 cat confdefs.h >>conftest.$ac_ext
6741 cat >>conftest.$ac_ext <<_ACEOF
6742 /* end confdefs.h. */
6744 /* Override any GCC internal prototype to avoid an error.
6745 Use char because int might match the return type of a GCC
6746 builtin and then its argument prototype would still apply. */
6747 #ifdef __cplusplus
6748 extern "C"
6749 #endif
6750 char _oss_ioctl ();
6752 main ()
6754 return _oss_ioctl ();
6756 return 0;
6758 _ACEOF
6759 rm -f conftest.$ac_objext conftest$ac_exeext
6760 if { (ac_try="$ac_link"
6761 case "(($ac_try" in
6762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763 *) ac_try_echo=$ac_try;;
6764 esac
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_link") 2>conftest.er1
6767 ac_status=$?
6768 grep -v '^ *+' conftest.er1 >conftest.err
6769 rm -f conftest.er1
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && {
6773 test -z "$ac_c_werror_flag" ||
6774 test ! -s conftest.err
6775 } && test -s conftest$ac_exeext &&
6776 $as_test_x conftest$ac_exeext; then
6777 ac_cv_lib_ossaudio__oss_ioctl=yes
6778 else
6779 echo "$as_me: failed program was:" >&5
6780 sed 's/^/| /' conftest.$ac_ext >&5
6782 ac_cv_lib_ossaudio__oss_ioctl=no
6785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6786 conftest$ac_exeext conftest.$ac_ext
6787 LIBS=$ac_check_lib_save_LIBS
6789 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6790 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6791 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6792 cat >>confdefs.h <<_ACEOF
6793 #define HAVE_LIBOSSAUDIO 1
6794 _ACEOF
6796 LIBS="-lossaudio $LIBS"
6800 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6801 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6802 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6803 echo $ECHO_N "(cached) $ECHO_C" >&6
6804 else
6805 ac_check_lib_save_LIBS=$LIBS
6806 LIBS="-lpthread $LIBS"
6807 cat >conftest.$ac_ext <<_ACEOF
6808 /* confdefs.h. */
6809 _ACEOF
6810 cat confdefs.h >>conftest.$ac_ext
6811 cat >>conftest.$ac_ext <<_ACEOF
6812 /* end confdefs.h. */
6814 /* Override any GCC internal prototype to avoid an error.
6815 Use char because int might match the return type of a GCC
6816 builtin and then its argument prototype would still apply. */
6817 #ifdef __cplusplus
6818 extern "C"
6819 #endif
6820 char pthread_create ();
6822 main ()
6824 return pthread_create ();
6826 return 0;
6828 _ACEOF
6829 rm -f conftest.$ac_objext conftest$ac_exeext
6830 if { (ac_try="$ac_link"
6831 case "(($ac_try" in
6832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6833 *) ac_try_echo=$ac_try;;
6834 esac
6835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6836 (eval "$ac_link") 2>conftest.er1
6837 ac_status=$?
6838 grep -v '^ *+' conftest.er1 >conftest.err
6839 rm -f conftest.er1
6840 cat conftest.err >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); } && {
6843 test -z "$ac_c_werror_flag" ||
6844 test ! -s conftest.err
6845 } && test -s conftest$ac_exeext &&
6846 $as_test_x conftest$ac_exeext; then
6847 ac_cv_lib_pthread_pthread_create=yes
6848 else
6849 echo "$as_me: failed program was:" >&5
6850 sed 's/^/| /' conftest.$ac_ext >&5
6852 ac_cv_lib_pthread_pthread_create=no
6855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6856 conftest$ac_exeext conftest.$ac_ext
6857 LIBS=$ac_check_lib_save_LIBS
6859 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6860 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6861 if test $ac_cv_lib_pthread_pthread_create = yes; then
6862 LIBPTHREAD="-lpthread"
6867 XLIB=""
6869 XFILES=""
6871 OPENGLFILES=""
6873 GLU32FILES=""
6875 OPENGL_LIBS=""
6877 QUARTZFILES=""
6881 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6882 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6883 if test "${ac_cv_header_stdc+set}" = set; then
6884 echo $ECHO_N "(cached) $ECHO_C" >&6
6885 else
6886 cat >conftest.$ac_ext <<_ACEOF
6887 /* confdefs.h. */
6888 _ACEOF
6889 cat confdefs.h >>conftest.$ac_ext
6890 cat >>conftest.$ac_ext <<_ACEOF
6891 /* end confdefs.h. */
6892 #include <stdlib.h>
6893 #include <stdarg.h>
6894 #include <string.h>
6895 #include <float.h>
6898 main ()
6902 return 0;
6904 _ACEOF
6905 rm -f conftest.$ac_objext
6906 if { (ac_try="$ac_compile"
6907 case "(($ac_try" in
6908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6909 *) ac_try_echo=$ac_try;;
6910 esac
6911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6912 (eval "$ac_compile") 2>conftest.er1
6913 ac_status=$?
6914 grep -v '^ *+' conftest.er1 >conftest.err
6915 rm -f conftest.er1
6916 cat conftest.err >&5
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); } && {
6919 test -z "$ac_c_werror_flag" ||
6920 test ! -s conftest.err
6921 } && test -s conftest.$ac_objext; then
6922 ac_cv_header_stdc=yes
6923 else
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6927 ac_cv_header_stdc=no
6930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6932 if test $ac_cv_header_stdc = yes; then
6933 # SunOS 4.x string.h does not declare mem*, 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 <string.h>
6942 _ACEOF
6943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6944 $EGREP "memchr" >/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 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6955 cat >conftest.$ac_ext <<_ACEOF
6956 /* confdefs.h. */
6957 _ACEOF
6958 cat confdefs.h >>conftest.$ac_ext
6959 cat >>conftest.$ac_ext <<_ACEOF
6960 /* end confdefs.h. */
6961 #include <stdlib.h>
6963 _ACEOF
6964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6965 $EGREP "free" >/dev/null 2>&1; then
6967 else
6968 ac_cv_header_stdc=no
6970 rm -f conftest*
6974 if test $ac_cv_header_stdc = yes; then
6975 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6976 if test "$cross_compiling" = yes; then
6978 else
6979 cat >conftest.$ac_ext <<_ACEOF
6980 /* confdefs.h. */
6981 _ACEOF
6982 cat confdefs.h >>conftest.$ac_ext
6983 cat >>conftest.$ac_ext <<_ACEOF
6984 /* end confdefs.h. */
6985 #include <ctype.h>
6986 #include <stdlib.h>
6987 #if ((' ' & 0x0FF) == 0x020)
6988 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6989 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6990 #else
6991 # define ISLOWER(c) \
6992 (('a' <= (c) && (c) <= 'i') \
6993 || ('j' <= (c) && (c) <= 'r') \
6994 || ('s' <= (c) && (c) <= 'z'))
6995 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6996 #endif
6998 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7000 main ()
7002 int i;
7003 for (i = 0; i < 256; i++)
7004 if (XOR (islower (i), ISLOWER (i))
7005 || toupper (i) != TOUPPER (i))
7006 return 2;
7007 return 0;
7009 _ACEOF
7010 rm -f conftest$ac_exeext
7011 if { (ac_try="$ac_link"
7012 case "(($ac_try" in
7013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7014 *) ac_try_echo=$ac_try;;
7015 esac
7016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7017 (eval "$ac_link") 2>&5
7018 ac_status=$?
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7021 { (case "(($ac_try" in
7022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7023 *) ac_try_echo=$ac_try;;
7024 esac
7025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7026 (eval "$ac_try") 2>&5
7027 ac_status=$?
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7031 else
7032 echo "$as_me: program exited with status $ac_status" >&5
7033 echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.$ac_ext >&5
7036 ( exit $ac_status )
7037 ac_cv_header_stdc=no
7039 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7045 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7046 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7047 if test $ac_cv_header_stdc = yes; then
7049 cat >>confdefs.h <<\_ACEOF
7050 #define STDC_HEADERS 1
7051 _ACEOF
7055 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7066 inttypes.h stdint.h unistd.h
7068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7069 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7071 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7072 echo $ECHO_N "(cached) $ECHO_C" >&6
7073 else
7074 cat >conftest.$ac_ext <<_ACEOF
7075 /* confdefs.h. */
7076 _ACEOF
7077 cat confdefs.h >>conftest.$ac_ext
7078 cat >>conftest.$ac_ext <<_ACEOF
7079 /* end confdefs.h. */
7080 $ac_includes_default
7082 #include <$ac_header>
7083 _ACEOF
7084 rm -f conftest.$ac_objext
7085 if { (ac_try="$ac_compile"
7086 case "(($ac_try" in
7087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7088 *) ac_try_echo=$ac_try;;
7089 esac
7090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7091 (eval "$ac_compile") 2>conftest.er1
7092 ac_status=$?
7093 grep -v '^ *+' conftest.er1 >conftest.err
7094 rm -f conftest.er1
7095 cat conftest.err >&5
7096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097 (exit $ac_status); } && {
7098 test -z "$ac_c_werror_flag" ||
7099 test ! -s conftest.err
7100 } && test -s conftest.$ac_objext; then
7101 eval "$as_ac_Header=yes"
7102 else
7103 echo "$as_me: failed program was:" >&5
7104 sed 's/^/| /' conftest.$ac_ext >&5
7106 eval "$as_ac_Header=no"
7109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7111 ac_res=`eval echo '${'$as_ac_Header'}'`
7112 { echo "$as_me:$LINENO: result: $ac_res" >&5
7113 echo "${ECHO_T}$ac_res" >&6; }
7114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7115 cat >>confdefs.h <<_ACEOF
7116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7117 _ACEOF
7121 done
7235 for ac_header in \
7236 AudioUnit/AudioUnit.h \
7237 Carbon/Carbon.h \
7238 CoreAudio/CoreAudio.h \
7239 DiskArbitration/DiskArbitration.h \
7240 IOKit/IOKitLib.h \
7241 alias.h \
7242 alsa/asoundlib.h \
7243 arpa/inet.h \
7244 arpa/nameser.h \
7245 asm/types.h \
7246 capi20.h \
7247 curses.h \
7248 direct.h \
7249 dlfcn.h \
7250 elf.h \
7251 float.h \
7252 fontconfig/fontconfig.h \
7253 getopt.h \
7254 ieeefp.h \
7255 io.h \
7256 jack/jack.h \
7257 jpeglib.h \
7258 lber.h \
7259 lcms.h \
7260 lcms/lcms.h \
7261 ldap.h \
7262 libaudioio.h \
7263 link.h \
7264 linux/cdrom.h \
7265 linux/compiler.h \
7266 linux/hdreg.h \
7267 linux/input.h \
7268 linux/ioctl.h \
7269 linux/joystick.h \
7270 linux/major.h \
7271 linux/param.h \
7272 linux/serial.h \
7273 linux/ucdrom.h \
7274 mach/mach.h \
7275 mach/machine.h \
7276 machine/cpu.h \
7277 machine/limits.h \
7278 machine/soundcard.h \
7279 mntent.h \
7280 ncurses.h \
7281 netdb.h \
7282 netinet/in.h \
7283 netinet/in_systm.h \
7284 netinet/tcp.h \
7285 netinet/tcp_fsm.h \
7286 openssl/err.h \
7287 openssl/ssl.h \
7288 png.h \
7289 poll.h \
7290 process.h \
7291 pthread.h \
7292 pwd.h \
7293 regex.h \
7294 sched.h \
7295 scsi/scsi.h \
7296 scsi/scsi_ioctl.h \
7297 scsi/sg.h \
7298 soundcard.h \
7299 stdint.h \
7300 strings.h \
7301 sys/asoundlib.h \
7302 sys/cdio.h \
7303 sys/elf32.h \
7304 sys/epoll.h \
7305 sys/errno.h \
7306 sys/event.h \
7307 sys/exec_elf.h \
7308 sys/filio.h \
7309 sys/ioctl.h \
7310 sys/ipc.h \
7311 sys/limits.h \
7312 sys/link.h \
7313 sys/lwp.h \
7314 sys/mman.h \
7315 sys/modem.h \
7316 sys/msg.h \
7317 sys/mtio.h \
7318 sys/param.h \
7319 sys/poll.h \
7320 sys/prctl.h \
7321 sys/ptrace.h \
7322 sys/reg.h \
7323 sys/resource.h \
7324 sys/scsiio.h \
7325 sys/shm.h \
7326 sys/signal.h \
7327 sys/socket.h \
7328 sys/socketvar.h \
7329 sys/sockio.h \
7330 sys/soundcard.h \
7331 sys/statvfs.h \
7332 sys/strtio.h \
7333 sys/syscall.h \
7334 sys/sysctl.h \
7335 sys/time.h \
7336 sys/times.h \
7337 sys/uio.h \
7338 sys/un.h \
7339 sys/vm86.h \
7340 sys/wait.h \
7341 syscall.h \
7342 termios.h \
7343 unistd.h \
7344 utime.h \
7345 valgrind/memcheck.h \
7346 valgrind/valgrind.h
7349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 ac_res=`eval echo '${'$as_ac_Header'}'`
7357 { echo "$as_me:$LINENO: result: $ac_res" >&5
7358 echo "${ECHO_T}$ac_res" >&6; }
7359 else
7360 # Is the header compilable?
7361 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7363 cat >conftest.$ac_ext <<_ACEOF
7364 /* confdefs.h. */
7365 _ACEOF
7366 cat confdefs.h >>conftest.$ac_ext
7367 cat >>conftest.$ac_ext <<_ACEOF
7368 /* end confdefs.h. */
7369 $ac_includes_default
7370 #include <$ac_header>
7371 _ACEOF
7372 rm -f conftest.$ac_objext
7373 if { (ac_try="$ac_compile"
7374 case "(($ac_try" in
7375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7376 *) ac_try_echo=$ac_try;;
7377 esac
7378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7379 (eval "$ac_compile") 2>conftest.er1
7380 ac_status=$?
7381 grep -v '^ *+' conftest.er1 >conftest.err
7382 rm -f conftest.er1
7383 cat conftest.err >&5
7384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385 (exit $ac_status); } && {
7386 test -z "$ac_c_werror_flag" ||
7387 test ! -s conftest.err
7388 } && test -s conftest.$ac_objext; then
7389 ac_header_compiler=yes
7390 else
7391 echo "$as_me: failed program was:" >&5
7392 sed 's/^/| /' conftest.$ac_ext >&5
7394 ac_header_compiler=no
7397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7398 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7399 echo "${ECHO_T}$ac_header_compiler" >&6; }
7401 # Is the header present?
7402 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7403 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7404 cat >conftest.$ac_ext <<_ACEOF
7405 /* confdefs.h. */
7406 _ACEOF
7407 cat confdefs.h >>conftest.$ac_ext
7408 cat >>conftest.$ac_ext <<_ACEOF
7409 /* end confdefs.h. */
7410 #include <$ac_header>
7411 _ACEOF
7412 if { (ac_try="$ac_cpp conftest.$ac_ext"
7413 case "(($ac_try" in
7414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7415 *) ac_try_echo=$ac_try;;
7416 esac
7417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7418 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7419 ac_status=$?
7420 grep -v '^ *+' conftest.er1 >conftest.err
7421 rm -f conftest.er1
7422 cat conftest.err >&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } >/dev/null && {
7425 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7426 test ! -s conftest.err
7427 }; then
7428 ac_header_preproc=yes
7429 else
7430 echo "$as_me: failed program was:" >&5
7431 sed 's/^/| /' conftest.$ac_ext >&5
7433 ac_header_preproc=no
7436 rm -f conftest.err conftest.$ac_ext
7437 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7438 echo "${ECHO_T}$ac_header_preproc" >&6; }
7440 # So? What about this header?
7441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7442 yes:no: )
7443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7447 ac_header_preproc=yes
7449 no:yes:* )
7450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7462 ( cat <<\_ASBOX
7463 ## ------------------------------------ ##
7464 ## Report this to wine-devel@winehq.org ##
7465 ## ------------------------------------ ##
7466 _ASBOX
7467 ) | sed "s/^/$as_me: WARNING: /" >&2
7469 esac
7470 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7472 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7474 else
7475 eval "$as_ac_Header=\$ac_header_preproc"
7477 ac_res=`eval echo '${'$as_ac_Header'}'`
7478 { echo "$as_me:$LINENO: result: $ac_res" >&5
7479 echo "${ECHO_T}$ac_res" >&6; }
7482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7483 cat >>confdefs.h <<_ACEOF
7484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7485 _ACEOF
7489 done
7491 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7492 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7493 if test "${ac_cv_header_stat_broken+set}" = set; then
7494 echo $ECHO_N "(cached) $ECHO_C" >&6
7495 else
7496 cat >conftest.$ac_ext <<_ACEOF
7497 /* confdefs.h. */
7498 _ACEOF
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7502 #include <sys/types.h>
7503 #include <sys/stat.h>
7505 #if defined S_ISBLK && defined S_IFDIR
7506 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7507 #endif
7509 #if defined S_ISBLK && defined S_IFCHR
7510 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7511 #endif
7513 #if defined S_ISLNK && defined S_IFREG
7514 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7515 #endif
7517 #if defined S_ISSOCK && defined S_IFREG
7518 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7519 #endif
7521 _ACEOF
7522 rm -f conftest.$ac_objext
7523 if { (ac_try="$ac_compile"
7524 case "(($ac_try" in
7525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7526 *) ac_try_echo=$ac_try;;
7527 esac
7528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7529 (eval "$ac_compile") 2>conftest.er1
7530 ac_status=$?
7531 grep -v '^ *+' conftest.er1 >conftest.err
7532 rm -f conftest.er1
7533 cat conftest.err >&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); } && {
7536 test -z "$ac_c_werror_flag" ||
7537 test ! -s conftest.err
7538 } && test -s conftest.$ac_objext; then
7539 ac_cv_header_stat_broken=no
7540 else
7541 echo "$as_me: failed program was:" >&5
7542 sed 's/^/| /' conftest.$ac_ext >&5
7544 ac_cv_header_stat_broken=yes
7547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7549 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7550 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7551 if test $ac_cv_header_stat_broken = yes; then
7553 cat >>confdefs.h <<\_ACEOF
7554 #define STAT_MACROS_BROKEN 1
7555 _ACEOF
7565 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7571 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 else
7573 cat >conftest.$ac_ext <<_ACEOF
7574 /* confdefs.h. */
7575 _ACEOF
7576 cat confdefs.h >>conftest.$ac_ext
7577 cat >>conftest.$ac_ext <<_ACEOF
7578 /* end confdefs.h. */
7579 #include <sys/types.h>
7580 #ifdef HAVE_SYS_PARAM_H
7581 # include <sys/param.h>
7582 #endif
7584 #include <$ac_header>
7585 _ACEOF
7586 rm -f conftest.$ac_objext
7587 if { (ac_try="$ac_compile"
7588 case "(($ac_try" in
7589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7590 *) ac_try_echo=$ac_try;;
7591 esac
7592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7593 (eval "$ac_compile") 2>conftest.er1
7594 ac_status=$?
7595 grep -v '^ *+' conftest.er1 >conftest.err
7596 rm -f conftest.er1
7597 cat conftest.err >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); } && {
7600 test -z "$ac_c_werror_flag" ||
7601 test ! -s conftest.err
7602 } && test -s conftest.$ac_objext; then
7603 eval "$as_ac_Header=yes"
7604 else
7605 echo "$as_me: failed program was:" >&5
7606 sed 's/^/| /' conftest.$ac_ext >&5
7608 eval "$as_ac_Header=no"
7611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7613 ac_res=`eval echo '${'$as_ac_Header'}'`
7614 { echo "$as_me:$LINENO: result: $ac_res" >&5
7615 echo "${ECHO_T}$ac_res" >&6; }
7616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7617 cat >>confdefs.h <<_ACEOF
7618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7619 _ACEOF
7623 done
7638 for ac_header in \
7639 netinet/ip.h \
7640 net/if.h \
7641 net/if_arp.h \
7642 net/if_dl.h \
7643 net/if_types.h \
7644 net/route.h \
7645 netinet/if_ether.h \
7646 netinet/in_pcb.h \
7647 netinet/ip_icmp.h \
7648 netinet/ip_var.h \
7649 netinet/udp.h \
7650 netipx/ipx.h \
7653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7654 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7657 echo $ECHO_N "(cached) $ECHO_C" >&6
7658 else
7659 cat >conftest.$ac_ext <<_ACEOF
7660 /* confdefs.h. */
7661 _ACEOF
7662 cat confdefs.h >>conftest.$ac_ext
7663 cat >>conftest.$ac_ext <<_ACEOF
7664 /* end confdefs.h. */
7665 #include <sys/types.h>
7666 #ifdef HAVE_SYS_SOCKET_H
7667 # include <sys/socket.h>
7668 #endif
7669 #ifdef HAVE_SYS_SOCKETVAR_H
7670 # include <sys/socketvar.h>
7671 #endif
7672 #ifdef HAVE_NETINET_IN_H
7673 # include <netinet/in.h>
7674 #endif
7675 #ifdef HAVE_NETINET_IP_H
7676 # include <netinet/ip.h>
7677 #endif
7679 #include <$ac_header>
7680 _ACEOF
7681 rm -f conftest.$ac_objext
7682 if { (ac_try="$ac_compile"
7683 case "(($ac_try" in
7684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7685 *) ac_try_echo=$ac_try;;
7686 esac
7687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7688 (eval "$ac_compile") 2>conftest.er1
7689 ac_status=$?
7690 grep -v '^ *+' conftest.er1 >conftest.err
7691 rm -f conftest.er1
7692 cat conftest.err >&5
7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694 (exit $ac_status); } && {
7695 test -z "$ac_c_werror_flag" ||
7696 test ! -s conftest.err
7697 } && test -s conftest.$ac_objext; then
7698 eval "$as_ac_Header=yes"
7699 else
7700 echo "$as_me: failed program was:" >&5
7701 sed 's/^/| /' conftest.$ac_ext >&5
7703 eval "$as_ac_Header=no"
7706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7708 ac_res=`eval echo '${'$as_ac_Header'}'`
7709 { echo "$as_me:$LINENO: result: $ac_res" >&5
7710 echo "${ECHO_T}$ac_res" >&6; }
7711 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7712 cat >>confdefs.h <<_ACEOF
7713 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7714 _ACEOF
7718 done
7725 for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_timer.h
7727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7731 echo $ECHO_N "(cached) $ECHO_C" >&6
7732 else
7733 cat >conftest.$ac_ext <<_ACEOF
7734 /* confdefs.h. */
7735 _ACEOF
7736 cat confdefs.h >>conftest.$ac_ext
7737 cat >>conftest.$ac_ext <<_ACEOF
7738 /* end confdefs.h. */
7739 #include <sys/types.h>
7740 #ifdef HAVE_ALIAS_H
7741 # include <alias.h>
7742 #endif
7743 #ifdef HAVE_SYS_SOCKET_H
7744 # include <sys/socket.h>
7745 #endif
7746 #ifdef HAVE_SYS_SOCKETVAR_H
7747 # include <sys/socketvar.h>
7748 #endif
7749 #ifdef HAVE_NETINET_IN_H
7750 # include <netinet/in.h>
7751 #endif
7752 #ifdef HAVE_NETINET_IP_H
7753 # include <netinet/ip.h>
7754 #endif
7755 #ifdef HAVE_NETINET_IP_VAR_H
7756 # include <netinet/ip_var.h>
7757 #endif
7758 #ifdef HAVE_NETINET_IP_ICMP_H
7759 # include <netinet/ip_icmp.h>
7760 #endif
7761 #ifdef HAVE_NETINET_UDP_H
7762 # include <netinet/udp.h>
7763 #endif
7764 #ifdef HAVE_NETINET_TCP_H
7765 # include <netinet/tcp.h>
7766 #endif
7768 #include <$ac_header>
7769 _ACEOF
7770 rm -f conftest.$ac_objext
7771 if { (ac_try="$ac_compile"
7772 case "(($ac_try" in
7773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7774 *) ac_try_echo=$ac_try;;
7775 esac
7776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7777 (eval "$ac_compile") 2>conftest.er1
7778 ac_status=$?
7779 grep -v '^ *+' conftest.er1 >conftest.err
7780 rm -f conftest.er1
7781 cat conftest.err >&5
7782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783 (exit $ac_status); } && {
7784 test -z "$ac_c_werror_flag" ||
7785 test ! -s conftest.err
7786 } && test -s conftest.$ac_objext; then
7787 eval "$as_ac_Header=yes"
7788 else
7789 echo "$as_me: failed program was:" >&5
7790 sed 's/^/| /' conftest.$ac_ext >&5
7792 eval "$as_ac_Header=no"
7795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7797 ac_res=`eval echo '${'$as_ac_Header'}'`
7798 { echo "$as_me:$LINENO: result: $ac_res" >&5
7799 echo "${ECHO_T}$ac_res" >&6; }
7800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7801 cat >>confdefs.h <<_ACEOF
7802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7803 _ACEOF
7807 done
7811 for ac_header in linux/ipx.h
7813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7814 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 else
7819 cat >conftest.$ac_ext <<_ACEOF
7820 /* confdefs.h. */
7821 _ACEOF
7822 cat confdefs.h >>conftest.$ac_ext
7823 cat >>conftest.$ac_ext <<_ACEOF
7824 /* end confdefs.h. */
7825 #include <sys/types.h>
7826 #ifdef HAVE_ASM_TYPES_H
7827 # include <asm/types.h>
7828 #endif
7829 #ifdef HAVE_SYS_SOCKET_H
7830 # include <sys/socket.h>
7831 #endif
7833 #include <$ac_header>
7834 _ACEOF
7835 rm -f conftest.$ac_objext
7836 if { (ac_try="$ac_compile"
7837 case "(($ac_try" in
7838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7839 *) ac_try_echo=$ac_try;;
7840 esac
7841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7842 (eval "$ac_compile") 2>conftest.er1
7843 ac_status=$?
7844 grep -v '^ *+' conftest.er1 >conftest.err
7845 rm -f conftest.er1
7846 cat conftest.err >&5
7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 (exit $ac_status); } && {
7849 test -z "$ac_c_werror_flag" ||
7850 test ! -s conftest.err
7851 } && test -s conftest.$ac_objext; then
7852 eval "$as_ac_Header=yes"
7853 else
7854 echo "$as_me: failed program was:" >&5
7855 sed 's/^/| /' conftest.$ac_ext >&5
7857 eval "$as_ac_Header=no"
7860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7862 ac_res=`eval echo '${'$as_ac_Header'}'`
7863 { echo "$as_me:$LINENO: result: $ac_res" >&5
7864 echo "${ECHO_T}$ac_res" >&6; }
7865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7866 cat >>confdefs.h <<_ACEOF
7867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7868 _ACEOF
7872 done
7876 for ac_header in resolv.h
7878 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7879 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7882 echo $ECHO_N "(cached) $ECHO_C" >&6
7883 else
7884 cat >conftest.$ac_ext <<_ACEOF
7885 /* confdefs.h. */
7886 _ACEOF
7887 cat confdefs.h >>conftest.$ac_ext
7888 cat >>conftest.$ac_ext <<_ACEOF
7889 /* end confdefs.h. */
7890 #include <sys/types.h>
7891 #ifdef HAVE_SYS_SOCKET_H
7892 # include <sys/socket.h>
7893 #endif
7894 #ifdef HAVE_NETINET_IN_H
7895 # include <netinet/in.h>
7896 #endif
7897 #ifdef HAVE_ARPA_NAMESER_H
7898 # include <arpa/nameser.h>
7899 #endif
7901 #include <$ac_header>
7902 _ACEOF
7903 rm -f conftest.$ac_objext
7904 if { (ac_try="$ac_compile"
7905 case "(($ac_try" in
7906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7907 *) ac_try_echo=$ac_try;;
7908 esac
7909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7910 (eval "$ac_compile") 2>conftest.er1
7911 ac_status=$?
7912 grep -v '^ *+' conftest.er1 >conftest.err
7913 rm -f conftest.er1
7914 cat conftest.err >&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); } && {
7917 test -z "$ac_c_werror_flag" ||
7918 test ! -s conftest.err
7919 } && test -s conftest.$ac_objext; then
7920 eval "$as_ac_Header=yes"
7921 else
7922 echo "$as_me: failed program was:" >&5
7923 sed 's/^/| /' conftest.$ac_ext >&5
7925 eval "$as_ac_Header=no"
7928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7930 ac_res=`eval echo '${'$as_ac_Header'}'`
7931 { echo "$as_me:$LINENO: result: $ac_res" >&5
7932 echo "${ECHO_T}$ac_res" >&6; }
7933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7934 cat >>confdefs.h <<_ACEOF
7935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7936 _ACEOF
7940 done
7944 for ac_header in ucontext.h
7946 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7947 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7950 echo $ECHO_N "(cached) $ECHO_C" >&6
7951 else
7952 cat >conftest.$ac_ext <<_ACEOF
7953 /* confdefs.h. */
7954 _ACEOF
7955 cat confdefs.h >>conftest.$ac_ext
7956 cat >>conftest.$ac_ext <<_ACEOF
7957 /* end confdefs.h. */
7958 #include <signal.h>
7960 #include <$ac_header>
7961 _ACEOF
7962 rm -f conftest.$ac_objext
7963 if { (ac_try="$ac_compile"
7964 case "(($ac_try" in
7965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7966 *) ac_try_echo=$ac_try;;
7967 esac
7968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7969 (eval "$ac_compile") 2>conftest.er1
7970 ac_status=$?
7971 grep -v '^ *+' conftest.er1 >conftest.err
7972 rm -f conftest.er1
7973 cat conftest.err >&5
7974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975 (exit $ac_status); } && {
7976 test -z "$ac_c_werror_flag" ||
7977 test ! -s conftest.err
7978 } && test -s conftest.$ac_objext; then
7979 eval "$as_ac_Header=yes"
7980 else
7981 echo "$as_me: failed program was:" >&5
7982 sed 's/^/| /' conftest.$ac_ext >&5
7984 eval "$as_ac_Header=no"
7987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7989 ac_res=`eval echo '${'$as_ac_Header'}'`
7990 { echo "$as_me:$LINENO: result: $ac_res" >&5
7991 echo "${ECHO_T}$ac_res" >&6; }
7992 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7993 cat >>confdefs.h <<_ACEOF
7994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7995 _ACEOF
7999 done
8003 for ac_header in sys/thr.h
8005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8006 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8010 else
8011 cat >conftest.$ac_ext <<_ACEOF
8012 /* confdefs.h. */
8013 _ACEOF
8014 cat confdefs.h >>conftest.$ac_ext
8015 cat >>conftest.$ac_ext <<_ACEOF
8016 /* end confdefs.h. */
8017 #include <sys/types.h>
8018 #ifdef HAVE_UCONTEXT_H
8019 #include <ucontext.h>
8020 #endif
8022 #include <$ac_header>
8023 _ACEOF
8024 rm -f conftest.$ac_objext
8025 if { (ac_try="$ac_compile"
8026 case "(($ac_try" in
8027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8028 *) ac_try_echo=$ac_try;;
8029 esac
8030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8031 (eval "$ac_compile") 2>conftest.er1
8032 ac_status=$?
8033 grep -v '^ *+' conftest.er1 >conftest.err
8034 rm -f conftest.er1
8035 cat conftest.err >&5
8036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8037 (exit $ac_status); } && {
8038 test -z "$ac_c_werror_flag" ||
8039 test ! -s conftest.err
8040 } && test -s conftest.$ac_objext; then
8041 eval "$as_ac_Header=yes"
8042 else
8043 echo "$as_me: failed program was:" >&5
8044 sed 's/^/| /' conftest.$ac_ext >&5
8046 eval "$as_ac_Header=no"
8049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8051 ac_res=`eval echo '${'$as_ac_Header'}'`
8052 { echo "$as_me:$LINENO: result: $ac_res" >&5
8053 echo "${ECHO_T}$ac_res" >&6; }
8054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8055 cat >>confdefs.h <<_ACEOF
8056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8057 _ACEOF
8061 done
8065 for ac_header in pthread_np.h
8067 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8068 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8070 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8071 echo $ECHO_N "(cached) $ECHO_C" >&6
8072 else
8073 cat >conftest.$ac_ext <<_ACEOF
8074 /* confdefs.h. */
8075 _ACEOF
8076 cat confdefs.h >>conftest.$ac_ext
8077 cat >>conftest.$ac_ext <<_ACEOF
8078 /* end confdefs.h. */
8079 #ifdef HAVE_PTHREAD_H
8080 #include <pthread.h>
8081 #endif
8083 #include <$ac_header>
8084 _ACEOF
8085 rm -f conftest.$ac_objext
8086 if { (ac_try="$ac_compile"
8087 case "(($ac_try" in
8088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8089 *) ac_try_echo=$ac_try;;
8090 esac
8091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8092 (eval "$ac_compile") 2>conftest.er1
8093 ac_status=$?
8094 grep -v '^ *+' conftest.er1 >conftest.err
8095 rm -f conftest.er1
8096 cat conftest.err >&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); } && {
8099 test -z "$ac_c_werror_flag" ||
8100 test ! -s conftest.err
8101 } && test -s conftest.$ac_objext; then
8102 eval "$as_ac_Header=yes"
8103 else
8104 echo "$as_me: failed program was:" >&5
8105 sed 's/^/| /' conftest.$ac_ext >&5
8107 eval "$as_ac_Header=no"
8110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8112 ac_res=`eval echo '${'$as_ac_Header'}'`
8113 { echo "$as_me:$LINENO: result: $ac_res" >&5
8114 echo "${ECHO_T}$ac_res" >&6; }
8115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8116 cat >>confdefs.h <<_ACEOF
8117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8118 _ACEOF
8122 done
8126 for ac_header in linux/videodev.h
8128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8129 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 else
8134 cat >conftest.$ac_ext <<_ACEOF
8135 /* confdefs.h. */
8136 _ACEOF
8137 cat confdefs.h >>conftest.$ac_ext
8138 cat >>conftest.$ac_ext <<_ACEOF
8139 /* end confdefs.h. */
8140 #ifdef HAVE_SYS_TIME_H
8141 #include <sys/time.h>
8142 #endif
8143 #include <sys/types.h>
8144 #ifdef HAVE_ASM_TYPES_H
8145 #include <asm/types.h>
8146 #endif
8148 #include <$ac_header>
8149 _ACEOF
8150 rm -f conftest.$ac_objext
8151 if { (ac_try="$ac_compile"
8152 case "(($ac_try" in
8153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8154 *) ac_try_echo=$ac_try;;
8155 esac
8156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8157 (eval "$ac_compile") 2>conftest.er1
8158 ac_status=$?
8159 grep -v '^ *+' conftest.er1 >conftest.err
8160 rm -f conftest.er1
8161 cat conftest.err >&5
8162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8163 (exit $ac_status); } && {
8164 test -z "$ac_c_werror_flag" ||
8165 test ! -s conftest.err
8166 } && test -s conftest.$ac_objext; then
8167 eval "$as_ac_Header=yes"
8168 else
8169 echo "$as_me: failed program was:" >&5
8170 sed 's/^/| /' conftest.$ac_ext >&5
8172 eval "$as_ac_Header=no"
8175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8177 ac_res=`eval echo '${'$as_ac_Header'}'`
8178 { echo "$as_me:$LINENO: result: $ac_res" >&5
8179 echo "${ECHO_T}$ac_res" >&6; }
8180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8181 cat >>confdefs.h <<_ACEOF
8182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8183 _ACEOF
8187 done
8191 for ac_header in linux/capi.h
8193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8194 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8197 echo $ECHO_N "(cached) $ECHO_C" >&6
8198 else
8199 cat >conftest.$ac_ext <<_ACEOF
8200 /* confdefs.h. */
8201 _ACEOF
8202 cat confdefs.h >>conftest.$ac_ext
8203 cat >>conftest.$ac_ext <<_ACEOF
8204 /* end confdefs.h. */
8205 #define __user
8207 #include <$ac_header>
8208 _ACEOF
8209 rm -f conftest.$ac_objext
8210 if { (ac_try="$ac_compile"
8211 case "(($ac_try" in
8212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8213 *) ac_try_echo=$ac_try;;
8214 esac
8215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8216 (eval "$ac_compile") 2>conftest.er1
8217 ac_status=$?
8218 grep -v '^ *+' conftest.er1 >conftest.err
8219 rm -f conftest.er1
8220 cat conftest.err >&5
8221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222 (exit $ac_status); } && {
8223 test -z "$ac_c_werror_flag" ||
8224 test ! -s conftest.err
8225 } && test -s conftest.$ac_objext; then
8226 eval "$as_ac_Header=yes"
8227 else
8228 echo "$as_me: failed program was:" >&5
8229 sed 's/^/| /' conftest.$ac_ext >&5
8231 eval "$as_ac_Header=no"
8234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8236 ac_res=`eval echo '${'$as_ac_Header'}'`
8237 { echo "$as_me:$LINENO: result: $ac_res" >&5
8238 echo "${ECHO_T}$ac_res" >&6; }
8239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8240 cat >>confdefs.h <<_ACEOF
8241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8242 _ACEOF
8246 done
8250 DLLEXT=""
8252 DLLFLAGS="-D_REENTRANT"
8254 LDSHARED=""
8256 LDDLLFLAGS=""
8258 LIBEXT="so"
8260 IMPLIBEXT="def"
8262 LDRPATH_INSTALL=""
8264 LDRPATH_LOCAL=""
8266 # Extract the first word of "ldd", so it can be a program name with args.
8267 set dummy ldd; ac_word=$2
8268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8270 if test "${ac_cv_path_LDD+set}" = set; then
8271 echo $ECHO_N "(cached) $ECHO_C" >&6
8272 else
8273 case $LDD in
8274 [\\/]* | ?:[\\/]*)
8275 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8279 as_dummy="/sbin:/usr/sbin:$PATH"
8280 for as_dir in $as_dummy
8282 IFS=$as_save_IFS
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 break 2
8290 done
8291 done
8292 IFS=$as_save_IFS
8294 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8296 esac
8298 LDD=$ac_cv_path_LDD
8299 if test -n "$LDD"; then
8300 { echo "$as_me:$LINENO: result: $LDD" >&5
8301 echo "${ECHO_T}$LDD" >&6; }
8302 else
8303 { echo "$as_me:$LINENO: result: no" >&5
8304 echo "${ECHO_T}no" >&6; }
8309 case $host_os in
8310 cygwin*|mingw32*)
8311 if test -n "$ac_tool_prefix"; then
8312 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8313 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8316 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8317 echo $ECHO_N "(cached) $ECHO_C" >&6
8318 else
8319 if test -n "$DLLTOOL"; then
8320 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8321 else
8322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8323 for as_dir in $PATH
8325 IFS=$as_save_IFS
8326 test -z "$as_dir" && as_dir=.
8327 for ac_exec_ext in '' $ac_executable_extensions; do
8328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8329 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8331 break 2
8333 done
8334 done
8335 IFS=$as_save_IFS
8339 DLLTOOL=$ac_cv_prog_DLLTOOL
8340 if test -n "$DLLTOOL"; then
8341 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8342 echo "${ECHO_T}$DLLTOOL" >&6; }
8343 else
8344 { echo "$as_me:$LINENO: result: no" >&5
8345 echo "${ECHO_T}no" >&6; }
8350 if test -z "$ac_cv_prog_DLLTOOL"; then
8351 ac_ct_DLLTOOL=$DLLTOOL
8352 # Extract the first word of "dlltool", so it can be a program name with args.
8353 set dummy dlltool; ac_word=$2
8354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8356 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8357 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 else
8359 if test -n "$ac_ct_DLLTOOL"; then
8360 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8361 else
8362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8363 for as_dir in $PATH
8365 IFS=$as_save_IFS
8366 test -z "$as_dir" && as_dir=.
8367 for ac_exec_ext in '' $ac_executable_extensions; do
8368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8369 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8371 break 2
8373 done
8374 done
8375 IFS=$as_save_IFS
8379 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8380 if test -n "$ac_ct_DLLTOOL"; then
8381 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8382 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8383 else
8384 { echo "$as_me:$LINENO: result: no" >&5
8385 echo "${ECHO_T}no" >&6; }
8388 if test "x$ac_ct_DLLTOOL" = x; then
8389 DLLTOOL="false"
8390 else
8391 case $cross_compiling:$ac_tool_warned in
8392 yes:)
8393 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8394 whose name does not start with the host triplet. If you think this
8395 configuration is useful to you, please write to autoconf@gnu.org." >&5
8396 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8397 whose name does not start with the host triplet. If you think this
8398 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8399 ac_tool_warned=yes ;;
8400 esac
8401 DLLTOOL=$ac_ct_DLLTOOL
8403 else
8404 DLLTOOL="$ac_cv_prog_DLLTOOL"
8407 if test -n "$ac_tool_prefix"; then
8408 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8409 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8412 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8414 else
8415 if test -n "$DLLWRAP"; then
8416 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8417 else
8418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8419 for as_dir in $PATH
8421 IFS=$as_save_IFS
8422 test -z "$as_dir" && as_dir=.
8423 for ac_exec_ext in '' $ac_executable_extensions; do
8424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8425 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8427 break 2
8429 done
8430 done
8431 IFS=$as_save_IFS
8435 DLLWRAP=$ac_cv_prog_DLLWRAP
8436 if test -n "$DLLWRAP"; then
8437 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8438 echo "${ECHO_T}$DLLWRAP" >&6; }
8439 else
8440 { echo "$as_me:$LINENO: result: no" >&5
8441 echo "${ECHO_T}no" >&6; }
8446 if test -z "$ac_cv_prog_DLLWRAP"; then
8447 ac_ct_DLLWRAP=$DLLWRAP
8448 # Extract the first word of "dllwrap", so it can be a program name with args.
8449 set dummy dllwrap; ac_word=$2
8450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8452 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8454 else
8455 if test -n "$ac_ct_DLLWRAP"; then
8456 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8457 else
8458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8459 for as_dir in $PATH
8461 IFS=$as_save_IFS
8462 test -z "$as_dir" && as_dir=.
8463 for ac_exec_ext in '' $ac_executable_extensions; do
8464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8465 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8467 break 2
8469 done
8470 done
8471 IFS=$as_save_IFS
8475 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8476 if test -n "$ac_ct_DLLWRAP"; then
8477 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8478 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8479 else
8480 { echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6; }
8484 if test "x$ac_ct_DLLWRAP" = x; then
8485 DLLWRAP="false"
8486 else
8487 case $cross_compiling:$ac_tool_warned in
8488 yes:)
8489 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8490 whose name does not start with the host triplet. If you think this
8491 configuration is useful to you, please write to autoconf@gnu.org." >&5
8492 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8493 whose name does not start with the host triplet. If you think this
8494 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8495 ac_tool_warned=yes ;;
8496 esac
8497 DLLWRAP=$ac_ct_DLLWRAP
8499 else
8500 DLLWRAP="$ac_cv_prog_DLLWRAP"
8503 if test -n "$ac_tool_prefix"; then
8504 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8505 set dummy ${ac_tool_prefix}ar; ac_word=$2
8506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8508 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8509 echo $ECHO_N "(cached) $ECHO_C" >&6
8510 else
8511 if test -n "$MINGWAR"; then
8512 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8513 else
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8515 for as_dir in $PATH
8517 IFS=$as_save_IFS
8518 test -z "$as_dir" && as_dir=.
8519 for ac_exec_ext in '' $ac_executable_extensions; do
8520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8521 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8523 break 2
8525 done
8526 done
8527 IFS=$as_save_IFS
8531 MINGWAR=$ac_cv_prog_MINGWAR
8532 if test -n "$MINGWAR"; then
8533 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8534 echo "${ECHO_T}$MINGWAR" >&6; }
8535 else
8536 { echo "$as_me:$LINENO: result: no" >&5
8537 echo "${ECHO_T}no" >&6; }
8542 if test -z "$ac_cv_prog_MINGWAR"; then
8543 ac_ct_MINGWAR=$MINGWAR
8544 # Extract the first word of "ar", so it can be a program name with args.
8545 set dummy ar; ac_word=$2
8546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8548 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8550 else
8551 if test -n "$ac_ct_MINGWAR"; then
8552 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8553 else
8554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8555 for as_dir in $PATH
8557 IFS=$as_save_IFS
8558 test -z "$as_dir" && as_dir=.
8559 for ac_exec_ext in '' $ac_executable_extensions; do
8560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8561 ac_cv_prog_ac_ct_MINGWAR="ar"
8562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8563 break 2
8565 done
8566 done
8567 IFS=$as_save_IFS
8571 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8572 if test -n "$ac_ct_MINGWAR"; then
8573 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8574 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8575 else
8576 { echo "$as_me:$LINENO: result: no" >&5
8577 echo "${ECHO_T}no" >&6; }
8580 if test "x$ac_ct_MINGWAR" = x; then
8581 MINGWAR="false"
8582 else
8583 case $cross_compiling:$ac_tool_warned in
8584 yes:)
8585 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8586 whose name does not start with the host triplet. If you think this
8587 configuration is useful to you, please write to autoconf@gnu.org." >&5
8588 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8589 whose name does not start with the host triplet. If you think this
8590 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8591 ac_tool_warned=yes ;;
8592 esac
8593 MINGWAR=$ac_ct_MINGWAR
8595 else
8596 MINGWAR="$ac_cv_prog_MINGWAR"
8599 if test "$DLLWRAP" = "false"; then
8600 LIBEXT="a"
8601 else
8602 LIBEXT="dll"
8604 IMPLIBEXT="a"
8605 WIN16_FILES=""
8606 WIN16_INSTALL=""
8608 darwin*|macosx*)
8609 DLLEXT=".so"
8610 LIBEXT="dylib"
8611 DLLFLAGS="$DLLFLAGS -fPIC"
8612 LDDLLFLAGS="-bundle -multiply_defined suppress"
8613 LIBWINE_LDFLAGS="-multiply_defined suppress"
8614 LDSHARED="\$(CC) -dynamiclib"
8615 STRIP="$STRIP -x"
8616 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8617 SECURITYLIB="-framework Security -framework CoreFoundation"
8619 COREFOUNDATIONLIB="-framework CoreFoundation"
8621 IOKITLIB="-framework IOKit -framework CoreFoundation"
8623 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8625 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8626 then
8627 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8630 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8631 then
8632 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8635 case $host_cpu in
8636 *powerpc*)
8637 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8638 esac
8639 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8640 then
8641 CARBONLIB="-framework Carbon"
8643 QUARTZFILES='$(QUARTZFILES)'
8647 DLLFLAGS="$DLLFLAGS -fPIC"
8648 DLLEXT=".so"
8649 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8650 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8651 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8652 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 else
8654 ac_wine_try_cflags_saved=$CFLAGS
8655 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8656 cat >conftest.$ac_ext <<_ACEOF
8657 void myfunc() {}
8658 _ACEOF
8659 rm -f conftest.$ac_objext conftest$ac_exeext
8660 if { (ac_try="$ac_link"
8661 case "(($ac_try" in
8662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8663 *) ac_try_echo=$ac_try;;
8664 esac
8665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8666 (eval "$ac_link") 2>conftest.er1
8667 ac_status=$?
8668 grep -v '^ *+' conftest.er1 >conftest.err
8669 rm -f conftest.er1
8670 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } && {
8673 test -z "$ac_c_werror_flag" ||
8674 test ! -s conftest.err
8675 } && test -s conftest$ac_exeext &&
8676 $as_test_x conftest$ac_exeext; then
8677 ac_cv_c_dll_gnuelf="yes"
8678 else
8679 echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.$ac_ext >&5
8682 ac_cv_c_dll_gnuelf="no"
8685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8686 conftest$ac_exeext conftest.$ac_ext
8687 CFLAGS=$ac_wine_try_cflags_saved
8689 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8690 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8691 if test "$ac_cv_c_dll_gnuelf" = "yes"
8692 then
8693 LDSHARED="\$(CC) -shared"
8694 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8695 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8696 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8697 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8702 cat >conftest.$ac_ext <<_ACEOF
8703 /* confdefs.h. */
8704 _ACEOF
8705 cat confdefs.h >>conftest.$ac_ext
8706 cat >>conftest.$ac_ext <<_ACEOF
8707 /* end confdefs.h. */
8710 main ()
8714 return 0;
8716 _ACEOF
8717 rm -f conftest.$ac_objext conftest$ac_exeext
8718 if { (ac_try="$ac_link"
8719 case "(($ac_try" in
8720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8721 *) ac_try_echo=$ac_try;;
8722 esac
8723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8724 (eval "$ac_link") 2>conftest.er1
8725 ac_status=$?
8726 grep -v '^ *+' conftest.er1 >conftest.err
8727 rm -f conftest.er1
8728 cat conftest.err >&5
8729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8730 (exit $ac_status); } && {
8731 test -z "$ac_c_werror_flag" ||
8732 test ! -s conftest.err
8733 } && test -s conftest$ac_exeext &&
8734 $as_test_x conftest$ac_exeext; then
8735 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8736 else
8737 echo "$as_me: failed program was:" >&5
8738 sed 's/^/| /' conftest.$ac_ext >&5
8740 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8744 conftest$ac_exeext conftest.$ac_ext
8745 CFLAGS=$ac_wine_try_cflags_saved
8747 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8748 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8749 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8750 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8751 else
8752 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8753 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8754 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 else
8757 ac_wine_try_cflags_saved=$CFLAGS
8758 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8759 cat >conftest.$ac_ext <<_ACEOF
8760 /* confdefs.h. */
8761 _ACEOF
8762 cat confdefs.h >>conftest.$ac_ext
8763 cat >>conftest.$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8767 main ()
8771 return 0;
8773 _ACEOF
8774 rm -f conftest.$ac_objext conftest$ac_exeext
8775 if { (ac_try="$ac_link"
8776 case "(($ac_try" in
8777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8778 *) ac_try_echo=$ac_try;;
8779 esac
8780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8781 (eval "$ac_link") 2>conftest.er1
8782 ac_status=$?
8783 grep -v '^ *+' conftest.er1 >conftest.err
8784 rm -f conftest.er1
8785 cat conftest.err >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); } && {
8788 test -z "$ac_c_werror_flag" ||
8789 test ! -s conftest.err
8790 } && test -s conftest$ac_exeext &&
8791 $as_test_x conftest$ac_exeext; then
8792 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8793 else
8794 echo "$as_me: failed program was:" >&5
8795 sed 's/^/| /' conftest.$ac_ext >&5
8797 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8805 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8806 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8807 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8813 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8814 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8815 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8817 else
8818 ac_wine_try_cflags_saved=$CFLAGS
8819 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8820 cat >conftest.$ac_ext <<_ACEOF
8821 /* confdefs.h. */
8822 _ACEOF
8823 cat confdefs.h >>conftest.$ac_ext
8824 cat >>conftest.$ac_ext <<_ACEOF
8825 /* end confdefs.h. */
8828 main ()
8832 return 0;
8834 _ACEOF
8835 rm -f conftest.$ac_objext conftest$ac_exeext
8836 if { (ac_try="$ac_link"
8837 case "(($ac_try" in
8838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8839 *) ac_try_echo=$ac_try;;
8840 esac
8841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8842 (eval "$ac_link") 2>conftest.er1
8843 ac_status=$?
8844 grep -v '^ *+' conftest.er1 >conftest.err
8845 rm -f conftest.er1
8846 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); } && {
8849 test -z "$ac_c_werror_flag" ||
8850 test ! -s conftest.err
8851 } && test -s conftest$ac_exeext &&
8852 $as_test_x conftest$ac_exeext; then
8853 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8854 else
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8862 conftest$ac_exeext conftest.$ac_ext
8863 CFLAGS=$ac_wine_try_cflags_saved
8865 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8866 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8867 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8868 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8872 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8873 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8874 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8875 echo $ECHO_N "(cached) $ECHO_C" >&6
8876 else
8877 ac_wine_try_cflags_saved=$CFLAGS
8878 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8879 cat >conftest.$ac_ext <<_ACEOF
8880 /* confdefs.h. */
8881 _ACEOF
8882 cat confdefs.h >>conftest.$ac_ext
8883 cat >>conftest.$ac_ext <<_ACEOF
8884 /* end confdefs.h. */
8887 main ()
8891 return 0;
8893 _ACEOF
8894 rm -f conftest.$ac_objext conftest$ac_exeext
8895 if { (ac_try="$ac_link"
8896 case "(($ac_try" in
8897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8898 *) ac_try_echo=$ac_try;;
8899 esac
8900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8901 (eval "$ac_link") 2>conftest.er1
8902 ac_status=$?
8903 grep -v '^ *+' conftest.er1 >conftest.err
8904 rm -f conftest.er1
8905 cat conftest.err >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } && {
8908 test -z "$ac_c_werror_flag" ||
8909 test ! -s conftest.err
8910 } && test -s conftest$ac_exeext &&
8911 $as_test_x conftest$ac_exeext; then
8912 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8913 else
8914 echo "$as_me: failed program was:" >&5
8915 sed 's/^/| /' conftest.$ac_ext >&5
8917 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8921 conftest$ac_exeext conftest.$ac_ext
8922 CFLAGS=$ac_wine_try_cflags_saved
8924 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8925 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8926 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8927 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8931 echo '{ global: *; };' >conftest.map
8932 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8933 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8934 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8935 echo $ECHO_N "(cached) $ECHO_C" >&6
8936 else
8937 ac_wine_try_cflags_saved=$CFLAGS
8938 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8939 cat >conftest.$ac_ext <<_ACEOF
8940 /* confdefs.h. */
8941 _ACEOF
8942 cat confdefs.h >>conftest.$ac_ext
8943 cat >>conftest.$ac_ext <<_ACEOF
8944 /* end confdefs.h. */
8947 main ()
8951 return 0;
8953 _ACEOF
8954 rm -f conftest.$ac_objext conftest$ac_exeext
8955 if { (ac_try="$ac_link"
8956 case "(($ac_try" in
8957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8958 *) ac_try_echo=$ac_try;;
8959 esac
8960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8961 (eval "$ac_link") 2>conftest.er1
8962 ac_status=$?
8963 grep -v '^ *+' conftest.er1 >conftest.err
8964 rm -f conftest.er1
8965 cat conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } && {
8968 test -z "$ac_c_werror_flag" ||
8969 test ! -s conftest.err
8970 } && test -s conftest$ac_exeext &&
8971 $as_test_x conftest$ac_exeext; then
8972 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8973 else
8974 echo "$as_me: failed program was:" >&5
8975 sed 's/^/| /' conftest.$ac_ext >&5
8977 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8981 conftest$ac_exeext conftest.$ac_ext
8982 CFLAGS=$ac_wine_try_cflags_saved
8984 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8985 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8986 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8987 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8990 rm -f conftest.map
8992 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8993 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8994 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 else
8997 ac_wine_try_cflags_saved=$CFLAGS
8998 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8999 cat >conftest.$ac_ext <<_ACEOF
9000 /* confdefs.h. */
9001 _ACEOF
9002 cat confdefs.h >>conftest.$ac_ext
9003 cat >>conftest.$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9007 main ()
9011 return 0;
9013 _ACEOF
9014 rm -f conftest.$ac_objext conftest$ac_exeext
9015 if { (ac_try="$ac_link"
9016 case "(($ac_try" in
9017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9018 *) ac_try_echo=$ac_try;;
9019 esac
9020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9021 (eval "$ac_link") 2>conftest.er1
9022 ac_status=$?
9023 grep -v '^ *+' conftest.er1 >conftest.err
9024 rm -f conftest.er1
9025 cat conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } && {
9028 test -z "$ac_c_werror_flag" ||
9029 test ! -s conftest.err
9030 } && test -s conftest$ac_exeext &&
9031 $as_test_x conftest$ac_exeext; then
9032 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9033 else
9034 echo "$as_me: failed program was:" >&5
9035 sed 's/^/| /' conftest.$ac_ext >&5
9037 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9041 conftest$ac_exeext conftest.$ac_ext
9042 CFLAGS=$ac_wine_try_cflags_saved
9044 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9045 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9046 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
9047 LDEXECFLAGS="-Wl,--export-dynamic"
9052 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
9053 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9054 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
9055 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9056 echo $ECHO_N "(cached) $ECHO_C" >&6
9057 else
9058 ac_wine_try_cflags_saved=$CFLAGS
9059 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9060 cat >conftest.$ac_ext <<_ACEOF
9061 /* confdefs.h. */
9062 _ACEOF
9063 cat confdefs.h >>conftest.$ac_ext
9064 cat >>conftest.$ac_ext <<_ACEOF
9065 /* end confdefs.h. */
9068 main ()
9072 return 0;
9074 _ACEOF
9075 rm -f conftest.$ac_objext conftest$ac_exeext
9076 if { (ac_try="$ac_link"
9077 case "(($ac_try" in
9078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9079 *) ac_try_echo=$ac_try;;
9080 esac
9081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9082 (eval "$ac_link") 2>conftest.er1
9083 ac_status=$?
9084 grep -v '^ *+' conftest.er1 >conftest.err
9085 rm -f conftest.er1
9086 cat conftest.err >&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); } && {
9089 test -z "$ac_c_werror_flag" ||
9090 test ! -s conftest.err
9091 } && test -s conftest$ac_exeext &&
9092 $as_test_x conftest$ac_exeext; then
9093 eval "$as_ac_var=yes"
9094 else
9095 echo "$as_me: failed program was:" >&5
9096 sed 's/^/| /' conftest.$ac_ext >&5
9098 eval "$as_ac_var=no"
9101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9102 conftest$ac_exeext conftest.$ac_ext
9103 CFLAGS=$ac_wine_try_cflags_saved
9105 ac_res=`eval echo '${'$as_ac_var'}'`
9106 { echo "$as_me:$LINENO: result: $ac_res" >&5
9107 echo "${ECHO_T}$ac_res" >&6; }
9108 if test `eval echo '${'$as_ac_var'}'` = yes; then
9109 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9110 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9111 else
9112 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
9113 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9114 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
9115 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 else
9118 ac_wine_try_cflags_saved=$CFLAGS
9119 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9120 cat >conftest.$ac_ext <<_ACEOF
9121 /* confdefs.h. */
9122 _ACEOF
9123 cat confdefs.h >>conftest.$ac_ext
9124 cat >>conftest.$ac_ext <<_ACEOF
9125 /* end confdefs.h. */
9128 main ()
9132 return 0;
9134 _ACEOF
9135 rm -f conftest.$ac_objext conftest$ac_exeext
9136 if { (ac_try="$ac_link"
9137 case "(($ac_try" in
9138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9139 *) ac_try_echo=$ac_try;;
9140 esac
9141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9142 (eval "$ac_link") 2>conftest.er1
9143 ac_status=$?
9144 grep -v '^ *+' conftest.er1 >conftest.err
9145 rm -f conftest.er1
9146 cat conftest.err >&5
9147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9148 (exit $ac_status); } && {
9149 test -z "$ac_c_werror_flag" ||
9150 test ! -s conftest.err
9151 } && test -s conftest$ac_exeext &&
9152 $as_test_x conftest$ac_exeext; then
9153 eval "$as_ac_var=yes"
9154 else
9155 echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.$ac_ext >&5
9158 eval "$as_ac_var=no"
9161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9162 conftest$ac_exeext conftest.$ac_ext
9163 CFLAGS=$ac_wine_try_cflags_saved
9165 ac_res=`eval echo '${'$as_ac_var'}'`
9166 { echo "$as_me:$LINENO: result: $ac_res" >&5
9167 echo "${ECHO_T}$ac_res" >&6; }
9168 if test `eval echo '${'$as_ac_var'}'` = yes; then
9169 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9170 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9176 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9177 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9178 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9180 else
9181 ac_wine_try_cflags_saved=$CFLAGS
9182 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9183 cat >conftest.$ac_ext <<_ACEOF
9184 /* confdefs.h. */
9185 _ACEOF
9186 cat confdefs.h >>conftest.$ac_ext
9187 cat >>conftest.$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9191 main ()
9195 return 0;
9197 _ACEOF
9198 rm -f conftest.$ac_objext conftest$ac_exeext
9199 if { (ac_try="$ac_link"
9200 case "(($ac_try" in
9201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9202 *) ac_try_echo=$ac_try;;
9203 esac
9204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9205 (eval "$ac_link") 2>conftest.er1
9206 ac_status=$?
9207 grep -v '^ *+' conftest.er1 >conftest.err
9208 rm -f conftest.er1
9209 cat conftest.err >&5
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); } && {
9212 test -z "$ac_c_werror_flag" ||
9213 test ! -s conftest.err
9214 } && test -s conftest$ac_exeext &&
9215 $as_test_x conftest$ac_exeext; then
9216 ac_cv_cflags__Wl___enable_new_dtags=yes
9217 else
9218 echo "$as_me: failed program was:" >&5
9219 sed 's/^/| /' conftest.$ac_ext >&5
9221 ac_cv_cflags__Wl___enable_new_dtags=no
9224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9225 conftest$ac_exeext conftest.$ac_ext
9226 CFLAGS=$ac_wine_try_cflags_saved
9228 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9229 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9230 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9231 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9235 case $host_cpu in
9236 *i[3456789]86* | x86_64)
9237 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9238 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9239 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9240 echo $ECHO_N "(cached) $ECHO_C" >&6
9241 else
9242 ac_wine_try_cflags_saved=$CFLAGS
9243 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9244 cat >conftest.$ac_ext <<_ACEOF
9245 /* confdefs.h. */
9246 _ACEOF
9247 cat confdefs.h >>conftest.$ac_ext
9248 cat >>conftest.$ac_ext <<_ACEOF
9249 /* end confdefs.h. */
9252 main ()
9256 return 0;
9258 _ACEOF
9259 rm -f conftest.$ac_objext conftest$ac_exeext
9260 if { (ac_try="$ac_link"
9261 case "(($ac_try" in
9262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9263 *) ac_try_echo=$ac_try;;
9264 esac
9265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9266 (eval "$ac_link") 2>conftest.er1
9267 ac_status=$?
9268 grep -v '^ *+' conftest.er1 >conftest.err
9269 rm -f conftest.er1
9270 cat conftest.err >&5
9271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9272 (exit $ac_status); } && {
9273 test -z "$ac_c_werror_flag" ||
9274 test ! -s conftest.err
9275 } && test -s conftest$ac_exeext &&
9276 $as_test_x conftest$ac_exeext; then
9277 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9278 else
9279 echo "$as_me: failed program was:" >&5
9280 sed 's/^/| /' conftest.$ac_ext >&5
9282 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9286 conftest$ac_exeext conftest.$ac_ext
9287 CFLAGS=$ac_wine_try_cflags_saved
9289 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9290 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9291 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9292 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9296 esac
9298 else
9299 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9300 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9301 if test "${ac_cv_c_dll_unixware+set}" = set; then
9302 echo $ECHO_N "(cached) $ECHO_C" >&6
9303 else
9304 ac_wine_try_cflags_saved=$CFLAGS
9305 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9306 cat >conftest.$ac_ext <<_ACEOF
9307 void myfunc() {}
9308 _ACEOF
9309 rm -f conftest.$ac_objext conftest$ac_exeext
9310 if { (ac_try="$ac_link"
9311 case "(($ac_try" in
9312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9313 *) ac_try_echo=$ac_try;;
9314 esac
9315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9316 (eval "$ac_link") 2>conftest.er1
9317 ac_status=$?
9318 grep -v '^ *+' conftest.er1 >conftest.err
9319 rm -f conftest.er1
9320 cat conftest.err >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } && {
9323 test -z "$ac_c_werror_flag" ||
9324 test ! -s conftest.err
9325 } && test -s conftest$ac_exeext &&
9326 $as_test_x conftest$ac_exeext; then
9327 ac_cv_c_dll_unixware="yes"
9328 else
9329 echo "$as_me: failed program was:" >&5
9330 sed 's/^/| /' conftest.$ac_ext >&5
9332 ac_cv_c_dll_unixware="no"
9335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9336 conftest$ac_exeext conftest.$ac_ext
9337 CFLAGS=$ac_wine_try_cflags_saved
9339 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9340 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9341 if test "$ac_cv_c_dll_unixware" = "yes"
9342 then
9343 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9344 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9346 else
9347 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9348 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9349 if test "${ac_cv_c_dll_hpux+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 else
9352 ac_wine_try_cflags_saved=$CFLAGS
9353 CFLAGS="$CFLAGS -shared"
9354 cat >conftest.$ac_ext <<_ACEOF
9355 void myfunc() {}
9356 _ACEOF
9357 rm -f conftest.$ac_objext conftest$ac_exeext
9358 if { (ac_try="$ac_link"
9359 case "(($ac_try" in
9360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9361 *) ac_try_echo=$ac_try;;
9362 esac
9363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9364 (eval "$ac_link") 2>conftest.er1
9365 ac_status=$?
9366 grep -v '^ *+' conftest.er1 >conftest.err
9367 rm -f conftest.er1
9368 cat conftest.err >&5
9369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370 (exit $ac_status); } && {
9371 test -z "$ac_c_werror_flag" ||
9372 test ! -s conftest.err
9373 } && test -s conftest$ac_exeext &&
9374 $as_test_x conftest$ac_exeext; then
9375 ac_cv_c_dll_hpux="yes"
9376 else
9377 echo "$as_me: failed program was:" >&5
9378 sed 's/^/| /' conftest.$ac_ext >&5
9380 ac_cv_c_dll_hpux="no"
9383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9384 conftest$ac_exeext conftest.$ac_ext
9385 CFLAGS=$ac_wine_try_cflags_saved
9387 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9388 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9389 if test "$ac_cv_c_dll_hpux" = "yes"
9390 then
9391 LIBEXT="sl"
9392 DLLEXT=".sl"
9393 LDDLLFLAGS="-shared -fPIC"
9394 LDSHARED="\$(CC) -shared"
9399 CROSSTEST=""
9401 if test "$cross_compiling" = "no"
9402 then
9403 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9405 # Extract the first word of "$ac_prog", so it can be a program name with args.
9406 set dummy $ac_prog; ac_word=$2
9407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9409 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9410 echo $ECHO_N "(cached) $ECHO_C" >&6
9411 else
9412 if test -n "$CROSSCC"; then
9413 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9414 else
9415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9416 for as_dir in $PATH
9418 IFS=$as_save_IFS
9419 test -z "$as_dir" && as_dir=.
9420 for ac_exec_ext in '' $ac_executable_extensions; do
9421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9422 ac_cv_prog_CROSSCC="$ac_prog"
9423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9424 break 2
9426 done
9427 done
9428 IFS=$as_save_IFS
9432 CROSSCC=$ac_cv_prog_CROSSCC
9433 if test -n "$CROSSCC"; then
9434 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9435 echo "${ECHO_T}$CROSSCC" >&6; }
9436 else
9437 { echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6; }
9442 test -n "$CROSSCC" && break
9443 done
9444 test -n "$CROSSCC" || CROSSCC="false"
9446 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9448 # Extract the first word of "$ac_prog", so it can be a program name with args.
9449 set dummy $ac_prog; ac_word=$2
9450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9452 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9453 echo $ECHO_N "(cached) $ECHO_C" >&6
9454 else
9455 if test -n "$DLLTOOL"; then
9456 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9457 else
9458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9459 for as_dir in $PATH
9461 IFS=$as_save_IFS
9462 test -z "$as_dir" && as_dir=.
9463 for ac_exec_ext in '' $ac_executable_extensions; do
9464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9465 ac_cv_prog_DLLTOOL="$ac_prog"
9466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9467 break 2
9469 done
9470 done
9471 IFS=$as_save_IFS
9475 DLLTOOL=$ac_cv_prog_DLLTOOL
9476 if test -n "$DLLTOOL"; then
9477 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9478 echo "${ECHO_T}$DLLTOOL" >&6; }
9479 else
9480 { echo "$as_me:$LINENO: result: no" >&5
9481 echo "${ECHO_T}no" >&6; }
9485 test -n "$DLLTOOL" && break
9486 done
9487 test -n "$DLLTOOL" || DLLTOOL="false"
9489 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9491 # Extract the first word of "$ac_prog", so it can be a program name with args.
9492 set dummy $ac_prog; ac_word=$2
9493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9495 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 else
9498 if test -n "$CROSSWINDRES"; then
9499 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9500 else
9501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9502 for as_dir in $PATH
9504 IFS=$as_save_IFS
9505 test -z "$as_dir" && as_dir=.
9506 for ac_exec_ext in '' $ac_executable_extensions; do
9507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9508 ac_cv_prog_CROSSWINDRES="$ac_prog"
9509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9510 break 2
9512 done
9513 done
9514 IFS=$as_save_IFS
9518 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9519 if test -n "$CROSSWINDRES"; then
9520 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9521 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9522 else
9523 { echo "$as_me:$LINENO: result: no" >&5
9524 echo "${ECHO_T}no" >&6; }
9528 test -n "$CROSSWINDRES" && break
9529 done
9530 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9532 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9534 # Extract the first word of "$ac_prog", so it can be a program name with args.
9535 set dummy $ac_prog; ac_word=$2
9536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9538 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9539 echo $ECHO_N "(cached) $ECHO_C" >&6
9540 else
9541 if test -n "$MINGWAR"; then
9542 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9543 else
9544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9545 for as_dir in $PATH
9547 IFS=$as_save_IFS
9548 test -z "$as_dir" && as_dir=.
9549 for ac_exec_ext in '' $ac_executable_extensions; do
9550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9551 ac_cv_prog_MINGWAR="$ac_prog"
9552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9553 break 2
9555 done
9556 done
9557 IFS=$as_save_IFS
9561 MINGWAR=$ac_cv_prog_MINGWAR
9562 if test -n "$MINGWAR"; then
9563 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9564 echo "${ECHO_T}$MINGWAR" >&6; }
9565 else
9566 { echo "$as_me:$LINENO: result: no" >&5
9567 echo "${ECHO_T}no" >&6; }
9571 test -n "$MINGWAR" && break
9572 done
9573 test -n "$MINGWAR" || MINGWAR="false"
9575 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9578 esac
9580 if test "$LIBEXT" = "a"; then
9581 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9582 It is currently not possible to build Wine without shared library
9583 (.so) support to allow transparent switch between .so and .dll files.
9584 If you are using Linux, you will need a newer binutils.
9585 " >&5
9586 echo "$as_me: error: could not find a way to build shared libraries.
9587 It is currently not possible to build Wine without shared library
9588 (.so) support to allow transparent switch between .so and .dll files.
9589 If you are using Linux, you will need a newer binutils.
9590 " >&2;}
9591 { (exit 1); exit 1; }; }
9595 if test "$have_x" = "yes"
9596 then
9597 XLIB="-lXext -lX11"
9598 ac_save_CPPFLAGS="$CPPFLAGS"
9599 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9601 { echo "$as_me:$LINENO: checking for -lX11" >&5
9602 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9603 if test "${ac_cv_lib_soname_X11+set}" = set; then
9604 echo $ECHO_N "(cached) $ECHO_C" >&6
9605 else
9606 ac_check_soname_save_LIBS=$LIBS
9607 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9608 cat >conftest.$ac_ext <<_ACEOF
9609 /* confdefs.h. */
9610 _ACEOF
9611 cat confdefs.h >>conftest.$ac_ext
9612 cat >>conftest.$ac_ext <<_ACEOF
9613 /* end confdefs.h. */
9615 /* Override any GCC internal prototype to avoid an error.
9616 Use char because int might match the return type of a GCC
9617 builtin and then its argument prototype would still apply. */
9618 #ifdef __cplusplus
9619 extern "C"
9620 #endif
9621 char XCreateWindow ();
9623 main ()
9625 return XCreateWindow ();
9627 return 0;
9629 _ACEOF
9630 rm -f conftest.$ac_objext conftest$ac_exeext
9631 if { (ac_try="$ac_link"
9632 case "(($ac_try" in
9633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9634 *) ac_try_echo=$ac_try;;
9635 esac
9636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9637 (eval "$ac_link") 2>conftest.er1
9638 ac_status=$?
9639 grep -v '^ *+' conftest.er1 >conftest.err
9640 rm -f conftest.er1
9641 cat conftest.err >&5
9642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9643 (exit $ac_status); } && {
9644 test -z "$ac_c_werror_flag" ||
9645 test ! -s conftest.err
9646 } && test -s conftest$ac_exeext &&
9647 $as_test_x conftest$ac_exeext; then
9648 case "$LIBEXT" in
9649 dll) ;;
9650 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'` ;;
9651 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9652 esac
9653 else
9654 echo "$as_me: failed program was:" >&5
9655 sed 's/^/| /' conftest.$ac_ext >&5
9660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9661 conftest$ac_exeext conftest.$ac_ext
9662 LIBS=$ac_check_soname_save_LIBS
9664 if test "x$ac_cv_lib_soname_X11" = "x"; then
9665 { echo "$as_me:$LINENO: result: not found" >&5
9666 echo "${ECHO_T}not found" >&6; }
9668 else
9669 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9670 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9672 cat >>confdefs.h <<_ACEOF
9673 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9674 _ACEOF
9679 { echo "$as_me:$LINENO: checking for -lXext" >&5
9680 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9681 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9682 echo $ECHO_N "(cached) $ECHO_C" >&6
9683 else
9684 ac_check_soname_save_LIBS=$LIBS
9685 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9686 cat >conftest.$ac_ext <<_ACEOF
9687 /* confdefs.h. */
9688 _ACEOF
9689 cat confdefs.h >>conftest.$ac_ext
9690 cat >>conftest.$ac_ext <<_ACEOF
9691 /* end confdefs.h. */
9693 /* Override any GCC internal prototype to avoid an error.
9694 Use char because int might match the return type of a GCC
9695 builtin and then its argument prototype would still apply. */
9696 #ifdef __cplusplus
9697 extern "C"
9698 #endif
9699 char XextCreateExtension ();
9701 main ()
9703 return XextCreateExtension ();
9705 return 0;
9707 _ACEOF
9708 rm -f conftest.$ac_objext conftest$ac_exeext
9709 if { (ac_try="$ac_link"
9710 case "(($ac_try" in
9711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9712 *) ac_try_echo=$ac_try;;
9713 esac
9714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9715 (eval "$ac_link") 2>conftest.er1
9716 ac_status=$?
9717 grep -v '^ *+' conftest.er1 >conftest.err
9718 rm -f conftest.er1
9719 cat conftest.err >&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } && {
9722 test -z "$ac_c_werror_flag" ||
9723 test ! -s conftest.err
9724 } && test -s conftest$ac_exeext &&
9725 $as_test_x conftest$ac_exeext; then
9726 case "$LIBEXT" in
9727 dll) ;;
9728 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'` ;;
9729 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9730 esac
9731 else
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.$ac_ext >&5
9738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9739 conftest$ac_exeext conftest.$ac_ext
9740 LIBS=$ac_check_soname_save_LIBS
9742 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9743 { echo "$as_me:$LINENO: result: not found" >&5
9744 echo "${ECHO_T}not found" >&6; }
9746 else
9747 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9748 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9750 cat >>confdefs.h <<_ACEOF
9751 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9752 _ACEOF
9770 for ac_header in X11/Xlib.h \
9771 X11/XKBlib.h \
9772 X11/Xutil.h \
9773 X11/Xcursor/Xcursor.h \
9774 X11/extensions/shape.h \
9775 X11/extensions/XInput.h \
9776 X11/extensions/XShm.h \
9777 X11/extensions/Xcomposite.h \
9778 X11/extensions/Xinerama.h \
9779 X11/extensions/Xrandr.h \
9780 X11/extensions/Xrender.h \
9781 X11/extensions/xf86vmode.h
9783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9784 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9787 echo $ECHO_N "(cached) $ECHO_C" >&6
9788 else
9789 cat >conftest.$ac_ext <<_ACEOF
9790 /* confdefs.h. */
9791 _ACEOF
9792 cat confdefs.h >>conftest.$ac_ext
9793 cat >>conftest.$ac_ext <<_ACEOF
9794 /* end confdefs.h. */
9795 #ifdef HAVE_X11_XLIB_H
9796 # include <X11/Xlib.h>
9797 #endif
9798 #ifdef HAVE_X11_XUTIL_H
9799 # include <X11/Xutil.h>
9800 #endif
9802 #include <$ac_header>
9803 _ACEOF
9804 rm -f conftest.$ac_objext
9805 if { (ac_try="$ac_compile"
9806 case "(($ac_try" in
9807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9808 *) ac_try_echo=$ac_try;;
9809 esac
9810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9811 (eval "$ac_compile") 2>conftest.er1
9812 ac_status=$?
9813 grep -v '^ *+' conftest.er1 >conftest.err
9814 rm -f conftest.er1
9815 cat conftest.err >&5
9816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817 (exit $ac_status); } && {
9818 test -z "$ac_c_werror_flag" ||
9819 test ! -s conftest.err
9820 } && test -s conftest.$ac_objext; then
9821 eval "$as_ac_Header=yes"
9822 else
9823 echo "$as_me: failed program was:" >&5
9824 sed 's/^/| /' conftest.$ac_ext >&5
9826 eval "$as_ac_Header=no"
9829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9831 ac_res=`eval echo '${'$as_ac_Header'}'`
9832 { echo "$as_me:$LINENO: result: $ac_res" >&5
9833 echo "${ECHO_T}$ac_res" >&6; }
9834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9835 cat >>confdefs.h <<_ACEOF
9836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9837 _ACEOF
9841 done
9844 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9845 then
9846 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9847 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9848 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9849 echo $ECHO_N "(cached) $ECHO_C" >&6
9850 else
9851 ac_check_lib_save_LIBS=$LIBS
9852 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9853 cat >conftest.$ac_ext <<_ACEOF
9854 /* confdefs.h. */
9855 _ACEOF
9856 cat confdefs.h >>conftest.$ac_ext
9857 cat >>conftest.$ac_ext <<_ACEOF
9858 /* end confdefs.h. */
9860 /* Override any GCC internal prototype to avoid an error.
9861 Use char because int might match the return type of a GCC
9862 builtin and then its argument prototype would still apply. */
9863 #ifdef __cplusplus
9864 extern "C"
9865 #endif
9866 char XkbQueryExtension ();
9868 main ()
9870 return XkbQueryExtension ();
9872 return 0;
9874 _ACEOF
9875 rm -f conftest.$ac_objext conftest$ac_exeext
9876 if { (ac_try="$ac_link"
9877 case "(($ac_try" in
9878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9879 *) ac_try_echo=$ac_try;;
9880 esac
9881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9882 (eval "$ac_link") 2>conftest.er1
9883 ac_status=$?
9884 grep -v '^ *+' conftest.er1 >conftest.err
9885 rm -f conftest.er1
9886 cat conftest.err >&5
9887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 (exit $ac_status); } && {
9889 test -z "$ac_c_werror_flag" ||
9890 test ! -s conftest.err
9891 } && test -s conftest$ac_exeext &&
9892 $as_test_x conftest$ac_exeext; then
9893 ac_cv_lib_X11_XkbQueryExtension=yes
9894 else
9895 echo "$as_me: failed program was:" >&5
9896 sed 's/^/| /' conftest.$ac_ext >&5
9898 ac_cv_lib_X11_XkbQueryExtension=no
9901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9902 conftest$ac_exeext conftest.$ac_ext
9903 LIBS=$ac_check_lib_save_LIBS
9905 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9906 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9907 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9909 cat >>confdefs.h <<\_ACEOF
9910 #define HAVE_XKB 1
9911 _ACEOF
9917 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9918 then
9919 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9920 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9921 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9922 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 else
9924 ac_check_soname_save_LIBS=$LIBS
9925 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9926 cat >conftest.$ac_ext <<_ACEOF
9927 /* confdefs.h. */
9928 _ACEOF
9929 cat confdefs.h >>conftest.$ac_ext
9930 cat >>conftest.$ac_ext <<_ACEOF
9931 /* end confdefs.h. */
9933 /* Override any GCC internal prototype to avoid an error.
9934 Use char because int might match the return type of a GCC
9935 builtin and then its argument prototype would still apply. */
9936 #ifdef __cplusplus
9937 extern "C"
9938 #endif
9939 char XcursorImageLoadCursor ();
9941 main ()
9943 return XcursorImageLoadCursor ();
9945 return 0;
9947 _ACEOF
9948 rm -f conftest.$ac_objext conftest$ac_exeext
9949 if { (ac_try="$ac_link"
9950 case "(($ac_try" in
9951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9952 *) ac_try_echo=$ac_try;;
9953 esac
9954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9955 (eval "$ac_link") 2>conftest.er1
9956 ac_status=$?
9957 grep -v '^ *+' conftest.er1 >conftest.err
9958 rm -f conftest.er1
9959 cat conftest.err >&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); } && {
9962 test -z "$ac_c_werror_flag" ||
9963 test ! -s conftest.err
9964 } && test -s conftest$ac_exeext &&
9965 $as_test_x conftest$ac_exeext; then
9966 case "$LIBEXT" in
9967 dll) ;;
9968 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'` ;;
9969 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9970 esac
9971 else
9972 echo "$as_me: failed program was:" >&5
9973 sed 's/^/| /' conftest.$ac_ext >&5
9978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9979 conftest$ac_exeext conftest.$ac_ext
9980 LIBS=$ac_check_soname_save_LIBS
9982 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9983 { echo "$as_me:$LINENO: result: not found" >&5
9984 echo "${ECHO_T}not found" >&6; }
9986 else
9987 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9988 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9990 cat >>confdefs.h <<_ACEOF
9991 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9992 _ACEOF
9998 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9999 case "x$with_xcursor" in
10000 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
10001 xno) ;;
10002 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
10003 This is an error since --with-xcursor was requested." >&5
10004 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
10005 This is an error since --with-xcursor was requested." >&2;}
10006 { (exit 1); exit 1; }; } ;;
10007 esac
10011 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10012 then
10013 { echo "$as_me:$LINENO: checking for -lXi" >&5
10014 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
10015 if test "${ac_cv_lib_soname_Xi+set}" = set; then
10016 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 else
10018 ac_check_soname_save_LIBS=$LIBS
10019 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10020 cat >conftest.$ac_ext <<_ACEOF
10021 /* confdefs.h. */
10022 _ACEOF
10023 cat confdefs.h >>conftest.$ac_ext
10024 cat >>conftest.$ac_ext <<_ACEOF
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10030 #ifdef __cplusplus
10031 extern "C"
10032 #endif
10033 char XOpenDevice ();
10035 main ()
10037 return XOpenDevice ();
10039 return 0;
10041 _ACEOF
10042 rm -f conftest.$ac_objext conftest$ac_exeext
10043 if { (ac_try="$ac_link"
10044 case "(($ac_try" in
10045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10046 *) ac_try_echo=$ac_try;;
10047 esac
10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 (eval "$ac_link") 2>conftest.er1
10050 ac_status=$?
10051 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } && {
10056 test -z "$ac_c_werror_flag" ||
10057 test ! -s conftest.err
10058 } && test -s conftest$ac_exeext &&
10059 $as_test_x conftest$ac_exeext; then
10060 case "$LIBEXT" in
10061 dll) ;;
10062 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'` ;;
10063 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10064 esac
10065 else
10066 echo "$as_me: failed program was:" >&5
10067 sed 's/^/| /' conftest.$ac_ext >&5
10072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10073 conftest$ac_exeext conftest.$ac_ext
10074 LIBS=$ac_check_soname_save_LIBS
10076 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10077 { echo "$as_me:$LINENO: result: not found" >&5
10078 echo "${ECHO_T}not found" >&6; }
10080 else
10081 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
10082 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
10084 cat >>confdefs.h <<_ACEOF
10085 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10086 _ACEOF
10092 if test "x$ac_cv_lib_soname_Xi" = "x"; then
10093 case "x$with_xinput" in
10094 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
10095 xno) ;;
10096 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
10097 This is an error since --with-xinput was requested." >&5
10098 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
10099 This is an error since --with-xinput was requested." >&2;}
10100 { (exit 1); exit 1; }; } ;;
10101 esac
10105 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10106 then
10107 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10108 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10109 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10110 echo $ECHO_N "(cached) $ECHO_C" >&6
10111 else
10112 ac_check_lib_save_LIBS=$LIBS
10113 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10114 cat >conftest.$ac_ext <<_ACEOF
10115 /* confdefs.h. */
10116 _ACEOF
10117 cat confdefs.h >>conftest.$ac_ext
10118 cat >>conftest.$ac_ext <<_ACEOF
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 char XShmQueryExtension ();
10129 main ()
10131 return XShmQueryExtension ();
10133 return 0;
10135 _ACEOF
10136 rm -f conftest.$ac_objext conftest$ac_exeext
10137 if { (ac_try="$ac_link"
10138 case "(($ac_try" in
10139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10140 *) ac_try_echo=$ac_try;;
10141 esac
10142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10143 (eval "$ac_link") 2>conftest.er1
10144 ac_status=$?
10145 grep -v '^ *+' conftest.er1 >conftest.err
10146 rm -f conftest.er1
10147 cat conftest.err >&5
10148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10149 (exit $ac_status); } && {
10150 test -z "$ac_c_werror_flag" ||
10151 test ! -s conftest.err
10152 } && test -s conftest$ac_exeext &&
10153 $as_test_x conftest$ac_exeext; then
10154 ac_cv_lib_Xext_XShmQueryExtension=yes
10155 else
10156 echo "$as_me: failed program was:" >&5
10157 sed 's/^/| /' conftest.$ac_ext >&5
10159 ac_cv_lib_Xext_XShmQueryExtension=no
10162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10163 conftest$ac_exeext conftest.$ac_ext
10164 LIBS=$ac_check_lib_save_LIBS
10166 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10167 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10168 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10170 cat >>confdefs.h <<\_ACEOF
10171 #define HAVE_LIBXXSHM 1
10172 _ACEOF
10177 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10178 case "x$with_xshm" in
10179 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10180 xno) ;;
10181 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10182 This is an error since --with-xshm was requested." >&5
10183 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10184 This is an error since --with-xshm was requested." >&2;}
10185 { (exit 1); exit 1; }; } ;;
10186 esac
10190 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10191 then
10192 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10193 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10194 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10195 echo $ECHO_N "(cached) $ECHO_C" >&6
10196 else
10197 ac_check_lib_save_LIBS=$LIBS
10198 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10199 cat >conftest.$ac_ext <<_ACEOF
10200 /* confdefs.h. */
10201 _ACEOF
10202 cat confdefs.h >>conftest.$ac_ext
10203 cat >>conftest.$ac_ext <<_ACEOF
10204 /* end confdefs.h. */
10206 /* Override any GCC internal prototype to avoid an error.
10207 Use char because int might match the return type of a GCC
10208 builtin and then its argument prototype would still apply. */
10209 #ifdef __cplusplus
10210 extern "C"
10211 #endif
10212 char XShapeQueryExtension ();
10214 main ()
10216 return XShapeQueryExtension ();
10218 return 0;
10220 _ACEOF
10221 rm -f conftest.$ac_objext conftest$ac_exeext
10222 if { (ac_try="$ac_link"
10223 case "(($ac_try" in
10224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10225 *) ac_try_echo=$ac_try;;
10226 esac
10227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10228 (eval "$ac_link") 2>conftest.er1
10229 ac_status=$?
10230 grep -v '^ *+' conftest.er1 >conftest.err
10231 rm -f conftest.er1
10232 cat conftest.err >&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } && {
10235 test -z "$ac_c_werror_flag" ||
10236 test ! -s conftest.err
10237 } && test -s conftest$ac_exeext &&
10238 $as_test_x conftest$ac_exeext; then
10239 ac_cv_lib_Xext_XShapeQueryExtension=yes
10240 else
10241 echo "$as_me: failed program was:" >&5
10242 sed 's/^/| /' conftest.$ac_ext >&5
10244 ac_cv_lib_Xext_XShapeQueryExtension=no
10247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10248 conftest$ac_exeext conftest.$ac_ext
10249 LIBS=$ac_check_lib_save_LIBS
10251 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10252 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10253 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10255 cat >>confdefs.h <<\_ACEOF
10256 #define HAVE_LIBXSHAPE 1
10257 _ACEOF
10262 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10263 case "x$with_xshape" in
10264 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10265 xno) ;;
10266 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10267 This is an error since --with-xshape was requested." >&5
10268 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10269 This is an error since --with-xshape was requested." >&2;}
10270 { (exit 1); exit 1; }; } ;;
10271 esac
10275 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10276 then
10277 { echo "$as_me:$LINENO: checking for -lXxf86vm" >&5
10278 echo $ECHO_N "checking for -lXxf86vm... $ECHO_C" >&6; }
10279 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 else
10282 ac_check_soname_save_LIBS=$LIBS
10283 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10284 cat >conftest.$ac_ext <<_ACEOF
10285 /* confdefs.h. */
10286 _ACEOF
10287 cat confdefs.h >>conftest.$ac_ext
10288 cat >>conftest.$ac_ext <<_ACEOF
10289 /* end confdefs.h. */
10291 /* Override any GCC internal prototype to avoid an error.
10292 Use char because int might match the return type of a GCC
10293 builtin and then its argument prototype would still apply. */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 char XF86VidModeQueryExtension ();
10299 main ()
10301 return XF86VidModeQueryExtension ();
10303 return 0;
10305 _ACEOF
10306 rm -f conftest.$ac_objext conftest$ac_exeext
10307 if { (ac_try="$ac_link"
10308 case "(($ac_try" in
10309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10310 *) ac_try_echo=$ac_try;;
10311 esac
10312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10313 (eval "$ac_link") 2>conftest.er1
10314 ac_status=$?
10315 grep -v '^ *+' conftest.er1 >conftest.err
10316 rm -f conftest.er1
10317 cat conftest.err >&5
10318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319 (exit $ac_status); } && {
10320 test -z "$ac_c_werror_flag" ||
10321 test ! -s conftest.err
10322 } && test -s conftest$ac_exeext &&
10323 $as_test_x conftest$ac_exeext; then
10324 case "$LIBEXT" in
10325 dll) ;;
10326 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'` ;;
10327 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10328 esac
10329 else
10330 echo "$as_me: failed program was:" >&5
10331 sed 's/^/| /' conftest.$ac_ext >&5
10336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10337 conftest$ac_exeext conftest.$ac_ext
10338 LIBS=$ac_check_soname_save_LIBS
10340 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10341 { echo "$as_me:$LINENO: result: not found" >&5
10342 echo "${ECHO_T}not found" >&6; }
10344 else
10345 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xxf86vm" >&5
10346 echo "${ECHO_T}$ac_cv_lib_soname_Xxf86vm" >&6; }
10348 cat >>confdefs.h <<_ACEOF
10349 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10350 _ACEOF
10356 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then
10357 case "x$with_xxf86vm" in
10358 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10359 xno) ;;
10360 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10361 This is an error since --with-xxf86vm was requested." >&5
10362 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10363 This is an error since --with-xxf86vm was requested." >&2;}
10364 { (exit 1); exit 1; }; } ;;
10365 esac
10369 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"
10370 then
10371 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10372 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10373 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10374 echo $ECHO_N "(cached) $ECHO_C" >&6
10375 else
10376 ac_check_soname_save_LIBS=$LIBS
10377 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10378 cat >conftest.$ac_ext <<_ACEOF
10379 /* confdefs.h. */
10380 _ACEOF
10381 cat confdefs.h >>conftest.$ac_ext
10382 cat >>conftest.$ac_ext <<_ACEOF
10383 /* end confdefs.h. */
10385 /* Override any GCC internal prototype to avoid an error.
10386 Use char because int might match the return type of a GCC
10387 builtin and then its argument prototype would still apply. */
10388 #ifdef __cplusplus
10389 extern "C"
10390 #endif
10391 char XRenderQueryExtension ();
10393 main ()
10395 return XRenderQueryExtension ();
10397 return 0;
10399 _ACEOF
10400 rm -f conftest.$ac_objext conftest$ac_exeext
10401 if { (ac_try="$ac_link"
10402 case "(($ac_try" in
10403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10404 *) ac_try_echo=$ac_try;;
10405 esac
10406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10407 (eval "$ac_link") 2>conftest.er1
10408 ac_status=$?
10409 grep -v '^ *+' conftest.er1 >conftest.err
10410 rm -f conftest.er1
10411 cat conftest.err >&5
10412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413 (exit $ac_status); } && {
10414 test -z "$ac_c_werror_flag" ||
10415 test ! -s conftest.err
10416 } && test -s conftest$ac_exeext &&
10417 $as_test_x conftest$ac_exeext; then
10418 case "$LIBEXT" in
10419 dll) ;;
10420 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'` ;;
10421 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10422 esac
10423 else
10424 echo "$as_me: failed program was:" >&5
10425 sed 's/^/| /' conftest.$ac_ext >&5
10430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10431 conftest$ac_exeext conftest.$ac_ext
10432 LIBS=$ac_check_soname_save_LIBS
10434 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10435 { echo "$as_me:$LINENO: result: not found" >&5
10436 echo "${ECHO_T}not found" >&6; }
10438 else
10439 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10440 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10442 cat >>confdefs.h <<_ACEOF
10443 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10444 _ACEOF
10446 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10447 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10448 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10449 echo $ECHO_N "(cached) $ECHO_C" >&6
10450 else
10451 ac_check_lib_save_LIBS=$LIBS
10452 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10453 cat >conftest.$ac_ext <<_ACEOF
10454 /* confdefs.h. */
10455 _ACEOF
10456 cat confdefs.h >>conftest.$ac_ext
10457 cat >>conftest.$ac_ext <<_ACEOF
10458 /* end confdefs.h. */
10460 /* Override any GCC internal prototype to avoid an error.
10461 Use char because int might match the return type of a GCC
10462 builtin and then its argument prototype would still apply. */
10463 #ifdef __cplusplus
10464 extern "C"
10465 #endif
10466 char XRenderSetPictureTransform ();
10468 main ()
10470 return XRenderSetPictureTransform ();
10472 return 0;
10474 _ACEOF
10475 rm -f conftest.$ac_objext conftest$ac_exeext
10476 if { (ac_try="$ac_link"
10477 case "(($ac_try" in
10478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10479 *) ac_try_echo=$ac_try;;
10480 esac
10481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10482 (eval "$ac_link") 2>conftest.er1
10483 ac_status=$?
10484 grep -v '^ *+' conftest.er1 >conftest.err
10485 rm -f conftest.er1
10486 cat conftest.err >&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); } && {
10489 test -z "$ac_c_werror_flag" ||
10490 test ! -s conftest.err
10491 } && test -s conftest$ac_exeext &&
10492 $as_test_x conftest$ac_exeext; then
10493 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10494 else
10495 echo "$as_me: failed program was:" >&5
10496 sed 's/^/| /' conftest.$ac_ext >&5
10498 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10502 conftest$ac_exeext conftest.$ac_ext
10503 LIBS=$ac_check_lib_save_LIBS
10505 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10506 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10507 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10509 cat >>confdefs.h <<\_ACEOF
10510 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10511 _ACEOF
10519 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10520 case "x$with_xrender" in
10521 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10522 xno) ;;
10523 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10524 This is an error since --with-xrender was requested." >&5
10525 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10526 This is an error since --with-xrender was requested." >&2;}
10527 { (exit 1); exit 1; }; } ;;
10528 esac
10532 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10533 then
10534 cat >conftest.$ac_ext <<_ACEOF
10535 /* confdefs.h. */
10536 _ACEOF
10537 cat confdefs.h >>conftest.$ac_ext
10538 cat >>conftest.$ac_ext <<_ACEOF
10539 /* end confdefs.h. */
10540 #include <X11/Xlib.h>
10541 #include <X11/extensions/Xrandr.h>
10543 main ()
10545 static typeof(XRRSetScreenConfigAndRate) * func;
10547 return 0;
10549 _ACEOF
10550 rm -f conftest.$ac_objext
10551 if { (ac_try="$ac_compile"
10552 case "(($ac_try" in
10553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10554 *) ac_try_echo=$ac_try;;
10555 esac
10556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10557 (eval "$ac_compile") 2>conftest.er1
10558 ac_status=$?
10559 grep -v '^ *+' conftest.er1 >conftest.err
10560 rm -f conftest.er1
10561 cat conftest.err >&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); } && {
10564 test -z "$ac_c_werror_flag" ||
10565 test ! -s conftest.err
10566 } && test -s conftest.$ac_objext; then
10567 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10568 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10569 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10570 echo $ECHO_N "(cached) $ECHO_C" >&6
10571 else
10572 ac_check_soname_save_LIBS=$LIBS
10573 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10574 cat >conftest.$ac_ext <<_ACEOF
10575 /* confdefs.h. */
10576 _ACEOF
10577 cat confdefs.h >>conftest.$ac_ext
10578 cat >>conftest.$ac_ext <<_ACEOF
10579 /* end confdefs.h. */
10581 /* Override any GCC internal prototype to avoid an error.
10582 Use char because int might match the return type of a GCC
10583 builtin and then its argument prototype would still apply. */
10584 #ifdef __cplusplus
10585 extern "C"
10586 #endif
10587 char XRRQueryExtension ();
10589 main ()
10591 return XRRQueryExtension ();
10593 return 0;
10595 _ACEOF
10596 rm -f conftest.$ac_objext conftest$ac_exeext
10597 if { (ac_try="$ac_link"
10598 case "(($ac_try" in
10599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10600 *) ac_try_echo=$ac_try;;
10601 esac
10602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10603 (eval "$ac_link") 2>conftest.er1
10604 ac_status=$?
10605 grep -v '^ *+' conftest.er1 >conftest.err
10606 rm -f conftest.er1
10607 cat conftest.err >&5
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); } && {
10610 test -z "$ac_c_werror_flag" ||
10611 test ! -s conftest.err
10612 } && test -s conftest$ac_exeext &&
10613 $as_test_x conftest$ac_exeext; then
10614 case "$LIBEXT" in
10615 dll) ;;
10616 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'` ;;
10617 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10618 esac
10619 else
10620 echo "$as_me: failed program was:" >&5
10621 sed 's/^/| /' conftest.$ac_ext >&5
10626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10627 conftest$ac_exeext conftest.$ac_ext
10628 LIBS=$ac_check_soname_save_LIBS
10630 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10631 { echo "$as_me:$LINENO: result: not found" >&5
10632 echo "${ECHO_T}not found" >&6; }
10634 else
10635 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10636 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10638 cat >>confdefs.h <<_ACEOF
10639 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10640 _ACEOF
10645 else
10646 echo "$as_me: failed program was:" >&5
10647 sed 's/^/| /' conftest.$ac_ext >&5
10652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10654 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10655 case "x$with_xrandr" in
10656 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10657 xno) ;;
10658 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10659 This is an error since --with-xrandr was requested." >&5
10660 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10661 This is an error since --with-xrandr was requested." >&2;}
10662 { (exit 1); exit 1; }; } ;;
10663 esac
10667 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10668 then
10669 cat >conftest.$ac_ext <<_ACEOF
10670 /* confdefs.h. */
10671 _ACEOF
10672 cat confdefs.h >>conftest.$ac_ext
10673 cat >>conftest.$ac_ext <<_ACEOF
10674 /* end confdefs.h. */
10675 #include <X11/Xlib.h>
10676 #include <X11/extensions/Xinerama.h>
10678 main ()
10680 static typeof(XineramaQueryScreens) * func;
10682 return 0;
10684 _ACEOF
10685 rm -f conftest.$ac_objext
10686 if { (ac_try="$ac_compile"
10687 case "(($ac_try" in
10688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10689 *) ac_try_echo=$ac_try;;
10690 esac
10691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10692 (eval "$ac_compile") 2>conftest.er1
10693 ac_status=$?
10694 grep -v '^ *+' conftest.er1 >conftest.err
10695 rm -f conftest.er1
10696 cat conftest.err >&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } && {
10699 test -z "$ac_c_werror_flag" ||
10700 test ! -s conftest.err
10701 } && test -s conftest.$ac_objext; then
10702 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10703 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10704 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10705 echo $ECHO_N "(cached) $ECHO_C" >&6
10706 else
10707 ac_check_soname_save_LIBS=$LIBS
10708 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10709 cat >conftest.$ac_ext <<_ACEOF
10710 /* confdefs.h. */
10711 _ACEOF
10712 cat confdefs.h >>conftest.$ac_ext
10713 cat >>conftest.$ac_ext <<_ACEOF
10714 /* end confdefs.h. */
10716 /* Override any GCC internal prototype to avoid an error.
10717 Use char because int might match the return type of a GCC
10718 builtin and then its argument prototype would still apply. */
10719 #ifdef __cplusplus
10720 extern "C"
10721 #endif
10722 char XineramaQueryScreens ();
10724 main ()
10726 return XineramaQueryScreens ();
10728 return 0;
10730 _ACEOF
10731 rm -f conftest.$ac_objext conftest$ac_exeext
10732 if { (ac_try="$ac_link"
10733 case "(($ac_try" in
10734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10735 *) ac_try_echo=$ac_try;;
10736 esac
10737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10738 (eval "$ac_link") 2>conftest.er1
10739 ac_status=$?
10740 grep -v '^ *+' conftest.er1 >conftest.err
10741 rm -f conftest.er1
10742 cat conftest.err >&5
10743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10744 (exit $ac_status); } && {
10745 test -z "$ac_c_werror_flag" ||
10746 test ! -s conftest.err
10747 } && test -s conftest$ac_exeext &&
10748 $as_test_x conftest$ac_exeext; then
10749 case "$LIBEXT" in
10750 dll) ;;
10751 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'` ;;
10752 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10753 esac
10754 else
10755 echo "$as_me: failed program was:" >&5
10756 sed 's/^/| /' conftest.$ac_ext >&5
10761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10762 conftest$ac_exeext conftest.$ac_ext
10763 LIBS=$ac_check_soname_save_LIBS
10765 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10766 { echo "$as_me:$LINENO: result: not found" >&5
10767 echo "${ECHO_T}not found" >&6; }
10769 else
10770 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10771 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10773 cat >>confdefs.h <<_ACEOF
10774 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10775 _ACEOF
10780 else
10781 echo "$as_me: failed program was:" >&5
10782 sed 's/^/| /' conftest.$ac_ext >&5
10787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10789 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10790 case "x$with_xinerama" in
10791 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10792 xno) ;;
10793 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10794 This is an error since --with-xinerama was requested." >&5
10795 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10796 This is an error since --with-xinerama was requested." >&2;}
10797 { (exit 1); exit 1; }; } ;;
10798 esac
10802 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10803 then
10804 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10805 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10806 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10807 echo $ECHO_N "(cached) $ECHO_C" >&6
10808 else
10809 ac_check_soname_save_LIBS=$LIBS
10810 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10811 cat >conftest.$ac_ext <<_ACEOF
10812 /* confdefs.h. */
10813 _ACEOF
10814 cat confdefs.h >>conftest.$ac_ext
10815 cat >>conftest.$ac_ext <<_ACEOF
10816 /* end confdefs.h. */
10818 /* Override any GCC internal prototype to avoid an error.
10819 Use char because int might match the return type of a GCC
10820 builtin and then its argument prototype would still apply. */
10821 #ifdef __cplusplus
10822 extern "C"
10823 #endif
10824 char XCompositeRedirectWindow ();
10826 main ()
10828 return XCompositeRedirectWindow ();
10830 return 0;
10832 _ACEOF
10833 rm -f conftest.$ac_objext conftest$ac_exeext
10834 if { (ac_try="$ac_link"
10835 case "(($ac_try" in
10836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10837 *) ac_try_echo=$ac_try;;
10838 esac
10839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10840 (eval "$ac_link") 2>conftest.er1
10841 ac_status=$?
10842 grep -v '^ *+' conftest.er1 >conftest.err
10843 rm -f conftest.er1
10844 cat conftest.err >&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } && {
10847 test -z "$ac_c_werror_flag" ||
10848 test ! -s conftest.err
10849 } && test -s conftest$ac_exeext &&
10850 $as_test_x conftest$ac_exeext; then
10851 case "$LIBEXT" in
10852 dll) ;;
10853 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'` ;;
10854 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10855 esac
10856 else
10857 echo "$as_me: failed program was:" >&5
10858 sed 's/^/| /' conftest.$ac_ext >&5
10863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10864 conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_soname_save_LIBS
10867 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10868 { echo "$as_me:$LINENO: result: not found" >&5
10869 echo "${ECHO_T}not found" >&6; }
10871 else
10872 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10873 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10875 cat >>confdefs.h <<_ACEOF
10876 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10877 _ACEOF
10883 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10884 case "x$with_xcomposite" in
10885 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10886 xno) ;;
10887 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10888 This is an error since --with-xcomposite was requested." >&5
10889 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10890 This is an error since --with-xcomposite was requested." >&2;}
10891 { (exit 1); exit 1; }; } ;;
10892 esac
10896 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10897 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10898 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10899 echo $ECHO_N "(cached) $ECHO_C" >&6
10900 else
10901 cat >conftest.$ac_ext <<_ACEOF
10902 /* confdefs.h. */
10903 _ACEOF
10904 cat confdefs.h >>conftest.$ac_ext
10905 cat >>conftest.$ac_ext <<_ACEOF
10906 /* end confdefs.h. */
10907 #ifdef HAVE_X11_XLIB_H
10908 #include <X11/Xlib.h>
10909 #endif
10912 main ()
10914 static XICCallback ac_aggr;
10915 if (ac_aggr.callback)
10916 return 0;
10918 return 0;
10920 _ACEOF
10921 rm -f conftest.$ac_objext
10922 if { (ac_try="$ac_compile"
10923 case "(($ac_try" in
10924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10925 *) ac_try_echo=$ac_try;;
10926 esac
10927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10928 (eval "$ac_compile") 2>conftest.er1
10929 ac_status=$?
10930 grep -v '^ *+' conftest.er1 >conftest.err
10931 rm -f conftest.er1
10932 cat conftest.err >&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); } && {
10935 test -z "$ac_c_werror_flag" ||
10936 test ! -s conftest.err
10937 } && test -s conftest.$ac_objext; then
10938 ac_cv_member_XICCallback_callback=yes
10939 else
10940 echo "$as_me: failed program was:" >&5
10941 sed 's/^/| /' conftest.$ac_ext >&5
10943 cat >conftest.$ac_ext <<_ACEOF
10944 /* confdefs.h. */
10945 _ACEOF
10946 cat confdefs.h >>conftest.$ac_ext
10947 cat >>conftest.$ac_ext <<_ACEOF
10948 /* end confdefs.h. */
10949 #ifdef HAVE_X11_XLIB_H
10950 #include <X11/Xlib.h>
10951 #endif
10954 main ()
10956 static XICCallback ac_aggr;
10957 if (sizeof ac_aggr.callback)
10958 return 0;
10960 return 0;
10962 _ACEOF
10963 rm -f conftest.$ac_objext
10964 if { (ac_try="$ac_compile"
10965 case "(($ac_try" in
10966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10967 *) ac_try_echo=$ac_try;;
10968 esac
10969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10970 (eval "$ac_compile") 2>conftest.er1
10971 ac_status=$?
10972 grep -v '^ *+' conftest.er1 >conftest.err
10973 rm -f conftest.er1
10974 cat conftest.err >&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); } && {
10977 test -z "$ac_c_werror_flag" ||
10978 test ! -s conftest.err
10979 } && test -s conftest.$ac_objext; then
10980 ac_cv_member_XICCallback_callback=yes
10981 else
10982 echo "$as_me: failed program was:" >&5
10983 sed 's/^/| /' conftest.$ac_ext >&5
10985 ac_cv_member_XICCallback_callback=no
10988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10993 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10994 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10995 if test $ac_cv_member_XICCallback_callback = yes; then
10997 cat >>confdefs.h <<_ACEOF
10998 #define HAVE_XICCALLBACK_CALLBACK 1
10999 _ACEOF
11006 opengl_msg=""
11007 if test "x$with_opengl" != "xno"
11008 then
11013 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
11015 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11016 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11018 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11019 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 else
11021 cat >conftest.$ac_ext <<_ACEOF
11022 /* confdefs.h. */
11023 _ACEOF
11024 cat confdefs.h >>conftest.$ac_ext
11025 cat >>conftest.$ac_ext <<_ACEOF
11026 /* end confdefs.h. */
11027 #ifdef HAVE_GL_GLX_H
11028 # include <GL/glx.h>
11029 #endif
11031 #include <$ac_header>
11032 _ACEOF
11033 rm -f conftest.$ac_objext
11034 if { (ac_try="$ac_compile"
11035 case "(($ac_try" in
11036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11037 *) ac_try_echo=$ac_try;;
11038 esac
11039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11040 (eval "$ac_compile") 2>conftest.er1
11041 ac_status=$?
11042 grep -v '^ *+' conftest.er1 >conftest.err
11043 rm -f conftest.er1
11044 cat conftest.err >&5
11045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11046 (exit $ac_status); } && {
11047 test -z "$ac_c_werror_flag" ||
11048 test ! -s conftest.err
11049 } && test -s conftest.$ac_objext; then
11050 eval "$as_ac_Header=yes"
11051 else
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11055 eval "$as_ac_Header=no"
11058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11060 ac_res=`eval echo '${'$as_ac_Header'}'`
11061 { echo "$as_me:$LINENO: result: $ac_res" >&5
11062 echo "${ECHO_T}$ac_res" >&6; }
11063 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11064 cat >>confdefs.h <<_ACEOF
11065 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11066 _ACEOF
11070 done
11072 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
11073 then
11074 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
11075 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
11076 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
11077 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 else
11079 cat >conftest.$ac_ext <<_ACEOF
11080 /* confdefs.h. */
11081 _ACEOF
11082 cat confdefs.h >>conftest.$ac_ext
11083 cat >>conftest.$ac_ext <<_ACEOF
11084 /* end confdefs.h. */
11085 #include <GL/gl.h>
11087 main ()
11089 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
11091 return 0;
11093 _ACEOF
11094 rm -f conftest.$ac_objext
11095 if { (ac_try="$ac_compile"
11096 case "(($ac_try" in
11097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11098 *) ac_try_echo=$ac_try;;
11099 esac
11100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11101 (eval "$ac_compile") 2>conftest.er1
11102 ac_status=$?
11103 grep -v '^ *+' conftest.er1 >conftest.err
11104 rm -f conftest.er1
11105 cat conftest.err >&5
11106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); } && {
11108 test -z "$ac_c_werror_flag" ||
11109 test ! -s conftest.err
11110 } && test -s conftest.$ac_objext; then
11111 wine_cv_opengl_header_version_OK="yes"
11112 else
11113 echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.$ac_ext >&5
11116 wine_cv_opengl_header_version_OK="no"
11119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11121 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
11122 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
11124 if test "$wine_cv_opengl_header_version_OK" = "yes"
11125 then
11126 { echo "$as_me:$LINENO: checking for -lGL" >&5
11127 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11128 if test "${ac_cv_lib_soname_GL+set}" = set; then
11129 echo $ECHO_N "(cached) $ECHO_C" >&6
11130 else
11131 ac_check_soname_save_LIBS=$LIBS
11132 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11133 cat >conftest.$ac_ext <<_ACEOF
11134 /* confdefs.h. */
11135 _ACEOF
11136 cat confdefs.h >>conftest.$ac_ext
11137 cat >>conftest.$ac_ext <<_ACEOF
11138 /* end confdefs.h. */
11140 /* Override any GCC internal prototype to avoid an error.
11141 Use char because int might match the return type of a GCC
11142 builtin and then its argument prototype would still apply. */
11143 #ifdef __cplusplus
11144 extern "C"
11145 #endif
11146 char glXCreateContext ();
11148 main ()
11150 return glXCreateContext ();
11152 return 0;
11154 _ACEOF
11155 rm -f conftest.$ac_objext conftest$ac_exeext
11156 if { (ac_try="$ac_link"
11157 case "(($ac_try" in
11158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11159 *) ac_try_echo=$ac_try;;
11160 esac
11161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11162 (eval "$ac_link") 2>conftest.er1
11163 ac_status=$?
11164 grep -v '^ *+' conftest.er1 >conftest.err
11165 rm -f conftest.er1
11166 cat conftest.err >&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } && {
11169 test -z "$ac_c_werror_flag" ||
11170 test ! -s conftest.err
11171 } && test -s conftest$ac_exeext &&
11172 $as_test_x conftest$ac_exeext; then
11173 case "$LIBEXT" in
11174 dll) ;;
11175 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'` ;;
11176 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11177 esac
11178 else
11179 echo "$as_me: failed program was:" >&5
11180 sed 's/^/| /' conftest.$ac_ext >&5
11185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11186 conftest$ac_exeext conftest.$ac_ext
11187 LIBS=$ac_check_soname_save_LIBS
11189 if test "x$ac_cv_lib_soname_GL" = "x"; then
11190 { echo "$as_me:$LINENO: result: not found" >&5
11191 echo "${ECHO_T}not found" >&6; }
11192 { echo "$as_me:$LINENO: checking for -lGL" >&5
11193 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11194 if test "${ac_cv_lib_soname_GL+set}" = set; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11196 else
11197 ac_check_soname_save_LIBS=$LIBS
11198 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"
11199 cat >conftest.$ac_ext <<_ACEOF
11200 /* confdefs.h. */
11201 _ACEOF
11202 cat confdefs.h >>conftest.$ac_ext
11203 cat >>conftest.$ac_ext <<_ACEOF
11204 /* end confdefs.h. */
11206 /* Override any GCC internal prototype to avoid an error.
11207 Use char because int might match the return type of a GCC
11208 builtin and then its argument prototype would still apply. */
11209 #ifdef __cplusplus
11210 extern "C"
11211 #endif
11212 char glXCreateContext ();
11214 main ()
11216 return glXCreateContext ();
11218 return 0;
11220 _ACEOF
11221 rm -f conftest.$ac_objext conftest$ac_exeext
11222 if { (ac_try="$ac_link"
11223 case "(($ac_try" in
11224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11225 *) ac_try_echo=$ac_try;;
11226 esac
11227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11228 (eval "$ac_link") 2>conftest.er1
11229 ac_status=$?
11230 grep -v '^ *+' conftest.er1 >conftest.err
11231 rm -f conftest.er1
11232 cat conftest.err >&5
11233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 (exit $ac_status); } && {
11235 test -z "$ac_c_werror_flag" ||
11236 test ! -s conftest.err
11237 } && test -s conftest$ac_exeext &&
11238 $as_test_x conftest$ac_exeext; then
11239 case "$LIBEXT" in
11240 dll) ;;
11241 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'` ;;
11242 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11243 esac
11244 else
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.$ac_ext >&5
11251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_soname_save_LIBS
11255 if test "x$ac_cv_lib_soname_GL" = "x"; then
11256 { echo "$as_me:$LINENO: result: not found" >&5
11257 echo "${ECHO_T}not found" >&6; }
11258 if test -f /usr/X11R6/lib/libGL.a
11259 then
11260 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11261 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11262 else
11263 opengl_msg="No OpenGL library found on this system."
11265 else
11266 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11267 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11269 cat >>confdefs.h <<_ACEOF
11270 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11271 _ACEOF
11273 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"
11274 OPENGLFILES='$(OPENGLFILES)'
11276 cat >>confdefs.h <<\_ACEOF
11277 #define HAVE_OPENGL 1
11278 _ACEOF
11282 else
11283 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11284 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11286 cat >>confdefs.h <<_ACEOF
11287 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11288 _ACEOF
11290 OPENGL_LIBS="-lGL"
11291 OPENGLFILES='$(OPENGLFILES)'
11293 cat >>confdefs.h <<\_ACEOF
11294 #define HAVE_OPENGL 1
11295 _ACEOF
11299 if test "$ac_cv_header_GL_glu_h" = "yes"
11300 then
11301 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11302 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11303 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 else
11306 ac_check_soname_save_LIBS=$LIBS
11307 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11308 cat >conftest.$ac_ext <<_ACEOF
11309 /* confdefs.h. */
11310 _ACEOF
11311 cat confdefs.h >>conftest.$ac_ext
11312 cat >>conftest.$ac_ext <<_ACEOF
11313 /* end confdefs.h. */
11315 /* Override any GCC internal prototype to avoid an error.
11316 Use char because int might match the return type of a GCC
11317 builtin and then its argument prototype would still apply. */
11318 #ifdef __cplusplus
11319 extern "C"
11320 #endif
11321 char gluLookAt ();
11323 main ()
11325 return gluLookAt ();
11327 return 0;
11329 _ACEOF
11330 rm -f conftest.$ac_objext conftest$ac_exeext
11331 if { (ac_try="$ac_link"
11332 case "(($ac_try" in
11333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11334 *) ac_try_echo=$ac_try;;
11335 esac
11336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11337 (eval "$ac_link") 2>conftest.er1
11338 ac_status=$?
11339 grep -v '^ *+' conftest.er1 >conftest.err
11340 rm -f conftest.er1
11341 cat conftest.err >&5
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); } && {
11344 test -z "$ac_c_werror_flag" ||
11345 test ! -s conftest.err
11346 } && test -s conftest$ac_exeext &&
11347 $as_test_x conftest$ac_exeext; then
11348 case "$LIBEXT" in
11349 dll) ;;
11350 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'` ;;
11351 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11352 esac
11353 else
11354 echo "$as_me: failed program was:" >&5
11355 sed 's/^/| /' conftest.$ac_ext >&5
11360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_soname_save_LIBS
11364 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11365 { echo "$as_me:$LINENO: result: not found" >&5
11366 echo "${ECHO_T}not found" >&6; }
11368 else
11369 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11370 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11372 cat >>confdefs.h <<_ACEOF
11373 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11374 _ACEOF
11376 GLU32FILES='$(GLU32FILES)'
11380 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11381 case "x$with_glu" in
11382 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11383 xno) ;;
11384 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11385 This is an error since --with-glu was requested." >&5
11386 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11387 This is an error since --with-glu was requested." >&2;}
11388 { (exit 1); exit 1; }; } ;;
11389 esac
11392 else
11393 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11395 else
11396 opengl_msg="OpenGL development headers not found."
11399 if test -n "$opengl_msg"; then
11400 case "x$with_opengl" in
11401 x) wine_warnings="$wine_warnings|$opengl_msg
11402 OpenGL and Direct3D won't be supported." ;;
11403 xno) ;;
11404 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11405 OpenGL and Direct3D won't be supported.
11406 This is an error since --with-opengl was requested." >&5
11407 echo "$as_me: error: $opengl_msg
11408 OpenGL and Direct3D won't be supported.
11409 This is an error since --with-opengl was requested." >&2;}
11410 { (exit 1); exit 1; }; } ;;
11411 esac
11415 NASLIBS=""
11418 for ac_header in audio/audiolib.h
11420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11427 ac_res=`eval echo '${'$as_ac_Header'}'`
11428 { echo "$as_me:$LINENO: result: $ac_res" >&5
11429 echo "${ECHO_T}$ac_res" >&6; }
11430 else
11431 # Is the header compilable?
11432 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11434 cat >conftest.$ac_ext <<_ACEOF
11435 /* confdefs.h. */
11436 _ACEOF
11437 cat confdefs.h >>conftest.$ac_ext
11438 cat >>conftest.$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11440 $ac_includes_default
11441 #include <$ac_header>
11442 _ACEOF
11443 rm -f conftest.$ac_objext
11444 if { (ac_try="$ac_compile"
11445 case "(($ac_try" in
11446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11448 esac
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_compile") 2>conftest.er1
11451 ac_status=$?
11452 grep -v '^ *+' conftest.er1 >conftest.err
11453 rm -f conftest.er1
11454 cat conftest.err >&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } && {
11457 test -z "$ac_c_werror_flag" ||
11458 test ! -s conftest.err
11459 } && test -s conftest.$ac_objext; then
11460 ac_header_compiler=yes
11461 else
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11465 ac_header_compiler=no
11468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11469 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11470 echo "${ECHO_T}$ac_header_compiler" >&6; }
11472 # Is the header present?
11473 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11475 cat >conftest.$ac_ext <<_ACEOF
11476 /* confdefs.h. */
11477 _ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481 #include <$ac_header>
11482 _ACEOF
11483 if { (ac_try="$ac_cpp conftest.$ac_ext"
11484 case "(($ac_try" in
11485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11486 *) ac_try_echo=$ac_try;;
11487 esac
11488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11490 ac_status=$?
11491 grep -v '^ *+' conftest.er1 >conftest.err
11492 rm -f conftest.er1
11493 cat conftest.err >&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } >/dev/null && {
11496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11497 test ! -s conftest.err
11498 }; then
11499 ac_header_preproc=yes
11500 else
11501 echo "$as_me: failed program was:" >&5
11502 sed 's/^/| /' conftest.$ac_ext >&5
11504 ac_header_preproc=no
11507 rm -f conftest.err conftest.$ac_ext
11508 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11509 echo "${ECHO_T}$ac_header_preproc" >&6; }
11511 # So? What about this header?
11512 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11513 yes:no: )
11514 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11515 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11516 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11517 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11518 ac_header_preproc=yes
11520 no:yes:* )
11521 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11522 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11523 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11524 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11525 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11526 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11527 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11528 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11530 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11531 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11532 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11533 ( cat <<\_ASBOX
11534 ## ------------------------------------ ##
11535 ## Report this to wine-devel@winehq.org ##
11536 ## ------------------------------------ ##
11537 _ASBOX
11538 ) | sed "s/^/$as_me: WARNING: /" >&2
11540 esac
11541 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11543 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11545 else
11546 eval "$as_ac_Header=\$ac_header_preproc"
11548 ac_res=`eval echo '${'$as_ac_Header'}'`
11549 { echo "$as_me:$LINENO: result: $ac_res" >&5
11550 echo "${ECHO_T}$ac_res" >&6; }
11553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11554 cat >>confdefs.h <<_ACEOF
11555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11556 _ACEOF
11558 for ac_header in audio/soundlib.h
11560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11561 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11563 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 else
11566 cat >conftest.$ac_ext <<_ACEOF
11567 /* confdefs.h. */
11568 _ACEOF
11569 cat confdefs.h >>conftest.$ac_ext
11570 cat >>conftest.$ac_ext <<_ACEOF
11571 /* end confdefs.h. */
11572 #include <audio/audiolib.h>
11574 #include <$ac_header>
11575 _ACEOF
11576 rm -f conftest.$ac_objext
11577 if { (ac_try="$ac_compile"
11578 case "(($ac_try" in
11579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11580 *) ac_try_echo=$ac_try;;
11581 esac
11582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11583 (eval "$ac_compile") 2>conftest.er1
11584 ac_status=$?
11585 grep -v '^ *+' conftest.er1 >conftest.err
11586 rm -f conftest.er1
11587 cat conftest.err >&5
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); } && {
11590 test -z "$ac_c_werror_flag" ||
11591 test ! -s conftest.err
11592 } && test -s conftest.$ac_objext; then
11593 eval "$as_ac_Header=yes"
11594 else
11595 echo "$as_me: failed program was:" >&5
11596 sed 's/^/| /' conftest.$ac_ext >&5
11598 eval "$as_ac_Header=no"
11601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11603 ac_res=`eval echo '${'$as_ac_Header'}'`
11604 { echo "$as_me:$LINENO: result: $ac_res" >&5
11605 echo "${ECHO_T}$ac_res" >&6; }
11606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11607 cat >>confdefs.h <<_ACEOF
11608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11609 _ACEOF
11613 done
11615 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11616 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11617 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11619 else
11620 ac_check_lib_save_LIBS=$LIBS
11621 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11622 cat >conftest.$ac_ext <<_ACEOF
11623 /* confdefs.h. */
11624 _ACEOF
11625 cat confdefs.h >>conftest.$ac_ext
11626 cat >>conftest.$ac_ext <<_ACEOF
11627 /* end confdefs.h. */
11629 /* Override any GCC internal prototype to avoid an error.
11630 Use char because int might match the return type of a GCC
11631 builtin and then its argument prototype would still apply. */
11632 #ifdef __cplusplus
11633 extern "C"
11634 #endif
11635 char AuCreateFlow ();
11637 main ()
11639 return AuCreateFlow ();
11641 return 0;
11643 _ACEOF
11644 rm -f conftest.$ac_objext conftest$ac_exeext
11645 if { (ac_try="$ac_link"
11646 case "(($ac_try" in
11647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11648 *) ac_try_echo=$ac_try;;
11649 esac
11650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11651 (eval "$ac_link") 2>conftest.er1
11652 ac_status=$?
11653 grep -v '^ *+' conftest.er1 >conftest.err
11654 rm -f conftest.er1
11655 cat conftest.err >&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } && {
11658 test -z "$ac_c_werror_flag" ||
11659 test ! -s conftest.err
11660 } && test -s conftest$ac_exeext &&
11661 $as_test_x conftest$ac_exeext; then
11662 ac_cv_lib_audio_AuCreateFlow=yes
11663 else
11664 echo "$as_me: failed program was:" >&5
11665 sed 's/^/| /' conftest.$ac_ext >&5
11667 ac_cv_lib_audio_AuCreateFlow=no
11670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11671 conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_lib_save_LIBS
11674 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11675 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11676 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11678 cat >>confdefs.h <<\_ACEOF
11679 #define HAVE_NAS 1
11680 _ACEOF
11682 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11683 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11684 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 else
11687 ac_check_lib_save_LIBS=$LIBS
11688 LIBS="-lXau $X_LIBS $LIBS"
11689 cat >conftest.$ac_ext <<_ACEOF
11690 /* confdefs.h. */
11691 _ACEOF
11692 cat confdefs.h >>conftest.$ac_ext
11693 cat >>conftest.$ac_ext <<_ACEOF
11694 /* end confdefs.h. */
11696 /* Override any GCC internal prototype to avoid an error.
11697 Use char because int might match the return type of a GCC
11698 builtin and then its argument prototype would still apply. */
11699 #ifdef __cplusplus
11700 extern "C"
11701 #endif
11702 char XauGetBestAuthByAddr ();
11704 main ()
11706 return XauGetBestAuthByAddr ();
11708 return 0;
11710 _ACEOF
11711 rm -f conftest.$ac_objext conftest$ac_exeext
11712 if { (ac_try="$ac_link"
11713 case "(($ac_try" in
11714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11715 *) ac_try_echo=$ac_try;;
11716 esac
11717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11718 (eval "$ac_link") 2>conftest.er1
11719 ac_status=$?
11720 grep -v '^ *+' conftest.er1 >conftest.err
11721 rm -f conftest.er1
11722 cat conftest.err >&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } && {
11725 test -z "$ac_c_werror_flag" ||
11726 test ! -s conftest.err
11727 } && test -s conftest$ac_exeext &&
11728 $as_test_x conftest$ac_exeext; then
11729 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11730 else
11731 echo "$as_me: failed program was:" >&5
11732 sed 's/^/| /' conftest.$ac_ext >&5
11734 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11738 conftest$ac_exeext conftest.$ac_ext
11739 LIBS=$ac_check_lib_save_LIBS
11741 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11742 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11743 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11744 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11745 else
11746 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11754 done
11757 CPPFLAGS="$ac_save_CPPFLAGS"
11758 XFILES='$(XFILES)'
11759 else
11760 XLIB=""
11761 X_CFLAGS=""
11762 X_LIBS=""
11764 if test "x$XLIB" = "x"; then
11765 case "x$with_x" in
11766 xno) ;;
11767 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11768 without X support, which probably isn't what you want. You will need to install
11769 development packages of Xlib/Xfree86 at the very least.
11770 Use the --without-x option if you really want this." >&5
11771 echo "$as_me: error: X development files not found. Wine will be built
11772 without X support, which probably isn't what you want. You will need to install
11773 development packages of Xlib/Xfree86 at the very least.
11774 Use the --without-x option if you really want this." >&2;}
11775 { (exit 1); exit 1; }; } ;;
11776 esac
11781 XML2LIBS=""
11783 XML2INCL=""
11785 XSLTLIBS=""
11787 XSLTINCL=""
11789 if test "x$with_xml" != "xno"
11790 then
11791 ac_save_CPPFLAGS="$CPPFLAGS"
11792 if test "$PKG_CONFIG" != "false"
11793 then
11794 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11795 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11796 else
11797 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11798 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11800 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11802 for ac_header in libxml/parser.h
11804 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11805 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11806 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 ac_res=`eval echo '${'$as_ac_Header'}'`
11812 { echo "$as_me:$LINENO: result: $ac_res" >&5
11813 echo "${ECHO_T}$ac_res" >&6; }
11814 else
11815 # Is the header compilable?
11816 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11818 cat >conftest.$ac_ext <<_ACEOF
11819 /* confdefs.h. */
11820 _ACEOF
11821 cat confdefs.h >>conftest.$ac_ext
11822 cat >>conftest.$ac_ext <<_ACEOF
11823 /* end confdefs.h. */
11824 $ac_includes_default
11825 #include <$ac_header>
11826 _ACEOF
11827 rm -f conftest.$ac_objext
11828 if { (ac_try="$ac_compile"
11829 case "(($ac_try" in
11830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11831 *) ac_try_echo=$ac_try;;
11832 esac
11833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11834 (eval "$ac_compile") 2>conftest.er1
11835 ac_status=$?
11836 grep -v '^ *+' conftest.er1 >conftest.err
11837 rm -f conftest.er1
11838 cat conftest.err >&5
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); } && {
11841 test -z "$ac_c_werror_flag" ||
11842 test ! -s conftest.err
11843 } && test -s conftest.$ac_objext; then
11844 ac_header_compiler=yes
11845 else
11846 echo "$as_me: failed program was:" >&5
11847 sed 's/^/| /' conftest.$ac_ext >&5
11849 ac_header_compiler=no
11852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11853 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11854 echo "${ECHO_T}$ac_header_compiler" >&6; }
11856 # Is the header present?
11857 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11859 cat >conftest.$ac_ext <<_ACEOF
11860 /* confdefs.h. */
11861 _ACEOF
11862 cat confdefs.h >>conftest.$ac_ext
11863 cat >>conftest.$ac_ext <<_ACEOF
11864 /* end confdefs.h. */
11865 #include <$ac_header>
11866 _ACEOF
11867 if { (ac_try="$ac_cpp conftest.$ac_ext"
11868 case "(($ac_try" in
11869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870 *) ac_try_echo=$ac_try;;
11871 esac
11872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11874 ac_status=$?
11875 grep -v '^ *+' conftest.er1 >conftest.err
11876 rm -f conftest.er1
11877 cat conftest.err >&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); } >/dev/null && {
11880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11881 test ! -s conftest.err
11882 }; then
11883 ac_header_preproc=yes
11884 else
11885 echo "$as_me: failed program was:" >&5
11886 sed 's/^/| /' conftest.$ac_ext >&5
11888 ac_header_preproc=no
11891 rm -f conftest.err conftest.$ac_ext
11892 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11893 echo "${ECHO_T}$ac_header_preproc" >&6; }
11895 # So? What about this header?
11896 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11897 yes:no: )
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11902 ac_header_preproc=yes
11904 no:yes:* )
11905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11917 ( cat <<\_ASBOX
11918 ## ------------------------------------ ##
11919 ## Report this to wine-devel@winehq.org ##
11920 ## ------------------------------------ ##
11921 _ASBOX
11922 ) | sed "s/^/$as_me: WARNING: /" >&2
11924 esac
11925 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11928 echo $ECHO_N "(cached) $ECHO_C" >&6
11929 else
11930 eval "$as_ac_Header=\$ac_header_preproc"
11932 ac_res=`eval echo '${'$as_ac_Header'}'`
11933 { echo "$as_me:$LINENO: result: $ac_res" >&5
11934 echo "${ECHO_T}$ac_res" >&6; }
11937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11938 cat >>confdefs.h <<_ACEOF
11939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11940 _ACEOF
11941 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11942 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11943 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 else
11946 ac_check_lib_save_LIBS=$LIBS
11947 LIBS="-lxml2 $ac_xml_libs $LIBS"
11948 cat >conftest.$ac_ext <<_ACEOF
11949 /* confdefs.h. */
11950 _ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11955 /* Override any GCC internal prototype to avoid an error.
11956 Use char because int might match the return type of a GCC
11957 builtin and then its argument prototype would still apply. */
11958 #ifdef __cplusplus
11959 extern "C"
11960 #endif
11961 char xmlParseMemory ();
11963 main ()
11965 return xmlParseMemory ();
11967 return 0;
11969 _ACEOF
11970 rm -f conftest.$ac_objext conftest$ac_exeext
11971 if { (ac_try="$ac_link"
11972 case "(($ac_try" in
11973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11974 *) ac_try_echo=$ac_try;;
11975 esac
11976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11977 (eval "$ac_link") 2>conftest.er1
11978 ac_status=$?
11979 grep -v '^ *+' conftest.er1 >conftest.err
11980 rm -f conftest.er1
11981 cat conftest.err >&5
11982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 (exit $ac_status); } && {
11984 test -z "$ac_c_werror_flag" ||
11985 test ! -s conftest.err
11986 } && test -s conftest$ac_exeext &&
11987 $as_test_x conftest$ac_exeext; then
11988 ac_cv_lib_xml2_xmlParseMemory=yes
11989 else
11990 echo "$as_me: failed program was:" >&5
11991 sed 's/^/| /' conftest.$ac_ext >&5
11993 ac_cv_lib_xml2_xmlParseMemory=no
11996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11997 conftest$ac_exeext conftest.$ac_ext
11998 LIBS=$ac_check_lib_save_LIBS
12000 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12001 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12002 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
12004 cat >>confdefs.h <<\_ACEOF
12005 #define HAVE_LIBXML2 1
12006 _ACEOF
12008 XML2LIBS="$ac_xml_libs"
12009 XML2INCL="$ac_xml_cflags"
12012 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
12013 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
12014 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
12015 echo $ECHO_N "(cached) $ECHO_C" >&6
12016 else
12017 ac_check_lib_save_LIBS=$LIBS
12018 LIBS="-lxml2 $ac_xml_libs $LIBS"
12019 cat >conftest.$ac_ext <<_ACEOF
12020 /* confdefs.h. */
12021 _ACEOF
12022 cat confdefs.h >>conftest.$ac_ext
12023 cat >>conftest.$ac_ext <<_ACEOF
12024 /* end confdefs.h. */
12026 /* Override any GCC internal prototype to avoid an error.
12027 Use char because int might match the return type of a GCC
12028 builtin and then its argument prototype would still apply. */
12029 #ifdef __cplusplus
12030 extern "C"
12031 #endif
12032 char xmlReadMemory ();
12034 main ()
12036 return xmlReadMemory ();
12038 return 0;
12040 _ACEOF
12041 rm -f conftest.$ac_objext conftest$ac_exeext
12042 if { (ac_try="$ac_link"
12043 case "(($ac_try" in
12044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12045 *) ac_try_echo=$ac_try;;
12046 esac
12047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12048 (eval "$ac_link") 2>conftest.er1
12049 ac_status=$?
12050 grep -v '^ *+' conftest.er1 >conftest.err
12051 rm -f conftest.er1
12052 cat conftest.err >&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); } && {
12055 test -z "$ac_c_werror_flag" ||
12056 test ! -s conftest.err
12057 } && test -s conftest$ac_exeext &&
12058 $as_test_x conftest$ac_exeext; then
12059 ac_cv_lib_xml2_xmlReadMemory=yes
12060 else
12061 echo "$as_me: failed program was:" >&5
12062 sed 's/^/| /' conftest.$ac_ext >&5
12064 ac_cv_lib_xml2_xmlReadMemory=no
12067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12068 conftest$ac_exeext conftest.$ac_ext
12069 LIBS=$ac_check_lib_save_LIBS
12071 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12072 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12073 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
12075 cat >>confdefs.h <<\_ACEOF
12076 #define HAVE_XMLREADMEMORY 1
12077 _ACEOF
12081 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
12082 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
12083 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
12084 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 else
12086 ac_check_lib_save_LIBS=$LIBS
12087 LIBS="-lxml2 $ac_xml_libs $LIBS"
12088 cat >conftest.$ac_ext <<_ACEOF
12089 /* confdefs.h. */
12090 _ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12095 /* Override any GCC internal prototype to avoid an error.
12096 Use char because int might match the return type of a GCC
12097 builtin and then its argument prototype would still apply. */
12098 #ifdef __cplusplus
12099 extern "C"
12100 #endif
12101 char xmlNewDocPI ();
12103 main ()
12105 return xmlNewDocPI ();
12107 return 0;
12109 _ACEOF
12110 rm -f conftest.$ac_objext conftest$ac_exeext
12111 if { (ac_try="$ac_link"
12112 case "(($ac_try" in
12113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12114 *) ac_try_echo=$ac_try;;
12115 esac
12116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12117 (eval "$ac_link") 2>conftest.er1
12118 ac_status=$?
12119 grep -v '^ *+' conftest.er1 >conftest.err
12120 rm -f conftest.er1
12121 cat conftest.err >&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } && {
12124 test -z "$ac_c_werror_flag" ||
12125 test ! -s conftest.err
12126 } && test -s conftest$ac_exeext &&
12127 $as_test_x conftest$ac_exeext; then
12128 ac_cv_lib_xml2_xmlNewDocPI=yes
12129 else
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.$ac_ext >&5
12133 ac_cv_lib_xml2_xmlNewDocPI=no
12136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12137 conftest$ac_exeext conftest.$ac_ext
12138 LIBS=$ac_check_lib_save_LIBS
12140 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12141 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12142 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
12144 cat >>confdefs.h <<\_ACEOF
12145 #define HAVE_XMLNEWDOCPI 1
12146 _ACEOF
12153 done
12155 CPPFLAGS="$ac_save_CPPFLAGS"
12157 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
12158 case "x$with_xml" in
12159 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
12160 xno) ;;
12161 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
12162 This is an error since --with-xml was requested." >&5
12163 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
12164 This is an error since --with-xml was requested." >&2;}
12165 { (exit 1); exit 1; }; } ;;
12166 esac
12170 if test "x$with_xslt" != "xno"
12171 then
12172 if test "$PKG_CONFIG" != "false"
12173 then
12174 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12175 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12176 else
12177 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12178 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12180 ac_save_CPPFLAGS="$CPPFLAGS"
12181 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
12184 for ac_header in libxslt/pattern.h libxslt/transform.h
12186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12187 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 else
12192 cat >conftest.$ac_ext <<_ACEOF
12193 /* confdefs.h. */
12194 _ACEOF
12195 cat confdefs.h >>conftest.$ac_ext
12196 cat >>conftest.$ac_ext <<_ACEOF
12197 /* end confdefs.h. */
12198 #ifdef HAVE_LIBXSLT_PATTERN_H
12199 # include <libxslt/pattern.h>
12200 #endif
12202 #include <$ac_header>
12203 _ACEOF
12204 rm -f conftest.$ac_objext
12205 if { (ac_try="$ac_compile"
12206 case "(($ac_try" in
12207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12208 *) ac_try_echo=$ac_try;;
12209 esac
12210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12211 (eval "$ac_compile") 2>conftest.er1
12212 ac_status=$?
12213 grep -v '^ *+' conftest.er1 >conftest.err
12214 rm -f conftest.er1
12215 cat conftest.err >&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); } && {
12218 test -z "$ac_c_werror_flag" ||
12219 test ! -s conftest.err
12220 } && test -s conftest.$ac_objext; then
12221 eval "$as_ac_Header=yes"
12222 else
12223 echo "$as_me: failed program was:" >&5
12224 sed 's/^/| /' conftest.$ac_ext >&5
12226 eval "$as_ac_Header=no"
12229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12231 ac_res=`eval echo '${'$as_ac_Header'}'`
12232 { echo "$as_me:$LINENO: result: $ac_res" >&5
12233 echo "${ECHO_T}$ac_res" >&6; }
12234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12235 cat >>confdefs.h <<_ACEOF
12236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12237 _ACEOF
12241 done
12243 CPPFLAGS="$ac_save_CPPFLAGS"
12244 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12245 then
12246 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12247 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12248 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12250 else
12251 ac_check_lib_save_LIBS=$LIBS
12252 LIBS="-lxslt $ac_xslt_libs $LIBS"
12253 cat >conftest.$ac_ext <<_ACEOF
12254 /* confdefs.h. */
12255 _ACEOF
12256 cat confdefs.h >>conftest.$ac_ext
12257 cat >>conftest.$ac_ext <<_ACEOF
12258 /* end confdefs.h. */
12260 /* Override any GCC internal prototype to avoid an error.
12261 Use char because int might match the return type of a GCC
12262 builtin and then its argument prototype would still apply. */
12263 #ifdef __cplusplus
12264 extern "C"
12265 #endif
12266 char xsltCompilePattern ();
12268 main ()
12270 return xsltCompilePattern ();
12272 return 0;
12274 _ACEOF
12275 rm -f conftest.$ac_objext conftest$ac_exeext
12276 if { (ac_try="$ac_link"
12277 case "(($ac_try" in
12278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12279 *) ac_try_echo=$ac_try;;
12280 esac
12281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12282 (eval "$ac_link") 2>conftest.er1
12283 ac_status=$?
12284 grep -v '^ *+' conftest.er1 >conftest.err
12285 rm -f conftest.er1
12286 cat conftest.err >&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); } && {
12289 test -z "$ac_c_werror_flag" ||
12290 test ! -s conftest.err
12291 } && test -s conftest$ac_exeext &&
12292 $as_test_x conftest$ac_exeext; then
12293 ac_cv_lib_xslt_xsltCompilePattern=yes
12294 else
12295 echo "$as_me: failed program was:" >&5
12296 sed 's/^/| /' conftest.$ac_ext >&5
12298 ac_cv_lib_xslt_xsltCompilePattern=no
12301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12302 conftest$ac_exeext conftest.$ac_ext
12303 LIBS=$ac_check_lib_save_LIBS
12305 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12306 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12307 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12309 cat >>confdefs.h <<\_ACEOF
12310 #define HAVE_LIBXSLT 1
12311 _ACEOF
12313 XSLTLIBS="$ac_xslt_libs"
12314 XSLTINCL="$ac_xslt_cflags"
12315 ac_save_LIBS="$LIBS"
12316 LIBS="$LIBS $ac_xslt_libs"
12318 for ac_func in xsltInit
12320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12321 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 else
12326 cat >conftest.$ac_ext <<_ACEOF
12327 /* confdefs.h. */
12328 _ACEOF
12329 cat confdefs.h >>conftest.$ac_ext
12330 cat >>conftest.$ac_ext <<_ACEOF
12331 /* end confdefs.h. */
12332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12334 #define $ac_func innocuous_$ac_func
12336 /* System header to define __stub macros and hopefully few prototypes,
12337 which can conflict with char $ac_func (); below.
12338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12339 <limits.h> exists even on freestanding compilers. */
12341 #ifdef __STDC__
12342 # include <limits.h>
12343 #else
12344 # include <assert.h>
12345 #endif
12347 #undef $ac_func
12349 /* Override any GCC internal prototype to avoid an error.
12350 Use char because int might match the return type of a GCC
12351 builtin and then its argument prototype would still apply. */
12352 #ifdef __cplusplus
12353 extern "C"
12354 #endif
12355 char $ac_func ();
12356 /* The GNU C library defines this for functions which it implements
12357 to always fail with ENOSYS. Some functions are actually named
12358 something starting with __ and the normal name is an alias. */
12359 #if defined __stub_$ac_func || defined __stub___$ac_func
12360 choke me
12361 #endif
12364 main ()
12366 return $ac_func ();
12368 return 0;
12370 _ACEOF
12371 rm -f conftest.$ac_objext conftest$ac_exeext
12372 if { (ac_try="$ac_link"
12373 case "(($ac_try" in
12374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12375 *) ac_try_echo=$ac_try;;
12376 esac
12377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12378 (eval "$ac_link") 2>conftest.er1
12379 ac_status=$?
12380 grep -v '^ *+' conftest.er1 >conftest.err
12381 rm -f conftest.er1
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } && {
12385 test -z "$ac_c_werror_flag" ||
12386 test ! -s conftest.err
12387 } && test -s conftest$ac_exeext &&
12388 $as_test_x conftest$ac_exeext; then
12389 eval "$as_ac_var=yes"
12390 else
12391 echo "$as_me: failed program was:" >&5
12392 sed 's/^/| /' conftest.$ac_ext >&5
12394 eval "$as_ac_var=no"
12397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12398 conftest$ac_exeext conftest.$ac_ext
12400 ac_res=`eval echo '${'$as_ac_var'}'`
12401 { echo "$as_me:$LINENO: result: $ac_res" >&5
12402 echo "${ECHO_T}$ac_res" >&6; }
12403 if test `eval echo '${'$as_ac_var'}'` = yes; then
12404 cat >>confdefs.h <<_ACEOF
12405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12406 _ACEOF
12409 done
12411 LIBS="$ac_save_LIBS"
12416 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12417 case "x$with_xslt" in
12418 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12419 xno) ;;
12420 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12421 This is an error since --with-xslt was requested." >&5
12422 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12423 This is an error since --with-xslt was requested." >&2;}
12424 { (exit 1); exit 1; }; } ;;
12425 esac
12429 HALINCL=""
12431 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12432 then
12433 ac_save_CPPFLAGS="$CPPFLAGS"
12434 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12435 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12436 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12439 for ac_header in dbus/dbus.h hal/libhal.h
12441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12443 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12446 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 ac_res=`eval echo '${'$as_ac_Header'}'`
12449 { echo "$as_me:$LINENO: result: $ac_res" >&5
12450 echo "${ECHO_T}$ac_res" >&6; }
12451 else
12452 # Is the header compilable?
12453 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12454 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12455 cat >conftest.$ac_ext <<_ACEOF
12456 /* confdefs.h. */
12457 _ACEOF
12458 cat confdefs.h >>conftest.$ac_ext
12459 cat >>conftest.$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12461 $ac_includes_default
12462 #include <$ac_header>
12463 _ACEOF
12464 rm -f conftest.$ac_objext
12465 if { (ac_try="$ac_compile"
12466 case "(($ac_try" in
12467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12468 *) ac_try_echo=$ac_try;;
12469 esac
12470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12471 (eval "$ac_compile") 2>conftest.er1
12472 ac_status=$?
12473 grep -v '^ *+' conftest.er1 >conftest.err
12474 rm -f conftest.er1
12475 cat conftest.err >&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); } && {
12478 test -z "$ac_c_werror_flag" ||
12479 test ! -s conftest.err
12480 } && test -s conftest.$ac_objext; then
12481 ac_header_compiler=yes
12482 else
12483 echo "$as_me: failed program was:" >&5
12484 sed 's/^/| /' conftest.$ac_ext >&5
12486 ac_header_compiler=no
12489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12490 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12491 echo "${ECHO_T}$ac_header_compiler" >&6; }
12493 # Is the header present?
12494 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12496 cat >conftest.$ac_ext <<_ACEOF
12497 /* confdefs.h. */
12498 _ACEOF
12499 cat confdefs.h >>conftest.$ac_ext
12500 cat >>conftest.$ac_ext <<_ACEOF
12501 /* end confdefs.h. */
12502 #include <$ac_header>
12503 _ACEOF
12504 if { (ac_try="$ac_cpp conftest.$ac_ext"
12505 case "(($ac_try" in
12506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12507 *) ac_try_echo=$ac_try;;
12508 esac
12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12511 ac_status=$?
12512 grep -v '^ *+' conftest.er1 >conftest.err
12513 rm -f conftest.er1
12514 cat conftest.err >&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } >/dev/null && {
12517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12518 test ! -s conftest.err
12519 }; then
12520 ac_header_preproc=yes
12521 else
12522 echo "$as_me: failed program was:" >&5
12523 sed 's/^/| /' conftest.$ac_ext >&5
12525 ac_header_preproc=no
12528 rm -f conftest.err conftest.$ac_ext
12529 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12530 echo "${ECHO_T}$ac_header_preproc" >&6; }
12532 # So? What about this header?
12533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12534 yes:no: )
12535 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12536 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12538 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12539 ac_header_preproc=yes
12541 no:yes:* )
12542 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12543 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12544 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12545 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12546 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12547 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12548 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12549 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12552 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12553 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12554 ( cat <<\_ASBOX
12555 ## ------------------------------------ ##
12556 ## Report this to wine-devel@winehq.org ##
12557 ## ------------------------------------ ##
12558 _ASBOX
12559 ) | sed "s/^/$as_me: WARNING: /" >&2
12561 esac
12562 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12564 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12565 echo $ECHO_N "(cached) $ECHO_C" >&6
12566 else
12567 eval "$as_ac_Header=\$ac_header_preproc"
12569 ac_res=`eval echo '${'$as_ac_Header'}'`
12570 { echo "$as_me:$LINENO: result: $ac_res" >&5
12571 echo "${ECHO_T}$ac_res" >&6; }
12574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12575 cat >>confdefs.h <<_ACEOF
12576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12577 _ACEOF
12581 done
12583 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12584 then
12585 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12586 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12587 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 else
12590 ac_check_lib_save_LIBS=$LIBS
12591 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12592 cat >conftest.$ac_ext <<_ACEOF
12593 /* confdefs.h. */
12594 _ACEOF
12595 cat confdefs.h >>conftest.$ac_ext
12596 cat >>conftest.$ac_ext <<_ACEOF
12597 /* end confdefs.h. */
12599 /* Override any GCC internal prototype to avoid an error.
12600 Use char because int might match the return type of a GCC
12601 builtin and then its argument prototype would still apply. */
12602 #ifdef __cplusplus
12603 extern "C"
12604 #endif
12605 char dbus_connection_close ();
12607 main ()
12609 return dbus_connection_close ();
12611 return 0;
12613 _ACEOF
12614 rm -f conftest.$ac_objext conftest$ac_exeext
12615 if { (ac_try="$ac_link"
12616 case "(($ac_try" in
12617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12618 *) ac_try_echo=$ac_try;;
12619 esac
12620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12621 (eval "$ac_link") 2>conftest.er1
12622 ac_status=$?
12623 grep -v '^ *+' conftest.er1 >conftest.err
12624 rm -f conftest.er1
12625 cat conftest.err >&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); } && {
12628 test -z "$ac_c_werror_flag" ||
12629 test ! -s conftest.err
12630 } && test -s conftest$ac_exeext &&
12631 $as_test_x conftest$ac_exeext; then
12632 ac_cv_lib_dbus_1_dbus_connection_close=yes
12633 else
12634 echo "$as_me: failed program was:" >&5
12635 sed 's/^/| /' conftest.$ac_ext >&5
12637 ac_cv_lib_dbus_1_dbus_connection_close=no
12640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12641 conftest$ac_exeext conftest.$ac_ext
12642 LIBS=$ac_check_lib_save_LIBS
12644 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12645 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12646 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12647 { echo "$as_me:$LINENO: checking for -lhal" >&5
12648 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12649 if test "${ac_cv_lib_soname_hal+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12651 else
12652 ac_check_soname_save_LIBS=$LIBS
12653 LIBS="-lhal $ac_hal_libs $LIBS"
12654 cat >conftest.$ac_ext <<_ACEOF
12655 /* confdefs.h. */
12656 _ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12661 /* Override any GCC internal prototype to avoid an error.
12662 Use char because int might match the return type of a GCC
12663 builtin and then its argument prototype would still apply. */
12664 #ifdef __cplusplus
12665 extern "C"
12666 #endif
12667 char libhal_ctx_new ();
12669 main ()
12671 return libhal_ctx_new ();
12673 return 0;
12675 _ACEOF
12676 rm -f conftest.$ac_objext conftest$ac_exeext
12677 if { (ac_try="$ac_link"
12678 case "(($ac_try" in
12679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12680 *) ac_try_echo=$ac_try;;
12681 esac
12682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12683 (eval "$ac_link") 2>conftest.er1
12684 ac_status=$?
12685 grep -v '^ *+' conftest.er1 >conftest.err
12686 rm -f conftest.er1
12687 cat conftest.err >&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } && {
12690 test -z "$ac_c_werror_flag" ||
12691 test ! -s conftest.err
12692 } && test -s conftest$ac_exeext &&
12693 $as_test_x conftest$ac_exeext; then
12694 case "$LIBEXT" in
12695 dll) ;;
12696 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'` ;;
12697 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12698 esac
12699 else
12700 echo "$as_me: failed program was:" >&5
12701 sed 's/^/| /' conftest.$ac_ext >&5
12706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12707 conftest$ac_exeext conftest.$ac_ext
12708 LIBS=$ac_check_soname_save_LIBS
12710 if test "x$ac_cv_lib_soname_hal" = "x"; then
12711 { echo "$as_me:$LINENO: result: not found" >&5
12712 echo "${ECHO_T}not found" >&6; }
12714 else
12715 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12716 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12718 cat >>confdefs.h <<_ACEOF
12719 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12720 _ACEOF
12722 HALINCL="$ac_hal_cflags"
12728 CPPFLAGS="$ac_save_CPPFLAGS"
12730 if test "x$ac_cv_lib_soname_hal" = "x"; then
12731 case "x$with_hal" in
12732 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12733 xno) ;;
12734 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12735 This is an error since --with-hal was requested." >&5
12736 echo "$as_me: error: libhal development files not found, no dynamic device support.
12737 This is an error since --with-hal was requested." >&2;}
12738 { (exit 1); exit 1; }; } ;;
12739 esac
12743 CURSESLIBS=""
12744 if test "$ac_cv_header_ncurses_h" = "yes"
12745 then
12746 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12747 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12748 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12749 echo $ECHO_N "(cached) $ECHO_C" >&6
12750 else
12751 ac_check_soname_save_LIBS=$LIBS
12752 LIBS="-lncurses $LIBS"
12753 cat >conftest.$ac_ext <<_ACEOF
12754 /* confdefs.h. */
12755 _ACEOF
12756 cat confdefs.h >>conftest.$ac_ext
12757 cat >>conftest.$ac_ext <<_ACEOF
12758 /* end confdefs.h. */
12760 /* Override any GCC internal prototype to avoid an error.
12761 Use char because int might match the return type of a GCC
12762 builtin and then its argument prototype would still apply. */
12763 #ifdef __cplusplus
12764 extern "C"
12765 #endif
12766 char waddch ();
12768 main ()
12770 return waddch ();
12772 return 0;
12774 _ACEOF
12775 rm -f conftest.$ac_objext conftest$ac_exeext
12776 if { (ac_try="$ac_link"
12777 case "(($ac_try" in
12778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12779 *) ac_try_echo=$ac_try;;
12780 esac
12781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12782 (eval "$ac_link") 2>conftest.er1
12783 ac_status=$?
12784 grep -v '^ *+' conftest.er1 >conftest.err
12785 rm -f conftest.er1
12786 cat conftest.err >&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } && {
12789 test -z "$ac_c_werror_flag" ||
12790 test ! -s conftest.err
12791 } && test -s conftest$ac_exeext &&
12792 $as_test_x conftest$ac_exeext; then
12793 case "$LIBEXT" in
12794 dll) ;;
12795 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'` ;;
12796 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12797 esac
12798 else
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.$ac_ext >&5
12805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12806 conftest$ac_exeext conftest.$ac_ext
12807 LIBS=$ac_check_soname_save_LIBS
12809 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12810 { echo "$as_me:$LINENO: result: not found" >&5
12811 echo "${ECHO_T}not found" >&6; }
12813 else
12814 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12815 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12817 cat >>confdefs.h <<_ACEOF
12818 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12819 _ACEOF
12821 CURSESLIBS="-lncurses"
12824 elif test "$ac_cv_header_curses_h" = "yes"
12825 then
12826 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12827 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12828 if test "${ac_cv_lib_soname_curses+set}" = set; then
12829 echo $ECHO_N "(cached) $ECHO_C" >&6
12830 else
12831 ac_check_soname_save_LIBS=$LIBS
12832 LIBS="-lcurses $LIBS"
12833 cat >conftest.$ac_ext <<_ACEOF
12834 /* confdefs.h. */
12835 _ACEOF
12836 cat confdefs.h >>conftest.$ac_ext
12837 cat >>conftest.$ac_ext <<_ACEOF
12838 /* end confdefs.h. */
12840 /* Override any GCC internal prototype to avoid an error.
12841 Use char because int might match the return type of a GCC
12842 builtin and then its argument prototype would still apply. */
12843 #ifdef __cplusplus
12844 extern "C"
12845 #endif
12846 char waddch ();
12848 main ()
12850 return waddch ();
12852 return 0;
12854 _ACEOF
12855 rm -f conftest.$ac_objext conftest$ac_exeext
12856 if { (ac_try="$ac_link"
12857 case "(($ac_try" in
12858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12859 *) ac_try_echo=$ac_try;;
12860 esac
12861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12862 (eval "$ac_link") 2>conftest.er1
12863 ac_status=$?
12864 grep -v '^ *+' conftest.er1 >conftest.err
12865 rm -f conftest.er1
12866 cat conftest.err >&5
12867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12868 (exit $ac_status); } && {
12869 test -z "$ac_c_werror_flag" ||
12870 test ! -s conftest.err
12871 } && test -s conftest$ac_exeext &&
12872 $as_test_x conftest$ac_exeext; then
12873 case "$LIBEXT" in
12874 dll) ;;
12875 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'` ;;
12876 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12877 esac
12878 else
12879 echo "$as_me: failed program was:" >&5
12880 sed 's/^/| /' conftest.$ac_ext >&5
12885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12886 conftest$ac_exeext conftest.$ac_ext
12887 LIBS=$ac_check_soname_save_LIBS
12889 if test "x$ac_cv_lib_soname_curses" = "x"; then
12890 { echo "$as_me:$LINENO: result: not found" >&5
12891 echo "${ECHO_T}not found" >&6; }
12893 else
12894 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12895 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12897 cat >>confdefs.h <<_ACEOF
12898 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12899 _ACEOF
12901 CURSESLIBS="-lcurses"
12905 ac_save_LIBS="$LIBS"
12906 LIBS="$LIBS $CURSESLIBS"
12908 for ac_func in mousemask
12910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12911 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12913 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12914 echo $ECHO_N "(cached) $ECHO_C" >&6
12915 else
12916 cat >conftest.$ac_ext <<_ACEOF
12917 /* confdefs.h. */
12918 _ACEOF
12919 cat confdefs.h >>conftest.$ac_ext
12920 cat >>conftest.$ac_ext <<_ACEOF
12921 /* end confdefs.h. */
12922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12924 #define $ac_func innocuous_$ac_func
12926 /* System header to define __stub macros and hopefully few prototypes,
12927 which can conflict with char $ac_func (); below.
12928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12929 <limits.h> exists even on freestanding compilers. */
12931 #ifdef __STDC__
12932 # include <limits.h>
12933 #else
12934 # include <assert.h>
12935 #endif
12937 #undef $ac_func
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char $ac_func ();
12946 /* The GNU C library defines this for functions which it implements
12947 to always fail with ENOSYS. Some functions are actually named
12948 something starting with __ and the normal name is an alias. */
12949 #if defined __stub_$ac_func || defined __stub___$ac_func
12950 choke me
12951 #endif
12954 main ()
12956 return $ac_func ();
12958 return 0;
12960 _ACEOF
12961 rm -f conftest.$ac_objext conftest$ac_exeext
12962 if { (ac_try="$ac_link"
12963 case "(($ac_try" in
12964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12965 *) ac_try_echo=$ac_try;;
12966 esac
12967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12968 (eval "$ac_link") 2>conftest.er1
12969 ac_status=$?
12970 grep -v '^ *+' conftest.er1 >conftest.err
12971 rm -f conftest.er1
12972 cat conftest.err >&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } && {
12975 test -z "$ac_c_werror_flag" ||
12976 test ! -s conftest.err
12977 } && test -s conftest$ac_exeext &&
12978 $as_test_x conftest$ac_exeext; then
12979 eval "$as_ac_var=yes"
12980 else
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.$ac_ext >&5
12984 eval "$as_ac_var=no"
12987 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12988 conftest$ac_exeext conftest.$ac_ext
12990 ac_res=`eval echo '${'$as_ac_var'}'`
12991 { echo "$as_me:$LINENO: result: $ac_res" >&5
12992 echo "${ECHO_T}$ac_res" >&6; }
12993 if test `eval echo '${'$as_ac_var'}'` = yes; then
12994 cat >>confdefs.h <<_ACEOF
12995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12996 _ACEOF
12999 done
13001 LIBS="$ac_save_LIBS"
13002 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
13003 case "x$with_curses" in
13004 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
13005 xno) ;;
13006 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
13007 This is an error since --with-curses was requested." >&5
13008 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
13009 This is an error since --with-curses was requested." >&2;}
13010 { (exit 1); exit 1; }; } ;;
13011 esac
13015 # Extract the first word of "sane-config", so it can be a program name with args.
13016 set dummy sane-config; ac_word=$2
13017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13019 if test "${ac_cv_prog_sane_devel+set}" = set; then
13020 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 else
13022 if test -n "$sane_devel"; then
13023 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
13024 else
13025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13026 for as_dir in $PATH
13028 IFS=$as_save_IFS
13029 test -z "$as_dir" && as_dir=.
13030 for ac_exec_ext in '' $ac_executable_extensions; do
13031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13032 ac_cv_prog_sane_devel="sane-config"
13033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13034 break 2
13036 done
13037 done
13038 IFS=$as_save_IFS
13040 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
13043 sane_devel=$ac_cv_prog_sane_devel
13044 if test -n "$sane_devel"; then
13045 { echo "$as_me:$LINENO: result: $sane_devel" >&5
13046 echo "${ECHO_T}$sane_devel" >&6; }
13047 else
13048 { echo "$as_me:$LINENO: result: no" >&5
13049 echo "${ECHO_T}no" >&6; }
13053 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
13054 then
13055 ac_sane_incl="`$sane_devel --cflags`"
13056 ac_sane_libs="`$sane_devel --ldflags`"
13057 ac_save_CPPFLAGS="$CPPFLAGS"
13058 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
13059 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13060 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13061 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13062 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13063 echo $ECHO_N "(cached) $ECHO_C" >&6
13065 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13066 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13067 else
13068 # Is the header compilable?
13069 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
13070 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
13071 cat >conftest.$ac_ext <<_ACEOF
13072 /* confdefs.h. */
13073 _ACEOF
13074 cat confdefs.h >>conftest.$ac_ext
13075 cat >>conftest.$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13077 $ac_includes_default
13078 #include <sane/sane.h>
13079 _ACEOF
13080 rm -f conftest.$ac_objext
13081 if { (ac_try="$ac_compile"
13082 case "(($ac_try" in
13083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13084 *) ac_try_echo=$ac_try;;
13085 esac
13086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13087 (eval "$ac_compile") 2>conftest.er1
13088 ac_status=$?
13089 grep -v '^ *+' conftest.er1 >conftest.err
13090 rm -f conftest.er1
13091 cat conftest.err >&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); } && {
13094 test -z "$ac_c_werror_flag" ||
13095 test ! -s conftest.err
13096 } && test -s conftest.$ac_objext; then
13097 ac_header_compiler=yes
13098 else
13099 echo "$as_me: failed program was:" >&5
13100 sed 's/^/| /' conftest.$ac_ext >&5
13102 ac_header_compiler=no
13105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13106 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13107 echo "${ECHO_T}$ac_header_compiler" >&6; }
13109 # Is the header present?
13110 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
13111 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
13112 cat >conftest.$ac_ext <<_ACEOF
13113 /* confdefs.h. */
13114 _ACEOF
13115 cat confdefs.h >>conftest.$ac_ext
13116 cat >>conftest.$ac_ext <<_ACEOF
13117 /* end confdefs.h. */
13118 #include <sane/sane.h>
13119 _ACEOF
13120 if { (ac_try="$ac_cpp conftest.$ac_ext"
13121 case "(($ac_try" in
13122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13123 *) ac_try_echo=$ac_try;;
13124 esac
13125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13127 ac_status=$?
13128 grep -v '^ *+' conftest.er1 >conftest.err
13129 rm -f conftest.er1
13130 cat conftest.err >&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 (exit $ac_status); } >/dev/null && {
13133 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13134 test ! -s conftest.err
13135 }; then
13136 ac_header_preproc=yes
13137 else
13138 echo "$as_me: failed program was:" >&5
13139 sed 's/^/| /' conftest.$ac_ext >&5
13141 ac_header_preproc=no
13144 rm -f conftest.err conftest.$ac_ext
13145 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13146 echo "${ECHO_T}$ac_header_preproc" >&6; }
13148 # So? What about this header?
13149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13150 yes:no: )
13151 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
13152 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13153 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
13154 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
13155 ac_header_preproc=yes
13157 no:yes:* )
13158 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
13159 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
13160 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
13161 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
13162 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
13163 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
13164 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
13165 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
13166 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
13167 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
13168 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
13169 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
13170 ( cat <<\_ASBOX
13171 ## ------------------------------------ ##
13172 ## Report this to wine-devel@winehq.org ##
13173 ## ------------------------------------ ##
13174 _ASBOX
13175 ) | sed "s/^/$as_me: WARNING: /" >&2
13177 esac
13178 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13179 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13180 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13181 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 else
13183 ac_cv_header_sane_sane_h=$ac_header_preproc
13185 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13186 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13189 if test $ac_cv_header_sane_sane_h = yes; then
13190 { echo "$as_me:$LINENO: checking for -lsane" >&5
13191 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13192 if test "${ac_cv_lib_soname_sane+set}" = set; then
13193 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 else
13195 ac_check_soname_save_LIBS=$LIBS
13196 LIBS="-lsane $ac_sane_libs $LIBS"
13197 cat >conftest.$ac_ext <<_ACEOF
13198 /* confdefs.h. */
13199 _ACEOF
13200 cat confdefs.h >>conftest.$ac_ext
13201 cat >>conftest.$ac_ext <<_ACEOF
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13207 #ifdef __cplusplus
13208 extern "C"
13209 #endif
13210 char sane_init ();
13212 main ()
13214 return sane_init ();
13216 return 0;
13218 _ACEOF
13219 rm -f conftest.$ac_objext conftest$ac_exeext
13220 if { (ac_try="$ac_link"
13221 case "(($ac_try" in
13222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13223 *) ac_try_echo=$ac_try;;
13224 esac
13225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13226 (eval "$ac_link") 2>conftest.er1
13227 ac_status=$?
13228 grep -v '^ *+' conftest.er1 >conftest.err
13229 rm -f conftest.er1
13230 cat conftest.err >&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); } && {
13233 test -z "$ac_c_werror_flag" ||
13234 test ! -s conftest.err
13235 } && test -s conftest$ac_exeext &&
13236 $as_test_x conftest$ac_exeext; then
13237 case "$LIBEXT" in
13238 dll) ;;
13239 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'` ;;
13240 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13241 esac
13242 else
13243 echo "$as_me: failed program was:" >&5
13244 sed 's/^/| /' conftest.$ac_ext >&5
13249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13250 conftest$ac_exeext conftest.$ac_ext
13251 LIBS=$ac_check_soname_save_LIBS
13253 if test "x$ac_cv_lib_soname_sane" = "x"; then
13254 { echo "$as_me:$LINENO: result: not found" >&5
13255 echo "${ECHO_T}not found" >&6; }
13257 else
13258 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13259 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13261 cat >>confdefs.h <<_ACEOF
13262 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13263 _ACEOF
13265 SANEINCL="$ac_sane_incl"
13272 CPPFLAGS="$ac_save_CPPFLAGS"
13274 if test "x$ac_cv_lib_soname_sane" = "x"; then
13275 case "x$with_sane" in
13276 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13277 xno) ;;
13278 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13279 This is an error since --with-sane was requested." >&5
13280 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13281 This is an error since --with-sane was requested." >&2;}
13282 { (exit 1); exit 1; }; } ;;
13283 esac
13287 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13288 set dummy gphoto2-config; ac_word=$2
13289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13291 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13292 echo $ECHO_N "(cached) $ECHO_C" >&6
13293 else
13294 if test -n "$gphoto2_devel"; then
13295 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13296 else
13297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13298 for as_dir in $PATH
13300 IFS=$as_save_IFS
13301 test -z "$as_dir" && as_dir=.
13302 for ac_exec_ext in '' $ac_executable_extensions; do
13303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13304 ac_cv_prog_gphoto2_devel="gphoto2-config"
13305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13306 break 2
13308 done
13309 done
13310 IFS=$as_save_IFS
13312 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13315 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13316 if test -n "$gphoto2_devel"; then
13317 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13318 echo "${ECHO_T}$gphoto2_devel" >&6; }
13319 else
13320 { echo "$as_me:$LINENO: result: no" >&5
13321 echo "${ECHO_T}no" >&6; }
13325 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13326 set dummy gphoto2-port-config; ac_word=$2
13327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13329 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13330 echo $ECHO_N "(cached) $ECHO_C" >&6
13331 else
13332 if test -n "$gphoto2port_devel"; then
13333 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13334 else
13335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13336 for as_dir in $PATH
13338 IFS=$as_save_IFS
13339 test -z "$as_dir" && as_dir=.
13340 for ac_exec_ext in '' $ac_executable_extensions; do
13341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13342 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13344 break 2
13346 done
13347 done
13348 IFS=$as_save_IFS
13350 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13353 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13354 if test -n "$gphoto2port_devel"; then
13355 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13356 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13357 else
13358 { echo "$as_me:$LINENO: result: no" >&5
13359 echo "${ECHO_T}no" >&6; }
13363 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13364 then
13365 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13366 ac_gphoto2_libs=""
13367 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13369 case "$i" in
13370 -L/usr/lib|-L/usr/lib64) ;;
13371 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13372 esac
13373 done
13374 ac_save_CPPFLAGS="$CPPFLAGS"
13375 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13376 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13377 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13378 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13379 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13382 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13383 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13384 else
13385 # Is the header compilable?
13386 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13387 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13388 cat >conftest.$ac_ext <<_ACEOF
13389 /* confdefs.h. */
13390 _ACEOF
13391 cat confdefs.h >>conftest.$ac_ext
13392 cat >>conftest.$ac_ext <<_ACEOF
13393 /* end confdefs.h. */
13394 $ac_includes_default
13395 #include <gphoto2-camera.h>
13396 _ACEOF
13397 rm -f conftest.$ac_objext
13398 if { (ac_try="$ac_compile"
13399 case "(($ac_try" in
13400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13401 *) ac_try_echo=$ac_try;;
13402 esac
13403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13404 (eval "$ac_compile") 2>conftest.er1
13405 ac_status=$?
13406 grep -v '^ *+' conftest.er1 >conftest.err
13407 rm -f conftest.er1
13408 cat conftest.err >&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } && {
13411 test -z "$ac_c_werror_flag" ||
13412 test ! -s conftest.err
13413 } && test -s conftest.$ac_objext; then
13414 ac_header_compiler=yes
13415 else
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.$ac_ext >&5
13419 ac_header_compiler=no
13422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13423 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13424 echo "${ECHO_T}$ac_header_compiler" >&6; }
13426 # Is the header present?
13427 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13428 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13429 cat >conftest.$ac_ext <<_ACEOF
13430 /* confdefs.h. */
13431 _ACEOF
13432 cat confdefs.h >>conftest.$ac_ext
13433 cat >>conftest.$ac_ext <<_ACEOF
13434 /* end confdefs.h. */
13435 #include <gphoto2-camera.h>
13436 _ACEOF
13437 if { (ac_try="$ac_cpp conftest.$ac_ext"
13438 case "(($ac_try" in
13439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13440 *) ac_try_echo=$ac_try;;
13441 esac
13442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13444 ac_status=$?
13445 grep -v '^ *+' conftest.er1 >conftest.err
13446 rm -f conftest.er1
13447 cat conftest.err >&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); } >/dev/null && {
13450 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13451 test ! -s conftest.err
13452 }; then
13453 ac_header_preproc=yes
13454 else
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.$ac_ext >&5
13458 ac_header_preproc=no
13461 rm -f conftest.err conftest.$ac_ext
13462 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13463 echo "${ECHO_T}$ac_header_preproc" >&6; }
13465 # So? What about this header?
13466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13467 yes:no: )
13468 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13469 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13470 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13471 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13472 ac_header_preproc=yes
13474 no:yes:* )
13475 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13476 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13477 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13478 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13479 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13480 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13481 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13482 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13483 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13484 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13485 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13486 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13487 ( cat <<\_ASBOX
13488 ## ------------------------------------ ##
13489 ## Report this to wine-devel@winehq.org ##
13490 ## ------------------------------------ ##
13491 _ASBOX
13492 ) | sed "s/^/$as_me: WARNING: /" >&2
13494 esac
13495 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13496 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13497 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13498 echo $ECHO_N "(cached) $ECHO_C" >&6
13499 else
13500 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13502 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13503 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13506 if test $ac_cv_header_gphoto2_camera_h = yes; then
13507 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13508 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13509 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13510 echo $ECHO_N "(cached) $ECHO_C" >&6
13511 else
13512 ac_check_lib_save_LIBS=$LIBS
13513 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
13514 cat >conftest.$ac_ext <<_ACEOF
13515 /* confdefs.h. */
13516 _ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13521 /* Override any GCC internal prototype to avoid an error.
13522 Use char because int might match the return type of a GCC
13523 builtin and then its argument prototype would still apply. */
13524 #ifdef __cplusplus
13525 extern "C"
13526 #endif
13527 char gp_camera_new ();
13529 main ()
13531 return gp_camera_new ();
13533 return 0;
13535 _ACEOF
13536 rm -f conftest.$ac_objext conftest$ac_exeext
13537 if { (ac_try="$ac_link"
13538 case "(($ac_try" in
13539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13540 *) ac_try_echo=$ac_try;;
13541 esac
13542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13543 (eval "$ac_link") 2>conftest.er1
13544 ac_status=$?
13545 grep -v '^ *+' conftest.er1 >conftest.err
13546 rm -f conftest.er1
13547 cat conftest.err >&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); } && {
13550 test -z "$ac_c_werror_flag" ||
13551 test ! -s conftest.err
13552 } && test -s conftest$ac_exeext &&
13553 $as_test_x conftest$ac_exeext; then
13554 ac_cv_lib_gphoto2_gp_camera_new=yes
13555 else
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.$ac_ext >&5
13559 ac_cv_lib_gphoto2_gp_camera_new=no
13562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13563 conftest$ac_exeext conftest.$ac_ext
13564 LIBS=$ac_check_lib_save_LIBS
13566 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13567 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13568 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13570 cat >>confdefs.h <<\_ACEOF
13571 #define HAVE_GPHOTO2 1
13572 _ACEOF
13574 GPHOTO2LIBS="$ac_gphoto2_libs"
13576 GPHOTO2INCL="$ac_gphoto2_incl"
13583 CPPFLAGS="$ac_save_CPPFLAGS"
13585 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13586 case "x$with_gphoto" in
13587 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13588 xno) ;;
13589 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13590 This is an error since --with-gphoto was requested." >&5
13591 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13592 This is an error since --with-gphoto was requested." >&2;}
13593 { (exit 1); exit 1; }; } ;;
13594 esac
13599 RESOLVLIBS=""
13601 if test "$ac_cv_header_resolv_h" = "yes"
13602 then
13603 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13604 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13605 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 else
13608 ac_check_lib_save_LIBS=$LIBS
13609 LIBS="-lresolv $LIBS"
13610 cat >conftest.$ac_ext <<_ACEOF
13611 /* confdefs.h. */
13612 _ACEOF
13613 cat confdefs.h >>conftest.$ac_ext
13614 cat >>conftest.$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13620 #ifdef __cplusplus
13621 extern "C"
13622 #endif
13623 char res_query ();
13625 main ()
13627 return res_query ();
13629 return 0;
13631 _ACEOF
13632 rm -f conftest.$ac_objext conftest$ac_exeext
13633 if { (ac_try="$ac_link"
13634 case "(($ac_try" in
13635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13636 *) ac_try_echo=$ac_try;;
13637 esac
13638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13639 (eval "$ac_link") 2>conftest.er1
13640 ac_status=$?
13641 grep -v '^ *+' conftest.er1 >conftest.err
13642 rm -f conftest.er1
13643 cat conftest.err >&5
13644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645 (exit $ac_status); } && {
13646 test -z "$ac_c_werror_flag" ||
13647 test ! -s conftest.err
13648 } && test -s conftest$ac_exeext &&
13649 $as_test_x conftest$ac_exeext; then
13650 ac_cv_lib_resolv_res_query=yes
13651 else
13652 echo "$as_me: failed program was:" >&5
13653 sed 's/^/| /' conftest.$ac_ext >&5
13655 ac_cv_lib_resolv_res_query=no
13658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13659 conftest$ac_exeext conftest.$ac_ext
13660 LIBS=$ac_check_lib_save_LIBS
13662 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13663 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13664 if test $ac_cv_lib_resolv_res_query = yes; then
13666 cat >>confdefs.h <<\_ACEOF
13667 #define HAVE_RESOLV 1
13668 _ACEOF
13670 RESOLVLIBS="-lresolv"
13675 LCMSLIBS=""
13677 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13678 then
13679 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13680 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13681 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13683 else
13684 ac_check_lib_save_LIBS=$LIBS
13685 LIBS="-llcms $LIBS"
13686 cat >conftest.$ac_ext <<_ACEOF
13687 /* confdefs.h. */
13688 _ACEOF
13689 cat confdefs.h >>conftest.$ac_ext
13690 cat >>conftest.$ac_ext <<_ACEOF
13691 /* end confdefs.h. */
13693 /* Override any GCC internal prototype to avoid an error.
13694 Use char because int might match the return type of a GCC
13695 builtin and then its argument prototype would still apply. */
13696 #ifdef __cplusplus
13697 extern "C"
13698 #endif
13699 char cmsOpenProfileFromFile ();
13701 main ()
13703 return cmsOpenProfileFromFile ();
13705 return 0;
13707 _ACEOF
13708 rm -f conftest.$ac_objext conftest$ac_exeext
13709 if { (ac_try="$ac_link"
13710 case "(($ac_try" in
13711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13712 *) ac_try_echo=$ac_try;;
13713 esac
13714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13715 (eval "$ac_link") 2>conftest.er1
13716 ac_status=$?
13717 grep -v '^ *+' conftest.er1 >conftest.err
13718 rm -f conftest.er1
13719 cat conftest.err >&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } && {
13722 test -z "$ac_c_werror_flag" ||
13723 test ! -s conftest.err
13724 } && test -s conftest$ac_exeext &&
13725 $as_test_x conftest$ac_exeext; then
13726 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13727 else
13728 echo "$as_me: failed program was:" >&5
13729 sed 's/^/| /' conftest.$ac_ext >&5
13731 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13735 conftest$ac_exeext conftest.$ac_ext
13736 LIBS=$ac_check_lib_save_LIBS
13738 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13739 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13740 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13742 cat >>confdefs.h <<\_ACEOF
13743 #define HAVE_LCMS 1
13744 _ACEOF
13746 LCMSLIBS="-llcms"
13750 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13751 case "x$with_cms" in
13752 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13753 xno) ;;
13754 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13755 This is an error since --with-cms was requested." >&5
13756 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13757 This is an error since --with-cms was requested." >&2;}
13758 { (exit 1); exit 1; }; } ;;
13759 esac
13763 for ac_prog in freetype-config freetype2-config
13765 # Extract the first word of "$ac_prog", so it can be a program name with args.
13766 set dummy $ac_prog; ac_word=$2
13767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13769 if test "${ac_cv_prog_ft_devel+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13771 else
13772 if test -n "$ft_devel"; then
13773 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13774 else
13775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13776 for as_dir in $PATH
13778 IFS=$as_save_IFS
13779 test -z "$as_dir" && as_dir=.
13780 for ac_exec_ext in '' $ac_executable_extensions; do
13781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13782 ac_cv_prog_ft_devel="$ac_prog"
13783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13784 break 2
13786 done
13787 done
13788 IFS=$as_save_IFS
13792 ft_devel=$ac_cv_prog_ft_devel
13793 if test -n "$ft_devel"; then
13794 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13795 echo "${ECHO_T}$ft_devel" >&6; }
13796 else
13797 { echo "$as_me:$LINENO: result: no" >&5
13798 echo "${ECHO_T}no" >&6; }
13802 test -n "$ft_devel" && break
13803 done
13804 test -n "$ft_devel" || ft_devel="false"
13806 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13807 then
13808 ac_freetype_libs=`$ft_devel --libs`
13809 ac_freetype_incl=`$ft_devel --cflags`
13810 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13811 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13812 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13813 echo $ECHO_N "(cached) $ECHO_C" >&6
13814 else
13815 ac_check_soname_save_LIBS=$LIBS
13816 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13817 cat >conftest.$ac_ext <<_ACEOF
13818 /* confdefs.h. */
13819 _ACEOF
13820 cat confdefs.h >>conftest.$ac_ext
13821 cat >>conftest.$ac_ext <<_ACEOF
13822 /* end confdefs.h. */
13824 /* Override any GCC internal prototype to avoid an error.
13825 Use char because int might match the return type of a GCC
13826 builtin and then its argument prototype would still apply. */
13827 #ifdef __cplusplus
13828 extern "C"
13829 #endif
13830 char FT_Init_FreeType ();
13832 main ()
13834 return FT_Init_FreeType ();
13836 return 0;
13838 _ACEOF
13839 rm -f conftest.$ac_objext conftest$ac_exeext
13840 if { (ac_try="$ac_link"
13841 case "(($ac_try" in
13842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13843 *) ac_try_echo=$ac_try;;
13844 esac
13845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13846 (eval "$ac_link") 2>conftest.er1
13847 ac_status=$?
13848 grep -v '^ *+' conftest.er1 >conftest.err
13849 rm -f conftest.er1
13850 cat conftest.err >&5
13851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13852 (exit $ac_status); } && {
13853 test -z "$ac_c_werror_flag" ||
13854 test ! -s conftest.err
13855 } && test -s conftest$ac_exeext &&
13856 $as_test_x conftest$ac_exeext; then
13857 case "$LIBEXT" in
13858 dll) ;;
13859 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'` ;;
13860 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13861 esac
13862 else
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.$ac_ext >&5
13869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13870 conftest$ac_exeext conftest.$ac_ext
13871 LIBS=$ac_check_soname_save_LIBS
13873 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13874 { echo "$as_me:$LINENO: result: not found" >&5
13875 echo "${ECHO_T}not found" >&6; }
13876 ft_lib=no
13877 else
13878 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13879 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13881 cat >>confdefs.h <<_ACEOF
13882 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13883 _ACEOF
13885 ft_lib=yes
13888 if test "$ft_lib" = "yes"
13889 then
13890 ac_save_CPPFLAGS="$CPPFLAGS"
13891 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13904 for ac_header in ft2build.h \
13905 freetype/freetype.h \
13906 freetype/ftglyph.h \
13907 freetype/fttypes.h \
13908 freetype/tttables.h \
13909 freetype/ftnames.h \
13910 freetype/ftsnames.h \
13911 freetype/ttnameid.h \
13912 freetype/ftoutln.h \
13913 freetype/ftwinfnt.h \
13914 freetype/ftmodapi.h \
13915 freetype/internal/sfnt.h
13917 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13918 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13920 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13922 else
13923 cat >conftest.$ac_ext <<_ACEOF
13924 /* confdefs.h. */
13925 _ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929 #ifdef HAVE_FT2BUILD_H
13930 # include <ft2build.h>
13931 #endif
13933 #include <$ac_header>
13934 _ACEOF
13935 rm -f conftest.$ac_objext
13936 if { (ac_try="$ac_compile"
13937 case "(($ac_try" in
13938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13939 *) ac_try_echo=$ac_try;;
13940 esac
13941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13942 (eval "$ac_compile") 2>conftest.er1
13943 ac_status=$?
13944 grep -v '^ *+' conftest.er1 >conftest.err
13945 rm -f conftest.er1
13946 cat conftest.err >&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } && {
13949 test -z "$ac_c_werror_flag" ||
13950 test ! -s conftest.err
13951 } && test -s conftest.$ac_objext; then
13952 eval "$as_ac_Header=yes"
13953 else
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.$ac_ext >&5
13957 eval "$as_ac_Header=no"
13960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13962 ac_res=`eval echo '${'$as_ac_Header'}'`
13963 { echo "$as_me:$LINENO: result: $ac_res" >&5
13964 echo "${ECHO_T}$ac_res" >&6; }
13965 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13966 cat >>confdefs.h <<_ACEOF
13967 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13968 _ACEOF
13972 done
13974 cat >conftest.$ac_ext <<_ACEOF
13975 /* confdefs.h. */
13976 _ACEOF
13977 cat confdefs.h >>conftest.$ac_ext
13978 cat >>conftest.$ac_ext <<_ACEOF
13979 /* end confdefs.h. */
13980 #include <ft2build.h>
13981 #include <freetype/fttrigon.h>
13982 _ACEOF
13983 if { (ac_try="$ac_cpp conftest.$ac_ext"
13984 case "(($ac_try" in
13985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13986 *) ac_try_echo=$ac_try;;
13987 esac
13988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13990 ac_status=$?
13991 grep -v '^ *+' conftest.er1 >conftest.err
13992 rm -f conftest.er1
13993 cat conftest.err >&5
13994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13995 (exit $ac_status); } >/dev/null && {
13996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13997 test ! -s conftest.err
13998 }; then
14000 cat >>confdefs.h <<\_ACEOF
14001 #define HAVE_FREETYPE_FTTRIGON_H 1
14002 _ACEOF
14004 wine_cv_fttrigon=yes
14005 else
14006 echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.$ac_ext >&5
14009 wine_cv_fttrigon=no
14012 rm -f conftest.err conftest.$ac_ext
14013 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14014 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14015 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14017 else
14018 cat >conftest.$ac_ext <<_ACEOF
14019 /* confdefs.h. */
14020 _ACEOF
14021 cat confdefs.h >>conftest.$ac_ext
14022 cat >>conftest.$ac_ext <<_ACEOF
14023 /* end confdefs.h. */
14024 #include <freetype/ftmodapi.h>
14026 typedef FT_TrueTypeEngineType ac__type_new_;
14028 main ()
14030 if ((ac__type_new_ *) 0)
14031 return 0;
14032 if (sizeof (ac__type_new_))
14033 return 0;
14035 return 0;
14037 _ACEOF
14038 rm -f conftest.$ac_objext
14039 if { (ac_try="$ac_compile"
14040 case "(($ac_try" in
14041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14042 *) ac_try_echo=$ac_try;;
14043 esac
14044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14045 (eval "$ac_compile") 2>conftest.er1
14046 ac_status=$?
14047 grep -v '^ *+' conftest.er1 >conftest.err
14048 rm -f conftest.er1
14049 cat conftest.err >&5
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 (exit $ac_status); } && {
14052 test -z "$ac_c_werror_flag" ||
14053 test ! -s conftest.err
14054 } && test -s conftest.$ac_objext; then
14055 ac_cv_type_FT_TrueTypeEngineType=yes
14056 else
14057 echo "$as_me: failed program was:" >&5
14058 sed 's/^/| /' conftest.$ac_ext >&5
14060 ac_cv_type_FT_TrueTypeEngineType=no
14063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14065 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14066 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14067 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14069 cat >>confdefs.h <<_ACEOF
14070 #define HAVE_FT_TRUETYPEENGINETYPE 1
14071 _ACEOF
14076 ac_save_CFLAGS="$CFLAGS"
14077 CFLAGS="$CFLAGS $ac_freetype_libs"
14079 for ac_func in FT_Load_Sfnt_Table
14081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14082 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14084 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 else
14087 cat >conftest.$ac_ext <<_ACEOF
14088 /* confdefs.h. */
14089 _ACEOF
14090 cat confdefs.h >>conftest.$ac_ext
14091 cat >>conftest.$ac_ext <<_ACEOF
14092 /* end confdefs.h. */
14093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14095 #define $ac_func innocuous_$ac_func
14097 /* System header to define __stub macros and hopefully few prototypes,
14098 which can conflict with char $ac_func (); below.
14099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14100 <limits.h> exists even on freestanding compilers. */
14102 #ifdef __STDC__
14103 # include <limits.h>
14104 #else
14105 # include <assert.h>
14106 #endif
14108 #undef $ac_func
14110 /* Override any GCC internal prototype to avoid an error.
14111 Use char because int might match the return type of a GCC
14112 builtin and then its argument prototype would still apply. */
14113 #ifdef __cplusplus
14114 extern "C"
14115 #endif
14116 char $ac_func ();
14117 /* The GNU C library defines this for functions which it implements
14118 to always fail with ENOSYS. Some functions are actually named
14119 something starting with __ and the normal name is an alias. */
14120 #if defined __stub_$ac_func || defined __stub___$ac_func
14121 choke me
14122 #endif
14125 main ()
14127 return $ac_func ();
14129 return 0;
14131 _ACEOF
14132 rm -f conftest.$ac_objext conftest$ac_exeext
14133 if { (ac_try="$ac_link"
14134 case "(($ac_try" in
14135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14136 *) ac_try_echo=$ac_try;;
14137 esac
14138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14139 (eval "$ac_link") 2>conftest.er1
14140 ac_status=$?
14141 grep -v '^ *+' conftest.er1 >conftest.err
14142 rm -f conftest.er1
14143 cat conftest.err >&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } && {
14146 test -z "$ac_c_werror_flag" ||
14147 test ! -s conftest.err
14148 } && test -s conftest$ac_exeext &&
14149 $as_test_x conftest$ac_exeext; then
14150 eval "$as_ac_var=yes"
14151 else
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14155 eval "$as_ac_var=no"
14158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14159 conftest$ac_exeext conftest.$ac_ext
14161 ac_res=`eval echo '${'$as_ac_var'}'`
14162 { echo "$as_me:$LINENO: result: $ac_res" >&5
14163 echo "${ECHO_T}$ac_res" >&6; }
14164 if test `eval echo '${'$as_ac_var'}'` = yes; then
14165 cat >>confdefs.h <<_ACEOF
14166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14167 _ACEOF
14170 done
14172 CFLAGS="$ac_save_CFLAGS"
14173 CPPFLAGS="$ac_save_CPPFLAGS"
14174 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14175 then
14177 cat >>confdefs.h <<\_ACEOF
14178 #define HAVE_FREETYPE 1
14179 _ACEOF
14181 FREETYPELIBS="$ac_freetype_libs"
14183 FREETYPEINCL="$ac_freetype_incl"
14185 FONTSSUBDIRS="fonts"
14190 if test "x$FREETYPELIBS" = "x"; then
14191 case "x$with_freetype" in
14192 xno) ;;
14193 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14194 Fonts will not be built. Dialog text may be invisible or unaligned.
14195 Use the --without-freetype option if you really want this." >&5
14196 echo "$as_me: error: FreeType development files not found.
14197 Fonts will not be built. Dialog text may be invisible or unaligned.
14198 Use the --without-freetype option if you really want this." >&2;}
14199 { (exit 1); exit 1; }; } ;;
14200 esac
14204 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14205 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14206 if test "${ac_cv_c_ppdev+set}" = set; then
14207 echo $ECHO_N "(cached) $ECHO_C" >&6
14208 else
14209 cat >conftest.$ac_ext <<_ACEOF
14210 /* confdefs.h. */
14211 _ACEOF
14212 cat confdefs.h >>conftest.$ac_ext
14213 cat >>conftest.$ac_ext <<_ACEOF
14214 /* end confdefs.h. */
14215 #include <linux/ppdev.h>
14217 main ()
14219 ioctl (1,PPCLAIM,0)
14221 return 0;
14223 _ACEOF
14224 rm -f conftest.$ac_objext
14225 if { (ac_try="$ac_compile"
14226 case "(($ac_try" in
14227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14228 *) ac_try_echo=$ac_try;;
14229 esac
14230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14231 (eval "$ac_compile") 2>conftest.er1
14232 ac_status=$?
14233 grep -v '^ *+' conftest.er1 >conftest.err
14234 rm -f conftest.er1
14235 cat conftest.err >&5
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); } && {
14238 test -z "$ac_c_werror_flag" ||
14239 test ! -s conftest.err
14240 } && test -s conftest.$ac_objext; then
14241 ac_cv_c_ppdev="yes"
14242 else
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.$ac_ext >&5
14246 ac_cv_c_ppdev="no"
14249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14251 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14252 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14253 if test "$ac_cv_c_ppdev" = "yes"
14254 then
14256 cat >>confdefs.h <<\_ACEOF
14257 #define HAVE_PPDEV 1
14258 _ACEOF
14262 { echo "$as_me:$LINENO: checking for va_copy" >&5
14263 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14264 if test "${ac_cv_c_va_copy+set}" = set; then
14265 echo $ECHO_N "(cached) $ECHO_C" >&6
14266 else
14267 cat >conftest.$ac_ext <<_ACEOF
14268 /* confdefs.h. */
14269 _ACEOF
14270 cat confdefs.h >>conftest.$ac_ext
14271 cat >>conftest.$ac_ext <<_ACEOF
14272 /* end confdefs.h. */
14273 #include <stdarg.h>
14275 main ()
14277 va_list ap1, ap2; va_copy(ap1,ap2);
14279 return 0;
14281 _ACEOF
14282 rm -f conftest.$ac_objext conftest$ac_exeext
14283 if { (ac_try="$ac_link"
14284 case "(($ac_try" in
14285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14286 *) ac_try_echo=$ac_try;;
14287 esac
14288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14289 (eval "$ac_link") 2>conftest.er1
14290 ac_status=$?
14291 grep -v '^ *+' conftest.er1 >conftest.err
14292 rm -f conftest.er1
14293 cat conftest.err >&5
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); } && {
14296 test -z "$ac_c_werror_flag" ||
14297 test ! -s conftest.err
14298 } && test -s conftest$ac_exeext &&
14299 $as_test_x conftest$ac_exeext; then
14300 ac_cv_c_va_copy="yes"
14301 else
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.$ac_ext >&5
14305 ac_cv_c_va_copy="no"
14308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14309 conftest$ac_exeext conftest.$ac_ext
14312 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14313 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14314 if test "$ac_cv_c_va_copy" = "yes"
14315 then
14317 cat >>confdefs.h <<\_ACEOF
14318 #define HAVE_VA_COPY 1
14319 _ACEOF
14322 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14323 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14324 if test "${ac_cv_c___va_copy+set}" = set; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14326 else
14327 cat >conftest.$ac_ext <<_ACEOF
14328 /* confdefs.h. */
14329 _ACEOF
14330 cat confdefs.h >>conftest.$ac_ext
14331 cat >>conftest.$ac_ext <<_ACEOF
14332 /* end confdefs.h. */
14333 #include <stdarg.h>
14335 main ()
14337 va_list ap1, ap2; __va_copy(ap1,ap2);
14339 return 0;
14341 _ACEOF
14342 rm -f conftest.$ac_objext conftest$ac_exeext
14343 if { (ac_try="$ac_link"
14344 case "(($ac_try" in
14345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14346 *) ac_try_echo=$ac_try;;
14347 esac
14348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14349 (eval "$ac_link") 2>conftest.er1
14350 ac_status=$?
14351 grep -v '^ *+' conftest.er1 >conftest.err
14352 rm -f conftest.er1
14353 cat conftest.err >&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } && {
14356 test -z "$ac_c_werror_flag" ||
14357 test ! -s conftest.err
14358 } && test -s conftest$ac_exeext &&
14359 $as_test_x conftest$ac_exeext; then
14360 ac_cv_c___va_copy="yes"
14361 else
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14365 ac_cv_c___va_copy="no"
14368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14369 conftest$ac_exeext conftest.$ac_ext
14372 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14373 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14374 if test "$ac_cv_c___va_copy" = "yes"
14375 then
14377 cat >>confdefs.h <<\_ACEOF
14378 #define HAVE___VA_COPY 1
14379 _ACEOF
14383 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14384 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14385 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14386 echo $ECHO_N "(cached) $ECHO_C" >&6
14387 else
14388 cat >conftest.$ac_ext <<_ACEOF
14389 /* confdefs.h. */
14390 _ACEOF
14391 cat confdefs.h >>conftest.$ac_ext
14392 cat >>conftest.$ac_ext <<_ACEOF
14393 /* end confdefs.h. */
14394 #define _GNU_SOURCE
14395 #include <pthread.h>
14397 typedef pthread_rwlock_t ac__type_new_;
14399 main ()
14401 if ((ac__type_new_ *) 0)
14402 return 0;
14403 if (sizeof (ac__type_new_))
14404 return 0;
14406 return 0;
14408 _ACEOF
14409 rm -f conftest.$ac_objext
14410 if { (ac_try="$ac_compile"
14411 case "(($ac_try" in
14412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14413 *) ac_try_echo=$ac_try;;
14414 esac
14415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14416 (eval "$ac_compile") 2>conftest.er1
14417 ac_status=$?
14418 grep -v '^ *+' conftest.er1 >conftest.err
14419 rm -f conftest.er1
14420 cat conftest.err >&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); } && {
14423 test -z "$ac_c_werror_flag" ||
14424 test ! -s conftest.err
14425 } && test -s conftest.$ac_objext; then
14426 ac_cv_type_pthread_rwlock_t=yes
14427 else
14428 echo "$as_me: failed program was:" >&5
14429 sed 's/^/| /' conftest.$ac_ext >&5
14431 ac_cv_type_pthread_rwlock_t=no
14434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14436 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14437 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14438 if test $ac_cv_type_pthread_rwlock_t = yes; then
14440 cat >>confdefs.h <<_ACEOF
14441 #define HAVE_PTHREAD_RWLOCK_T 1
14442 _ACEOF
14446 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14447 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14448 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14449 echo $ECHO_N "(cached) $ECHO_C" >&6
14450 else
14451 cat >conftest.$ac_ext <<_ACEOF
14452 /* confdefs.h. */
14453 _ACEOF
14454 cat confdefs.h >>conftest.$ac_ext
14455 cat >>conftest.$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14457 #define _GNU_SOURCE
14458 #include <pthread.h>
14460 typedef pthread_rwlockattr_t ac__type_new_;
14462 main ()
14464 if ((ac__type_new_ *) 0)
14465 return 0;
14466 if (sizeof (ac__type_new_))
14467 return 0;
14469 return 0;
14471 _ACEOF
14472 rm -f conftest.$ac_objext
14473 if { (ac_try="$ac_compile"
14474 case "(($ac_try" in
14475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14476 *) ac_try_echo=$ac_try;;
14477 esac
14478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14479 (eval "$ac_compile") 2>conftest.er1
14480 ac_status=$?
14481 grep -v '^ *+' conftest.er1 >conftest.err
14482 rm -f conftest.er1
14483 cat conftest.err >&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } && {
14486 test -z "$ac_c_werror_flag" ||
14487 test ! -s conftest.err
14488 } && test -s conftest.$ac_objext; then
14489 ac_cv_type_pthread_rwlockattr_t=yes
14490 else
14491 echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.$ac_ext >&5
14494 ac_cv_type_pthread_rwlockattr_t=no
14497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14499 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14500 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14501 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14503 cat >>confdefs.h <<_ACEOF
14504 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14505 _ACEOF
14511 ac_wine_check_funcs_save_LIBS="$LIBS"
14512 LIBS="$LIBS $LIBPTHREAD"
14517 for ac_func in \
14518 pthread_attr_get_np \
14519 pthread_getattr_np \
14520 pthread_get_stackaddr_np \
14521 pthread_get_stacksize_np
14523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14524 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14526 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14527 echo $ECHO_N "(cached) $ECHO_C" >&6
14528 else
14529 cat >conftest.$ac_ext <<_ACEOF
14530 /* confdefs.h. */
14531 _ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14537 #define $ac_func innocuous_$ac_func
14539 /* System header to define __stub macros and hopefully few prototypes,
14540 which can conflict with char $ac_func (); below.
14541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14542 <limits.h> exists even on freestanding compilers. */
14544 #ifdef __STDC__
14545 # include <limits.h>
14546 #else
14547 # include <assert.h>
14548 #endif
14550 #undef $ac_func
14552 /* Override any GCC internal prototype to avoid an error.
14553 Use char because int might match the return type of a GCC
14554 builtin and then its argument prototype would still apply. */
14555 #ifdef __cplusplus
14556 extern "C"
14557 #endif
14558 char $ac_func ();
14559 /* The GNU C library defines this for functions which it implements
14560 to always fail with ENOSYS. Some functions are actually named
14561 something starting with __ and the normal name is an alias. */
14562 #if defined __stub_$ac_func || defined __stub___$ac_func
14563 choke me
14564 #endif
14567 main ()
14569 return $ac_func ();
14571 return 0;
14573 _ACEOF
14574 rm -f conftest.$ac_objext conftest$ac_exeext
14575 if { (ac_try="$ac_link"
14576 case "(($ac_try" in
14577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14578 *) ac_try_echo=$ac_try;;
14579 esac
14580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14581 (eval "$ac_link") 2>conftest.er1
14582 ac_status=$?
14583 grep -v '^ *+' conftest.er1 >conftest.err
14584 rm -f conftest.er1
14585 cat conftest.err >&5
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); } && {
14588 test -z "$ac_c_werror_flag" ||
14589 test ! -s conftest.err
14590 } && test -s conftest$ac_exeext &&
14591 $as_test_x conftest$ac_exeext; then
14592 eval "$as_ac_var=yes"
14593 else
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14597 eval "$as_ac_var=no"
14600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14601 conftest$ac_exeext conftest.$ac_ext
14603 ac_res=`eval echo '${'$as_ac_var'}'`
14604 { echo "$as_me:$LINENO: result: $ac_res" >&5
14605 echo "${ECHO_T}$ac_res" >&6; }
14606 if test `eval echo '${'$as_ac_var'}'` = yes; then
14607 cat >>confdefs.h <<_ACEOF
14608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14609 _ACEOF
14612 done
14614 LIBS="$ac_wine_check_funcs_save_LIBS"
14616 # Extract the first word of "esd-config", so it can be a program name with args.
14617 set dummy esd-config; ac_word=$2
14618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14620 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14621 echo $ECHO_N "(cached) $ECHO_C" >&6
14622 else
14623 case $ESDCONFIG in
14624 [\\/]* | ?:[\\/]*)
14625 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14629 for as_dir in $PATH
14631 IFS=$as_save_IFS
14632 test -z "$as_dir" && as_dir=.
14633 for ac_exec_ext in '' $ac_executable_extensions; do
14634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14635 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14637 break 2
14639 done
14640 done
14641 IFS=$as_save_IFS
14644 esac
14646 ESDCONFIG=$ac_cv_path_ESDCONFIG
14647 if test -n "$ESDCONFIG"; then
14648 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14649 echo "${ECHO_T}$ESDCONFIG" >&6; }
14650 else
14651 { echo "$as_me:$LINENO: result: no" >&5
14652 echo "${ECHO_T}no" >&6; }
14656 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14657 then
14658 ac_esd_incl=""
14659 for i in `$ESDCONFIG --cflags`
14661 case "$i" in
14662 -I*) ac_esd_incl="$ac_esd_incl $i";;
14663 esac
14664 done
14665 ac_esd_libs=`$ESDCONFIG --libs`
14666 save_CFLAGS="$CFLAGS"
14667 CFLAGS="$CFLAGS $ac_esd_incl"
14668 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14669 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14670 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14671 echo $ECHO_N "(cached) $ECHO_C" >&6
14672 else
14673 ac_check_lib_save_LIBS=$LIBS
14674 LIBS="-lesd $ac_esd_libs $LIBS"
14675 cat >conftest.$ac_ext <<_ACEOF
14676 /* confdefs.h. */
14677 _ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14682 /* Override any GCC internal prototype to avoid an error.
14683 Use char because int might match the return type of a GCC
14684 builtin and then its argument prototype would still apply. */
14685 #ifdef __cplusplus
14686 extern "C"
14687 #endif
14688 char esd_open_sound ();
14690 main ()
14692 return esd_open_sound ();
14694 return 0;
14696 _ACEOF
14697 rm -f conftest.$ac_objext conftest$ac_exeext
14698 if { (ac_try="$ac_link"
14699 case "(($ac_try" in
14700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14701 *) ac_try_echo=$ac_try;;
14702 esac
14703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14704 (eval "$ac_link") 2>conftest.er1
14705 ac_status=$?
14706 grep -v '^ *+' conftest.er1 >conftest.err
14707 rm -f conftest.er1
14708 cat conftest.err >&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); } && {
14711 test -z "$ac_c_werror_flag" ||
14712 test ! -s conftest.err
14713 } && test -s conftest$ac_exeext &&
14714 $as_test_x conftest$ac_exeext; then
14715 ac_cv_lib_esd_esd_open_sound=yes
14716 else
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14720 ac_cv_lib_esd_esd_open_sound=no
14723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14724 conftest$ac_exeext conftest.$ac_ext
14725 LIBS=$ac_check_lib_save_LIBS
14727 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14728 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14729 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14730 ESDINCL="$ac_esd_incl"
14732 ESDLIBS="$ac_esd_libs"
14735 cat >>confdefs.h <<\_ACEOF
14736 #define HAVE_ESD 1
14737 _ACEOF
14741 CFLAGS="$save_CFLAGS"
14744 ALSALIBS=""
14746 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14747 then
14748 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14749 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14750 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 else
14753 ac_check_lib_save_LIBS=$LIBS
14754 LIBS="-lasound $LIBS"
14755 cat >conftest.$ac_ext <<_ACEOF
14756 /* confdefs.h. */
14757 _ACEOF
14758 cat confdefs.h >>conftest.$ac_ext
14759 cat >>conftest.$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14762 /* Override any GCC internal prototype to avoid an error.
14763 Use char because int might match the return type of a GCC
14764 builtin and then its argument prototype would still apply. */
14765 #ifdef __cplusplus
14766 extern "C"
14767 #endif
14768 char snd_pcm_hw_params_get_access ();
14770 main ()
14772 return snd_pcm_hw_params_get_access ();
14774 return 0;
14776 _ACEOF
14777 rm -f conftest.$ac_objext conftest$ac_exeext
14778 if { (ac_try="$ac_link"
14779 case "(($ac_try" in
14780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14781 *) ac_try_echo=$ac_try;;
14782 esac
14783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14784 (eval "$ac_link") 2>conftest.er1
14785 ac_status=$?
14786 grep -v '^ *+' conftest.er1 >conftest.err
14787 rm -f conftest.er1
14788 cat conftest.err >&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } && {
14791 test -z "$ac_c_werror_flag" ||
14792 test ! -s conftest.err
14793 } && test -s conftest$ac_exeext &&
14794 $as_test_x conftest$ac_exeext; then
14795 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14796 else
14797 echo "$as_me: failed program was:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14800 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14804 conftest$ac_exeext conftest.$ac_ext
14805 LIBS=$ac_check_lib_save_LIBS
14807 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14808 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14809 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14810 cat >conftest.$ac_ext <<_ACEOF
14811 /* confdefs.h. */
14812 _ACEOF
14813 cat confdefs.h >>conftest.$ac_ext
14814 cat >>conftest.$ac_ext <<_ACEOF
14815 /* end confdefs.h. */
14816 #ifdef HAVE_ALSA_ASOUNDLIB_H
14817 #include <alsa/asoundlib.h>
14818 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14819 #include <sys/asoundlib.h>
14820 #endif
14822 main ()
14824 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14826 return 0;
14828 _ACEOF
14829 rm -f conftest.$ac_objext
14830 if { (ac_try="$ac_compile"
14831 case "(($ac_try" in
14832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14833 *) ac_try_echo=$ac_try;;
14834 esac
14835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14836 (eval "$ac_compile") 2>conftest.er1
14837 ac_status=$?
14838 grep -v '^ *+' conftest.er1 >conftest.err
14839 rm -f conftest.er1
14840 cat conftest.err >&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } && {
14843 test -z "$ac_c_werror_flag" ||
14844 test ! -s conftest.err
14845 } && test -s conftest.$ac_objext; then
14847 cat >>confdefs.h <<\_ACEOF
14848 #define HAVE_ALSA 1
14849 _ACEOF
14851 ALSALIBS="-lasound"
14852 else
14853 echo "$as_me: failed program was:" >&5
14854 sed 's/^/| /' conftest.$ac_ext >&5
14859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14864 AUDIOIOLIBS=""
14866 if test "$ac_cv_header_libaudioio_h" = "yes"
14867 then
14868 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14869 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14870 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14871 echo $ECHO_N "(cached) $ECHO_C" >&6
14872 else
14873 ac_check_lib_save_LIBS=$LIBS
14874 LIBS="-laudioio $LIBS"
14875 cat >conftest.$ac_ext <<_ACEOF
14876 /* confdefs.h. */
14877 _ACEOF
14878 cat confdefs.h >>conftest.$ac_ext
14879 cat >>conftest.$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14885 #ifdef __cplusplus
14886 extern "C"
14887 #endif
14888 char AudioIOGetVersion ();
14890 main ()
14892 return AudioIOGetVersion ();
14894 return 0;
14896 _ACEOF
14897 rm -f conftest.$ac_objext conftest$ac_exeext
14898 if { (ac_try="$ac_link"
14899 case "(($ac_try" in
14900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14901 *) ac_try_echo=$ac_try;;
14902 esac
14903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14904 (eval "$ac_link") 2>conftest.er1
14905 ac_status=$?
14906 grep -v '^ *+' conftest.er1 >conftest.err
14907 rm -f conftest.er1
14908 cat conftest.err >&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } && {
14911 test -z "$ac_c_werror_flag" ||
14912 test ! -s conftest.err
14913 } && test -s conftest$ac_exeext &&
14914 $as_test_x conftest$ac_exeext; then
14915 ac_cv_lib_audioio_AudioIOGetVersion=yes
14916 else
14917 echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.$ac_ext >&5
14920 ac_cv_lib_audioio_AudioIOGetVersion=no
14923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14924 conftest$ac_exeext conftest.$ac_ext
14925 LIBS=$ac_check_lib_save_LIBS
14927 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14928 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14929 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14930 AUDIOIOLIBS="-laudioio"
14932 cat >>confdefs.h <<\_ACEOF
14933 #define HAVE_LIBAUDIOIO 1
14934 _ACEOF
14941 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14942 then
14943 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14944 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14945 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14948 ac_check_soname_save_LIBS=$LIBS
14949 LIBS="-lcapi20 $LIBS"
14950 cat >conftest.$ac_ext <<_ACEOF
14951 /* confdefs.h. */
14952 _ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14957 /* Override any GCC internal prototype to avoid an error.
14958 Use char because int might match the return type of a GCC
14959 builtin and then its argument prototype would still apply. */
14960 #ifdef __cplusplus
14961 extern "C"
14962 #endif
14963 char capi20_register ();
14965 main ()
14967 return capi20_register ();
14969 return 0;
14971 _ACEOF
14972 rm -f conftest.$ac_objext conftest$ac_exeext
14973 if { (ac_try="$ac_link"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14977 esac
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_link") 2>conftest.er1
14980 ac_status=$?
14981 grep -v '^ *+' conftest.er1 >conftest.err
14982 rm -f conftest.er1
14983 cat conftest.err >&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest$ac_exeext &&
14989 $as_test_x conftest$ac_exeext; then
14990 case "$LIBEXT" in
14991 dll) ;;
14992 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'` ;;
14993 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14994 esac
14995 else
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.$ac_ext >&5
15002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15003 conftest$ac_exeext conftest.$ac_ext
15004 LIBS=$ac_check_soname_save_LIBS
15006 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15007 { echo "$as_me:$LINENO: result: not found" >&5
15008 echo "${ECHO_T}not found" >&6; }
15010 else
15011 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15012 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15014 cat >>confdefs.h <<_ACEOF
15015 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15016 _ACEOF
15022 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15023 case "x$with_capi" in
15024 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15025 xno) ;;
15026 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15027 This is an error since --with-capi was requested." >&5
15028 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15029 This is an error since --with-capi was requested." >&2;}
15030 { (exit 1); exit 1; }; } ;;
15031 esac
15035 CUPSINCL=""
15037 if test "x$with_cups" != "xno"
15038 then
15039 ac_save_CPPFLAGS="$CPPFLAGS"
15040 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
15041 ac_cups_libs="`cups-config --ldflags 2>/dev/null` `cups-config --libs 2>/dev/null`"
15042 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
15044 for ac_header in cups/cups.h
15046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15051 echo $ECHO_N "(cached) $ECHO_C" >&6
15053 ac_res=`eval echo '${'$as_ac_Header'}'`
15054 { echo "$as_me:$LINENO: result: $ac_res" >&5
15055 echo "${ECHO_T}$ac_res" >&6; }
15056 else
15057 # Is the header compilable?
15058 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15060 cat >conftest.$ac_ext <<_ACEOF
15061 /* confdefs.h. */
15062 _ACEOF
15063 cat confdefs.h >>conftest.$ac_ext
15064 cat >>conftest.$ac_ext <<_ACEOF
15065 /* end confdefs.h. */
15066 $ac_includes_default
15067 #include <$ac_header>
15068 _ACEOF
15069 rm -f conftest.$ac_objext
15070 if { (ac_try="$ac_compile"
15071 case "(($ac_try" in
15072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15074 esac
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_compile") 2>conftest.er1
15077 ac_status=$?
15078 grep -v '^ *+' conftest.er1 >conftest.err
15079 rm -f conftest.er1
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } && {
15083 test -z "$ac_c_werror_flag" ||
15084 test ! -s conftest.err
15085 } && test -s conftest.$ac_objext; then
15086 ac_header_compiler=yes
15087 else
15088 echo "$as_me: failed program was:" >&5
15089 sed 's/^/| /' conftest.$ac_ext >&5
15091 ac_header_compiler=no
15094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15095 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15096 echo "${ECHO_T}$ac_header_compiler" >&6; }
15098 # Is the header present?
15099 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15100 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15101 cat >conftest.$ac_ext <<_ACEOF
15102 /* confdefs.h. */
15103 _ACEOF
15104 cat confdefs.h >>conftest.$ac_ext
15105 cat >>conftest.$ac_ext <<_ACEOF
15106 /* end confdefs.h. */
15107 #include <$ac_header>
15108 _ACEOF
15109 if { (ac_try="$ac_cpp conftest.$ac_ext"
15110 case "(($ac_try" in
15111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15112 *) ac_try_echo=$ac_try;;
15113 esac
15114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15115 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15116 ac_status=$?
15117 grep -v '^ *+' conftest.er1 >conftest.err
15118 rm -f conftest.er1
15119 cat conftest.err >&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); } >/dev/null && {
15122 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15123 test ! -s conftest.err
15124 }; then
15125 ac_header_preproc=yes
15126 else
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.$ac_ext >&5
15130 ac_header_preproc=no
15133 rm -f conftest.err conftest.$ac_ext
15134 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15135 echo "${ECHO_T}$ac_header_preproc" >&6; }
15137 # So? What about this header?
15138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15139 yes:no: )
15140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15144 ac_header_preproc=yes
15146 no:yes:* )
15147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15159 ( cat <<\_ASBOX
15160 ## ------------------------------------ ##
15161 ## Report this to wine-devel@winehq.org ##
15162 ## ------------------------------------ ##
15163 _ASBOX
15164 ) | sed "s/^/$as_me: WARNING: /" >&2
15166 esac
15167 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15170 echo $ECHO_N "(cached) $ECHO_C" >&6
15171 else
15172 eval "$as_ac_Header=\$ac_header_preproc"
15174 ac_res=`eval echo '${'$as_ac_Header'}'`
15175 { echo "$as_me:$LINENO: result: $ac_res" >&5
15176 echo "${ECHO_T}$ac_res" >&6; }
15179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15180 cat >>confdefs.h <<_ACEOF
15181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15182 _ACEOF
15183 { echo "$as_me:$LINENO: checking for -lcups" >&5
15184 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15185 if test "${ac_cv_lib_soname_cups+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 else
15188 ac_check_soname_save_LIBS=$LIBS
15189 LIBS="-lcups $ac_cups_libs $LIBS"
15190 cat >conftest.$ac_ext <<_ACEOF
15191 /* confdefs.h. */
15192 _ACEOF
15193 cat confdefs.h >>conftest.$ac_ext
15194 cat >>conftest.$ac_ext <<_ACEOF
15195 /* end confdefs.h. */
15197 /* Override any GCC internal prototype to avoid an error.
15198 Use char because int might match the return type of a GCC
15199 builtin and then its argument prototype would still apply. */
15200 #ifdef __cplusplus
15201 extern "C"
15202 #endif
15203 char cupsGetDefault ();
15205 main ()
15207 return cupsGetDefault ();
15209 return 0;
15211 _ACEOF
15212 rm -f conftest.$ac_objext conftest$ac_exeext
15213 if { (ac_try="$ac_link"
15214 case "(($ac_try" in
15215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15216 *) ac_try_echo=$ac_try;;
15217 esac
15218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15219 (eval "$ac_link") 2>conftest.er1
15220 ac_status=$?
15221 grep -v '^ *+' conftest.er1 >conftest.err
15222 rm -f conftest.er1
15223 cat conftest.err >&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } && {
15226 test -z "$ac_c_werror_flag" ||
15227 test ! -s conftest.err
15228 } && test -s conftest$ac_exeext &&
15229 $as_test_x conftest$ac_exeext; then
15230 case "$LIBEXT" in
15231 dll) ;;
15232 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'` ;;
15233 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15234 esac
15235 else
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.$ac_ext >&5
15242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15243 conftest$ac_exeext conftest.$ac_ext
15244 LIBS=$ac_check_soname_save_LIBS
15246 if test "x$ac_cv_lib_soname_cups" = "x"; then
15247 { echo "$as_me:$LINENO: result: not found" >&5
15248 echo "${ECHO_T}not found" >&6; }
15250 else
15251 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15252 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15254 cat >>confdefs.h <<_ACEOF
15255 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15256 _ACEOF
15258 CUPSINCL="$ac_cups_cflags"
15263 done
15265 CPPFLAGS="$ac_save_CPPFLAGS"
15267 if test "x$ac_cv_lib_soname_cups" = "x"; then
15268 case "x$with_cups" in
15269 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15270 xno) ;;
15271 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15272 This is an error since --with-cups was requested." >&5
15273 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15274 This is an error since --with-cups was requested." >&2;}
15275 { (exit 1); exit 1; }; } ;;
15276 esac
15280 if test "$ac_cv_header_jack_jack_h" = "yes"
15281 then
15282 { echo "$as_me:$LINENO: checking for -ljack" >&5
15283 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15284 if test "${ac_cv_lib_soname_jack+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15286 else
15287 ac_check_soname_save_LIBS=$LIBS
15288 LIBS="-ljack $LIBS"
15289 cat >conftest.$ac_ext <<_ACEOF
15290 /* confdefs.h. */
15291 _ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15296 /* Override any GCC internal prototype to avoid an error.
15297 Use char because int might match the return type of a GCC
15298 builtin and then its argument prototype would still apply. */
15299 #ifdef __cplusplus
15300 extern "C"
15301 #endif
15302 char jack_client_new ();
15304 main ()
15306 return jack_client_new ();
15308 return 0;
15310 _ACEOF
15311 rm -f conftest.$ac_objext conftest$ac_exeext
15312 if { (ac_try="$ac_link"
15313 case "(($ac_try" in
15314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15315 *) ac_try_echo=$ac_try;;
15316 esac
15317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15318 (eval "$ac_link") 2>conftest.er1
15319 ac_status=$?
15320 grep -v '^ *+' conftest.er1 >conftest.err
15321 rm -f conftest.er1
15322 cat conftest.err >&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); } && {
15325 test -z "$ac_c_werror_flag" ||
15326 test ! -s conftest.err
15327 } && test -s conftest$ac_exeext &&
15328 $as_test_x conftest$ac_exeext; then
15329 case "$LIBEXT" in
15330 dll) ;;
15331 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'` ;;
15332 *) 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'` ;;
15333 esac
15334 else
15335 echo "$as_me: failed program was:" >&5
15336 sed 's/^/| /' conftest.$ac_ext >&5
15341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15342 conftest$ac_exeext conftest.$ac_ext
15343 LIBS=$ac_check_soname_save_LIBS
15345 if test "x$ac_cv_lib_soname_jack" = "x"; then
15346 { echo "$as_me:$LINENO: result: not found" >&5
15347 echo "${ECHO_T}not found" >&6; }
15349 else
15350 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15351 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15353 cat >>confdefs.h <<_ACEOF
15354 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15355 _ACEOF
15362 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15363 then
15364 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15365 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15366 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 else
15369 ac_check_soname_save_LIBS=$LIBS
15370 LIBS="-lfontconfig $LIBS"
15371 cat >conftest.$ac_ext <<_ACEOF
15372 /* confdefs.h. */
15373 _ACEOF
15374 cat confdefs.h >>conftest.$ac_ext
15375 cat >>conftest.$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15378 /* Override any GCC internal prototype to avoid an error.
15379 Use char because int might match the return type of a GCC
15380 builtin and then its argument prototype would still apply. */
15381 #ifdef __cplusplus
15382 extern "C"
15383 #endif
15384 char FcInit ();
15386 main ()
15388 return FcInit ();
15390 return 0;
15392 _ACEOF
15393 rm -f conftest.$ac_objext conftest$ac_exeext
15394 if { (ac_try="$ac_link"
15395 case "(($ac_try" in
15396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15397 *) ac_try_echo=$ac_try;;
15398 esac
15399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15400 (eval "$ac_link") 2>conftest.er1
15401 ac_status=$?
15402 grep -v '^ *+' conftest.er1 >conftest.err
15403 rm -f conftest.er1
15404 cat conftest.err >&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); } && {
15407 test -z "$ac_c_werror_flag" ||
15408 test ! -s conftest.err
15409 } && test -s conftest$ac_exeext &&
15410 $as_test_x conftest$ac_exeext; then
15411 case "$LIBEXT" in
15412 dll) ;;
15413 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'` ;;
15414 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15415 esac
15416 else
15417 echo "$as_me: failed program was:" >&5
15418 sed 's/^/| /' conftest.$ac_ext >&5
15423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15424 conftest$ac_exeext conftest.$ac_ext
15425 LIBS=$ac_check_soname_save_LIBS
15427 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15428 { echo "$as_me:$LINENO: result: not found" >&5
15429 echo "${ECHO_T}not found" >&6; }
15431 else
15432 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15433 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15435 cat >>confdefs.h <<_ACEOF
15436 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15437 _ACEOF
15442 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15443 then
15444 ac_save_CPPFLAGS="$CPPFLAGS"
15445 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15446 $as_unset ac_cv_header_fontconfig_fontconfig_h
15448 for ac_header in fontconfig/fontconfig.h
15450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15452 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15454 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 ac_res=`eval echo '${'$as_ac_Header'}'`
15458 { echo "$as_me:$LINENO: result: $ac_res" >&5
15459 echo "${ECHO_T}$ac_res" >&6; }
15460 else
15461 # Is the header compilable?
15462 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15464 cat >conftest.$ac_ext <<_ACEOF
15465 /* confdefs.h. */
15466 _ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470 $ac_includes_default
15471 #include <$ac_header>
15472 _ACEOF
15473 rm -f conftest.$ac_objext
15474 if { (ac_try="$ac_compile"
15475 case "(($ac_try" in
15476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15477 *) ac_try_echo=$ac_try;;
15478 esac
15479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15480 (eval "$ac_compile") 2>conftest.er1
15481 ac_status=$?
15482 grep -v '^ *+' conftest.er1 >conftest.err
15483 rm -f conftest.er1
15484 cat conftest.err >&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); } && {
15487 test -z "$ac_c_werror_flag" ||
15488 test ! -s conftest.err
15489 } && test -s conftest.$ac_objext; then
15490 ac_header_compiler=yes
15491 else
15492 echo "$as_me: failed program was:" >&5
15493 sed 's/^/| /' conftest.$ac_ext >&5
15495 ac_header_compiler=no
15498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15500 echo "${ECHO_T}$ac_header_compiler" >&6; }
15502 # Is the header present?
15503 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15505 cat >conftest.$ac_ext <<_ACEOF
15506 /* confdefs.h. */
15507 _ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511 #include <$ac_header>
15512 _ACEOF
15513 if { (ac_try="$ac_cpp conftest.$ac_ext"
15514 case "(($ac_try" in
15515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15516 *) ac_try_echo=$ac_try;;
15517 esac
15518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15520 ac_status=$?
15521 grep -v '^ *+' conftest.er1 >conftest.err
15522 rm -f conftest.er1
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } >/dev/null && {
15526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15527 test ! -s conftest.err
15528 }; then
15529 ac_header_preproc=yes
15530 else
15531 echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.$ac_ext >&5
15534 ac_header_preproc=no
15537 rm -f conftest.err conftest.$ac_ext
15538 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15539 echo "${ECHO_T}$ac_header_preproc" >&6; }
15541 # So? What about this header?
15542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15543 yes:no: )
15544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15548 ac_header_preproc=yes
15550 no:yes:* )
15551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15563 ( cat <<\_ASBOX
15564 ## ------------------------------------ ##
15565 ## Report this to wine-devel@winehq.org ##
15566 ## ------------------------------------ ##
15567 _ASBOX
15568 ) | sed "s/^/$as_me: WARNING: /" >&2
15570 esac
15571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15574 echo $ECHO_N "(cached) $ECHO_C" >&6
15575 else
15576 eval "$as_ac_Header=\$ac_header_preproc"
15578 ac_res=`eval echo '${'$as_ac_Header'}'`
15579 { echo "$as_me:$LINENO: result: $ac_res" >&5
15580 echo "${ECHO_T}$ac_res" >&6; }
15583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15584 cat >>confdefs.h <<_ACEOF
15585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15586 _ACEOF
15590 done
15592 CPPFLAGS="$ac_save_CPPFLAGS"
15593 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15594 then
15595 FONTCONFIGINCL="$X_CFLAGS"
15597 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15598 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15599 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 else
15602 ac_check_soname_save_LIBS=$LIBS
15603 LIBS="-lfontconfig $X_LIBS $LIBS"
15604 cat >conftest.$ac_ext <<_ACEOF
15605 /* confdefs.h. */
15606 _ACEOF
15607 cat confdefs.h >>conftest.$ac_ext
15608 cat >>conftest.$ac_ext <<_ACEOF
15609 /* end confdefs.h. */
15611 /* Override any GCC internal prototype to avoid an error.
15612 Use char because int might match the return type of a GCC
15613 builtin and then its argument prototype would still apply. */
15614 #ifdef __cplusplus
15615 extern "C"
15616 #endif
15617 char FcInit ();
15619 main ()
15621 return FcInit ();
15623 return 0;
15625 _ACEOF
15626 rm -f conftest.$ac_objext conftest$ac_exeext
15627 if { (ac_try="$ac_link"
15628 case "(($ac_try" in
15629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15630 *) ac_try_echo=$ac_try;;
15631 esac
15632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15633 (eval "$ac_link") 2>conftest.er1
15634 ac_status=$?
15635 grep -v '^ *+' conftest.er1 >conftest.err
15636 rm -f conftest.er1
15637 cat conftest.err >&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } && {
15640 test -z "$ac_c_werror_flag" ||
15641 test ! -s conftest.err
15642 } && test -s conftest$ac_exeext &&
15643 $as_test_x conftest$ac_exeext; then
15644 case "$LIBEXT" in
15645 dll) ;;
15646 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'` ;;
15647 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15648 esac
15649 else
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15657 conftest$ac_exeext conftest.$ac_ext
15658 LIBS=$ac_check_soname_save_LIBS
15660 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15661 { echo "$as_me:$LINENO: result: not found" >&5
15662 echo "${ECHO_T}not found" >&6; }
15664 else
15665 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15666 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15668 cat >>confdefs.h <<_ACEOF
15669 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15670 _ACEOF
15677 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15678 case "x$with_fontconfig" in
15679 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15680 xno) ;;
15681 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15682 This is an error since --with-fontconfig was requested." >&5
15683 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15684 This is an error since --with-fontconfig was requested." >&2;}
15685 { (exit 1); exit 1; }; } ;;
15686 esac
15690 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15691 then
15692 { echo "$as_me:$LINENO: checking for -lssl" >&5
15693 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15694 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15695 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 else
15697 ac_check_soname_save_LIBS=$LIBS
15698 LIBS="-lssl $LIBS"
15699 cat >conftest.$ac_ext <<_ACEOF
15700 /* confdefs.h. */
15701 _ACEOF
15702 cat confdefs.h >>conftest.$ac_ext
15703 cat >>conftest.$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15706 /* Override any GCC internal prototype to avoid an error.
15707 Use char because int might match the return type of a GCC
15708 builtin and then its argument prototype would still apply. */
15709 #ifdef __cplusplus
15710 extern "C"
15711 #endif
15712 char SSL_library_init ();
15714 main ()
15716 return SSL_library_init ();
15718 return 0;
15720 _ACEOF
15721 rm -f conftest.$ac_objext conftest$ac_exeext
15722 if { (ac_try="$ac_link"
15723 case "(($ac_try" in
15724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15725 *) ac_try_echo=$ac_try;;
15726 esac
15727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15728 (eval "$ac_link") 2>conftest.er1
15729 ac_status=$?
15730 grep -v '^ *+' conftest.er1 >conftest.err
15731 rm -f conftest.er1
15732 cat conftest.err >&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); } && {
15735 test -z "$ac_c_werror_flag" ||
15736 test ! -s conftest.err
15737 } && test -s conftest$ac_exeext &&
15738 $as_test_x conftest$ac_exeext; then
15739 case "$LIBEXT" in
15740 dll) ;;
15741 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'` ;;
15742 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15743 esac
15744 else
15745 echo "$as_me: failed program was:" >&5
15746 sed 's/^/| /' conftest.$ac_ext >&5
15751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15752 conftest$ac_exeext conftest.$ac_ext
15753 LIBS=$ac_check_soname_save_LIBS
15755 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15756 { echo "$as_me:$LINENO: result: not found" >&5
15757 echo "${ECHO_T}not found" >&6; }
15759 else
15760 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15761 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15763 cat >>confdefs.h <<_ACEOF
15764 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15765 _ACEOF
15770 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15771 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15772 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15773 echo $ECHO_N "(cached) $ECHO_C" >&6
15774 else
15775 ac_check_soname_save_LIBS=$LIBS
15776 LIBS="-lcrypto $LIBS"
15777 cat >conftest.$ac_ext <<_ACEOF
15778 /* confdefs.h. */
15779 _ACEOF
15780 cat confdefs.h >>conftest.$ac_ext
15781 cat >>conftest.$ac_ext <<_ACEOF
15782 /* end confdefs.h. */
15784 /* Override any GCC internal prototype to avoid an error.
15785 Use char because int might match the return type of a GCC
15786 builtin and then its argument prototype would still apply. */
15787 #ifdef __cplusplus
15788 extern "C"
15789 #endif
15790 char BIO_new_socket ();
15792 main ()
15794 return BIO_new_socket ();
15796 return 0;
15798 _ACEOF
15799 rm -f conftest.$ac_objext conftest$ac_exeext
15800 if { (ac_try="$ac_link"
15801 case "(($ac_try" in
15802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15803 *) ac_try_echo=$ac_try;;
15804 esac
15805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15806 (eval "$ac_link") 2>conftest.er1
15807 ac_status=$?
15808 grep -v '^ *+' conftest.er1 >conftest.err
15809 rm -f conftest.er1
15810 cat conftest.err >&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } && {
15813 test -z "$ac_c_werror_flag" ||
15814 test ! -s conftest.err
15815 } && test -s conftest$ac_exeext &&
15816 $as_test_x conftest$ac_exeext; then
15817 case "$LIBEXT" in
15818 dll) ;;
15819 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'` ;;
15820 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15821 esac
15822 else
15823 echo "$as_me: failed program was:" >&5
15824 sed 's/^/| /' conftest.$ac_ext >&5
15829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15830 conftest$ac_exeext conftest.$ac_ext
15831 LIBS=$ac_check_soname_save_LIBS
15833 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15834 { echo "$as_me:$LINENO: result: not found" >&5
15835 echo "${ECHO_T}not found" >&6; }
15837 else
15838 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15839 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15841 cat >>confdefs.h <<_ACEOF
15842 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15843 _ACEOF
15849 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15850 case "x$with_openssl" in
15851 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15852 xno) ;;
15853 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15854 This is an error since --with-openssl was requested." >&5
15855 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15856 This is an error since --with-openssl was requested." >&2;}
15857 { (exit 1); exit 1; }; } ;;
15858 esac
15862 if test "$ac_cv_header_jpeglib_h" = "yes"
15863 then
15864 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15865 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15866 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15867 echo $ECHO_N "(cached) $ECHO_C" >&6
15868 else
15869 ac_check_soname_save_LIBS=$LIBS
15870 LIBS="-ljpeg $LIBS"
15871 cat >conftest.$ac_ext <<_ACEOF
15872 /* confdefs.h. */
15873 _ACEOF
15874 cat confdefs.h >>conftest.$ac_ext
15875 cat >>conftest.$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15878 /* Override any GCC internal prototype to avoid an error.
15879 Use char because int might match the return type of a GCC
15880 builtin and then its argument prototype would still apply. */
15881 #ifdef __cplusplus
15882 extern "C"
15883 #endif
15884 char jpeg_start_decompress ();
15886 main ()
15888 return jpeg_start_decompress ();
15890 return 0;
15892 _ACEOF
15893 rm -f conftest.$ac_objext conftest$ac_exeext
15894 if { (ac_try="$ac_link"
15895 case "(($ac_try" in
15896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15897 *) ac_try_echo=$ac_try;;
15898 esac
15899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15900 (eval "$ac_link") 2>conftest.er1
15901 ac_status=$?
15902 grep -v '^ *+' conftest.er1 >conftest.err
15903 rm -f conftest.er1
15904 cat conftest.err >&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } && {
15907 test -z "$ac_c_werror_flag" ||
15908 test ! -s conftest.err
15909 } && test -s conftest$ac_exeext &&
15910 $as_test_x conftest$ac_exeext; then
15911 case "$LIBEXT" in
15912 dll) ;;
15913 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'` ;;
15914 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15915 esac
15916 else
15917 echo "$as_me: failed program was:" >&5
15918 sed 's/^/| /' conftest.$ac_ext >&5
15923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15924 conftest$ac_exeext conftest.$ac_ext
15925 LIBS=$ac_check_soname_save_LIBS
15927 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15928 { echo "$as_me:$LINENO: result: not found" >&5
15929 echo "${ECHO_T}not found" >&6; }
15931 else
15932 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15933 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15935 cat >>confdefs.h <<_ACEOF
15936 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15937 _ACEOF
15943 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15944 case "x$with_jpeg" in
15945 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15946 xno) ;;
15947 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15948 This is an error since --with-jpeg was requested." >&5
15949 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15950 This is an error since --with-jpeg was requested." >&2;}
15951 { (exit 1); exit 1; }; } ;;
15952 esac
15956 if test "$ac_cv_header_png_h" = "yes"
15957 then
15958 { echo "$as_me:$LINENO: checking for -lpng" >&5
15959 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15960 if test "${ac_cv_lib_soname_png+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15962 else
15963 ac_check_soname_save_LIBS=$LIBS
15964 LIBS="-lpng -lm $LIBS"
15965 cat >conftest.$ac_ext <<_ACEOF
15966 /* confdefs.h. */
15967 _ACEOF
15968 cat confdefs.h >>conftest.$ac_ext
15969 cat >>conftest.$ac_ext <<_ACEOF
15970 /* end confdefs.h. */
15972 /* Override any GCC internal prototype to avoid an error.
15973 Use char because int might match the return type of a GCC
15974 builtin and then its argument prototype would still apply. */
15975 #ifdef __cplusplus
15976 extern "C"
15977 #endif
15978 char png_create_read_struct ();
15980 main ()
15982 return png_create_read_struct ();
15984 return 0;
15986 _ACEOF
15987 rm -f conftest.$ac_objext conftest$ac_exeext
15988 if { (ac_try="$ac_link"
15989 case "(($ac_try" in
15990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15991 *) ac_try_echo=$ac_try;;
15992 esac
15993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15994 (eval "$ac_link") 2>conftest.er1
15995 ac_status=$?
15996 grep -v '^ *+' conftest.er1 >conftest.err
15997 rm -f conftest.er1
15998 cat conftest.err >&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } && {
16001 test -z "$ac_c_werror_flag" ||
16002 test ! -s conftest.err
16003 } && test -s conftest$ac_exeext &&
16004 $as_test_x conftest$ac_exeext; then
16005 case "$LIBEXT" in
16006 dll) ;;
16007 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'` ;;
16008 *) 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'` ;;
16009 esac
16010 else
16011 echo "$as_me: failed program was:" >&5
16012 sed 's/^/| /' conftest.$ac_ext >&5
16017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16018 conftest$ac_exeext conftest.$ac_ext
16019 LIBS=$ac_check_soname_save_LIBS
16021 if test "x$ac_cv_lib_soname_png" = "x"; then
16022 { echo "$as_me:$LINENO: result: not found" >&5
16023 echo "${ECHO_T}not found" >&6; }
16025 else
16026 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
16027 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
16029 cat >>confdefs.h <<_ACEOF
16030 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16031 _ACEOF
16037 if test "x$ac_cv_lib_soname_png" = "x"; then
16038 case "x$with_png" in
16039 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
16040 xno) ;;
16041 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16042 This is an error since --with-png was requested." >&5
16043 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16044 This is an error since --with-png was requested." >&2;}
16045 { (exit 1); exit 1; }; } ;;
16046 esac
16050 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16051 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16052 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16053 echo $ECHO_N "(cached) $ECHO_C" >&6
16054 else
16055 ac_check_soname_save_LIBS=$LIBS
16056 LIBS="-lodbc $LIBS"
16057 cat >conftest.$ac_ext <<_ACEOF
16058 /* confdefs.h. */
16059 _ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16064 /* Override any GCC internal prototype to avoid an error.
16065 Use char because int might match the return type of a GCC
16066 builtin and then its argument prototype would still apply. */
16067 #ifdef __cplusplus
16068 extern "C"
16069 #endif
16070 char SQLConnect ();
16072 main ()
16074 return SQLConnect ();
16076 return 0;
16078 _ACEOF
16079 rm -f conftest.$ac_objext conftest$ac_exeext
16080 if { (ac_try="$ac_link"
16081 case "(($ac_try" in
16082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16083 *) ac_try_echo=$ac_try;;
16084 esac
16085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16086 (eval "$ac_link") 2>conftest.er1
16087 ac_status=$?
16088 grep -v '^ *+' conftest.er1 >conftest.err
16089 rm -f conftest.er1
16090 cat conftest.err >&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } && {
16093 test -z "$ac_c_werror_flag" ||
16094 test ! -s conftest.err
16095 } && test -s conftest$ac_exeext &&
16096 $as_test_x conftest$ac_exeext; then
16097 case "$LIBEXT" in
16098 dll) ;;
16099 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'` ;;
16100 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16101 esac
16102 else
16103 echo "$as_me: failed program was:" >&5
16104 sed 's/^/| /' conftest.$ac_ext >&5
16109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16110 conftest$ac_exeext conftest.$ac_ext
16111 LIBS=$ac_check_soname_save_LIBS
16113 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16114 { echo "$as_me:$LINENO: result: not found" >&5
16115 echo "${ECHO_T}not found" >&6; }
16116 cat >>confdefs.h <<_ACEOF
16117 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16118 _ACEOF
16120 else
16121 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16122 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16124 cat >>confdefs.h <<_ACEOF
16125 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16126 _ACEOF
16132 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16133 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16134 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16135 "$ac_cv_header_soundcard_h" != "yes" -a \
16136 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16137 then
16138 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16142 EXTRACFLAGS=""
16144 if test "x${GCC}" = "xyes"
16145 then
16146 EXTRACFLAGS="-Wall -pipe"
16148 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16149 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16150 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16151 echo $ECHO_N "(cached) $ECHO_C" >&6
16152 else
16153 if test "$cross_compiling" = yes; then
16154 ac_cv_c_gcc_strength_bug="yes"
16155 else
16156 cat >conftest.$ac_ext <<_ACEOF
16157 /* confdefs.h. */
16158 _ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 int L[4] = {0,1,2,3};
16164 main ()
16166 static int Array[3];
16167 unsigned int B = 3;
16168 int i;
16169 for(i=0; i<B; i++) Array[i] = i - 3;
16170 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16171 L[i] = 4;
16172 exit( Array[1] != -2 || L[2] != 3)
16174 return 0;
16176 _ACEOF
16177 rm -f conftest$ac_exeext
16178 if { (ac_try="$ac_link"
16179 case "(($ac_try" in
16180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16181 *) ac_try_echo=$ac_try;;
16182 esac
16183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16184 (eval "$ac_link") 2>&5
16185 ac_status=$?
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16188 { (case "(($ac_try" in
16189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16190 *) ac_try_echo=$ac_try;;
16191 esac
16192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16193 (eval "$ac_try") 2>&5
16194 ac_status=$?
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); }; }; then
16197 ac_cv_c_gcc_strength_bug="no"
16198 else
16199 echo "$as_me: program exited with status $ac_status" >&5
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16203 ( exit $ac_status )
16204 ac_cv_c_gcc_strength_bug="yes"
16206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16211 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16212 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16213 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16214 then
16215 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16219 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16220 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16221 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16222 echo $ECHO_N "(cached) $ECHO_C" >&6
16223 else
16224 ac_wine_try_cflags_saved=$CFLAGS
16225 CFLAGS="$CFLAGS -fshort-wchar"
16226 cat >conftest.$ac_ext <<_ACEOF
16227 /* confdefs.h. */
16228 _ACEOF
16229 cat confdefs.h >>conftest.$ac_ext
16230 cat >>conftest.$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16234 main ()
16238 return 0;
16240 _ACEOF
16241 rm -f conftest.$ac_objext conftest$ac_exeext
16242 if { (ac_try="$ac_link"
16243 case "(($ac_try" in
16244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16245 *) ac_try_echo=$ac_try;;
16246 esac
16247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16248 (eval "$ac_link") 2>conftest.er1
16249 ac_status=$?
16250 grep -v '^ *+' conftest.er1 >conftest.err
16251 rm -f conftest.er1
16252 cat conftest.err >&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } && {
16255 test -z "$ac_c_werror_flag" ||
16256 test ! -s conftest.err
16257 } && test -s conftest$ac_exeext &&
16258 $as_test_x conftest$ac_exeext; then
16259 ac_cv_cflags__fshort_wchar=yes
16260 else
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.$ac_ext >&5
16264 ac_cv_cflags__fshort_wchar=no
16267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16268 conftest$ac_exeext conftest.$ac_ext
16269 CFLAGS=$ac_wine_try_cflags_saved
16271 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16272 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16273 if test $ac_cv_cflags__fshort_wchar = yes; then
16275 cat >>confdefs.h <<\_ACEOF
16276 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16277 _ACEOF
16281 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16282 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16283 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16285 else
16286 ac_wine_try_cflags_saved=$CFLAGS
16287 CFLAGS="$CFLAGS -fno-strict-aliasing"
16288 cat >conftest.$ac_ext <<_ACEOF
16289 /* confdefs.h. */
16290 _ACEOF
16291 cat confdefs.h >>conftest.$ac_ext
16292 cat >>conftest.$ac_ext <<_ACEOF
16293 /* end confdefs.h. */
16296 main ()
16300 return 0;
16302 _ACEOF
16303 rm -f conftest.$ac_objext conftest$ac_exeext
16304 if { (ac_try="$ac_link"
16305 case "(($ac_try" in
16306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16307 *) ac_try_echo=$ac_try;;
16308 esac
16309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16310 (eval "$ac_link") 2>conftest.er1
16311 ac_status=$?
16312 grep -v '^ *+' conftest.er1 >conftest.err
16313 rm -f conftest.er1
16314 cat conftest.err >&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); } && {
16317 test -z "$ac_c_werror_flag" ||
16318 test ! -s conftest.err
16319 } && test -s conftest$ac_exeext &&
16320 $as_test_x conftest$ac_exeext; then
16321 ac_cv_cflags__fno_strict_aliasing=yes
16322 else
16323 echo "$as_me: failed program was:" >&5
16324 sed 's/^/| /' conftest.$ac_ext >&5
16326 ac_cv_cflags__fno_strict_aliasing=no
16329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16330 conftest$ac_exeext conftest.$ac_ext
16331 CFLAGS=$ac_wine_try_cflags_saved
16333 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16334 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16335 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16336 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16339 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16340 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16341 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 else
16344 ac_wine_try_cflags_saved=$CFLAGS
16345 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16346 cat >conftest.$ac_ext <<_ACEOF
16347 /* confdefs.h. */
16348 _ACEOF
16349 cat confdefs.h >>conftest.$ac_ext
16350 cat >>conftest.$ac_ext <<_ACEOF
16351 /* end confdefs.h. */
16354 main ()
16358 return 0;
16360 _ACEOF
16361 rm -f conftest.$ac_objext conftest$ac_exeext
16362 if { (ac_try="$ac_link"
16363 case "(($ac_try" in
16364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16365 *) ac_try_echo=$ac_try;;
16366 esac
16367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16368 (eval "$ac_link") 2>conftest.er1
16369 ac_status=$?
16370 grep -v '^ *+' conftest.er1 >conftest.err
16371 rm -f conftest.er1
16372 cat conftest.err >&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } && {
16375 test -z "$ac_c_werror_flag" ||
16376 test ! -s conftest.err
16377 } && test -s conftest$ac_exeext &&
16378 $as_test_x conftest$ac_exeext; then
16379 ac_cv_cflags__Wdeclaration_after_statement=yes
16380 else
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16384 ac_cv_cflags__Wdeclaration_after_statement=no
16387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16388 conftest$ac_exeext conftest.$ac_ext
16389 CFLAGS=$ac_wine_try_cflags_saved
16391 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16392 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16393 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16394 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16397 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16398 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16399 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 ac_wine_try_cflags_saved=$CFLAGS
16403 CFLAGS="$CFLAGS -Wwrite-strings"
16404 cat >conftest.$ac_ext <<_ACEOF
16405 /* confdefs.h. */
16406 _ACEOF
16407 cat confdefs.h >>conftest.$ac_ext
16408 cat >>conftest.$ac_ext <<_ACEOF
16409 /* end confdefs.h. */
16412 main ()
16416 return 0;
16418 _ACEOF
16419 rm -f conftest.$ac_objext conftest$ac_exeext
16420 if { (ac_try="$ac_link"
16421 case "(($ac_try" in
16422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16423 *) ac_try_echo=$ac_try;;
16424 esac
16425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16426 (eval "$ac_link") 2>conftest.er1
16427 ac_status=$?
16428 grep -v '^ *+' conftest.er1 >conftest.err
16429 rm -f conftest.er1
16430 cat conftest.err >&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); } && {
16433 test -z "$ac_c_werror_flag" ||
16434 test ! -s conftest.err
16435 } && test -s conftest$ac_exeext &&
16436 $as_test_x conftest$ac_exeext; then
16437 ac_cv_cflags__Wwrite_strings=yes
16438 else
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16442 ac_cv_cflags__Wwrite_strings=no
16445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16446 conftest$ac_exeext conftest.$ac_ext
16447 CFLAGS=$ac_wine_try_cflags_saved
16449 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16450 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16451 if test $ac_cv_cflags__Wwrite_strings = yes; then
16452 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16455 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16456 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16457 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16458 echo $ECHO_N "(cached) $ECHO_C" >&6
16459 else
16460 ac_wine_try_cflags_saved=$CFLAGS
16461 CFLAGS="$CFLAGS -Wtype-limits"
16462 cat >conftest.$ac_ext <<_ACEOF
16463 /* confdefs.h. */
16464 _ACEOF
16465 cat confdefs.h >>conftest.$ac_ext
16466 cat >>conftest.$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16470 main ()
16474 return 0;
16476 _ACEOF
16477 rm -f conftest.$ac_objext conftest$ac_exeext
16478 if { (ac_try="$ac_link"
16479 case "(($ac_try" in
16480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16481 *) ac_try_echo=$ac_try;;
16482 esac
16483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16484 (eval "$ac_link") 2>conftest.er1
16485 ac_status=$?
16486 grep -v '^ *+' conftest.er1 >conftest.err
16487 rm -f conftest.er1
16488 cat conftest.err >&5
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } && {
16491 test -z "$ac_c_werror_flag" ||
16492 test ! -s conftest.err
16493 } && test -s conftest$ac_exeext &&
16494 $as_test_x conftest$ac_exeext; then
16495 ac_cv_cflags__Wtype_limits=yes
16496 else
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16500 ac_cv_cflags__Wtype_limits=no
16503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16504 conftest$ac_exeext conftest.$ac_ext
16505 CFLAGS=$ac_wine_try_cflags_saved
16507 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16508 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16509 if test $ac_cv_cflags__Wtype_limits = yes; then
16510 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16514 saved_CFLAGS="$CFLAGS"
16515 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16516 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16517 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16518 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16520 else
16521 cat >conftest.$ac_ext <<_ACEOF
16522 /* confdefs.h. */
16523 _ACEOF
16524 cat confdefs.h >>conftest.$ac_ext
16525 cat >>conftest.$ac_ext <<_ACEOF
16526 /* end confdefs.h. */
16527 #include <string.h>
16529 main ()
16533 return 0;
16535 _ACEOF
16536 rm -f conftest.$ac_objext
16537 if { (ac_try="$ac_compile"
16538 case "(($ac_try" in
16539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16540 *) ac_try_echo=$ac_try;;
16541 esac
16542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16543 (eval "$ac_compile") 2>conftest.er1
16544 ac_status=$?
16545 grep -v '^ *+' conftest.er1 >conftest.err
16546 rm -f conftest.er1
16547 cat conftest.err >&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } && {
16550 test -z "$ac_c_werror_flag" ||
16551 test ! -s conftest.err
16552 } && test -s conftest.$ac_objext; then
16553 ac_cv_c_string_h_warnings=no
16554 else
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16558 ac_cv_c_string_h_warnings=yes
16561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16563 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16564 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16565 CFLAGS="$saved_CFLAGS"
16566 if test "$ac_cv_c_string_h_warnings" = "no"
16567 then
16568 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16571 BUILTINFLAG=""
16573 saved_CFLAGS="$CFLAGS"
16574 CFLAGS="$CFLAGS -Werror"
16575 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16576 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16577 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16578 echo $ECHO_N "(cached) $ECHO_C" >&6
16579 else
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16588 main ()
16590 int iswlower(unsigned short);
16592 return 0;
16594 _ACEOF
16595 rm -f conftest.$ac_objext
16596 if { (ac_try="$ac_compile"
16597 case "(($ac_try" in
16598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16599 *) ac_try_echo=$ac_try;;
16600 esac
16601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16602 (eval "$ac_compile") 2>conftest.er1
16603 ac_status=$?
16604 grep -v '^ *+' conftest.er1 >conftest.err
16605 rm -f conftest.er1
16606 cat conftest.err >&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } && {
16609 test -z "$ac_c_werror_flag" ||
16610 test ! -s conftest.err
16611 } && test -s conftest.$ac_objext; then
16612 ac_cv_c_builtin_wchar_ctype=no
16613 else
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.$ac_ext >&5
16617 ac_cv_c_builtin_wchar_ctype=yes
16620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16622 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16623 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16624 CFLAGS="$saved_CFLAGS"
16625 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16626 then
16627 BUILTINFLAG="-fno-builtin"
16632 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16633 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16634 if test "${ac_cv_asm_func_def+set}" = set; then
16635 echo $ECHO_N "(cached) $ECHO_C" >&6
16636 else
16637 cat >conftest.$ac_ext <<_ACEOF
16638 /* confdefs.h. */
16639 _ACEOF
16640 cat confdefs.h >>conftest.$ac_ext
16641 cat >>conftest.$ac_ext <<_ACEOF
16642 /* end confdefs.h. */
16645 main ()
16647 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16649 return 0;
16651 _ACEOF
16652 rm -f conftest.$ac_objext conftest$ac_exeext
16653 if { (ac_try="$ac_link"
16654 case "(($ac_try" in
16655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16656 *) ac_try_echo=$ac_try;;
16657 esac
16658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16659 (eval "$ac_link") 2>conftest.er1
16660 ac_status=$?
16661 grep -v '^ *+' conftest.er1 >conftest.err
16662 rm -f conftest.er1
16663 cat conftest.err >&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } && {
16666 test -z "$ac_c_werror_flag" ||
16667 test ! -s conftest.err
16668 } && test -s conftest$ac_exeext &&
16669 $as_test_x conftest$ac_exeext; then
16670 ac_cv_asm_func_def=".def"
16671 else
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16675 cat >conftest.$ac_ext <<_ACEOF
16676 /* confdefs.h. */
16677 _ACEOF
16678 cat confdefs.h >>conftest.$ac_ext
16679 cat >>conftest.$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16683 main ()
16685 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16687 return 0;
16689 _ACEOF
16690 rm -f conftest.$ac_objext conftest$ac_exeext
16691 if { (ac_try="$ac_link"
16692 case "(($ac_try" in
16693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16694 *) ac_try_echo=$ac_try;;
16695 esac
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_link") 2>conftest.er1
16698 ac_status=$?
16699 grep -v '^ *+' conftest.er1 >conftest.err
16700 rm -f conftest.er1
16701 cat conftest.err >&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } && {
16704 test -z "$ac_c_werror_flag" ||
16705 test ! -s conftest.err
16706 } && test -s conftest$ac_exeext &&
16707 $as_test_x conftest$ac_exeext; then
16708 ac_cv_asm_func_def=".type @function"
16709 else
16710 echo "$as_me: failed program was:" >&5
16711 sed 's/^/| /' conftest.$ac_ext >&5
16713 cat >conftest.$ac_ext <<_ACEOF
16714 /* confdefs.h. */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16721 main ()
16723 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16725 return 0;
16727 _ACEOF
16728 rm -f conftest.$ac_objext conftest$ac_exeext
16729 if { (ac_try="$ac_link"
16730 case "(($ac_try" in
16731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16732 *) ac_try_echo=$ac_try;;
16733 esac
16734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16735 (eval "$ac_link") 2>conftest.er1
16736 ac_status=$?
16737 grep -v '^ *+' conftest.er1 >conftest.err
16738 rm -f conftest.er1
16739 cat conftest.err >&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } && {
16742 test -z "$ac_c_werror_flag" ||
16743 test ! -s conftest.err
16744 } && test -s conftest$ac_exeext &&
16745 $as_test_x conftest$ac_exeext; then
16746 ac_cv_asm_func_def=".type 2"
16747 else
16748 echo "$as_me: failed program was:" >&5
16749 sed 's/^/| /' conftest.$ac_ext >&5
16751 ac_cv_asm_func_def="unknown"
16754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16755 conftest$ac_exeext conftest.$ac_ext
16758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16759 conftest$ac_exeext conftest.$ac_ext
16762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16763 conftest$ac_exeext conftest.$ac_ext
16765 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16766 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16770 case "$ac_cv_asm_func_def" in
16771 ".def")
16772 cat >>confdefs.h <<\_ACEOF
16773 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16774 _ACEOF
16776 ".type @function")
16777 cat >>confdefs.h <<\_ACEOF
16778 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16779 _ACEOF
16781 ".type 2")
16782 cat >>confdefs.h <<\_ACEOF
16783 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16784 _ACEOF
16787 cat >>confdefs.h <<\_ACEOF
16788 #define __ASM_FUNC(name) ""
16789 _ACEOF
16791 esac
16794 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16795 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16796 if test "${ac_cv_c_extern_prefix+set}" = set; then
16797 echo $ECHO_N "(cached) $ECHO_C" >&6
16798 else
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h. */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 extern int ac_test;
16807 main ()
16809 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16811 return 0;
16813 _ACEOF
16814 rm -f conftest.$ac_objext conftest$ac_exeext
16815 if { (ac_try="$ac_link"
16816 case "(($ac_try" in
16817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16818 *) ac_try_echo=$ac_try;;
16819 esac
16820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16821 (eval "$ac_link") 2>conftest.er1
16822 ac_status=$?
16823 grep -v '^ *+' conftest.er1 >conftest.err
16824 rm -f conftest.er1
16825 cat conftest.err >&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } && {
16828 test -z "$ac_c_werror_flag" ||
16829 test ! -s conftest.err
16830 } && test -s conftest$ac_exeext &&
16831 $as_test_x conftest$ac_exeext; then
16832 ac_cv_c_extern_prefix="yes"
16833 else
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16837 ac_cv_c_extern_prefix="no"
16840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16841 conftest$ac_exeext conftest.$ac_ext
16843 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16844 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16848 if test "$ac_cv_c_extern_prefix" = "yes"
16849 then
16850 cat >>confdefs.h <<\_ACEOF
16851 #define __ASM_NAME(name) "_" name
16852 _ACEOF
16854 else
16855 cat >>confdefs.h <<\_ACEOF
16856 #define __ASM_NAME(name) name
16857 _ACEOF
16862 LDPATH=""
16864 case $build_os in
16865 cygwin*|mingw32*)
16866 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16868 darwin*|macosx*)
16870 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16871 then
16872 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16876 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16878 esac
16880 case $host_os in
16881 mingw32*)
16882 CRTLIBS="-lmsvcrt"
16884 SOCKETLIBS="-lws2_32"
16887 esac
16889 MAIN_BINARY="wine-pthread"
16890 case $host_cpu in
16891 *i[3456789]86*)
16892 case $host_os in
16893 linux* | k*bsd*-gnu)
16894 MAIN_BINARY="wine-glibc"
16896 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16898 freebsd*)
16899 MAIN_BINARY="wine-freebsd"
16901 EXTRA_BINARIES="wine-pthread"
16903 esac
16905 esac
16977 for ac_func in \
16978 _pclose \
16979 _popen \
16980 _snprintf \
16981 _spawnvp \
16982 _strdup \
16983 _stricmp \
16984 _strnicmp \
16985 _strtoi64 \
16986 _strtoui64 \
16987 _vsnprintf \
16988 asctime_r \
16989 chsize \
16990 clone \
16991 dlopen \
16992 epoll_create \
16993 ffs \
16994 finite \
16995 fork \
16996 fpclass \
16997 fstatfs \
16998 fstatvfs \
16999 ftruncate \
17000 futimes \
17001 futimesat \
17002 getdirentries \
17003 getopt_long \
17004 getpagesize \
17005 getpwuid \
17006 gettid \
17007 gettimeofday \
17008 getuid \
17009 inet_pton \
17010 kqueue \
17011 lstat \
17012 memmove \
17013 mmap \
17014 pclose \
17015 poll \
17016 popen \
17017 prctl \
17018 pread \
17019 pwrite \
17020 readlink \
17021 rfork \
17022 sched_yield \
17023 select \
17024 setproctitle \
17025 setrlimit \
17026 settimeofday \
17027 sigaltstack \
17028 sigprocmask \
17029 snprintf \
17030 spawnvp \
17031 statfs \
17032 statvfs \
17033 strcasecmp \
17034 strdup \
17035 strerror \
17036 strncasecmp \
17037 strtold \
17038 strtoll \
17039 strtoull \
17040 tcgetattr \
17041 thr_kill2 \
17042 timegm \
17043 usleep \
17044 vsnprintf \
17045 wait4 \
17046 waitpid \
17049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17050 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17052 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17053 echo $ECHO_N "(cached) $ECHO_C" >&6
17054 else
17055 cat >conftest.$ac_ext <<_ACEOF
17056 /* confdefs.h. */
17057 _ACEOF
17058 cat confdefs.h >>conftest.$ac_ext
17059 cat >>conftest.$ac_ext <<_ACEOF
17060 /* end confdefs.h. */
17061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17063 #define $ac_func innocuous_$ac_func
17065 /* System header to define __stub macros and hopefully few prototypes,
17066 which can conflict with char $ac_func (); below.
17067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17068 <limits.h> exists even on freestanding compilers. */
17070 #ifdef __STDC__
17071 # include <limits.h>
17072 #else
17073 # include <assert.h>
17074 #endif
17076 #undef $ac_func
17078 /* Override any GCC internal prototype to avoid an error.
17079 Use char because int might match the return type of a GCC
17080 builtin and then its argument prototype would still apply. */
17081 #ifdef __cplusplus
17082 extern "C"
17083 #endif
17084 char $ac_func ();
17085 /* The GNU C library defines this for functions which it implements
17086 to always fail with ENOSYS. Some functions are actually named
17087 something starting with __ and the normal name is an alias. */
17088 #if defined __stub_$ac_func || defined __stub___$ac_func
17089 choke me
17090 #endif
17093 main ()
17095 return $ac_func ();
17097 return 0;
17099 _ACEOF
17100 rm -f conftest.$ac_objext conftest$ac_exeext
17101 if { (ac_try="$ac_link"
17102 case "(($ac_try" in
17103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17105 esac
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_link") 2>conftest.er1
17108 ac_status=$?
17109 grep -v '^ *+' conftest.er1 >conftest.err
17110 rm -f conftest.er1
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } && {
17114 test -z "$ac_c_werror_flag" ||
17115 test ! -s conftest.err
17116 } && test -s conftest$ac_exeext &&
17117 $as_test_x conftest$ac_exeext; then
17118 eval "$as_ac_var=yes"
17119 else
17120 echo "$as_me: failed program was:" >&5
17121 sed 's/^/| /' conftest.$ac_ext >&5
17123 eval "$as_ac_var=no"
17126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17127 conftest$ac_exeext conftest.$ac_ext
17129 ac_res=`eval echo '${'$as_ac_var'}'`
17130 { echo "$as_me:$LINENO: result: $ac_res" >&5
17131 echo "${ECHO_T}$ac_res" >&6; }
17132 if test `eval echo '${'$as_ac_var'}'` = yes; then
17133 cat >>confdefs.h <<_ACEOF
17134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17135 _ACEOF
17138 done
17141 if test "$ac_cv_func_dlopen" = no
17142 then
17143 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17144 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17145 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17147 else
17148 ac_check_lib_save_LIBS=$LIBS
17149 LIBS="-ldl $LIBS"
17150 cat >conftest.$ac_ext <<_ACEOF
17151 /* confdefs.h. */
17152 _ACEOF
17153 cat confdefs.h >>conftest.$ac_ext
17154 cat >>conftest.$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17157 /* Override any GCC internal prototype to avoid an error.
17158 Use char because int might match the return type of a GCC
17159 builtin and then its argument prototype would still apply. */
17160 #ifdef __cplusplus
17161 extern "C"
17162 #endif
17163 char dlopen ();
17165 main ()
17167 return dlopen ();
17169 return 0;
17171 _ACEOF
17172 rm -f conftest.$ac_objext conftest$ac_exeext
17173 if { (ac_try="$ac_link"
17174 case "(($ac_try" in
17175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17176 *) ac_try_echo=$ac_try;;
17177 esac
17178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17179 (eval "$ac_link") 2>conftest.er1
17180 ac_status=$?
17181 grep -v '^ *+' conftest.er1 >conftest.err
17182 rm -f conftest.er1
17183 cat conftest.err >&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } && {
17186 test -z "$ac_c_werror_flag" ||
17187 test ! -s conftest.err
17188 } && test -s conftest$ac_exeext &&
17189 $as_test_x conftest$ac_exeext; then
17190 ac_cv_lib_dl_dlopen=yes
17191 else
17192 echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.$ac_ext >&5
17195 ac_cv_lib_dl_dlopen=no
17198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17199 conftest$ac_exeext conftest.$ac_ext
17200 LIBS=$ac_check_lib_save_LIBS
17202 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17203 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17204 if test $ac_cv_lib_dl_dlopen = yes; then
17205 cat >>confdefs.h <<\_ACEOF
17206 #define HAVE_DLOPEN 1
17207 _ACEOF
17208 LIBDL="-ldl"
17213 ac_wine_check_funcs_save_LIBS="$LIBS"
17214 LIBS="$LIBS $LIBDL"
17216 for ac_func in dladdr
17218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17222 echo $ECHO_N "(cached) $ECHO_C" >&6
17223 else
17224 cat >conftest.$ac_ext <<_ACEOF
17225 /* confdefs.h. */
17226 _ACEOF
17227 cat confdefs.h >>conftest.$ac_ext
17228 cat >>conftest.$ac_ext <<_ACEOF
17229 /* end confdefs.h. */
17230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17232 #define $ac_func innocuous_$ac_func
17234 /* System header to define __stub macros and hopefully few prototypes,
17235 which can conflict with char $ac_func (); below.
17236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17237 <limits.h> exists even on freestanding compilers. */
17239 #ifdef __STDC__
17240 # include <limits.h>
17241 #else
17242 # include <assert.h>
17243 #endif
17245 #undef $ac_func
17247 /* Override any GCC internal prototype to avoid an error.
17248 Use char because int might match the return type of a GCC
17249 builtin and then its argument prototype would still apply. */
17250 #ifdef __cplusplus
17251 extern "C"
17252 #endif
17253 char $ac_func ();
17254 /* The GNU C library defines this for functions which it implements
17255 to always fail with ENOSYS. Some functions are actually named
17256 something starting with __ and the normal name is an alias. */
17257 #if defined __stub_$ac_func || defined __stub___$ac_func
17258 choke me
17259 #endif
17262 main ()
17264 return $ac_func ();
17266 return 0;
17268 _ACEOF
17269 rm -f conftest.$ac_objext conftest$ac_exeext
17270 if { (ac_try="$ac_link"
17271 case "(($ac_try" in
17272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17273 *) ac_try_echo=$ac_try;;
17274 esac
17275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17276 (eval "$ac_link") 2>conftest.er1
17277 ac_status=$?
17278 grep -v '^ *+' conftest.er1 >conftest.err
17279 rm -f conftest.er1
17280 cat conftest.err >&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } && {
17283 test -z "$ac_c_werror_flag" ||
17284 test ! -s conftest.err
17285 } && test -s conftest$ac_exeext &&
17286 $as_test_x conftest$ac_exeext; then
17287 eval "$as_ac_var=yes"
17288 else
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.$ac_ext >&5
17292 eval "$as_ac_var=no"
17295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17296 conftest$ac_exeext conftest.$ac_ext
17298 ac_res=`eval echo '${'$as_ac_var'}'`
17299 { echo "$as_me:$LINENO: result: $ac_res" >&5
17300 echo "${ECHO_T}$ac_res" >&6; }
17301 if test `eval echo '${'$as_ac_var'}'` = yes; then
17302 cat >>confdefs.h <<_ACEOF
17303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17304 _ACEOF
17307 done
17309 LIBS="$ac_wine_check_funcs_save_LIBS"
17311 if test "$ac_cv_func_poll" = no
17312 then
17313 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17314 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17315 if test "${ac_cv_lib_poll_poll+set}" = set; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17317 else
17318 ac_check_lib_save_LIBS=$LIBS
17319 LIBS="-lpoll $LIBS"
17320 cat >conftest.$ac_ext <<_ACEOF
17321 /* confdefs.h. */
17322 _ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17327 /* Override any GCC internal prototype to avoid an error.
17328 Use char because int might match the return type of a GCC
17329 builtin and then its argument prototype would still apply. */
17330 #ifdef __cplusplus
17331 extern "C"
17332 #endif
17333 char poll ();
17335 main ()
17337 return poll ();
17339 return 0;
17341 _ACEOF
17342 rm -f conftest.$ac_objext conftest$ac_exeext
17343 if { (ac_try="$ac_link"
17344 case "(($ac_try" in
17345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17346 *) ac_try_echo=$ac_try;;
17347 esac
17348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17349 (eval "$ac_link") 2>conftest.er1
17350 ac_status=$?
17351 grep -v '^ *+' conftest.er1 >conftest.err
17352 rm -f conftest.er1
17353 cat conftest.err >&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } && {
17356 test -z "$ac_c_werror_flag" ||
17357 test ! -s conftest.err
17358 } && test -s conftest$ac_exeext &&
17359 $as_test_x conftest$ac_exeext; then
17360 ac_cv_lib_poll_poll=yes
17361 else
17362 echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17365 ac_cv_lib_poll_poll=no
17368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17369 conftest$ac_exeext conftest.$ac_ext
17370 LIBS=$ac_check_lib_save_LIBS
17372 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17373 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17374 if test $ac_cv_lib_poll_poll = yes; then
17375 cat >>confdefs.h <<\_ACEOF
17376 #define HAVE_POLL 1
17377 _ACEOF
17378 LIBPOLL="-lpoll"
17384 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17385 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17386 if test "${ac_cv_search_gethostbyname+set}" = set; then
17387 echo $ECHO_N "(cached) $ECHO_C" >&6
17388 else
17389 ac_func_search_save_LIBS=$LIBS
17390 cat >conftest.$ac_ext <<_ACEOF
17391 /* confdefs.h. */
17392 _ACEOF
17393 cat confdefs.h >>conftest.$ac_ext
17394 cat >>conftest.$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17397 /* Override any GCC internal prototype to avoid an error.
17398 Use char because int might match the return type of a GCC
17399 builtin and then its argument prototype would still apply. */
17400 #ifdef __cplusplus
17401 extern "C"
17402 #endif
17403 char gethostbyname ();
17405 main ()
17407 return gethostbyname ();
17409 return 0;
17411 _ACEOF
17412 for ac_lib in '' nsl; do
17413 if test -z "$ac_lib"; then
17414 ac_res="none required"
17415 else
17416 ac_res=-l$ac_lib
17417 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17419 rm -f conftest.$ac_objext conftest$ac_exeext
17420 if { (ac_try="$ac_link"
17421 case "(($ac_try" in
17422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17423 *) ac_try_echo=$ac_try;;
17424 esac
17425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17426 (eval "$ac_link") 2>conftest.er1
17427 ac_status=$?
17428 grep -v '^ *+' conftest.er1 >conftest.err
17429 rm -f conftest.er1
17430 cat conftest.err >&5
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } && {
17433 test -z "$ac_c_werror_flag" ||
17434 test ! -s conftest.err
17435 } && test -s conftest$ac_exeext &&
17436 $as_test_x conftest$ac_exeext; then
17437 ac_cv_search_gethostbyname=$ac_res
17438 else
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.$ac_ext >&5
17445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17446 conftest$ac_exeext
17447 if test "${ac_cv_search_gethostbyname+set}" = set; then
17448 break
17450 done
17451 if test "${ac_cv_search_gethostbyname+set}" = set; then
17453 else
17454 ac_cv_search_gethostbyname=no
17456 rm conftest.$ac_ext
17457 LIBS=$ac_func_search_save_LIBS
17459 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17460 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17461 ac_res=$ac_cv_search_gethostbyname
17462 if test "$ac_res" != no; then
17463 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17468 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17469 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17470 if test "${ac_cv_search_connect+set}" = set; then
17471 echo $ECHO_N "(cached) $ECHO_C" >&6
17472 else
17473 ac_func_search_save_LIBS=$LIBS
17474 cat >conftest.$ac_ext <<_ACEOF
17475 /* confdefs.h. */
17476 _ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17481 /* Override any GCC internal prototype to avoid an error.
17482 Use char because int might match the return type of a GCC
17483 builtin and then its argument prototype would still apply. */
17484 #ifdef __cplusplus
17485 extern "C"
17486 #endif
17487 char connect ();
17489 main ()
17491 return connect ();
17493 return 0;
17495 _ACEOF
17496 for ac_lib in '' socket; do
17497 if test -z "$ac_lib"; then
17498 ac_res="none required"
17499 else
17500 ac_res=-l$ac_lib
17501 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17503 rm -f conftest.$ac_objext conftest$ac_exeext
17504 if { (ac_try="$ac_link"
17505 case "(($ac_try" in
17506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17507 *) ac_try_echo=$ac_try;;
17508 esac
17509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17510 (eval "$ac_link") 2>conftest.er1
17511 ac_status=$?
17512 grep -v '^ *+' conftest.er1 >conftest.err
17513 rm -f conftest.er1
17514 cat conftest.err >&5
17515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } && {
17517 test -z "$ac_c_werror_flag" ||
17518 test ! -s conftest.err
17519 } && test -s conftest$ac_exeext &&
17520 $as_test_x conftest$ac_exeext; then
17521 ac_cv_search_connect=$ac_res
17522 else
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17530 conftest$ac_exeext
17531 if test "${ac_cv_search_connect+set}" = set; then
17532 break
17534 done
17535 if test "${ac_cv_search_connect+set}" = set; then
17537 else
17538 ac_cv_search_connect=no
17540 rm conftest.$ac_ext
17541 LIBS=$ac_func_search_save_LIBS
17543 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17544 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17545 ac_res=$ac_cv_search_connect
17546 if test "$ac_res" != no; then
17547 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17552 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17553 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17554 if test "${ac_cv_search_inet_aton+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 else
17557 ac_func_search_save_LIBS=$LIBS
17558 cat >conftest.$ac_ext <<_ACEOF
17559 /* confdefs.h. */
17560 _ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17565 /* Override any GCC internal prototype to avoid an error.
17566 Use char because int might match the return type of a GCC
17567 builtin and then its argument prototype would still apply. */
17568 #ifdef __cplusplus
17569 extern "C"
17570 #endif
17571 char inet_aton ();
17573 main ()
17575 return inet_aton ();
17577 return 0;
17579 _ACEOF
17580 for ac_lib in '' resolv; do
17581 if test -z "$ac_lib"; then
17582 ac_res="none required"
17583 else
17584 ac_res=-l$ac_lib
17585 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17587 rm -f conftest.$ac_objext conftest$ac_exeext
17588 if { (ac_try="$ac_link"
17589 case "(($ac_try" in
17590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17591 *) ac_try_echo=$ac_try;;
17592 esac
17593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17594 (eval "$ac_link") 2>conftest.er1
17595 ac_status=$?
17596 grep -v '^ *+' conftest.er1 >conftest.err
17597 rm -f conftest.er1
17598 cat conftest.err >&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } && {
17601 test -z "$ac_c_werror_flag" ||
17602 test ! -s conftest.err
17603 } && test -s conftest$ac_exeext &&
17604 $as_test_x conftest$ac_exeext; then
17605 ac_cv_search_inet_aton=$ac_res
17606 else
17607 echo "$as_me: failed program was:" >&5
17608 sed 's/^/| /' conftest.$ac_ext >&5
17613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17614 conftest$ac_exeext
17615 if test "${ac_cv_search_inet_aton+set}" = set; then
17616 break
17618 done
17619 if test "${ac_cv_search_inet_aton+set}" = set; then
17621 else
17622 ac_cv_search_inet_aton=no
17624 rm conftest.$ac_ext
17625 LIBS=$ac_func_search_save_LIBS
17627 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17628 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17629 ac_res=$ac_cv_search_inet_aton
17630 if test "$ac_res" != no; then
17631 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17644 for ac_func in \
17645 getaddrinfo \
17646 getnameinfo \
17647 getnetbyname \
17648 getprotobyname \
17649 getprotobynumber \
17650 getservbyport \
17651 inet_network \
17652 sendmsg \
17655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17656 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17658 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17659 echo $ECHO_N "(cached) $ECHO_C" >&6
17660 else
17661 cat >conftest.$ac_ext <<_ACEOF
17662 /* confdefs.h. */
17663 _ACEOF
17664 cat confdefs.h >>conftest.$ac_ext
17665 cat >>conftest.$ac_ext <<_ACEOF
17666 /* end confdefs.h. */
17667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17669 #define $ac_func innocuous_$ac_func
17671 /* System header to define __stub macros and hopefully few prototypes,
17672 which can conflict with char $ac_func (); below.
17673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17674 <limits.h> exists even on freestanding compilers. */
17676 #ifdef __STDC__
17677 # include <limits.h>
17678 #else
17679 # include <assert.h>
17680 #endif
17682 #undef $ac_func
17684 /* Override any GCC internal prototype to avoid an error.
17685 Use char because int might match the return type of a GCC
17686 builtin and then its argument prototype would still apply. */
17687 #ifdef __cplusplus
17688 extern "C"
17689 #endif
17690 char $ac_func ();
17691 /* The GNU C library defines this for functions which it implements
17692 to always fail with ENOSYS. Some functions are actually named
17693 something starting with __ and the normal name is an alias. */
17694 #if defined __stub_$ac_func || defined __stub___$ac_func
17695 choke me
17696 #endif
17699 main ()
17701 return $ac_func ();
17703 return 0;
17705 _ACEOF
17706 rm -f conftest.$ac_objext conftest$ac_exeext
17707 if { (ac_try="$ac_link"
17708 case "(($ac_try" in
17709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17710 *) ac_try_echo=$ac_try;;
17711 esac
17712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17713 (eval "$ac_link") 2>conftest.er1
17714 ac_status=$?
17715 grep -v '^ *+' conftest.er1 >conftest.err
17716 rm -f conftest.er1
17717 cat conftest.err >&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); } && {
17720 test -z "$ac_c_werror_flag" ||
17721 test ! -s conftest.err
17722 } && test -s conftest$ac_exeext &&
17723 $as_test_x conftest$ac_exeext; then
17724 eval "$as_ac_var=yes"
17725 else
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17729 eval "$as_ac_var=no"
17732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17733 conftest$ac_exeext conftest.$ac_ext
17735 ac_res=`eval echo '${'$as_ac_var'}'`
17736 { echo "$as_me:$LINENO: result: $ac_res" >&5
17737 echo "${ECHO_T}$ac_res" >&6; }
17738 if test `eval echo '${'$as_ac_var'}'` = yes; then
17739 cat >>confdefs.h <<_ACEOF
17740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17741 _ACEOF
17744 done
17747 LDAPLIBS=""
17749 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
17750 then
17751 { echo "$as_me:$LINENO: checking for LDAPSortKey" >&5
17752 echo $ECHO_N "checking for LDAPSortKey... $ECHO_C" >&6; }
17753 if test "${ac_cv_type_LDAPSortKey+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17755 else
17756 cat >conftest.$ac_ext <<_ACEOF
17757 /* confdefs.h. */
17758 _ACEOF
17759 cat confdefs.h >>conftest.$ac_ext
17760 cat >>conftest.$ac_ext <<_ACEOF
17761 /* end confdefs.h. */
17762 #include <ldap.h>
17764 typedef LDAPSortKey ac__type_new_;
17766 main ()
17768 if ((ac__type_new_ *) 0)
17769 return 0;
17770 if (sizeof (ac__type_new_))
17771 return 0;
17773 return 0;
17775 _ACEOF
17776 rm -f conftest.$ac_objext
17777 if { (ac_try="$ac_compile"
17778 case "(($ac_try" in
17779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17780 *) ac_try_echo=$ac_try;;
17781 esac
17782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17783 (eval "$ac_compile") 2>conftest.er1
17784 ac_status=$?
17785 grep -v '^ *+' conftest.er1 >conftest.err
17786 rm -f conftest.er1
17787 cat conftest.err >&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } && {
17790 test -z "$ac_c_werror_flag" ||
17791 test ! -s conftest.err
17792 } && test -s conftest.$ac_objext; then
17793 ac_cv_type_LDAPSortKey=yes
17794 else
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17798 ac_cv_type_LDAPSortKey=no
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17803 { echo "$as_me:$LINENO: result: $ac_cv_type_LDAPSortKey" >&5
17804 echo "${ECHO_T}$ac_cv_type_LDAPSortKey" >&6; }
17805 if test $ac_cv_type_LDAPSortKey = yes; then
17806 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
17807 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
17808 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
17809 echo $ECHO_N "(cached) $ECHO_C" >&6
17810 else
17811 ac_check_lib_save_LIBS=$LIBS
17812 LIBS="-lldap_r $LIBPTHREAD $LIBS"
17813 cat >conftest.$ac_ext <<_ACEOF
17814 /* confdefs.h. */
17815 _ACEOF
17816 cat confdefs.h >>conftest.$ac_ext
17817 cat >>conftest.$ac_ext <<_ACEOF
17818 /* end confdefs.h. */
17820 /* Override any GCC internal prototype to avoid an error.
17821 Use char because int might match the return type of a GCC
17822 builtin and then its argument prototype would still apply. */
17823 #ifdef __cplusplus
17824 extern "C"
17825 #endif
17826 char ldap_initialize ();
17828 main ()
17830 return ldap_initialize ();
17832 return 0;
17834 _ACEOF
17835 rm -f conftest.$ac_objext conftest$ac_exeext
17836 if { (ac_try="$ac_link"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17839 *) ac_try_echo=$ac_try;;
17840 esac
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_link") 2>conftest.er1
17843 ac_status=$?
17844 grep -v '^ *+' conftest.er1 >conftest.err
17845 rm -f conftest.er1
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_c_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest$ac_exeext &&
17852 $as_test_x conftest$ac_exeext; then
17853 ac_cv_lib_ldap_r_ldap_initialize=yes
17854 else
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17858 ac_cv_lib_ldap_r_ldap_initialize=no
17861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17862 conftest$ac_exeext conftest.$ac_ext
17863 LIBS=$ac_check_lib_save_LIBS
17865 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
17866 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
17867 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
17868 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
17869 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
17870 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
17871 echo $ECHO_N "(cached) $ECHO_C" >&6
17872 else
17873 ac_check_lib_save_LIBS=$LIBS
17874 LIBS="-llber $LIBPTHREAD $LIBS"
17875 cat >conftest.$ac_ext <<_ACEOF
17876 /* confdefs.h. */
17877 _ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17882 /* Override any GCC internal prototype to avoid an error.
17883 Use char because int might match the return type of a GCC
17884 builtin and then its argument prototype would still apply. */
17885 #ifdef __cplusplus
17886 extern "C"
17887 #endif
17888 char ber_init ();
17890 main ()
17892 return ber_init ();
17894 return 0;
17896 _ACEOF
17897 rm -f conftest.$ac_objext conftest$ac_exeext
17898 if { (ac_try="$ac_link"
17899 case "(($ac_try" in
17900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17901 *) ac_try_echo=$ac_try;;
17902 esac
17903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17904 (eval "$ac_link") 2>conftest.er1
17905 ac_status=$?
17906 grep -v '^ *+' conftest.er1 >conftest.err
17907 rm -f conftest.er1
17908 cat conftest.err >&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } && {
17911 test -z "$ac_c_werror_flag" ||
17912 test ! -s conftest.err
17913 } && test -s conftest$ac_exeext &&
17914 $as_test_x conftest$ac_exeext; then
17915 ac_cv_lib_lber_ber_init=yes
17916 else
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.$ac_ext >&5
17920 ac_cv_lib_lber_ber_init=no
17923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17924 conftest$ac_exeext conftest.$ac_ext
17925 LIBS=$ac_check_lib_save_LIBS
17927 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
17928 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
17929 if test $ac_cv_lib_lber_ber_init = yes; then
17931 cat >>confdefs.h <<\_ACEOF
17932 #define HAVE_LDAP 1
17933 _ACEOF
17935 LDAPLIBS="-lldap_r -llber"
17942 ac_wine_check_funcs_save_LIBS="$LIBS"
17943 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
17952 for ac_func in \
17953 ldap_count_references \
17954 ldap_first_reference \
17955 ldap_next_reference \
17956 ldap_parse_reference \
17957 ldap_parse_sort_control \
17958 ldap_parse_sortresponse_control \
17959 ldap_parse_vlv_control \
17960 ldap_parse_vlvresponse_control
17962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17963 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17965 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 else
17968 cat >conftest.$ac_ext <<_ACEOF
17969 /* confdefs.h. */
17970 _ACEOF
17971 cat confdefs.h >>conftest.$ac_ext
17972 cat >>conftest.$ac_ext <<_ACEOF
17973 /* end confdefs.h. */
17974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17976 #define $ac_func innocuous_$ac_func
17978 /* System header to define __stub macros and hopefully few prototypes,
17979 which can conflict with char $ac_func (); below.
17980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17981 <limits.h> exists even on freestanding compilers. */
17983 #ifdef __STDC__
17984 # include <limits.h>
17985 #else
17986 # include <assert.h>
17987 #endif
17989 #undef $ac_func
17991 /* Override any GCC internal prototype to avoid an error.
17992 Use char because int might match the return type of a GCC
17993 builtin and then its argument prototype would still apply. */
17994 #ifdef __cplusplus
17995 extern "C"
17996 #endif
17997 char $ac_func ();
17998 /* The GNU C library defines this for functions which it implements
17999 to always fail with ENOSYS. Some functions are actually named
18000 something starting with __ and the normal name is an alias. */
18001 #if defined __stub_$ac_func || defined __stub___$ac_func
18002 choke me
18003 #endif
18006 main ()
18008 return $ac_func ();
18010 return 0;
18012 _ACEOF
18013 rm -f conftest.$ac_objext conftest$ac_exeext
18014 if { (ac_try="$ac_link"
18015 case "(($ac_try" in
18016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18017 *) ac_try_echo=$ac_try;;
18018 esac
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_link") 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } && {
18027 test -z "$ac_c_werror_flag" ||
18028 test ! -s conftest.err
18029 } && test -s conftest$ac_exeext &&
18030 $as_test_x conftest$ac_exeext; then
18031 eval "$as_ac_var=yes"
18032 else
18033 echo "$as_me: failed program was:" >&5
18034 sed 's/^/| /' conftest.$ac_ext >&5
18036 eval "$as_ac_var=no"
18039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18040 conftest$ac_exeext conftest.$ac_ext
18042 ac_res=`eval echo '${'$as_ac_var'}'`
18043 { echo "$as_me:$LINENO: result: $ac_res" >&5
18044 echo "${ECHO_T}$ac_res" >&6; }
18045 if test `eval echo '${'$as_ac_var'}'` = yes; then
18046 cat >>confdefs.h <<_ACEOF
18047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18048 _ACEOF
18051 done
18053 LIBS="$ac_wine_check_funcs_save_LIBS"
18055 if test "x$LDAPLIBS" = "x"; then
18056 case "x$with_ldap" in
18057 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
18058 xno) ;;
18059 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18060 This is an error since --with-ldap was requested." >&5
18061 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
18062 This is an error since --with-ldap was requested." >&2;}
18063 { (exit 1); exit 1; }; } ;;
18064 esac
18069 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18070 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18071 if test "${ac_cv_c_const+set}" = set; then
18072 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 else
18074 cat >conftest.$ac_ext <<_ACEOF
18075 /* confdefs.h. */
18076 _ACEOF
18077 cat confdefs.h >>conftest.$ac_ext
18078 cat >>conftest.$ac_ext <<_ACEOF
18079 /* end confdefs.h. */
18082 main ()
18084 /* FIXME: Include the comments suggested by Paul. */
18085 #ifndef __cplusplus
18086 /* Ultrix mips cc rejects this. */
18087 typedef int charset[2];
18088 const charset cs;
18089 /* SunOS 4.1.1 cc rejects this. */
18090 char const *const *pcpcc;
18091 char **ppc;
18092 /* NEC SVR4.0.2 mips cc rejects this. */
18093 struct point {int x, y;};
18094 static struct point const zero = {0,0};
18095 /* AIX XL C 1.02.0.0 rejects this.
18096 It does not let you subtract one const X* pointer from another in
18097 an arm of an if-expression whose if-part is not a constant
18098 expression */
18099 const char *g = "string";
18100 pcpcc = &g + (g ? g-g : 0);
18101 /* HPUX 7.0 cc rejects these. */
18102 ++pcpcc;
18103 ppc = (char**) pcpcc;
18104 pcpcc = (char const *const *) ppc;
18105 { /* SCO 3.2v4 cc rejects this. */
18106 char *t;
18107 char const *s = 0 ? (char *) 0 : (char const *) 0;
18109 *t++ = 0;
18110 if (s) return 0;
18112 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18113 int x[] = {25, 17};
18114 const int *foo = &x[0];
18115 ++foo;
18117 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18118 typedef const int *iptr;
18119 iptr p = 0;
18120 ++p;
18122 { /* AIX XL C 1.02.0.0 rejects this saying
18123 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18124 struct s { int j; const int *ap[3]; };
18125 struct s *b; b->j = 5;
18127 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18128 const int foo = 10;
18129 if (!foo) return 0;
18131 return !cs[0] && !zero.x;
18132 #endif
18135 return 0;
18137 _ACEOF
18138 rm -f conftest.$ac_objext
18139 if { (ac_try="$ac_compile"
18140 case "(($ac_try" in
18141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18142 *) ac_try_echo=$ac_try;;
18143 esac
18144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18145 (eval "$ac_compile") 2>conftest.er1
18146 ac_status=$?
18147 grep -v '^ *+' conftest.er1 >conftest.err
18148 rm -f conftest.er1
18149 cat conftest.err >&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } && {
18152 test -z "$ac_c_werror_flag" ||
18153 test ! -s conftest.err
18154 } && test -s conftest.$ac_objext; then
18155 ac_cv_c_const=yes
18156 else
18157 echo "$as_me: failed program was:" >&5
18158 sed 's/^/| /' conftest.$ac_ext >&5
18160 ac_cv_c_const=no
18163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18165 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18166 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18167 if test $ac_cv_c_const = no; then
18169 cat >>confdefs.h <<\_ACEOF
18170 #define const
18171 _ACEOF
18175 { echo "$as_me:$LINENO: checking for inline" >&5
18176 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18177 if test "${ac_cv_c_inline+set}" = set; then
18178 echo $ECHO_N "(cached) $ECHO_C" >&6
18179 else
18180 ac_cv_c_inline=no
18181 for ac_kw in inline __inline__ __inline; do
18182 cat >conftest.$ac_ext <<_ACEOF
18183 /* confdefs.h. */
18184 _ACEOF
18185 cat confdefs.h >>conftest.$ac_ext
18186 cat >>conftest.$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 #ifndef __cplusplus
18189 typedef int foo_t;
18190 static $ac_kw foo_t static_foo () {return 0; }
18191 $ac_kw foo_t foo () {return 0; }
18192 #endif
18194 _ACEOF
18195 rm -f conftest.$ac_objext
18196 if { (ac_try="$ac_compile"
18197 case "(($ac_try" in
18198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18199 *) ac_try_echo=$ac_try;;
18200 esac
18201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18202 (eval "$ac_compile") 2>conftest.er1
18203 ac_status=$?
18204 grep -v '^ *+' conftest.er1 >conftest.err
18205 rm -f conftest.er1
18206 cat conftest.err >&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } && {
18209 test -z "$ac_c_werror_flag" ||
18210 test ! -s conftest.err
18211 } && test -s conftest.$ac_objext; then
18212 ac_cv_c_inline=$ac_kw
18213 else
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.$ac_ext >&5
18220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18221 test "$ac_cv_c_inline" != no && break
18222 done
18225 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18226 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18229 case $ac_cv_c_inline in
18230 inline | yes) ;;
18232 case $ac_cv_c_inline in
18233 no) ac_val=;;
18234 *) ac_val=$ac_cv_c_inline;;
18235 esac
18236 cat >>confdefs.h <<_ACEOF
18237 #ifndef __cplusplus
18238 #define inline $ac_val
18239 #endif
18240 _ACEOF
18242 esac
18244 { echo "$as_me:$LINENO: checking for mode_t" >&5
18245 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
18246 if test "${ac_cv_type_mode_t+set}" = set; then
18247 echo $ECHO_N "(cached) $ECHO_C" >&6
18248 else
18249 cat >conftest.$ac_ext <<_ACEOF
18250 /* confdefs.h. */
18251 _ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255 $ac_includes_default
18256 typedef mode_t ac__type_new_;
18258 main ()
18260 if ((ac__type_new_ *) 0)
18261 return 0;
18262 if (sizeof (ac__type_new_))
18263 return 0;
18265 return 0;
18267 _ACEOF
18268 rm -f conftest.$ac_objext
18269 if { (ac_try="$ac_compile"
18270 case "(($ac_try" in
18271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18272 *) ac_try_echo=$ac_try;;
18273 esac
18274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18275 (eval "$ac_compile") 2>conftest.er1
18276 ac_status=$?
18277 grep -v '^ *+' conftest.er1 >conftest.err
18278 rm -f conftest.er1
18279 cat conftest.err >&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); } && {
18282 test -z "$ac_c_werror_flag" ||
18283 test ! -s conftest.err
18284 } && test -s conftest.$ac_objext; then
18285 ac_cv_type_mode_t=yes
18286 else
18287 echo "$as_me: failed program was:" >&5
18288 sed 's/^/| /' conftest.$ac_ext >&5
18290 ac_cv_type_mode_t=no
18293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18295 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
18296 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
18297 if test $ac_cv_type_mode_t = yes; then
18299 cat >>confdefs.h <<_ACEOF
18300 #define HAVE_MODE_T 1
18301 _ACEOF
18305 { echo "$as_me:$LINENO: checking for off_t" >&5
18306 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
18307 if test "${ac_cv_type_off_t+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 else
18310 cat >conftest.$ac_ext <<_ACEOF
18311 /* confdefs.h. */
18312 _ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18316 $ac_includes_default
18317 typedef off_t ac__type_new_;
18319 main ()
18321 if ((ac__type_new_ *) 0)
18322 return 0;
18323 if (sizeof (ac__type_new_))
18324 return 0;
18326 return 0;
18328 _ACEOF
18329 rm -f conftest.$ac_objext
18330 if { (ac_try="$ac_compile"
18331 case "(($ac_try" in
18332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18333 *) ac_try_echo=$ac_try;;
18334 esac
18335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18336 (eval "$ac_compile") 2>conftest.er1
18337 ac_status=$?
18338 grep -v '^ *+' conftest.er1 >conftest.err
18339 rm -f conftest.er1
18340 cat conftest.err >&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } && {
18343 test -z "$ac_c_werror_flag" ||
18344 test ! -s conftest.err
18345 } && test -s conftest.$ac_objext; then
18346 ac_cv_type_off_t=yes
18347 else
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18351 ac_cv_type_off_t=no
18354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18356 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
18357 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
18358 if test $ac_cv_type_off_t = yes; then
18360 cat >>confdefs.h <<_ACEOF
18361 #define HAVE_OFF_T 1
18362 _ACEOF
18366 { echo "$as_me:$LINENO: checking for pid_t" >&5
18367 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18368 if test "${ac_cv_type_pid_t+set}" = set; then
18369 echo $ECHO_N "(cached) $ECHO_C" >&6
18370 else
18371 cat >conftest.$ac_ext <<_ACEOF
18372 /* confdefs.h. */
18373 _ACEOF
18374 cat confdefs.h >>conftest.$ac_ext
18375 cat >>conftest.$ac_ext <<_ACEOF
18376 /* end confdefs.h. */
18377 $ac_includes_default
18378 typedef pid_t ac__type_new_;
18380 main ()
18382 if ((ac__type_new_ *) 0)
18383 return 0;
18384 if (sizeof (ac__type_new_))
18385 return 0;
18387 return 0;
18389 _ACEOF
18390 rm -f conftest.$ac_objext
18391 if { (ac_try="$ac_compile"
18392 case "(($ac_try" in
18393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18394 *) ac_try_echo=$ac_try;;
18395 esac
18396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18397 (eval "$ac_compile") 2>conftest.er1
18398 ac_status=$?
18399 grep -v '^ *+' conftest.er1 >conftest.err
18400 rm -f conftest.er1
18401 cat conftest.err >&5
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); } && {
18404 test -z "$ac_c_werror_flag" ||
18405 test ! -s conftest.err
18406 } && test -s conftest.$ac_objext; then
18407 ac_cv_type_pid_t=yes
18408 else
18409 echo "$as_me: failed program was:" >&5
18410 sed 's/^/| /' conftest.$ac_ext >&5
18412 ac_cv_type_pid_t=no
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18417 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18418 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18419 if test $ac_cv_type_pid_t = yes; then
18421 cat >>confdefs.h <<_ACEOF
18422 #define HAVE_PID_T 1
18423 _ACEOF
18427 { echo "$as_me:$LINENO: checking for size_t" >&5
18428 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18429 if test "${ac_cv_type_size_t+set}" = set; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18431 else
18432 cat >conftest.$ac_ext <<_ACEOF
18433 /* confdefs.h. */
18434 _ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 $ac_includes_default
18439 typedef size_t ac__type_new_;
18441 main ()
18443 if ((ac__type_new_ *) 0)
18444 return 0;
18445 if (sizeof (ac__type_new_))
18446 return 0;
18448 return 0;
18450 _ACEOF
18451 rm -f conftest.$ac_objext
18452 if { (ac_try="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18456 esac
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18459 ac_status=$?
18460 grep -v '^ *+' conftest.er1 >conftest.err
18461 rm -f conftest.er1
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.$ac_objext; then
18468 ac_cv_type_size_t=yes
18469 else
18470 echo "$as_me: failed program was:" >&5
18471 sed 's/^/| /' conftest.$ac_ext >&5
18473 ac_cv_type_size_t=no
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18478 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18479 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18480 if test $ac_cv_type_size_t = yes; then
18482 cat >>confdefs.h <<_ACEOF
18483 #define HAVE_SIZE_T 1
18484 _ACEOF
18488 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18489 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18490 if test "${ac_cv_type_ssize_t+set}" = set; then
18491 echo $ECHO_N "(cached) $ECHO_C" >&6
18492 else
18493 cat >conftest.$ac_ext <<_ACEOF
18494 /* confdefs.h. */
18495 _ACEOF
18496 cat confdefs.h >>conftest.$ac_ext
18497 cat >>conftest.$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18499 $ac_includes_default
18500 typedef ssize_t ac__type_new_;
18502 main ()
18504 if ((ac__type_new_ *) 0)
18505 return 0;
18506 if (sizeof (ac__type_new_))
18507 return 0;
18509 return 0;
18511 _ACEOF
18512 rm -f conftest.$ac_objext
18513 if { (ac_try="$ac_compile"
18514 case "(($ac_try" in
18515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18516 *) ac_try_echo=$ac_try;;
18517 esac
18518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18519 (eval "$ac_compile") 2>conftest.er1
18520 ac_status=$?
18521 grep -v '^ *+' conftest.er1 >conftest.err
18522 rm -f conftest.er1
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } && {
18526 test -z "$ac_c_werror_flag" ||
18527 test ! -s conftest.err
18528 } && test -s conftest.$ac_objext; then
18529 ac_cv_type_ssize_t=yes
18530 else
18531 echo "$as_me: failed program was:" >&5
18532 sed 's/^/| /' conftest.$ac_ext >&5
18534 ac_cv_type_ssize_t=no
18537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18539 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18540 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18541 if test $ac_cv_type_ssize_t = yes; then
18543 cat >>confdefs.h <<_ACEOF
18544 #define HAVE_SSIZE_T 1
18545 _ACEOF
18549 { echo "$as_me:$LINENO: checking for long long" >&5
18550 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18551 if test "${ac_cv_type_long_long+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 else
18554 cat >conftest.$ac_ext <<_ACEOF
18555 /* confdefs.h. */
18556 _ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18560 $ac_includes_default
18561 typedef long long ac__type_new_;
18563 main ()
18565 if ((ac__type_new_ *) 0)
18566 return 0;
18567 if (sizeof (ac__type_new_))
18568 return 0;
18570 return 0;
18572 _ACEOF
18573 rm -f conftest.$ac_objext
18574 if { (ac_try="$ac_compile"
18575 case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18578 esac
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_compile") 2>conftest.er1
18581 ac_status=$?
18582 grep -v '^ *+' conftest.er1 >conftest.err
18583 rm -f conftest.er1
18584 cat conftest.err >&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } && {
18587 test -z "$ac_c_werror_flag" ||
18588 test ! -s conftest.err
18589 } && test -s conftest.$ac_objext; then
18590 ac_cv_type_long_long=yes
18591 else
18592 echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.$ac_ext >&5
18595 ac_cv_type_long_long=no
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18601 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18602 if test $ac_cv_type_long_long = yes; then
18604 cat >>confdefs.h <<_ACEOF
18605 #define HAVE_LONG_LONG 1
18606 _ACEOF
18610 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18611 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18612 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18613 echo $ECHO_N "(cached) $ECHO_C" >&6
18614 else
18615 cat >conftest.$ac_ext <<_ACEOF
18616 /* confdefs.h. */
18617 _ACEOF
18618 cat confdefs.h >>conftest.$ac_ext
18619 cat >>conftest.$ac_ext <<_ACEOF
18620 /* end confdefs.h. */
18621 $ac_includes_default
18622 typedef fsblkcnt_t ac__type_new_;
18624 main ()
18626 if ((ac__type_new_ *) 0)
18627 return 0;
18628 if (sizeof (ac__type_new_))
18629 return 0;
18631 return 0;
18633 _ACEOF
18634 rm -f conftest.$ac_objext
18635 if { (ac_try="$ac_compile"
18636 case "(($ac_try" in
18637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18638 *) ac_try_echo=$ac_try;;
18639 esac
18640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18641 (eval "$ac_compile") 2>conftest.er1
18642 ac_status=$?
18643 grep -v '^ *+' conftest.er1 >conftest.err
18644 rm -f conftest.er1
18645 cat conftest.err >&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); } && {
18648 test -z "$ac_c_werror_flag" ||
18649 test ! -s conftest.err
18650 } && test -s conftest.$ac_objext; then
18651 ac_cv_type_fsblkcnt_t=yes
18652 else
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.$ac_ext >&5
18656 ac_cv_type_fsblkcnt_t=no
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18661 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18662 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18663 if test $ac_cv_type_fsblkcnt_t = yes; then
18665 cat >>confdefs.h <<_ACEOF
18666 #define HAVE_FSBLKCNT_T 1
18667 _ACEOF
18671 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18672 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18673 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18674 echo $ECHO_N "(cached) $ECHO_C" >&6
18675 else
18676 cat >conftest.$ac_ext <<_ACEOF
18677 /* confdefs.h. */
18678 _ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 $ac_includes_default
18683 typedef fsfilcnt_t ac__type_new_;
18685 main ()
18687 if ((ac__type_new_ *) 0)
18688 return 0;
18689 if (sizeof (ac__type_new_))
18690 return 0;
18692 return 0;
18694 _ACEOF
18695 rm -f conftest.$ac_objext
18696 if { (ac_try="$ac_compile"
18697 case "(($ac_try" in
18698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18699 *) ac_try_echo=$ac_try;;
18700 esac
18701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18702 (eval "$ac_compile") 2>conftest.er1
18703 ac_status=$?
18704 grep -v '^ *+' conftest.er1 >conftest.err
18705 rm -f conftest.er1
18706 cat conftest.err >&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); } && {
18709 test -z "$ac_c_werror_flag" ||
18710 test ! -s conftest.err
18711 } && test -s conftest.$ac_objext; then
18712 ac_cv_type_fsfilcnt_t=yes
18713 else
18714 echo "$as_me: failed program was:" >&5
18715 sed 's/^/| /' conftest.$ac_ext >&5
18717 ac_cv_type_fsfilcnt_t=no
18720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18722 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18723 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18724 if test $ac_cv_type_fsfilcnt_t = yes; then
18726 cat >>confdefs.h <<_ACEOF
18727 #define HAVE_FSFILCNT_T 1
18728 _ACEOF
18733 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18734 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18735 if test "${ac_cv_type_sigset_t+set}" = set; then
18736 echo $ECHO_N "(cached) $ECHO_C" >&6
18737 else
18738 cat >conftest.$ac_ext <<_ACEOF
18739 /* confdefs.h. */
18740 _ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 #include <signal.h>
18746 typedef sigset_t ac__type_new_;
18748 main ()
18750 if ((ac__type_new_ *) 0)
18751 return 0;
18752 if (sizeof (ac__type_new_))
18753 return 0;
18755 return 0;
18757 _ACEOF
18758 rm -f conftest.$ac_objext
18759 if { (ac_try="$ac_compile"
18760 case "(($ac_try" in
18761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18762 *) ac_try_echo=$ac_try;;
18763 esac
18764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18765 (eval "$ac_compile") 2>conftest.er1
18766 ac_status=$?
18767 grep -v '^ *+' conftest.er1 >conftest.err
18768 rm -f conftest.er1
18769 cat conftest.err >&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } && {
18772 test -z "$ac_c_werror_flag" ||
18773 test ! -s conftest.err
18774 } && test -s conftest.$ac_objext; then
18775 ac_cv_type_sigset_t=yes
18776 else
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18780 ac_cv_type_sigset_t=no
18783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18785 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18786 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18787 if test $ac_cv_type_sigset_t = yes; then
18789 cat >>confdefs.h <<_ACEOF
18790 #define HAVE_SIGSET_T 1
18791 _ACEOF
18796 { echo "$as_me:$LINENO: checking for request_sense" >&5
18797 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18798 if test "${ac_cv_type_request_sense+set}" = set; then
18799 echo $ECHO_N "(cached) $ECHO_C" >&6
18800 else
18801 cat >conftest.$ac_ext <<_ACEOF
18802 /* confdefs.h. */
18803 _ACEOF
18804 cat confdefs.h >>conftest.$ac_ext
18805 cat >>conftest.$ac_ext <<_ACEOF
18806 /* end confdefs.h. */
18807 #include <linux/cdrom.h>
18809 typedef request_sense ac__type_new_;
18811 main ()
18813 if ((ac__type_new_ *) 0)
18814 return 0;
18815 if (sizeof (ac__type_new_))
18816 return 0;
18818 return 0;
18820 _ACEOF
18821 rm -f conftest.$ac_objext
18822 if { (ac_try="$ac_compile"
18823 case "(($ac_try" in
18824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18825 *) ac_try_echo=$ac_try;;
18826 esac
18827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18828 (eval "$ac_compile") 2>conftest.er1
18829 ac_status=$?
18830 grep -v '^ *+' conftest.er1 >conftest.err
18831 rm -f conftest.er1
18832 cat conftest.err >&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } && {
18835 test -z "$ac_c_werror_flag" ||
18836 test ! -s conftest.err
18837 } && test -s conftest.$ac_objext; then
18838 ac_cv_type_request_sense=yes
18839 else
18840 echo "$as_me: failed program was:" >&5
18841 sed 's/^/| /' conftest.$ac_ext >&5
18843 ac_cv_type_request_sense=no
18846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18848 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18849 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18850 if test $ac_cv_type_request_sense = yes; then
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_REQUEST_SENSE 1
18854 _ACEOF
18860 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18861 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18862 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18864 else
18865 cat >conftest.$ac_ext <<_ACEOF
18866 /* confdefs.h. */
18867 _ACEOF
18868 cat confdefs.h >>conftest.$ac_ext
18869 cat >>conftest.$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 #ifdef HAVE_LINUX_INPUT_H
18872 #include <linux/input.h>
18873 #endif
18876 main ()
18878 static struct ff_effect ac_aggr;
18879 if (ac_aggr.direction)
18880 return 0;
18882 return 0;
18884 _ACEOF
18885 rm -f conftest.$ac_objext
18886 if { (ac_try="$ac_compile"
18887 case "(($ac_try" in
18888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18889 *) ac_try_echo=$ac_try;;
18890 esac
18891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18892 (eval "$ac_compile") 2>conftest.er1
18893 ac_status=$?
18894 grep -v '^ *+' conftest.er1 >conftest.err
18895 rm -f conftest.er1
18896 cat conftest.err >&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); } && {
18899 test -z "$ac_c_werror_flag" ||
18900 test ! -s conftest.err
18901 } && test -s conftest.$ac_objext; then
18902 ac_cv_member_struct_ff_effect_direction=yes
18903 else
18904 echo "$as_me: failed program was:" >&5
18905 sed 's/^/| /' conftest.$ac_ext >&5
18907 cat >conftest.$ac_ext <<_ACEOF
18908 /* confdefs.h. */
18909 _ACEOF
18910 cat confdefs.h >>conftest.$ac_ext
18911 cat >>conftest.$ac_ext <<_ACEOF
18912 /* end confdefs.h. */
18913 #ifdef HAVE_LINUX_INPUT_H
18914 #include <linux/input.h>
18915 #endif
18918 main ()
18920 static struct ff_effect ac_aggr;
18921 if (sizeof ac_aggr.direction)
18922 return 0;
18924 return 0;
18926 _ACEOF
18927 rm -f conftest.$ac_objext
18928 if { (ac_try="$ac_compile"
18929 case "(($ac_try" in
18930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18931 *) ac_try_echo=$ac_try;;
18932 esac
18933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18934 (eval "$ac_compile") 2>conftest.er1
18935 ac_status=$?
18936 grep -v '^ *+' conftest.er1 >conftest.err
18937 rm -f conftest.er1
18938 cat conftest.err >&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } && {
18941 test -z "$ac_c_werror_flag" ||
18942 test ! -s conftest.err
18943 } && test -s conftest.$ac_objext; then
18944 ac_cv_member_struct_ff_effect_direction=yes
18945 else
18946 echo "$as_me: failed program was:" >&5
18947 sed 's/^/| /' conftest.$ac_ext >&5
18949 ac_cv_member_struct_ff_effect_direction=no
18952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18957 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18958 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18959 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18961 cat >>confdefs.h <<_ACEOF
18962 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18963 _ACEOF
18969 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18970 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18971 if test "${wine_cv_have_sigaddset+set}" = set; then
18972 echo $ECHO_N "(cached) $ECHO_C" >&6
18973 else
18974 cat >conftest.$ac_ext <<_ACEOF
18975 /* confdefs.h. */
18976 _ACEOF
18977 cat confdefs.h >>conftest.$ac_ext
18978 cat >>conftest.$ac_ext <<_ACEOF
18979 /* end confdefs.h. */
18980 #include <signal.h>
18982 main ()
18984 sigset_t set; sigaddset(&set,SIGTERM);
18986 return 0;
18988 _ACEOF
18989 rm -f conftest.$ac_objext conftest$ac_exeext
18990 if { (ac_try="$ac_link"
18991 case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18994 esac
18995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_link") 2>conftest.er1
18997 ac_status=$?
18998 grep -v '^ *+' conftest.er1 >conftest.err
18999 rm -f conftest.er1
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } && {
19003 test -z "$ac_c_werror_flag" ||
19004 test ! -s conftest.err
19005 } && test -s conftest$ac_exeext &&
19006 $as_test_x conftest$ac_exeext; then
19007 wine_cv_have_sigaddset=yes
19008 else
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 wine_cv_have_sigaddset=no
19015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19016 conftest$ac_exeext conftest.$ac_ext
19018 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
19019 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
19020 if test "$wine_cv_have_sigaddset" = "yes"
19021 then
19023 cat >>confdefs.h <<\_ACEOF
19024 #define HAVE_SIGADDSET 1
19025 _ACEOF
19030 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
19031 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
19032 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035 cat >conftest.$ac_ext <<_ACEOF
19036 /* confdefs.h. */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041 #include <netdb.h>
19043 main ()
19046 char *name=0;
19047 struct hostent he;
19048 struct hostent *result;
19049 char *buf=0;
19050 int bufsize=0;
19051 int res,errnr;
19052 char *addr=0;
19053 int addrlen=0;
19054 int addrtype=0;
19055 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
19056 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
19059 return 0;
19061 _ACEOF
19062 rm -f conftest.$ac_objext conftest$ac_exeext
19063 if { (ac_try="$ac_link"
19064 case "(($ac_try" in
19065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19066 *) ac_try_echo=$ac_try;;
19067 esac
19068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_link") 2>conftest.er1
19070 ac_status=$?
19071 grep -v '^ *+' conftest.er1 >conftest.err
19072 rm -f conftest.er1
19073 cat conftest.err >&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } && {
19076 test -z "$ac_c_werror_flag" ||
19077 test ! -s conftest.err
19078 } && test -s conftest$ac_exeext &&
19079 $as_test_x conftest$ac_exeext; then
19080 wine_cv_linux_gethostbyname_r_6=yes
19081 else
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19085 wine_cv_linux_gethostbyname_r_6=no
19089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19090 conftest$ac_exeext conftest.$ac_ext
19093 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
19094 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
19095 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
19096 then
19098 cat >>confdefs.h <<\_ACEOF
19099 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
19100 _ACEOF
19104 if test "$ac_cv_header_linux_joystick_h" = "yes"
19105 then
19106 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
19107 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
19108 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
19109 echo $ECHO_N "(cached) $ECHO_C" >&6
19110 else
19111 cat >conftest.$ac_ext <<_ACEOF
19112 /* confdefs.h. */
19113 _ACEOF
19114 cat confdefs.h >>conftest.$ac_ext
19115 cat >>conftest.$ac_ext <<_ACEOF
19116 /* end confdefs.h. */
19118 #include <sys/ioctl.h>
19119 #include <sys/types.h>
19120 #include <linux/joystick.h>
19122 struct js_event blub;
19123 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
19124 #error "no 2.2 header"
19125 #endif
19128 main ()
19130 /*empty*/
19132 return 0;
19134 _ACEOF
19135 rm -f conftest.$ac_objext
19136 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in
19138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139 *) ac_try_echo=$ac_try;;
19140 esac
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142 (eval "$ac_compile") 2>conftest.er1
19143 ac_status=$?
19144 grep -v '^ *+' conftest.er1 >conftest.err
19145 rm -f conftest.er1
19146 cat conftest.err >&5
19147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148 (exit $ac_status); } && {
19149 test -z "$ac_c_werror_flag" ||
19150 test ! -s conftest.err
19151 } && test -s conftest.$ac_objext; then
19152 wine_cv_linux_joystick_22_api=yes
19153 else
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.$ac_ext >&5
19157 wine_cv_linux_joystick_22_api=no
19160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19163 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
19164 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
19165 if test "$wine_cv_linux_joystick_22_api" = "yes"
19166 then
19168 cat >>confdefs.h <<\_ACEOF
19169 #define HAVE_LINUX_22_JOYSTICK_API 1
19170 _ACEOF
19176 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
19177 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
19178 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
19179 echo $ECHO_N "(cached) $ECHO_C" >&6
19180 else
19181 cat >conftest.$ac_ext <<_ACEOF
19182 /* confdefs.h. */
19183 _ACEOF
19184 cat confdefs.h >>conftest.$ac_ext
19185 cat >>conftest.$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 #include <sys/types.h>
19188 #ifdef HAVE_SYS_PARAM_H
19189 # include <sys/param.h>
19190 #endif
19191 #ifdef HAVE_SYS_MOUNT_H
19192 # include <sys/mount.h>
19193 #endif
19194 #ifdef HAVE_SYS_VFS_H
19195 # include <sys/vfs.h>
19196 #endif
19197 #ifdef HAVE_SYS_STATFS_H
19198 # include <sys/statfs.h>
19199 #endif
19202 main ()
19204 static struct statfs ac_aggr;
19205 if (ac_aggr.f_bfree)
19206 return 0;
19208 return 0;
19210 _ACEOF
19211 rm -f conftest.$ac_objext
19212 if { (ac_try="$ac_compile"
19213 case "(($ac_try" in
19214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215 *) ac_try_echo=$ac_try;;
19216 esac
19217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_compile") 2>conftest.er1
19219 ac_status=$?
19220 grep -v '^ *+' conftest.er1 >conftest.err
19221 rm -f conftest.er1
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } && {
19225 test -z "$ac_c_werror_flag" ||
19226 test ! -s conftest.err
19227 } && test -s conftest.$ac_objext; then
19228 ac_cv_member_struct_statfs_f_bfree=yes
19229 else
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19233 cat >conftest.$ac_ext <<_ACEOF
19234 /* confdefs.h. */
19235 _ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 #include <sys/types.h>
19240 #ifdef HAVE_SYS_PARAM_H
19241 # include <sys/param.h>
19242 #endif
19243 #ifdef HAVE_SYS_MOUNT_H
19244 # include <sys/mount.h>
19245 #endif
19246 #ifdef HAVE_SYS_VFS_H
19247 # include <sys/vfs.h>
19248 #endif
19249 #ifdef HAVE_SYS_STATFS_H
19250 # include <sys/statfs.h>
19251 #endif
19254 main ()
19256 static struct statfs ac_aggr;
19257 if (sizeof ac_aggr.f_bfree)
19258 return 0;
19260 return 0;
19262 _ACEOF
19263 rm -f conftest.$ac_objext
19264 if { (ac_try="$ac_compile"
19265 case "(($ac_try" in
19266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19267 *) ac_try_echo=$ac_try;;
19268 esac
19269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19270 (eval "$ac_compile") 2>conftest.er1
19271 ac_status=$?
19272 grep -v '^ *+' conftest.er1 >conftest.err
19273 rm -f conftest.er1
19274 cat conftest.err >&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); } && {
19277 test -z "$ac_c_werror_flag" ||
19278 test ! -s conftest.err
19279 } && test -s conftest.$ac_objext; then
19280 ac_cv_member_struct_statfs_f_bfree=yes
19281 else
19282 echo "$as_me: failed program was:" >&5
19283 sed 's/^/| /' conftest.$ac_ext >&5
19285 ac_cv_member_struct_statfs_f_bfree=no
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
19294 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
19295 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
19297 cat >>confdefs.h <<_ACEOF
19298 #define HAVE_STRUCT_STATFS_F_BFREE 1
19299 _ACEOF
19303 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
19304 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
19305 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 else
19308 cat >conftest.$ac_ext <<_ACEOF
19309 /* confdefs.h. */
19310 _ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 #include <sys/types.h>
19315 #ifdef HAVE_SYS_PARAM_H
19316 # include <sys/param.h>
19317 #endif
19318 #ifdef HAVE_SYS_MOUNT_H
19319 # include <sys/mount.h>
19320 #endif
19321 #ifdef HAVE_SYS_VFS_H
19322 # include <sys/vfs.h>
19323 #endif
19324 #ifdef HAVE_SYS_STATFS_H
19325 # include <sys/statfs.h>
19326 #endif
19329 main ()
19331 static struct statfs ac_aggr;
19332 if (ac_aggr.f_bavail)
19333 return 0;
19335 return 0;
19337 _ACEOF
19338 rm -f conftest.$ac_objext
19339 if { (ac_try="$ac_compile"
19340 case "(($ac_try" in
19341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19342 *) ac_try_echo=$ac_try;;
19343 esac
19344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19345 (eval "$ac_compile") 2>conftest.er1
19346 ac_status=$?
19347 grep -v '^ *+' conftest.er1 >conftest.err
19348 rm -f conftest.er1
19349 cat conftest.err >&5
19350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19351 (exit $ac_status); } && {
19352 test -z "$ac_c_werror_flag" ||
19353 test ! -s conftest.err
19354 } && test -s conftest.$ac_objext; then
19355 ac_cv_member_struct_statfs_f_bavail=yes
19356 else
19357 echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.$ac_ext >&5
19360 cat >conftest.$ac_ext <<_ACEOF
19361 /* confdefs.h. */
19362 _ACEOF
19363 cat confdefs.h >>conftest.$ac_ext
19364 cat >>conftest.$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19366 #include <sys/types.h>
19367 #ifdef HAVE_SYS_PARAM_H
19368 # include <sys/param.h>
19369 #endif
19370 #ifdef HAVE_SYS_MOUNT_H
19371 # include <sys/mount.h>
19372 #endif
19373 #ifdef HAVE_SYS_VFS_H
19374 # include <sys/vfs.h>
19375 #endif
19376 #ifdef HAVE_SYS_STATFS_H
19377 # include <sys/statfs.h>
19378 #endif
19381 main ()
19383 static struct statfs ac_aggr;
19384 if (sizeof ac_aggr.f_bavail)
19385 return 0;
19387 return 0;
19389 _ACEOF
19390 rm -f conftest.$ac_objext
19391 if { (ac_try="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19395 esac
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19398 ac_status=$?
19399 grep -v '^ *+' conftest.er1 >conftest.err
19400 rm -f conftest.er1
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19407 ac_cv_member_struct_statfs_f_bavail=yes
19408 else
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19412 ac_cv_member_struct_statfs_f_bavail=no
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19420 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19421 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19422 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19426 _ACEOF
19430 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19431 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19432 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19434 else
19435 cat >conftest.$ac_ext <<_ACEOF
19436 /* confdefs.h. */
19437 _ACEOF
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 #include <sys/types.h>
19442 #ifdef HAVE_SYS_PARAM_H
19443 # include <sys/param.h>
19444 #endif
19445 #ifdef HAVE_SYS_MOUNT_H
19446 # include <sys/mount.h>
19447 #endif
19448 #ifdef HAVE_SYS_VFS_H
19449 # include <sys/vfs.h>
19450 #endif
19451 #ifdef HAVE_SYS_STATFS_H
19452 # include <sys/statfs.h>
19453 #endif
19456 main ()
19458 static struct statfs ac_aggr;
19459 if (ac_aggr.f_frsize)
19460 return 0;
19462 return 0;
19464 _ACEOF
19465 rm -f conftest.$ac_objext
19466 if { (ac_try="$ac_compile"
19467 case "(($ac_try" in
19468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19469 *) ac_try_echo=$ac_try;;
19470 esac
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_compile") 2>conftest.er1
19473 ac_status=$?
19474 grep -v '^ *+' conftest.er1 >conftest.err
19475 rm -f conftest.er1
19476 cat conftest.err >&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest.$ac_objext; then
19482 ac_cv_member_struct_statfs_f_frsize=yes
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 #include <sys/types.h>
19494 #ifdef HAVE_SYS_PARAM_H
19495 # include <sys/param.h>
19496 #endif
19497 #ifdef HAVE_SYS_MOUNT_H
19498 # include <sys/mount.h>
19499 #endif
19500 #ifdef HAVE_SYS_VFS_H
19501 # include <sys/vfs.h>
19502 #endif
19503 #ifdef HAVE_SYS_STATFS_H
19504 # include <sys/statfs.h>
19505 #endif
19508 main ()
19510 static struct statfs ac_aggr;
19511 if (sizeof ac_aggr.f_frsize)
19512 return 0;
19514 return 0;
19516 _ACEOF
19517 rm -f conftest.$ac_objext
19518 if { (ac_try="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19522 esac
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19525 ac_status=$?
19526 grep -v '^ *+' conftest.er1 >conftest.err
19527 rm -f conftest.er1
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && {
19531 test -z "$ac_c_werror_flag" ||
19532 test ! -s conftest.err
19533 } && test -s conftest.$ac_objext; then
19534 ac_cv_member_struct_statfs_f_frsize=yes
19535 else
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_member_struct_statfs_f_frsize=no
19542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19548 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19549 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19551 cat >>confdefs.h <<_ACEOF
19552 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19553 _ACEOF
19557 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19558 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19559 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19560 echo $ECHO_N "(cached) $ECHO_C" >&6
19561 else
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 #include <sys/types.h>
19569 #ifdef HAVE_SYS_PARAM_H
19570 # include <sys/param.h>
19571 #endif
19572 #ifdef HAVE_SYS_MOUNT_H
19573 # include <sys/mount.h>
19574 #endif
19575 #ifdef HAVE_SYS_VFS_H
19576 # include <sys/vfs.h>
19577 #endif
19578 #ifdef HAVE_SYS_STATFS_H
19579 # include <sys/statfs.h>
19580 #endif
19583 main ()
19585 static struct statfs ac_aggr;
19586 if (ac_aggr.f_ffree)
19587 return 0;
19589 return 0;
19591 _ACEOF
19592 rm -f conftest.$ac_objext
19593 if { (ac_try="$ac_compile"
19594 case "(($ac_try" in
19595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19596 *) ac_try_echo=$ac_try;;
19597 esac
19598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19599 (eval "$ac_compile") 2>conftest.er1
19600 ac_status=$?
19601 grep -v '^ *+' conftest.er1 >conftest.err
19602 rm -f conftest.er1
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && {
19606 test -z "$ac_c_werror_flag" ||
19607 test ! -s conftest.err
19608 } && test -s conftest.$ac_objext; then
19609 ac_cv_member_struct_statfs_f_ffree=yes
19610 else
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19614 cat >conftest.$ac_ext <<_ACEOF
19615 /* confdefs.h. */
19616 _ACEOF
19617 cat confdefs.h >>conftest.$ac_ext
19618 cat >>conftest.$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620 #include <sys/types.h>
19621 #ifdef HAVE_SYS_PARAM_H
19622 # include <sys/param.h>
19623 #endif
19624 #ifdef HAVE_SYS_MOUNT_H
19625 # include <sys/mount.h>
19626 #endif
19627 #ifdef HAVE_SYS_VFS_H
19628 # include <sys/vfs.h>
19629 #endif
19630 #ifdef HAVE_SYS_STATFS_H
19631 # include <sys/statfs.h>
19632 #endif
19635 main ()
19637 static struct statfs ac_aggr;
19638 if (sizeof ac_aggr.f_ffree)
19639 return 0;
19641 return 0;
19643 _ACEOF
19644 rm -f conftest.$ac_objext
19645 if { (ac_try="$ac_compile"
19646 case "(($ac_try" in
19647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19648 *) ac_try_echo=$ac_try;;
19649 esac
19650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19651 (eval "$ac_compile") 2>conftest.er1
19652 ac_status=$?
19653 grep -v '^ *+' conftest.er1 >conftest.err
19654 rm -f conftest.er1
19655 cat conftest.err >&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); } && {
19658 test -z "$ac_c_werror_flag" ||
19659 test ! -s conftest.err
19660 } && test -s conftest.$ac_objext; then
19661 ac_cv_member_struct_statfs_f_ffree=yes
19662 else
19663 echo "$as_me: failed program was:" >&5
19664 sed 's/^/| /' conftest.$ac_ext >&5
19666 ac_cv_member_struct_statfs_f_ffree=no
19669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19674 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19675 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19676 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19678 cat >>confdefs.h <<_ACEOF
19679 #define HAVE_STRUCT_STATFS_F_FFREE 1
19680 _ACEOF
19684 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19685 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19686 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19687 echo $ECHO_N "(cached) $ECHO_C" >&6
19688 else
19689 cat >conftest.$ac_ext <<_ACEOF
19690 /* confdefs.h. */
19691 _ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 #include <sys/types.h>
19696 #ifdef HAVE_SYS_PARAM_H
19697 # include <sys/param.h>
19698 #endif
19699 #ifdef HAVE_SYS_MOUNT_H
19700 # include <sys/mount.h>
19701 #endif
19702 #ifdef HAVE_SYS_VFS_H
19703 # include <sys/vfs.h>
19704 #endif
19705 #ifdef HAVE_SYS_STATFS_H
19706 # include <sys/statfs.h>
19707 #endif
19710 main ()
19712 static struct statfs ac_aggr;
19713 if (ac_aggr.f_favail)
19714 return 0;
19716 return 0;
19718 _ACEOF
19719 rm -f conftest.$ac_objext
19720 if { (ac_try="$ac_compile"
19721 case "(($ac_try" in
19722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19723 *) ac_try_echo=$ac_try;;
19724 esac
19725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19726 (eval "$ac_compile") 2>conftest.er1
19727 ac_status=$?
19728 grep -v '^ *+' conftest.er1 >conftest.err
19729 rm -f conftest.er1
19730 cat conftest.err >&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } && {
19733 test -z "$ac_c_werror_flag" ||
19734 test ! -s conftest.err
19735 } && test -s conftest.$ac_objext; then
19736 ac_cv_member_struct_statfs_f_favail=yes
19737 else
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.$ac_ext >&5
19741 cat >conftest.$ac_ext <<_ACEOF
19742 /* confdefs.h. */
19743 _ACEOF
19744 cat confdefs.h >>conftest.$ac_ext
19745 cat >>conftest.$ac_ext <<_ACEOF
19746 /* end confdefs.h. */
19747 #include <sys/types.h>
19748 #ifdef HAVE_SYS_PARAM_H
19749 # include <sys/param.h>
19750 #endif
19751 #ifdef HAVE_SYS_MOUNT_H
19752 # include <sys/mount.h>
19753 #endif
19754 #ifdef HAVE_SYS_VFS_H
19755 # include <sys/vfs.h>
19756 #endif
19757 #ifdef HAVE_SYS_STATFS_H
19758 # include <sys/statfs.h>
19759 #endif
19762 main ()
19764 static struct statfs ac_aggr;
19765 if (sizeof ac_aggr.f_favail)
19766 return 0;
19768 return 0;
19770 _ACEOF
19771 rm -f conftest.$ac_objext
19772 if { (ac_try="$ac_compile"
19773 case "(($ac_try" in
19774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19775 *) ac_try_echo=$ac_try;;
19776 esac
19777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19778 (eval "$ac_compile") 2>conftest.er1
19779 ac_status=$?
19780 grep -v '^ *+' conftest.er1 >conftest.err
19781 rm -f conftest.er1
19782 cat conftest.err >&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); } && {
19785 test -z "$ac_c_werror_flag" ||
19786 test ! -s conftest.err
19787 } && test -s conftest.$ac_objext; then
19788 ac_cv_member_struct_statfs_f_favail=yes
19789 else
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19793 ac_cv_member_struct_statfs_f_favail=no
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19802 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19803 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19805 cat >>confdefs.h <<_ACEOF
19806 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19807 _ACEOF
19811 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19812 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19813 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 else
19816 cat >conftest.$ac_ext <<_ACEOF
19817 /* confdefs.h. */
19818 _ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 #include <sys/types.h>
19823 #ifdef HAVE_SYS_PARAM_H
19824 # include <sys/param.h>
19825 #endif
19826 #ifdef HAVE_SYS_MOUNT_H
19827 # include <sys/mount.h>
19828 #endif
19829 #ifdef HAVE_SYS_VFS_H
19830 # include <sys/vfs.h>
19831 #endif
19832 #ifdef HAVE_SYS_STATFS_H
19833 # include <sys/statfs.h>
19834 #endif
19837 main ()
19839 static struct statfs ac_aggr;
19840 if (ac_aggr.f_namelen)
19841 return 0;
19843 return 0;
19845 _ACEOF
19846 rm -f conftest.$ac_objext
19847 if { (ac_try="$ac_compile"
19848 case "(($ac_try" in
19849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19850 *) ac_try_echo=$ac_try;;
19851 esac
19852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19853 (eval "$ac_compile") 2>conftest.er1
19854 ac_status=$?
19855 grep -v '^ *+' conftest.er1 >conftest.err
19856 rm -f conftest.er1
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } && {
19860 test -z "$ac_c_werror_flag" ||
19861 test ! -s conftest.err
19862 } && test -s conftest.$ac_objext; then
19863 ac_cv_member_struct_statfs_f_namelen=yes
19864 else
19865 echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.$ac_ext >&5
19868 cat >conftest.$ac_ext <<_ACEOF
19869 /* confdefs.h. */
19870 _ACEOF
19871 cat confdefs.h >>conftest.$ac_ext
19872 cat >>conftest.$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19874 #include <sys/types.h>
19875 #ifdef HAVE_SYS_PARAM_H
19876 # include <sys/param.h>
19877 #endif
19878 #ifdef HAVE_SYS_MOUNT_H
19879 # include <sys/mount.h>
19880 #endif
19881 #ifdef HAVE_SYS_VFS_H
19882 # include <sys/vfs.h>
19883 #endif
19884 #ifdef HAVE_SYS_STATFS_H
19885 # include <sys/statfs.h>
19886 #endif
19889 main ()
19891 static struct statfs ac_aggr;
19892 if (sizeof ac_aggr.f_namelen)
19893 return 0;
19895 return 0;
19897 _ACEOF
19898 rm -f conftest.$ac_objext
19899 if { (ac_try="$ac_compile"
19900 case "(($ac_try" in
19901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19902 *) ac_try_echo=$ac_try;;
19903 esac
19904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19905 (eval "$ac_compile") 2>conftest.er1
19906 ac_status=$?
19907 grep -v '^ *+' conftest.er1 >conftest.err
19908 rm -f conftest.er1
19909 cat conftest.err >&5
19910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911 (exit $ac_status); } && {
19912 test -z "$ac_c_werror_flag" ||
19913 test ! -s conftest.err
19914 } && test -s conftest.$ac_objext; then
19915 ac_cv_member_struct_statfs_f_namelen=yes
19916 else
19917 echo "$as_me: failed program was:" >&5
19918 sed 's/^/| /' conftest.$ac_ext >&5
19920 ac_cv_member_struct_statfs_f_namelen=no
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19929 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19930 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19932 cat >>confdefs.h <<_ACEOF
19933 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19934 _ACEOF
19940 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19941 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19942 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19943 echo $ECHO_N "(cached) $ECHO_C" >&6
19944 else
19945 cat >conftest.$ac_ext <<_ACEOF
19946 /* confdefs.h. */
19947 _ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 #ifdef HAVE_SYS_STATVFS_H
19952 #include <sys/statvfs.h>
19953 #endif
19956 main ()
19958 static struct statvfs ac_aggr;
19959 if (ac_aggr.f_blocks)
19960 return 0;
19962 return 0;
19964 _ACEOF
19965 rm -f conftest.$ac_objext
19966 if { (ac_try="$ac_compile"
19967 case "(($ac_try" in
19968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19969 *) ac_try_echo=$ac_try;;
19970 esac
19971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19972 (eval "$ac_compile") 2>conftest.er1
19973 ac_status=$?
19974 grep -v '^ *+' conftest.er1 >conftest.err
19975 rm -f conftest.er1
19976 cat conftest.err >&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } && {
19979 test -z "$ac_c_werror_flag" ||
19980 test ! -s conftest.err
19981 } && test -s conftest.$ac_objext; then
19982 ac_cv_member_struct_statvfs_f_blocks=yes
19983 else
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19987 cat >conftest.$ac_ext <<_ACEOF
19988 /* confdefs.h. */
19989 _ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 #ifdef HAVE_SYS_STATVFS_H
19994 #include <sys/statvfs.h>
19995 #endif
19998 main ()
20000 static struct statvfs ac_aggr;
20001 if (sizeof ac_aggr.f_blocks)
20002 return 0;
20004 return 0;
20006 _ACEOF
20007 rm -f conftest.$ac_objext
20008 if { (ac_try="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20012 esac
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.$ac_objext; then
20024 ac_cv_member_struct_statvfs_f_blocks=yes
20025 else
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20029 ac_cv_member_struct_statvfs_f_blocks=no
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
20038 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
20039 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
20043 _ACEOF
20049 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
20050 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
20051 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20053 else
20054 cat >conftest.$ac_ext <<_ACEOF
20055 /* confdefs.h. */
20056 _ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #include <sys/types.h>
20061 #ifdef HAVE_SYS_SOCKET_H
20062 # include <sys/socket.h>
20063 #endif
20064 #ifdef HAVE_SYS_UN_H
20065 # include <sys/un.h>
20066 #endif
20069 main ()
20071 static struct msghdr ac_aggr;
20072 if (ac_aggr.msg_accrights)
20073 return 0;
20075 return 0;
20077 _ACEOF
20078 rm -f conftest.$ac_objext
20079 if { (ac_try="$ac_compile"
20080 case "(($ac_try" in
20081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20082 *) ac_try_echo=$ac_try;;
20083 esac
20084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20085 (eval "$ac_compile") 2>conftest.er1
20086 ac_status=$?
20087 grep -v '^ *+' conftest.er1 >conftest.err
20088 rm -f conftest.er1
20089 cat conftest.err >&5
20090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091 (exit $ac_status); } && {
20092 test -z "$ac_c_werror_flag" ||
20093 test ! -s conftest.err
20094 } && test -s conftest.$ac_objext; then
20095 ac_cv_member_struct_msghdr_msg_accrights=yes
20096 else
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20100 cat >conftest.$ac_ext <<_ACEOF
20101 /* confdefs.h. */
20102 _ACEOF
20103 cat confdefs.h >>conftest.$ac_ext
20104 cat >>conftest.$ac_ext <<_ACEOF
20105 /* end confdefs.h. */
20106 #include <sys/types.h>
20107 #ifdef HAVE_SYS_SOCKET_H
20108 # include <sys/socket.h>
20109 #endif
20110 #ifdef HAVE_SYS_UN_H
20111 # include <sys/un.h>
20112 #endif
20115 main ()
20117 static struct msghdr ac_aggr;
20118 if (sizeof ac_aggr.msg_accrights)
20119 return 0;
20121 return 0;
20123 _ACEOF
20124 rm -f conftest.$ac_objext
20125 if { (ac_try="$ac_compile"
20126 case "(($ac_try" in
20127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128 *) ac_try_echo=$ac_try;;
20129 esac
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_compile") 2>conftest.er1
20132 ac_status=$?
20133 grep -v '^ *+' conftest.er1 >conftest.err
20134 rm -f conftest.er1
20135 cat conftest.err >&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err
20140 } && test -s conftest.$ac_objext; then
20141 ac_cv_member_struct_msghdr_msg_accrights=yes
20142 else
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.$ac_ext >&5
20146 ac_cv_member_struct_msghdr_msg_accrights=no
20149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20154 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
20155 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
20156 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
20158 cat >>confdefs.h <<_ACEOF
20159 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
20160 _ACEOF
20164 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
20165 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
20166 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
20167 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 else
20169 cat >conftest.$ac_ext <<_ACEOF
20170 /* confdefs.h. */
20171 _ACEOF
20172 cat confdefs.h >>conftest.$ac_ext
20173 cat >>conftest.$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20175 #include <sys/types.h>
20176 #ifdef HAVE_SYS_SOCKET_H
20177 # include <sys/socket.h>
20178 #endif
20179 #ifdef HAVE_SYS_UN_H
20180 # include <sys/un.h>
20181 #endif
20184 main ()
20186 static struct sockaddr ac_aggr;
20187 if (ac_aggr.sa_len)
20188 return 0;
20190 return 0;
20192 _ACEOF
20193 rm -f conftest.$ac_objext
20194 if { (ac_try="$ac_compile"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20198 esac
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_compile") 2>conftest.er1
20201 ac_status=$?
20202 grep -v '^ *+' conftest.er1 >conftest.err
20203 rm -f conftest.er1
20204 cat conftest.err >&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest.$ac_objext; then
20210 ac_cv_member_struct_sockaddr_sa_len=yes
20211 else
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20215 cat >conftest.$ac_ext <<_ACEOF
20216 /* confdefs.h. */
20217 _ACEOF
20218 cat confdefs.h >>conftest.$ac_ext
20219 cat >>conftest.$ac_ext <<_ACEOF
20220 /* end confdefs.h. */
20221 #include <sys/types.h>
20222 #ifdef HAVE_SYS_SOCKET_H
20223 # include <sys/socket.h>
20224 #endif
20225 #ifdef HAVE_SYS_UN_H
20226 # include <sys/un.h>
20227 #endif
20230 main ()
20232 static struct sockaddr ac_aggr;
20233 if (sizeof ac_aggr.sa_len)
20234 return 0;
20236 return 0;
20238 _ACEOF
20239 rm -f conftest.$ac_objext
20240 if { (ac_try="$ac_compile"
20241 case "(($ac_try" in
20242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20243 *) ac_try_echo=$ac_try;;
20244 esac
20245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20246 (eval "$ac_compile") 2>conftest.er1
20247 ac_status=$?
20248 grep -v '^ *+' conftest.er1 >conftest.err
20249 rm -f conftest.er1
20250 cat conftest.err >&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } && {
20253 test -z "$ac_c_werror_flag" ||
20254 test ! -s conftest.err
20255 } && test -s conftest.$ac_objext; then
20256 ac_cv_member_struct_sockaddr_sa_len=yes
20257 else
20258 echo "$as_me: failed program was:" >&5
20259 sed 's/^/| /' conftest.$ac_ext >&5
20261 ac_cv_member_struct_sockaddr_sa_len=no
20264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20269 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
20270 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
20271 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
20273 cat >>confdefs.h <<_ACEOF
20274 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
20275 _ACEOF
20279 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
20280 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
20281 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
20282 echo $ECHO_N "(cached) $ECHO_C" >&6
20283 else
20284 cat >conftest.$ac_ext <<_ACEOF
20285 /* confdefs.h. */
20286 _ACEOF
20287 cat confdefs.h >>conftest.$ac_ext
20288 cat >>conftest.$ac_ext <<_ACEOF
20289 /* end confdefs.h. */
20290 #include <sys/types.h>
20291 #ifdef HAVE_SYS_SOCKET_H
20292 # include <sys/socket.h>
20293 #endif
20294 #ifdef HAVE_SYS_UN_H
20295 # include <sys/un.h>
20296 #endif
20299 main ()
20301 static struct sockaddr_un ac_aggr;
20302 if (ac_aggr.sun_len)
20303 return 0;
20305 return 0;
20307 _ACEOF
20308 rm -f conftest.$ac_objext
20309 if { (ac_try="$ac_compile"
20310 case "(($ac_try" in
20311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20312 *) ac_try_echo=$ac_try;;
20313 esac
20314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20315 (eval "$ac_compile") 2>conftest.er1
20316 ac_status=$?
20317 grep -v '^ *+' conftest.er1 >conftest.err
20318 rm -f conftest.er1
20319 cat conftest.err >&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } && {
20322 test -z "$ac_c_werror_flag" ||
20323 test ! -s conftest.err
20324 } && test -s conftest.$ac_objext; then
20325 ac_cv_member_struct_sockaddr_un_sun_len=yes
20326 else
20327 echo "$as_me: failed program was:" >&5
20328 sed 's/^/| /' conftest.$ac_ext >&5
20330 cat >conftest.$ac_ext <<_ACEOF
20331 /* confdefs.h. */
20332 _ACEOF
20333 cat confdefs.h >>conftest.$ac_ext
20334 cat >>conftest.$ac_ext <<_ACEOF
20335 /* end confdefs.h. */
20336 #include <sys/types.h>
20337 #ifdef HAVE_SYS_SOCKET_H
20338 # include <sys/socket.h>
20339 #endif
20340 #ifdef HAVE_SYS_UN_H
20341 # include <sys/un.h>
20342 #endif
20345 main ()
20347 static struct sockaddr_un ac_aggr;
20348 if (sizeof ac_aggr.sun_len)
20349 return 0;
20351 return 0;
20353 _ACEOF
20354 rm -f conftest.$ac_objext
20355 if { (ac_try="$ac_compile"
20356 case "(($ac_try" in
20357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20358 *) ac_try_echo=$ac_try;;
20359 esac
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_compile") 2>conftest.er1
20362 ac_status=$?
20363 grep -v '^ *+' conftest.er1 >conftest.err
20364 rm -f conftest.er1
20365 cat conftest.err >&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); } && {
20368 test -z "$ac_c_werror_flag" ||
20369 test ! -s conftest.err
20370 } && test -s conftest.$ac_objext; then
20371 ac_cv_member_struct_sockaddr_un_sun_len=yes
20372 else
20373 echo "$as_me: failed program was:" >&5
20374 sed 's/^/| /' conftest.$ac_ext >&5
20376 ac_cv_member_struct_sockaddr_un_sun_len=no
20379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20384 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20385 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20386 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20388 cat >>confdefs.h <<_ACEOF
20389 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20390 _ACEOF
20396 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20397 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20398 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20399 echo $ECHO_N "(cached) $ECHO_C" >&6
20400 else
20401 cat >conftest.$ac_ext <<_ACEOF
20402 /* confdefs.h. */
20403 _ACEOF
20404 cat confdefs.h >>conftest.$ac_ext
20405 cat >>conftest.$ac_ext <<_ACEOF
20406 /* end confdefs.h. */
20407 #include <sys/types.h>
20408 #ifdef HAVE_SCSI_SG_H
20409 #include <scsi/sg.h>
20410 #endif
20413 main ()
20415 static scsireq_t ac_aggr;
20416 if (ac_aggr.cmd)
20417 return 0;
20419 return 0;
20421 _ACEOF
20422 rm -f conftest.$ac_objext
20423 if { (ac_try="$ac_compile"
20424 case "(($ac_try" in
20425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20426 *) ac_try_echo=$ac_try;;
20427 esac
20428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20429 (eval "$ac_compile") 2>conftest.er1
20430 ac_status=$?
20431 grep -v '^ *+' conftest.er1 >conftest.err
20432 rm -f conftest.er1
20433 cat conftest.err >&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } && {
20436 test -z "$ac_c_werror_flag" ||
20437 test ! -s conftest.err
20438 } && test -s conftest.$ac_objext; then
20439 ac_cv_member_scsireq_t_cmd=yes
20440 else
20441 echo "$as_me: failed program was:" >&5
20442 sed 's/^/| /' conftest.$ac_ext >&5
20444 cat >conftest.$ac_ext <<_ACEOF
20445 /* confdefs.h. */
20446 _ACEOF
20447 cat confdefs.h >>conftest.$ac_ext
20448 cat >>conftest.$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 #include <sys/types.h>
20451 #ifdef HAVE_SCSI_SG_H
20452 #include <scsi/sg.h>
20453 #endif
20456 main ()
20458 static scsireq_t ac_aggr;
20459 if (sizeof ac_aggr.cmd)
20460 return 0;
20462 return 0;
20464 _ACEOF
20465 rm -f conftest.$ac_objext
20466 if { (ac_try="$ac_compile"
20467 case "(($ac_try" in
20468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20469 *) ac_try_echo=$ac_try;;
20470 esac
20471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20472 (eval "$ac_compile") 2>conftest.er1
20473 ac_status=$?
20474 grep -v '^ *+' conftest.er1 >conftest.err
20475 rm -f conftest.er1
20476 cat conftest.err >&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } && {
20479 test -z "$ac_c_werror_flag" ||
20480 test ! -s conftest.err
20481 } && test -s conftest.$ac_objext; then
20482 ac_cv_member_scsireq_t_cmd=yes
20483 else
20484 echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.$ac_ext >&5
20487 ac_cv_member_scsireq_t_cmd=no
20490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20495 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20496 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20497 if test $ac_cv_member_scsireq_t_cmd = yes; then
20499 cat >>confdefs.h <<_ACEOF
20500 #define HAVE_SCSIREQ_T_CMD 1
20501 _ACEOF
20505 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20506 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20507 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20508 echo $ECHO_N "(cached) $ECHO_C" >&6
20509 else
20510 cat >conftest.$ac_ext <<_ACEOF
20511 /* confdefs.h. */
20512 _ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 #include <sys/types.h>
20517 #ifdef HAVE_SCSI_SG_H
20518 #include <scsi/sg.h>
20519 #endif
20522 main ()
20524 static sg_io_hdr_t ac_aggr;
20525 if (ac_aggr.interface_id)
20526 return 0;
20528 return 0;
20530 _ACEOF
20531 rm -f conftest.$ac_objext
20532 if { (ac_try="$ac_compile"
20533 case "(($ac_try" in
20534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20535 *) ac_try_echo=$ac_try;;
20536 esac
20537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20538 (eval "$ac_compile") 2>conftest.er1
20539 ac_status=$?
20540 grep -v '^ *+' conftest.er1 >conftest.err
20541 rm -f conftest.er1
20542 cat conftest.err >&5
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); } && {
20545 test -z "$ac_c_werror_flag" ||
20546 test ! -s conftest.err
20547 } && test -s conftest.$ac_objext; then
20548 ac_cv_member_sg_io_hdr_t_interface_id=yes
20549 else
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.$ac_ext >&5
20553 cat >conftest.$ac_ext <<_ACEOF
20554 /* confdefs.h. */
20555 _ACEOF
20556 cat confdefs.h >>conftest.$ac_ext
20557 cat >>conftest.$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 #include <sys/types.h>
20560 #ifdef HAVE_SCSI_SG_H
20561 #include <scsi/sg.h>
20562 #endif
20565 main ()
20567 static sg_io_hdr_t ac_aggr;
20568 if (sizeof ac_aggr.interface_id)
20569 return 0;
20571 return 0;
20573 _ACEOF
20574 rm -f conftest.$ac_objext
20575 if { (ac_try="$ac_compile"
20576 case "(($ac_try" in
20577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20578 *) ac_try_echo=$ac_try;;
20579 esac
20580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20581 (eval "$ac_compile") 2>conftest.er1
20582 ac_status=$?
20583 grep -v '^ *+' conftest.er1 >conftest.err
20584 rm -f conftest.er1
20585 cat conftest.err >&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } && {
20588 test -z "$ac_c_werror_flag" ||
20589 test ! -s conftest.err
20590 } && test -s conftest.$ac_objext; then
20591 ac_cv_member_sg_io_hdr_t_interface_id=yes
20592 else
20593 echo "$as_me: failed program was:" >&5
20594 sed 's/^/| /' conftest.$ac_ext >&5
20596 ac_cv_member_sg_io_hdr_t_interface_id=no
20599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20604 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20605 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20606 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20608 cat >>confdefs.h <<_ACEOF
20609 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20610 _ACEOF
20616 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20617 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20618 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20619 echo $ECHO_N "(cached) $ECHO_C" >&6
20620 else
20621 cat >conftest.$ac_ext <<_ACEOF
20622 /* confdefs.h. */
20623 _ACEOF
20624 cat confdefs.h >>conftest.$ac_ext
20625 cat >>conftest.$ac_ext <<_ACEOF
20626 /* end confdefs.h. */
20627 #include <signal.h>
20630 main ()
20632 static siginfo_t ac_aggr;
20633 if (ac_aggr.si_fd)
20634 return 0;
20636 return 0;
20638 _ACEOF
20639 rm -f conftest.$ac_objext
20640 if { (ac_try="$ac_compile"
20641 case "(($ac_try" in
20642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20643 *) ac_try_echo=$ac_try;;
20644 esac
20645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20646 (eval "$ac_compile") 2>conftest.er1
20647 ac_status=$?
20648 grep -v '^ *+' conftest.er1 >conftest.err
20649 rm -f conftest.er1
20650 cat conftest.err >&5
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); } && {
20653 test -z "$ac_c_werror_flag" ||
20654 test ! -s conftest.err
20655 } && test -s conftest.$ac_objext; then
20656 ac_cv_member_siginfo_t_si_fd=yes
20657 else
20658 echo "$as_me: failed program was:" >&5
20659 sed 's/^/| /' conftest.$ac_ext >&5
20661 cat >conftest.$ac_ext <<_ACEOF
20662 /* confdefs.h. */
20663 _ACEOF
20664 cat confdefs.h >>conftest.$ac_ext
20665 cat >>conftest.$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20667 #include <signal.h>
20670 main ()
20672 static siginfo_t ac_aggr;
20673 if (sizeof ac_aggr.si_fd)
20674 return 0;
20676 return 0;
20678 _ACEOF
20679 rm -f conftest.$ac_objext
20680 if { (ac_try="$ac_compile"
20681 case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20684 esac
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_compile") 2>conftest.er1
20687 ac_status=$?
20688 grep -v '^ *+' conftest.er1 >conftest.err
20689 rm -f conftest.er1
20690 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } && {
20693 test -z "$ac_c_werror_flag" ||
20694 test ! -s conftest.err
20695 } && test -s conftest.$ac_objext; then
20696 ac_cv_member_siginfo_t_si_fd=yes
20697 else
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.$ac_ext >&5
20701 ac_cv_member_siginfo_t_si_fd=no
20704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20709 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20710 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20711 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20713 cat >>confdefs.h <<_ACEOF
20714 #define HAVE_SIGINFO_T_SI_FD 1
20715 _ACEOF
20721 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20722 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20723 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20724 echo $ECHO_N "(cached) $ECHO_C" >&6
20725 else
20726 cat >conftest.$ac_ext <<_ACEOF
20727 /* confdefs.h. */
20728 _ACEOF
20729 cat confdefs.h >>conftest.$ac_ext
20730 cat >>conftest.$ac_ext <<_ACEOF
20731 /* end confdefs.h. */
20732 #include <sys/types.h>
20733 #ifdef HAVE_SYS_MTIO_H
20734 #include <sys/mtio.h>
20735 #endif
20738 main ()
20740 static struct mtget ac_aggr;
20741 if (ac_aggr.mt_blksiz)
20742 return 0;
20744 return 0;
20746 _ACEOF
20747 rm -f conftest.$ac_objext
20748 if { (ac_try="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20752 esac
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20755 ac_status=$?
20756 grep -v '^ *+' conftest.er1 >conftest.err
20757 rm -f conftest.er1
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.$ac_objext; then
20764 ac_cv_member_struct_mtget_mt_blksiz=yes
20765 else
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20769 cat >conftest.$ac_ext <<_ACEOF
20770 /* confdefs.h. */
20771 _ACEOF
20772 cat confdefs.h >>conftest.$ac_ext
20773 cat >>conftest.$ac_ext <<_ACEOF
20774 /* end confdefs.h. */
20775 #include <sys/types.h>
20776 #ifdef HAVE_SYS_MTIO_H
20777 #include <sys/mtio.h>
20778 #endif
20781 main ()
20783 static struct mtget ac_aggr;
20784 if (sizeof ac_aggr.mt_blksiz)
20785 return 0;
20787 return 0;
20789 _ACEOF
20790 rm -f conftest.$ac_objext
20791 if { (ac_try="$ac_compile"
20792 case "(($ac_try" in
20793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20794 *) ac_try_echo=$ac_try;;
20795 esac
20796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20797 (eval "$ac_compile") 2>conftest.er1
20798 ac_status=$?
20799 grep -v '^ *+' conftest.er1 >conftest.err
20800 rm -f conftest.er1
20801 cat conftest.err >&5
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); } && {
20804 test -z "$ac_c_werror_flag" ||
20805 test ! -s conftest.err
20806 } && test -s conftest.$ac_objext; then
20807 ac_cv_member_struct_mtget_mt_blksiz=yes
20808 else
20809 echo "$as_me: failed program was:" >&5
20810 sed 's/^/| /' conftest.$ac_ext >&5
20812 ac_cv_member_struct_mtget_mt_blksiz=no
20815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20820 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20821 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20822 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20824 cat >>confdefs.h <<_ACEOF
20825 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20826 _ACEOF
20830 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20831 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20832 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20833 echo $ECHO_N "(cached) $ECHO_C" >&6
20834 else
20835 cat >conftest.$ac_ext <<_ACEOF
20836 /* confdefs.h. */
20837 _ACEOF
20838 cat confdefs.h >>conftest.$ac_ext
20839 cat >>conftest.$ac_ext <<_ACEOF
20840 /* end confdefs.h. */
20841 #include <sys/types.h>
20842 #ifdef HAVE_SYS_MTIO_H
20843 #include <sys/mtio.h>
20844 #endif
20847 main ()
20849 static struct mtget ac_aggr;
20850 if (ac_aggr.mt_gstat)
20851 return 0;
20853 return 0;
20855 _ACEOF
20856 rm -f conftest.$ac_objext
20857 if { (ac_try="$ac_compile"
20858 case "(($ac_try" in
20859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20860 *) ac_try_echo=$ac_try;;
20861 esac
20862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20863 (eval "$ac_compile") 2>conftest.er1
20864 ac_status=$?
20865 grep -v '^ *+' conftest.er1 >conftest.err
20866 rm -f conftest.er1
20867 cat conftest.err >&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } && {
20870 test -z "$ac_c_werror_flag" ||
20871 test ! -s conftest.err
20872 } && test -s conftest.$ac_objext; then
20873 ac_cv_member_struct_mtget_mt_gstat=yes
20874 else
20875 echo "$as_me: failed program was:" >&5
20876 sed 's/^/| /' conftest.$ac_ext >&5
20878 cat >conftest.$ac_ext <<_ACEOF
20879 /* confdefs.h. */
20880 _ACEOF
20881 cat confdefs.h >>conftest.$ac_ext
20882 cat >>conftest.$ac_ext <<_ACEOF
20883 /* end confdefs.h. */
20884 #include <sys/types.h>
20885 #ifdef HAVE_SYS_MTIO_H
20886 #include <sys/mtio.h>
20887 #endif
20890 main ()
20892 static struct mtget ac_aggr;
20893 if (sizeof ac_aggr.mt_gstat)
20894 return 0;
20896 return 0;
20898 _ACEOF
20899 rm -f conftest.$ac_objext
20900 if { (ac_try="$ac_compile"
20901 case "(($ac_try" in
20902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20903 *) ac_try_echo=$ac_try;;
20904 esac
20905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20906 (eval "$ac_compile") 2>conftest.er1
20907 ac_status=$?
20908 grep -v '^ *+' conftest.er1 >conftest.err
20909 rm -f conftest.er1
20910 cat conftest.err >&5
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); } && {
20913 test -z "$ac_c_werror_flag" ||
20914 test ! -s conftest.err
20915 } && test -s conftest.$ac_objext; then
20916 ac_cv_member_struct_mtget_mt_gstat=yes
20917 else
20918 echo "$as_me: failed program was:" >&5
20919 sed 's/^/| /' conftest.$ac_ext >&5
20921 ac_cv_member_struct_mtget_mt_gstat=no
20924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20929 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20930 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20931 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20933 cat >>confdefs.h <<_ACEOF
20934 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20935 _ACEOF
20939 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20940 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20941 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20942 echo $ECHO_N "(cached) $ECHO_C" >&6
20943 else
20944 cat >conftest.$ac_ext <<_ACEOF
20945 /* confdefs.h. */
20946 _ACEOF
20947 cat confdefs.h >>conftest.$ac_ext
20948 cat >>conftest.$ac_ext <<_ACEOF
20949 /* end confdefs.h. */
20950 #include <sys/types.h>
20951 #ifdef HAVE_SYS_MTIO_H
20952 #include <sys/mtio.h>
20953 #endif
20956 main ()
20958 static struct mtget ac_aggr;
20959 if (ac_aggr.mt_blkno)
20960 return 0;
20962 return 0;
20964 _ACEOF
20965 rm -f conftest.$ac_objext
20966 if { (ac_try="$ac_compile"
20967 case "(($ac_try" in
20968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20969 *) ac_try_echo=$ac_try;;
20970 esac
20971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20972 (eval "$ac_compile") 2>conftest.er1
20973 ac_status=$?
20974 grep -v '^ *+' conftest.er1 >conftest.err
20975 rm -f conftest.er1
20976 cat conftest.err >&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); } && {
20979 test -z "$ac_c_werror_flag" ||
20980 test ! -s conftest.err
20981 } && test -s conftest.$ac_objext; then
20982 ac_cv_member_struct_mtget_mt_blkno=yes
20983 else
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20987 cat >conftest.$ac_ext <<_ACEOF
20988 /* confdefs.h. */
20989 _ACEOF
20990 cat confdefs.h >>conftest.$ac_ext
20991 cat >>conftest.$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20993 #include <sys/types.h>
20994 #ifdef HAVE_SYS_MTIO_H
20995 #include <sys/mtio.h>
20996 #endif
20999 main ()
21001 static struct mtget ac_aggr;
21002 if (sizeof ac_aggr.mt_blkno)
21003 return 0;
21005 return 0;
21007 _ACEOF
21008 rm -f conftest.$ac_objext
21009 if { (ac_try="$ac_compile"
21010 case "(($ac_try" in
21011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21012 *) ac_try_echo=$ac_try;;
21013 esac
21014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21015 (eval "$ac_compile") 2>conftest.er1
21016 ac_status=$?
21017 grep -v '^ *+' conftest.er1 >conftest.err
21018 rm -f conftest.er1
21019 cat conftest.err >&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } && {
21022 test -z "$ac_c_werror_flag" ||
21023 test ! -s conftest.err
21024 } && test -s conftest.$ac_objext; then
21025 ac_cv_member_struct_mtget_mt_blkno=yes
21026 else
21027 echo "$as_me: failed program was:" >&5
21028 sed 's/^/| /' conftest.$ac_ext >&5
21030 ac_cv_member_struct_mtget_mt_blkno=no
21033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21038 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
21039 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
21040 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
21042 cat >>confdefs.h <<_ACEOF
21043 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
21044 _ACEOF
21050 { echo "$as_me:$LINENO: checking for struct option.name" >&5
21051 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
21052 if test "${ac_cv_member_struct_option_name+set}" = set; then
21053 echo $ECHO_N "(cached) $ECHO_C" >&6
21054 else
21055 cat >conftest.$ac_ext <<_ACEOF
21056 /* confdefs.h. */
21057 _ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 #ifdef HAVE_GETOPT_H
21062 #include <getopt.h>
21063 #endif
21066 main ()
21068 static struct option ac_aggr;
21069 if (ac_aggr.name)
21070 return 0;
21072 return 0;
21074 _ACEOF
21075 rm -f conftest.$ac_objext
21076 if { (ac_try="$ac_compile"
21077 case "(($ac_try" in
21078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21080 esac
21081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21082 (eval "$ac_compile") 2>conftest.er1
21083 ac_status=$?
21084 grep -v '^ *+' conftest.er1 >conftest.err
21085 rm -f conftest.er1
21086 cat conftest.err >&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); } && {
21089 test -z "$ac_c_werror_flag" ||
21090 test ! -s conftest.err
21091 } && test -s conftest.$ac_objext; then
21092 ac_cv_member_struct_option_name=yes
21093 else
21094 echo "$as_me: failed program was:" >&5
21095 sed 's/^/| /' conftest.$ac_ext >&5
21097 cat >conftest.$ac_ext <<_ACEOF
21098 /* confdefs.h. */
21099 _ACEOF
21100 cat confdefs.h >>conftest.$ac_ext
21101 cat >>conftest.$ac_ext <<_ACEOF
21102 /* end confdefs.h. */
21103 #ifdef HAVE_GETOPT_H
21104 #include <getopt.h>
21105 #endif
21108 main ()
21110 static struct option ac_aggr;
21111 if (sizeof ac_aggr.name)
21112 return 0;
21114 return 0;
21116 _ACEOF
21117 rm -f conftest.$ac_objext
21118 if { (ac_try="$ac_compile"
21119 case "(($ac_try" in
21120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21121 *) ac_try_echo=$ac_try;;
21122 esac
21123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21124 (eval "$ac_compile") 2>conftest.er1
21125 ac_status=$?
21126 grep -v '^ *+' conftest.er1 >conftest.err
21127 rm -f conftest.er1
21128 cat conftest.err >&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); } && {
21131 test -z "$ac_c_werror_flag" ||
21132 test ! -s conftest.err
21133 } && test -s conftest.$ac_objext; then
21134 ac_cv_member_struct_option_name=yes
21135 else
21136 echo "$as_me: failed program was:" >&5
21137 sed 's/^/| /' conftest.$ac_ext >&5
21139 ac_cv_member_struct_option_name=no
21142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
21148 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
21149 if test $ac_cv_member_struct_option_name = yes; then
21151 cat >>confdefs.h <<_ACEOF
21152 #define HAVE_STRUCT_OPTION_NAME 1
21153 _ACEOF
21159 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
21160 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
21161 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
21162 echo $ECHO_N "(cached) $ECHO_C" >&6
21163 else
21164 cat >conftest.$ac_ext <<_ACEOF
21165 /* confdefs.h. */
21166 _ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21172 main ()
21174 static struct stat ac_aggr;
21175 if (ac_aggr.st_blocks)
21176 return 0;
21178 return 0;
21180 _ACEOF
21181 rm -f conftest.$ac_objext
21182 if { (ac_try="$ac_compile"
21183 case "(($ac_try" in
21184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21186 esac
21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_compile") 2>conftest.er1
21189 ac_status=$?
21190 grep -v '^ *+' conftest.er1 >conftest.err
21191 rm -f conftest.er1
21192 cat conftest.err >&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } && {
21195 test -z "$ac_c_werror_flag" ||
21196 test ! -s conftest.err
21197 } && test -s conftest.$ac_objext; then
21198 ac_cv_member_struct_stat_st_blocks=yes
21199 else
21200 echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.$ac_ext >&5
21203 cat >conftest.$ac_ext <<_ACEOF
21204 /* confdefs.h. */
21205 _ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21211 main ()
21213 static struct stat ac_aggr;
21214 if (sizeof ac_aggr.st_blocks)
21215 return 0;
21217 return 0;
21219 _ACEOF
21220 rm -f conftest.$ac_objext
21221 if { (ac_try="$ac_compile"
21222 case "(($ac_try" in
21223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21224 *) ac_try_echo=$ac_try;;
21225 esac
21226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21227 (eval "$ac_compile") 2>conftest.er1
21228 ac_status=$?
21229 grep -v '^ *+' conftest.er1 >conftest.err
21230 rm -f conftest.er1
21231 cat conftest.err >&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } && {
21234 test -z "$ac_c_werror_flag" ||
21235 test ! -s conftest.err
21236 } && test -s conftest.$ac_objext; then
21237 ac_cv_member_struct_stat_st_blocks=yes
21238 else
21239 echo "$as_me: failed program was:" >&5
21240 sed 's/^/| /' conftest.$ac_ext >&5
21242 ac_cv_member_struct_stat_st_blocks=no
21245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21250 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
21251 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
21252 if test $ac_cv_member_struct_stat_st_blocks = yes; then
21254 cat >>confdefs.h <<_ACEOF
21255 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
21256 _ACEOF
21262 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
21263 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
21264 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
21265 echo $ECHO_N "(cached) $ECHO_C" >&6
21266 else
21267 cat >conftest.$ac_ext <<_ACEOF
21268 /* confdefs.h. */
21269 _ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273 #ifdef HAVE_SYS_TYPES_H
21274 #include <sys/types.h>
21275 #endif
21276 #ifdef HAVE_NETINET_IN_H
21277 #include <netinet/in.h>
21278 #endif
21281 main ()
21283 static struct sockaddr_in6 ac_aggr;
21284 if (ac_aggr.sin6_scope_id)
21285 return 0;
21287 return 0;
21289 _ACEOF
21290 rm -f conftest.$ac_objext
21291 if { (ac_try="$ac_compile"
21292 case "(($ac_try" in
21293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21294 *) ac_try_echo=$ac_try;;
21295 esac
21296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21297 (eval "$ac_compile") 2>conftest.er1
21298 ac_status=$?
21299 grep -v '^ *+' conftest.er1 >conftest.err
21300 rm -f conftest.er1
21301 cat conftest.err >&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } && {
21304 test -z "$ac_c_werror_flag" ||
21305 test ! -s conftest.err
21306 } && test -s conftest.$ac_objext; then
21307 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21308 else
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.$ac_ext >&5
21312 cat >conftest.$ac_ext <<_ACEOF
21313 /* confdefs.h. */
21314 _ACEOF
21315 cat confdefs.h >>conftest.$ac_ext
21316 cat >>conftest.$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 #ifdef HAVE_SYS_TYPES_H
21319 #include <sys/types.h>
21320 #endif
21321 #ifdef HAVE_NETINET_IN_H
21322 #include <netinet/in.h>
21323 #endif
21326 main ()
21328 static struct sockaddr_in6 ac_aggr;
21329 if (sizeof ac_aggr.sin6_scope_id)
21330 return 0;
21332 return 0;
21334 _ACEOF
21335 rm -f conftest.$ac_objext
21336 if { (ac_try="$ac_compile"
21337 case "(($ac_try" in
21338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21339 *) ac_try_echo=$ac_try;;
21340 esac
21341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21342 (eval "$ac_compile") 2>conftest.er1
21343 ac_status=$?
21344 grep -v '^ *+' conftest.er1 >conftest.err
21345 rm -f conftest.er1
21346 cat conftest.err >&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } && {
21349 test -z "$ac_c_werror_flag" ||
21350 test ! -s conftest.err
21351 } && test -s conftest.$ac_objext; then
21352 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
21353 else
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.$ac_ext >&5
21357 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21365 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21366 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21367 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21369 cat >>confdefs.h <<_ACEOF
21370 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21371 _ACEOF
21377 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21378 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21379 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21380 echo $ECHO_N "(cached) $ECHO_C" >&6
21381 else
21382 cat >conftest.$ac_ext <<_ACEOF
21383 /* confdefs.h. */
21384 _ACEOF
21385 cat confdefs.h >>conftest.$ac_ext
21386 cat >>conftest.$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 #ifdef HAVE_SYS_TYPES_H
21389 #include <sys/types.h>
21390 #endif
21391 #ifdef HAVE_NETINET_IN_H
21392 # include <netinet/in.h>
21393 #endif
21394 #ifdef HAVE_ARPA_NAMESER_H
21395 # include <arpa/nameser.h>
21396 #endif
21399 main ()
21401 static ns_msg ac_aggr;
21402 if (ac_aggr._msg_ptr)
21403 return 0;
21405 return 0;
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21412 *) ac_try_echo=$ac_try;;
21413 esac
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21416 ac_status=$?
21417 grep -v '^ *+' conftest.er1 >conftest.err
21418 rm -f conftest.er1
21419 cat conftest.err >&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.$ac_objext; then
21425 ac_cv_member_ns_msg__msg_ptr=yes
21426 else
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.$ac_ext >&5
21430 cat >conftest.$ac_ext <<_ACEOF
21431 /* confdefs.h. */
21432 _ACEOF
21433 cat confdefs.h >>conftest.$ac_ext
21434 cat >>conftest.$ac_ext <<_ACEOF
21435 /* end confdefs.h. */
21436 #ifdef HAVE_SYS_TYPES_H
21437 #include <sys/types.h>
21438 #endif
21439 #ifdef HAVE_NETINET_IN_H
21440 # include <netinet/in.h>
21441 #endif
21442 #ifdef HAVE_ARPA_NAMESER_H
21443 # include <arpa/nameser.h>
21444 #endif
21447 main ()
21449 static ns_msg ac_aggr;
21450 if (sizeof ac_aggr._msg_ptr)
21451 return 0;
21453 return 0;
21455 _ACEOF
21456 rm -f conftest.$ac_objext
21457 if { (ac_try="$ac_compile"
21458 case "(($ac_try" in
21459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21460 *) ac_try_echo=$ac_try;;
21461 esac
21462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21463 (eval "$ac_compile") 2>conftest.er1
21464 ac_status=$?
21465 grep -v '^ *+' conftest.er1 >conftest.err
21466 rm -f conftest.er1
21467 cat conftest.err >&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } && {
21470 test -z "$ac_c_werror_flag" ||
21471 test ! -s conftest.err
21472 } && test -s conftest.$ac_objext; then
21473 ac_cv_member_ns_msg__msg_ptr=yes
21474 else
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.$ac_ext >&5
21478 ac_cv_member_ns_msg__msg_ptr=no
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21486 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21487 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21488 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21490 cat >>confdefs.h <<_ACEOF
21491 #define HAVE_NS_MSG__MSG_PTR 1
21492 _ACEOF
21498 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21499 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21500 if test "${ac_cv_have_timezone+set}" = set; then
21501 echo $ECHO_N "(cached) $ECHO_C" >&6
21502 else
21503 cat >conftest.$ac_ext <<_ACEOF
21504 /* confdefs.h. */
21505 _ACEOF
21506 cat confdefs.h >>conftest.$ac_ext
21507 cat >>conftest.$ac_ext <<_ACEOF
21508 /* end confdefs.h. */
21509 #include <time.h>
21511 main ()
21513 timezone = 1
21515 return 0;
21517 _ACEOF
21518 rm -f conftest.$ac_objext conftest$ac_exeext
21519 if { (ac_try="$ac_link"
21520 case "(($ac_try" in
21521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21522 *) ac_try_echo=$ac_try;;
21523 esac
21524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21525 (eval "$ac_link") 2>conftest.er1
21526 ac_status=$?
21527 grep -v '^ *+' conftest.er1 >conftest.err
21528 rm -f conftest.er1
21529 cat conftest.err >&5
21530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21531 (exit $ac_status); } && {
21532 test -z "$ac_c_werror_flag" ||
21533 test ! -s conftest.err
21534 } && test -s conftest$ac_exeext &&
21535 $as_test_x conftest$ac_exeext; then
21536 ac_cv_have_timezone="yes"
21537 else
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.$ac_ext >&5
21541 ac_cv_have_timezone="no"
21544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21545 conftest$ac_exeext conftest.$ac_ext
21547 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21548 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21549 if test "$ac_cv_have_timezone" = "yes"
21550 then
21552 cat >>confdefs.h <<\_ACEOF
21553 #define HAVE_TIMEZONE 1
21554 _ACEOF
21557 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21558 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21559 if test "${ac_cv_have_daylight+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21561 else
21562 cat >conftest.$ac_ext <<_ACEOF
21563 /* confdefs.h. */
21564 _ACEOF
21565 cat confdefs.h >>conftest.$ac_ext
21566 cat >>conftest.$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21568 #include <time.h>
21570 main ()
21572 daylight = 1
21574 return 0;
21576 _ACEOF
21577 rm -f conftest.$ac_objext conftest$ac_exeext
21578 if { (ac_try="$ac_link"
21579 case "(($ac_try" in
21580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21581 *) ac_try_echo=$ac_try;;
21582 esac
21583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_link") 2>conftest.er1
21585 ac_status=$?
21586 grep -v '^ *+' conftest.er1 >conftest.err
21587 rm -f conftest.er1
21588 cat conftest.err >&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); } && {
21591 test -z "$ac_c_werror_flag" ||
21592 test ! -s conftest.err
21593 } && test -s conftest$ac_exeext &&
21594 $as_test_x conftest$ac_exeext; then
21595 ac_cv_have_daylight="yes"
21596 else
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21600 ac_cv_have_daylight="no"
21603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21604 conftest$ac_exeext conftest.$ac_ext
21606 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21607 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21608 if test "$ac_cv_have_daylight" = "yes"
21609 then
21611 cat >>confdefs.h <<\_ACEOF
21612 #define HAVE_DAYLIGHT 1
21613 _ACEOF
21617 { echo "$as_me:$LINENO: checking for isinf" >&5
21618 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21619 if test "${ac_cv_have_isinf+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21621 else
21622 cat >conftest.$ac_ext <<_ACEOF
21623 /* confdefs.h. */
21624 _ACEOF
21625 cat confdefs.h >>conftest.$ac_ext
21626 cat >>conftest.$ac_ext <<_ACEOF
21627 /* end confdefs.h. */
21628 #include <math.h>
21630 main ()
21632 float f = 0.0; int i=isinf(f)
21634 return 0;
21636 _ACEOF
21637 rm -f conftest.$ac_objext conftest$ac_exeext
21638 if { (ac_try="$ac_link"
21639 case "(($ac_try" in
21640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21641 *) ac_try_echo=$ac_try;;
21642 esac
21643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21644 (eval "$ac_link") 2>conftest.er1
21645 ac_status=$?
21646 grep -v '^ *+' conftest.er1 >conftest.err
21647 rm -f conftest.er1
21648 cat conftest.err >&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } && {
21651 test -z "$ac_c_werror_flag" ||
21652 test ! -s conftest.err
21653 } && test -s conftest$ac_exeext &&
21654 $as_test_x conftest$ac_exeext; then
21655 ac_cv_have_isinf="yes"
21656 else
21657 echo "$as_me: failed program was:" >&5
21658 sed 's/^/| /' conftest.$ac_ext >&5
21660 ac_cv_have_isinf="no"
21663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21664 conftest$ac_exeext conftest.$ac_ext
21666 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21667 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21668 if test "$ac_cv_have_isinf" = "yes"
21669 then
21671 cat >>confdefs.h <<\_ACEOF
21672 #define HAVE_ISINF 1
21673 _ACEOF
21678 case $host_cpu in
21679 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21680 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21681 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21682 echo $ECHO_N "(cached) $ECHO_C" >&6
21683 else
21684 cat >conftest.$ac_ext <<_ACEOF
21685 /* confdefs.h. */
21686 _ACEOF
21687 cat confdefs.h >>conftest.$ac_ext
21688 cat >>conftest.$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21690 #ifndef __i386__
21692 #endif
21693 _ACEOF
21694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21695 $EGREP "yes" >/dev/null 2>&1; then
21696 ac_cv_cpp_def___i386__=yes
21697 else
21698 ac_cv_cpp_def___i386__=no
21700 rm -f conftest*
21703 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21704 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21705 if test $ac_cv_cpp_def___i386__ = yes; then
21706 CFLAGS="$CFLAGS -D__i386__"
21707 LINTFLAGS="$LINTFLAGS -D__i386__"
21710 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21711 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21712 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21713 echo $ECHO_N "(cached) $ECHO_C" >&6
21714 else
21715 cat >conftest.$ac_ext <<_ACEOF
21716 /* confdefs.h. */
21717 _ACEOF
21718 cat confdefs.h >>conftest.$ac_ext
21719 cat >>conftest.$ac_ext <<_ACEOF
21720 /* end confdefs.h. */
21721 #ifndef __x86_64__
21723 #endif
21724 _ACEOF
21725 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21726 $EGREP "yes" >/dev/null 2>&1; then
21727 ac_cv_cpp_def___x86_64__=yes
21728 else
21729 ac_cv_cpp_def___x86_64__=no
21731 rm -f conftest*
21734 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21735 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21736 if test $ac_cv_cpp_def___x86_64__ = yes; then
21737 CFLAGS="$CFLAGS -D__x86_64__"
21738 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21741 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21742 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21743 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21744 echo $ECHO_N "(cached) $ECHO_C" >&6
21745 else
21746 cat >conftest.$ac_ext <<_ACEOF
21747 /* confdefs.h. */
21748 _ACEOF
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 #ifndef __ALPHA__
21754 #endif
21755 _ACEOF
21756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21757 $EGREP "yes" >/dev/null 2>&1; then
21758 ac_cv_cpp_def___ALPHA__=yes
21759 else
21760 ac_cv_cpp_def___ALPHA__=no
21762 rm -f conftest*
21765 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21766 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21767 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21768 CFLAGS="$CFLAGS -D__ALPHA__"
21769 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21772 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21773 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21774 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21775 echo $ECHO_N "(cached) $ECHO_C" >&6
21776 else
21777 cat >conftest.$ac_ext <<_ACEOF
21778 /* confdefs.h. */
21779 _ACEOF
21780 cat confdefs.h >>conftest.$ac_ext
21781 cat >>conftest.$ac_ext <<_ACEOF
21782 /* end confdefs.h. */
21783 #ifndef __sparc__
21785 #endif
21786 _ACEOF
21787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21788 $EGREP "yes" >/dev/null 2>&1; then
21789 ac_cv_cpp_def___sparc__=yes
21790 else
21791 ac_cv_cpp_def___sparc__=no
21793 rm -f conftest*
21796 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21797 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21798 if test $ac_cv_cpp_def___sparc__ = yes; then
21799 CFLAGS="$CFLAGS -D__sparc__"
21800 LINTFLAGS="$LINTFLAGS -D__sparc__"
21803 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21804 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21805 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 else
21808 cat >conftest.$ac_ext <<_ACEOF
21809 /* confdefs.h. */
21810 _ACEOF
21811 cat confdefs.h >>conftest.$ac_ext
21812 cat >>conftest.$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21814 #ifndef __powerpc__
21816 #endif
21817 _ACEOF
21818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21819 $EGREP "yes" >/dev/null 2>&1; then
21820 ac_cv_cpp_def___powerpc__=yes
21821 else
21822 ac_cv_cpp_def___powerpc__=no
21824 rm -f conftest*
21827 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21828 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21829 if test $ac_cv_cpp_def___powerpc__ = yes; then
21830 CFLAGS="$CFLAGS -D__powerpc__"
21831 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21834 esac
21836 case $host_vendor in
21837 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21838 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21839 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21840 echo $ECHO_N "(cached) $ECHO_C" >&6
21841 else
21842 cat >conftest.$ac_ext <<_ACEOF
21843 /* confdefs.h. */
21844 _ACEOF
21845 cat confdefs.h >>conftest.$ac_ext
21846 cat >>conftest.$ac_ext <<_ACEOF
21847 /* end confdefs.h. */
21848 #ifndef __sun__
21850 #endif
21851 _ACEOF
21852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21853 $EGREP "yes" >/dev/null 2>&1; then
21854 ac_cv_cpp_def___sun__=yes
21855 else
21856 ac_cv_cpp_def___sun__=no
21858 rm -f conftest*
21861 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21862 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21863 if test $ac_cv_cpp_def___sun__ = yes; then
21864 CFLAGS="$CFLAGS -D__sun__"
21865 LINTFLAGS="$LINTFLAGS -D__sun__"
21868 esac
21871 DEPENDENCIES="### Dependencies:
21873 .INIT: Makefile
21874 .BEGIN: Makefile
21875 Makefile: dummy
21876 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21878 \$(OBJS): \$(IDL_GEN_HEADERS)
21879 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21880 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21881 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21882 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21888 ac_config_commands="$ac_config_commands include/stamp-h"
21891 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21893 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21895 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21897 ac_config_commands="$ac_config_commands dlls/user32/resources"
21899 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21901 ac_config_commands="$ac_config_commands include/wine"
21904 MAKE_RULES=Make.rules
21907 MAKE_DLL_RULES=dlls/Makedll.rules
21910 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21913 MAKE_TEST_RULES=dlls/Maketest.rules
21916 MAKE_PROG_RULES=programs/Makeprog.rules
21919 ac_config_files="$ac_config_files Make.rules"
21921 ac_config_files="$ac_config_files dlls/Makedll.rules"
21923 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21925 ac_config_files="$ac_config_files dlls/Maketest.rules"
21927 ac_config_files="$ac_config_files programs/Makeprog.rules"
21929 ac_config_files="$ac_config_files Makefile"
21931 ac_config_files="$ac_config_files dlls/Makefile"
21933 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21935 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21937 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21939 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21941 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21943 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21945 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21947 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21949 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21951 ac_config_files="$ac_config_files dlls/appwiz.cpl/Makefile"
21953 ac_config_files="$ac_config_files dlls/atl/Makefile"
21955 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21957 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21959 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21961 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21963 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21965 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21967 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21969 ac_config_files="$ac_config_files dlls/cards/Makefile"
21971 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21973 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21975 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21977 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21979 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21981 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21983 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21985 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21987 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21989 ac_config_files="$ac_config_files dlls/credui/Makefile"
21991 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21993 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21995 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21997 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21999 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
22001 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
22003 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
22005 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
22007 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
22009 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
22011 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
22013 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
22015 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
22017 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
22019 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
22021 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
22023 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
22025 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
22027 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
22029 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
22031 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
22033 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
22035 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
22037 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
22039 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
22041 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
22043 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
22045 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
22047 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
22049 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
22051 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
22053 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
22055 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
22057 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
22059 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
22061 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
22063 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
22065 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
22067 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
22069 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
22071 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
22073 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
22075 ac_config_files="$ac_config_files dlls/devenum/Makefile"
22077 ac_config_files="$ac_config_files dlls/dinput/Makefile"
22079 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
22081 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
22083 ac_config_files="$ac_config_files dlls/dmband/Makefile"
22085 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
22087 ac_config_files="$ac_config_files dlls/dmime/Makefile"
22089 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
22091 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
22093 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
22095 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
22097 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
22099 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
22101 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
22103 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
22105 ac_config_files="$ac_config_files dlls/dplay/Makefile"
22107 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
22109 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
22111 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
22113 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
22115 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
22117 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
22119 ac_config_files="$ac_config_files dlls/dpwsockx/Makefile"
22121 ac_config_files="$ac_config_files dlls/dsound/Makefile"
22123 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
22125 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
22127 ac_config_files="$ac_config_files dlls/dswave/Makefile"
22129 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
22131 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
22133 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
22135 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
22137 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
22139 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
22141 ac_config_files="$ac_config_files dlls/fusion/Makefile"
22143 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
22145 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
22147 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
22149 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
22151 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
22153 ac_config_files="$ac_config_files dlls/glu32/Makefile"
22155 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
22157 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
22159 ac_config_files="$ac_config_files dlls/hal/Makefile"
22161 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
22163 ac_config_files="$ac_config_files dlls/hid/Makefile"
22165 ac_config_files="$ac_config_files dlls/hlink/Makefile"
22167 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
22169 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
22171 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
22173 ac_config_files="$ac_config_files dlls/icmp/Makefile"
22175 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
22177 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
22179 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
22181 ac_config_files="$ac_config_files dlls/imm32/Makefile"
22183 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
22185 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
22187 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
22189 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
22191 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
22193 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
22195 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
22197 ac_config_files="$ac_config_files dlls/initpki/Makefile"
22199 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
22201 ac_config_files="$ac_config_files dlls/inseng/Makefile"
22203 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
22205 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
22207 ac_config_files="$ac_config_files dlls/itircl/Makefile"
22209 ac_config_files="$ac_config_files dlls/itss/Makefile"
22211 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
22213 ac_config_files="$ac_config_files dlls/jscript/Makefile"
22215 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
22217 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
22219 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
22221 ac_config_files="$ac_config_files dlls/localspl/Makefile"
22223 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
22225 ac_config_files="$ac_config_files dlls/localui/Makefile"
22227 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
22229 ac_config_files="$ac_config_files dlls/lz32/Makefile"
22231 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
22233 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
22235 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
22237 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
22239 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
22241 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
22243 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
22245 ac_config_files="$ac_config_files dlls/midimap/Makefile"
22247 ac_config_files="$ac_config_files dlls/mlang/Makefile"
22249 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
22251 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
22253 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
22255 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
22257 ac_config_files="$ac_config_files dlls/mpr/Makefile"
22259 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
22261 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
22263 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
22265 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
22267 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
22269 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
22271 ac_config_files="$ac_config_files dlls/mscms/Makefile"
22273 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
22275 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
22277 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
22279 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
22281 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
22283 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
22285 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
22287 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
22289 ac_config_files="$ac_config_files dlls/msi/Makefile"
22291 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
22293 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
22295 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
22297 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
22299 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
22301 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
22303 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
22305 ac_config_files="$ac_config_files dlls/mstask/Makefile"
22307 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
22309 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
22311 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
22313 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
22315 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
22317 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
22319 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
22321 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
22323 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
22325 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
22327 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
22329 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
22331 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
22333 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
22335 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
22337 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
22339 ac_config_files="$ac_config_files dlls/newdev/Makefile"
22341 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
22343 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
22345 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
22347 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
22349 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
22351 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
22353 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
22355 ac_config_files="$ac_config_files dlls/objsel/Makefile"
22357 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
22359 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
22361 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
22363 ac_config_files="$ac_config_files dlls/ole32/Makefile"
22365 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
22367 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
22369 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
22371 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
22373 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
22375 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
22377 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
22379 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
22381 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
22383 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22385 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22387 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22389 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22391 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22393 ac_config_files="$ac_config_files dlls/printui/Makefile"
22395 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22397 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22399 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22401 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22403 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22405 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22407 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22409 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22411 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22413 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22415 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22417 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22419 ac_config_files="$ac_config_files dlls/query/Makefile"
22421 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22423 ac_config_files="$ac_config_files dlls/rasapi32/tests/Makefile"
22425 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22427 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22429 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22431 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22433 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22435 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22437 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22439 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22441 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22443 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22445 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22447 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22449 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22451 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22453 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22455 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22457 ac_config_files="$ac_config_files dlls/security/Makefile"
22459 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22461 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22463 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22465 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22467 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22469 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22471 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22473 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22475 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22477 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22479 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22481 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22483 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22485 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22487 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22489 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22491 ac_config_files="$ac_config_files dlls/slc/Makefile"
22493 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22495 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22497 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22499 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22501 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22503 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22505 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22507 ac_config_files="$ac_config_files dlls/sti/Makefile"
22509 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22511 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22513 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22515 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22517 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22519 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22521 ac_config_files="$ac_config_files dlls/url/Makefile"
22523 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22525 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22527 ac_config_files="$ac_config_files dlls/user32/Makefile"
22529 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22531 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22533 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22535 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22537 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22539 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22541 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22543 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22545 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22547 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22549 ac_config_files="$ac_config_files dlls/version/Makefile"
22551 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22553 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22555 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22557 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22559 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22561 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22563 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22565 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22567 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22569 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22571 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22573 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22575 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22577 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22579 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22581 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22583 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22585 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22587 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22589 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22591 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22593 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22595 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22597 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22599 ac_config_files="$ac_config_files dlls/winhttp/tests/Makefile"
22601 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22603 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22605 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22607 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22609 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22611 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22613 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22615 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22617 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22619 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22621 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22623 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22625 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22627 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22629 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22631 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22633 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22635 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22637 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22639 ac_config_files="$ac_config_files documentation/Makefile"
22641 ac_config_files="$ac_config_files fonts/Makefile"
22643 ac_config_files="$ac_config_files include/Makefile"
22645 ac_config_files="$ac_config_files libs/Makefile"
22647 ac_config_files="$ac_config_files libs/port/Makefile"
22649 ac_config_files="$ac_config_files libs/wine/Makefile"
22651 ac_config_files="$ac_config_files libs/wpp/Makefile"
22653 ac_config_files="$ac_config_files loader/Makefile"
22655 ac_config_files="$ac_config_files programs/Makefile"
22657 ac_config_files="$ac_config_files programs/clock/Makefile"
22659 ac_config_files="$ac_config_files programs/cmd/Makefile"
22661 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22663 ac_config_files="$ac_config_files programs/control/Makefile"
22665 ac_config_files="$ac_config_files programs/eject/Makefile"
22667 ac_config_files="$ac_config_files programs/expand/Makefile"
22669 ac_config_files="$ac_config_files programs/explorer/Makefile"
22671 ac_config_files="$ac_config_files programs/hh/Makefile"
22673 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22675 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22677 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22679 ac_config_files="$ac_config_files programs/net/Makefile"
22681 ac_config_files="$ac_config_files programs/notepad/Makefile"
22683 ac_config_files="$ac_config_files programs/oleview/Makefile"
22685 ac_config_files="$ac_config_files programs/progman/Makefile"
22687 ac_config_files="$ac_config_files programs/reg/Makefile"
22689 ac_config_files="$ac_config_files programs/regedit/Makefile"
22691 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22693 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22695 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22697 ac_config_files="$ac_config_files programs/secedit/Makefile"
22699 ac_config_files="$ac_config_files programs/services/Makefile"
22701 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22703 ac_config_files="$ac_config_files programs/start/Makefile"
22705 ac_config_files="$ac_config_files programs/svchost/Makefile"
22707 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22709 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22711 ac_config_files="$ac_config_files programs/view/Makefile"
22713 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22715 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22717 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22719 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22721 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22723 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22725 ac_config_files="$ac_config_files programs/winefile/Makefile"
22727 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22729 ac_config_files="$ac_config_files programs/winemine/Makefile"
22731 ac_config_files="$ac_config_files programs/winepath/Makefile"
22733 ac_config_files="$ac_config_files programs/winetest/Makefile"
22735 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22737 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22739 ac_config_files="$ac_config_files programs/winver/Makefile"
22741 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22743 ac_config_files="$ac_config_files programs/write/Makefile"
22745 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22747 ac_config_files="$ac_config_files server/Makefile"
22749 ac_config_files="$ac_config_files tools/Makefile"
22751 ac_config_files="$ac_config_files tools/widl/Makefile"
22753 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22755 ac_config_files="$ac_config_files tools/winedump/Makefile"
22757 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22759 ac_config_files="$ac_config_files tools/wmc/Makefile"
22761 ac_config_files="$ac_config_files tools/wrc/Makefile"
22764 cat >confcache <<\_ACEOF
22765 # This file is a shell script that caches the results of configure
22766 # tests run on this system so they can be shared between configure
22767 # scripts and configure runs, see configure's option --config-cache.
22768 # It is not useful on other systems. If it contains results you don't
22769 # want to keep, you may remove or edit it.
22771 # config.status only pays attention to the cache file if you give it
22772 # the --recheck option to rerun configure.
22774 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22775 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22776 # following values.
22778 _ACEOF
22780 # The following way of writing the cache mishandles newlines in values,
22781 # but we know of no workaround that is simple, portable, and efficient.
22782 # So, we kill variables containing newlines.
22783 # Ultrix sh set writes to stderr and can't be redirected directly,
22784 # and sets the high bit in the cache file unless we assign to the vars.
22786 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22787 eval ac_val=\$$ac_var
22788 case $ac_val in #(
22789 *${as_nl}*)
22790 case $ac_var in #(
22791 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22792 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22793 esac
22794 case $ac_var in #(
22795 _ | IFS | as_nl) ;; #(
22796 *) $as_unset $ac_var ;;
22797 esac ;;
22798 esac
22799 done
22801 (set) 2>&1 |
22802 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22803 *${as_nl}ac_space=\ *)
22804 # `set' does not quote correctly, so add quotes (double-quote
22805 # substitution turns \\\\ into \\, and sed turns \\ into \).
22806 sed -n \
22807 "s/'/'\\\\''/g;
22808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22809 ;; #(
22811 # `set' quotes correctly as required by POSIX, so do not add quotes.
22812 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22814 esac |
22815 sort
22817 sed '
22818 /^ac_cv_env_/b end
22819 t clear
22820 :clear
22821 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22822 t end
22823 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22824 :end' >>confcache
22825 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22826 if test -w "$cache_file"; then
22827 test "x$cache_file" != "x/dev/null" &&
22828 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22829 echo "$as_me: updating cache $cache_file" >&6;}
22830 cat confcache >$cache_file
22831 else
22832 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22833 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22836 rm -f confcache
22838 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22839 # Let make expand exec_prefix.
22840 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22842 DEFS=-DHAVE_CONFIG_H
22844 ac_libobjs=
22845 ac_ltlibobjs=
22846 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22847 # 1. Remove the extension, and $U if already installed.
22848 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22849 ac_i=`echo "$ac_i" | sed "$ac_script"`
22850 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22851 # will be set to the directory where LIBOBJS objects are built.
22852 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22853 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22854 done
22855 LIBOBJS=$ac_libobjs
22857 LTLIBOBJS=$ac_ltlibobjs
22861 : ${CONFIG_STATUS=./config.status}
22862 ac_clean_files_save=$ac_clean_files
22863 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22864 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22865 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22866 cat >$CONFIG_STATUS <<_ACEOF
22867 #! $SHELL
22868 # Generated by $as_me.
22869 # Run this file to recreate the current configuration.
22870 # Compiler output produced by configure, useful for debugging
22871 # configure, is in config.log if it exists.
22873 debug=false
22874 ac_cs_recheck=false
22875 ac_cs_silent=false
22876 SHELL=\${CONFIG_SHELL-$SHELL}
22877 _ACEOF
22879 cat >>$CONFIG_STATUS <<\_ACEOF
22880 ## --------------------- ##
22881 ## M4sh Initialization. ##
22882 ## --------------------- ##
22884 # Be more Bourne compatible
22885 DUALCASE=1; export DUALCASE # for MKS sh
22886 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22887 emulate sh
22888 NULLCMD=:
22889 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22890 # is contrary to our usage. Disable this feature.
22891 alias -g '${1+"$@"}'='"$@"'
22892 setopt NO_GLOB_SUBST
22893 else
22894 case `(set -o) 2>/dev/null` in
22895 *posix*) set -o posix ;;
22896 esac
22903 # PATH needs CR
22904 # Avoid depending upon Character Ranges.
22905 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22906 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22907 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22908 as_cr_digits='0123456789'
22909 as_cr_alnum=$as_cr_Letters$as_cr_digits
22911 # The user is always right.
22912 if test "${PATH_SEPARATOR+set}" != set; then
22913 echo "#! /bin/sh" >conf$$.sh
22914 echo "exit 0" >>conf$$.sh
22915 chmod +x conf$$.sh
22916 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22917 PATH_SEPARATOR=';'
22918 else
22919 PATH_SEPARATOR=:
22921 rm -f conf$$.sh
22924 # Support unset when possible.
22925 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22926 as_unset=unset
22927 else
22928 as_unset=false
22932 # IFS
22933 # We need space, tab and new line, in precisely that order. Quoting is
22934 # there to prevent editors from complaining about space-tab.
22935 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22936 # splitting by setting IFS to empty value.)
22937 as_nl='
22939 IFS=" "" $as_nl"
22941 # Find who we are. Look in the path if we contain no directory separator.
22942 case $0 in
22943 *[\\/]* ) as_myself=$0 ;;
22944 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22945 for as_dir in $PATH
22947 IFS=$as_save_IFS
22948 test -z "$as_dir" && as_dir=.
22949 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22950 done
22951 IFS=$as_save_IFS
22954 esac
22955 # We did not find ourselves, most probably we were run as `sh COMMAND'
22956 # in which case we are not to be found in the path.
22957 if test "x$as_myself" = x; then
22958 as_myself=$0
22960 if test ! -f "$as_myself"; then
22961 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22962 { (exit 1); exit 1; }
22965 # Work around bugs in pre-3.0 UWIN ksh.
22966 for as_var in ENV MAIL MAILPATH
22967 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22968 done
22969 PS1='$ '
22970 PS2='> '
22971 PS4='+ '
22973 # NLS nuisances.
22974 for as_var in \
22975 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22976 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22977 LC_TELEPHONE LC_TIME
22979 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22980 eval $as_var=C; export $as_var
22981 else
22982 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22984 done
22986 # Required to use basename.
22987 if expr a : '\(a\)' >/dev/null 2>&1 &&
22988 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22989 as_expr=expr
22990 else
22991 as_expr=false
22994 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22995 as_basename=basename
22996 else
22997 as_basename=false
23001 # Name of the executable.
23002 as_me=`$as_basename -- "$0" ||
23003 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23004 X"$0" : 'X\(//\)$' \| \
23005 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23006 echo X/"$0" |
23007 sed '/^.*\/\([^/][^/]*\)\/*$/{
23008 s//\1/
23011 /^X\/\(\/\/\)$/{
23012 s//\1/
23015 /^X\/\(\/\).*/{
23016 s//\1/
23019 s/.*/./; q'`
23021 # CDPATH.
23022 $as_unset CDPATH
23026 as_lineno_1=$LINENO
23027 as_lineno_2=$LINENO
23028 test "x$as_lineno_1" != "x$as_lineno_2" &&
23029 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23031 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23032 # uniformly replaced by the line number. The first 'sed' inserts a
23033 # line-number line after each line using $LINENO; the second 'sed'
23034 # does the real work. The second script uses 'N' to pair each
23035 # line-number line with the line containing $LINENO, and appends
23036 # trailing '-' during substitution so that $LINENO is not a special
23037 # case at line end.
23038 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23039 # scripts with optimization help from Paolo Bonzini. Blame Lee
23040 # E. McMahon (1931-1989) for sed's syntax. :-)
23041 sed -n '
23043 /[$]LINENO/=
23044 ' <$as_myself |
23045 sed '
23046 s/[$]LINENO.*/&-/
23047 t lineno
23049 :lineno
23051 :loop
23052 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23053 t loop
23054 s/-\n.*//
23055 ' >$as_me.lineno &&
23056 chmod +x "$as_me.lineno" ||
23057 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23058 { (exit 1); exit 1; }; }
23060 # Don't try to exec as it changes $[0], causing all sort of problems
23061 # (the dirname of $[0] is not the place where we might find the
23062 # original and so on. Autoconf is especially sensitive to this).
23063 . "./$as_me.lineno"
23064 # Exit status is that of the last command.
23065 exit
23069 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23070 as_dirname=dirname
23071 else
23072 as_dirname=false
23075 ECHO_C= ECHO_N= ECHO_T=
23076 case `echo -n x` in
23077 -n*)
23078 case `echo 'x\c'` in
23079 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
23080 *) ECHO_C='\c';;
23081 esac;;
23083 ECHO_N='-n';;
23084 esac
23086 if expr a : '\(a\)' >/dev/null 2>&1 &&
23087 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23088 as_expr=expr
23089 else
23090 as_expr=false
23093 rm -f conf$$ conf$$.exe conf$$.file
23094 if test -d conf$$.dir; then
23095 rm -f conf$$.dir/conf$$.file
23096 else
23097 rm -f conf$$.dir
23098 mkdir conf$$.dir
23100 echo >conf$$.file
23101 if ln -s conf$$.file conf$$ 2>/dev/null; then
23102 as_ln_s='ln -s'
23103 # ... but there are two gotchas:
23104 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23105 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23106 # In both cases, we have to default to `cp -p'.
23107 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
23108 as_ln_s='cp -p'
23109 elif ln conf$$.file conf$$ 2>/dev/null; then
23110 as_ln_s=ln
23111 else
23112 as_ln_s='cp -p'
23114 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23115 rmdir conf$$.dir 2>/dev/null
23117 if mkdir -p . 2>/dev/null; then
23118 as_mkdir_p=:
23119 else
23120 test -d ./-p && rmdir ./-p
23121 as_mkdir_p=false
23124 if test -x / >/dev/null 2>&1; then
23125 as_test_x='test -x'
23126 else
23127 if ls -dL / >/dev/null 2>&1; then
23128 as_ls_L_option=L
23129 else
23130 as_ls_L_option=
23132 as_test_x='
23133 eval sh -c '\''
23134 if test -d "$1"; then
23135 test -d "$1/.";
23136 else
23137 case $1 in
23138 -*)set "./$1";;
23139 esac;
23140 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23141 ???[sx]*):;;*)false;;esac;fi
23142 '\'' sh
23145 as_executable_p=$as_test_x
23147 # Sed expression to map a string onto a valid CPP name.
23148 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23150 # Sed expression to map a string onto a valid variable name.
23151 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23154 exec 6>&1
23156 # Save the log message, to keep $[0] and so on meaningful, and to
23157 # report actual input values of CONFIG_FILES etc. instead of their
23158 # values after options handling.
23159 ac_log="
23160 This file was extended by Wine $as_me 1.1.2, which was
23161 generated by GNU Autoconf 2.61. Invocation command line was
23163 CONFIG_FILES = $CONFIG_FILES
23164 CONFIG_HEADERS = $CONFIG_HEADERS
23165 CONFIG_LINKS = $CONFIG_LINKS
23166 CONFIG_COMMANDS = $CONFIG_COMMANDS
23167 $ $0 $@
23169 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23172 _ACEOF
23174 cat >>$CONFIG_STATUS <<_ACEOF
23175 # Files that config.status was made for.
23176 config_files="$ac_config_files"
23177 config_headers="$ac_config_headers"
23178 config_commands="$ac_config_commands"
23180 _ACEOF
23182 cat >>$CONFIG_STATUS <<\_ACEOF
23183 ac_cs_usage="\
23184 \`$as_me' instantiates files from templates according to the
23185 current configuration.
23187 Usage: $0 [OPTIONS] [FILE]...
23189 -h, --help print this help, then exit
23190 -V, --version print version number and configuration settings, then exit
23191 -q, --quiet do not print progress messages
23192 -d, --debug don't remove temporary files
23193 --recheck update $as_me by reconfiguring in the same conditions
23194 --file=FILE[:TEMPLATE]
23195 instantiate the configuration file FILE
23196 --header=FILE[:TEMPLATE]
23197 instantiate the configuration header FILE
23199 Configuration files:
23200 $config_files
23202 Configuration headers:
23203 $config_headers
23205 Configuration commands:
23206 $config_commands
23208 Report bugs to <bug-autoconf@gnu.org>."
23210 _ACEOF
23211 cat >>$CONFIG_STATUS <<_ACEOF
23212 ac_cs_version="\\
23213 Wine config.status 1.1.2
23214 configured by $0, generated by GNU Autoconf 2.61,
23215 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23217 Copyright (C) 2006 Free Software Foundation, Inc.
23218 This config.status script is free software; the Free Software Foundation
23219 gives unlimited permission to copy, distribute and modify it."
23221 ac_pwd='$ac_pwd'
23222 srcdir='$srcdir'
23223 INSTALL='$INSTALL'
23224 _ACEOF
23226 cat >>$CONFIG_STATUS <<\_ACEOF
23227 # If no file are specified by the user, then we need to provide default
23228 # value. By we need to know if files were specified by the user.
23229 ac_need_defaults=:
23230 while test $# != 0
23232 case $1 in
23233 --*=*)
23234 ac_option=`expr "X$1" : 'X\([^=]*\)='`
23235 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23236 ac_shift=:
23239 ac_option=$1
23240 ac_optarg=$2
23241 ac_shift=shift
23243 esac
23245 case $ac_option in
23246 # Handling of the options.
23247 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23248 ac_cs_recheck=: ;;
23249 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
23250 echo "$ac_cs_version"; exit ;;
23251 --debug | --debu | --deb | --de | --d | -d )
23252 debug=: ;;
23253 --file | --fil | --fi | --f )
23254 $ac_shift
23255 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23256 ac_need_defaults=false;;
23257 --header | --heade | --head | --hea )
23258 $ac_shift
23259 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23260 ac_need_defaults=false;;
23261 --he | --h)
23262 # Conflict between --help and --header
23263 { echo "$as_me: error: ambiguous option: $1
23264 Try \`$0 --help' for more information." >&2
23265 { (exit 1); exit 1; }; };;
23266 --help | --hel | -h )
23267 echo "$ac_cs_usage"; exit ;;
23268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23269 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23270 ac_cs_silent=: ;;
23272 # This is an error.
23273 -*) { echo "$as_me: error: unrecognized option: $1
23274 Try \`$0 --help' for more information." >&2
23275 { (exit 1); exit 1; }; } ;;
23277 *) ac_config_targets="$ac_config_targets $1"
23278 ac_need_defaults=false ;;
23280 esac
23281 shift
23282 done
23284 ac_configure_extra_args=
23286 if $ac_cs_silent; then
23287 exec 6>/dev/null
23288 ac_configure_extra_args="$ac_configure_extra_args --silent"
23291 _ACEOF
23292 cat >>$CONFIG_STATUS <<_ACEOF
23293 if \$ac_cs_recheck; then
23294 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23295 CONFIG_SHELL=$SHELL
23296 export CONFIG_SHELL
23297 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23300 _ACEOF
23301 cat >>$CONFIG_STATUS <<\_ACEOF
23302 exec 5>>config.log
23304 echo
23305 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23306 ## Running $as_me. ##
23307 _ASBOX
23308 echo "$ac_log"
23309 } >&5
23311 _ACEOF
23312 cat >>$CONFIG_STATUS <<_ACEOF
23313 _ACEOF
23315 cat >>$CONFIG_STATUS <<\_ACEOF
23317 # Handling of arguments.
23318 for ac_config_target in $ac_config_targets
23320 case $ac_config_target in
23321 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23322 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23323 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
23324 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
23325 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
23326 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
23327 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
23328 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
23329 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
23330 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
23331 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
23332 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
23333 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
23334 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23335 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
23336 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
23337 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
23338 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
23339 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
23340 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
23341 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
23342 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
23343 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
23344 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
23345 "dlls/appwiz.cpl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/appwiz.cpl/Makefile" ;;
23346 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
23347 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
23348 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
23349 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
23350 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
23351 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
23352 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
23353 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
23354 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
23355 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
23356 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
23357 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
23358 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
23359 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
23360 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
23361 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
23362 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
23363 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
23364 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
23365 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
23366 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
23367 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
23368 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
23369 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
23370 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
23371 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
23372 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
23373 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
23374 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
23375 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
23376 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
23377 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
23378 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
23379 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
23380 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
23381 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
23382 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
23383 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
23384 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
23385 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
23386 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
23387 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
23388 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
23389 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23390 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23391 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23392 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23393 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23394 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23395 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23396 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23397 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23398 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23399 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23400 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23401 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23402 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23403 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23404 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23405 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23406 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23407 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23408 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23409 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23410 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23411 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23412 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23413 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23414 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23415 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23416 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23417 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23418 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23419 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23420 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23421 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23422 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23423 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23424 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23425 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23426 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23427 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23428 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23429 "dlls/dpwsockx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpwsockx/Makefile" ;;
23430 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23431 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23432 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23433 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23434 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23435 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23436 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23437 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23438 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23439 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23440 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23441 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23442 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23443 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23444 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23445 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23446 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23447 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23448 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23449 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23450 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23451 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23452 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23453 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23454 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23455 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23456 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23457 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23458 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23459 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23460 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23461 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23462 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23463 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23464 "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23465 "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23466 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23467 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23468 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23469 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23470 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23471 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23472 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23473 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23474 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23475 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23476 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23477 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23478 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23479 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23480 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23481 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23482 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23483 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23484 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23485 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23486 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23487 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23488 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23489 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23490 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23491 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23492 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23493 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23494 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23495 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23496 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23497 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23498 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23499 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23500 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23501 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23502 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23503 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23504 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23505 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23506 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23507 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23508 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23509 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23510 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23511 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23512 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23513 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23514 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23515 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23516 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23517 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23518 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23519 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23520 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23521 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23522 "dlls/mstask/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/Makefile" ;;
23523 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23524 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23525 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23526 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23527 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23528 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23529 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23530 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23531 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23532 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23533 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23534 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23535 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23536 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23537 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23538 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23539 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23540 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23541 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23542 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23543 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23544 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23545 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23546 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23547 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23548 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23549 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23550 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23551 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23552 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23553 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23554 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23555 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23556 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23557 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23558 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23559 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23560 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23561 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23562 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23563 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23564 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23565 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23566 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23567 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23568 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23569 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23570 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23571 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23572 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23573 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23574 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23575 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23576 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23577 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23578 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23579 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23580 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23581 "dlls/rasapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/tests/Makefile" ;;
23582 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23583 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23584 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23585 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23586 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23587 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23588 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23589 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23590 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23591 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23592 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23593 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23594 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23595 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23596 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23597 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23598 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23599 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23600 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23601 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23602 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23603 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23604 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23605 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23606 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23607 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23608 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23609 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23610 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23611 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23612 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23613 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23614 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23615 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23616 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23617 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23618 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23619 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23620 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23621 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23622 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23623 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23624 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23625 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23626 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23627 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23628 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23629 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23630 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23631 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23632 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23633 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23634 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23635 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23636 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23637 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23638 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23639 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23640 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23641 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23642 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23643 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23644 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23645 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23646 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23647 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23648 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23649 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23650 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23651 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23652 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23653 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23654 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23655 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23656 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23657 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23658 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23659 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23660 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23661 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23662 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23663 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23664 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23665 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23666 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23667 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23668 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23669 "dlls/winhttp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/tests/Makefile" ;;
23670 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23671 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23672 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23673 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23674 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23675 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23676 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23677 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23678 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23679 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23680 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23681 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23682 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23683 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23684 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23685 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23686 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23687 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23688 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23689 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23690 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23691 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23692 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23693 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23694 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23695 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23696 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23697 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23698 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23699 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23700 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23701 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23702 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23703 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23704 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23705 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23706 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23707 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23708 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23709 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23710 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23711 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23712 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23713 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23714 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23715 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23716 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23717 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23718 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23719 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23720 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23721 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23722 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23723 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23724 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23725 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23726 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23727 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23728 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23729 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23730 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23731 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23732 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23733 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23734 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23735 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23736 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23737 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23738 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23739 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23740 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23741 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23742 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23743 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23744 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23745 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23746 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23747 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23748 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23749 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23750 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23752 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23753 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23754 { (exit 1); exit 1; }; };;
23755 esac
23756 done
23759 # If the user did not use the arguments to specify the items to instantiate,
23760 # then the envvar interface is used. Set only those that are not.
23761 # We use the long form for the default assignment because of an extremely
23762 # bizarre bug on SunOS 4.1.3.
23763 if $ac_need_defaults; then
23764 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23765 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23766 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23769 # Have a temporary directory for convenience. Make it in the build tree
23770 # simply because there is no reason against having it here, and in addition,
23771 # creating and moving files from /tmp can sometimes cause problems.
23772 # Hook for its removal unless debugging.
23773 # Note that there is a small window in which the directory will not be cleaned:
23774 # after its creation but before its name has been assigned to `$tmp'.
23775 $debug ||
23777 tmp=
23778 trap 'exit_status=$?
23779 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23781 trap '{ (exit 1); exit 1; }' 1 2 13 15
23783 # Create a (secure) tmp directory for tmp files.
23786 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23787 test -n "$tmp" && test -d "$tmp"
23788 } ||
23790 tmp=./conf$$-$RANDOM
23791 (umask 077 && mkdir "$tmp")
23792 } ||
23794 echo "$me: cannot create a temporary directory in ." >&2
23795 { (exit 1); exit 1; }
23799 # Set up the sed scripts for CONFIG_FILES section.
23802 # No need to generate the scripts if there are no CONFIG_FILES.
23803 # This happens for instance when ./config.status config.h
23804 if test -n "$CONFIG_FILES"; then
23806 _ACEOF
23808 # Create sed commands to just substitute file output variables.
23810 # Remaining file output variables are in a fragment that also has non-file
23811 # output varibles.
23815 ac_delim='%!_!# '
23816 for ac_last_try in false false false false false :; do
23817 cat >conf$$subs.sed <<_ACEOF
23818 SHELL!$SHELL$ac_delim
23819 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23820 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23821 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23822 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23823 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23824 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23825 exec_prefix!$exec_prefix$ac_delim
23826 prefix!$prefix$ac_delim
23827 program_transform_name!$program_transform_name$ac_delim
23828 bindir!$bindir$ac_delim
23829 sbindir!$sbindir$ac_delim
23830 libexecdir!$libexecdir$ac_delim
23831 datarootdir!$datarootdir$ac_delim
23832 datadir!$datadir$ac_delim
23833 sysconfdir!$sysconfdir$ac_delim
23834 sharedstatedir!$sharedstatedir$ac_delim
23835 localstatedir!$localstatedir$ac_delim
23836 includedir!$includedir$ac_delim
23837 oldincludedir!$oldincludedir$ac_delim
23838 docdir!$docdir$ac_delim
23839 infodir!$infodir$ac_delim
23840 htmldir!$htmldir$ac_delim
23841 dvidir!$dvidir$ac_delim
23842 pdfdir!$pdfdir$ac_delim
23843 psdir!$psdir$ac_delim
23844 libdir!$libdir$ac_delim
23845 localedir!$localedir$ac_delim
23846 mandir!$mandir$ac_delim
23847 DEFS!$DEFS$ac_delim
23848 ECHO_C!$ECHO_C$ac_delim
23849 ECHO_N!$ECHO_N$ac_delim
23850 ECHO_T!$ECHO_T$ac_delim
23851 LIBS!$LIBS$ac_delim
23852 build_alias!$build_alias$ac_delim
23853 host_alias!$host_alias$ac_delim
23854 target_alias!$target_alias$ac_delim
23855 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23856 build!$build$ac_delim
23857 build_cpu!$build_cpu$ac_delim
23858 build_vendor!$build_vendor$ac_delim
23859 build_os!$build_os$ac_delim
23860 host!$host$ac_delim
23861 host_cpu!$host_cpu$ac_delim
23862 host_vendor!$host_vendor$ac_delim
23863 host_os!$host_os$ac_delim
23864 WIN16_FILES!$WIN16_FILES$ac_delim
23865 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23866 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23867 WINETEST!$WINETEST$ac_delim
23868 SET_MAKE!$SET_MAKE$ac_delim
23869 CC!$CC$ac_delim
23870 CFLAGS!$CFLAGS$ac_delim
23871 LDFLAGS!$LDFLAGS$ac_delim
23872 CPPFLAGS!$CPPFLAGS$ac_delim
23873 ac_ct_CC!$ac_ct_CC$ac_delim
23874 EXEEXT!$EXEEXT$ac_delim
23875 OBJEXT!$OBJEXT$ac_delim
23876 CXX!$CXX$ac_delim
23877 CXXFLAGS!$CXXFLAGS$ac_delim
23878 ac_ct_CXX!$ac_ct_CXX$ac_delim
23879 CPPBIN!$CPPBIN$ac_delim
23880 TOOLSDIR!$TOOLSDIR$ac_delim
23881 XMKMF!$XMKMF$ac_delim
23882 CPP!$CPP$ac_delim
23883 X_CFLAGS!$X_CFLAGS$ac_delim
23884 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23885 X_LIBS!$X_LIBS$ac_delim
23886 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23887 FLEX!$FLEX$ac_delim
23888 BISON!$BISON$ac_delim
23889 AS!$AS$ac_delim
23890 ac_ct_AS!$ac_ct_AS$ac_delim
23891 LD!$LD$ac_delim
23892 ac_ct_LD!$ac_ct_LD$ac_delim
23893 NM!$NM$ac_delim
23894 ac_ct_NM!$ac_ct_NM$ac_delim
23895 AR!$AR$ac_delim
23896 ac_ct_AR!$ac_ct_AR$ac_delim
23897 ARFLAGS!$ARFLAGS$ac_delim
23898 RANLIB!$RANLIB$ac_delim
23899 STRIP!$STRIP$ac_delim
23900 _ACEOF
23902 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23903 break
23904 elif $ac_last_try; then
23905 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23906 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23907 { (exit 1); exit 1; }; }
23908 else
23909 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23911 done
23913 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23914 if test -n "$ac_eof"; then
23915 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23916 ac_eof=`expr $ac_eof + 1`
23919 cat >>$CONFIG_STATUS <<_ACEOF
23920 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23921 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23922 /^[ ]*@MAKE_RULES@[ ]*$/{
23923 r $MAKE_RULES
23926 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23927 r $MAKE_DLL_RULES
23930 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23931 r $MAKE_IMPLIB_RULES
23934 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23935 r $MAKE_TEST_RULES
23938 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23939 r $MAKE_PROG_RULES
23942 _ACEOF
23943 sed '
23944 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23945 s/^/s,@/; s/!/@,|#_!!_#|/
23948 s/'"$ac_delim"'$/,g/; t
23949 s/$/\\/; p
23950 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23951 ' >>$CONFIG_STATUS <conf$$subs.sed
23952 rm -f conf$$subs.sed
23953 cat >>$CONFIG_STATUS <<_ACEOF
23954 CEOF$ac_eof
23955 _ACEOF
23958 ac_delim='%!_!# '
23959 for ac_last_try in false false false false false :; do
23960 cat >conf$$subs.sed <<_ACEOF
23961 WINDRES!$WINDRES$ac_delim
23962 LN_S!$LN_S$ac_delim
23963 LN!$LN$ac_delim
23964 GREP!$GREP$ac_delim
23965 EGREP!$EGREP$ac_delim
23966 LDCONFIG!$LDCONFIG$ac_delim
23967 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23968 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23969 INSTALL_DATA!$INSTALL_DATA$ac_delim
23970 LINT!$LINT$ac_delim
23971 LINTFLAGS!$LINTFLAGS$ac_delim
23972 FONTFORGE!$FONTFORGE$ac_delim
23973 PKG_CONFIG!$PKG_CONFIG$ac_delim
23974 RSVG!$RSVG$ac_delim
23975 ICOTOOL!$ICOTOOL$ac_delim
23976 PRELINK!$PRELINK$ac_delim
23977 LIBPTHREAD!$LIBPTHREAD$ac_delim
23978 XLIB!$XLIB$ac_delim
23979 XFILES!$XFILES$ac_delim
23980 OPENGLFILES!$OPENGLFILES$ac_delim
23981 GLU32FILES!$GLU32FILES$ac_delim
23982 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23983 QUARTZFILES!$QUARTZFILES$ac_delim
23984 DLLEXT!$DLLEXT$ac_delim
23985 DLLFLAGS!$DLLFLAGS$ac_delim
23986 LDSHARED!$LDSHARED$ac_delim
23987 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23988 LIBEXT!$LIBEXT$ac_delim
23989 IMPLIBEXT!$IMPLIBEXT$ac_delim
23990 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23991 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23992 LDD!$LDD$ac_delim
23993 DLLTOOL!$DLLTOOL$ac_delim
23994 DLLWRAP!$DLLWRAP$ac_delim
23995 MINGWAR!$MINGWAR$ac_delim
23996 SECURITYLIB!$SECURITYLIB$ac_delim
23997 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23998 IOKITLIB!$IOKITLIB$ac_delim
23999 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24000 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24001 COREAUDIO!$COREAUDIO$ac_delim
24002 CARBONLIB!$CARBONLIB$ac_delim
24003 CROSSTEST!$CROSSTEST$ac_delim
24004 CROSSCC!$CROSSCC$ac_delim
24005 CROSSWINDRES!$CROSSWINDRES$ac_delim
24006 NASLIBS!$NASLIBS$ac_delim
24007 XML2LIBS!$XML2LIBS$ac_delim
24008 XML2INCL!$XML2INCL$ac_delim
24009 XSLTLIBS!$XSLTLIBS$ac_delim
24010 XSLTINCL!$XSLTINCL$ac_delim
24011 HALINCL!$HALINCL$ac_delim
24012 sane_devel!$sane_devel$ac_delim
24013 SANEINCL!$SANEINCL$ac_delim
24014 gphoto2_devel!$gphoto2_devel$ac_delim
24015 gphoto2port_devel!$gphoto2port_devel$ac_delim
24016 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24017 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24018 RESOLVLIBS!$RESOLVLIBS$ac_delim
24019 LCMSLIBS!$LCMSLIBS$ac_delim
24020 ft_devel!$ft_devel$ac_delim
24021 FREETYPELIBS!$FREETYPELIBS$ac_delim
24022 FREETYPEINCL!$FREETYPEINCL$ac_delim
24023 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24024 ESDCONFIG!$ESDCONFIG$ac_delim
24025 ESDINCL!$ESDINCL$ac_delim
24026 ESDLIBS!$ESDLIBS$ac_delim
24027 ALSALIBS!$ALSALIBS$ac_delim
24028 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24029 CUPSINCL!$CUPSINCL$ac_delim
24030 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
24031 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24032 BUILTINFLAG!$BUILTINFLAG$ac_delim
24033 LDPATH!$LDPATH$ac_delim
24034 CRTLIBS!$CRTLIBS$ac_delim
24035 SOCKETLIBS!$SOCKETLIBS$ac_delim
24036 MAIN_BINARY!$MAIN_BINARY$ac_delim
24037 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24038 LIBDL!$LIBDL$ac_delim
24039 LIBPOLL!$LIBPOLL$ac_delim
24040 LDAPLIBS!$LDAPLIBS$ac_delim
24041 DEPENDENCIES!$DEPENDENCIES$ac_delim
24042 LIBOBJS!$LIBOBJS$ac_delim
24043 LTLIBOBJS!$LTLIBOBJS$ac_delim
24044 _ACEOF
24046 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
24047 break
24048 elif $ac_last_try; then
24049 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24050 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24051 { (exit 1); exit 1; }; }
24052 else
24053 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24055 done
24057 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24058 if test -n "$ac_eof"; then
24059 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24060 ac_eof=`expr $ac_eof + 1`
24063 cat >>$CONFIG_STATUS <<_ACEOF
24064 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24065 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24066 _ACEOF
24067 sed '
24068 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24069 s/^/s,@/; s/!/@,|#_!!_#|/
24072 s/'"$ac_delim"'$/,g/; t
24073 s/$/\\/; p
24074 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24075 ' >>$CONFIG_STATUS <conf$$subs.sed
24076 rm -f conf$$subs.sed
24077 cat >>$CONFIG_STATUS <<_ACEOF
24078 :end
24079 s/|#_!!_#|//g
24080 CEOF$ac_eof
24081 _ACEOF
24084 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24085 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24086 # trailing colons and then remove the whole line if VPATH becomes empty
24087 # (actually we leave an empty line to preserve line numbers).
24088 if test "x$srcdir" = x.; then
24089 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24090 s/:*\$(srcdir):*/:/
24091 s/:*\${srcdir}:*/:/
24092 s/:*@srcdir@:*/:/
24093 s/^\([^=]*=[ ]*\):*/\1/
24094 s/:*$//
24095 s/^[^=]*=[ ]*$//
24099 cat >>$CONFIG_STATUS <<\_ACEOF
24100 fi # test -n "$CONFIG_FILES"
24103 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24105 case $ac_tag in
24106 :[FHLC]) ac_mode=$ac_tag; continue;;
24107 esac
24108 case $ac_mode$ac_tag in
24109 :[FHL]*:*);;
24110 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24111 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24112 { (exit 1); exit 1; }; };;
24113 :[FH]-) ac_tag=-:-;;
24114 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24115 esac
24116 ac_save_IFS=$IFS
24117 IFS=:
24118 set x $ac_tag
24119 IFS=$ac_save_IFS
24120 shift
24121 ac_file=$1
24122 shift
24124 case $ac_mode in
24125 :L) ac_source=$1;;
24126 :[FH])
24127 ac_file_inputs=
24128 for ac_f
24130 case $ac_f in
24131 -) ac_f="$tmp/stdin";;
24132 *) # Look for the file first in the build tree, then in the source tree
24133 # (if the path is not absolute). The absolute path cannot be DOS-style,
24134 # because $ac_f cannot contain `:'.
24135 test -f "$ac_f" ||
24136 case $ac_f in
24137 [\\/$]*) false;;
24138 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24139 esac ||
24140 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24141 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24142 { (exit 1); exit 1; }; };;
24143 esac
24144 ac_file_inputs="$ac_file_inputs $ac_f"
24145 done
24147 # Let's still pretend it is `configure' which instantiates (i.e., don't
24148 # use $as_me), people would be surprised to read:
24149 # /* config.h. Generated by config.status. */
24150 configure_input="Generated from "`IFS=:
24151 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24152 if test x"$ac_file" != x-; then
24153 configure_input="$ac_file. $configure_input"
24154 { echo "$as_me:$LINENO: creating $ac_file" >&5
24155 echo "$as_me: creating $ac_file" >&6;}
24158 case $ac_tag in
24159 *:-:* | *:-) cat >"$tmp/stdin";;
24160 esac
24162 esac
24164 ac_dir=`$as_dirname -- "$ac_file" ||
24165 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24166 X"$ac_file" : 'X\(//\)[^/]' \| \
24167 X"$ac_file" : 'X\(//\)$' \| \
24168 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24169 echo X"$ac_file" |
24170 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24171 s//\1/
24174 /^X\(\/\/\)[^/].*/{
24175 s//\1/
24178 /^X\(\/\/\)$/{
24179 s//\1/
24182 /^X\(\/\).*/{
24183 s//\1/
24186 s/.*/./; q'`
24187 { as_dir="$ac_dir"
24188 case $as_dir in #(
24189 -*) as_dir=./$as_dir;;
24190 esac
24191 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
24192 as_dirs=
24193 while :; do
24194 case $as_dir in #(
24195 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24196 *) as_qdir=$as_dir;;
24197 esac
24198 as_dirs="'$as_qdir' $as_dirs"
24199 as_dir=`$as_dirname -- "$as_dir" ||
24200 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24201 X"$as_dir" : 'X\(//\)[^/]' \| \
24202 X"$as_dir" : 'X\(//\)$' \| \
24203 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24204 echo X"$as_dir" |
24205 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24206 s//\1/
24209 /^X\(\/\/\)[^/].*/{
24210 s//\1/
24213 /^X\(\/\/\)$/{
24214 s//\1/
24217 /^X\(\/\).*/{
24218 s//\1/
24221 s/.*/./; q'`
24222 test -d "$as_dir" && break
24223 done
24224 test -z "$as_dirs" || eval "mkdir $as_dirs"
24225 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24226 echo "$as_me: error: cannot create directory $as_dir" >&2;}
24227 { (exit 1); exit 1; }; }; }
24228 ac_builddir=.
24230 case "$ac_dir" in
24231 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
24233 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24234 # A ".." for each directory in $ac_dir_suffix.
24235 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24236 case $ac_top_builddir_sub in
24237 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24238 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24239 esac ;;
24240 esac
24241 ac_abs_top_builddir=$ac_pwd
24242 ac_abs_builddir=$ac_pwd$ac_dir_suffix
24243 # for backward compatibility:
24244 ac_top_builddir=$ac_top_build_prefix
24246 case $srcdir in
24247 .) # We are building in place.
24248 ac_srcdir=.
24249 ac_top_srcdir=$ac_top_builddir_sub
24250 ac_abs_top_srcdir=$ac_pwd ;;
24251 [\\/]* | ?:[\\/]* ) # Absolute name.
24252 ac_srcdir=$srcdir$ac_dir_suffix;
24253 ac_top_srcdir=$srcdir
24254 ac_abs_top_srcdir=$srcdir ;;
24255 *) # Relative name.
24256 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24257 ac_top_srcdir=$ac_top_build_prefix$srcdir
24258 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24259 esac
24260 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
24263 case $ac_mode in
24266 # CONFIG_FILE
24269 case $INSTALL in
24270 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24271 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
24272 esac
24273 _ACEOF
24275 cat >>$CONFIG_STATUS <<\_ACEOF
24276 # If the template does not know about datarootdir, expand it.
24277 # FIXME: This hack should be removed a few years after 2.60.
24278 ac_datarootdir_hack=; ac_datarootdir_seen=
24280 case `sed -n '/datarootdir/ {
24284 /@datadir@/p
24285 /@docdir@/p
24286 /@infodir@/p
24287 /@localedir@/p
24288 /@mandir@/p
24289 ' $ac_file_inputs` in
24290 *datarootdir*) ac_datarootdir_seen=yes;;
24291 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24292 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24293 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24294 _ACEOF
24295 cat >>$CONFIG_STATUS <<_ACEOF
24296 ac_datarootdir_hack='
24297 s&@datadir@&$datadir&g
24298 s&@docdir@&$docdir&g
24299 s&@infodir@&$infodir&g
24300 s&@localedir@&$localedir&g
24301 s&@mandir@&$mandir&g
24302 s&\\\${datarootdir}&$datarootdir&g' ;;
24303 esac
24304 _ACEOF
24306 # Neutralize VPATH when `$srcdir' = `.'.
24307 # Shell code in configure.ac might set extrasub.
24308 # FIXME: do we really want to maintain this feature?
24309 cat >>$CONFIG_STATUS <<_ACEOF
24310 sed "$ac_vpsub
24311 $extrasub
24312 _ACEOF
24313 cat >>$CONFIG_STATUS <<\_ACEOF
24315 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24316 s&@configure_input@&$configure_input&;t t
24317 s&@top_builddir@&$ac_top_builddir_sub&;t t
24318 s&@srcdir@&$ac_srcdir&;t t
24319 s&@abs_srcdir@&$ac_abs_srcdir&;t t
24320 s&@top_srcdir@&$ac_top_srcdir&;t t
24321 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24322 s&@builddir@&$ac_builddir&;t t
24323 s&@abs_builddir@&$ac_abs_builddir&;t t
24324 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24325 s&@INSTALL@&$ac_INSTALL&;t t
24326 $ac_datarootdir_hack
24327 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24329 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24330 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24331 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24332 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24333 which seems to be undefined. Please make sure it is defined." >&5
24334 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24335 which seems to be undefined. Please make sure it is defined." >&2;}
24337 rm -f "$tmp/stdin"
24338 case $ac_file in
24339 -) cat "$tmp/out"; rm -f "$tmp/out";;
24340 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24341 esac
24345 # CONFIG_HEADER
24347 _ACEOF
24349 # Transform confdefs.h into a sed script `conftest.defines', that
24350 # substitutes the proper values into config.h.in to produce config.h.
24351 rm -f conftest.defines conftest.tail
24352 # First, append a space to every undef/define line, to ease matching.
24353 echo 's/$/ /' >conftest.defines
24354 # Then, protect against being on the right side of a sed subst, or in
24355 # an unquoted here document, in config.status. If some macros were
24356 # called several times there might be several #defines for the same
24357 # symbol, which is useless. But do not sort them, since the last
24358 # AC_DEFINE must be honored.
24359 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
24360 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
24361 # NAME is the cpp macro being defined, VALUE is the value it is being given.
24362 # PARAMS is the parameter list in the macro definition--in most cases, it's
24363 # just an empty string.
24364 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
24365 ac_dB='\\)[ (].*,\\1define\\2'
24366 ac_dC=' '
24367 ac_dD=' ,'
24369 uniq confdefs.h |
24370 sed -n '
24371 t rset
24372 :rset
24373 s/^[ ]*#[ ]*define[ ][ ]*//
24374 t ok
24377 s/[\\&,]/\\&/g
24378 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
24379 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
24380 ' >>conftest.defines
24382 # Remove the space that was appended to ease matching.
24383 # Then replace #undef with comments. This is necessary, for
24384 # example, in the case of _POSIX_SOURCE, which is predefined and required
24385 # on some systems where configure will not decide to define it.
24386 # (The regexp can be short, since the line contains either #define or #undef.)
24387 echo 's/ $//
24388 s,^[ #]*u.*,/* & */,' >>conftest.defines
24390 # Break up conftest.defines:
24391 ac_max_sed_lines=50
24393 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
24394 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
24395 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
24396 # et cetera.
24397 ac_in='$ac_file_inputs'
24398 ac_out='"$tmp/out1"'
24399 ac_nxt='"$tmp/out2"'
24401 while :
24403 # Write a here document:
24404 cat >>$CONFIG_STATUS <<_ACEOF
24405 # First, check the format of the line:
24406 cat >"\$tmp/defines.sed" <<\\CEOF
24407 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24408 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24410 :def
24411 _ACEOF
24412 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24413 echo 'CEOF
24414 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24415 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24416 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24417 grep . conftest.tail >/dev/null || break
24418 rm -f conftest.defines
24419 mv conftest.tail conftest.defines
24420 done
24421 rm -f conftest.defines conftest.tail
24423 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24424 cat >>$CONFIG_STATUS <<\_ACEOF
24425 if test x"$ac_file" != x-; then
24426 echo "/* $configure_input */" >"$tmp/config.h"
24427 cat "$ac_result" >>"$tmp/config.h"
24428 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24429 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24430 echo "$as_me: $ac_file is unchanged" >&6;}
24431 else
24432 rm -f $ac_file
24433 mv "$tmp/config.h" $ac_file
24435 else
24436 echo "/* $configure_input */"
24437 cat "$ac_result"
24439 rm -f "$tmp/out12"
24442 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24443 echo "$as_me: executing $ac_file commands" >&6;}
24445 esac
24448 case $ac_file$ac_mode in
24449 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24450 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24451 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24452 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24453 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24454 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24455 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24456 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24457 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24458 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24459 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24460 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24461 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24463 esac
24464 done # for ac_tag
24467 { (exit 0); exit 0; }
24468 _ACEOF
24469 chmod +x $CONFIG_STATUS
24470 ac_clean_files=$ac_clean_files_save
24473 # configure is writing to config.log, and then calls config.status.
24474 # config.status does its own redirection, appending to config.log.
24475 # Unfortunately, on DOS this fails, as config.log is still kept open
24476 # by configure, so config.status won't be able to write to it; its
24477 # output is simply discarded. So we exec the FD to /dev/null,
24478 # effectively closing config.log, so it can be properly (re)opened and
24479 # appended to by config.status. When coming back to configure, we
24480 # need to make the FD available again.
24481 if test "$no_create" != yes; then
24482 ac_cs_success=:
24483 ac_config_status_args=
24484 test "$silent" = yes &&
24485 ac_config_status_args="$ac_config_status_args --quiet"
24486 exec 5>/dev/null
24487 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24488 exec 5>>config.log
24489 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24490 # would make configure fail if this is the last instruction.
24491 $ac_cs_success || { (exit 1); exit 1; }
24495 if test "$no_create" = "yes"
24496 then
24497 exit 0
24500 ac_save_IFS="$IFS"
24501 IFS="|"
24502 if test "x$wine_notices != "x; then
24503 echo >&6
24504 for msg in $wine_notices; do
24505 if test -n "$msg"; then
24506 { echo "$as_me:$LINENO: $msg" >&5
24507 echo "$as_me: $msg" >&6;}
24509 done
24511 for msg in $wine_warnings; do
24512 if test -n "$msg"; then
24513 echo >&2
24514 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24515 echo "$as_me: WARNING: $msg" >&2;}
24517 done
24518 IFS="$ac_save_IFS"
24520 echo "
24521 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24522 " >&6