configure: Add rules for rebuilding icons in maintainer mode.
[wine.git] / configure
blob37e1061894fdc73d3e38b382d0bb0c2f226a92b7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.57.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.57'
578 PACKAGE_STRING='Wine 0.9.57'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 SET_MAKE
668 CFLAGS
669 LDFLAGS
670 CPPFLAGS
671 ac_ct_CC
672 EXEEXT
673 OBJEXT
675 CXXFLAGS
676 ac_ct_CXX
677 CPPBIN
678 TOOLSDIR
679 XMKMF
681 X_CFLAGS
682 X_PRE_LIBS
683 X_LIBS
684 X_EXTRA_LIBS
685 FLEX
686 BISON
688 ac_ct_AS
691 ARFLAGS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 RSVG
708 ICOTOOL
709 PRELINK
710 LIBPTHREAD
711 XLIB
712 XFILES
713 OPENGLFILES
714 GLU32FILES
715 OPENGL_LIBS
716 QUARTZFILES
717 DLLEXT
718 DLLFLAGS
719 LDSHARED
720 LDDLLFLAGS
721 LIBEXT
722 IMPLIBEXT
723 LDRPATH_INSTALL
724 LDRPATH_LOCAL
726 DLLTOOL
727 DLLWRAP
728 MINGWAR
729 SECURITYLIB
730 COREFOUNDATIONLIB
731 IOKITLIB
732 LDEXECFLAGS
733 DISKARBITRATIONLIB
734 COREAUDIO
735 CARBONLIB
736 CROSSTEST
737 CROSSCC
738 CROSSWINDRES
739 NASLIBS
740 XML2LIBS
741 XML2INCL
742 XSLTLIBS
743 XSLTINCL
744 HALINCL
745 sane_devel
746 SANEINCL
747 gphoto2_devel
748 gphoto2port_devel
749 GPHOTO2LIBS
750 GPHOTO2INCL
751 RESOLVLIBS
752 LCMSLIBS
753 LDAPLIBS
754 ft_devel
755 FREETYPELIBS
756 FREETYPEINCL
757 FONTSSUBDIRS
758 ESDCONFIG
759 ESDLIBS
760 ESDINCL
761 ALSALIBS
762 AUDIOIOLIBS
763 FONTCONFIGINCL
764 EXTRACFLAGS
765 BUILTINFLAG
766 LDPATH
767 CRTLIBS
768 SOCKETLIBS
769 MAIN_BINARY
770 EXTRA_BINARIES
771 LIBDL
772 LIBPOLL
773 DEPENDENCIES
774 LIBOBJS
775 LTLIBOBJS'
776 ac_subst_files='MAKE_RULES
777 MAKE_DLL_RULES
778 MAKE_IMPLIB_RULES
779 MAKE_TEST_RULES
780 MAKE_PROG_RULES'
781 ac_precious_vars='build_alias
782 host_alias
783 target_alias
785 CFLAGS
786 LDFLAGS
787 LIBS
788 CPPFLAGS
790 CXXFLAGS
792 XMKMF
793 CPP'
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
842 ac_prev=
843 ac_dashdash=
844 for ac_option
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
849 ac_prev=
850 continue
853 case $ac_option in
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 *) ac_optarg=yes ;;
856 esac
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
862 ac_dashdash=yes ;;
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
865 ac_prev=bindir ;;
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 bindir=$ac_optarg ;;
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
881 --config-cache | -C)
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
885 ac_prev=datadir ;;
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
906 ac_prev=docdir ;;
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 docdir=$ac_optarg ;;
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 ac_prev=dvidir ;;
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 dvidir=$ac_optarg ;;
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
935 with_gas=yes ;;
937 -help | --help | --hel | --he | -h)
938 ac_init_help=long ;;
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 ac_prev=htmldir ;;
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 | --ht=*)
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
963 ac_prev=infodir ;;
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
968 ac_prev=libdir ;;
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 libdir=$ac_optarg ;;
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
980 ac_prev=localedir ;;
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992 ac_prev=mandir ;;
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 mandir=$ac_optarg ;;
996 -nfp | --nfp | --nf)
997 # Obsolete; use --without-fp.
998 with_fp=no ;;
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1002 no_create=yes ;;
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 no_recursion=yes ;;
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018 ac_prev=prefix ;;
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054 ac_prev=pdfdir ;;
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1059 ac_prev=psdir ;;
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 psdir=$ac_optarg ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 silent=yes ;;
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068 ac_prev=sbindir ;;
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070 | --sbi=* | --sb=*)
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1076 | --sha | --sh)
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081 | --sha=* | --sh=*)
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1085 ac_prev=site ;;
1086 -site=* | --site=* | --sit=*)
1087 site=$ac_optarg ;;
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090 ac_prev=srcdir ;;
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 verbose=yes ;;
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1112 -with-* | --with-*)
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1130 --x)
1131 # Obsolete; use --with-x.
1132 with_x=yes ;;
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1153 *=*)
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 esac
1171 done
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1186 case $ac_val in
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189 esac
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1192 done
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1208 cross_compiling=yes
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 echo X"$0" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 s//\1/
1242 /^X\(\/\/\)[^/].*/{
1243 s//\1/
1246 /^X\(\/\/\)$/{
1247 s//\1/
1250 /^X\(\/\).*/{
1251 s//\1/
1254 s/.*/./; q'`
1255 srcdir=$ac_confdir
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 srcdir=..
1259 else
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 ac_abs_confdir=`(
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1271 pwd)`
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 srcdir=.
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1279 case $srcdir in
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 esac
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 done
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1295 cat <<_ACEOF
1296 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1305 Configuration:
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 [PREFIX]
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1349 _ACEOF
1351 cat <<\_ACEOF
1353 X features:
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1357 System types:
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1360 _ACEOF
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 0.9.57:";;
1366 esac
1367 cat <<\_ACEOF
1369 Optional Features:
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1374 binaries)
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1378 Optional Packages:
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-alsa do not use the Alsa sound support
1382 --without-audioio do not use the AudioIO sound support
1383 --without-capi do not use CAPI (ISDN support)
1384 --without-cms do not use CMS (color management support)
1385 --without-coreaudio do not use the CoreAudio sound support
1386 --without-cups do not use CUPS
1387 --without-curses do not use (n)curses
1388 --without-esd do not use the EsounD sound support
1389 --without-fontconfig do not use fontconfig
1390 --without-gphoto do not use gphoto (Digital Camera support)
1391 --without-hal do not use HAL (dynamic device support)
1392 --without-jack do not use the Jack sound support
1393 --without-jpeg do not use JPEG
1394 --without-ldap do not use LDAP
1395 --without-nas do not use the NAS sound support
1396 --without-opengl do not use OpenGL
1397 --without-openssl do not use OpenSSL
1398 --without-oss do not use the OSS sound support
1399 --without-png do not use PNG
1400 --without-sane do not use SANE (scanner support)
1401 --without-xcomposite do not use the Xcomposite extension
1402 --without-xcursor do not use the Xcursor extension
1403 --without-xinerama do not use Xinerama (multi-monitor support)
1404 --without-xinput do not use the Xinput extension
1405 --without-xml do not use XML
1406 --without-xrandr do not use Xrandr (resolution changes)
1407 --without-xrender do not use the Xrender extension
1408 --without-xshape do not use the Xshape extension
1409 --without-xshm do not use XShm (shared memory extension)
1410 --without-xslt do not use XSLT
1411 --without-xvidmode do not use XFree video mode extension
1412 --with-wine-tools=DIR use Wine tools from directory DIR
1413 --with-x use the X Window System
1415 Some influential environment variables:
1416 CC C compiler command
1417 CFLAGS C compiler flags
1418 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1419 nonstandard directory <lib dir>
1420 LIBS libraries to pass to the linker, e.g. -l<library>
1421 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1422 you have headers in a nonstandard directory <include dir>
1423 CXX C++ compiler command
1424 CXXFLAGS C++ compiler flags
1425 XMKMF Path to xmkmf, Makefile generator for X Window System
1426 CPP C preprocessor
1428 Use these variables to override the choices made by `configure' or to help
1429 it to find libraries and programs with nonstandard names/locations.
1431 Report bugs to <wine-devel@winehq.org>.
1432 _ACEOF
1433 ac_status=$?
1436 if test "$ac_init_help" = "recursive"; then
1437 # If there are subdirs, report their specific --help.
1438 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1439 test -d "$ac_dir" || continue
1440 ac_builddir=.
1442 case "$ac_dir" in
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1451 esac ;;
1452 esac
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1458 case $srcdir in
1459 .) # We are building in place.
1460 ac_srcdir=.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1467 *) # Relative name.
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1471 esac
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1477 echo &&
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1480 echo &&
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1482 else
1483 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1484 fi || ac_status=$?
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1486 done
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1491 cat <<\_ACEOF
1492 Wine configure 0.9.57
1493 generated by GNU Autoconf 2.61
1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1496 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1497 This configure script is free software; the Free Software Foundation
1498 gives unlimited permission to copy, distribute and modify it.
1499 _ACEOF
1500 exit
1502 cat >config.log <<_ACEOF
1503 This file contains any messages produced by compilers while
1504 running configure, to aid debugging if configure makes a mistake.
1506 It was created by Wine $as_me 0.9.57, which was
1507 generated by GNU Autoconf 2.61. Invocation command line was
1509 $ $0 $@
1511 _ACEOF
1512 exec 5>>config.log
1514 cat <<_ASUNAME
1515 ## --------- ##
1516 ## Platform. ##
1517 ## --------- ##
1519 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1520 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1521 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1522 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1523 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1525 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1526 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1528 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1529 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1530 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1531 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1532 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1533 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1534 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1536 _ASUNAME
1538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539 for as_dir in $PATH
1541 IFS=$as_save_IFS
1542 test -z "$as_dir" && as_dir=.
1543 echo "PATH: $as_dir"
1544 done
1545 IFS=$as_save_IFS
1547 } >&5
1549 cat >&5 <<_ACEOF
1552 ## ----------- ##
1553 ## Core tests. ##
1554 ## ----------- ##
1556 _ACEOF
1559 # Keep a trace of the command line.
1560 # Strip out --no-create and --no-recursion so they do not pile up.
1561 # Strip out --silent because we don't want to record it for future runs.
1562 # Also quote any args containing shell meta-characters.
1563 # Make two passes to allow for proper duplicate-argument suppression.
1564 ac_configure_args=
1565 ac_configure_args0=
1566 ac_configure_args1=
1567 ac_must_keep_next=false
1568 for ac_pass in 1 2
1570 for ac_arg
1572 case $ac_arg in
1573 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1574 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1575 | -silent | --silent | --silen | --sile | --sil)
1576 continue ;;
1577 *\'*)
1578 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1579 esac
1580 case $ac_pass in
1581 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1583 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1584 if test $ac_must_keep_next = true; then
1585 ac_must_keep_next=false # Got value, back to normal.
1586 else
1587 case $ac_arg in
1588 *=* | --config-cache | -C | -disable-* | --disable-* \
1589 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1590 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1591 | -with-* | --with-* | -without-* | --without-* | --x)
1592 case "$ac_configure_args0 " in
1593 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1594 esac
1596 -* ) ac_must_keep_next=true ;;
1597 esac
1599 ac_configure_args="$ac_configure_args '$ac_arg'"
1601 esac
1602 done
1603 done
1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1607 # When interrupted or exit'd, cleanup temporary files, and complete
1608 # config.log. We remove comments because anyway the quotes in there
1609 # would cause problems or look ugly.
1610 # WARNING: Use '\'' to represent an apostrophe within the trap.
1611 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1612 trap 'exit_status=$?
1613 # Save into config.log some information that might help in debugging.
1615 echo
1617 cat <<\_ASBOX
1618 ## ---------------- ##
1619 ## Cache variables. ##
1620 ## ---------------- ##
1621 _ASBOX
1622 echo
1623 # The following way of writing the cache mishandles newlines in values,
1625 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1626 eval ac_val=\$$ac_var
1627 case $ac_val in #(
1628 *${as_nl}*)
1629 case $ac_var in #(
1630 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1631 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1632 esac
1633 case $ac_var in #(
1634 _ | IFS | as_nl) ;; #(
1635 *) $as_unset $ac_var ;;
1636 esac ;;
1637 esac
1638 done
1639 (set) 2>&1 |
1640 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1641 *${as_nl}ac_space=\ *)
1642 sed -n \
1643 "s/'\''/'\''\\\\'\'''\''/g;
1644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1645 ;; #(
1647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1649 esac |
1650 sort
1652 echo
1654 cat <<\_ASBOX
1655 ## ----------------- ##
1656 ## Output variables. ##
1657 ## ----------------- ##
1658 _ASBOX
1659 echo
1660 for ac_var in $ac_subst_vars
1662 eval ac_val=\$$ac_var
1663 case $ac_val in
1664 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1665 esac
1666 echo "$ac_var='\''$ac_val'\''"
1667 done | sort
1668 echo
1670 if test -n "$ac_subst_files"; then
1671 cat <<\_ASBOX
1672 ## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##
1675 _ASBOX
1676 echo
1677 for ac_var in $ac_subst_files
1679 eval ac_val=\$$ac_var
1680 case $ac_val in
1681 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682 esac
1683 echo "$ac_var='\''$ac_val'\''"
1684 done | sort
1685 echo
1688 if test -s confdefs.h; then
1689 cat <<\_ASBOX
1690 ## ----------- ##
1691 ## confdefs.h. ##
1692 ## ----------- ##
1693 _ASBOX
1694 echo
1695 cat confdefs.h
1696 echo
1698 test "$ac_signal" != 0 &&
1699 echo "$as_me: caught signal $ac_signal"
1700 echo "$as_me: exit $exit_status"
1701 } >&5
1702 rm -f core *.core core.conftest.* &&
1703 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1704 exit $exit_status
1706 for ac_signal in 1 2 13 15; do
1707 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1708 done
1709 ac_signal=0
1711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1712 rm -f -r conftest* confdefs.h
1714 # Predefined preprocessor variables.
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_NAME "$PACKAGE_NAME"
1718 _ACEOF
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1723 _ACEOF
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1728 _ACEOF
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_STRING "$PACKAGE_STRING"
1733 _ACEOF
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1738 _ACEOF
1741 # Let the site file select an alternate cache file if it wants to.
1742 # Prefer explicitly selected file to automatically selected ones.
1743 if test -n "$CONFIG_SITE"; then
1744 set x "$CONFIG_SITE"
1745 elif test "x$prefix" != xNONE; then
1746 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1747 else
1748 set x "$ac_default_prefix/share/config.site" \
1749 "$ac_default_prefix/etc/config.site"
1751 shift
1752 for ac_site_file
1754 if test -r "$ac_site_file"; then
1755 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1756 echo "$as_me: loading site script $ac_site_file" >&6;}
1757 sed 's/^/| /' "$ac_site_file" >&5
1758 . "$ac_site_file"
1760 done
1762 if test -r "$cache_file"; then
1763 # Some versions of bash will fail to source /dev/null (special
1764 # files actually), so we avoid doing that.
1765 if test -f "$cache_file"; then
1766 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1767 echo "$as_me: loading cache $cache_file" >&6;}
1768 case $cache_file in
1769 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1770 *) . "./$cache_file";;
1771 esac
1773 else
1774 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1775 echo "$as_me: creating cache $cache_file" >&6;}
1776 >$cache_file
1779 # Check that the precious variables saved in the cache have kept the same
1780 # value.
1781 ac_cache_corrupted=false
1782 for ac_var in $ac_precious_vars; do
1783 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1784 eval ac_new_set=\$ac_env_${ac_var}_set
1785 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1786 eval ac_new_val=\$ac_env_${ac_var}_value
1787 case $ac_old_set,$ac_new_set in
1788 set,)
1789 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1790 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1791 ac_cache_corrupted=: ;;
1792 ,set)
1793 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1794 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1795 ac_cache_corrupted=: ;;
1796 ,);;
1798 if test "x$ac_old_val" != "x$ac_new_val"; then
1799 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1800 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1801 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1802 echo "$as_me: former value: $ac_old_val" >&2;}
1803 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1804 echo "$as_me: current value: $ac_new_val" >&2;}
1805 ac_cache_corrupted=:
1806 fi;;
1807 esac
1808 # Pass precious variables to config.status.
1809 if test "$ac_new_set" = set; then
1810 case $ac_new_val in
1811 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1812 *) ac_arg=$ac_var=$ac_new_val ;;
1813 esac
1814 case " $ac_configure_args " in
1815 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1816 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1817 esac
1819 done
1820 if $ac_cache_corrupted; then
1821 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1822 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1823 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1824 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1825 { (exit 1); exit 1; }; }
1852 ac_ext=c
1853 ac_cpp='$CPP $CPPFLAGS'
1854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1860 ac_config_headers="$ac_config_headers include/config.h"
1862 ac_aux_dir=
1863 for ac_dir in tools "$srcdir"/tools; do
1864 if test -f "$ac_dir/install-sh"; then
1865 ac_aux_dir=$ac_dir
1866 ac_install_sh="$ac_aux_dir/install-sh -c"
1867 break
1868 elif test -f "$ac_dir/install.sh"; then
1869 ac_aux_dir=$ac_dir
1870 ac_install_sh="$ac_aux_dir/install.sh -c"
1871 break
1872 elif test -f "$ac_dir/shtool"; then
1873 ac_aux_dir=$ac_dir
1874 ac_install_sh="$ac_aux_dir/shtool install -c"
1875 break
1877 done
1878 if test -z "$ac_aux_dir"; then
1879 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1880 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1881 { (exit 1); exit 1; }; }
1884 # These three variables are undocumented and unsupported,
1885 # and are intended to be withdrawn in a future Autoconf release.
1886 # They can cause serious problems if a builder's source tree is in a directory
1887 # whose full name contains unusual characters.
1888 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1889 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1890 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1895 # Check whether --enable-win16 was given.
1896 if test "${enable_win16+set}" = set; then
1897 enableval=$enable_win16;
1900 # Check whether --enable-win64 was given.
1901 if test "${enable_win64+set}" = set; then
1902 enableval=$enable_win64;
1905 # Check whether --enable-maintainer-mode was given.
1906 if test "${enable_maintainer_mode+set}" = set; then
1907 enableval=$enable_maintainer_mode;
1908 else
1909 MAINTAINER_MODE=\#
1915 # Check whether --with-alsa was given.
1916 if test "${with_alsa+set}" = set; then
1917 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1921 # Check whether --with-audioio was given.
1922 if test "${with_audioio+set}" = set; then
1923 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1927 # Check whether --with-capi was given.
1928 if test "${with_capi+set}" = set; then
1929 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1933 # Check whether --with-cms was given.
1934 if test "${with_cms+set}" = set; then
1935 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1939 # Check whether --with-coreaudio was given.
1940 if test "${with_coreaudio+set}" = set; then
1941 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1945 # Check whether --with-cups was given.
1946 if test "${with_cups+set}" = set; then
1947 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1951 # Check whether --with-curses was given.
1952 if test "${with_curses+set}" = set; then
1953 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1957 # Check whether --with-esd was given.
1958 if test "${with_esd+set}" = set; then
1959 withval=$with_esd;
1963 # Check whether --with-fontconfig was given.
1964 if test "${with_fontconfig+set}" = set; then
1965 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1969 # Check whether --with-gphoto was given.
1970 if test "${with_gphoto+set}" = set; then
1971 withval=$with_gphoto;
1975 # Check whether --with-hal was given.
1976 if test "${with_hal+set}" = set; then
1977 withval=$with_hal;
1981 # Check whether --with-jack was given.
1982 if test "${with_jack+set}" = set; then
1983 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1987 # Check whether --with-jpeg was given.
1988 if test "${with_jpeg+set}" = set; then
1989 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1993 # Check whether --with-ldap was given.
1994 if test "${with_ldap+set}" = set; then
1995 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1999 # Check whether --with-nas was given.
2000 if test "${with_nas+set}" = set; then
2001 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2005 # Check whether --with-opengl was given.
2006 if test "${with_opengl+set}" = set; then
2007 withval=$with_opengl;
2011 # Check whether --with-openssl was given.
2012 if test "${with_openssl+set}" = set; then
2013 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2017 # Check whether --with-oss was given.
2018 if test "${with_oss+set}" = set; then
2019 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2023 # Check whether --with-png was given.
2024 if test "${with_png+set}" = set; then
2025 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2029 # Check whether --with-sane was given.
2030 if test "${with_sane+set}" = set; then
2031 withval=$with_sane;
2035 # Check whether --with-xcomposite was given.
2036 if test "${with_xcomposite+set}" = set; then
2037 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2041 # Check whether --with-xcursor was given.
2042 if test "${with_xcursor+set}" = set; then
2043 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2047 # Check whether --with-xinerama was given.
2048 if test "${with_xinerama+set}" = set; then
2049 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2053 # Check whether --with-xinput was given.
2054 if test "${with_xinput+set}" = set; then
2055 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2059 # Check whether --with-xml was given.
2060 if test "${with_xml+set}" = set; then
2061 withval=$with_xml;
2065 # Check whether --with-xrandr was given.
2066 if test "${with_xrandr+set}" = set; then
2067 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2071 # Check whether --with-xrender was given.
2072 if test "${with_xrender+set}" = set; then
2073 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2077 # Check whether --with-xshape was given.
2078 if test "${with_xshape+set}" = set; then
2079 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2083 # Check whether --with-xshm was given.
2084 if test "${with_xshm+set}" = set; then
2085 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2089 # Check whether --with-xslt was given.
2090 if test "${with_xslt+set}" = set; then
2091 withval=$with_xslt;
2095 # Check whether --with-xvidmode was given.
2096 if test "${with_xvidmode+set}" = set; then
2097 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2102 # Check whether --with-wine-tools was given.
2103 if test "${with_wine_tools+set}" = set; then
2104 withval=$with_wine_tools;
2108 # Make sure we can run config.sub.
2109 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2110 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2111 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2112 { (exit 1); exit 1; }; }
2114 { echo "$as_me:$LINENO: checking build system type" >&5
2115 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2116 if test "${ac_cv_build+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 else
2119 ac_build_alias=$build_alias
2120 test "x$ac_build_alias" = x &&
2121 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2122 test "x$ac_build_alias" = x &&
2123 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2124 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2125 { (exit 1); exit 1; }; }
2126 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2127 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2128 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2129 { (exit 1); exit 1; }; }
2132 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2133 echo "${ECHO_T}$ac_cv_build" >&6; }
2134 case $ac_cv_build in
2135 *-*-*) ;;
2136 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2137 echo "$as_me: error: invalid value of canonical build" >&2;}
2138 { (exit 1); exit 1; }; };;
2139 esac
2140 build=$ac_cv_build
2141 ac_save_IFS=$IFS; IFS='-'
2142 set x $ac_cv_build
2143 shift
2144 build_cpu=$1
2145 build_vendor=$2
2146 shift; shift
2147 # Remember, the first character of IFS is used to create $*,
2148 # except with old shells:
2149 build_os=$*
2150 IFS=$ac_save_IFS
2151 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2154 { echo "$as_me:$LINENO: checking host system type" >&5
2155 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2156 if test "${ac_cv_host+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 else
2159 if test "x$host_alias" = x; then
2160 ac_cv_host=$ac_cv_build
2161 else
2162 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2163 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2164 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2165 { (exit 1); exit 1; }; }
2169 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2170 echo "${ECHO_T}$ac_cv_host" >&6; }
2171 case $ac_cv_host in
2172 *-*-*) ;;
2173 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2174 echo "$as_me: error: invalid value of canonical host" >&2;}
2175 { (exit 1); exit 1; }; };;
2176 esac
2177 host=$ac_cv_host
2178 ac_save_IFS=$IFS; IFS='-'
2179 set x $ac_cv_host
2180 shift
2181 host_cpu=$1
2182 host_vendor=$2
2183 shift; shift
2184 # Remember, the first character of IFS is used to create $*,
2185 # except with old shells:
2186 host_os=$*
2187 IFS=$ac_save_IFS
2188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2191 case $host in
2192 x86_64*linux*)
2193 if test "x$enable_win64" != "xyes"
2194 then
2195 test -n "$CC" || CC="gcc -m32"
2196 test -n "$CXX"|| CXX="g++ -m32"
2197 test -n "$LD" || LD="ld -m elf_i386"
2198 test -n "$AS" || AS="as --32"
2199 host_cpu="i386"
2202 esac
2204 case $host_cpu in
2205 *i[3456789]86*)
2206 if test "x$enable_win16" != "xno"
2207 then
2208 enable_win16="yes"
2211 esac
2213 WIN16_FILES="\$(WIN16_FILES)"
2215 WIN16_INSTALL="\$(WIN16_INSTALL)"
2217 if test "x$enable_win16" != "xyes"
2218 then
2219 WIN16_FILES=""
2220 WIN16_INSTALL=""
2223 case "$srcdir" in
2224 .) ;;
2225 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2226 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2227 You need to run 'make distclean' in the source tree first." >&5
2228 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2229 You need to run 'make distclean' in the source tree first." >&2;}
2230 { (exit 1); exit 1; }; }
2231 fi ;;
2232 esac
2235 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2236 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2237 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2238 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 else
2241 cat >conftest.make <<\_ACEOF
2242 SHELL = /bin/sh
2243 all:
2244 @echo '@@@%%%=$(MAKE)=@@@%%%'
2245 _ACEOF
2246 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2247 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2248 *@@@%%%=?*=@@@%%%*)
2249 eval ac_cv_prog_make_${ac_make}_set=yes;;
2251 eval ac_cv_prog_make_${ac_make}_set=no;;
2252 esac
2253 rm -f conftest.make
2255 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2256 { echo "$as_me:$LINENO: result: yes" >&5
2257 echo "${ECHO_T}yes" >&6; }
2258 SET_MAKE=
2259 else
2260 { echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6; }
2262 SET_MAKE="MAKE=${MAKE-make}"
2265 ac_ext=c
2266 ac_cpp='$CPP $CPPFLAGS'
2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2270 if test -n "$ac_tool_prefix"; then
2271 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2272 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275 if test "${ac_cv_prog_CC+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 else
2278 if test -n "$CC"; then
2279 ac_cv_prog_CC="$CC" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2284 IFS=$as_save_IFS
2285 test -z "$as_dir" && as_dir=.
2286 for ac_exec_ext in '' $ac_executable_extensions; do
2287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 break 2
2292 done
2293 done
2294 IFS=$as_save_IFS
2298 CC=$ac_cv_prog_CC
2299 if test -n "$CC"; then
2300 { echo "$as_me:$LINENO: result: $CC" >&5
2301 echo "${ECHO_T}$CC" >&6; }
2302 else
2303 { echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6; }
2309 if test -z "$ac_cv_prog_CC"; then
2310 ac_ct_CC=$CC
2311 # Extract the first word of "gcc", so it can be a program name with args.
2312 set dummy gcc; ac_word=$2
2313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2316 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 else
2318 if test -n "$ac_ct_CC"; then
2319 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2320 else
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322 for as_dir in $PATH
2324 IFS=$as_save_IFS
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_ac_ct_CC="gcc"
2329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330 break 2
2332 done
2333 done
2334 IFS=$as_save_IFS
2338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2339 if test -n "$ac_ct_CC"; then
2340 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2341 echo "${ECHO_T}$ac_ct_CC" >&6; }
2342 else
2343 { echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6; }
2347 if test "x$ac_ct_CC" = x; then
2348 CC=""
2349 else
2350 case $cross_compiling:$ac_tool_warned in
2351 yes:)
2352 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2353 whose name does not start with the host triplet. If you think this
2354 configuration is useful to you, please write to autoconf@gnu.org." >&5
2355 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2356 whose name does not start with the host triplet. If you think this
2357 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2358 ac_tool_warned=yes ;;
2359 esac
2360 CC=$ac_ct_CC
2362 else
2363 CC="$ac_cv_prog_CC"
2366 if test -z "$CC"; then
2367 if test -n "$ac_tool_prefix"; then
2368 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2369 set dummy ${ac_tool_prefix}cc; ac_word=$2
2370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2372 if test "${ac_cv_prog_CC+set}" = set; then
2373 echo $ECHO_N "(cached) $ECHO_C" >&6
2374 else
2375 if test -n "$CC"; then
2376 ac_cv_prog_CC="$CC" # Let the user override the test.
2377 else
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 for as_dir in $PATH
2381 IFS=$as_save_IFS
2382 test -z "$as_dir" && as_dir=.
2383 for ac_exec_ext in '' $ac_executable_extensions; do
2384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385 ac_cv_prog_CC="${ac_tool_prefix}cc"
2386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 break 2
2389 done
2390 done
2391 IFS=$as_save_IFS
2395 CC=$ac_cv_prog_CC
2396 if test -n "$CC"; then
2397 { echo "$as_me:$LINENO: result: $CC" >&5
2398 echo "${ECHO_T}$CC" >&6; }
2399 else
2400 { echo "$as_me:$LINENO: result: no" >&5
2401 echo "${ECHO_T}no" >&6; }
2407 if test -z "$CC"; then
2408 # Extract the first word of "cc", so it can be a program name with args.
2409 set dummy cc; ac_word=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_prog_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 else
2415 if test -n "$CC"; then
2416 ac_cv_prog_CC="$CC" # Let the user override the test.
2417 else
2418 ac_prog_rejected=no
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420 for as_dir in $PATH
2422 IFS=$as_save_IFS
2423 test -z "$as_dir" && as_dir=.
2424 for ac_exec_ext in '' $ac_executable_extensions; do
2425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2427 ac_prog_rejected=yes
2428 continue
2430 ac_cv_prog_CC="cc"
2431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2432 break 2
2434 done
2435 done
2436 IFS=$as_save_IFS
2438 if test $ac_prog_rejected = yes; then
2439 # We found a bogon in the path, so make sure we never use it.
2440 set dummy $ac_cv_prog_CC
2441 shift
2442 if test $# != 0; then
2443 # We chose a different compiler from the bogus one.
2444 # However, it has the same basename, so the bogon will be chosen
2445 # first if we set CC to just the basename; use the full file name.
2446 shift
2447 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2452 CC=$ac_cv_prog_CC
2453 if test -n "$CC"; then
2454 { echo "$as_me:$LINENO: result: $CC" >&5
2455 echo "${ECHO_T}$CC" >&6; }
2456 else
2457 { echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6; }
2463 if test -z "$CC"; then
2464 if test -n "$ac_tool_prefix"; then
2465 for ac_prog in cl.exe
2467 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2468 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2471 if test "${ac_cv_prog_CC+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 else
2474 if test -n "$CC"; then
2475 ac_cv_prog_CC="$CC" # Let the user override the test.
2476 else
2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 for as_dir in $PATH
2480 IFS=$as_save_IFS
2481 test -z "$as_dir" && as_dir=.
2482 for ac_exec_ext in '' $ac_executable_extensions; do
2483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2484 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 break 2
2488 done
2489 done
2490 IFS=$as_save_IFS
2494 CC=$ac_cv_prog_CC
2495 if test -n "$CC"; then
2496 { echo "$as_me:$LINENO: result: $CC" >&5
2497 echo "${ECHO_T}$CC" >&6; }
2498 else
2499 { echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6; }
2504 test -n "$CC" && break
2505 done
2507 if test -z "$CC"; then
2508 ac_ct_CC=$CC
2509 for ac_prog in cl.exe
2511 # Extract the first word of "$ac_prog", so it can be a program name with args.
2512 set dummy $ac_prog; ac_word=$2
2513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2518 if test -n "$ac_ct_CC"; then
2519 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2520 else
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 for as_dir in $PATH
2524 IFS=$as_save_IFS
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528 ac_cv_prog_ac_ct_CC="$ac_prog"
2529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2530 break 2
2532 done
2533 done
2534 IFS=$as_save_IFS
2538 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2539 if test -n "$ac_ct_CC"; then
2540 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2541 echo "${ECHO_T}$ac_ct_CC" >&6; }
2542 else
2543 { echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6; }
2548 test -n "$ac_ct_CC" && break
2549 done
2551 if test "x$ac_ct_CC" = x; then
2552 CC=""
2553 else
2554 case $cross_compiling:$ac_tool_warned in
2555 yes:)
2556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2557 whose name does not start with the host triplet. If you think this
2558 configuration is useful to you, please write to autoconf@gnu.org." >&5
2559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2560 whose name does not start with the host triplet. If you think this
2561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2562 ac_tool_warned=yes ;;
2563 esac
2564 CC=$ac_ct_CC
2571 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2572 See \`config.log' for more details." >&5
2573 echo "$as_me: error: no acceptable C compiler found in \$PATH
2574 See \`config.log' for more details." >&2;}
2575 { (exit 1); exit 1; }; }
2577 # Provide some information about the compiler.
2578 echo "$as_me:$LINENO: checking for C compiler version" >&5
2579 ac_compiler=`set X $ac_compile; echo $2`
2580 { (ac_try="$ac_compiler --version >&5"
2581 case "(($ac_try" in
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2584 esac
2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586 (eval "$ac_compiler --version >&5") 2>&5
2587 ac_status=$?
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }
2590 { (ac_try="$ac_compiler -v >&5"
2591 case "(($ac_try" in
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2594 esac
2595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2596 (eval "$ac_compiler -v >&5") 2>&5
2597 ac_status=$?
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }
2600 { (ac_try="$ac_compiler -V >&5"
2601 case "(($ac_try" in
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2604 esac
2605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2606 (eval "$ac_compiler -V >&5") 2>&5
2607 ac_status=$?
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }
2611 cat >conftest.$ac_ext <<_ACEOF
2612 /* confdefs.h. */
2613 _ACEOF
2614 cat confdefs.h >>conftest.$ac_ext
2615 cat >>conftest.$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2619 main ()
2623 return 0;
2625 _ACEOF
2626 ac_clean_files_save=$ac_clean_files
2627 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2628 # Try to create an executable without -o first, disregard a.out.
2629 # It will help us diagnose broken compilers, and finding out an intuition
2630 # of exeext.
2631 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2632 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2633 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2635 # List of possible output files, starting from the most likely.
2636 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2637 # only as a last resort. b.out is created by i960 compilers.
2638 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2640 # The IRIX 6 linker writes into existing files which may not be
2641 # executable, retaining their permissions. Remove them first so a
2642 # subsequent execution test works.
2643 ac_rmfiles=
2644 for ac_file in $ac_files
2646 case $ac_file in
2647 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2648 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2649 esac
2650 done
2651 rm -f $ac_rmfiles
2653 if { (ac_try="$ac_link_default"
2654 case "(($ac_try" in
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2657 esac
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_link_default") 2>&5
2660 ac_status=$?
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; then
2663 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2664 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2665 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2666 # so that the user can short-circuit this test for compilers unknown to
2667 # Autoconf.
2668 for ac_file in $ac_files ''
2670 test -f "$ac_file" || continue
2671 case $ac_file in
2672 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2674 [ab].out )
2675 # We found the default executable, but exeext='' is most
2676 # certainly right.
2677 break;;
2678 *.* )
2679 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2680 then :; else
2681 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2683 # We set ac_cv_exeext here because the later test for it is not
2684 # safe: cross compilers may not add the suffix if given an `-o'
2685 # argument, so we may need to know it at that point already.
2686 # Even if this section looks crufty: it has the advantage of
2687 # actually working.
2688 break;;
2690 break;;
2691 esac
2692 done
2693 test "$ac_cv_exeext" = no && ac_cv_exeext=
2695 else
2696 ac_file=''
2699 { echo "$as_me:$LINENO: result: $ac_file" >&5
2700 echo "${ECHO_T}$ac_file" >&6; }
2701 if test -z "$ac_file"; then
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2706 See \`config.log' for more details." >&5
2707 echo "$as_me: error: C compiler cannot create executables
2708 See \`config.log' for more details." >&2;}
2709 { (exit 77); exit 77; }; }
2712 ac_exeext=$ac_cv_exeext
2714 # Check that the compiler produces executables we can run. If not, either
2715 # the compiler is broken, or we cross compile.
2716 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2717 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2718 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2719 # If not cross compiling, check that we can run a simple program.
2720 if test "$cross_compiling" != yes; then
2721 if { ac_try='./$ac_file'
2722 { (case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2725 esac
2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_try") 2>&5
2728 ac_status=$?
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; }; then
2731 cross_compiling=no
2732 else
2733 if test "$cross_compiling" = maybe; then
2734 cross_compiling=yes
2735 else
2736 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2737 If you meant to cross compile, use \`--host'.
2738 See \`config.log' for more details." >&5
2739 echo "$as_me: error: cannot run C compiled programs.
2740 If you meant to cross compile, use \`--host'.
2741 See \`config.log' for more details." >&2;}
2742 { (exit 1); exit 1; }; }
2746 { echo "$as_me:$LINENO: result: yes" >&5
2747 echo "${ECHO_T}yes" >&6; }
2749 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2750 ac_clean_files=$ac_clean_files_save
2751 # Check that the compiler produces executables we can run. If not, either
2752 # the compiler is broken, or we cross compile.
2753 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2754 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2755 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2756 echo "${ECHO_T}$cross_compiling" >&6; }
2758 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2759 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2760 if { (ac_try="$ac_link"
2761 case "(($ac_try" in
2762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2764 esac
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_link") 2>&5
2767 ac_status=$?
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; then
2770 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2771 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2772 # work properly (i.e., refer to `conftest.exe'), while it won't with
2773 # `rm'.
2774 for ac_file in conftest.exe conftest conftest.*; do
2775 test -f "$ac_file" || continue
2776 case $ac_file in
2777 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2778 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2779 break;;
2780 * ) break;;
2781 esac
2782 done
2783 else
2784 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2785 See \`config.log' for more details." >&5
2786 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2787 See \`config.log' for more details." >&2;}
2788 { (exit 1); exit 1; }; }
2791 rm -f conftest$ac_cv_exeext
2792 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2793 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2795 rm -f conftest.$ac_ext
2796 EXEEXT=$ac_cv_exeext
2797 ac_exeext=$EXEEXT
2798 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2799 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2800 if test "${ac_cv_objext+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 else
2803 cat >conftest.$ac_ext <<_ACEOF
2804 /* confdefs.h. */
2805 _ACEOF
2806 cat confdefs.h >>conftest.$ac_ext
2807 cat >>conftest.$ac_ext <<_ACEOF
2808 /* end confdefs.h. */
2811 main ()
2815 return 0;
2817 _ACEOF
2818 rm -f conftest.o conftest.obj
2819 if { (ac_try="$ac_compile"
2820 case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823 esac
2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2825 (eval "$ac_compile") 2>&5
2826 ac_status=$?
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }; then
2829 for ac_file in conftest.o conftest.obj conftest.*; do
2830 test -f "$ac_file" || continue;
2831 case $ac_file in
2832 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2833 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2834 break;;
2835 esac
2836 done
2837 else
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2841 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2842 See \`config.log' for more details." >&5
2843 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2844 See \`config.log' for more details." >&2;}
2845 { (exit 1); exit 1; }; }
2848 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2850 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2851 echo "${ECHO_T}$ac_cv_objext" >&6; }
2852 OBJEXT=$ac_cv_objext
2853 ac_objext=$OBJEXT
2854 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2855 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2856 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2858 else
2859 cat >conftest.$ac_ext <<_ACEOF
2860 /* confdefs.h. */
2861 _ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 cat >>conftest.$ac_ext <<_ACEOF
2864 /* end confdefs.h. */
2867 main ()
2869 #ifndef __GNUC__
2870 choke me
2871 #endif
2874 return 0;
2876 _ACEOF
2877 rm -f conftest.$ac_objext
2878 if { (ac_try="$ac_compile"
2879 case "(($ac_try" in
2880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881 *) ac_try_echo=$ac_try;;
2882 esac
2883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2884 (eval "$ac_compile") 2>conftest.er1
2885 ac_status=$?
2886 grep -v '^ *+' conftest.er1 >conftest.err
2887 rm -f conftest.er1
2888 cat conftest.err >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); } && {
2891 test -z "$ac_c_werror_flag" ||
2892 test ! -s conftest.err
2893 } && test -s conftest.$ac_objext; then
2894 ac_compiler_gnu=yes
2895 else
2896 echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2899 ac_compiler_gnu=no
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2906 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2907 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2908 GCC=`test $ac_compiler_gnu = yes && echo yes`
2909 ac_test_CFLAGS=${CFLAGS+set}
2910 ac_save_CFLAGS=$CFLAGS
2911 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2912 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2913 if test "${ac_cv_prog_cc_g+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 else
2916 ac_save_c_werror_flag=$ac_c_werror_flag
2917 ac_c_werror_flag=yes
2918 ac_cv_prog_cc_g=no
2919 CFLAGS="-g"
2920 cat >conftest.$ac_ext <<_ACEOF
2921 /* confdefs.h. */
2922 _ACEOF
2923 cat confdefs.h >>conftest.$ac_ext
2924 cat >>conftest.$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2928 main ()
2932 return 0;
2934 _ACEOF
2935 rm -f conftest.$ac_objext
2936 if { (ac_try="$ac_compile"
2937 case "(($ac_try" in
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2940 esac
2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942 (eval "$ac_compile") 2>conftest.er1
2943 ac_status=$?
2944 grep -v '^ *+' conftest.er1 >conftest.err
2945 rm -f conftest.er1
2946 cat conftest.err >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); } && {
2949 test -z "$ac_c_werror_flag" ||
2950 test ! -s conftest.err
2951 } && test -s conftest.$ac_objext; then
2952 ac_cv_prog_cc_g=yes
2953 else
2954 echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 CFLAGS=""
2958 cat >conftest.$ac_ext <<_ACEOF
2959 /* confdefs.h. */
2960 _ACEOF
2961 cat confdefs.h >>conftest.$ac_ext
2962 cat >>conftest.$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2966 main ()
2970 return 0;
2972 _ACEOF
2973 rm -f conftest.$ac_objext
2974 if { (ac_try="$ac_compile"
2975 case "(($ac_try" in
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2978 esac
2979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2980 (eval "$ac_compile") 2>conftest.er1
2981 ac_status=$?
2982 grep -v '^ *+' conftest.er1 >conftest.err
2983 rm -f conftest.er1
2984 cat conftest.err >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } && {
2987 test -z "$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2989 } && test -s conftest.$ac_objext; then
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 ac_c_werror_flag=$ac_save_c_werror_flag
2996 CFLAGS="-g"
2997 cat >conftest.$ac_ext <<_ACEOF
2998 /* confdefs.h. */
2999 _ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h. */
3005 main ()
3009 return 0;
3011 _ACEOF
3012 rm -f conftest.$ac_objext
3013 if { (ac_try="$ac_compile"
3014 case "(($ac_try" in
3015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016 *) ac_try_echo=$ac_try;;
3017 esac
3018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3019 (eval "$ac_compile") 2>conftest.er1
3020 ac_status=$?
3021 grep -v '^ *+' conftest.er1 >conftest.err
3022 rm -f conftest.er1
3023 cat conftest.err >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); } && {
3026 test -z "$ac_c_werror_flag" ||
3027 test ! -s conftest.err
3028 } && test -s conftest.$ac_objext; then
3029 ac_cv_prog_cc_g=yes
3030 else
3031 echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044 ac_c_werror_flag=$ac_save_c_werror_flag
3046 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3047 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3048 if test "$ac_test_CFLAGS" = set; then
3049 CFLAGS=$ac_save_CFLAGS
3050 elif test $ac_cv_prog_cc_g = yes; then
3051 if test "$GCC" = yes; then
3052 CFLAGS="-g -O2"
3053 else
3054 CFLAGS="-g"
3056 else
3057 if test "$GCC" = yes; then
3058 CFLAGS="-O2"
3059 else
3060 CFLAGS=
3063 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3064 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3065 if test "${ac_cv_prog_cc_c89+set}" = set; then
3066 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 else
3068 ac_cv_prog_cc_c89=no
3069 ac_save_CC=$CC
3070 cat >conftest.$ac_ext <<_ACEOF
3071 /* confdefs.h. */
3072 _ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3076 #include <stdarg.h>
3077 #include <stdio.h>
3078 #include <sys/types.h>
3079 #include <sys/stat.h>
3080 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3081 struct buf { int x; };
3082 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3083 static char *e (p, i)
3084 char **p;
3085 int i;
3087 return p[i];
3089 static char *f (char * (*g) (char **, int), char **p, ...)
3091 char *s;
3092 va_list v;
3093 va_start (v,p);
3094 s = g (p, va_arg (v,int));
3095 va_end (v);
3096 return s;
3099 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3100 function prototypes and stuff, but not '\xHH' hex character constants.
3101 These don't provoke an error unfortunately, instead are silently treated
3102 as 'x'. The following induces an error, until -std is added to get
3103 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3104 array size at least. It's necessary to write '\x00'==0 to get something
3105 that's true only with -std. */
3106 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3108 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3109 inside strings and character constants. */
3110 #define FOO(x) 'x'
3111 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3113 int test (int i, double x);
3114 struct s1 {int (*f) (int a);};
3115 struct s2 {int (*f) (double a);};
3116 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3117 int argc;
3118 char **argv;
3120 main ()
3122 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3124 return 0;
3126 _ACEOF
3127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3128 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3130 CC="$ac_save_CC $ac_arg"
3131 rm -f conftest.$ac_objext
3132 if { (ac_try="$ac_compile"
3133 case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3136 esac
3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3138 (eval "$ac_compile") 2>conftest.er1
3139 ac_status=$?
3140 grep -v '^ *+' conftest.er1 >conftest.err
3141 rm -f conftest.er1
3142 cat conftest.err >&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } && {
3145 test -z "$ac_c_werror_flag" ||
3146 test ! -s conftest.err
3147 } && test -s conftest.$ac_objext; then
3148 ac_cv_prog_cc_c89=$ac_arg
3149 else
3150 echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f core conftest.err conftest.$ac_objext
3157 test "x$ac_cv_prog_cc_c89" != "xno" && break
3158 done
3159 rm -f conftest.$ac_ext
3160 CC=$ac_save_CC
3163 # AC_CACHE_VAL
3164 case "x$ac_cv_prog_cc_c89" in
3166 { echo "$as_me:$LINENO: result: none needed" >&5
3167 echo "${ECHO_T}none needed" >&6; } ;;
3168 xno)
3169 { echo "$as_me:$LINENO: result: unsupported" >&5
3170 echo "${ECHO_T}unsupported" >&6; } ;;
3172 CC="$CC $ac_cv_prog_cc_c89"
3173 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3174 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3175 esac
3178 ac_ext=c
3179 ac_cpp='$CPP $CPPFLAGS'
3180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3184 ac_ext=cpp
3185 ac_cpp='$CXXCPP $CPPFLAGS'
3186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3189 if test -z "$CXX"; then
3190 if test -n "$CCC"; then
3191 CXX=$CCC
3192 else
3193 if test -n "$ac_tool_prefix"; then
3194 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3200 if test "${ac_cv_prog_CXX+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3202 else
3203 if test -n "$CXX"; then
3204 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3205 else
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 for as_dir in $PATH
3209 IFS=$as_save_IFS
3210 test -z "$as_dir" && as_dir=.
3211 for ac_exec_ext in '' $ac_executable_extensions; do
3212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3215 break 2
3217 done
3218 done
3219 IFS=$as_save_IFS
3223 CXX=$ac_cv_prog_CXX
3224 if test -n "$CXX"; then
3225 { echo "$as_me:$LINENO: result: $CXX" >&5
3226 echo "${ECHO_T}$CXX" >&6; }
3227 else
3228 { echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6; }
3233 test -n "$CXX" && break
3234 done
3236 if test -z "$CXX"; then
3237 ac_ct_CXX=$CXX
3238 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3240 # Extract the first word of "$ac_prog", so it can be a program name with args.
3241 set dummy $ac_prog; ac_word=$2
3242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3244 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3246 else
3247 if test -n "$ac_ct_CXX"; then
3248 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3249 else
3250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 for as_dir in $PATH
3253 IFS=$as_save_IFS
3254 test -z "$as_dir" && as_dir=.
3255 for ac_exec_ext in '' $ac_executable_extensions; do
3256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3257 ac_cv_prog_ac_ct_CXX="$ac_prog"
3258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 break 2
3261 done
3262 done
3263 IFS=$as_save_IFS
3267 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3268 if test -n "$ac_ct_CXX"; then
3269 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3270 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3271 else
3272 { echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6; }
3277 test -n "$ac_ct_CXX" && break
3278 done
3280 if test "x$ac_ct_CXX" = x; then
3281 CXX="g++"
3282 else
3283 case $cross_compiling:$ac_tool_warned in
3284 yes:)
3285 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3286 whose name does not start with the host triplet. If you think this
3287 configuration is useful to you, please write to autoconf@gnu.org." >&5
3288 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3289 whose name does not start with the host triplet. If you think this
3290 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3291 ac_tool_warned=yes ;;
3292 esac
3293 CXX=$ac_ct_CXX
3299 # Provide some information about the compiler.
3300 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3301 ac_compiler=`set X $ac_compile; echo $2`
3302 { (ac_try="$ac_compiler --version >&5"
3303 case "(($ac_try" in
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3306 esac
3307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308 (eval "$ac_compiler --version >&5") 2>&5
3309 ac_status=$?
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }
3312 { (ac_try="$ac_compiler -v >&5"
3313 case "(($ac_try" in
3314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315 *) ac_try_echo=$ac_try;;
3316 esac
3317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3318 (eval "$ac_compiler -v >&5") 2>&5
3319 ac_status=$?
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }
3322 { (ac_try="$ac_compiler -V >&5"
3323 case "(($ac_try" in
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3326 esac
3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3328 (eval "$ac_compiler -V >&5") 2>&5
3329 ac_status=$?
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }
3333 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3334 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3335 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 else
3338 cat >conftest.$ac_ext <<_ACEOF
3339 /* confdefs.h. */
3340 _ACEOF
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3346 main ()
3348 #ifndef __GNUC__
3349 choke me
3350 #endif
3353 return 0;
3355 _ACEOF
3356 rm -f conftest.$ac_objext
3357 if { (ac_try="$ac_compile"
3358 case "(($ac_try" in
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3361 esac
3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363 (eval "$ac_compile") 2>conftest.er1
3364 ac_status=$?
3365 grep -v '^ *+' conftest.er1 >conftest.err
3366 rm -f conftest.er1
3367 cat conftest.err >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } && {
3370 test -z "$ac_cxx_werror_flag" ||
3371 test ! -s conftest.err
3372 } && test -s conftest.$ac_objext; then
3373 ac_compiler_gnu=yes
3374 else
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3378 ac_compiler_gnu=no
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3385 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3386 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3387 GXX=`test $ac_compiler_gnu = yes && echo yes`
3388 ac_test_CXXFLAGS=${CXXFLAGS+set}
3389 ac_save_CXXFLAGS=$CXXFLAGS
3390 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3391 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3392 if test "${ac_cv_prog_cxx_g+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 else
3395 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3396 ac_cxx_werror_flag=yes
3397 ac_cv_prog_cxx_g=no
3398 CXXFLAGS="-g"
3399 cat >conftest.$ac_ext <<_ACEOF
3400 /* confdefs.h. */
3401 _ACEOF
3402 cat confdefs.h >>conftest.$ac_ext
3403 cat >>conftest.$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3407 main ()
3411 return 0;
3413 _ACEOF
3414 rm -f conftest.$ac_objext
3415 if { (ac_try="$ac_compile"
3416 case "(($ac_try" in
3417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3419 esac
3420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3421 (eval "$ac_compile") 2>conftest.er1
3422 ac_status=$?
3423 grep -v '^ *+' conftest.er1 >conftest.err
3424 rm -f conftest.er1
3425 cat conftest.err >&5
3426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427 (exit $ac_status); } && {
3428 test -z "$ac_cxx_werror_flag" ||
3429 test ! -s conftest.err
3430 } && test -s conftest.$ac_objext; then
3431 ac_cv_prog_cxx_g=yes
3432 else
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3436 CXXFLAGS=""
3437 cat >conftest.$ac_ext <<_ACEOF
3438 /* confdefs.h. */
3439 _ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3445 main ()
3449 return 0;
3451 _ACEOF
3452 rm -f conftest.$ac_objext
3453 if { (ac_try="$ac_compile"
3454 case "(($ac_try" in
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3457 esac
3458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3459 (eval "$ac_compile") 2>conftest.er1
3460 ac_status=$?
3461 grep -v '^ *+' conftest.er1 >conftest.err
3462 rm -f conftest.er1
3463 cat conftest.err >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } && {
3466 test -z "$ac_cxx_werror_flag" ||
3467 test ! -s conftest.err
3468 } && test -s conftest.$ac_objext; then
3470 else
3471 echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3475 CXXFLAGS="-g"
3476 cat >conftest.$ac_ext <<_ACEOF
3477 /* confdefs.h. */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3484 main ()
3488 return 0;
3490 _ACEOF
3491 rm -f conftest.$ac_objext
3492 if { (ac_try="$ac_compile"
3493 case "(($ac_try" in
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3496 esac
3497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_compile") 2>conftest.er1
3499 ac_status=$?
3500 grep -v '^ *+' conftest.er1 >conftest.err
3501 rm -f conftest.er1
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } && {
3505 test -z "$ac_cxx_werror_flag" ||
3506 test ! -s conftest.err
3507 } && test -s conftest.$ac_objext; then
3508 ac_cv_prog_cxx_g=yes
3509 else
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3526 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3527 if test "$ac_test_CXXFLAGS" = set; then
3528 CXXFLAGS=$ac_save_CXXFLAGS
3529 elif test $ac_cv_prog_cxx_g = yes; then
3530 if test "$GXX" = yes; then
3531 CXXFLAGS="-g -O2"
3532 else
3533 CXXFLAGS="-g"
3535 else
3536 if test "$GXX" = yes; then
3537 CXXFLAGS="-O2"
3538 else
3539 CXXFLAGS=
3542 ac_ext=c
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3548 if test -n "$ac_tool_prefix"; then
3549 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3550 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3553 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3555 else
3556 if test -n "$CPPBIN"; then
3557 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3558 else
3559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3560 for as_dir in $PATH
3562 IFS=$as_save_IFS
3563 test -z "$as_dir" && as_dir=.
3564 for ac_exec_ext in '' $ac_executable_extensions; do
3565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3566 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3568 break 2
3570 done
3571 done
3572 IFS=$as_save_IFS
3576 CPPBIN=$ac_cv_prog_CPPBIN
3577 if test -n "$CPPBIN"; then
3578 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3579 echo "${ECHO_T}$CPPBIN" >&6; }
3580 else
3581 { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3587 if test -z "$ac_cv_prog_CPPBIN"; then
3588 ac_ct_CPPBIN=$CPPBIN
3589 # Extract the first word of "cpp", so it can be a program name with args.
3590 set dummy cpp; ac_word=$2
3591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3593 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3595 else
3596 if test -n "$ac_ct_CPPBIN"; then
3597 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3598 else
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH
3602 IFS=$as_save_IFS
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3606 ac_cv_prog_ac_ct_CPPBIN="cpp"
3607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 break 2
3610 done
3611 done
3612 IFS=$as_save_IFS
3616 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3617 if test -n "$ac_ct_CPPBIN"; then
3618 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3619 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3620 else
3621 { echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6; }
3625 if test "x$ac_ct_CPPBIN" = x; then
3626 CPPBIN="cpp"
3627 else
3628 case $cross_compiling:$ac_tool_warned in
3629 yes:)
3630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3631 whose name does not start with the host triplet. If you think this
3632 configuration is useful to you, please write to autoconf@gnu.org." >&5
3633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3634 whose name does not start with the host triplet. If you think this
3635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3636 ac_tool_warned=yes ;;
3637 esac
3638 CPPBIN=$ac_ct_CPPBIN
3640 else
3641 CPPBIN="$ac_cv_prog_CPPBIN"
3645 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3646 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3647 if test "${wine_cv_toolsdir+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3649 else
3650 if test -z "$with_wine_tools"; then
3651 if test "$cross_compiling" = "yes"; then
3652 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3653 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3654 { (exit 1); exit 1; }; }
3655 else
3656 wine_cv_toolsdir="\$(TOPOBJDIR)"
3658 elif test -d "$with_wine_tools/tools/winebuild"; then
3659 case $with_wine_tools in
3660 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3661 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3662 esac
3663 else
3664 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3665 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3666 { (exit 1); exit 1; }; }
3669 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3670 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3671 TOOLSDIR=$wine_cv_toolsdir
3675 ac_ext=c
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3682 # On Suns, sometimes $CPP names a directory.
3683 if test -n "$CPP" && test -d "$CPP"; then
3684 CPP=
3686 if test -z "$CPP"; then
3687 if test "${ac_cv_prog_CPP+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 else
3690 # Double quotes because CPP needs to be expanded
3691 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3693 ac_preproc_ok=false
3694 for ac_c_preproc_warn_flag in '' yes
3696 # Use a header file that comes with gcc, so configuring glibc
3697 # with a fresh cross-compiler works.
3698 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3699 # <limits.h> exists even on freestanding compilers.
3700 # On the NeXT, cc -E runs the code through the compiler's parser,
3701 # not just through cpp. "Syntax error" is here to catch this case.
3702 cat >conftest.$ac_ext <<_ACEOF
3703 /* confdefs.h. */
3704 _ACEOF
3705 cat confdefs.h >>conftest.$ac_ext
3706 cat >>conftest.$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3708 #ifdef __STDC__
3709 # include <limits.h>
3710 #else
3711 # include <assert.h>
3712 #endif
3713 Syntax error
3714 _ACEOF
3715 if { (ac_try="$ac_cpp conftest.$ac_ext"
3716 case "(($ac_try" in
3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718 *) ac_try_echo=$ac_try;;
3719 esac
3720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3722 ac_status=$?
3723 grep -v '^ *+' conftest.er1 >conftest.err
3724 rm -f conftest.er1
3725 cat conftest.err >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); } >/dev/null && {
3728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3729 test ! -s conftest.err
3730 }; then
3732 else
3733 echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 # Broken: fails on valid input.
3737 continue
3740 rm -f conftest.err conftest.$ac_ext
3742 # OK, works on sane cases. Now check whether nonexistent headers
3743 # can be detected and how.
3744 cat >conftest.$ac_ext <<_ACEOF
3745 /* confdefs.h. */
3746 _ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3750 #include <ac_nonexistent.h>
3751 _ACEOF
3752 if { (ac_try="$ac_cpp conftest.$ac_ext"
3753 case "(($ac_try" in
3754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3755 *) ac_try_echo=$ac_try;;
3756 esac
3757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3759 ac_status=$?
3760 grep -v '^ *+' conftest.er1 >conftest.err
3761 rm -f conftest.er1
3762 cat conftest.err >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); } >/dev/null && {
3765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3766 test ! -s conftest.err
3767 }; then
3768 # Broken: success on invalid input.
3769 continue
3770 else
3771 echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3774 # Passes both tests.
3775 ac_preproc_ok=:
3776 break
3779 rm -f conftest.err conftest.$ac_ext
3781 done
3782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3783 rm -f conftest.err conftest.$ac_ext
3784 if $ac_preproc_ok; then
3785 break
3788 done
3789 ac_cv_prog_CPP=$CPP
3792 CPP=$ac_cv_prog_CPP
3793 else
3794 ac_cv_prog_CPP=$CPP
3796 { echo "$as_me:$LINENO: result: $CPP" >&5
3797 echo "${ECHO_T}$CPP" >&6; }
3798 ac_preproc_ok=false
3799 for ac_c_preproc_warn_flag in '' yes
3801 # Use a header file that comes with gcc, so configuring glibc
3802 # with a fresh cross-compiler works.
3803 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3804 # <limits.h> exists even on freestanding compilers.
3805 # On the NeXT, cc -E runs the code through the compiler's parser,
3806 # not just through cpp. "Syntax error" is here to catch this case.
3807 cat >conftest.$ac_ext <<_ACEOF
3808 /* confdefs.h. */
3809 _ACEOF
3810 cat confdefs.h >>conftest.$ac_ext
3811 cat >>conftest.$ac_ext <<_ACEOF
3812 /* end confdefs.h. */
3813 #ifdef __STDC__
3814 # include <limits.h>
3815 #else
3816 # include <assert.h>
3817 #endif
3818 Syntax error
3819 _ACEOF
3820 if { (ac_try="$ac_cpp conftest.$ac_ext"
3821 case "(($ac_try" in
3822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823 *) ac_try_echo=$ac_try;;
3824 esac
3825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3827 ac_status=$?
3828 grep -v '^ *+' conftest.er1 >conftest.err
3829 rm -f conftest.er1
3830 cat conftest.err >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } >/dev/null && {
3833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3834 test ! -s conftest.err
3835 }; then
3837 else
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.$ac_ext >&5
3841 # Broken: fails on valid input.
3842 continue
3845 rm -f conftest.err conftest.$ac_ext
3847 # OK, works on sane cases. Now check whether nonexistent headers
3848 # can be detected and how.
3849 cat >conftest.$ac_ext <<_ACEOF
3850 /* confdefs.h. */
3851 _ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 #include <ac_nonexistent.h>
3856 _ACEOF
3857 if { (ac_try="$ac_cpp conftest.$ac_ext"
3858 case "(($ac_try" in
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3861 esac
3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3864 ac_status=$?
3865 grep -v '^ *+' conftest.er1 >conftest.err
3866 rm -f conftest.er1
3867 cat conftest.err >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } >/dev/null && {
3870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3871 test ! -s conftest.err
3872 }; then
3873 # Broken: success on invalid input.
3874 continue
3875 else
3876 echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.$ac_ext >&5
3879 # Passes both tests.
3880 ac_preproc_ok=:
3881 break
3884 rm -f conftest.err conftest.$ac_ext
3886 done
3887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3888 rm -f conftest.err conftest.$ac_ext
3889 if $ac_preproc_ok; then
3891 else
3892 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3893 See \`config.log' for more details." >&5
3894 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3895 See \`config.log' for more details." >&2;}
3896 { (exit 1); exit 1; }; }
3899 ac_ext=c
3900 ac_cpp='$CPP $CPPFLAGS'
3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3906 { echo "$as_me:$LINENO: checking for X" >&5
3907 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3910 # Check whether --with-x was given.
3911 if test "${with_x+set}" = set; then
3912 withval=$with_x;
3915 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3916 if test "x$with_x" = xno; then
3917 # The user explicitly disabled X.
3918 have_x=disabled
3919 else
3920 case $x_includes,$x_libraries in #(
3921 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3922 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3923 { (exit 1); exit 1; }; };; #(
3924 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 else
3927 # One or both of the vars are not set, and there is no cached value.
3928 ac_x_includes=no ac_x_libraries=no
3929 rm -f -r conftest.dir
3930 if mkdir conftest.dir; then
3931 cd conftest.dir
3932 cat >Imakefile <<'_ACEOF'
3933 incroot:
3934 @echo incroot='${INCROOT}'
3935 usrlibdir:
3936 @echo usrlibdir='${USRLIBDIR}'
3937 libdir:
3938 @echo libdir='${LIBDIR}'
3939 _ACEOF
3940 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3941 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3942 for ac_var in incroot usrlibdir libdir; do
3943 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3944 done
3945 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3946 for ac_extension in a so sl; do
3947 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3948 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3949 ac_im_usrlibdir=$ac_im_libdir; break
3951 done
3952 # Screen out bogus values from the imake configuration. They are
3953 # bogus both because they are the default anyway, and because
3954 # using them would break gcc on systems where it needs fixed includes.
3955 case $ac_im_incroot in
3956 /usr/include) ac_x_includes= ;;
3957 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3958 esac
3959 case $ac_im_usrlibdir in
3960 /usr/lib | /lib) ;;
3961 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3962 esac
3964 cd ..
3965 rm -f -r conftest.dir
3968 # Standard set of common directories for X headers.
3969 # Check X11 before X11Rn because it is often a symlink to the current release.
3970 ac_x_header_dirs='
3971 /usr/X11/include
3972 /usr/X11R6/include
3973 /usr/X11R5/include
3974 /usr/X11R4/include
3976 /usr/include/X11
3977 /usr/include/X11R6
3978 /usr/include/X11R5
3979 /usr/include/X11R4
3981 /usr/local/X11/include
3982 /usr/local/X11R6/include
3983 /usr/local/X11R5/include
3984 /usr/local/X11R4/include
3986 /usr/local/include/X11
3987 /usr/local/include/X11R6
3988 /usr/local/include/X11R5
3989 /usr/local/include/X11R4
3991 /usr/X386/include
3992 /usr/x386/include
3993 /usr/XFree86/include/X11
3995 /usr/include
3996 /usr/local/include
3997 /usr/unsupported/include
3998 /usr/athena/include
3999 /usr/local/x11r5/include
4000 /usr/lpp/Xamples/include
4002 /usr/openwin/include
4003 /usr/openwin/share/include'
4005 if test "$ac_x_includes" = no; then
4006 # Guess where to find include files, by looking for Xlib.h.
4007 # First, try using that file with no special directory specified.
4008 cat >conftest.$ac_ext <<_ACEOF
4009 /* confdefs.h. */
4010 _ACEOF
4011 cat confdefs.h >>conftest.$ac_ext
4012 cat >>conftest.$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 #include <X11/Xlib.h>
4015 _ACEOF
4016 if { (ac_try="$ac_cpp conftest.$ac_ext"
4017 case "(($ac_try" in
4018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019 *) ac_try_echo=$ac_try;;
4020 esac
4021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4022 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4023 ac_status=$?
4024 grep -v '^ *+' conftest.er1 >conftest.err
4025 rm -f conftest.er1
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } >/dev/null && {
4029 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4030 test ! -s conftest.err
4031 }; then
4032 # We can compile using X headers with no special include directory.
4033 ac_x_includes=
4034 else
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.$ac_ext >&5
4038 for ac_dir in $ac_x_header_dirs; do
4039 if test -r "$ac_dir/X11/Xlib.h"; then
4040 ac_x_includes=$ac_dir
4041 break
4043 done
4046 rm -f conftest.err conftest.$ac_ext
4047 fi # $ac_x_includes = no
4049 if test "$ac_x_libraries" = no; then
4050 # Check for the libraries.
4051 # See if we find them without any special options.
4052 # Don't add to $LIBS permanently.
4053 ac_save_LIBS=$LIBS
4054 LIBS="-lX11 $LIBS"
4055 cat >conftest.$ac_ext <<_ACEOF
4056 /* confdefs.h. */
4057 _ACEOF
4058 cat confdefs.h >>conftest.$ac_ext
4059 cat >>conftest.$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4061 #include <X11/Xlib.h>
4063 main ()
4065 XrmInitialize ()
4067 return 0;
4069 _ACEOF
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4072 case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4078 ac_status=$?
4079 grep -v '^ *+' conftest.er1 >conftest.err
4080 rm -f conftest.er1
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4088 LIBS=$ac_save_LIBS
4089 # We can link X programs with no special library path.
4090 ac_x_libraries=
4091 else
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4095 LIBS=$ac_save_LIBS
4096 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4098 # Don't even attempt the hair of trying to link an X program!
4099 for ac_extension in a so sl; do
4100 if test -r "$ac_dir/libX11.$ac_extension"; then
4101 ac_x_libraries=$ac_dir
4102 break 2
4104 done
4105 done
4108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4109 conftest$ac_exeext conftest.$ac_ext
4110 fi # $ac_x_libraries = no
4112 case $ac_x_includes,$ac_x_libraries in #(
4113 no,* | *,no | *\'*)
4114 # Didn't find X, or a directory has "'" in its name.
4115 ac_cv_have_x="have_x=no";; #(
4117 # Record where we found X for the cache.
4118 ac_cv_have_x="have_x=yes\
4119 ac_x_includes='$ac_x_includes'\
4120 ac_x_libraries='$ac_x_libraries'"
4121 esac
4123 ;; #(
4124 *) have_x=yes;;
4125 esac
4126 eval "$ac_cv_have_x"
4127 fi # $with_x != no
4129 if test "$have_x" != yes; then
4130 { echo "$as_me:$LINENO: result: $have_x" >&5
4131 echo "${ECHO_T}$have_x" >&6; }
4132 no_x=yes
4133 else
4134 # If each of the values was on the command line, it overrides each guess.
4135 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4136 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4137 # Update the cache value to reflect the command line values.
4138 ac_cv_have_x="have_x=yes\
4139 ac_x_includes='$x_includes'\
4140 ac_x_libraries='$x_libraries'"
4141 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4142 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4145 if test "$no_x" = yes; then
4146 # Not all programs may use this symbol, but it does not hurt to define it.
4148 cat >>confdefs.h <<\_ACEOF
4149 #define X_DISPLAY_MISSING 1
4150 _ACEOF
4152 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4153 else
4154 if test -n "$x_includes"; then
4155 X_CFLAGS="$X_CFLAGS -I$x_includes"
4158 # It would also be nice to do this for all -L options, not just this one.
4159 if test -n "$x_libraries"; then
4160 X_LIBS="$X_LIBS -L$x_libraries"
4161 # For Solaris; some versions of Sun CC require a space after -R and
4162 # others require no space. Words are not sufficient . . . .
4163 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4164 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4165 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4166 ac_xsave_c_werror_flag=$ac_c_werror_flag
4167 ac_c_werror_flag=yes
4168 cat >conftest.$ac_ext <<_ACEOF
4169 /* confdefs.h. */
4170 _ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4176 main ()
4180 return 0;
4182 _ACEOF
4183 rm -f conftest.$ac_objext conftest$ac_exeext
4184 if { (ac_try="$ac_link"
4185 case "(($ac_try" in
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4188 esac
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 (eval "$ac_link") 2>conftest.er1
4191 ac_status=$?
4192 grep -v '^ *+' conftest.er1 >conftest.err
4193 rm -f conftest.er1
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } && {
4197 test -z "$ac_c_werror_flag" ||
4198 test ! -s conftest.err
4199 } && test -s conftest$ac_exeext &&
4200 $as_test_x conftest$ac_exeext; then
4201 { echo "$as_me:$LINENO: result: no" >&5
4202 echo "${ECHO_T}no" >&6; }
4203 X_LIBS="$X_LIBS -R$x_libraries"
4204 else
4205 echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.$ac_ext >&5
4208 LIBS="$ac_xsave_LIBS -R $x_libraries"
4209 cat >conftest.$ac_ext <<_ACEOF
4210 /* confdefs.h. */
4211 _ACEOF
4212 cat confdefs.h >>conftest.$ac_ext
4213 cat >>conftest.$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4217 main ()
4221 return 0;
4223 _ACEOF
4224 rm -f conftest.$ac_objext conftest$ac_exeext
4225 if { (ac_try="$ac_link"
4226 case "(($ac_try" in
4227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228 *) ac_try_echo=$ac_try;;
4229 esac
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231 (eval "$ac_link") 2>conftest.er1
4232 ac_status=$?
4233 grep -v '^ *+' conftest.er1 >conftest.err
4234 rm -f conftest.er1
4235 cat conftest.err >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } && {
4238 test -z "$ac_c_werror_flag" ||
4239 test ! -s conftest.err
4240 } && test -s conftest$ac_exeext &&
4241 $as_test_x conftest$ac_exeext; then
4242 { echo "$as_me:$LINENO: result: yes" >&5
4243 echo "${ECHO_T}yes" >&6; }
4244 X_LIBS="$X_LIBS -R $x_libraries"
4245 else
4246 echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4249 { echo "$as_me:$LINENO: result: neither works" >&5
4250 echo "${ECHO_T}neither works" >&6; }
4253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4254 conftest$ac_exeext conftest.$ac_ext
4257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4258 conftest$ac_exeext conftest.$ac_ext
4259 ac_c_werror_flag=$ac_xsave_c_werror_flag
4260 LIBS=$ac_xsave_LIBS
4263 # Check for system-dependent libraries X programs must link with.
4264 # Do this before checking for the system-independent R6 libraries
4265 # (-lICE), since we may need -lsocket or whatever for X linking.
4267 if test "$ISC" = yes; then
4268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4269 else
4270 # Martyn Johnson says this is needed for Ultrix, if the X
4271 # libraries were built with DECnet support. And Karl Berry says
4272 # the Alpha needs dnet_stub (dnet does not exist).
4273 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4274 cat >conftest.$ac_ext <<_ACEOF
4275 /* confdefs.h. */
4276 _ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4281 /* Override any GCC internal prototype to avoid an error.
4282 Use char because int might match the return type of a GCC
4283 builtin and then its argument prototype would still apply. */
4284 #ifdef __cplusplus
4285 extern "C"
4286 #endif
4287 char XOpenDisplay ();
4289 main ()
4291 return XOpenDisplay ();
4293 return 0;
4295 _ACEOF
4296 rm -f conftest.$ac_objext conftest$ac_exeext
4297 if { (ac_try="$ac_link"
4298 case "(($ac_try" in
4299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300 *) ac_try_echo=$ac_try;;
4301 esac
4302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4303 (eval "$ac_link") 2>conftest.er1
4304 ac_status=$?
4305 grep -v '^ *+' conftest.er1 >conftest.err
4306 rm -f conftest.er1
4307 cat conftest.err >&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); } && {
4310 test -z "$ac_c_werror_flag" ||
4311 test ! -s conftest.err
4312 } && test -s conftest$ac_exeext &&
4313 $as_test_x conftest$ac_exeext; then
4315 else
4316 echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.$ac_ext >&5
4319 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4320 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4321 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4322 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 else
4324 ac_check_lib_save_LIBS=$LIBS
4325 LIBS="-ldnet $LIBS"
4326 cat >conftest.$ac_ext <<_ACEOF
4327 /* confdefs.h. */
4328 _ACEOF
4329 cat confdefs.h >>conftest.$ac_ext
4330 cat >>conftest.$ac_ext <<_ACEOF
4331 /* end confdefs.h. */
4333 /* Override any GCC internal prototype to avoid an error.
4334 Use char because int might match the return type of a GCC
4335 builtin and then its argument prototype would still apply. */
4336 #ifdef __cplusplus
4337 extern "C"
4338 #endif
4339 char dnet_ntoa ();
4341 main ()
4343 return dnet_ntoa ();
4345 return 0;
4347 _ACEOF
4348 rm -f conftest.$ac_objext conftest$ac_exeext
4349 if { (ac_try="$ac_link"
4350 case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4353 esac
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_link") 2>conftest.er1
4356 ac_status=$?
4357 grep -v '^ *+' conftest.er1 >conftest.err
4358 rm -f conftest.er1
4359 cat conftest.err >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } && {
4362 test -z "$ac_c_werror_flag" ||
4363 test ! -s conftest.err
4364 } && test -s conftest$ac_exeext &&
4365 $as_test_x conftest$ac_exeext; then
4366 ac_cv_lib_dnet_dnet_ntoa=yes
4367 else
4368 echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.$ac_ext >&5
4371 ac_cv_lib_dnet_dnet_ntoa=no
4374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4375 conftest$ac_exeext conftest.$ac_ext
4376 LIBS=$ac_check_lib_save_LIBS
4378 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4379 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4380 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4381 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4384 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4385 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4386 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4387 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 else
4390 ac_check_lib_save_LIBS=$LIBS
4391 LIBS="-ldnet_stub $LIBS"
4392 cat >conftest.$ac_ext <<_ACEOF
4393 /* confdefs.h. */
4394 _ACEOF
4395 cat confdefs.h >>conftest.$ac_ext
4396 cat >>conftest.$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4399 /* Override any GCC internal prototype to avoid an error.
4400 Use char because int might match the return type of a GCC
4401 builtin and then its argument prototype would still apply. */
4402 #ifdef __cplusplus
4403 extern "C"
4404 #endif
4405 char dnet_ntoa ();
4407 main ()
4409 return dnet_ntoa ();
4411 return 0;
4413 _ACEOF
4414 rm -f conftest.$ac_objext conftest$ac_exeext
4415 if { (ac_try="$ac_link"
4416 case "(($ac_try" in
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4419 esac
4420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4421 (eval "$ac_link") 2>conftest.er1
4422 ac_status=$?
4423 grep -v '^ *+' conftest.er1 >conftest.err
4424 rm -f conftest.er1
4425 cat conftest.err >&5
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); } && {
4428 test -z "$ac_c_werror_flag" ||
4429 test ! -s conftest.err
4430 } && test -s conftest$ac_exeext &&
4431 $as_test_x conftest$ac_exeext; then
4432 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4433 else
4434 echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4437 ac_cv_lib_dnet_stub_dnet_ntoa=no
4440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4441 conftest$ac_exeext conftest.$ac_ext
4442 LIBS=$ac_check_lib_save_LIBS
4444 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4445 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4446 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4447 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4454 conftest$ac_exeext conftest.$ac_ext
4455 LIBS="$ac_xsave_LIBS"
4457 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4458 # to get the SysV transport functions.
4459 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4460 # needs -lnsl.
4461 # The nsl library prevents programs from opening the X display
4462 # on Irix 5.2, according to T.E. Dickey.
4463 # The functions gethostbyname, getservbyname, and inet_addr are
4464 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4465 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4466 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4467 if test "${ac_cv_func_gethostbyname+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 else
4470 cat >conftest.$ac_ext <<_ACEOF
4471 /* confdefs.h. */
4472 _ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4478 #define gethostbyname innocuous_gethostbyname
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char gethostbyname (); below.
4482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483 <limits.h> exists even on freestanding compilers. */
4485 #ifdef __STDC__
4486 # include <limits.h>
4487 #else
4488 # include <assert.h>
4489 #endif
4491 #undef gethostbyname
4493 /* Override any GCC internal prototype to avoid an error.
4494 Use char because int might match the return type of a GCC
4495 builtin and then its argument prototype would still apply. */
4496 #ifdef __cplusplus
4497 extern "C"
4498 #endif
4499 char gethostbyname ();
4500 /* The GNU C library defines this for functions which it implements
4501 to always fail with ENOSYS. Some functions are actually named
4502 something starting with __ and the normal name is an alias. */
4503 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4504 choke me
4505 #endif
4508 main ()
4510 return gethostbyname ();
4512 return 0;
4514 _ACEOF
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (ac_try="$ac_link"
4517 case "(($ac_try" in
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4520 esac
4521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522 (eval "$ac_link") 2>conftest.er1
4523 ac_status=$?
4524 grep -v '^ *+' conftest.er1 >conftest.err
4525 rm -f conftest.er1
4526 cat conftest.err >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } && {
4529 test -z "$ac_c_werror_flag" ||
4530 test ! -s conftest.err
4531 } && test -s conftest$ac_exeext &&
4532 $as_test_x conftest$ac_exeext; then
4533 ac_cv_func_gethostbyname=yes
4534 else
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 ac_cv_func_gethostbyname=no
4541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4542 conftest$ac_exeext conftest.$ac_ext
4544 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4545 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4547 if test $ac_cv_func_gethostbyname = no; then
4548 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4549 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4550 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 else
4553 ac_check_lib_save_LIBS=$LIBS
4554 LIBS="-lnsl $LIBS"
4555 cat >conftest.$ac_ext <<_ACEOF
4556 /* confdefs.h. */
4557 _ACEOF
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4562 /* Override any GCC internal prototype to avoid an error.
4563 Use char because int might match the return type of a GCC
4564 builtin and then its argument prototype would still apply. */
4565 #ifdef __cplusplus
4566 extern "C"
4567 #endif
4568 char gethostbyname ();
4570 main ()
4572 return gethostbyname ();
4574 return 0;
4576 _ACEOF
4577 rm -f conftest.$ac_objext conftest$ac_exeext
4578 if { (ac_try="$ac_link"
4579 case "(($ac_try" in
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4582 esac
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_link") 2>conftest.er1
4585 ac_status=$?
4586 grep -v '^ *+' conftest.er1 >conftest.err
4587 rm -f conftest.er1
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && {
4591 test -z "$ac_c_werror_flag" ||
4592 test ! -s conftest.err
4593 } && test -s conftest$ac_exeext &&
4594 $as_test_x conftest$ac_exeext; then
4595 ac_cv_lib_nsl_gethostbyname=yes
4596 else
4597 echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 ac_cv_lib_nsl_gethostbyname=no
4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4608 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4609 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4610 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4613 if test $ac_cv_lib_nsl_gethostbyname = no; then
4614 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4615 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4616 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 ac_check_lib_save_LIBS=$LIBS
4620 LIBS="-lbsd $LIBS"
4621 cat >conftest.$ac_ext <<_ACEOF
4622 /* confdefs.h. */
4623 _ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4628 /* Override any GCC internal prototype to avoid an error.
4629 Use char because int might match the return type of a GCC
4630 builtin and then its argument prototype would still apply. */
4631 #ifdef __cplusplus
4632 extern "C"
4633 #endif
4634 char gethostbyname ();
4636 main ()
4638 return gethostbyname ();
4640 return 0;
4642 _ACEOF
4643 rm -f conftest.$ac_objext conftest$ac_exeext
4644 if { (ac_try="$ac_link"
4645 case "(($ac_try" in
4646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647 *) ac_try_echo=$ac_try;;
4648 esac
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650 (eval "$ac_link") 2>conftest.er1
4651 ac_status=$?
4652 grep -v '^ *+' conftest.er1 >conftest.err
4653 rm -f conftest.er1
4654 cat conftest.err >&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); } && {
4657 test -z "$ac_c_werror_flag" ||
4658 test ! -s conftest.err
4659 } && test -s conftest$ac_exeext &&
4660 $as_test_x conftest$ac_exeext; then
4661 ac_cv_lib_bsd_gethostbyname=yes
4662 else
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4666 ac_cv_lib_bsd_gethostbyname=no
4669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4670 conftest$ac_exeext conftest.$ac_ext
4671 LIBS=$ac_check_lib_save_LIBS
4673 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4674 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4675 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4676 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4682 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4683 # socket/setsockopt and other routines are undefined under SCO ODT
4684 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4685 # on later versions), says Simon Leinen: it contains gethostby*
4686 # variants that don't use the name server (or something). -lsocket
4687 # must be given before -lnsl if both are needed. We assume that
4688 # if connect needs -lnsl, so does gethostbyname.
4689 { echo "$as_me:$LINENO: checking for connect" >&5
4690 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4691 if test "${ac_cv_func_connect+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 else
4694 cat >conftest.$ac_ext <<_ACEOF
4695 /* confdefs.h. */
4696 _ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4700 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4702 #define connect innocuous_connect
4704 /* System header to define __stub macros and hopefully few prototypes,
4705 which can conflict with char connect (); below.
4706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4707 <limits.h> exists even on freestanding compilers. */
4709 #ifdef __STDC__
4710 # include <limits.h>
4711 #else
4712 # include <assert.h>
4713 #endif
4715 #undef connect
4717 /* Override any GCC internal prototype to avoid an error.
4718 Use char because int might match the return type of a GCC
4719 builtin and then its argument prototype would still apply. */
4720 #ifdef __cplusplus
4721 extern "C"
4722 #endif
4723 char connect ();
4724 /* The GNU C library defines this for functions which it implements
4725 to always fail with ENOSYS. Some functions are actually named
4726 something starting with __ and the normal name is an alias. */
4727 #if defined __stub_connect || defined __stub___connect
4728 choke me
4729 #endif
4732 main ()
4734 return connect ();
4736 return 0;
4738 _ACEOF
4739 rm -f conftest.$ac_objext conftest$ac_exeext
4740 if { (ac_try="$ac_link"
4741 case "(($ac_try" in
4742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743 *) ac_try_echo=$ac_try;;
4744 esac
4745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4746 (eval "$ac_link") 2>conftest.er1
4747 ac_status=$?
4748 grep -v '^ *+' conftest.er1 >conftest.err
4749 rm -f conftest.er1
4750 cat conftest.err >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } && {
4753 test -z "$ac_c_werror_flag" ||
4754 test ! -s conftest.err
4755 } && test -s conftest$ac_exeext &&
4756 $as_test_x conftest$ac_exeext; then
4757 ac_cv_func_connect=yes
4758 else
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4762 ac_cv_func_connect=no
4765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4766 conftest$ac_exeext conftest.$ac_ext
4768 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4769 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4771 if test $ac_cv_func_connect = no; then
4772 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4773 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4774 if test "${ac_cv_lib_socket_connect+set}" = set; then
4775 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 else
4777 ac_check_lib_save_LIBS=$LIBS
4778 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4779 cat >conftest.$ac_ext <<_ACEOF
4780 /* confdefs.h. */
4781 _ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h. */
4786 /* Override any GCC internal prototype to avoid an error.
4787 Use char because int might match the return type of a GCC
4788 builtin and then its argument prototype would still apply. */
4789 #ifdef __cplusplus
4790 extern "C"
4791 #endif
4792 char connect ();
4794 main ()
4796 return connect ();
4798 return 0;
4800 _ACEOF
4801 rm -f conftest.$ac_objext conftest$ac_exeext
4802 if { (ac_try="$ac_link"
4803 case "(($ac_try" in
4804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805 *) ac_try_echo=$ac_try;;
4806 esac
4807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4808 (eval "$ac_link") 2>conftest.er1
4809 ac_status=$?
4810 grep -v '^ *+' conftest.er1 >conftest.err
4811 rm -f conftest.er1
4812 cat conftest.err >&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } && {
4815 test -z "$ac_c_werror_flag" ||
4816 test ! -s conftest.err
4817 } && test -s conftest$ac_exeext &&
4818 $as_test_x conftest$ac_exeext; then
4819 ac_cv_lib_socket_connect=yes
4820 else
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.$ac_ext >&5
4824 ac_cv_lib_socket_connect=no
4827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4828 conftest$ac_exeext conftest.$ac_ext
4829 LIBS=$ac_check_lib_save_LIBS
4831 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4832 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4833 if test $ac_cv_lib_socket_connect = yes; then
4834 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4839 # Guillermo Gomez says -lposix is necessary on A/UX.
4840 { echo "$as_me:$LINENO: checking for remove" >&5
4841 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4842 if test "${ac_cv_func_remove+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 else
4845 cat >conftest.$ac_ext <<_ACEOF
4846 /* confdefs.h. */
4847 _ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4851 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4853 #define remove innocuous_remove
4855 /* System header to define __stub macros and hopefully few prototypes,
4856 which can conflict with char remove (); below.
4857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4858 <limits.h> exists even on freestanding compilers. */
4860 #ifdef __STDC__
4861 # include <limits.h>
4862 #else
4863 # include <assert.h>
4864 #endif
4866 #undef remove
4868 /* Override any GCC internal prototype to avoid an error.
4869 Use char because int might match the return type of a GCC
4870 builtin and then its argument prototype would still apply. */
4871 #ifdef __cplusplus
4872 extern "C"
4873 #endif
4874 char remove ();
4875 /* The GNU C library defines this for functions which it implements
4876 to always fail with ENOSYS. Some functions are actually named
4877 something starting with __ and the normal name is an alias. */
4878 #if defined __stub_remove || defined __stub___remove
4879 choke me
4880 #endif
4883 main ()
4885 return remove ();
4887 return 0;
4889 _ACEOF
4890 rm -f conftest.$ac_objext conftest$ac_exeext
4891 if { (ac_try="$ac_link"
4892 case "(($ac_try" in
4893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894 *) ac_try_echo=$ac_try;;
4895 esac
4896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4897 (eval "$ac_link") 2>conftest.er1
4898 ac_status=$?
4899 grep -v '^ *+' conftest.er1 >conftest.err
4900 rm -f conftest.er1
4901 cat conftest.err >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); } && {
4904 test -z "$ac_c_werror_flag" ||
4905 test ! -s conftest.err
4906 } && test -s conftest$ac_exeext &&
4907 $as_test_x conftest$ac_exeext; then
4908 ac_cv_func_remove=yes
4909 else
4910 echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4913 ac_cv_func_remove=no
4916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4917 conftest$ac_exeext conftest.$ac_ext
4919 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4920 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4922 if test $ac_cv_func_remove = no; then
4923 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4924 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4925 if test "${ac_cv_lib_posix_remove+set}" = set; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4927 else
4928 ac_check_lib_save_LIBS=$LIBS
4929 LIBS="-lposix $LIBS"
4930 cat >conftest.$ac_ext <<_ACEOF
4931 /* confdefs.h. */
4932 _ACEOF
4933 cat confdefs.h >>conftest.$ac_ext
4934 cat >>conftest.$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4937 /* Override any GCC internal prototype to avoid an error.
4938 Use char because int might match the return type of a GCC
4939 builtin and then its argument prototype would still apply. */
4940 #ifdef __cplusplus
4941 extern "C"
4942 #endif
4943 char remove ();
4945 main ()
4947 return remove ();
4949 return 0;
4951 _ACEOF
4952 rm -f conftest.$ac_objext conftest$ac_exeext
4953 if { (ac_try="$ac_link"
4954 case "(($ac_try" in
4955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4956 *) ac_try_echo=$ac_try;;
4957 esac
4958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4959 (eval "$ac_link") 2>conftest.er1
4960 ac_status=$?
4961 grep -v '^ *+' conftest.er1 >conftest.err
4962 rm -f conftest.er1
4963 cat conftest.err >&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); } && {
4966 test -z "$ac_c_werror_flag" ||
4967 test ! -s conftest.err
4968 } && test -s conftest$ac_exeext &&
4969 $as_test_x conftest$ac_exeext; then
4970 ac_cv_lib_posix_remove=yes
4971 else
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4975 ac_cv_lib_posix_remove=no
4978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4979 conftest$ac_exeext conftest.$ac_ext
4980 LIBS=$ac_check_lib_save_LIBS
4982 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4983 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4984 if test $ac_cv_lib_posix_remove = yes; then
4985 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4990 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4991 { echo "$as_me:$LINENO: checking for shmat" >&5
4992 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4993 if test "${ac_cv_func_shmat+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 else
4996 cat >conftest.$ac_ext <<_ACEOF
4997 /* confdefs.h. */
4998 _ACEOF
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h. */
5002 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5004 #define shmat innocuous_shmat
5006 /* System header to define __stub macros and hopefully few prototypes,
5007 which can conflict with char shmat (); below.
5008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5009 <limits.h> exists even on freestanding compilers. */
5011 #ifdef __STDC__
5012 # include <limits.h>
5013 #else
5014 # include <assert.h>
5015 #endif
5017 #undef shmat
5019 /* Override any GCC internal prototype to avoid an error.
5020 Use char because int might match the return type of a GCC
5021 builtin and then its argument prototype would still apply. */
5022 #ifdef __cplusplus
5023 extern "C"
5024 #endif
5025 char shmat ();
5026 /* The GNU C library defines this for functions which it implements
5027 to always fail with ENOSYS. Some functions are actually named
5028 something starting with __ and the normal name is an alias. */
5029 #if defined __stub_shmat || defined __stub___shmat
5030 choke me
5031 #endif
5034 main ()
5036 return shmat ();
5038 return 0;
5040 _ACEOF
5041 rm -f conftest.$ac_objext conftest$ac_exeext
5042 if { (ac_try="$ac_link"
5043 case "(($ac_try" in
5044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045 *) ac_try_echo=$ac_try;;
5046 esac
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048 (eval "$ac_link") 2>conftest.er1
5049 ac_status=$?
5050 grep -v '^ *+' conftest.er1 >conftest.err
5051 rm -f conftest.er1
5052 cat conftest.err >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest$ac_exeext &&
5058 $as_test_x conftest$ac_exeext; then
5059 ac_cv_func_shmat=yes
5060 else
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5064 ac_cv_func_shmat=no
5067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5068 conftest$ac_exeext conftest.$ac_ext
5070 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5071 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5073 if test $ac_cv_func_shmat = no; then
5074 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5075 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5076 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 else
5079 ac_check_lib_save_LIBS=$LIBS
5080 LIBS="-lipc $LIBS"
5081 cat >conftest.$ac_ext <<_ACEOF
5082 /* confdefs.h. */
5083 _ACEOF
5084 cat confdefs.h >>conftest.$ac_ext
5085 cat >>conftest.$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5088 /* Override any GCC internal prototype to avoid an error.
5089 Use char because int might match the return type of a GCC
5090 builtin and then its argument prototype would still apply. */
5091 #ifdef __cplusplus
5092 extern "C"
5093 #endif
5094 char shmat ();
5096 main ()
5098 return shmat ();
5100 return 0;
5102 _ACEOF
5103 rm -f conftest.$ac_objext conftest$ac_exeext
5104 if { (ac_try="$ac_link"
5105 case "(($ac_try" in
5106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5108 esac
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_link") 2>conftest.er1
5111 ac_status=$?
5112 grep -v '^ *+' conftest.er1 >conftest.err
5113 rm -f conftest.er1
5114 cat conftest.err >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } && {
5117 test -z "$ac_c_werror_flag" ||
5118 test ! -s conftest.err
5119 } && test -s conftest$ac_exeext &&
5120 $as_test_x conftest$ac_exeext; then
5121 ac_cv_lib_ipc_shmat=yes
5122 else
5123 echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5126 ac_cv_lib_ipc_shmat=no
5129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5130 conftest$ac_exeext conftest.$ac_ext
5131 LIBS=$ac_check_lib_save_LIBS
5133 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5134 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5135 if test $ac_cv_lib_ipc_shmat = yes; then
5136 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5142 # Check for libraries that X11R6 Xt/Xaw programs need.
5143 ac_save_LDFLAGS=$LDFLAGS
5144 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5145 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5146 # check for ICE first), but we must link in the order -lSM -lICE or
5147 # we get undefined symbols. So assume we have SM if we have ICE.
5148 # These have to be linked with before -lX11, unlike the other
5149 # libraries we check for below, so use a different variable.
5150 # John Interrante, Karl Berry
5151 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5152 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5153 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 else
5156 ac_check_lib_save_LIBS=$LIBS
5157 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5158 cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h. */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5165 /* Override any GCC internal prototype to avoid an error.
5166 Use char because int might match the return type of a GCC
5167 builtin and then its argument prototype would still apply. */
5168 #ifdef __cplusplus
5169 extern "C"
5170 #endif
5171 char IceConnectionNumber ();
5173 main ()
5175 return IceConnectionNumber ();
5177 return 0;
5179 _ACEOF
5180 rm -f conftest.$ac_objext conftest$ac_exeext
5181 if { (ac_try="$ac_link"
5182 case "(($ac_try" in
5183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5184 *) ac_try_echo=$ac_try;;
5185 esac
5186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5187 (eval "$ac_link") 2>conftest.er1
5188 ac_status=$?
5189 grep -v '^ *+' conftest.er1 >conftest.err
5190 rm -f conftest.er1
5191 cat conftest.err >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); } && {
5194 test -z "$ac_c_werror_flag" ||
5195 test ! -s conftest.err
5196 } && test -s conftest$ac_exeext &&
5197 $as_test_x conftest$ac_exeext; then
5198 ac_cv_lib_ICE_IceConnectionNumber=yes
5199 else
5200 echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.$ac_ext >&5
5203 ac_cv_lib_ICE_IceConnectionNumber=no
5206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5207 conftest$ac_exeext conftest.$ac_ext
5208 LIBS=$ac_check_lib_save_LIBS
5210 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5211 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5212 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5213 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5216 LDFLAGS=$ac_save_LDFLAGS
5221 for ac_prog in flex
5223 # Extract the first word of "$ac_prog", so it can be a program name with args.
5224 set dummy $ac_prog; ac_word=$2
5225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5227 if test "${ac_cv_prog_FLEX+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 else
5230 if test -n "$FLEX"; then
5231 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5232 else
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 for as_dir in $PATH
5236 IFS=$as_save_IFS
5237 test -z "$as_dir" && as_dir=.
5238 for ac_exec_ext in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_FLEX="$ac_prog"
5241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5242 break 2
5244 done
5245 done
5246 IFS=$as_save_IFS
5250 FLEX=$ac_cv_prog_FLEX
5251 if test -n "$FLEX"; then
5252 { echo "$as_me:$LINENO: result: $FLEX" >&5
5253 echo "${ECHO_T}$FLEX" >&6; }
5254 else
5255 { echo "$as_me:$LINENO: result: no" >&5
5256 echo "${ECHO_T}no" >&6; }
5260 test -n "$FLEX" && break
5261 done
5262 test -n "$FLEX" || FLEX="none"
5264 if test "$FLEX" = "none"
5265 then
5266 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5267 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5268 { (exit 1); exit 1; }; }
5271 for ac_prog in bison
5273 # Extract the first word of "$ac_prog", so it can be a program name with args.
5274 set dummy $ac_prog; ac_word=$2
5275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5277 if test "${ac_cv_prog_BISON+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 else
5280 if test -n "$BISON"; then
5281 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5282 else
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 for as_dir in $PATH
5286 IFS=$as_save_IFS
5287 test -z "$as_dir" && as_dir=.
5288 for ac_exec_ext in '' $ac_executable_extensions; do
5289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5290 ac_cv_prog_BISON="$ac_prog"
5291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 break 2
5294 done
5295 done
5296 IFS=$as_save_IFS
5300 BISON=$ac_cv_prog_BISON
5301 if test -n "$BISON"; then
5302 { echo "$as_me:$LINENO: result: $BISON" >&5
5303 echo "${ECHO_T}$BISON" >&6; }
5304 else
5305 { echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6; }
5310 test -n "$BISON" && break
5311 done
5312 test -n "$BISON" || BISON="none"
5314 if test "$BISON" = "none"
5315 then
5316 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5317 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5318 { (exit 1); exit 1; }; }
5321 if test -n "$ac_tool_prefix"; then
5322 for ac_prog in gas as
5324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5328 if test "${ac_cv_prog_AS+set}" = set; then
5329 echo $ECHO_N "(cached) $ECHO_C" >&6
5330 else
5331 if test -n "$AS"; then
5332 ac_cv_prog_AS="$AS" # Let the user override the test.
5333 else
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5337 IFS=$as_save_IFS
5338 test -z "$as_dir" && as_dir=.
5339 for ac_exec_ext in '' $ac_executable_extensions; do
5340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 break 2
5345 done
5346 done
5347 IFS=$as_save_IFS
5351 AS=$ac_cv_prog_AS
5352 if test -n "$AS"; then
5353 { echo "$as_me:$LINENO: result: $AS" >&5
5354 echo "${ECHO_T}$AS" >&6; }
5355 else
5356 { echo "$as_me:$LINENO: result: no" >&5
5357 echo "${ECHO_T}no" >&6; }
5361 test -n "$AS" && break
5362 done
5364 if test -z "$AS"; then
5365 ac_ct_AS=$AS
5366 for ac_prog in gas as
5368 # Extract the first word of "$ac_prog", so it can be a program name with args.
5369 set dummy $ac_prog; ac_word=$2
5370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5372 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5373 echo $ECHO_N "(cached) $ECHO_C" >&6
5374 else
5375 if test -n "$ac_ct_AS"; then
5376 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5377 else
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 for as_dir in $PATH
5381 IFS=$as_save_IFS
5382 test -z "$as_dir" && as_dir=.
5383 for ac_exec_ext in '' $ac_executable_extensions; do
5384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5385 ac_cv_prog_ac_ct_AS="$ac_prog"
5386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 break 2
5389 done
5390 done
5391 IFS=$as_save_IFS
5395 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5396 if test -n "$ac_ct_AS"; then
5397 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5398 echo "${ECHO_T}$ac_ct_AS" >&6; }
5399 else
5400 { echo "$as_me:$LINENO: result: no" >&5
5401 echo "${ECHO_T}no" >&6; }
5405 test -n "$ac_ct_AS" && break
5406 done
5408 if test "x$ac_ct_AS" = x; then
5409 AS="as"
5410 else
5411 case $cross_compiling:$ac_tool_warned in
5412 yes:)
5413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5414 whose name does not start with the host triplet. If you think this
5415 configuration is useful to you, please write to autoconf@gnu.org." >&5
5416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5417 whose name does not start with the host triplet. If you think this
5418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5419 ac_tool_warned=yes ;;
5420 esac
5421 AS=$ac_ct_AS
5425 if test -n "$ac_tool_prefix"; then
5426 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}ld; ac_word=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_prog_LD+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 else
5433 if test -n "$LD"; then
5434 ac_cv_prog_LD="$LD" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5439 IFS=$as_save_IFS
5440 test -z "$as_dir" && as_dir=.
5441 for ac_exec_ext in '' $ac_executable_extensions; do
5442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443 ac_cv_prog_LD="${ac_tool_prefix}ld"
5444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5445 break 2
5447 done
5448 done
5449 IFS=$as_save_IFS
5453 LD=$ac_cv_prog_LD
5454 if test -n "$LD"; then
5455 { echo "$as_me:$LINENO: result: $LD" >&5
5456 echo "${ECHO_T}$LD" >&6; }
5457 else
5458 { echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6; }
5464 if test -z "$ac_cv_prog_LD"; then
5465 ac_ct_LD=$LD
5466 # Extract the first word of "ld", so it can be a program name with args.
5467 set dummy ld; ac_word=$2
5468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5470 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5472 else
5473 if test -n "$ac_ct_LD"; then
5474 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483 ac_cv_prog_ac_ct_LD="ld"
5484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5487 done
5488 done
5489 IFS=$as_save_IFS
5493 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5494 if test -n "$ac_ct_LD"; then
5495 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5496 echo "${ECHO_T}$ac_ct_LD" >&6; }
5497 else
5498 { echo "$as_me:$LINENO: result: no" >&5
5499 echo "${ECHO_T}no" >&6; }
5502 if test "x$ac_ct_LD" = x; then
5503 LD="ld"
5504 else
5505 case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5508 whose name does not start with the host triplet. If you think this
5509 configuration is useful to you, please write to autoconf@gnu.org." >&5
5510 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5511 whose name does not start with the host triplet. If you think this
5512 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5513 ac_tool_warned=yes ;;
5514 esac
5515 LD=$ac_ct_LD
5517 else
5518 LD="$ac_cv_prog_LD"
5521 if test -n "$ac_tool_prefix"; then
5522 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5523 set dummy ${ac_tool_prefix}ar; ac_word=$2
5524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5526 if test "${ac_cv_prog_AR+set}" = set; then
5527 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 else
5529 if test -n "$AR"; then
5530 ac_cv_prog_AR="$AR" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5535 IFS=$as_save_IFS
5536 test -z "$as_dir" && as_dir=.
5537 for ac_exec_ext in '' $ac_executable_extensions; do
5538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5539 ac_cv_prog_AR="${ac_tool_prefix}ar"
5540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5541 break 2
5543 done
5544 done
5545 IFS=$as_save_IFS
5549 AR=$ac_cv_prog_AR
5550 if test -n "$AR"; then
5551 { echo "$as_me:$LINENO: result: $AR" >&5
5552 echo "${ECHO_T}$AR" >&6; }
5553 else
5554 { echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6; }
5560 if test -z "$ac_cv_prog_AR"; then
5561 ac_ct_AR=$AR
5562 # Extract the first word of "ar", so it can be a program name with args.
5563 set dummy ar; ac_word=$2
5564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5566 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5568 else
5569 if test -n "$ac_ct_AR"; then
5570 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5575 IFS=$as_save_IFS
5576 test -z "$as_dir" && as_dir=.
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5579 ac_cv_prog_ac_ct_AR="ar"
5580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5581 break 2
5583 done
5584 done
5585 IFS=$as_save_IFS
5589 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5590 if test -n "$ac_ct_AR"; then
5591 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5592 echo "${ECHO_T}$ac_ct_AR" >&6; }
5593 else
5594 { echo "$as_me:$LINENO: result: no" >&5
5595 echo "${ECHO_T}no" >&6; }
5598 if test "x$ac_ct_AR" = x; then
5599 AR="ar"
5600 else
5601 case $cross_compiling:$ac_tool_warned in
5602 yes:)
5603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5604 whose name does not start with the host triplet. If you think this
5605 configuration is useful to you, please write to autoconf@gnu.org." >&5
5606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5607 whose name does not start with the host triplet. If you think this
5608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5609 ac_tool_warned=yes ;;
5610 esac
5611 AR=$ac_ct_AR
5613 else
5614 AR="$ac_cv_prog_AR"
5617 ARFLAGS=rc
5619 if test -n "$ac_tool_prefix"; then
5620 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5621 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5624 if test "${ac_cv_prog_RANLIB+set}" = set; then
5625 echo $ECHO_N "(cached) $ECHO_C" >&6
5626 else
5627 if test -n "$RANLIB"; then
5628 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5629 else
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH
5633 IFS=$as_save_IFS
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5637 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5639 break 2
5641 done
5642 done
5643 IFS=$as_save_IFS
5647 RANLIB=$ac_cv_prog_RANLIB
5648 if test -n "$RANLIB"; then
5649 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5650 echo "${ECHO_T}$RANLIB" >&6; }
5651 else
5652 { echo "$as_me:$LINENO: result: no" >&5
5653 echo "${ECHO_T}no" >&6; }
5658 if test -z "$ac_cv_prog_RANLIB"; then
5659 ac_ct_RANLIB=$RANLIB
5660 # Extract the first word of "ranlib", so it can be a program name with args.
5661 set dummy ranlib; ac_word=$2
5662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5664 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 else
5667 if test -n "$ac_ct_RANLIB"; then
5668 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5669 else
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 for as_dir in $PATH
5673 IFS=$as_save_IFS
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677 ac_cv_prog_ac_ct_RANLIB="ranlib"
5678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 break 2
5681 done
5682 done
5683 IFS=$as_save_IFS
5687 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5688 if test -n "$ac_ct_RANLIB"; then
5689 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5690 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5691 else
5692 { echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6; }
5696 if test "x$ac_ct_RANLIB" = x; then
5697 RANLIB=":"
5698 else
5699 case $cross_compiling:$ac_tool_warned in
5700 yes:)
5701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5702 whose name does not start with the host triplet. If you think this
5703 configuration is useful to you, please write to autoconf@gnu.org." >&5
5704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5705 whose name does not start with the host triplet. If you think this
5706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5707 ac_tool_warned=yes ;;
5708 esac
5709 RANLIB=$ac_ct_RANLIB
5711 else
5712 RANLIB="$ac_cv_prog_RANLIB"
5715 if test -n "$ac_tool_prefix"; then
5716 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5717 set dummy ${ac_tool_prefix}strip; ac_word=$2
5718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5720 if test "${ac_cv_prog_STRIP+set}" = set; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 else
5723 if test -n "$STRIP"; then
5724 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5729 IFS=$as_save_IFS
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5735 break 2
5737 done
5738 done
5739 IFS=$as_save_IFS
5743 STRIP=$ac_cv_prog_STRIP
5744 if test -n "$STRIP"; then
5745 { echo "$as_me:$LINENO: result: $STRIP" >&5
5746 echo "${ECHO_T}$STRIP" >&6; }
5747 else
5748 { echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6; }
5754 if test -z "$ac_cv_prog_STRIP"; then
5755 ac_ct_STRIP=$STRIP
5756 # Extract the first word of "strip", so it can be a program name with args.
5757 set dummy strip; ac_word=$2
5758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5760 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5761 echo $ECHO_N "(cached) $ECHO_C" >&6
5762 else
5763 if test -n "$ac_ct_STRIP"; then
5764 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5765 else
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 for as_dir in $PATH
5769 IFS=$as_save_IFS
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_ac_ct_STRIP="strip"
5774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 break 2
5777 done
5778 done
5779 IFS=$as_save_IFS
5783 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5784 if test -n "$ac_ct_STRIP"; then
5785 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5786 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5787 else
5788 { echo "$as_me:$LINENO: result: no" >&5
5789 echo "${ECHO_T}no" >&6; }
5792 if test "x$ac_ct_STRIP" = x; then
5793 STRIP="strip"
5794 else
5795 case $cross_compiling:$ac_tool_warned in
5796 yes:)
5797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5798 whose name does not start with the host triplet. If you think this
5799 configuration is useful to you, please write to autoconf@gnu.org." >&5
5800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5801 whose name does not start with the host triplet. If you think this
5802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5803 ac_tool_warned=yes ;;
5804 esac
5805 STRIP=$ac_ct_STRIP
5807 else
5808 STRIP="$ac_cv_prog_STRIP"
5811 if test -n "$ac_tool_prefix"; then
5812 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5813 set dummy ${ac_tool_prefix}windres; ac_word=$2
5814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5816 if test "${ac_cv_prog_WINDRES+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 else
5819 if test -n "$WINDRES"; then
5820 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 WINDRES=$ac_cv_prog_WINDRES
5840 if test -n "$WINDRES"; then
5841 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5842 echo "${ECHO_T}$WINDRES" >&6; }
5843 else
5844 { echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6; }
5850 if test -z "$ac_cv_prog_WINDRES"; then
5851 ac_ct_WINDRES=$WINDRES
5852 # Extract the first word of "windres", so it can be a program name with args.
5853 set dummy windres; ac_word=$2
5854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5856 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5857 echo $ECHO_N "(cached) $ECHO_C" >&6
5858 else
5859 if test -n "$ac_ct_WINDRES"; then
5860 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5861 else
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 for as_dir in $PATH
5865 IFS=$as_save_IFS
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869 ac_cv_prog_ac_ct_WINDRES="windres"
5870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5871 break 2
5873 done
5874 done
5875 IFS=$as_save_IFS
5879 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5880 if test -n "$ac_ct_WINDRES"; then
5881 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5882 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5883 else
5884 { echo "$as_me:$LINENO: result: no" >&5
5885 echo "${ECHO_T}no" >&6; }
5888 if test "x$ac_ct_WINDRES" = x; then
5889 WINDRES="false"
5890 else
5891 case $cross_compiling:$ac_tool_warned in
5892 yes:)
5893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5894 whose name does not start with the host triplet. If you think this
5895 configuration is useful to you, please write to autoconf@gnu.org." >&5
5896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5897 whose name does not start with the host triplet. If you think this
5898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5899 ac_tool_warned=yes ;;
5900 esac
5901 WINDRES=$ac_ct_WINDRES
5903 else
5904 WINDRES="$ac_cv_prog_WINDRES"
5907 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5908 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5909 LN_S=$as_ln_s
5910 if test "$LN_S" = "ln -s"; then
5911 { echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6; }
5913 else
5914 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5915 echo "${ECHO_T}no, using $LN_S" >&6; }
5918 { echo "$as_me:$LINENO: checking whether ln works" >&5
5919 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5920 rm -f conf$$ conf$$.file
5921 echo >conf$$.file
5922 if ln conf$$.file conf$$ 2>/dev/null; then
5923 LN=ln
5925 { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5927 else
5928 LN="cp -p"
5930 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5931 echo "${ECHO_T}no, using $LN" >&6; }
5933 rm -f conf$$ conf$$.file
5934 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5935 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5936 if test "${ac_cv_path_GREP+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 else
5939 # Extract the first word of "grep ggrep" to use in msg output
5940 if test -z "$GREP"; then
5941 set dummy grep ggrep; ac_prog_name=$2
5942 if test "${ac_cv_path_GREP+set}" = set; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5944 else
5945 ac_path_GREP_found=false
5946 # Loop through the user's path and test for each of PROGNAME-LIST
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5950 IFS=$as_save_IFS
5951 test -z "$as_dir" && as_dir=.
5952 for ac_prog in grep ggrep; do
5953 for ac_exec_ext in '' $ac_executable_extensions; do
5954 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5955 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5956 # Check for GNU ac_path_GREP and select it if it is found.
5957 # Check for GNU $ac_path_GREP
5958 case `"$ac_path_GREP" --version 2>&1` in
5959 *GNU*)
5960 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5962 ac_count=0
5963 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5964 while :
5966 cat "conftest.in" "conftest.in" >"conftest.tmp"
5967 mv "conftest.tmp" "conftest.in"
5968 cp "conftest.in" "conftest.nl"
5969 echo 'GREP' >> "conftest.nl"
5970 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5971 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5972 ac_count=`expr $ac_count + 1`
5973 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5974 # Best one so far, save it but keep looking for a better one
5975 ac_cv_path_GREP="$ac_path_GREP"
5976 ac_path_GREP_max=$ac_count
5978 # 10*(2^10) chars as input seems more than enough
5979 test $ac_count -gt 10 && break
5980 done
5981 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5982 esac
5985 $ac_path_GREP_found && break 3
5986 done
5987 done
5989 done
5990 IFS=$as_save_IFS
5995 GREP="$ac_cv_path_GREP"
5996 if test -z "$GREP"; then
5997 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5998 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5999 { (exit 1); exit 1; }; }
6002 else
6003 ac_cv_path_GREP=$GREP
6008 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6009 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6010 GREP="$ac_cv_path_GREP"
6013 { echo "$as_me:$LINENO: checking for egrep" >&5
6014 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6015 if test "${ac_cv_path_EGREP+set}" = set; then
6016 echo $ECHO_N "(cached) $ECHO_C" >&6
6017 else
6018 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6019 then ac_cv_path_EGREP="$GREP -E"
6020 else
6021 # Extract the first word of "egrep" to use in msg output
6022 if test -z "$EGREP"; then
6023 set dummy egrep; ac_prog_name=$2
6024 if test "${ac_cv_path_EGREP+set}" = set; then
6025 echo $ECHO_N "(cached) $ECHO_C" >&6
6026 else
6027 ac_path_EGREP_found=false
6028 # Loop through the user's path and test for each of PROGNAME-LIST
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_prog in egrep; do
6035 for ac_exec_ext in '' $ac_executable_extensions; do
6036 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6037 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6038 # Check for GNU ac_path_EGREP and select it if it is found.
6039 # Check for GNU $ac_path_EGREP
6040 case `"$ac_path_EGREP" --version 2>&1` in
6041 *GNU*)
6042 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6044 ac_count=0
6045 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6046 while :
6048 cat "conftest.in" "conftest.in" >"conftest.tmp"
6049 mv "conftest.tmp" "conftest.in"
6050 cp "conftest.in" "conftest.nl"
6051 echo 'EGREP' >> "conftest.nl"
6052 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6053 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6054 ac_count=`expr $ac_count + 1`
6055 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6056 # Best one so far, save it but keep looking for a better one
6057 ac_cv_path_EGREP="$ac_path_EGREP"
6058 ac_path_EGREP_max=$ac_count
6060 # 10*(2^10) chars as input seems more than enough
6061 test $ac_count -gt 10 && break
6062 done
6063 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6064 esac
6067 $ac_path_EGREP_found && break 3
6068 done
6069 done
6071 done
6072 IFS=$as_save_IFS
6077 EGREP="$ac_cv_path_EGREP"
6078 if test -z "$EGREP"; then
6079 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6080 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6081 { (exit 1); exit 1; }; }
6084 else
6085 ac_cv_path_EGREP=$EGREP
6091 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6092 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6093 EGREP="$ac_cv_path_EGREP"
6096 # Extract the first word of "ldconfig", so it can be a program name with args.
6097 set dummy ldconfig; ac_word=$2
6098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6100 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6101 echo $ECHO_N "(cached) $ECHO_C" >&6
6102 else
6103 case $LDCONFIG in
6104 [\\/]* | ?:[\\/]*)
6105 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in /sbin /usr/sbin $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6115 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6123 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6125 esac
6127 LDCONFIG=$ac_cv_path_LDCONFIG
6128 if test -n "$LDCONFIG"; then
6129 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6130 echo "${ECHO_T}$LDCONFIG" >&6; }
6131 else
6132 { echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6; }
6137 # Find a good install program. We prefer a C program (faster),
6138 # so one script is as good as another. But avoid the broken or
6139 # incompatible versions:
6140 # SysV /etc/install, /usr/sbin/install
6141 # SunOS /usr/etc/install
6142 # IRIX /sbin/install
6143 # AIX /bin/install
6144 # AmigaOS /C/install, which installs bootblocks on floppy discs
6145 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6146 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6147 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6148 # OS/2's system install, which has a completely different semantic
6149 # ./install, which can be erroneously created by make from ./install.sh.
6150 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6151 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6152 if test -z "$INSTALL"; then
6153 if test "${ac_cv_path_install+set}" = set; then
6154 echo $ECHO_N "(cached) $ECHO_C" >&6
6155 else
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 for as_dir in $PATH
6159 IFS=$as_save_IFS
6160 test -z "$as_dir" && as_dir=.
6161 # Account for people who put trailing slashes in PATH elements.
6162 case $as_dir/ in
6163 ./ | .// | /cC/* | \
6164 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6165 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6166 /usr/ucb/* ) ;;
6168 # OSF1 and SCO ODT 3.0 have their own names for install.
6169 # Don't use installbsd from OSF since it installs stuff as root
6170 # by default.
6171 for ac_prog in ginstall scoinst install; do
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6174 if test $ac_prog = install &&
6175 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6176 # AIX install. It has an incompatible calling convention.
6178 elif test $ac_prog = install &&
6179 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6180 # program-specific install script used by HP pwplus--don't use.
6182 else
6183 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6184 break 3
6187 done
6188 done
6190 esac
6191 done
6192 IFS=$as_save_IFS
6196 if test "${ac_cv_path_install+set}" = set; then
6197 INSTALL=$ac_cv_path_install
6198 else
6199 # As a last resort, use the slow shell script. Don't cache a
6200 # value for INSTALL within a source directory, because that will
6201 # break other packages using the cache if that directory is
6202 # removed, or if the value is a relative name.
6203 INSTALL=$ac_install_sh
6206 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6207 echo "${ECHO_T}$INSTALL" >&6; }
6209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6210 # It thinks the first close brace ends the variable substitution.
6211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6217 case "$INSTALL" in
6218 [\\/$]* | ?:[\\/]* ) ;;
6219 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6220 esac
6222 for ac_prog in lclint lint
6224 # Extract the first word of "$ac_prog", so it can be a program name with args.
6225 set dummy $ac_prog; ac_word=$2
6226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6228 if test "${ac_cv_prog_LINT+set}" = set; then
6229 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 else
6231 if test -n "$LINT"; then
6232 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6233 else
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 for as_dir in $PATH
6237 IFS=$as_save_IFS
6238 test -z "$as_dir" && as_dir=.
6239 for ac_exec_ext in '' $ac_executable_extensions; do
6240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241 ac_cv_prog_LINT="$ac_prog"
6242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6243 break 2
6245 done
6246 done
6247 IFS=$as_save_IFS
6251 LINT=$ac_cv_prog_LINT
6252 if test -n "$LINT"; then
6253 { echo "$as_me:$LINENO: result: $LINT" >&5
6254 echo "${ECHO_T}$LINT" >&6; }
6255 else
6256 { echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6; }
6261 test -n "$LINT" && break
6262 done
6264 if test "$LINT" = "lint"
6265 then
6266 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6271 for ac_prog in fontforge
6273 # Extract the first word of "$ac_prog", so it can be a program name with args.
6274 set dummy $ac_prog; ac_word=$2
6275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6277 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6278 echo $ECHO_N "(cached) $ECHO_C" >&6
6279 else
6280 if test -n "$FONTFORGE"; then
6281 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6282 else
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH
6286 IFS=$as_save_IFS
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6290 ac_cv_prog_FONTFORGE="$ac_prog"
6291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 break 2
6294 done
6295 done
6296 IFS=$as_save_IFS
6300 FONTFORGE=$ac_cv_prog_FONTFORGE
6301 if test -n "$FONTFORGE"; then
6302 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6303 echo "${ECHO_T}$FONTFORGE" >&6; }
6304 else
6305 { echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6; }
6310 test -n "$FONTFORGE" && break
6311 done
6312 test -n "$FONTFORGE" || FONTFORGE="false"
6314 for ac_prog in pkg-config
6316 # Extract the first word of "$ac_prog", so it can be a program name with args.
6317 set dummy $ac_prog; ac_word=$2
6318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6320 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6
6322 else
6323 if test -n "$PKG_CONFIG"; then
6324 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6325 else
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH
6329 IFS=$as_save_IFS
6330 test -z "$as_dir" && as_dir=.
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6333 ac_cv_prog_PKG_CONFIG="$ac_prog"
6334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6335 break 2
6337 done
6338 done
6339 IFS=$as_save_IFS
6343 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6344 if test -n "$PKG_CONFIG"; then
6345 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6346 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6347 else
6348 { echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6; }
6353 test -n "$PKG_CONFIG" && break
6354 done
6355 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6357 for ac_prog in rsvg
6359 # Extract the first word of "$ac_prog", so it can be a program name with args.
6360 set dummy $ac_prog; ac_word=$2
6361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6363 if test "${ac_cv_prog_RSVG+set}" = set; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6365 else
6366 if test -n "$RSVG"; then
6367 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6368 else
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370 for as_dir in $PATH
6372 IFS=$as_save_IFS
6373 test -z "$as_dir" && as_dir=.
6374 for ac_exec_ext in '' $ac_executable_extensions; do
6375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376 ac_cv_prog_RSVG="$ac_prog"
6377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6378 break 2
6380 done
6381 done
6382 IFS=$as_save_IFS
6386 RSVG=$ac_cv_prog_RSVG
6387 if test -n "$RSVG"; then
6388 { echo "$as_me:$LINENO: result: $RSVG" >&5
6389 echo "${ECHO_T}$RSVG" >&6; }
6390 else
6391 { echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6; }
6396 test -n "$RSVG" && break
6397 done
6398 test -n "$RSVG" || RSVG="false"
6400 for ac_prog in icotool
6402 # Extract the first word of "$ac_prog", so it can be a program name with args.
6403 set dummy $ac_prog; ac_word=$2
6404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6406 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6407 echo $ECHO_N "(cached) $ECHO_C" >&6
6408 else
6409 if test -n "$ICOTOOL"; then
6410 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6411 else
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 for as_dir in $PATH
6415 IFS=$as_save_IFS
6416 test -z "$as_dir" && as_dir=.
6417 for ac_exec_ext in '' $ac_executable_extensions; do
6418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419 ac_cv_prog_ICOTOOL="$ac_prog"
6420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6421 break 2
6423 done
6424 done
6425 IFS=$as_save_IFS
6429 ICOTOOL=$ac_cv_prog_ICOTOOL
6430 if test -n "$ICOTOOL"; then
6431 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6432 echo "${ECHO_T}$ICOTOOL" >&6; }
6433 else
6434 { echo "$as_me:$LINENO: result: no" >&5
6435 echo "${ECHO_T}no" >&6; }
6439 test -n "$ICOTOOL" && break
6440 done
6441 test -n "$ICOTOOL" || ICOTOOL="false"
6444 if test "${enable_maintainer_mode+set}" = set
6445 then
6446 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6447 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6450 case $host_cpu in
6451 *i[3456789]86*)
6452 # Extract the first word of "prelink", so it can be a program name with args.
6453 set dummy prelink; ac_word=$2
6454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6456 if test "${ac_cv_path_PRELINK+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 else
6459 case $PRELINK in
6460 [\\/]* | ?:[\\/]*)
6461 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465 for as_dir in /sbin /usr/sbin $PATH
6467 IFS=$as_save_IFS
6468 test -z "$as_dir" && as_dir=.
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6473 break 2
6475 done
6476 done
6477 IFS=$as_save_IFS
6479 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6481 esac
6483 PRELINK=$ac_cv_path_PRELINK
6484 if test -n "$PRELINK"; then
6485 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6486 echo "${ECHO_T}$PRELINK" >&6; }
6487 else
6488 { echo "$as_me:$LINENO: result: no" >&5
6489 echo "${ECHO_T}no" >&6; }
6494 esac
6498 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6499 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6500 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6501 echo $ECHO_N "(cached) $ECHO_C" >&6
6502 else
6503 ac_check_lib_save_LIBS=$LIBS
6504 LIBS="-li386 $LIBS"
6505 cat >conftest.$ac_ext <<_ACEOF
6506 /* confdefs.h. */
6507 _ACEOF
6508 cat confdefs.h >>conftest.$ac_ext
6509 cat >>conftest.$ac_ext <<_ACEOF
6510 /* end confdefs.h. */
6512 /* Override any GCC internal prototype to avoid an error.
6513 Use char because int might match the return type of a GCC
6514 builtin and then its argument prototype would still apply. */
6515 #ifdef __cplusplus
6516 extern "C"
6517 #endif
6518 char i386_set_ldt ();
6520 main ()
6522 return i386_set_ldt ();
6524 return 0;
6526 _ACEOF
6527 rm -f conftest.$ac_objext conftest$ac_exeext
6528 if { (ac_try="$ac_link"
6529 case "(($ac_try" in
6530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6531 *) ac_try_echo=$ac_try;;
6532 esac
6533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6534 (eval "$ac_link") 2>conftest.er1
6535 ac_status=$?
6536 grep -v '^ *+' conftest.er1 >conftest.err
6537 rm -f conftest.er1
6538 cat conftest.err >&5
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); } && {
6541 test -z "$ac_c_werror_flag" ||
6542 test ! -s conftest.err
6543 } && test -s conftest$ac_exeext &&
6544 $as_test_x conftest$ac_exeext; then
6545 ac_cv_lib_i386_i386_set_ldt=yes
6546 else
6547 echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.$ac_ext >&5
6550 ac_cv_lib_i386_i386_set_ldt=no
6553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6554 conftest$ac_exeext conftest.$ac_ext
6555 LIBS=$ac_check_lib_save_LIBS
6557 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6558 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6559 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6560 cat >>confdefs.h <<_ACEOF
6561 #define HAVE_LIBI386 1
6562 _ACEOF
6564 LIBS="-li386 $LIBS"
6569 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6570 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6571 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6572 echo $ECHO_N "(cached) $ECHO_C" >&6
6573 else
6574 ac_check_lib_save_LIBS=$LIBS
6575 LIBS="-lossaudio $LIBS"
6576 cat >conftest.$ac_ext <<_ACEOF
6577 /* confdefs.h. */
6578 _ACEOF
6579 cat confdefs.h >>conftest.$ac_ext
6580 cat >>conftest.$ac_ext <<_ACEOF
6581 /* end confdefs.h. */
6583 /* Override any GCC internal prototype to avoid an error.
6584 Use char because int might match the return type of a GCC
6585 builtin and then its argument prototype would still apply. */
6586 #ifdef __cplusplus
6587 extern "C"
6588 #endif
6589 char _oss_ioctl ();
6591 main ()
6593 return _oss_ioctl ();
6595 return 0;
6597 _ACEOF
6598 rm -f conftest.$ac_objext conftest$ac_exeext
6599 if { (ac_try="$ac_link"
6600 case "(($ac_try" in
6601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6602 *) ac_try_echo=$ac_try;;
6603 esac
6604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6605 (eval "$ac_link") 2>conftest.er1
6606 ac_status=$?
6607 grep -v '^ *+' conftest.er1 >conftest.err
6608 rm -f conftest.er1
6609 cat conftest.err >&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } && {
6612 test -z "$ac_c_werror_flag" ||
6613 test ! -s conftest.err
6614 } && test -s conftest$ac_exeext &&
6615 $as_test_x conftest$ac_exeext; then
6616 ac_cv_lib_ossaudio__oss_ioctl=yes
6617 else
6618 echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.$ac_ext >&5
6621 ac_cv_lib_ossaudio__oss_ioctl=no
6624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6625 conftest$ac_exeext conftest.$ac_ext
6626 LIBS=$ac_check_lib_save_LIBS
6628 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6629 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6630 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6631 cat >>confdefs.h <<_ACEOF
6632 #define HAVE_LIBOSSAUDIO 1
6633 _ACEOF
6635 LIBS="-lossaudio $LIBS"
6639 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6640 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6641 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6642 echo $ECHO_N "(cached) $ECHO_C" >&6
6643 else
6644 ac_check_lib_save_LIBS=$LIBS
6645 LIBS="-lpthread $LIBS"
6646 cat >conftest.$ac_ext <<_ACEOF
6647 /* confdefs.h. */
6648 _ACEOF
6649 cat confdefs.h >>conftest.$ac_ext
6650 cat >>conftest.$ac_ext <<_ACEOF
6651 /* end confdefs.h. */
6653 /* Override any GCC internal prototype to avoid an error.
6654 Use char because int might match the return type of a GCC
6655 builtin and then its argument prototype would still apply. */
6656 #ifdef __cplusplus
6657 extern "C"
6658 #endif
6659 char pthread_create ();
6661 main ()
6663 return pthread_create ();
6665 return 0;
6667 _ACEOF
6668 rm -f conftest.$ac_objext conftest$ac_exeext
6669 if { (ac_try="$ac_link"
6670 case "(($ac_try" in
6671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6672 *) ac_try_echo=$ac_try;;
6673 esac
6674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6675 (eval "$ac_link") 2>conftest.er1
6676 ac_status=$?
6677 grep -v '^ *+' conftest.er1 >conftest.err
6678 rm -f conftest.er1
6679 cat conftest.err >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } && {
6682 test -z "$ac_c_werror_flag" ||
6683 test ! -s conftest.err
6684 } && test -s conftest$ac_exeext &&
6685 $as_test_x conftest$ac_exeext; then
6686 ac_cv_lib_pthread_pthread_create=yes
6687 else
6688 echo "$as_me: failed program was:" >&5
6689 sed 's/^/| /' conftest.$ac_ext >&5
6691 ac_cv_lib_pthread_pthread_create=no
6694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6695 conftest$ac_exeext conftest.$ac_ext
6696 LIBS=$ac_check_lib_save_LIBS
6698 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6699 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6700 if test $ac_cv_lib_pthread_pthread_create = yes; then
6701 LIBPTHREAD="-lpthread"
6706 XLIB=""
6708 XFILES=""
6710 OPENGLFILES=""
6712 GLU32FILES=""
6714 OPENGL_LIBS=""
6716 QUARTZFILES=""
6720 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6721 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6722 if test "${ac_cv_header_stdc+set}" = set; then
6723 echo $ECHO_N "(cached) $ECHO_C" >&6
6724 else
6725 cat >conftest.$ac_ext <<_ACEOF
6726 /* confdefs.h. */
6727 _ACEOF
6728 cat confdefs.h >>conftest.$ac_ext
6729 cat >>conftest.$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6731 #include <stdlib.h>
6732 #include <stdarg.h>
6733 #include <string.h>
6734 #include <float.h>
6737 main ()
6741 return 0;
6743 _ACEOF
6744 rm -f conftest.$ac_objext
6745 if { (ac_try="$ac_compile"
6746 case "(($ac_try" in
6747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6748 *) ac_try_echo=$ac_try;;
6749 esac
6750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6751 (eval "$ac_compile") 2>conftest.er1
6752 ac_status=$?
6753 grep -v '^ *+' conftest.er1 >conftest.err
6754 rm -f conftest.er1
6755 cat conftest.err >&5
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 (exit $ac_status); } && {
6758 test -z "$ac_c_werror_flag" ||
6759 test ! -s conftest.err
6760 } && test -s conftest.$ac_objext; then
6761 ac_cv_header_stdc=yes
6762 else
6763 echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.$ac_ext >&5
6766 ac_cv_header_stdc=no
6769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6771 if test $ac_cv_header_stdc = yes; then
6772 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6773 cat >conftest.$ac_ext <<_ACEOF
6774 /* confdefs.h. */
6775 _ACEOF
6776 cat confdefs.h >>conftest.$ac_ext
6777 cat >>conftest.$ac_ext <<_ACEOF
6778 /* end confdefs.h. */
6779 #include <string.h>
6781 _ACEOF
6782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6783 $EGREP "memchr" >/dev/null 2>&1; then
6785 else
6786 ac_cv_header_stdc=no
6788 rm -f conftest*
6792 if test $ac_cv_header_stdc = yes; then
6793 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6794 cat >conftest.$ac_ext <<_ACEOF
6795 /* confdefs.h. */
6796 _ACEOF
6797 cat confdefs.h >>conftest.$ac_ext
6798 cat >>conftest.$ac_ext <<_ACEOF
6799 /* end confdefs.h. */
6800 #include <stdlib.h>
6802 _ACEOF
6803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6804 $EGREP "free" >/dev/null 2>&1; then
6806 else
6807 ac_cv_header_stdc=no
6809 rm -f conftest*
6813 if test $ac_cv_header_stdc = yes; then
6814 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6815 if test "$cross_compiling" = yes; then
6817 else
6818 cat >conftest.$ac_ext <<_ACEOF
6819 /* confdefs.h. */
6820 _ACEOF
6821 cat confdefs.h >>conftest.$ac_ext
6822 cat >>conftest.$ac_ext <<_ACEOF
6823 /* end confdefs.h. */
6824 #include <ctype.h>
6825 #include <stdlib.h>
6826 #if ((' ' & 0x0FF) == 0x020)
6827 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6828 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6829 #else
6830 # define ISLOWER(c) \
6831 (('a' <= (c) && (c) <= 'i') \
6832 || ('j' <= (c) && (c) <= 'r') \
6833 || ('s' <= (c) && (c) <= 'z'))
6834 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6835 #endif
6837 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6839 main ()
6841 int i;
6842 for (i = 0; i < 256; i++)
6843 if (XOR (islower (i), ISLOWER (i))
6844 || toupper (i) != TOUPPER (i))
6845 return 2;
6846 return 0;
6848 _ACEOF
6849 rm -f conftest$ac_exeext
6850 if { (ac_try="$ac_link"
6851 case "(($ac_try" in
6852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6853 *) ac_try_echo=$ac_try;;
6854 esac
6855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6856 (eval "$ac_link") 2>&5
6857 ac_status=$?
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6860 { (case "(($ac_try" in
6861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6862 *) ac_try_echo=$ac_try;;
6863 esac
6864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6865 (eval "$ac_try") 2>&5
6866 ac_status=$?
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); }; }; then
6870 else
6871 echo "$as_me: program exited with status $ac_status" >&5
6872 echo "$as_me: failed program was:" >&5
6873 sed 's/^/| /' conftest.$ac_ext >&5
6875 ( exit $ac_status )
6876 ac_cv_header_stdc=no
6878 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6884 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6885 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6886 if test $ac_cv_header_stdc = yes; then
6888 cat >>confdefs.h <<\_ACEOF
6889 #define STDC_HEADERS 1
6890 _ACEOF
6894 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6904 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6905 inttypes.h stdint.h unistd.h
6907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6908 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6910 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6911 echo $ECHO_N "(cached) $ECHO_C" >&6
6912 else
6913 cat >conftest.$ac_ext <<_ACEOF
6914 /* confdefs.h. */
6915 _ACEOF
6916 cat confdefs.h >>conftest.$ac_ext
6917 cat >>conftest.$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6919 $ac_includes_default
6921 #include <$ac_header>
6922 _ACEOF
6923 rm -f conftest.$ac_objext
6924 if { (ac_try="$ac_compile"
6925 case "(($ac_try" in
6926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6927 *) ac_try_echo=$ac_try;;
6928 esac
6929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6930 (eval "$ac_compile") 2>conftest.er1
6931 ac_status=$?
6932 grep -v '^ *+' conftest.er1 >conftest.err
6933 rm -f conftest.er1
6934 cat conftest.err >&5
6935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6936 (exit $ac_status); } && {
6937 test -z "$ac_c_werror_flag" ||
6938 test ! -s conftest.err
6939 } && test -s conftest.$ac_objext; then
6940 eval "$as_ac_Header=yes"
6941 else
6942 echo "$as_me: failed program was:" >&5
6943 sed 's/^/| /' conftest.$ac_ext >&5
6945 eval "$as_ac_Header=no"
6948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6950 ac_res=`eval echo '${'$as_ac_Header'}'`
6951 { echo "$as_me:$LINENO: result: $ac_res" >&5
6952 echo "${ECHO_T}$ac_res" >&6; }
6953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6954 cat >>confdefs.h <<_ACEOF
6955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6956 _ACEOF
6960 done
7073 for ac_header in \
7074 AudioUnit/AudioUnit.h \
7075 Carbon/Carbon.h \
7076 CoreAudio/CoreAudio.h \
7077 DiskArbitration/DiskArbitration.h \
7078 IOKit/IOKitLib.h \
7079 alsa/asoundlib.h \
7080 arpa/inet.h \
7081 arpa/nameser.h \
7082 asm/types.h \
7083 capi20.h \
7084 cups/cups.h \
7085 curses.h \
7086 direct.h \
7087 dlfcn.h \
7088 elf.h \
7089 float.h \
7090 fontconfig/fontconfig.h \
7091 getopt.h \
7092 ieeefp.h \
7093 io.h \
7094 jack/jack.h \
7095 jpeglib.h \
7096 lber.h \
7097 lcms.h \
7098 lcms/lcms.h \
7099 ldap.h \
7100 libaudioio.h \
7101 link.h \
7102 linux/cdrom.h \
7103 linux/compiler.h \
7104 linux/hdreg.h \
7105 linux/input.h \
7106 linux/ioctl.h \
7107 linux/joystick.h \
7108 linux/major.h \
7109 linux/param.h \
7110 linux/serial.h \
7111 linux/ucdrom.h \
7112 mach/mach.h \
7113 mach/machine.h \
7114 machine/cpu.h \
7115 machine/limits.h \
7116 machine/soundcard.h \
7117 mntent.h \
7118 ncurses.h \
7119 netdb.h \
7120 netinet/in.h \
7121 netinet/in_systm.h \
7122 netinet/tcp.h \
7123 netinet/tcp_fsm.h \
7124 openssl/err.h \
7125 openssl/ssl.h \
7126 png.h \
7127 poll.h \
7128 process.h \
7129 pthread.h \
7130 pwd.h \
7131 regex.h \
7132 sched.h \
7133 scsi/scsi.h \
7134 scsi/scsi_ioctl.h \
7135 scsi/sg.h \
7136 soundcard.h \
7137 stdint.h \
7138 strings.h \
7139 sys/asoundlib.h \
7140 sys/cdio.h \
7141 sys/elf32.h \
7142 sys/epoll.h \
7143 sys/errno.h \
7144 sys/event.h \
7145 sys/exec_elf.h \
7146 sys/filio.h \
7147 sys/ioctl.h \
7148 sys/ipc.h \
7149 sys/limits.h \
7150 sys/link.h \
7151 sys/lwp.h \
7152 sys/mman.h \
7153 sys/modem.h \
7154 sys/msg.h \
7155 sys/mtio.h \
7156 sys/param.h \
7157 sys/poll.h \
7158 sys/prctl.h \
7159 sys/ptrace.h \
7160 sys/reg.h \
7161 sys/resource.h \
7162 sys/scsiio.h \
7163 sys/shm.h \
7164 sys/signal.h \
7165 sys/socket.h \
7166 sys/socketvar.h \
7167 sys/sockio.h \
7168 sys/soundcard.h \
7169 sys/statvfs.h \
7170 sys/strtio.h \
7171 sys/syscall.h \
7172 sys/sysctl.h \
7173 sys/time.h \
7174 sys/times.h \
7175 sys/uio.h \
7176 sys/un.h \
7177 sys/vm86.h \
7178 sys/wait.h \
7179 syscall.h \
7180 termios.h \
7181 unistd.h \
7182 utime.h \
7183 valgrind/memcheck.h
7186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7188 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 ac_res=`eval echo '${'$as_ac_Header'}'`
7194 { echo "$as_me:$LINENO: result: $ac_res" >&5
7195 echo "${ECHO_T}$ac_res" >&6; }
7196 else
7197 # Is the header compilable?
7198 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7200 cat >conftest.$ac_ext <<_ACEOF
7201 /* confdefs.h. */
7202 _ACEOF
7203 cat confdefs.h >>conftest.$ac_ext
7204 cat >>conftest.$ac_ext <<_ACEOF
7205 /* end confdefs.h. */
7206 $ac_includes_default
7207 #include <$ac_header>
7208 _ACEOF
7209 rm -f conftest.$ac_objext
7210 if { (ac_try="$ac_compile"
7211 case "(($ac_try" in
7212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7213 *) ac_try_echo=$ac_try;;
7214 esac
7215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7216 (eval "$ac_compile") 2>conftest.er1
7217 ac_status=$?
7218 grep -v '^ *+' conftest.er1 >conftest.err
7219 rm -f conftest.er1
7220 cat conftest.err >&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); } && {
7223 test -z "$ac_c_werror_flag" ||
7224 test ! -s conftest.err
7225 } && test -s conftest.$ac_objext; then
7226 ac_header_compiler=yes
7227 else
7228 echo "$as_me: failed program was:" >&5
7229 sed 's/^/| /' conftest.$ac_ext >&5
7231 ac_header_compiler=no
7234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7235 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7236 echo "${ECHO_T}$ac_header_compiler" >&6; }
7238 # Is the header present?
7239 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7241 cat >conftest.$ac_ext <<_ACEOF
7242 /* confdefs.h. */
7243 _ACEOF
7244 cat confdefs.h >>conftest.$ac_ext
7245 cat >>conftest.$ac_ext <<_ACEOF
7246 /* end confdefs.h. */
7247 #include <$ac_header>
7248 _ACEOF
7249 if { (ac_try="$ac_cpp conftest.$ac_ext"
7250 case "(($ac_try" in
7251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7252 *) ac_try_echo=$ac_try;;
7253 esac
7254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7256 ac_status=$?
7257 grep -v '^ *+' conftest.er1 >conftest.err
7258 rm -f conftest.er1
7259 cat conftest.err >&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); } >/dev/null && {
7262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7263 test ! -s conftest.err
7264 }; then
7265 ac_header_preproc=yes
7266 else
7267 echo "$as_me: failed program was:" >&5
7268 sed 's/^/| /' conftest.$ac_ext >&5
7270 ac_header_preproc=no
7273 rm -f conftest.err conftest.$ac_ext
7274 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7275 echo "${ECHO_T}$ac_header_preproc" >&6; }
7277 # So? What about this header?
7278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7279 yes:no: )
7280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7284 ac_header_preproc=yes
7286 no:yes:* )
7287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7299 ( cat <<\_ASBOX
7300 ## ------------------------------------ ##
7301 ## Report this to wine-devel@winehq.org ##
7302 ## ------------------------------------ ##
7303 _ASBOX
7304 ) | sed "s/^/$as_me: WARNING: /" >&2
7306 esac
7307 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7309 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7310 echo $ECHO_N "(cached) $ECHO_C" >&6
7311 else
7312 eval "$as_ac_Header=\$ac_header_preproc"
7314 ac_res=`eval echo '${'$as_ac_Header'}'`
7315 { echo "$as_me:$LINENO: result: $ac_res" >&5
7316 echo "${ECHO_T}$ac_res" >&6; }
7319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7320 cat >>confdefs.h <<_ACEOF
7321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7322 _ACEOF
7326 done
7328 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7329 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7330 if test "${ac_cv_header_stat_broken+set}" = set; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7332 else
7333 cat >conftest.$ac_ext <<_ACEOF
7334 /* confdefs.h. */
7335 _ACEOF
7336 cat confdefs.h >>conftest.$ac_ext
7337 cat >>conftest.$ac_ext <<_ACEOF
7338 /* end confdefs.h. */
7339 #include <sys/types.h>
7340 #include <sys/stat.h>
7342 #if defined S_ISBLK && defined S_IFDIR
7343 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7344 #endif
7346 #if defined S_ISBLK && defined S_IFCHR
7347 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7348 #endif
7350 #if defined S_ISLNK && defined S_IFREG
7351 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7352 #endif
7354 #if defined S_ISSOCK && defined S_IFREG
7355 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7356 #endif
7358 _ACEOF
7359 rm -f conftest.$ac_objext
7360 if { (ac_try="$ac_compile"
7361 case "(($ac_try" in
7362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7363 *) ac_try_echo=$ac_try;;
7364 esac
7365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7366 (eval "$ac_compile") 2>conftest.er1
7367 ac_status=$?
7368 grep -v '^ *+' conftest.er1 >conftest.err
7369 rm -f conftest.er1
7370 cat conftest.err >&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); } && {
7373 test -z "$ac_c_werror_flag" ||
7374 test ! -s conftest.err
7375 } && test -s conftest.$ac_objext; then
7376 ac_cv_header_stat_broken=no
7377 else
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.$ac_ext >&5
7381 ac_cv_header_stat_broken=yes
7384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7386 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7387 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7388 if test $ac_cv_header_stat_broken = yes; then
7390 cat >>confdefs.h <<\_ACEOF
7391 #define STAT_MACROS_BROKEN 1
7392 _ACEOF
7402 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7404 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7405 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7407 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7408 echo $ECHO_N "(cached) $ECHO_C" >&6
7409 else
7410 cat >conftest.$ac_ext <<_ACEOF
7411 /* confdefs.h. */
7412 _ACEOF
7413 cat confdefs.h >>conftest.$ac_ext
7414 cat >>conftest.$ac_ext <<_ACEOF
7415 /* end confdefs.h. */
7416 #include <sys/types.h>
7417 #ifdef HAVE_SYS_PARAM_H
7418 # include <sys/param.h>
7419 #endif
7421 #include <$ac_header>
7422 _ACEOF
7423 rm -f conftest.$ac_objext
7424 if { (ac_try="$ac_compile"
7425 case "(($ac_try" in
7426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7427 *) ac_try_echo=$ac_try;;
7428 esac
7429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7430 (eval "$ac_compile") 2>conftest.er1
7431 ac_status=$?
7432 grep -v '^ *+' conftest.er1 >conftest.err
7433 rm -f conftest.er1
7434 cat conftest.err >&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } && {
7437 test -z "$ac_c_werror_flag" ||
7438 test ! -s conftest.err
7439 } && test -s conftest.$ac_objext; then
7440 eval "$as_ac_Header=yes"
7441 else
7442 echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7445 eval "$as_ac_Header=no"
7448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7450 ac_res=`eval echo '${'$as_ac_Header'}'`
7451 { echo "$as_me:$LINENO: result: $ac_res" >&5
7452 echo "${ECHO_T}$ac_res" >&6; }
7453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7454 cat >>confdefs.h <<_ACEOF
7455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7456 _ACEOF
7460 done
7471 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7477 echo $ECHO_N "(cached) $ECHO_C" >&6
7478 else
7479 cat >conftest.$ac_ext <<_ACEOF
7480 /* confdefs.h. */
7481 _ACEOF
7482 cat confdefs.h >>conftest.$ac_ext
7483 cat >>conftest.$ac_ext <<_ACEOF
7484 /* end confdefs.h. */
7485 #include <sys/types.h>
7486 #ifdef HAVE_SYS_SOCKET_H
7487 # include <sys/socket.h>
7488 #endif
7489 #ifdef HAVE_SYS_SOCKETVAR_H
7490 # include <sys/socketvar.h>
7491 #endif
7492 #ifdef HAVE_NETINET_IN_H
7493 # include <netinet/in.h>
7494 #endif
7496 #include <$ac_header>
7497 _ACEOF
7498 rm -f conftest.$ac_objext
7499 if { (ac_try="$ac_compile"
7500 case "(($ac_try" in
7501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7502 *) ac_try_echo=$ac_try;;
7503 esac
7504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7505 (eval "$ac_compile") 2>conftest.er1
7506 ac_status=$?
7507 grep -v '^ *+' conftest.er1 >conftest.err
7508 rm -f conftest.er1
7509 cat conftest.err >&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); } && {
7512 test -z "$ac_c_werror_flag" ||
7513 test ! -s conftest.err
7514 } && test -s conftest.$ac_objext; then
7515 eval "$as_ac_Header=yes"
7516 else
7517 echo "$as_me: failed program was:" >&5
7518 sed 's/^/| /' conftest.$ac_ext >&5
7520 eval "$as_ac_Header=no"
7523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7525 ac_res=`eval echo '${'$as_ac_Header'}'`
7526 { echo "$as_me:$LINENO: result: $ac_res" >&5
7527 echo "${ECHO_T}$ac_res" >&6; }
7528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7529 cat >>confdefs.h <<_ACEOF
7530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7531 _ACEOF
7535 done
7539 for ac_header in netinet/tcp_var.h
7541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7542 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7545 echo $ECHO_N "(cached) $ECHO_C" >&6
7546 else
7547 cat >conftest.$ac_ext <<_ACEOF
7548 /* confdefs.h. */
7549 _ACEOF
7550 cat confdefs.h >>conftest.$ac_ext
7551 cat >>conftest.$ac_ext <<_ACEOF
7552 /* end confdefs.h. */
7553 #include <sys/types.h>
7554 #ifdef HAVE_SYS_SOCKET_H
7555 # include <sys/socket.h>
7556 #endif
7557 #ifdef HAVE_SYS_SOCKETVAR_H
7558 # include <sys/socketvar.h>
7559 #endif
7560 #ifdef HAVE_NETINET_IN_H
7561 # include <netinet/in.h>
7562 #endif
7563 #ifdef HAVE_NETINET_TCP_H
7564 # include <netinet/tcp.h>
7565 #endif
7567 #include <$ac_header>
7568 _ACEOF
7569 rm -f conftest.$ac_objext
7570 if { (ac_try="$ac_compile"
7571 case "(($ac_try" in
7572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7573 *) ac_try_echo=$ac_try;;
7574 esac
7575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7576 (eval "$ac_compile") 2>conftest.er1
7577 ac_status=$?
7578 grep -v '^ *+' conftest.er1 >conftest.err
7579 rm -f conftest.er1
7580 cat conftest.err >&5
7581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582 (exit $ac_status); } && {
7583 test -z "$ac_c_werror_flag" ||
7584 test ! -s conftest.err
7585 } && test -s conftest.$ac_objext; then
7586 eval "$as_ac_Header=yes"
7587 else
7588 echo "$as_me: failed program was:" >&5
7589 sed 's/^/| /' conftest.$ac_ext >&5
7591 eval "$as_ac_Header=no"
7594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7596 ac_res=`eval echo '${'$as_ac_Header'}'`
7597 { echo "$as_me:$LINENO: result: $ac_res" >&5
7598 echo "${ECHO_T}$ac_res" >&6; }
7599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7600 cat >>confdefs.h <<_ACEOF
7601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7602 _ACEOF
7606 done
7610 for ac_header in linux/ipx.h
7612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7616 echo $ECHO_N "(cached) $ECHO_C" >&6
7617 else
7618 cat >conftest.$ac_ext <<_ACEOF
7619 /* confdefs.h. */
7620 _ACEOF
7621 cat confdefs.h >>conftest.$ac_ext
7622 cat >>conftest.$ac_ext <<_ACEOF
7623 /* end confdefs.h. */
7624 #include <sys/types.h>
7625 #ifdef HAVE_ASM_TYPES_H
7626 # include <asm/types.h>
7627 #endif
7628 #ifdef HAVE_SYS_SOCKET_H
7629 # include <sys/socket.h>
7630 #endif
7632 #include <$ac_header>
7633 _ACEOF
7634 rm -f conftest.$ac_objext
7635 if { (ac_try="$ac_compile"
7636 case "(($ac_try" in
7637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7638 *) ac_try_echo=$ac_try;;
7639 esac
7640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7641 (eval "$ac_compile") 2>conftest.er1
7642 ac_status=$?
7643 grep -v '^ *+' conftest.er1 >conftest.err
7644 rm -f conftest.er1
7645 cat conftest.err >&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); } && {
7648 test -z "$ac_c_werror_flag" ||
7649 test ! -s conftest.err
7650 } && test -s conftest.$ac_objext; then
7651 eval "$as_ac_Header=yes"
7652 else
7653 echo "$as_me: failed program was:" >&5
7654 sed 's/^/| /' conftest.$ac_ext >&5
7656 eval "$as_ac_Header=no"
7659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7661 ac_res=`eval echo '${'$as_ac_Header'}'`
7662 { echo "$as_me:$LINENO: result: $ac_res" >&5
7663 echo "${ECHO_T}$ac_res" >&6; }
7664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7665 cat >>confdefs.h <<_ACEOF
7666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7667 _ACEOF
7671 done
7675 for ac_header in resolv.h
7677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7678 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7681 echo $ECHO_N "(cached) $ECHO_C" >&6
7682 else
7683 cat >conftest.$ac_ext <<_ACEOF
7684 /* confdefs.h. */
7685 _ACEOF
7686 cat confdefs.h >>conftest.$ac_ext
7687 cat >>conftest.$ac_ext <<_ACEOF
7688 /* end confdefs.h. */
7689 #include <sys/types.h>
7690 #ifdef HAVE_SYS_SOCKET_H
7691 # include <sys/socket.h>
7692 #endif
7693 #ifdef HAVE_NETINET_IN_H
7694 # include <netinet/in.h>
7695 #endif
7696 #ifdef HAVE_ARPA_NAMESER_H
7697 # include <arpa/nameser.h>
7698 #endif
7700 #include <$ac_header>
7701 _ACEOF
7702 rm -f conftest.$ac_objext
7703 if { (ac_try="$ac_compile"
7704 case "(($ac_try" in
7705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7706 *) ac_try_echo=$ac_try;;
7707 esac
7708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7709 (eval "$ac_compile") 2>conftest.er1
7710 ac_status=$?
7711 grep -v '^ *+' conftest.er1 >conftest.err
7712 rm -f conftest.er1
7713 cat conftest.err >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); } && {
7716 test -z "$ac_c_werror_flag" ||
7717 test ! -s conftest.err
7718 } && test -s conftest.$ac_objext; then
7719 eval "$as_ac_Header=yes"
7720 else
7721 echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.$ac_ext >&5
7724 eval "$as_ac_Header=no"
7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7729 ac_res=`eval echo '${'$as_ac_Header'}'`
7730 { echo "$as_me:$LINENO: result: $ac_res" >&5
7731 echo "${ECHO_T}$ac_res" >&6; }
7732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7733 cat >>confdefs.h <<_ACEOF
7734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7735 _ACEOF
7739 done
7743 for ac_header in ucontext.h
7745 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7746 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7749 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 else
7751 cat >conftest.$ac_ext <<_ACEOF
7752 /* confdefs.h. */
7753 _ACEOF
7754 cat confdefs.h >>conftest.$ac_ext
7755 cat >>conftest.$ac_ext <<_ACEOF
7756 /* end confdefs.h. */
7757 #include <signal.h>
7759 #include <$ac_header>
7760 _ACEOF
7761 rm -f conftest.$ac_objext
7762 if { (ac_try="$ac_compile"
7763 case "(($ac_try" in
7764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7765 *) ac_try_echo=$ac_try;;
7766 esac
7767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7768 (eval "$ac_compile") 2>conftest.er1
7769 ac_status=$?
7770 grep -v '^ *+' conftest.er1 >conftest.err
7771 rm -f conftest.er1
7772 cat conftest.err >&5
7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774 (exit $ac_status); } && {
7775 test -z "$ac_c_werror_flag" ||
7776 test ! -s conftest.err
7777 } && test -s conftest.$ac_objext; then
7778 eval "$as_ac_Header=yes"
7779 else
7780 echo "$as_me: failed program was:" >&5
7781 sed 's/^/| /' conftest.$ac_ext >&5
7783 eval "$as_ac_Header=no"
7786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7788 ac_res=`eval echo '${'$as_ac_Header'}'`
7789 { echo "$as_me:$LINENO: result: $ac_res" >&5
7790 echo "${ECHO_T}$ac_res" >&6; }
7791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7792 cat >>confdefs.h <<_ACEOF
7793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7794 _ACEOF
7798 done
7802 for ac_header in sys/thr.h
7804 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7805 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7808 echo $ECHO_N "(cached) $ECHO_C" >&6
7809 else
7810 cat >conftest.$ac_ext <<_ACEOF
7811 /* confdefs.h. */
7812 _ACEOF
7813 cat confdefs.h >>conftest.$ac_ext
7814 cat >>conftest.$ac_ext <<_ACEOF
7815 /* end confdefs.h. */
7816 #include <sys/types.h>
7817 #ifdef HAVE_UCONTEXT_H
7818 #include <ucontext.h>
7819 #endif
7821 #include <$ac_header>
7822 _ACEOF
7823 rm -f conftest.$ac_objext
7824 if { (ac_try="$ac_compile"
7825 case "(($ac_try" in
7826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7827 *) ac_try_echo=$ac_try;;
7828 esac
7829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7830 (eval "$ac_compile") 2>conftest.er1
7831 ac_status=$?
7832 grep -v '^ *+' conftest.er1 >conftest.err
7833 rm -f conftest.er1
7834 cat conftest.err >&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); } && {
7837 test -z "$ac_c_werror_flag" ||
7838 test ! -s conftest.err
7839 } && test -s conftest.$ac_objext; then
7840 eval "$as_ac_Header=yes"
7841 else
7842 echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.$ac_ext >&5
7845 eval "$as_ac_Header=no"
7848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7850 ac_res=`eval echo '${'$as_ac_Header'}'`
7851 { echo "$as_me:$LINENO: result: $ac_res" >&5
7852 echo "${ECHO_T}$ac_res" >&6; }
7853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7854 cat >>confdefs.h <<_ACEOF
7855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7856 _ACEOF
7860 done
7864 for ac_header in pthread_np.h
7866 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7867 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7869 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7871 else
7872 cat >conftest.$ac_ext <<_ACEOF
7873 /* confdefs.h. */
7874 _ACEOF
7875 cat confdefs.h >>conftest.$ac_ext
7876 cat >>conftest.$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7878 #ifdef HAVE_PTHREAD_H
7879 #include <pthread.h>
7880 #endif
7882 #include <$ac_header>
7883 _ACEOF
7884 rm -f conftest.$ac_objext
7885 if { (ac_try="$ac_compile"
7886 case "(($ac_try" in
7887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7888 *) ac_try_echo=$ac_try;;
7889 esac
7890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7891 (eval "$ac_compile") 2>conftest.er1
7892 ac_status=$?
7893 grep -v '^ *+' conftest.er1 >conftest.err
7894 rm -f conftest.er1
7895 cat conftest.err >&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } && {
7898 test -z "$ac_c_werror_flag" ||
7899 test ! -s conftest.err
7900 } && test -s conftest.$ac_objext; then
7901 eval "$as_ac_Header=yes"
7902 else
7903 echo "$as_me: failed program was:" >&5
7904 sed 's/^/| /' conftest.$ac_ext >&5
7906 eval "$as_ac_Header=no"
7909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7911 ac_res=`eval echo '${'$as_ac_Header'}'`
7912 { echo "$as_me:$LINENO: result: $ac_res" >&5
7913 echo "${ECHO_T}$ac_res" >&6; }
7914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7915 cat >>confdefs.h <<_ACEOF
7916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7917 _ACEOF
7921 done
7925 for ac_header in linux/videodev.h
7927 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7928 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7931 echo $ECHO_N "(cached) $ECHO_C" >&6
7932 else
7933 cat >conftest.$ac_ext <<_ACEOF
7934 /* confdefs.h. */
7935 _ACEOF
7936 cat confdefs.h >>conftest.$ac_ext
7937 cat >>conftest.$ac_ext <<_ACEOF
7938 /* end confdefs.h. */
7939 #ifdef HAVE_SYS_TIME_H
7940 #include <sys/time.h>
7941 #endif
7942 #include <sys/types.h>
7943 #ifdef HAVE_ASM_TYPES_H
7944 #include <asm/types.h>
7945 #endif
7947 #include <$ac_header>
7948 _ACEOF
7949 rm -f conftest.$ac_objext
7950 if { (ac_try="$ac_compile"
7951 case "(($ac_try" in
7952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7953 *) ac_try_echo=$ac_try;;
7954 esac
7955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7956 (eval "$ac_compile") 2>conftest.er1
7957 ac_status=$?
7958 grep -v '^ *+' conftest.er1 >conftest.err
7959 rm -f conftest.er1
7960 cat conftest.err >&5
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); } && {
7963 test -z "$ac_c_werror_flag" ||
7964 test ! -s conftest.err
7965 } && test -s conftest.$ac_objext; then
7966 eval "$as_ac_Header=yes"
7967 else
7968 echo "$as_me: failed program was:" >&5
7969 sed 's/^/| /' conftest.$ac_ext >&5
7971 eval "$as_ac_Header=no"
7974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7976 ac_res=`eval echo '${'$as_ac_Header'}'`
7977 { echo "$as_me:$LINENO: result: $ac_res" >&5
7978 echo "${ECHO_T}$ac_res" >&6; }
7979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7980 cat >>confdefs.h <<_ACEOF
7981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7982 _ACEOF
7986 done
7990 for ac_header in linux/capi.h
7992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
7997 else
7998 cat >conftest.$ac_ext <<_ACEOF
7999 /* confdefs.h. */
8000 _ACEOF
8001 cat confdefs.h >>conftest.$ac_ext
8002 cat >>conftest.$ac_ext <<_ACEOF
8003 /* end confdefs.h. */
8004 #define __user
8006 #include <$ac_header>
8007 _ACEOF
8008 rm -f conftest.$ac_objext
8009 if { (ac_try="$ac_compile"
8010 case "(($ac_try" in
8011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8012 *) ac_try_echo=$ac_try;;
8013 esac
8014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8015 (eval "$ac_compile") 2>conftest.er1
8016 ac_status=$?
8017 grep -v '^ *+' conftest.er1 >conftest.err
8018 rm -f conftest.er1
8019 cat conftest.err >&5
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); } && {
8022 test -z "$ac_c_werror_flag" ||
8023 test ! -s conftest.err
8024 } && test -s conftest.$ac_objext; then
8025 eval "$as_ac_Header=yes"
8026 else
8027 echo "$as_me: failed program was:" >&5
8028 sed 's/^/| /' conftest.$ac_ext >&5
8030 eval "$as_ac_Header=no"
8033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8035 ac_res=`eval echo '${'$as_ac_Header'}'`
8036 { echo "$as_me:$LINENO: result: $ac_res" >&5
8037 echo "${ECHO_T}$ac_res" >&6; }
8038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8039 cat >>confdefs.h <<_ACEOF
8040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8041 _ACEOF
8045 done
8049 DLLEXT=""
8051 DLLFLAGS="-D_REENTRANT"
8053 LDSHARED=""
8055 LDDLLFLAGS=""
8057 LIBEXT="so"
8059 IMPLIBEXT="def"
8061 LDRPATH_INSTALL=""
8063 LDRPATH_LOCAL=""
8065 # Extract the first word of "ldd", so it can be a program name with args.
8066 set dummy ldd; ac_word=$2
8067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8069 if test "${ac_cv_path_LDD+set}" = set; then
8070 echo $ECHO_N "(cached) $ECHO_C" >&6
8071 else
8072 case $LDD in
8073 [\\/]* | ?:[\\/]*)
8074 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 as_dummy="/sbin:/usr/sbin:$PATH"
8079 for as_dir in $as_dummy
8081 IFS=$as_save_IFS
8082 test -z "$as_dir" && as_dir=.
8083 for ac_exec_ext in '' $ac_executable_extensions; do
8084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8085 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8087 break 2
8089 done
8090 done
8091 IFS=$as_save_IFS
8093 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8095 esac
8097 LDD=$ac_cv_path_LDD
8098 if test -n "$LDD"; then
8099 { echo "$as_me:$LINENO: result: $LDD" >&5
8100 echo "${ECHO_T}$LDD" >&6; }
8101 else
8102 { echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6; }
8108 case $host_os in
8109 cygwin*|mingw32*)
8110 if test -n "$ac_tool_prefix"; then
8111 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8112 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8115 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8116 echo $ECHO_N "(cached) $ECHO_C" >&6
8117 else
8118 if test -n "$DLLTOOL"; then
8119 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8120 else
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8122 for as_dir in $PATH
8124 IFS=$as_save_IFS
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8128 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8130 break 2
8132 done
8133 done
8134 IFS=$as_save_IFS
8138 DLLTOOL=$ac_cv_prog_DLLTOOL
8139 if test -n "$DLLTOOL"; then
8140 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8141 echo "${ECHO_T}$DLLTOOL" >&6; }
8142 else
8143 { echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6; }
8149 if test -z "$ac_cv_prog_DLLTOOL"; then
8150 ac_ct_DLLTOOL=$DLLTOOL
8151 # Extract the first word of "dlltool", so it can be a program name with args.
8152 set dummy dlltool; ac_word=$2
8153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8155 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8156 echo $ECHO_N "(cached) $ECHO_C" >&6
8157 else
8158 if test -n "$ac_ct_DLLTOOL"; then
8159 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8160 else
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8162 for as_dir in $PATH
8164 IFS=$as_save_IFS
8165 test -z "$as_dir" && as_dir=.
8166 for ac_exec_ext in '' $ac_executable_extensions; do
8167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8168 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8170 break 2
8172 done
8173 done
8174 IFS=$as_save_IFS
8178 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8179 if test -n "$ac_ct_DLLTOOL"; then
8180 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8181 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8182 else
8183 { echo "$as_me:$LINENO: result: no" >&5
8184 echo "${ECHO_T}no" >&6; }
8187 if test "x$ac_ct_DLLTOOL" = x; then
8188 DLLTOOL="false"
8189 else
8190 case $cross_compiling:$ac_tool_warned in
8191 yes:)
8192 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8193 whose name does not start with the host triplet. If you think this
8194 configuration is useful to you, please write to autoconf@gnu.org." >&5
8195 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8196 whose name does not start with the host triplet. If you think this
8197 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8198 ac_tool_warned=yes ;;
8199 esac
8200 DLLTOOL=$ac_ct_DLLTOOL
8202 else
8203 DLLTOOL="$ac_cv_prog_DLLTOOL"
8206 if test -n "$ac_tool_prefix"; then
8207 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8208 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8211 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8212 echo $ECHO_N "(cached) $ECHO_C" >&6
8213 else
8214 if test -n "$DLLWRAP"; then
8215 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8216 else
8217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8218 for as_dir in $PATH
8220 IFS=$as_save_IFS
8221 test -z "$as_dir" && as_dir=.
8222 for ac_exec_ext in '' $ac_executable_extensions; do
8223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8224 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8226 break 2
8228 done
8229 done
8230 IFS=$as_save_IFS
8234 DLLWRAP=$ac_cv_prog_DLLWRAP
8235 if test -n "$DLLWRAP"; then
8236 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8237 echo "${ECHO_T}$DLLWRAP" >&6; }
8238 else
8239 { echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6; }
8245 if test -z "$ac_cv_prog_DLLWRAP"; then
8246 ac_ct_DLLWRAP=$DLLWRAP
8247 # Extract the first word of "dllwrap", so it can be a program name with args.
8248 set dummy dllwrap; ac_word=$2
8249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8251 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8252 echo $ECHO_N "(cached) $ECHO_C" >&6
8253 else
8254 if test -n "$ac_ct_DLLWRAP"; then
8255 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8256 else
8257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8258 for as_dir in $PATH
8260 IFS=$as_save_IFS
8261 test -z "$as_dir" && as_dir=.
8262 for ac_exec_ext in '' $ac_executable_extensions; do
8263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8264 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 break 2
8268 done
8269 done
8270 IFS=$as_save_IFS
8274 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8275 if test -n "$ac_ct_DLLWRAP"; then
8276 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8277 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8278 else
8279 { echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6; }
8283 if test "x$ac_ct_DLLWRAP" = x; then
8284 DLLWRAP="false"
8285 else
8286 case $cross_compiling:$ac_tool_warned in
8287 yes:)
8288 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8289 whose name does not start with the host triplet. If you think this
8290 configuration is useful to you, please write to autoconf@gnu.org." >&5
8291 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8292 whose name does not start with the host triplet. If you think this
8293 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8294 ac_tool_warned=yes ;;
8295 esac
8296 DLLWRAP=$ac_ct_DLLWRAP
8298 else
8299 DLLWRAP="$ac_cv_prog_DLLWRAP"
8302 if test -n "$ac_tool_prefix"; then
8303 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8304 set dummy ${ac_tool_prefix}ar; ac_word=$2
8305 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8307 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8309 else
8310 if test -n "$MINGWAR"; then
8311 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8312 else
8313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8314 for as_dir in $PATH
8316 IFS=$as_save_IFS
8317 test -z "$as_dir" && as_dir=.
8318 for ac_exec_ext in '' $ac_executable_extensions; do
8319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8320 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8322 break 2
8324 done
8325 done
8326 IFS=$as_save_IFS
8330 MINGWAR=$ac_cv_prog_MINGWAR
8331 if test -n "$MINGWAR"; then
8332 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8333 echo "${ECHO_T}$MINGWAR" >&6; }
8334 else
8335 { echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6; }
8341 if test -z "$ac_cv_prog_MINGWAR"; then
8342 ac_ct_MINGWAR=$MINGWAR
8343 # Extract the first word of "ar", so it can be a program name with args.
8344 set dummy ar; ac_word=$2
8345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8347 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8348 echo $ECHO_N "(cached) $ECHO_C" >&6
8349 else
8350 if test -n "$ac_ct_MINGWAR"; then
8351 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8352 else
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 for as_dir in $PATH
8356 IFS=$as_save_IFS
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8360 ac_cv_prog_ac_ct_MINGWAR="ar"
8361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8362 break 2
8364 done
8365 done
8366 IFS=$as_save_IFS
8370 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8371 if test -n "$ac_ct_MINGWAR"; then
8372 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8373 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8374 else
8375 { echo "$as_me:$LINENO: result: no" >&5
8376 echo "${ECHO_T}no" >&6; }
8379 if test "x$ac_ct_MINGWAR" = x; then
8380 MINGWAR="false"
8381 else
8382 case $cross_compiling:$ac_tool_warned in
8383 yes:)
8384 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8385 whose name does not start with the host triplet. If you think this
8386 configuration is useful to you, please write to autoconf@gnu.org." >&5
8387 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8388 whose name does not start with the host triplet. If you think this
8389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8390 ac_tool_warned=yes ;;
8391 esac
8392 MINGWAR=$ac_ct_MINGWAR
8394 else
8395 MINGWAR="$ac_cv_prog_MINGWAR"
8398 if test "$DLLWRAP" = "false"; then
8399 LIBEXT="a"
8400 else
8401 LIBEXT="dll"
8403 IMPLIBEXT="a"
8404 WIN16_FILES=""
8405 WIN16_INSTALL=""
8407 darwin*|macosx*)
8408 DLLEXT=".so"
8409 LIBEXT="dylib"
8410 DLLFLAGS="$DLLFLAGS -fPIC"
8411 LDDLLFLAGS="-bundle -multiply_defined suppress"
8412 LIBWINE_LDFLAGS="-multiply_defined suppress"
8413 LDSHARED="\$(CC) -dynamiclib"
8414 STRIP="$STRIP -x"
8415 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8416 SECURITYLIB="-framework Security -framework CoreFoundation"
8418 COREFOUNDATIONLIB="-framework CoreFoundation"
8420 IOKITLIB="-framework IOKit -framework CoreFoundation"
8422 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8424 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8425 then
8426 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8429 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8430 then
8431 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8434 case $host_cpu in
8435 *powerpc*)
8436 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8437 esac
8438 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8439 then
8440 CARBONLIB="-framework Carbon"
8442 QUARTZFILES='$(QUARTZFILES)'
8446 DLLFLAGS="$DLLFLAGS -fPIC"
8447 DLLEXT=".so"
8448 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8449 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8450 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8451 echo $ECHO_N "(cached) $ECHO_C" >&6
8452 else
8453 ac_wine_try_cflags_saved=$CFLAGS
8454 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8455 cat >conftest.$ac_ext <<_ACEOF
8456 void myfunc() {}
8457 _ACEOF
8458 rm -f conftest.$ac_objext conftest$ac_exeext
8459 if { (ac_try="$ac_link"
8460 case "(($ac_try" in
8461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8462 *) ac_try_echo=$ac_try;;
8463 esac
8464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8465 (eval "$ac_link") 2>conftest.er1
8466 ac_status=$?
8467 grep -v '^ *+' conftest.er1 >conftest.err
8468 rm -f conftest.er1
8469 cat conftest.err >&5
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8471 (exit $ac_status); } && {
8472 test -z "$ac_c_werror_flag" ||
8473 test ! -s conftest.err
8474 } && test -s conftest$ac_exeext &&
8475 $as_test_x conftest$ac_exeext; then
8476 ac_cv_c_dll_gnuelf="yes"
8477 else
8478 echo "$as_me: failed program was:" >&5
8479 sed 's/^/| /' conftest.$ac_ext >&5
8481 ac_cv_c_dll_gnuelf="no"
8484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8485 conftest$ac_exeext conftest.$ac_ext
8486 CFLAGS=$ac_wine_try_cflags_saved
8488 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8489 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8490 if test "$ac_cv_c_dll_gnuelf" = "yes"
8491 then
8492 LDSHARED="\$(CC) -shared"
8493 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8494 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8495 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8496 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8497 echo $ECHO_N "(cached) $ECHO_C" >&6
8498 else
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8501 cat >conftest.$ac_ext <<_ACEOF
8502 /* confdefs.h. */
8503 _ACEOF
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8509 main ()
8513 return 0;
8515 _ACEOF
8516 rm -f conftest.$ac_objext conftest$ac_exeext
8517 if { (ac_try="$ac_link"
8518 case "(($ac_try" in
8519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8520 *) ac_try_echo=$ac_try;;
8521 esac
8522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8523 (eval "$ac_link") 2>conftest.er1
8524 ac_status=$?
8525 grep -v '^ *+' conftest.er1 >conftest.err
8526 rm -f conftest.er1
8527 cat conftest.err >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); } && {
8530 test -z "$ac_c_werror_flag" ||
8531 test ! -s conftest.err
8532 } && test -s conftest$ac_exeext &&
8533 $as_test_x conftest$ac_exeext; then
8534 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8535 else
8536 echo "$as_me: failed program was:" >&5
8537 sed 's/^/| /' conftest.$ac_ext >&5
8539 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8547 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8548 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8549 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8550 else
8551 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8552 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8553 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8554 echo $ECHO_N "(cached) $ECHO_C" >&6
8555 else
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8558 cat >conftest.$ac_ext <<_ACEOF
8559 /* confdefs.h. */
8560 _ACEOF
8561 cat confdefs.h >>conftest.$ac_ext
8562 cat >>conftest.$ac_ext <<_ACEOF
8563 /* end confdefs.h. */
8566 main ()
8570 return 0;
8572 _ACEOF
8573 rm -f conftest.$ac_objext conftest$ac_exeext
8574 if { (ac_try="$ac_link"
8575 case "(($ac_try" in
8576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8577 *) ac_try_echo=$ac_try;;
8578 esac
8579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8580 (eval "$ac_link") 2>conftest.er1
8581 ac_status=$?
8582 grep -v '^ *+' conftest.er1 >conftest.err
8583 rm -f conftest.er1
8584 cat conftest.err >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } && {
8587 test -z "$ac_c_werror_flag" ||
8588 test ! -s conftest.err
8589 } && test -s conftest$ac_exeext &&
8590 $as_test_x conftest$ac_exeext; then
8591 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8592 else
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.$ac_ext >&5
8596 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8600 conftest$ac_exeext conftest.$ac_ext
8601 CFLAGS=$ac_wine_try_cflags_saved
8603 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8604 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8605 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8606 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8612 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8613 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8614 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8615 echo $ECHO_N "(cached) $ECHO_C" >&6
8616 else
8617 ac_wine_try_cflags_saved=$CFLAGS
8618 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8619 cat >conftest.$ac_ext <<_ACEOF
8620 /* confdefs.h. */
8621 _ACEOF
8622 cat confdefs.h >>conftest.$ac_ext
8623 cat >>conftest.$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8627 main ()
8631 return 0;
8633 _ACEOF
8634 rm -f conftest.$ac_objext conftest$ac_exeext
8635 if { (ac_try="$ac_link"
8636 case "(($ac_try" in
8637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8638 *) ac_try_echo=$ac_try;;
8639 esac
8640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8641 (eval "$ac_link") 2>conftest.er1
8642 ac_status=$?
8643 grep -v '^ *+' conftest.er1 >conftest.err
8644 rm -f conftest.er1
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } && {
8648 test -z "$ac_c_werror_flag" ||
8649 test ! -s conftest.err
8650 } && test -s conftest$ac_exeext &&
8651 $as_test_x conftest$ac_exeext; then
8652 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8653 else
8654 echo "$as_me: failed program was:" >&5
8655 sed 's/^/| /' conftest.$ac_ext >&5
8657 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8661 conftest$ac_exeext conftest.$ac_ext
8662 CFLAGS=$ac_wine_try_cflags_saved
8664 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8665 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8666 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8667 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8671 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8672 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8673 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8674 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 else
8676 ac_wine_try_cflags_saved=$CFLAGS
8677 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8678 cat >conftest.$ac_ext <<_ACEOF
8679 /* confdefs.h. */
8680 _ACEOF
8681 cat confdefs.h >>conftest.$ac_ext
8682 cat >>conftest.$ac_ext <<_ACEOF
8683 /* end confdefs.h. */
8686 main ()
8690 return 0;
8692 _ACEOF
8693 rm -f conftest.$ac_objext conftest$ac_exeext
8694 if { (ac_try="$ac_link"
8695 case "(($ac_try" in
8696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8697 *) ac_try_echo=$ac_try;;
8698 esac
8699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8700 (eval "$ac_link") 2>conftest.er1
8701 ac_status=$?
8702 grep -v '^ *+' conftest.er1 >conftest.err
8703 rm -f conftest.er1
8704 cat conftest.err >&5
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); } && {
8707 test -z "$ac_c_werror_flag" ||
8708 test ! -s conftest.err
8709 } && test -s conftest$ac_exeext &&
8710 $as_test_x conftest$ac_exeext; then
8711 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8712 else
8713 echo "$as_me: failed program was:" >&5
8714 sed 's/^/| /' conftest.$ac_ext >&5
8716 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8720 conftest$ac_exeext conftest.$ac_ext
8721 CFLAGS=$ac_wine_try_cflags_saved
8723 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8724 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8725 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8726 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8730 echo '{ global: *; };' >conftest.map
8731 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8732 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8733 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8735 else
8736 ac_wine_try_cflags_saved=$CFLAGS
8737 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8738 cat >conftest.$ac_ext <<_ACEOF
8739 /* confdefs.h. */
8740 _ACEOF
8741 cat confdefs.h >>conftest.$ac_ext
8742 cat >>conftest.$ac_ext <<_ACEOF
8743 /* end confdefs.h. */
8746 main ()
8750 return 0;
8752 _ACEOF
8753 rm -f conftest.$ac_objext conftest$ac_exeext
8754 if { (ac_try="$ac_link"
8755 case "(($ac_try" in
8756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8758 esac
8759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760 (eval "$ac_link") 2>conftest.er1
8761 ac_status=$?
8762 grep -v '^ *+' conftest.er1 >conftest.err
8763 rm -f conftest.er1
8764 cat conftest.err >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); } && {
8767 test -z "$ac_c_werror_flag" ||
8768 test ! -s conftest.err
8769 } && test -s conftest$ac_exeext &&
8770 $as_test_x conftest$ac_exeext; then
8771 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8772 else
8773 echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.$ac_ext >&5
8776 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8784 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8785 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8786 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8789 rm -f conftest.map
8791 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8792 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8793 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8794 echo $ECHO_N "(cached) $ECHO_C" >&6
8795 else
8796 ac_wine_try_cflags_saved=$CFLAGS
8797 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8798 cat >conftest.$ac_ext <<_ACEOF
8799 /* confdefs.h. */
8800 _ACEOF
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8806 main ()
8810 return 0;
8812 _ACEOF
8813 rm -f conftest.$ac_objext conftest$ac_exeext
8814 if { (ac_try="$ac_link"
8815 case "(($ac_try" in
8816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8817 *) ac_try_echo=$ac_try;;
8818 esac
8819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8820 (eval "$ac_link") 2>conftest.er1
8821 ac_status=$?
8822 grep -v '^ *+' conftest.er1 >conftest.err
8823 rm -f conftest.er1
8824 cat conftest.err >&5
8825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); } && {
8827 test -z "$ac_c_werror_flag" ||
8828 test ! -s conftest.err
8829 } && test -s conftest$ac_exeext &&
8830 $as_test_x conftest$ac_exeext; then
8831 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8832 else
8833 echo "$as_me: failed program was:" >&5
8834 sed 's/^/| /' conftest.$ac_ext >&5
8836 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8840 conftest$ac_exeext conftest.$ac_ext
8841 CFLAGS=$ac_wine_try_cflags_saved
8843 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8844 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8845 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8846 LDEXECFLAGS="-Wl,--export-dynamic"
8851 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8852 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8853 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8854 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8855 echo $ECHO_N "(cached) $ECHO_C" >&6
8856 else
8857 ac_wine_try_cflags_saved=$CFLAGS
8858 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8859 cat >conftest.$ac_ext <<_ACEOF
8860 /* confdefs.h. */
8861 _ACEOF
8862 cat confdefs.h >>conftest.$ac_ext
8863 cat >>conftest.$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8867 main ()
8871 return 0;
8873 _ACEOF
8874 rm -f conftest.$ac_objext conftest$ac_exeext
8875 if { (ac_try="$ac_link"
8876 case "(($ac_try" in
8877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8878 *) ac_try_echo=$ac_try;;
8879 esac
8880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8881 (eval "$ac_link") 2>conftest.er1
8882 ac_status=$?
8883 grep -v '^ *+' conftest.er1 >conftest.err
8884 rm -f conftest.er1
8885 cat conftest.err >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); } && {
8888 test -z "$ac_c_werror_flag" ||
8889 test ! -s conftest.err
8890 } && test -s conftest$ac_exeext &&
8891 $as_test_x conftest$ac_exeext; then
8892 eval "$as_ac_var=yes"
8893 else
8894 echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.$ac_ext >&5
8897 eval "$as_ac_var=no"
8900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8901 conftest$ac_exeext conftest.$ac_ext
8902 CFLAGS=$ac_wine_try_cflags_saved
8904 ac_res=`eval echo '${'$as_ac_var'}'`
8905 { echo "$as_me:$LINENO: result: $ac_res" >&5
8906 echo "${ECHO_T}$ac_res" >&6; }
8907 if test `eval echo '${'$as_ac_var'}'` = yes; then
8908 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8909 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8910 else
8911 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8912 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8913 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8914 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8915 echo $ECHO_N "(cached) $ECHO_C" >&6
8916 else
8917 ac_wine_try_cflags_saved=$CFLAGS
8918 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8919 cat >conftest.$ac_ext <<_ACEOF
8920 /* confdefs.h. */
8921 _ACEOF
8922 cat confdefs.h >>conftest.$ac_ext
8923 cat >>conftest.$ac_ext <<_ACEOF
8924 /* end confdefs.h. */
8927 main ()
8931 return 0;
8933 _ACEOF
8934 rm -f conftest.$ac_objext conftest$ac_exeext
8935 if { (ac_try="$ac_link"
8936 case "(($ac_try" in
8937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8938 *) ac_try_echo=$ac_try;;
8939 esac
8940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8941 (eval "$ac_link") 2>conftest.er1
8942 ac_status=$?
8943 grep -v '^ *+' conftest.er1 >conftest.err
8944 rm -f conftest.er1
8945 cat conftest.err >&5
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); } && {
8948 test -z "$ac_c_werror_flag" ||
8949 test ! -s conftest.err
8950 } && test -s conftest$ac_exeext &&
8951 $as_test_x conftest$ac_exeext; then
8952 eval "$as_ac_var=yes"
8953 else
8954 echo "$as_me: failed program was:" >&5
8955 sed 's/^/| /' conftest.$ac_ext >&5
8957 eval "$as_ac_var=no"
8960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8961 conftest$ac_exeext conftest.$ac_ext
8962 CFLAGS=$ac_wine_try_cflags_saved
8964 ac_res=`eval echo '${'$as_ac_var'}'`
8965 { echo "$as_me:$LINENO: result: $ac_res" >&5
8966 echo "${ECHO_T}$ac_res" >&6; }
8967 if test `eval echo '${'$as_ac_var'}'` = yes; then
8968 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8969 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8975 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8976 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8977 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8978 echo $ECHO_N "(cached) $ECHO_C" >&6
8979 else
8980 ac_wine_try_cflags_saved=$CFLAGS
8981 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8982 cat >conftest.$ac_ext <<_ACEOF
8983 /* confdefs.h. */
8984 _ACEOF
8985 cat confdefs.h >>conftest.$ac_ext
8986 cat >>conftest.$ac_ext <<_ACEOF
8987 /* end confdefs.h. */
8990 main ()
8994 return 0;
8996 _ACEOF
8997 rm -f conftest.$ac_objext conftest$ac_exeext
8998 if { (ac_try="$ac_link"
8999 case "(($ac_try" in
9000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9001 *) ac_try_echo=$ac_try;;
9002 esac
9003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9004 (eval "$ac_link") 2>conftest.er1
9005 ac_status=$?
9006 grep -v '^ *+' conftest.er1 >conftest.err
9007 rm -f conftest.er1
9008 cat conftest.err >&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } && {
9011 test -z "$ac_c_werror_flag" ||
9012 test ! -s conftest.err
9013 } && test -s conftest$ac_exeext &&
9014 $as_test_x conftest$ac_exeext; then
9015 ac_cv_cflags__Wl___enable_new_dtags=yes
9016 else
9017 echo "$as_me: failed program was:" >&5
9018 sed 's/^/| /' conftest.$ac_ext >&5
9020 ac_cv_cflags__Wl___enable_new_dtags=no
9023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9024 conftest$ac_exeext conftest.$ac_ext
9025 CFLAGS=$ac_wine_try_cflags_saved
9027 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9028 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9029 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9030 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9034 case $host_cpu in
9035 *i[3456789]86* | x86_64)
9036 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9037 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9038 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9039 echo $ECHO_N "(cached) $ECHO_C" >&6
9040 else
9041 ac_wine_try_cflags_saved=$CFLAGS
9042 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9043 cat >conftest.$ac_ext <<_ACEOF
9044 /* confdefs.h. */
9045 _ACEOF
9046 cat confdefs.h >>conftest.$ac_ext
9047 cat >>conftest.$ac_ext <<_ACEOF
9048 /* end confdefs.h. */
9051 main ()
9055 return 0;
9057 _ACEOF
9058 rm -f conftest.$ac_objext conftest$ac_exeext
9059 if { (ac_try="$ac_link"
9060 case "(($ac_try" in
9061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9062 *) ac_try_echo=$ac_try;;
9063 esac
9064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9065 (eval "$ac_link") 2>conftest.er1
9066 ac_status=$?
9067 grep -v '^ *+' conftest.er1 >conftest.err
9068 rm -f conftest.er1
9069 cat conftest.err >&5
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); } && {
9072 test -z "$ac_c_werror_flag" ||
9073 test ! -s conftest.err
9074 } && test -s conftest$ac_exeext &&
9075 $as_test_x conftest$ac_exeext; then
9076 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9077 else
9078 echo "$as_me: failed program was:" >&5
9079 sed 's/^/| /' conftest.$ac_ext >&5
9081 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9085 conftest$ac_exeext conftest.$ac_ext
9086 CFLAGS=$ac_wine_try_cflags_saved
9088 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9089 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9090 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9091 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9095 esac
9097 else
9098 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9099 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9100 if test "${ac_cv_c_dll_unixware+set}" = set; then
9101 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 else
9103 ac_wine_try_cflags_saved=$CFLAGS
9104 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9105 cat >conftest.$ac_ext <<_ACEOF
9106 void myfunc() {}
9107 _ACEOF
9108 rm -f conftest.$ac_objext conftest$ac_exeext
9109 if { (ac_try="$ac_link"
9110 case "(($ac_try" in
9111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9112 *) ac_try_echo=$ac_try;;
9113 esac
9114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9115 (eval "$ac_link") 2>conftest.er1
9116 ac_status=$?
9117 grep -v '^ *+' conftest.er1 >conftest.err
9118 rm -f conftest.er1
9119 cat conftest.err >&5
9120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121 (exit $ac_status); } && {
9122 test -z "$ac_c_werror_flag" ||
9123 test ! -s conftest.err
9124 } && test -s conftest$ac_exeext &&
9125 $as_test_x conftest$ac_exeext; then
9126 ac_cv_c_dll_unixware="yes"
9127 else
9128 echo "$as_me: failed program was:" >&5
9129 sed 's/^/| /' conftest.$ac_ext >&5
9131 ac_cv_c_dll_unixware="no"
9134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9135 conftest$ac_exeext conftest.$ac_ext
9136 CFLAGS=$ac_wine_try_cflags_saved
9138 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9139 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9140 if test "$ac_cv_c_dll_unixware" = "yes"
9141 then
9142 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9143 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9145 else
9146 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9147 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9148 if test "${ac_cv_c_dll_hpux+set}" = set; then
9149 echo $ECHO_N "(cached) $ECHO_C" >&6
9150 else
9151 ac_wine_try_cflags_saved=$CFLAGS
9152 CFLAGS="$CFLAGS -shared"
9153 cat >conftest.$ac_ext <<_ACEOF
9154 void myfunc() {}
9155 _ACEOF
9156 rm -f conftest.$ac_objext conftest$ac_exeext
9157 if { (ac_try="$ac_link"
9158 case "(($ac_try" in
9159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9160 *) ac_try_echo=$ac_try;;
9161 esac
9162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9163 (eval "$ac_link") 2>conftest.er1
9164 ac_status=$?
9165 grep -v '^ *+' conftest.er1 >conftest.err
9166 rm -f conftest.er1
9167 cat conftest.err >&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } && {
9170 test -z "$ac_c_werror_flag" ||
9171 test ! -s conftest.err
9172 } && test -s conftest$ac_exeext &&
9173 $as_test_x conftest$ac_exeext; then
9174 ac_cv_c_dll_hpux="yes"
9175 else
9176 echo "$as_me: failed program was:" >&5
9177 sed 's/^/| /' conftest.$ac_ext >&5
9179 ac_cv_c_dll_hpux="no"
9182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9183 conftest$ac_exeext conftest.$ac_ext
9184 CFLAGS=$ac_wine_try_cflags_saved
9186 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9187 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9188 if test "$ac_cv_c_dll_hpux" = "yes"
9189 then
9190 LIBEXT="sl"
9191 DLLEXT=".sl"
9192 LDDLLFLAGS="-shared -fPIC"
9193 LDSHARED="\$(CC) -shared"
9198 CROSSTEST=""
9200 if test "$cross_compiling" = "no"
9201 then
9202 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9204 # Extract the first word of "$ac_prog", so it can be a program name with args.
9205 set dummy $ac_prog; ac_word=$2
9206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9208 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9209 echo $ECHO_N "(cached) $ECHO_C" >&6
9210 else
9211 if test -n "$CROSSCC"; then
9212 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9213 else
9214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9215 for as_dir in $PATH
9217 IFS=$as_save_IFS
9218 test -z "$as_dir" && as_dir=.
9219 for ac_exec_ext in '' $ac_executable_extensions; do
9220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9221 ac_cv_prog_CROSSCC="$ac_prog"
9222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9223 break 2
9225 done
9226 done
9227 IFS=$as_save_IFS
9231 CROSSCC=$ac_cv_prog_CROSSCC
9232 if test -n "$CROSSCC"; then
9233 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9234 echo "${ECHO_T}$CROSSCC" >&6; }
9235 else
9236 { echo "$as_me:$LINENO: result: no" >&5
9237 echo "${ECHO_T}no" >&6; }
9241 test -n "$CROSSCC" && break
9242 done
9243 test -n "$CROSSCC" || CROSSCC="false"
9245 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9247 # Extract the first word of "$ac_prog", so it can be a program name with args.
9248 set dummy $ac_prog; ac_word=$2
9249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9251 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6
9253 else
9254 if test -n "$DLLTOOL"; then
9255 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9256 else
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9258 for as_dir in $PATH
9260 IFS=$as_save_IFS
9261 test -z "$as_dir" && as_dir=.
9262 for ac_exec_ext in '' $ac_executable_extensions; do
9263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9264 ac_cv_prog_DLLTOOL="$ac_prog"
9265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9266 break 2
9268 done
9269 done
9270 IFS=$as_save_IFS
9274 DLLTOOL=$ac_cv_prog_DLLTOOL
9275 if test -n "$DLLTOOL"; then
9276 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9277 echo "${ECHO_T}$DLLTOOL" >&6; }
9278 else
9279 { echo "$as_me:$LINENO: result: no" >&5
9280 echo "${ECHO_T}no" >&6; }
9284 test -n "$DLLTOOL" && break
9285 done
9286 test -n "$DLLTOOL" || DLLTOOL="false"
9288 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9290 # Extract the first word of "$ac_prog", so it can be a program name with args.
9291 set dummy $ac_prog; ac_word=$2
9292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9294 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9295 echo $ECHO_N "(cached) $ECHO_C" >&6
9296 else
9297 if test -n "$CROSSWINDRES"; then
9298 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9299 else
9300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9301 for as_dir in $PATH
9303 IFS=$as_save_IFS
9304 test -z "$as_dir" && as_dir=.
9305 for ac_exec_ext in '' $ac_executable_extensions; do
9306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9307 ac_cv_prog_CROSSWINDRES="$ac_prog"
9308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9309 break 2
9311 done
9312 done
9313 IFS=$as_save_IFS
9317 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9318 if test -n "$CROSSWINDRES"; then
9319 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9320 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9321 else
9322 { echo "$as_me:$LINENO: result: no" >&5
9323 echo "${ECHO_T}no" >&6; }
9327 test -n "$CROSSWINDRES" && break
9328 done
9329 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9331 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9333 # Extract the first word of "$ac_prog", so it can be a program name with args.
9334 set dummy $ac_prog; ac_word=$2
9335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9337 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9338 echo $ECHO_N "(cached) $ECHO_C" >&6
9339 else
9340 if test -n "$MINGWAR"; then
9341 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9342 else
9343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9344 for as_dir in $PATH
9346 IFS=$as_save_IFS
9347 test -z "$as_dir" && as_dir=.
9348 for ac_exec_ext in '' $ac_executable_extensions; do
9349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9350 ac_cv_prog_MINGWAR="$ac_prog"
9351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9352 break 2
9354 done
9355 done
9356 IFS=$as_save_IFS
9360 MINGWAR=$ac_cv_prog_MINGWAR
9361 if test -n "$MINGWAR"; then
9362 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9363 echo "${ECHO_T}$MINGWAR" >&6; }
9364 else
9365 { echo "$as_me:$LINENO: result: no" >&5
9366 echo "${ECHO_T}no" >&6; }
9370 test -n "$MINGWAR" && break
9371 done
9372 test -n "$MINGWAR" || MINGWAR="false"
9374 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9377 esac
9379 if test "$LIBEXT" = "a"; then
9380 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9381 It is currently not possible to build Wine without shared library
9382 (.so) support to allow transparent switch between .so and .dll files.
9383 If you are using Linux, you will need a newer binutils.
9384 " >&5
9385 echo "$as_me: error: could not find a way to build shared libraries.
9386 It is currently not possible to build Wine without shared library
9387 (.so) support to allow transparent switch between .so and .dll files.
9388 If you are using Linux, you will need a newer binutils.
9389 " >&2;}
9390 { (exit 1); exit 1; }; }
9394 if test "$have_x" = "yes"
9395 then
9396 XLIB="-lXext -lX11"
9397 ac_save_CPPFLAGS="$CPPFLAGS"
9398 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9400 { echo "$as_me:$LINENO: checking for -lX11" >&5
9401 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9402 if test "${ac_cv_lib_soname_X11+set}" = set; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 else
9405 ac_check_soname_save_LIBS=$LIBS
9406 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9407 cat >conftest.$ac_ext <<_ACEOF
9408 /* confdefs.h. */
9409 _ACEOF
9410 cat confdefs.h >>conftest.$ac_ext
9411 cat >>conftest.$ac_ext <<_ACEOF
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9417 #ifdef __cplusplus
9418 extern "C"
9419 #endif
9420 char XCreateWindow ();
9422 main ()
9424 return XCreateWindow ();
9426 return 0;
9428 _ACEOF
9429 rm -f conftest.$ac_objext conftest$ac_exeext
9430 if { (ac_try="$ac_link"
9431 case "(($ac_try" in
9432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9433 *) ac_try_echo=$ac_try;;
9434 esac
9435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9436 (eval "$ac_link") 2>conftest.er1
9437 ac_status=$?
9438 grep -v '^ *+' conftest.er1 >conftest.err
9439 rm -f conftest.er1
9440 cat conftest.err >&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); } && {
9443 test -z "$ac_c_werror_flag" ||
9444 test ! -s conftest.err
9445 } && test -s conftest$ac_exeext &&
9446 $as_test_x conftest$ac_exeext; then
9447 case "$LIBEXT" in
9448 dll) ;;
9449 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'` ;;
9450 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9451 esac
9452 else
9453 echo "$as_me: failed program was:" >&5
9454 sed 's/^/| /' conftest.$ac_ext >&5
9459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9460 conftest$ac_exeext conftest.$ac_ext
9461 LIBS=$ac_check_soname_save_LIBS
9463 if test "x$ac_cv_lib_soname_X11" = "x"; then
9464 { echo "$as_me:$LINENO: result: not found" >&5
9465 echo "${ECHO_T}not found" >&6; }
9467 else
9468 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9469 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9471 cat >>confdefs.h <<_ACEOF
9472 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9473 _ACEOF
9478 { echo "$as_me:$LINENO: checking for -lXext" >&5
9479 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9480 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9482 else
9483 ac_check_soname_save_LIBS=$LIBS
9484 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9485 cat >conftest.$ac_ext <<_ACEOF
9486 /* confdefs.h. */
9487 _ACEOF
9488 cat confdefs.h >>conftest.$ac_ext
9489 cat >>conftest.$ac_ext <<_ACEOF
9490 /* end confdefs.h. */
9492 /* Override any GCC internal prototype to avoid an error.
9493 Use char because int might match the return type of a GCC
9494 builtin and then its argument prototype would still apply. */
9495 #ifdef __cplusplus
9496 extern "C"
9497 #endif
9498 char XextCreateExtension ();
9500 main ()
9502 return XextCreateExtension ();
9504 return 0;
9506 _ACEOF
9507 rm -f conftest.$ac_objext conftest$ac_exeext
9508 if { (ac_try="$ac_link"
9509 case "(($ac_try" in
9510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9511 *) ac_try_echo=$ac_try;;
9512 esac
9513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9514 (eval "$ac_link") 2>conftest.er1
9515 ac_status=$?
9516 grep -v '^ *+' conftest.er1 >conftest.err
9517 rm -f conftest.er1
9518 cat conftest.err >&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); } && {
9521 test -z "$ac_c_werror_flag" ||
9522 test ! -s conftest.err
9523 } && test -s conftest$ac_exeext &&
9524 $as_test_x conftest$ac_exeext; then
9525 case "$LIBEXT" in
9526 dll) ;;
9527 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'` ;;
9528 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9529 esac
9530 else
9531 echo "$as_me: failed program was:" >&5
9532 sed 's/^/| /' conftest.$ac_ext >&5
9537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9538 conftest$ac_exeext conftest.$ac_ext
9539 LIBS=$ac_check_soname_save_LIBS
9541 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9542 { echo "$as_me:$LINENO: result: not found" >&5
9543 echo "${ECHO_T}not found" >&6; }
9545 else
9546 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9547 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9549 cat >>confdefs.h <<_ACEOF
9550 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9551 _ACEOF
9569 for ac_header in X11/Xlib.h \
9570 X11/XKBlib.h \
9571 X11/Xutil.h \
9572 X11/Xcursor/Xcursor.h \
9573 X11/extensions/shape.h \
9574 X11/extensions/XInput.h \
9575 X11/extensions/XShm.h \
9576 X11/extensions/Xcomposite.h \
9577 X11/extensions/Xinerama.h \
9578 X11/extensions/Xrandr.h \
9579 X11/extensions/Xrender.h \
9580 X11/extensions/xf86vmode.h
9582 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9583 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9585 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9586 echo $ECHO_N "(cached) $ECHO_C" >&6
9587 else
9588 cat >conftest.$ac_ext <<_ACEOF
9589 /* confdefs.h. */
9590 _ACEOF
9591 cat confdefs.h >>conftest.$ac_ext
9592 cat >>conftest.$ac_ext <<_ACEOF
9593 /* end confdefs.h. */
9594 #ifdef HAVE_X11_XLIB_H
9595 # include <X11/Xlib.h>
9596 #endif
9597 #ifdef HAVE_X11_XUTIL_H
9598 # include <X11/Xutil.h>
9599 #endif
9601 #include <$ac_header>
9602 _ACEOF
9603 rm -f conftest.$ac_objext
9604 if { (ac_try="$ac_compile"
9605 case "(($ac_try" in
9606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9607 *) ac_try_echo=$ac_try;;
9608 esac
9609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9610 (eval "$ac_compile") 2>conftest.er1
9611 ac_status=$?
9612 grep -v '^ *+' conftest.er1 >conftest.err
9613 rm -f conftest.er1
9614 cat conftest.err >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } && {
9617 test -z "$ac_c_werror_flag" ||
9618 test ! -s conftest.err
9619 } && test -s conftest.$ac_objext; then
9620 eval "$as_ac_Header=yes"
9621 else
9622 echo "$as_me: failed program was:" >&5
9623 sed 's/^/| /' conftest.$ac_ext >&5
9625 eval "$as_ac_Header=no"
9628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9630 ac_res=`eval echo '${'$as_ac_Header'}'`
9631 { echo "$as_me:$LINENO: result: $ac_res" >&5
9632 echo "${ECHO_T}$ac_res" >&6; }
9633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9634 cat >>confdefs.h <<_ACEOF
9635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9636 _ACEOF
9640 done
9643 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9644 then
9645 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9646 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9647 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 else
9650 ac_check_lib_save_LIBS=$LIBS
9651 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9652 cat >conftest.$ac_ext <<_ACEOF
9653 /* confdefs.h. */
9654 _ACEOF
9655 cat confdefs.h >>conftest.$ac_ext
9656 cat >>conftest.$ac_ext <<_ACEOF
9657 /* end confdefs.h. */
9659 /* Override any GCC internal prototype to avoid an error.
9660 Use char because int might match the return type of a GCC
9661 builtin and then its argument prototype would still apply. */
9662 #ifdef __cplusplus
9663 extern "C"
9664 #endif
9665 char XkbQueryExtension ();
9667 main ()
9669 return XkbQueryExtension ();
9671 return 0;
9673 _ACEOF
9674 rm -f conftest.$ac_objext conftest$ac_exeext
9675 if { (ac_try="$ac_link"
9676 case "(($ac_try" in
9677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9678 *) ac_try_echo=$ac_try;;
9679 esac
9680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9681 (eval "$ac_link") 2>conftest.er1
9682 ac_status=$?
9683 grep -v '^ *+' conftest.er1 >conftest.err
9684 rm -f conftest.er1
9685 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } && {
9688 test -z "$ac_c_werror_flag" ||
9689 test ! -s conftest.err
9690 } && test -s conftest$ac_exeext &&
9691 $as_test_x conftest$ac_exeext; then
9692 ac_cv_lib_X11_XkbQueryExtension=yes
9693 else
9694 echo "$as_me: failed program was:" >&5
9695 sed 's/^/| /' conftest.$ac_ext >&5
9697 ac_cv_lib_X11_XkbQueryExtension=no
9700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9701 conftest$ac_exeext conftest.$ac_ext
9702 LIBS=$ac_check_lib_save_LIBS
9704 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9705 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9706 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9708 cat >>confdefs.h <<\_ACEOF
9709 #define HAVE_XKB 1
9710 _ACEOF
9716 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9717 then
9718 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9719 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9720 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9721 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 else
9723 ac_check_soname_save_LIBS=$LIBS
9724 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9725 cat >conftest.$ac_ext <<_ACEOF
9726 /* confdefs.h. */
9727 _ACEOF
9728 cat confdefs.h >>conftest.$ac_ext
9729 cat >>conftest.$ac_ext <<_ACEOF
9730 /* end confdefs.h. */
9732 /* Override any GCC internal prototype to avoid an error.
9733 Use char because int might match the return type of a GCC
9734 builtin and then its argument prototype would still apply. */
9735 #ifdef __cplusplus
9736 extern "C"
9737 #endif
9738 char XcursorImageLoadCursor ();
9740 main ()
9742 return XcursorImageLoadCursor ();
9744 return 0;
9746 _ACEOF
9747 rm -f conftest.$ac_objext conftest$ac_exeext
9748 if { (ac_try="$ac_link"
9749 case "(($ac_try" in
9750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9752 esac
9753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9754 (eval "$ac_link") 2>conftest.er1
9755 ac_status=$?
9756 grep -v '^ *+' conftest.er1 >conftest.err
9757 rm -f conftest.er1
9758 cat conftest.err >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } && {
9761 test -z "$ac_c_werror_flag" ||
9762 test ! -s conftest.err
9763 } && test -s conftest$ac_exeext &&
9764 $as_test_x conftest$ac_exeext; then
9765 case "$LIBEXT" in
9766 dll) ;;
9767 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'` ;;
9768 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9769 esac
9770 else
9771 echo "$as_me: failed program was:" >&5
9772 sed 's/^/| /' conftest.$ac_ext >&5
9777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9778 conftest$ac_exeext conftest.$ac_ext
9779 LIBS=$ac_check_soname_save_LIBS
9781 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9782 { echo "$as_me:$LINENO: result: not found" >&5
9783 echo "${ECHO_T}not found" >&6; }
9785 else
9786 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9787 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9789 cat >>confdefs.h <<_ACEOF
9790 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9791 _ACEOF
9797 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9798 case "x$with_xcursor" in
9799 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9800 xno) ;;
9801 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9802 This is an error since --with-xcursor was requested." >&5
9803 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9804 This is an error since --with-xcursor was requested." >&2;}
9805 { (exit 1); exit 1; }; } ;;
9806 esac
9810 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9811 then
9812 { echo "$as_me:$LINENO: checking for -lXi" >&5
9813 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9814 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 else
9817 ac_check_soname_save_LIBS=$LIBS
9818 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9819 cat >conftest.$ac_ext <<_ACEOF
9820 /* confdefs.h. */
9821 _ACEOF
9822 cat confdefs.h >>conftest.$ac_ext
9823 cat >>conftest.$ac_ext <<_ACEOF
9824 /* end confdefs.h. */
9826 /* Override any GCC internal prototype to avoid an error.
9827 Use char because int might match the return type of a GCC
9828 builtin and then its argument prototype would still apply. */
9829 #ifdef __cplusplus
9830 extern "C"
9831 #endif
9832 char XOpenDevice ();
9834 main ()
9836 return XOpenDevice ();
9838 return 0;
9840 _ACEOF
9841 rm -f conftest.$ac_objext conftest$ac_exeext
9842 if { (ac_try="$ac_link"
9843 case "(($ac_try" in
9844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9845 *) ac_try_echo=$ac_try;;
9846 esac
9847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9848 (eval "$ac_link") 2>conftest.er1
9849 ac_status=$?
9850 grep -v '^ *+' conftest.er1 >conftest.err
9851 rm -f conftest.er1
9852 cat conftest.err >&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } && {
9855 test -z "$ac_c_werror_flag" ||
9856 test ! -s conftest.err
9857 } && test -s conftest$ac_exeext &&
9858 $as_test_x conftest$ac_exeext; then
9859 case "$LIBEXT" in
9860 dll) ;;
9861 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'` ;;
9862 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9863 esac
9864 else
9865 echo "$as_me: failed program was:" >&5
9866 sed 's/^/| /' conftest.$ac_ext >&5
9871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9872 conftest$ac_exeext conftest.$ac_ext
9873 LIBS=$ac_check_soname_save_LIBS
9875 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9876 { echo "$as_me:$LINENO: result: not found" >&5
9877 echo "${ECHO_T}not found" >&6; }
9879 else
9880 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9881 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9883 cat >>confdefs.h <<_ACEOF
9884 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9885 _ACEOF
9891 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9892 case "x$with_xinput" in
9893 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9894 xno) ;;
9895 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9896 This is an error since --with-xinput was requested." >&5
9897 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9898 This is an error since --with-xinput was requested." >&2;}
9899 { (exit 1); exit 1; }; } ;;
9900 esac
9904 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9905 then
9906 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9907 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9908 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9910 else
9911 ac_check_lib_save_LIBS=$LIBS
9912 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9913 cat >conftest.$ac_ext <<_ACEOF
9914 /* confdefs.h. */
9915 _ACEOF
9916 cat confdefs.h >>conftest.$ac_ext
9917 cat >>conftest.$ac_ext <<_ACEOF
9918 /* end confdefs.h. */
9920 /* Override any GCC internal prototype to avoid an error.
9921 Use char because int might match the return type of a GCC
9922 builtin and then its argument prototype would still apply. */
9923 #ifdef __cplusplus
9924 extern "C"
9925 #endif
9926 char XShmQueryExtension ();
9928 main ()
9930 return XShmQueryExtension ();
9932 return 0;
9934 _ACEOF
9935 rm -f conftest.$ac_objext conftest$ac_exeext
9936 if { (ac_try="$ac_link"
9937 case "(($ac_try" in
9938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9939 *) ac_try_echo=$ac_try;;
9940 esac
9941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9942 (eval "$ac_link") 2>conftest.er1
9943 ac_status=$?
9944 grep -v '^ *+' conftest.er1 >conftest.err
9945 rm -f conftest.er1
9946 cat conftest.err >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); } && {
9949 test -z "$ac_c_werror_flag" ||
9950 test ! -s conftest.err
9951 } && test -s conftest$ac_exeext &&
9952 $as_test_x conftest$ac_exeext; then
9953 ac_cv_lib_Xext_XShmQueryExtension=yes
9954 else
9955 echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.$ac_ext >&5
9958 ac_cv_lib_Xext_XShmQueryExtension=no
9961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9962 conftest$ac_exeext conftest.$ac_ext
9963 LIBS=$ac_check_lib_save_LIBS
9965 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9966 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9967 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9969 cat >>confdefs.h <<\_ACEOF
9970 #define HAVE_LIBXXSHM 1
9971 _ACEOF
9976 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9977 case "x$with_xshm" in
9978 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9979 xno) ;;
9980 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9981 This is an error since --with-xshm was requested." >&5
9982 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9983 This is an error since --with-xshm was requested." >&2;}
9984 { (exit 1); exit 1; }; } ;;
9985 esac
9989 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9990 then
9991 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9992 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9993 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9995 else
9996 ac_check_lib_save_LIBS=$LIBS
9997 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9998 cat >conftest.$ac_ext <<_ACEOF
9999 /* confdefs.h. */
10000 _ACEOF
10001 cat confdefs.h >>conftest.$ac_ext
10002 cat >>conftest.$ac_ext <<_ACEOF
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10008 #ifdef __cplusplus
10009 extern "C"
10010 #endif
10011 char XShapeQueryExtension ();
10013 main ()
10015 return XShapeQueryExtension ();
10017 return 0;
10019 _ACEOF
10020 rm -f conftest.$ac_objext conftest$ac_exeext
10021 if { (ac_try="$ac_link"
10022 case "(($ac_try" in
10023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10024 *) ac_try_echo=$ac_try;;
10025 esac
10026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10027 (eval "$ac_link") 2>conftest.er1
10028 ac_status=$?
10029 grep -v '^ *+' conftest.er1 >conftest.err
10030 rm -f conftest.er1
10031 cat conftest.err >&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); } && {
10034 test -z "$ac_c_werror_flag" ||
10035 test ! -s conftest.err
10036 } && test -s conftest$ac_exeext &&
10037 $as_test_x conftest$ac_exeext; then
10038 ac_cv_lib_Xext_XShapeQueryExtension=yes
10039 else
10040 echo "$as_me: failed program was:" >&5
10041 sed 's/^/| /' conftest.$ac_ext >&5
10043 ac_cv_lib_Xext_XShapeQueryExtension=no
10046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10047 conftest$ac_exeext conftest.$ac_ext
10048 LIBS=$ac_check_lib_save_LIBS
10050 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10051 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10052 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10054 cat >>confdefs.h <<\_ACEOF
10055 #define HAVE_LIBXSHAPE 1
10056 _ACEOF
10061 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10062 case "x$with_xshape" in
10063 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10064 xno) ;;
10065 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10066 This is an error since --with-xshape was requested." >&5
10067 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10068 This is an error since --with-xshape was requested." >&2;}
10069 { (exit 1); exit 1; }; } ;;
10070 esac
10074 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10075 then
10076 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10077 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10078 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10079 echo $ECHO_N "(cached) $ECHO_C" >&6
10080 else
10081 ac_check_lib_save_LIBS=$LIBS
10082 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10083 cat >conftest.$ac_ext <<_ACEOF
10084 /* confdefs.h. */
10085 _ACEOF
10086 cat confdefs.h >>conftest.$ac_ext
10087 cat >>conftest.$ac_ext <<_ACEOF
10088 /* end confdefs.h. */
10090 /* Override any GCC internal prototype to avoid an error.
10091 Use char because int might match the return type of a GCC
10092 builtin and then its argument prototype would still apply. */
10093 #ifdef __cplusplus
10094 extern "C"
10095 #endif
10096 char XF86VidModeQueryExtension ();
10098 main ()
10100 return XF86VidModeQueryExtension ();
10102 return 0;
10104 _ACEOF
10105 rm -f conftest.$ac_objext conftest$ac_exeext
10106 if { (ac_try="$ac_link"
10107 case "(($ac_try" in
10108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10109 *) ac_try_echo=$ac_try;;
10110 esac
10111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10112 (eval "$ac_link") 2>conftest.er1
10113 ac_status=$?
10114 grep -v '^ *+' conftest.er1 >conftest.err
10115 rm -f conftest.er1
10116 cat conftest.err >&5
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); } && {
10119 test -z "$ac_c_werror_flag" ||
10120 test ! -s conftest.err
10121 } && test -s conftest$ac_exeext &&
10122 $as_test_x conftest$ac_exeext; then
10123 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10124 else
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.$ac_ext >&5
10128 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10132 conftest$ac_exeext conftest.$ac_ext
10133 LIBS=$ac_check_lib_save_LIBS
10135 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10136 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10137 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10139 cat >>confdefs.h <<\_ACEOF
10140 #define HAVE_LIBXXF86VM 1
10141 _ACEOF
10143 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10148 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10149 case "x$with_xvidmode" in
10150 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10151 xno) ;;
10152 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10153 This is an error since --with-xvidmode was requested." >&5
10154 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10155 This is an error since --with-xvidmode was requested." >&2;}
10156 { (exit 1); exit 1; }; } ;;
10157 esac
10161 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"
10162 then
10163 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10164 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10165 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10167 else
10168 ac_check_soname_save_LIBS=$LIBS
10169 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10170 cat >conftest.$ac_ext <<_ACEOF
10171 /* confdefs.h. */
10172 _ACEOF
10173 cat confdefs.h >>conftest.$ac_ext
10174 cat >>conftest.$ac_ext <<_ACEOF
10175 /* end confdefs.h. */
10177 /* Override any GCC internal prototype to avoid an error.
10178 Use char because int might match the return type of a GCC
10179 builtin and then its argument prototype would still apply. */
10180 #ifdef __cplusplus
10181 extern "C"
10182 #endif
10183 char XRenderQueryExtension ();
10185 main ()
10187 return XRenderQueryExtension ();
10189 return 0;
10191 _ACEOF
10192 rm -f conftest.$ac_objext conftest$ac_exeext
10193 if { (ac_try="$ac_link"
10194 case "(($ac_try" in
10195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10196 *) ac_try_echo=$ac_try;;
10197 esac
10198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10199 (eval "$ac_link") 2>conftest.er1
10200 ac_status=$?
10201 grep -v '^ *+' conftest.er1 >conftest.err
10202 rm -f conftest.er1
10203 cat conftest.err >&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); } && {
10206 test -z "$ac_c_werror_flag" ||
10207 test ! -s conftest.err
10208 } && test -s conftest$ac_exeext &&
10209 $as_test_x conftest$ac_exeext; then
10210 case "$LIBEXT" in
10211 dll) ;;
10212 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'` ;;
10213 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10214 esac
10215 else
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10223 conftest$ac_exeext conftest.$ac_ext
10224 LIBS=$ac_check_soname_save_LIBS
10226 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10227 { echo "$as_me:$LINENO: result: not found" >&5
10228 echo "${ECHO_T}not found" >&6; }
10230 else
10231 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10232 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10234 cat >>confdefs.h <<_ACEOF
10235 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10236 _ACEOF
10238 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10239 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10240 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10241 echo $ECHO_N "(cached) $ECHO_C" >&6
10242 else
10243 ac_check_lib_save_LIBS=$LIBS
10244 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10245 cat >conftest.$ac_ext <<_ACEOF
10246 /* confdefs.h. */
10247 _ACEOF
10248 cat confdefs.h >>conftest.$ac_ext
10249 cat >>conftest.$ac_ext <<_ACEOF
10250 /* end confdefs.h. */
10252 /* Override any GCC internal prototype to avoid an error.
10253 Use char because int might match the return type of a GCC
10254 builtin and then its argument prototype would still apply. */
10255 #ifdef __cplusplus
10256 extern "C"
10257 #endif
10258 char XRenderSetPictureTransform ();
10260 main ()
10262 return XRenderSetPictureTransform ();
10264 return 0;
10266 _ACEOF
10267 rm -f conftest.$ac_objext conftest$ac_exeext
10268 if { (ac_try="$ac_link"
10269 case "(($ac_try" in
10270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10271 *) ac_try_echo=$ac_try;;
10272 esac
10273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10274 (eval "$ac_link") 2>conftest.er1
10275 ac_status=$?
10276 grep -v '^ *+' conftest.er1 >conftest.err
10277 rm -f conftest.er1
10278 cat conftest.err >&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); } && {
10281 test -z "$ac_c_werror_flag" ||
10282 test ! -s conftest.err
10283 } && test -s conftest$ac_exeext &&
10284 $as_test_x conftest$ac_exeext; then
10285 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10286 else
10287 echo "$as_me: failed program was:" >&5
10288 sed 's/^/| /' conftest.$ac_ext >&5
10290 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10294 conftest$ac_exeext conftest.$ac_ext
10295 LIBS=$ac_check_lib_save_LIBS
10297 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10298 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10299 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10301 cat >>confdefs.h <<\_ACEOF
10302 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10303 _ACEOF
10311 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10312 case "x$with_xrender" in
10313 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10314 xno) ;;
10315 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10316 This is an error since --with-xrender was requested." >&5
10317 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10318 This is an error since --with-xrender was requested." >&2;}
10319 { (exit 1); exit 1; }; } ;;
10320 esac
10324 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10325 then
10326 cat >conftest.$ac_ext <<_ACEOF
10327 /* confdefs.h. */
10328 _ACEOF
10329 cat confdefs.h >>conftest.$ac_ext
10330 cat >>conftest.$ac_ext <<_ACEOF
10331 /* end confdefs.h. */
10332 #include <X11/Xlib.h>
10333 #include <X11/extensions/Xrandr.h>
10335 main ()
10337 static typeof(XRRSetScreenConfigAndRate) * func;
10339 return 0;
10341 _ACEOF
10342 rm -f conftest.$ac_objext
10343 if { (ac_try="$ac_compile"
10344 case "(($ac_try" in
10345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10346 *) ac_try_echo=$ac_try;;
10347 esac
10348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10349 (eval "$ac_compile") 2>conftest.er1
10350 ac_status=$?
10351 grep -v '^ *+' conftest.er1 >conftest.err
10352 rm -f conftest.er1
10353 cat conftest.err >&5
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); } && {
10356 test -z "$ac_c_werror_flag" ||
10357 test ! -s conftest.err
10358 } && test -s conftest.$ac_objext; then
10359 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10360 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10361 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 else
10364 ac_check_soname_save_LIBS=$LIBS
10365 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10366 cat >conftest.$ac_ext <<_ACEOF
10367 /* confdefs.h. */
10368 _ACEOF
10369 cat confdefs.h >>conftest.$ac_ext
10370 cat >>conftest.$ac_ext <<_ACEOF
10371 /* end confdefs.h. */
10373 /* Override any GCC internal prototype to avoid an error.
10374 Use char because int might match the return type of a GCC
10375 builtin and then its argument prototype would still apply. */
10376 #ifdef __cplusplus
10377 extern "C"
10378 #endif
10379 char XRRQueryExtension ();
10381 main ()
10383 return XRRQueryExtension ();
10385 return 0;
10387 _ACEOF
10388 rm -f conftest.$ac_objext conftest$ac_exeext
10389 if { (ac_try="$ac_link"
10390 case "(($ac_try" in
10391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10392 *) ac_try_echo=$ac_try;;
10393 esac
10394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10395 (eval "$ac_link") 2>conftest.er1
10396 ac_status=$?
10397 grep -v '^ *+' conftest.er1 >conftest.err
10398 rm -f conftest.er1
10399 cat conftest.err >&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); } && {
10402 test -z "$ac_c_werror_flag" ||
10403 test ! -s conftest.err
10404 } && test -s conftest$ac_exeext &&
10405 $as_test_x conftest$ac_exeext; then
10406 case "$LIBEXT" in
10407 dll) ;;
10408 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'` ;;
10409 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10410 esac
10411 else
10412 echo "$as_me: failed program was:" >&5
10413 sed 's/^/| /' conftest.$ac_ext >&5
10418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10419 conftest$ac_exeext conftest.$ac_ext
10420 LIBS=$ac_check_soname_save_LIBS
10422 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10423 { echo "$as_me:$LINENO: result: not found" >&5
10424 echo "${ECHO_T}not found" >&6; }
10426 else
10427 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10428 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10430 cat >>confdefs.h <<_ACEOF
10431 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10432 _ACEOF
10437 else
10438 echo "$as_me: failed program was:" >&5
10439 sed 's/^/| /' conftest.$ac_ext >&5
10444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10446 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10447 case "x$with_xrandr" in
10448 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10449 xno) ;;
10450 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10451 This is an error since --with-xrandr was requested." >&5
10452 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10453 This is an error since --with-xrandr was requested." >&2;}
10454 { (exit 1); exit 1; }; } ;;
10455 esac
10459 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10460 then
10461 cat >conftest.$ac_ext <<_ACEOF
10462 /* confdefs.h. */
10463 _ACEOF
10464 cat confdefs.h >>conftest.$ac_ext
10465 cat >>conftest.$ac_ext <<_ACEOF
10466 /* end confdefs.h. */
10467 #include <X11/Xlib.h>
10468 #include <X11/extensions/Xinerama.h>
10470 main ()
10472 static typeof(XineramaQueryScreens) * func;
10474 return 0;
10476 _ACEOF
10477 rm -f conftest.$ac_objext
10478 if { (ac_try="$ac_compile"
10479 case "(($ac_try" in
10480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10481 *) ac_try_echo=$ac_try;;
10482 esac
10483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10484 (eval "$ac_compile") 2>conftest.er1
10485 ac_status=$?
10486 grep -v '^ *+' conftest.er1 >conftest.err
10487 rm -f conftest.er1
10488 cat conftest.err >&5
10489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } && {
10491 test -z "$ac_c_werror_flag" ||
10492 test ! -s conftest.err
10493 } && test -s conftest.$ac_objext; then
10494 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10495 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10496 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10497 echo $ECHO_N "(cached) $ECHO_C" >&6
10498 else
10499 ac_check_soname_save_LIBS=$LIBS
10500 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10501 cat >conftest.$ac_ext <<_ACEOF
10502 /* confdefs.h. */
10503 _ACEOF
10504 cat confdefs.h >>conftest.$ac_ext
10505 cat >>conftest.$ac_ext <<_ACEOF
10506 /* end confdefs.h. */
10508 /* Override any GCC internal prototype to avoid an error.
10509 Use char because int might match the return type of a GCC
10510 builtin and then its argument prototype would still apply. */
10511 #ifdef __cplusplus
10512 extern "C"
10513 #endif
10514 char XineramaQueryScreens ();
10516 main ()
10518 return XineramaQueryScreens ();
10520 return 0;
10522 _ACEOF
10523 rm -f conftest.$ac_objext conftest$ac_exeext
10524 if { (ac_try="$ac_link"
10525 case "(($ac_try" in
10526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10527 *) ac_try_echo=$ac_try;;
10528 esac
10529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10530 (eval "$ac_link") 2>conftest.er1
10531 ac_status=$?
10532 grep -v '^ *+' conftest.er1 >conftest.err
10533 rm -f conftest.er1
10534 cat conftest.err >&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } && {
10537 test -z "$ac_c_werror_flag" ||
10538 test ! -s conftest.err
10539 } && test -s conftest$ac_exeext &&
10540 $as_test_x conftest$ac_exeext; then
10541 case "$LIBEXT" in
10542 dll) ;;
10543 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'` ;;
10544 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10545 esac
10546 else
10547 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5
10553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10554 conftest$ac_exeext conftest.$ac_ext
10555 LIBS=$ac_check_soname_save_LIBS
10557 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10558 { echo "$as_me:$LINENO: result: not found" >&5
10559 echo "${ECHO_T}not found" >&6; }
10561 else
10562 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10563 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10565 cat >>confdefs.h <<_ACEOF
10566 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10567 _ACEOF
10572 else
10573 echo "$as_me: failed program was:" >&5
10574 sed 's/^/| /' conftest.$ac_ext >&5
10579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10581 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10582 case "x$with_xinerama" in
10583 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10584 xno) ;;
10585 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10586 This is an error since --with-xinerama was requested." >&5
10587 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10588 This is an error since --with-xinerama was requested." >&2;}
10589 { (exit 1); exit 1; }; } ;;
10590 esac
10594 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10595 then
10596 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10597 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10598 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10599 echo $ECHO_N "(cached) $ECHO_C" >&6
10600 else
10601 ac_check_soname_save_LIBS=$LIBS
10602 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10603 cat >conftest.$ac_ext <<_ACEOF
10604 /* confdefs.h. */
10605 _ACEOF
10606 cat confdefs.h >>conftest.$ac_ext
10607 cat >>conftest.$ac_ext <<_ACEOF
10608 /* end confdefs.h. */
10610 /* Override any GCC internal prototype to avoid an error.
10611 Use char because int might match the return type of a GCC
10612 builtin and then its argument prototype would still apply. */
10613 #ifdef __cplusplus
10614 extern "C"
10615 #endif
10616 char XCompositeRedirectWindow ();
10618 main ()
10620 return XCompositeRedirectWindow ();
10622 return 0;
10624 _ACEOF
10625 rm -f conftest.$ac_objext conftest$ac_exeext
10626 if { (ac_try="$ac_link"
10627 case "(($ac_try" in
10628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10629 *) ac_try_echo=$ac_try;;
10630 esac
10631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10632 (eval "$ac_link") 2>conftest.er1
10633 ac_status=$?
10634 grep -v '^ *+' conftest.er1 >conftest.err
10635 rm -f conftest.er1
10636 cat conftest.err >&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } && {
10639 test -z "$ac_c_werror_flag" ||
10640 test ! -s conftest.err
10641 } && test -s conftest$ac_exeext &&
10642 $as_test_x conftest$ac_exeext; then
10643 case "$LIBEXT" in
10644 dll) ;;
10645 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'` ;;
10646 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10647 esac
10648 else
10649 echo "$as_me: failed program was:" >&5
10650 sed 's/^/| /' conftest.$ac_ext >&5
10655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10656 conftest$ac_exeext conftest.$ac_ext
10657 LIBS=$ac_check_soname_save_LIBS
10659 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10660 { echo "$as_me:$LINENO: result: not found" >&5
10661 echo "${ECHO_T}not found" >&6; }
10663 else
10664 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10665 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10667 cat >>confdefs.h <<_ACEOF
10668 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10669 _ACEOF
10675 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10676 case "x$with_xcomposite" in
10677 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10678 xno) ;;
10679 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10680 This is an error since --with-xcomposite was requested." >&5
10681 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10682 This is an error since --with-xcomposite was requested." >&2;}
10683 { (exit 1); exit 1; }; } ;;
10684 esac
10689 opengl_msg=""
10690 if test "x$with_opengl" != "xno"
10691 then
10696 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10698 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10699 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10702 echo $ECHO_N "(cached) $ECHO_C" >&6
10703 else
10704 cat >conftest.$ac_ext <<_ACEOF
10705 /* confdefs.h. */
10706 _ACEOF
10707 cat confdefs.h >>conftest.$ac_ext
10708 cat >>conftest.$ac_ext <<_ACEOF
10709 /* end confdefs.h. */
10710 #ifdef HAVE_GL_GLX_H
10711 # include <GL/glx.h>
10712 #endif
10714 #include <$ac_header>
10715 _ACEOF
10716 rm -f conftest.$ac_objext
10717 if { (ac_try="$ac_compile"
10718 case "(($ac_try" in
10719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10720 *) ac_try_echo=$ac_try;;
10721 esac
10722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10723 (eval "$ac_compile") 2>conftest.er1
10724 ac_status=$?
10725 grep -v '^ *+' conftest.er1 >conftest.err
10726 rm -f conftest.er1
10727 cat conftest.err >&5
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10729 (exit $ac_status); } && {
10730 test -z "$ac_c_werror_flag" ||
10731 test ! -s conftest.err
10732 } && test -s conftest.$ac_objext; then
10733 eval "$as_ac_Header=yes"
10734 else
10735 echo "$as_me: failed program was:" >&5
10736 sed 's/^/| /' conftest.$ac_ext >&5
10738 eval "$as_ac_Header=no"
10741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10743 ac_res=`eval echo '${'$as_ac_Header'}'`
10744 { echo "$as_me:$LINENO: result: $ac_res" >&5
10745 echo "${ECHO_T}$ac_res" >&6; }
10746 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10747 cat >>confdefs.h <<_ACEOF
10748 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10749 _ACEOF
10753 done
10755 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10756 then
10757 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10758 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10759 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10760 echo $ECHO_N "(cached) $ECHO_C" >&6
10761 else
10762 cat >conftest.$ac_ext <<_ACEOF
10763 /* confdefs.h. */
10764 _ACEOF
10765 cat confdefs.h >>conftest.$ac_ext
10766 cat >>conftest.$ac_ext <<_ACEOF
10767 /* end confdefs.h. */
10768 #include <GL/gl.h>
10770 main ()
10772 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10774 return 0;
10776 _ACEOF
10777 rm -f conftest.$ac_objext
10778 if { (ac_try="$ac_compile"
10779 case "(($ac_try" in
10780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10781 *) ac_try_echo=$ac_try;;
10782 esac
10783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10784 (eval "$ac_compile") 2>conftest.er1
10785 ac_status=$?
10786 grep -v '^ *+' conftest.er1 >conftest.err
10787 rm -f conftest.er1
10788 cat conftest.err >&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); } && {
10791 test -z "$ac_c_werror_flag" ||
10792 test ! -s conftest.err
10793 } && test -s conftest.$ac_objext; then
10794 wine_cv_opengl_header_version_OK="yes"
10795 else
10796 echo "$as_me: failed program was:" >&5
10797 sed 's/^/| /' conftest.$ac_ext >&5
10799 wine_cv_opengl_header_version_OK="no"
10802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10804 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10805 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10807 if test "$wine_cv_opengl_header_version_OK" = "yes"
10808 then
10809 { echo "$as_me:$LINENO: checking for -lGL" >&5
10810 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10811 if test "${ac_cv_lib_soname_GL+set}" = set; then
10812 echo $ECHO_N "(cached) $ECHO_C" >&6
10813 else
10814 ac_check_soname_save_LIBS=$LIBS
10815 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10816 cat >conftest.$ac_ext <<_ACEOF
10817 /* confdefs.h. */
10818 _ACEOF
10819 cat confdefs.h >>conftest.$ac_ext
10820 cat >>conftest.$ac_ext <<_ACEOF
10821 /* end confdefs.h. */
10823 /* Override any GCC internal prototype to avoid an error.
10824 Use char because int might match the return type of a GCC
10825 builtin and then its argument prototype would still apply. */
10826 #ifdef __cplusplus
10827 extern "C"
10828 #endif
10829 char glXCreateContext ();
10831 main ()
10833 return glXCreateContext ();
10835 return 0;
10837 _ACEOF
10838 rm -f conftest.$ac_objext conftest$ac_exeext
10839 if { (ac_try="$ac_link"
10840 case "(($ac_try" in
10841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10842 *) ac_try_echo=$ac_try;;
10843 esac
10844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10845 (eval "$ac_link") 2>conftest.er1
10846 ac_status=$?
10847 grep -v '^ *+' conftest.er1 >conftest.err
10848 rm -f conftest.er1
10849 cat conftest.err >&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); } && {
10852 test -z "$ac_c_werror_flag" ||
10853 test ! -s conftest.err
10854 } && test -s conftest$ac_exeext &&
10855 $as_test_x conftest$ac_exeext; then
10856 case "$LIBEXT" in
10857 dll) ;;
10858 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'` ;;
10859 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10860 esac
10861 else
10862 echo "$as_me: failed program was:" >&5
10863 sed 's/^/| /' conftest.$ac_ext >&5
10868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10869 conftest$ac_exeext conftest.$ac_ext
10870 LIBS=$ac_check_soname_save_LIBS
10872 if test "x$ac_cv_lib_soname_GL" = "x"; then
10873 { echo "$as_me:$LINENO: result: not found" >&5
10874 echo "${ECHO_T}not found" >&6; }
10875 { echo "$as_me:$LINENO: checking for -lGL" >&5
10876 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10877 if test "${ac_cv_lib_soname_GL+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10879 else
10880 ac_check_soname_save_LIBS=$LIBS
10881 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"
10882 cat >conftest.$ac_ext <<_ACEOF
10883 /* confdefs.h. */
10884 _ACEOF
10885 cat confdefs.h >>conftest.$ac_ext
10886 cat >>conftest.$ac_ext <<_ACEOF
10887 /* end confdefs.h. */
10889 /* Override any GCC internal prototype to avoid an error.
10890 Use char because int might match the return type of a GCC
10891 builtin and then its argument prototype would still apply. */
10892 #ifdef __cplusplus
10893 extern "C"
10894 #endif
10895 char glXCreateContext ();
10897 main ()
10899 return glXCreateContext ();
10901 return 0;
10903 _ACEOF
10904 rm -f conftest.$ac_objext conftest$ac_exeext
10905 if { (ac_try="$ac_link"
10906 case "(($ac_try" in
10907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10908 *) ac_try_echo=$ac_try;;
10909 esac
10910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10911 (eval "$ac_link") 2>conftest.er1
10912 ac_status=$?
10913 grep -v '^ *+' conftest.er1 >conftest.err
10914 rm -f conftest.er1
10915 cat conftest.err >&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 (exit $ac_status); } && {
10918 test -z "$ac_c_werror_flag" ||
10919 test ! -s conftest.err
10920 } && test -s conftest$ac_exeext &&
10921 $as_test_x conftest$ac_exeext; then
10922 case "$LIBEXT" in
10923 dll) ;;
10924 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'` ;;
10925 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10926 esac
10927 else
10928 echo "$as_me: failed program was:" >&5
10929 sed 's/^/| /' conftest.$ac_ext >&5
10934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10935 conftest$ac_exeext conftest.$ac_ext
10936 LIBS=$ac_check_soname_save_LIBS
10938 if test "x$ac_cv_lib_soname_GL" = "x"; then
10939 { echo "$as_me:$LINENO: result: not found" >&5
10940 echo "${ECHO_T}not found" >&6; }
10941 if test -f /usr/X11R6/lib/libGL.a
10942 then
10943 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10944 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10945 else
10946 opengl_msg="No OpenGL library found on this system."
10948 else
10949 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10950 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10952 cat >>confdefs.h <<_ACEOF
10953 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10954 _ACEOF
10956 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"
10957 OPENGLFILES='$(OPENGLFILES)'
10959 cat >>confdefs.h <<\_ACEOF
10960 #define HAVE_OPENGL 1
10961 _ACEOF
10965 else
10966 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10967 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10969 cat >>confdefs.h <<_ACEOF
10970 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10971 _ACEOF
10973 OPENGL_LIBS="-lGL"
10974 OPENGLFILES='$(OPENGLFILES)'
10976 cat >>confdefs.h <<\_ACEOF
10977 #define HAVE_OPENGL 1
10978 _ACEOF
10983 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10984 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10985 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 else
10988 ac_check_lib_save_LIBS=$LIBS
10989 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10990 cat >conftest.$ac_ext <<_ACEOF
10991 /* confdefs.h. */
10992 _ACEOF
10993 cat confdefs.h >>conftest.$ac_ext
10994 cat >>conftest.$ac_ext <<_ACEOF
10995 /* end confdefs.h. */
10997 /* Override any GCC internal prototype to avoid an error.
10998 Use char because int might match the return type of a GCC
10999 builtin and then its argument prototype would still apply. */
11000 #ifdef __cplusplus
11001 extern "C"
11002 #endif
11003 char gluLookAt ();
11005 main ()
11007 return gluLookAt ();
11009 return 0;
11011 _ACEOF
11012 rm -f conftest.$ac_objext conftest$ac_exeext
11013 if { (ac_try="$ac_link"
11014 case "(($ac_try" in
11015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11016 *) ac_try_echo=$ac_try;;
11017 esac
11018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11019 (eval "$ac_link") 2>conftest.er1
11020 ac_status=$?
11021 grep -v '^ *+' conftest.er1 >conftest.err
11022 rm -f conftest.er1
11023 cat conftest.err >&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); } && {
11026 test -z "$ac_c_werror_flag" ||
11027 test ! -s conftest.err
11028 } && test -s conftest$ac_exeext &&
11029 $as_test_x conftest$ac_exeext; then
11030 ac_cv_lib_GLU_gluLookAt=yes
11031 else
11032 echo "$as_me: failed program was:" >&5
11033 sed 's/^/| /' conftest.$ac_ext >&5
11035 ac_cv_lib_GLU_gluLookAt=no
11038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11039 conftest$ac_exeext conftest.$ac_ext
11040 LIBS=$ac_check_lib_save_LIBS
11042 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11043 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11044 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11045 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
11046 GLU32FILES='$(GLU32FILES)'
11050 else
11051 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11053 else
11054 opengl_msg="OpenGL development headers not found."
11057 if test -n "$opengl_msg"; then
11058 case "x$with_opengl" in
11059 x) wine_warnings="$wine_warnings|$opengl_msg
11060 OpenGL and Direct3D won't be supported." ;;
11061 xno) ;;
11062 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11063 OpenGL and Direct3D won't be supported.
11064 This is an error since --with-opengl was requested." >&5
11065 echo "$as_me: error: $opengl_msg
11066 OpenGL and Direct3D won't be supported.
11067 This is an error since --with-opengl was requested." >&2;}
11068 { (exit 1); exit 1; }; } ;;
11069 esac
11073 NASLIBS=""
11076 for ac_header in audio/audiolib.h
11078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11083 echo $ECHO_N "(cached) $ECHO_C" >&6
11085 ac_res=`eval echo '${'$as_ac_Header'}'`
11086 { echo "$as_me:$LINENO: result: $ac_res" >&5
11087 echo "${ECHO_T}$ac_res" >&6; }
11088 else
11089 # Is the header compilable?
11090 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11092 cat >conftest.$ac_ext <<_ACEOF
11093 /* confdefs.h. */
11094 _ACEOF
11095 cat confdefs.h >>conftest.$ac_ext
11096 cat >>conftest.$ac_ext <<_ACEOF
11097 /* end confdefs.h. */
11098 $ac_includes_default
11099 #include <$ac_header>
11100 _ACEOF
11101 rm -f conftest.$ac_objext
11102 if { (ac_try="$ac_compile"
11103 case "(($ac_try" in
11104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11105 *) ac_try_echo=$ac_try;;
11106 esac
11107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11108 (eval "$ac_compile") 2>conftest.er1
11109 ac_status=$?
11110 grep -v '^ *+' conftest.er1 >conftest.err
11111 rm -f conftest.er1
11112 cat conftest.err >&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); } && {
11115 test -z "$ac_c_werror_flag" ||
11116 test ! -s conftest.err
11117 } && test -s conftest.$ac_objext; then
11118 ac_header_compiler=yes
11119 else
11120 echo "$as_me: failed program was:" >&5
11121 sed 's/^/| /' conftest.$ac_ext >&5
11123 ac_header_compiler=no
11126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11127 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11128 echo "${ECHO_T}$ac_header_compiler" >&6; }
11130 # Is the header present?
11131 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
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. */
11139 #include <$ac_header>
11140 _ACEOF
11141 if { (ac_try="$ac_cpp conftest.$ac_ext"
11142 case "(($ac_try" in
11143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11144 *) ac_try_echo=$ac_try;;
11145 esac
11146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11148 ac_status=$?
11149 grep -v '^ *+' conftest.er1 >conftest.err
11150 rm -f conftest.er1
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } >/dev/null && {
11154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11155 test ! -s conftest.err
11156 }; then
11157 ac_header_preproc=yes
11158 else
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11162 ac_header_preproc=no
11165 rm -f conftest.err conftest.$ac_ext
11166 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11167 echo "${ECHO_T}$ac_header_preproc" >&6; }
11169 # So? What about this header?
11170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11171 yes:no: )
11172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11176 ac_header_preproc=yes
11178 no:yes:* )
11179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11191 ( cat <<\_ASBOX
11192 ## ------------------------------------ ##
11193 ## Report this to wine-devel@winehq.org ##
11194 ## ------------------------------------ ##
11195 _ASBOX
11196 ) | sed "s/^/$as_me: WARNING: /" >&2
11198 esac
11199 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11202 echo $ECHO_N "(cached) $ECHO_C" >&6
11203 else
11204 eval "$as_ac_Header=\$ac_header_preproc"
11206 ac_res=`eval echo '${'$as_ac_Header'}'`
11207 { echo "$as_me:$LINENO: result: $ac_res" >&5
11208 echo "${ECHO_T}$ac_res" >&6; }
11211 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11212 cat >>confdefs.h <<_ACEOF
11213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11214 _ACEOF
11216 for ac_header in audio/soundlib.h
11218 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11219 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11221 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11222 echo $ECHO_N "(cached) $ECHO_C" >&6
11223 else
11224 cat >conftest.$ac_ext <<_ACEOF
11225 /* confdefs.h. */
11226 _ACEOF
11227 cat confdefs.h >>conftest.$ac_ext
11228 cat >>conftest.$ac_ext <<_ACEOF
11229 /* end confdefs.h. */
11230 #include <audio/audiolib.h>
11232 #include <$ac_header>
11233 _ACEOF
11234 rm -f conftest.$ac_objext
11235 if { (ac_try="$ac_compile"
11236 case "(($ac_try" in
11237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11238 *) ac_try_echo=$ac_try;;
11239 esac
11240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11241 (eval "$ac_compile") 2>conftest.er1
11242 ac_status=$?
11243 grep -v '^ *+' conftest.er1 >conftest.err
11244 rm -f conftest.er1
11245 cat conftest.err >&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } && {
11248 test -z "$ac_c_werror_flag" ||
11249 test ! -s conftest.err
11250 } && test -s conftest.$ac_objext; then
11251 eval "$as_ac_Header=yes"
11252 else
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.$ac_ext >&5
11256 eval "$as_ac_Header=no"
11259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11261 ac_res=`eval echo '${'$as_ac_Header'}'`
11262 { echo "$as_me:$LINENO: result: $ac_res" >&5
11263 echo "${ECHO_T}$ac_res" >&6; }
11264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11265 cat >>confdefs.h <<_ACEOF
11266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11267 _ACEOF
11271 done
11273 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11274 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11275 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11276 echo $ECHO_N "(cached) $ECHO_C" >&6
11277 else
11278 ac_check_lib_save_LIBS=$LIBS
11279 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11280 cat >conftest.$ac_ext <<_ACEOF
11281 /* confdefs.h. */
11282 _ACEOF
11283 cat confdefs.h >>conftest.$ac_ext
11284 cat >>conftest.$ac_ext <<_ACEOF
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11290 #ifdef __cplusplus
11291 extern "C"
11292 #endif
11293 char AuCreateFlow ();
11295 main ()
11297 return AuCreateFlow ();
11299 return 0;
11301 _ACEOF
11302 rm -f conftest.$ac_objext conftest$ac_exeext
11303 if { (ac_try="$ac_link"
11304 case "(($ac_try" in
11305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11306 *) ac_try_echo=$ac_try;;
11307 esac
11308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11309 (eval "$ac_link") 2>conftest.er1
11310 ac_status=$?
11311 grep -v '^ *+' conftest.er1 >conftest.err
11312 rm -f conftest.er1
11313 cat conftest.err >&5
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); } && {
11316 test -z "$ac_c_werror_flag" ||
11317 test ! -s conftest.err
11318 } && test -s conftest$ac_exeext &&
11319 $as_test_x conftest$ac_exeext; then
11320 ac_cv_lib_audio_AuCreateFlow=yes
11321 else
11322 echo "$as_me: failed program was:" >&5
11323 sed 's/^/| /' conftest.$ac_ext >&5
11325 ac_cv_lib_audio_AuCreateFlow=no
11328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11329 conftest$ac_exeext conftest.$ac_ext
11330 LIBS=$ac_check_lib_save_LIBS
11332 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11333 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11334 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11336 cat >>confdefs.h <<\_ACEOF
11337 #define HAVE_NAS 1
11338 _ACEOF
11340 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11341 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11342 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11343 echo $ECHO_N "(cached) $ECHO_C" >&6
11344 else
11345 ac_check_lib_save_LIBS=$LIBS
11346 LIBS="-lXau $X_LIBS $LIBS"
11347 cat >conftest.$ac_ext <<_ACEOF
11348 /* confdefs.h. */
11349 _ACEOF
11350 cat confdefs.h >>conftest.$ac_ext
11351 cat >>conftest.$ac_ext <<_ACEOF
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char XauGetBestAuthByAddr ();
11362 main ()
11364 return XauGetBestAuthByAddr ();
11366 return 0;
11368 _ACEOF
11369 rm -f conftest.$ac_objext conftest$ac_exeext
11370 if { (ac_try="$ac_link"
11371 case "(($ac_try" in
11372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11373 *) ac_try_echo=$ac_try;;
11374 esac
11375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11376 (eval "$ac_link") 2>conftest.er1
11377 ac_status=$?
11378 grep -v '^ *+' conftest.er1 >conftest.err
11379 rm -f conftest.er1
11380 cat conftest.err >&5
11381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11382 (exit $ac_status); } && {
11383 test -z "$ac_c_werror_flag" ||
11384 test ! -s conftest.err
11385 } && test -s conftest$ac_exeext &&
11386 $as_test_x conftest$ac_exeext; then
11387 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11388 else
11389 echo "$as_me: failed program was:" >&5
11390 sed 's/^/| /' conftest.$ac_ext >&5
11392 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11396 conftest$ac_exeext conftest.$ac_ext
11397 LIBS=$ac_check_lib_save_LIBS
11399 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11400 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11401 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11402 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11403 else
11404 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11412 done
11415 CPPFLAGS="$ac_save_CPPFLAGS"
11416 XFILES='$(XFILES)'
11417 else
11418 XLIB=""
11419 X_CFLAGS=""
11420 X_LIBS=""
11422 if test "x$XLIB" = "x"; then
11423 case "x$with_x" in
11424 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11425 without X support, which probably isn't what you want. You will need to install
11426 development packages of Xlib/Xfree86 at the very least." ;;
11427 xno) ;;
11428 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11429 without X support, which probably isn't what you want. You will need to install
11430 development packages of Xlib/Xfree86 at the very least.
11431 This is an error since --with-x was requested." >&5
11432 echo "$as_me: error: X development files not found. Wine will be built
11433 without X support, which probably isn't what you want. You will need to install
11434 development packages of Xlib/Xfree86 at the very least.
11435 This is an error since --with-x was requested." >&2;}
11436 { (exit 1); exit 1; }; } ;;
11437 esac
11442 XML2LIBS=""
11444 XML2INCL=""
11446 XSLTLIBS=""
11448 XSLTINCL=""
11450 if test "x$with_xml" != "xno"
11451 then
11452 ac_save_CPPFLAGS="$CPPFLAGS"
11453 if test "$PKG_CONFIG" != "false"
11454 then
11455 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11456 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11457 else
11458 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11459 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11461 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11463 for ac_header in libxml/parser.h
11465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11467 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11470 echo $ECHO_N "(cached) $ECHO_C" >&6
11472 ac_res=`eval echo '${'$as_ac_Header'}'`
11473 { echo "$as_me:$LINENO: result: $ac_res" >&5
11474 echo "${ECHO_T}$ac_res" >&6; }
11475 else
11476 # Is the header compilable?
11477 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11479 cat >conftest.$ac_ext <<_ACEOF
11480 /* confdefs.h. */
11481 _ACEOF
11482 cat confdefs.h >>conftest.$ac_ext
11483 cat >>conftest.$ac_ext <<_ACEOF
11484 /* end confdefs.h. */
11485 $ac_includes_default
11486 #include <$ac_header>
11487 _ACEOF
11488 rm -f conftest.$ac_objext
11489 if { (ac_try="$ac_compile"
11490 case "(($ac_try" in
11491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11492 *) ac_try_echo=$ac_try;;
11493 esac
11494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11495 (eval "$ac_compile") 2>conftest.er1
11496 ac_status=$?
11497 grep -v '^ *+' conftest.er1 >conftest.err
11498 rm -f conftest.er1
11499 cat conftest.err >&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); } && {
11502 test -z "$ac_c_werror_flag" ||
11503 test ! -s conftest.err
11504 } && test -s conftest.$ac_objext; then
11505 ac_header_compiler=yes
11506 else
11507 echo "$as_me: failed program was:" >&5
11508 sed 's/^/| /' conftest.$ac_ext >&5
11510 ac_header_compiler=no
11513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11514 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11515 echo "${ECHO_T}$ac_header_compiler" >&6; }
11517 # Is the header present?
11518 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11519 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11520 cat >conftest.$ac_ext <<_ACEOF
11521 /* confdefs.h. */
11522 _ACEOF
11523 cat confdefs.h >>conftest.$ac_ext
11524 cat >>conftest.$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11526 #include <$ac_header>
11527 _ACEOF
11528 if { (ac_try="$ac_cpp conftest.$ac_ext"
11529 case "(($ac_try" in
11530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11531 *) ac_try_echo=$ac_try;;
11532 esac
11533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11535 ac_status=$?
11536 grep -v '^ *+' conftest.er1 >conftest.err
11537 rm -f conftest.er1
11538 cat conftest.err >&5
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } >/dev/null && {
11541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11542 test ! -s conftest.err
11543 }; then
11544 ac_header_preproc=yes
11545 else
11546 echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.$ac_ext >&5
11549 ac_header_preproc=no
11552 rm -f conftest.err conftest.$ac_ext
11553 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11554 echo "${ECHO_T}$ac_header_preproc" >&6; }
11556 # So? What about this header?
11557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11558 yes:no: )
11559 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11560 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11562 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11563 ac_header_preproc=yes
11565 no:yes:* )
11566 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11567 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11568 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11569 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11570 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11571 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11572 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11573 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11575 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11576 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11577 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11578 ( cat <<\_ASBOX
11579 ## ------------------------------------ ##
11580 ## Report this to wine-devel@winehq.org ##
11581 ## ------------------------------------ ##
11582 _ASBOX
11583 ) | sed "s/^/$as_me: WARNING: /" >&2
11585 esac
11586 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11589 echo $ECHO_N "(cached) $ECHO_C" >&6
11590 else
11591 eval "$as_ac_Header=\$ac_header_preproc"
11593 ac_res=`eval echo '${'$as_ac_Header'}'`
11594 { echo "$as_me:$LINENO: result: $ac_res" >&5
11595 echo "${ECHO_T}$ac_res" >&6; }
11598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11599 cat >>confdefs.h <<_ACEOF
11600 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11601 _ACEOF
11602 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11603 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11604 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11605 echo $ECHO_N "(cached) $ECHO_C" >&6
11606 else
11607 ac_check_lib_save_LIBS=$LIBS
11608 LIBS="-lxml2 $ac_xml_libs $LIBS"
11609 cat >conftest.$ac_ext <<_ACEOF
11610 /* confdefs.h. */
11611 _ACEOF
11612 cat confdefs.h >>conftest.$ac_ext
11613 cat >>conftest.$ac_ext <<_ACEOF
11614 /* end confdefs.h. */
11616 /* Override any GCC internal prototype to avoid an error.
11617 Use char because int might match the return type of a GCC
11618 builtin and then its argument prototype would still apply. */
11619 #ifdef __cplusplus
11620 extern "C"
11621 #endif
11622 char xmlParseMemory ();
11624 main ()
11626 return xmlParseMemory ();
11628 return 0;
11630 _ACEOF
11631 rm -f conftest.$ac_objext conftest$ac_exeext
11632 if { (ac_try="$ac_link"
11633 case "(($ac_try" in
11634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11635 *) ac_try_echo=$ac_try;;
11636 esac
11637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11638 (eval "$ac_link") 2>conftest.er1
11639 ac_status=$?
11640 grep -v '^ *+' conftest.er1 >conftest.err
11641 rm -f conftest.er1
11642 cat conftest.err >&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } && {
11645 test -z "$ac_c_werror_flag" ||
11646 test ! -s conftest.err
11647 } && test -s conftest$ac_exeext &&
11648 $as_test_x conftest$ac_exeext; then
11649 ac_cv_lib_xml2_xmlParseMemory=yes
11650 else
11651 echo "$as_me: failed program was:" >&5
11652 sed 's/^/| /' conftest.$ac_ext >&5
11654 ac_cv_lib_xml2_xmlParseMemory=no
11657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11658 conftest$ac_exeext conftest.$ac_ext
11659 LIBS=$ac_check_lib_save_LIBS
11661 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11662 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11663 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11665 cat >>confdefs.h <<\_ACEOF
11666 #define HAVE_LIBXML2 1
11667 _ACEOF
11669 XML2LIBS="$ac_xml_libs"
11670 XML2INCL="$ac_xml_cflags"
11673 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11674 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11675 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11677 else
11678 ac_check_lib_save_LIBS=$LIBS
11679 LIBS="-lxml2 $ac_xml_libs $LIBS"
11680 cat >conftest.$ac_ext <<_ACEOF
11681 /* confdefs.h. */
11682 _ACEOF
11683 cat confdefs.h >>conftest.$ac_ext
11684 cat >>conftest.$ac_ext <<_ACEOF
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char xmlReadMemory ();
11695 main ()
11697 return xmlReadMemory ();
11699 return 0;
11701 _ACEOF
11702 rm -f conftest.$ac_objext conftest$ac_exeext
11703 if { (ac_try="$ac_link"
11704 case "(($ac_try" in
11705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11706 *) ac_try_echo=$ac_try;;
11707 esac
11708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11709 (eval "$ac_link") 2>conftest.er1
11710 ac_status=$?
11711 grep -v '^ *+' conftest.er1 >conftest.err
11712 rm -f conftest.er1
11713 cat conftest.err >&5
11714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715 (exit $ac_status); } && {
11716 test -z "$ac_c_werror_flag" ||
11717 test ! -s conftest.err
11718 } && test -s conftest$ac_exeext &&
11719 $as_test_x conftest$ac_exeext; then
11720 ac_cv_lib_xml2_xmlReadMemory=yes
11721 else
11722 echo "$as_me: failed program was:" >&5
11723 sed 's/^/| /' conftest.$ac_ext >&5
11725 ac_cv_lib_xml2_xmlReadMemory=no
11728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11729 conftest$ac_exeext conftest.$ac_ext
11730 LIBS=$ac_check_lib_save_LIBS
11732 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11733 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11734 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11736 cat >>confdefs.h <<\_ACEOF
11737 #define HAVE_XMLREADMEMORY 1
11738 _ACEOF
11742 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11743 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11744 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11745 echo $ECHO_N "(cached) $ECHO_C" >&6
11746 else
11747 ac_check_lib_save_LIBS=$LIBS
11748 LIBS="-lxml2 $ac_xml_libs $LIBS"
11749 cat >conftest.$ac_ext <<_ACEOF
11750 /* confdefs.h. */
11751 _ACEOF
11752 cat confdefs.h >>conftest.$ac_ext
11753 cat >>conftest.$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11756 /* Override any GCC internal prototype to avoid an error.
11757 Use char because int might match the return type of a GCC
11758 builtin and then its argument prototype would still apply. */
11759 #ifdef __cplusplus
11760 extern "C"
11761 #endif
11762 char xmlNewDocPI ();
11764 main ()
11766 return xmlNewDocPI ();
11768 return 0;
11770 _ACEOF
11771 rm -f conftest.$ac_objext conftest$ac_exeext
11772 if { (ac_try="$ac_link"
11773 case "(($ac_try" in
11774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11775 *) ac_try_echo=$ac_try;;
11776 esac
11777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11778 (eval "$ac_link") 2>conftest.er1
11779 ac_status=$?
11780 grep -v '^ *+' conftest.er1 >conftest.err
11781 rm -f conftest.er1
11782 cat conftest.err >&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); } && {
11785 test -z "$ac_c_werror_flag" ||
11786 test ! -s conftest.err
11787 } && test -s conftest$ac_exeext &&
11788 $as_test_x conftest$ac_exeext; then
11789 ac_cv_lib_xml2_xmlNewDocPI=yes
11790 else
11791 echo "$as_me: failed program was:" >&5
11792 sed 's/^/| /' conftest.$ac_ext >&5
11794 ac_cv_lib_xml2_xmlNewDocPI=no
11797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11798 conftest$ac_exeext conftest.$ac_ext
11799 LIBS=$ac_check_lib_save_LIBS
11801 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11802 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11803 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11805 cat >>confdefs.h <<\_ACEOF
11806 #define HAVE_XMLNEWDOCPI 1
11807 _ACEOF
11814 done
11816 CPPFLAGS="$ac_save_CPPFLAGS"
11818 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11819 case "x$with_xml" in
11820 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11821 xno) ;;
11822 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11823 This is an error since --with-xml was requested." >&5
11824 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11825 This is an error since --with-xml was requested." >&2;}
11826 { (exit 1); exit 1; }; } ;;
11827 esac
11831 if test "x$with_xslt" != "xno"
11832 then
11833 if test "$PKG_CONFIG" != "false"
11834 then
11835 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11836 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11837 else
11838 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11839 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11841 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11844 for ac_header in libxslt/pattern.h libxslt/transform.h
11846 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11847 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11850 echo $ECHO_N "(cached) $ECHO_C" >&6
11851 else
11852 cat >conftest.$ac_ext <<_ACEOF
11853 /* confdefs.h. */
11854 _ACEOF
11855 cat confdefs.h >>conftest.$ac_ext
11856 cat >>conftest.$ac_ext <<_ACEOF
11857 /* end confdefs.h. */
11858 #ifdef HAVE_LIBXSLT_PATTERN_H
11859 # include <libxslt/pattern.h>
11860 #endif
11862 #include <$ac_header>
11863 _ACEOF
11864 rm -f conftest.$ac_objext
11865 if { (ac_try="$ac_compile"
11866 case "(($ac_try" in
11867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11868 *) ac_try_echo=$ac_try;;
11869 esac
11870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11871 (eval "$ac_compile") 2>conftest.er1
11872 ac_status=$?
11873 grep -v '^ *+' conftest.er1 >conftest.err
11874 rm -f conftest.er1
11875 cat conftest.err >&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); } && {
11878 test -z "$ac_c_werror_flag" ||
11879 test ! -s conftest.err
11880 } && test -s conftest.$ac_objext; then
11881 eval "$as_ac_Header=yes"
11882 else
11883 echo "$as_me: failed program was:" >&5
11884 sed 's/^/| /' conftest.$ac_ext >&5
11886 eval "$as_ac_Header=no"
11889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11891 ac_res=`eval echo '${'$as_ac_Header'}'`
11892 { echo "$as_me:$LINENO: result: $ac_res" >&5
11893 echo "${ECHO_T}$ac_res" >&6; }
11894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11895 cat >>confdefs.h <<_ACEOF
11896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11897 _ACEOF
11898 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11899 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11900 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11902 else
11903 ac_check_lib_save_LIBS=$LIBS
11904 LIBS="-lxslt $ac_xslt_libs $LIBS"
11905 cat >conftest.$ac_ext <<_ACEOF
11906 /* confdefs.h. */
11907 _ACEOF
11908 cat confdefs.h >>conftest.$ac_ext
11909 cat >>conftest.$ac_ext <<_ACEOF
11910 /* end confdefs.h. */
11912 /* Override any GCC internal prototype to avoid an error.
11913 Use char because int might match the return type of a GCC
11914 builtin and then its argument prototype would still apply. */
11915 #ifdef __cplusplus
11916 extern "C"
11917 #endif
11918 char xsltCompilePattern ();
11920 main ()
11922 return xsltCompilePattern ();
11924 return 0;
11926 _ACEOF
11927 rm -f conftest.$ac_objext conftest$ac_exeext
11928 if { (ac_try="$ac_link"
11929 case "(($ac_try" in
11930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11931 *) ac_try_echo=$ac_try;;
11932 esac
11933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11934 (eval "$ac_link") 2>conftest.er1
11935 ac_status=$?
11936 grep -v '^ *+' conftest.er1 >conftest.err
11937 rm -f conftest.er1
11938 cat conftest.err >&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } && {
11941 test -z "$ac_c_werror_flag" ||
11942 test ! -s conftest.err
11943 } && test -s conftest$ac_exeext &&
11944 $as_test_x conftest$ac_exeext; then
11945 ac_cv_lib_xslt_xsltCompilePattern=yes
11946 else
11947 echo "$as_me: failed program was:" >&5
11948 sed 's/^/| /' conftest.$ac_ext >&5
11950 ac_cv_lib_xslt_xsltCompilePattern=no
11953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_lib_save_LIBS
11957 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11958 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11959 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11961 cat >>confdefs.h <<\_ACEOF
11962 #define HAVE_LIBXSLT 1
11963 _ACEOF
11965 XSLTLIBS="$ac_xslt_libs"
11966 XSLTINCL="$ac_xslt_cflags"
11972 done
11974 CPPFLAGS="$ac_save_CPPFLAGS"
11976 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11977 case "x$with_xslt" in
11978 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11979 xno) ;;
11980 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11981 This is an error since --with-xslt was requested." >&5
11982 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11983 This is an error since --with-xslt was requested." >&2;}
11984 { (exit 1); exit 1; }; } ;;
11985 esac
11989 HALINCL=""
11991 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11992 then
11993 ac_save_CPPFLAGS="$CPPFLAGS"
11994 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11995 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11996 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11999 for ac_header in dbus/dbus.h hal/libhal.h
12001 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12002 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12003 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12005 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12008 ac_res=`eval echo '${'$as_ac_Header'}'`
12009 { echo "$as_me:$LINENO: result: $ac_res" >&5
12010 echo "${ECHO_T}$ac_res" >&6; }
12011 else
12012 # Is the header compilable?
12013 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12015 cat >conftest.$ac_ext <<_ACEOF
12016 /* confdefs.h. */
12017 _ACEOF
12018 cat confdefs.h >>conftest.$ac_ext
12019 cat >>conftest.$ac_ext <<_ACEOF
12020 /* end confdefs.h. */
12021 $ac_includes_default
12022 #include <$ac_header>
12023 _ACEOF
12024 rm -f conftest.$ac_objext
12025 if { (ac_try="$ac_compile"
12026 case "(($ac_try" in
12027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12028 *) ac_try_echo=$ac_try;;
12029 esac
12030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12031 (eval "$ac_compile") 2>conftest.er1
12032 ac_status=$?
12033 grep -v '^ *+' conftest.er1 >conftest.err
12034 rm -f conftest.er1
12035 cat conftest.err >&5
12036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037 (exit $ac_status); } && {
12038 test -z "$ac_c_werror_flag" ||
12039 test ! -s conftest.err
12040 } && test -s conftest.$ac_objext; then
12041 ac_header_compiler=yes
12042 else
12043 echo "$as_me: failed program was:" >&5
12044 sed 's/^/| /' conftest.$ac_ext >&5
12046 ac_header_compiler=no
12049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12050 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12051 echo "${ECHO_T}$ac_header_compiler" >&6; }
12053 # Is the header present?
12054 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12055 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12056 cat >conftest.$ac_ext <<_ACEOF
12057 /* confdefs.h. */
12058 _ACEOF
12059 cat confdefs.h >>conftest.$ac_ext
12060 cat >>conftest.$ac_ext <<_ACEOF
12061 /* end confdefs.h. */
12062 #include <$ac_header>
12063 _ACEOF
12064 if { (ac_try="$ac_cpp conftest.$ac_ext"
12065 case "(($ac_try" in
12066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12067 *) ac_try_echo=$ac_try;;
12068 esac
12069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12070 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12071 ac_status=$?
12072 grep -v '^ *+' conftest.er1 >conftest.err
12073 rm -f conftest.er1
12074 cat conftest.err >&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } >/dev/null && {
12077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12078 test ! -s conftest.err
12079 }; then
12080 ac_header_preproc=yes
12081 else
12082 echo "$as_me: failed program was:" >&5
12083 sed 's/^/| /' conftest.$ac_ext >&5
12085 ac_header_preproc=no
12088 rm -f conftest.err conftest.$ac_ext
12089 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12090 echo "${ECHO_T}$ac_header_preproc" >&6; }
12092 # So? What about this header?
12093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12094 yes:no: )
12095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12099 ac_header_preproc=yes
12101 no:yes:* )
12102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12114 ( cat <<\_ASBOX
12115 ## ------------------------------------ ##
12116 ## Report this to wine-devel@winehq.org ##
12117 ## ------------------------------------ ##
12118 _ASBOX
12119 ) | sed "s/^/$as_me: WARNING: /" >&2
12121 esac
12122 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12124 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12125 echo $ECHO_N "(cached) $ECHO_C" >&6
12126 else
12127 eval "$as_ac_Header=\$ac_header_preproc"
12129 ac_res=`eval echo '${'$as_ac_Header'}'`
12130 { echo "$as_me:$LINENO: result: $ac_res" >&5
12131 echo "${ECHO_T}$ac_res" >&6; }
12134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12135 cat >>confdefs.h <<_ACEOF
12136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12137 _ACEOF
12141 done
12143 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12144 then
12145 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12146 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12147 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 else
12150 ac_check_lib_save_LIBS=$LIBS
12151 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12152 cat >conftest.$ac_ext <<_ACEOF
12153 /* confdefs.h. */
12154 _ACEOF
12155 cat confdefs.h >>conftest.$ac_ext
12156 cat >>conftest.$ac_ext <<_ACEOF
12157 /* end confdefs.h. */
12159 /* Override any GCC internal prototype to avoid an error.
12160 Use char because int might match the return type of a GCC
12161 builtin and then its argument prototype would still apply. */
12162 #ifdef __cplusplus
12163 extern "C"
12164 #endif
12165 char dbus_connection_close ();
12167 main ()
12169 return dbus_connection_close ();
12171 return 0;
12173 _ACEOF
12174 rm -f conftest.$ac_objext conftest$ac_exeext
12175 if { (ac_try="$ac_link"
12176 case "(($ac_try" in
12177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12178 *) ac_try_echo=$ac_try;;
12179 esac
12180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_link") 2>conftest.er1
12182 ac_status=$?
12183 grep -v '^ *+' conftest.er1 >conftest.err
12184 rm -f conftest.er1
12185 cat conftest.err >&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } && {
12188 test -z "$ac_c_werror_flag" ||
12189 test ! -s conftest.err
12190 } && test -s conftest$ac_exeext &&
12191 $as_test_x conftest$ac_exeext; then
12192 ac_cv_lib_dbus_1_dbus_connection_close=yes
12193 else
12194 echo "$as_me: failed program was:" >&5
12195 sed 's/^/| /' conftest.$ac_ext >&5
12197 ac_cv_lib_dbus_1_dbus_connection_close=no
12200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12201 conftest$ac_exeext conftest.$ac_ext
12202 LIBS=$ac_check_lib_save_LIBS
12204 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12205 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12206 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12207 { echo "$as_me:$LINENO: checking for -lhal" >&5
12208 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12209 if test "${ac_cv_lib_soname_hal+set}" = set; then
12210 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 else
12212 ac_check_soname_save_LIBS=$LIBS
12213 LIBS="-lhal $ac_hal_libs $LIBS"
12214 cat >conftest.$ac_ext <<_ACEOF
12215 /* confdefs.h. */
12216 _ACEOF
12217 cat confdefs.h >>conftest.$ac_ext
12218 cat >>conftest.$ac_ext <<_ACEOF
12219 /* end confdefs.h. */
12221 /* Override any GCC internal prototype to avoid an error.
12222 Use char because int might match the return type of a GCC
12223 builtin and then its argument prototype would still apply. */
12224 #ifdef __cplusplus
12225 extern "C"
12226 #endif
12227 char libhal_ctx_new ();
12229 main ()
12231 return libhal_ctx_new ();
12233 return 0;
12235 _ACEOF
12236 rm -f conftest.$ac_objext conftest$ac_exeext
12237 if { (ac_try="$ac_link"
12238 case "(($ac_try" in
12239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12240 *) ac_try_echo=$ac_try;;
12241 esac
12242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12243 (eval "$ac_link") 2>conftest.er1
12244 ac_status=$?
12245 grep -v '^ *+' conftest.er1 >conftest.err
12246 rm -f conftest.er1
12247 cat conftest.err >&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } && {
12250 test -z "$ac_c_werror_flag" ||
12251 test ! -s conftest.err
12252 } && test -s conftest$ac_exeext &&
12253 $as_test_x conftest$ac_exeext; then
12254 case "$LIBEXT" in
12255 dll) ;;
12256 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'` ;;
12257 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12258 esac
12259 else
12260 echo "$as_me: failed program was:" >&5
12261 sed 's/^/| /' conftest.$ac_ext >&5
12266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12267 conftest$ac_exeext conftest.$ac_ext
12268 LIBS=$ac_check_soname_save_LIBS
12270 if test "x$ac_cv_lib_soname_hal" = "x"; then
12271 { echo "$as_me:$LINENO: result: not found" >&5
12272 echo "${ECHO_T}not found" >&6; }
12274 else
12275 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12276 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12278 cat >>confdefs.h <<_ACEOF
12279 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12280 _ACEOF
12282 HALINCL="$ac_hal_cflags"
12288 CPPFLAGS="$ac_save_CPPFLAGS"
12290 if test "x$ac_cv_lib_soname_hal" = "x"; then
12291 case "x$with_hal" in
12292 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12293 xno) ;;
12294 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12295 This is an error since --with-hal was requested." >&5
12296 echo "$as_me: error: libhal development files not found, no dynamic device support.
12297 This is an error since --with-hal was requested." >&2;}
12298 { (exit 1); exit 1; }; } ;;
12299 esac
12303 CURSESLIBS=""
12304 if test "$ac_cv_header_ncurses_h" = "yes"
12305 then
12306 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12307 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12308 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12309 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 else
12311 ac_check_soname_save_LIBS=$LIBS
12312 LIBS="-lncurses $LIBS"
12313 cat >conftest.$ac_ext <<_ACEOF
12314 /* confdefs.h. */
12315 _ACEOF
12316 cat confdefs.h >>conftest.$ac_ext
12317 cat >>conftest.$ac_ext <<_ACEOF
12318 /* end confdefs.h. */
12320 /* Override any GCC internal prototype to avoid an error.
12321 Use char because int might match the return type of a GCC
12322 builtin and then its argument prototype would still apply. */
12323 #ifdef __cplusplus
12324 extern "C"
12325 #endif
12326 char waddch ();
12328 main ()
12330 return waddch ();
12332 return 0;
12334 _ACEOF
12335 rm -f conftest.$ac_objext conftest$ac_exeext
12336 if { (ac_try="$ac_link"
12337 case "(($ac_try" in
12338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12339 *) ac_try_echo=$ac_try;;
12340 esac
12341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12342 (eval "$ac_link") 2>conftest.er1
12343 ac_status=$?
12344 grep -v '^ *+' conftest.er1 >conftest.err
12345 rm -f conftest.er1
12346 cat conftest.err >&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } && {
12349 test -z "$ac_c_werror_flag" ||
12350 test ! -s conftest.err
12351 } && test -s conftest$ac_exeext &&
12352 $as_test_x conftest$ac_exeext; then
12353 case "$LIBEXT" in
12354 dll) ;;
12355 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'` ;;
12356 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12357 esac
12358 else
12359 echo "$as_me: failed program was:" >&5
12360 sed 's/^/| /' conftest.$ac_ext >&5
12365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12366 conftest$ac_exeext conftest.$ac_ext
12367 LIBS=$ac_check_soname_save_LIBS
12369 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12370 { echo "$as_me:$LINENO: result: not found" >&5
12371 echo "${ECHO_T}not found" >&6; }
12373 else
12374 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12375 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12377 cat >>confdefs.h <<_ACEOF
12378 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12379 _ACEOF
12381 CURSESLIBS="-lncurses"
12384 elif test "$ac_cv_header_curses_h" = "yes"
12385 then
12386 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12387 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12388 if test "${ac_cv_lib_soname_curses+set}" = set; then
12389 echo $ECHO_N "(cached) $ECHO_C" >&6
12390 else
12391 ac_check_soname_save_LIBS=$LIBS
12392 LIBS="-lcurses $LIBS"
12393 cat >conftest.$ac_ext <<_ACEOF
12394 /* confdefs.h. */
12395 _ACEOF
12396 cat confdefs.h >>conftest.$ac_ext
12397 cat >>conftest.$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12400 /* Override any GCC internal prototype to avoid an error.
12401 Use char because int might match the return type of a GCC
12402 builtin and then its argument prototype would still apply. */
12403 #ifdef __cplusplus
12404 extern "C"
12405 #endif
12406 char waddch ();
12408 main ()
12410 return waddch ();
12412 return 0;
12414 _ACEOF
12415 rm -f conftest.$ac_objext conftest$ac_exeext
12416 if { (ac_try="$ac_link"
12417 case "(($ac_try" in
12418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12419 *) ac_try_echo=$ac_try;;
12420 esac
12421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12422 (eval "$ac_link") 2>conftest.er1
12423 ac_status=$?
12424 grep -v '^ *+' conftest.er1 >conftest.err
12425 rm -f conftest.er1
12426 cat conftest.err >&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); } && {
12429 test -z "$ac_c_werror_flag" ||
12430 test ! -s conftest.err
12431 } && test -s conftest$ac_exeext &&
12432 $as_test_x conftest$ac_exeext; then
12433 case "$LIBEXT" in
12434 dll) ;;
12435 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'` ;;
12436 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12437 esac
12438 else
12439 echo "$as_me: failed program was:" >&5
12440 sed 's/^/| /' conftest.$ac_ext >&5
12445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12446 conftest$ac_exeext conftest.$ac_ext
12447 LIBS=$ac_check_soname_save_LIBS
12449 if test "x$ac_cv_lib_soname_curses" = "x"; then
12450 { echo "$as_me:$LINENO: result: not found" >&5
12451 echo "${ECHO_T}not found" >&6; }
12453 else
12454 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12455 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12457 cat >>confdefs.h <<_ACEOF
12458 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12459 _ACEOF
12461 CURSESLIBS="-lcurses"
12465 ac_save_LIBS="$LIBS"
12466 LIBS="$LIBS $CURSESLIBS"
12468 for ac_func in mousemask
12470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12471 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12473 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12474 echo $ECHO_N "(cached) $ECHO_C" >&6
12475 else
12476 cat >conftest.$ac_ext <<_ACEOF
12477 /* confdefs.h. */
12478 _ACEOF
12479 cat confdefs.h >>conftest.$ac_ext
12480 cat >>conftest.$ac_ext <<_ACEOF
12481 /* end confdefs.h. */
12482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12484 #define $ac_func innocuous_$ac_func
12486 /* System header to define __stub macros and hopefully few prototypes,
12487 which can conflict with char $ac_func (); below.
12488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12489 <limits.h> exists even on freestanding compilers. */
12491 #ifdef __STDC__
12492 # include <limits.h>
12493 #else
12494 # include <assert.h>
12495 #endif
12497 #undef $ac_func
12499 /* Override any GCC internal prototype to avoid an error.
12500 Use char because int might match the return type of a GCC
12501 builtin and then its argument prototype would still apply. */
12502 #ifdef __cplusplus
12503 extern "C"
12504 #endif
12505 char $ac_func ();
12506 /* The GNU C library defines this for functions which it implements
12507 to always fail with ENOSYS. Some functions are actually named
12508 something starting with __ and the normal name is an alias. */
12509 #if defined __stub_$ac_func || defined __stub___$ac_func
12510 choke me
12511 #endif
12514 main ()
12516 return $ac_func ();
12518 return 0;
12520 _ACEOF
12521 rm -f conftest.$ac_objext conftest$ac_exeext
12522 if { (ac_try="$ac_link"
12523 case "(($ac_try" in
12524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12525 *) ac_try_echo=$ac_try;;
12526 esac
12527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12528 (eval "$ac_link") 2>conftest.er1
12529 ac_status=$?
12530 grep -v '^ *+' conftest.er1 >conftest.err
12531 rm -f conftest.er1
12532 cat conftest.err >&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } && {
12535 test -z "$ac_c_werror_flag" ||
12536 test ! -s conftest.err
12537 } && test -s conftest$ac_exeext &&
12538 $as_test_x conftest$ac_exeext; then
12539 eval "$as_ac_var=yes"
12540 else
12541 echo "$as_me: failed program was:" >&5
12542 sed 's/^/| /' conftest.$ac_ext >&5
12544 eval "$as_ac_var=no"
12547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12548 conftest$ac_exeext conftest.$ac_ext
12550 ac_res=`eval echo '${'$as_ac_var'}'`
12551 { echo "$as_me:$LINENO: result: $ac_res" >&5
12552 echo "${ECHO_T}$ac_res" >&6; }
12553 if test `eval echo '${'$as_ac_var'}'` = yes; then
12554 cat >>confdefs.h <<_ACEOF
12555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12556 _ACEOF
12559 done
12561 LIBS="$ac_save_LIBS"
12562 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12563 case "x$with_curses" in
12564 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12565 xno) ;;
12566 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12567 This is an error since --with-curses was requested." >&5
12568 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12569 This is an error since --with-curses was requested." >&2;}
12570 { (exit 1); exit 1; }; } ;;
12571 esac
12575 # Extract the first word of "sane-config", so it can be a program name with args.
12576 set dummy sane-config; ac_word=$2
12577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12579 if test "${ac_cv_prog_sane_devel+set}" = set; then
12580 echo $ECHO_N "(cached) $ECHO_C" >&6
12581 else
12582 if test -n "$sane_devel"; then
12583 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12584 else
12585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12586 for as_dir in $PATH
12588 IFS=$as_save_IFS
12589 test -z "$as_dir" && as_dir=.
12590 for ac_exec_ext in '' $ac_executable_extensions; do
12591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12592 ac_cv_prog_sane_devel="sane-config"
12593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12594 break 2
12596 done
12597 done
12598 IFS=$as_save_IFS
12600 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12603 sane_devel=$ac_cv_prog_sane_devel
12604 if test -n "$sane_devel"; then
12605 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12606 echo "${ECHO_T}$sane_devel" >&6; }
12607 else
12608 { echo "$as_me:$LINENO: result: no" >&5
12609 echo "${ECHO_T}no" >&6; }
12613 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12614 then
12615 ac_sane_incl="`$sane_devel --cflags`"
12616 ac_save_CPPFLAGS="$CPPFLAGS"
12617 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12618 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12619 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12620 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12621 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12625 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12626 else
12627 # Is the header compilable?
12628 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12629 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12630 cat >conftest.$ac_ext <<_ACEOF
12631 /* confdefs.h. */
12632 _ACEOF
12633 cat confdefs.h >>conftest.$ac_ext
12634 cat >>conftest.$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12636 $ac_includes_default
12637 #include <sane/sane.h>
12638 _ACEOF
12639 rm -f conftest.$ac_objext
12640 if { (ac_try="$ac_compile"
12641 case "(($ac_try" in
12642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12643 *) ac_try_echo=$ac_try;;
12644 esac
12645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12646 (eval "$ac_compile") 2>conftest.er1
12647 ac_status=$?
12648 grep -v '^ *+' conftest.er1 >conftest.err
12649 rm -f conftest.er1
12650 cat conftest.err >&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); } && {
12653 test -z "$ac_c_werror_flag" ||
12654 test ! -s conftest.err
12655 } && test -s conftest.$ac_objext; then
12656 ac_header_compiler=yes
12657 else
12658 echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.$ac_ext >&5
12661 ac_header_compiler=no
12664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12665 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12666 echo "${ECHO_T}$ac_header_compiler" >&6; }
12668 # Is the header present?
12669 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12670 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12671 cat >conftest.$ac_ext <<_ACEOF
12672 /* confdefs.h. */
12673 _ACEOF
12674 cat confdefs.h >>conftest.$ac_ext
12675 cat >>conftest.$ac_ext <<_ACEOF
12676 /* end confdefs.h. */
12677 #include <sane/sane.h>
12678 _ACEOF
12679 if { (ac_try="$ac_cpp conftest.$ac_ext"
12680 case "(($ac_try" in
12681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12682 *) ac_try_echo=$ac_try;;
12683 esac
12684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12686 ac_status=$?
12687 grep -v '^ *+' conftest.er1 >conftest.err
12688 rm -f conftest.er1
12689 cat conftest.err >&5
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); } >/dev/null && {
12692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12693 test ! -s conftest.err
12694 }; then
12695 ac_header_preproc=yes
12696 else
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.$ac_ext >&5
12700 ac_header_preproc=no
12703 rm -f conftest.err conftest.$ac_ext
12704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12705 echo "${ECHO_T}$ac_header_preproc" >&6; }
12707 # So? What about this header?
12708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12709 yes:no: )
12710 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12711 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12712 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12713 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12714 ac_header_preproc=yes
12716 no:yes:* )
12717 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12718 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12719 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12720 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12721 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12722 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12723 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12724 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12725 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12726 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12727 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12728 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12729 ( cat <<\_ASBOX
12730 ## ------------------------------------ ##
12731 ## Report this to wine-devel@winehq.org ##
12732 ## ------------------------------------ ##
12733 _ASBOX
12734 ) | sed "s/^/$as_me: WARNING: /" >&2
12736 esac
12737 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12738 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12739 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12740 echo $ECHO_N "(cached) $ECHO_C" >&6
12741 else
12742 ac_cv_header_sane_sane_h=$ac_header_preproc
12744 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12745 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12748 if test $ac_cv_header_sane_sane_h = yes; then
12749 { echo "$as_me:$LINENO: checking for -lsane" >&5
12750 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12751 if test "${ac_cv_lib_soname_sane+set}" = set; then
12752 echo $ECHO_N "(cached) $ECHO_C" >&6
12753 else
12754 ac_check_soname_save_LIBS=$LIBS
12755 LIBS="-lsane $LIBS"
12756 cat >conftest.$ac_ext <<_ACEOF
12757 /* confdefs.h. */
12758 _ACEOF
12759 cat confdefs.h >>conftest.$ac_ext
12760 cat >>conftest.$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12763 /* Override any GCC internal prototype to avoid an error.
12764 Use char because int might match the return type of a GCC
12765 builtin and then its argument prototype would still apply. */
12766 #ifdef __cplusplus
12767 extern "C"
12768 #endif
12769 char sane_init ();
12771 main ()
12773 return sane_init ();
12775 return 0;
12777 _ACEOF
12778 rm -f conftest.$ac_objext conftest$ac_exeext
12779 if { (ac_try="$ac_link"
12780 case "(($ac_try" in
12781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12782 *) ac_try_echo=$ac_try;;
12783 esac
12784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12785 (eval "$ac_link") 2>conftest.er1
12786 ac_status=$?
12787 grep -v '^ *+' conftest.er1 >conftest.err
12788 rm -f conftest.er1
12789 cat conftest.err >&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); } && {
12792 test -z "$ac_c_werror_flag" ||
12793 test ! -s conftest.err
12794 } && test -s conftest$ac_exeext &&
12795 $as_test_x conftest$ac_exeext; then
12796 case "$LIBEXT" in
12797 dll) ;;
12798 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'` ;;
12799 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12800 esac
12801 else
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.$ac_ext >&5
12808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12809 conftest$ac_exeext conftest.$ac_ext
12810 LIBS=$ac_check_soname_save_LIBS
12812 if test "x$ac_cv_lib_soname_sane" = "x"; then
12813 { echo "$as_me:$LINENO: result: not found" >&5
12814 echo "${ECHO_T}not found" >&6; }
12816 else
12817 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12818 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12820 cat >>confdefs.h <<_ACEOF
12821 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12822 _ACEOF
12824 SANEINCL="$ac_sane_incl"
12831 CPPFLAGS="$ac_save_CPPFLAGS"
12833 if test "x$ac_cv_lib_soname_sane" = "x"; then
12834 case "x$with_sane" in
12835 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12836 xno) ;;
12837 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12838 This is an error since --with-sane was requested." >&5
12839 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12840 This is an error since --with-sane was requested." >&2;}
12841 { (exit 1); exit 1; }; } ;;
12842 esac
12846 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12847 set dummy gphoto2-config; ac_word=$2
12848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12850 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12852 else
12853 if test -n "$gphoto2_devel"; then
12854 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12855 else
12856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12857 for as_dir in $PATH
12859 IFS=$as_save_IFS
12860 test -z "$as_dir" && as_dir=.
12861 for ac_exec_ext in '' $ac_executable_extensions; do
12862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12863 ac_cv_prog_gphoto2_devel="gphoto2-config"
12864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12865 break 2
12867 done
12868 done
12869 IFS=$as_save_IFS
12871 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12874 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12875 if test -n "$gphoto2_devel"; then
12876 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12877 echo "${ECHO_T}$gphoto2_devel" >&6; }
12878 else
12879 { echo "$as_me:$LINENO: result: no" >&5
12880 echo "${ECHO_T}no" >&6; }
12884 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12885 set dummy gphoto2-port-config; ac_word=$2
12886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12888 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6
12890 else
12891 if test -n "$gphoto2port_devel"; then
12892 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12893 else
12894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12895 for as_dir in $PATH
12897 IFS=$as_save_IFS
12898 test -z "$as_dir" && as_dir=.
12899 for ac_exec_ext in '' $ac_executable_extensions; do
12900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12901 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12903 break 2
12905 done
12906 done
12907 IFS=$as_save_IFS
12909 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12912 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12913 if test -n "$gphoto2port_devel"; then
12914 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12915 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12916 else
12917 { echo "$as_me:$LINENO: result: no" >&5
12918 echo "${ECHO_T}no" >&6; }
12922 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12923 then
12924 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12925 ac_gphoto2_libs=""
12926 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12928 case "$i" in
12929 -L/usr/lib|-L/usr/lib64) ;;
12930 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12931 esac
12932 done
12933 ac_save_CPPFLAGS="$CPPFLAGS"
12934 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12935 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12936 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12937 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12938 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12941 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12942 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12943 else
12944 # Is the header compilable?
12945 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12946 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12947 cat >conftest.$ac_ext <<_ACEOF
12948 /* confdefs.h. */
12949 _ACEOF
12950 cat confdefs.h >>conftest.$ac_ext
12951 cat >>conftest.$ac_ext <<_ACEOF
12952 /* end confdefs.h. */
12953 $ac_includes_default
12954 #include <gphoto2-camera.h>
12955 _ACEOF
12956 rm -f conftest.$ac_objext
12957 if { (ac_try="$ac_compile"
12958 case "(($ac_try" in
12959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12960 *) ac_try_echo=$ac_try;;
12961 esac
12962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12963 (eval "$ac_compile") 2>conftest.er1
12964 ac_status=$?
12965 grep -v '^ *+' conftest.er1 >conftest.err
12966 rm -f conftest.er1
12967 cat conftest.err >&5
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); } && {
12970 test -z "$ac_c_werror_flag" ||
12971 test ! -s conftest.err
12972 } && test -s conftest.$ac_objext; then
12973 ac_header_compiler=yes
12974 else
12975 echo "$as_me: failed program was:" >&5
12976 sed 's/^/| /' conftest.$ac_ext >&5
12978 ac_header_compiler=no
12981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12982 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12983 echo "${ECHO_T}$ac_header_compiler" >&6; }
12985 # Is the header present?
12986 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12987 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12988 cat >conftest.$ac_ext <<_ACEOF
12989 /* confdefs.h. */
12990 _ACEOF
12991 cat confdefs.h >>conftest.$ac_ext
12992 cat >>conftest.$ac_ext <<_ACEOF
12993 /* end confdefs.h. */
12994 #include <gphoto2-camera.h>
12995 _ACEOF
12996 if { (ac_try="$ac_cpp conftest.$ac_ext"
12997 case "(($ac_try" in
12998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12999 *) ac_try_echo=$ac_try;;
13000 esac
13001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13003 ac_status=$?
13004 grep -v '^ *+' conftest.er1 >conftest.err
13005 rm -f conftest.er1
13006 cat conftest.err >&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); } >/dev/null && {
13009 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13010 test ! -s conftest.err
13011 }; then
13012 ac_header_preproc=yes
13013 else
13014 echo "$as_me: failed program was:" >&5
13015 sed 's/^/| /' conftest.$ac_ext >&5
13017 ac_header_preproc=no
13020 rm -f conftest.err conftest.$ac_ext
13021 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13022 echo "${ECHO_T}$ac_header_preproc" >&6; }
13024 # So? What about this header?
13025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13026 yes:no: )
13027 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13028 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13029 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13030 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13031 ac_header_preproc=yes
13033 no:yes:* )
13034 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13035 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13036 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13037 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13038 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13039 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13040 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13041 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13042 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13043 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13044 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13045 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13046 ( cat <<\_ASBOX
13047 ## ------------------------------------ ##
13048 ## Report this to wine-devel@winehq.org ##
13049 ## ------------------------------------ ##
13050 _ASBOX
13051 ) | sed "s/^/$as_me: WARNING: /" >&2
13053 esac
13054 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13055 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13056 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13057 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 else
13059 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13061 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13062 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13065 if test $ac_cv_header_gphoto2_camera_h = yes; then
13066 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13067 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13068 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 else
13071 ac_check_lib_save_LIBS=$LIBS
13072 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13073 cat >conftest.$ac_ext <<_ACEOF
13074 /* confdefs.h. */
13075 _ACEOF
13076 cat confdefs.h >>conftest.$ac_ext
13077 cat >>conftest.$ac_ext <<_ACEOF
13078 /* end confdefs.h. */
13080 /* Override any GCC internal prototype to avoid an error.
13081 Use char because int might match the return type of a GCC
13082 builtin and then its argument prototype would still apply. */
13083 #ifdef __cplusplus
13084 extern "C"
13085 #endif
13086 char gp_camera_new ();
13088 main ()
13090 return gp_camera_new ();
13092 return 0;
13094 _ACEOF
13095 rm -f conftest.$ac_objext conftest$ac_exeext
13096 if { (ac_try="$ac_link"
13097 case "(($ac_try" in
13098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13099 *) ac_try_echo=$ac_try;;
13100 esac
13101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13102 (eval "$ac_link") 2>conftest.er1
13103 ac_status=$?
13104 grep -v '^ *+' conftest.er1 >conftest.err
13105 rm -f conftest.er1
13106 cat conftest.err >&5
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); } && {
13109 test -z "$ac_c_werror_flag" ||
13110 test ! -s conftest.err
13111 } && test -s conftest$ac_exeext &&
13112 $as_test_x conftest$ac_exeext; then
13113 ac_cv_lib_gphoto2_gp_camera_new=yes
13114 else
13115 echo "$as_me: failed program was:" >&5
13116 sed 's/^/| /' conftest.$ac_ext >&5
13118 ac_cv_lib_gphoto2_gp_camera_new=no
13121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13122 conftest$ac_exeext conftest.$ac_ext
13123 LIBS=$ac_check_lib_save_LIBS
13125 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13126 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13127 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13129 cat >>confdefs.h <<\_ACEOF
13130 #define HAVE_GPHOTO2 1
13131 _ACEOF
13133 GPHOTO2LIBS="$ac_gphoto2_libs"
13135 GPHOTO2INCL="$ac_gphoto2_incl"
13142 CPPFLAGS="$ac_save_CPPFLAGS"
13144 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13145 case "x$with_gphoto" in
13146 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13147 xno) ;;
13148 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13149 This is an error since --with-gphoto was requested." >&5
13150 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13151 This is an error since --with-gphoto was requested." >&2;}
13152 { (exit 1); exit 1; }; } ;;
13153 esac
13158 RESOLVLIBS=""
13160 if test "$ac_cv_header_resolv_h" = "yes"
13161 then
13162 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13163 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13164 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13165 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 else
13167 ac_check_lib_save_LIBS=$LIBS
13168 LIBS="-lresolv $LIBS"
13169 cat >conftest.$ac_ext <<_ACEOF
13170 /* confdefs.h. */
13171 _ACEOF
13172 cat confdefs.h >>conftest.$ac_ext
13173 cat >>conftest.$ac_ext <<_ACEOF
13174 /* end confdefs.h. */
13176 /* Override any GCC internal prototype to avoid an error.
13177 Use char because int might match the return type of a GCC
13178 builtin and then its argument prototype would still apply. */
13179 #ifdef __cplusplus
13180 extern "C"
13181 #endif
13182 char res_query ();
13184 main ()
13186 return res_query ();
13188 return 0;
13190 _ACEOF
13191 rm -f conftest.$ac_objext conftest$ac_exeext
13192 if { (ac_try="$ac_link"
13193 case "(($ac_try" in
13194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13195 *) ac_try_echo=$ac_try;;
13196 esac
13197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13198 (eval "$ac_link") 2>conftest.er1
13199 ac_status=$?
13200 grep -v '^ *+' conftest.er1 >conftest.err
13201 rm -f conftest.er1
13202 cat conftest.err >&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); } && {
13205 test -z "$ac_c_werror_flag" ||
13206 test ! -s conftest.err
13207 } && test -s conftest$ac_exeext &&
13208 $as_test_x conftest$ac_exeext; then
13209 ac_cv_lib_resolv_res_query=yes
13210 else
13211 echo "$as_me: failed program was:" >&5
13212 sed 's/^/| /' conftest.$ac_ext >&5
13214 ac_cv_lib_resolv_res_query=no
13217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13218 conftest$ac_exeext conftest.$ac_ext
13219 LIBS=$ac_check_lib_save_LIBS
13221 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13222 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13223 if test $ac_cv_lib_resolv_res_query = yes; then
13225 cat >>confdefs.h <<\_ACEOF
13226 #define HAVE_RESOLV 1
13227 _ACEOF
13229 RESOLVLIBS="-lresolv"
13234 LCMSLIBS=""
13236 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13237 then
13238 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13239 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13240 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13241 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 else
13243 ac_check_lib_save_LIBS=$LIBS
13244 LIBS="-llcms $LIBS"
13245 cat >conftest.$ac_ext <<_ACEOF
13246 /* confdefs.h. */
13247 _ACEOF
13248 cat confdefs.h >>conftest.$ac_ext
13249 cat >>conftest.$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13255 #ifdef __cplusplus
13256 extern "C"
13257 #endif
13258 char cmsOpenProfileFromFile ();
13260 main ()
13262 return cmsOpenProfileFromFile ();
13264 return 0;
13266 _ACEOF
13267 rm -f conftest.$ac_objext conftest$ac_exeext
13268 if { (ac_try="$ac_link"
13269 case "(($ac_try" in
13270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13271 *) ac_try_echo=$ac_try;;
13272 esac
13273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13274 (eval "$ac_link") 2>conftest.er1
13275 ac_status=$?
13276 grep -v '^ *+' conftest.er1 >conftest.err
13277 rm -f conftest.er1
13278 cat conftest.err >&5
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); } && {
13281 test -z "$ac_c_werror_flag" ||
13282 test ! -s conftest.err
13283 } && test -s conftest$ac_exeext &&
13284 $as_test_x conftest$ac_exeext; then
13285 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13286 else
13287 echo "$as_me: failed program was:" >&5
13288 sed 's/^/| /' conftest.$ac_ext >&5
13290 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13294 conftest$ac_exeext conftest.$ac_ext
13295 LIBS=$ac_check_lib_save_LIBS
13297 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13298 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13299 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13301 cat >>confdefs.h <<\_ACEOF
13302 #define HAVE_LCMS 1
13303 _ACEOF
13305 LCMSLIBS="-llcms"
13309 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13310 case "x$with_cms" in
13311 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13312 xno) ;;
13313 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13314 This is an error since --with-cms was requested." >&5
13315 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13316 This is an error since --with-cms was requested." >&2;}
13317 { (exit 1); exit 1; }; } ;;
13318 esac
13322 LDAPLIBS=""
13324 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13325 then
13326 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13327 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13328 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13329 echo $ECHO_N "(cached) $ECHO_C" >&6
13330 else
13331 ac_check_lib_save_LIBS=$LIBS
13332 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13333 cat >conftest.$ac_ext <<_ACEOF
13334 /* confdefs.h. */
13335 _ACEOF
13336 cat confdefs.h >>conftest.$ac_ext
13337 cat >>conftest.$ac_ext <<_ACEOF
13338 /* end confdefs.h. */
13340 /* Override any GCC internal prototype to avoid an error.
13341 Use char because int might match the return type of a GCC
13342 builtin and then its argument prototype would still apply. */
13343 #ifdef __cplusplus
13344 extern "C"
13345 #endif
13346 char ldap_initialize ();
13348 main ()
13350 return ldap_initialize ();
13352 return 0;
13354 _ACEOF
13355 rm -f conftest.$ac_objext conftest$ac_exeext
13356 if { (ac_try="$ac_link"
13357 case "(($ac_try" in
13358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13359 *) ac_try_echo=$ac_try;;
13360 esac
13361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13362 (eval "$ac_link") 2>conftest.er1
13363 ac_status=$?
13364 grep -v '^ *+' conftest.er1 >conftest.err
13365 rm -f conftest.er1
13366 cat conftest.err >&5
13367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13368 (exit $ac_status); } && {
13369 test -z "$ac_c_werror_flag" ||
13370 test ! -s conftest.err
13371 } && test -s conftest$ac_exeext &&
13372 $as_test_x conftest$ac_exeext; then
13373 ac_cv_lib_ldap_r_ldap_initialize=yes
13374 else
13375 echo "$as_me: failed program was:" >&5
13376 sed 's/^/| /' conftest.$ac_ext >&5
13378 ac_cv_lib_ldap_r_ldap_initialize=no
13381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13382 conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_lib_save_LIBS
13385 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13386 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13387 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13388 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13389 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13390 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13391 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 else
13393 ac_check_lib_save_LIBS=$LIBS
13394 LIBS="-llber $LIBPTHREAD $LIBS"
13395 cat >conftest.$ac_ext <<_ACEOF
13396 /* confdefs.h. */
13397 _ACEOF
13398 cat confdefs.h >>conftest.$ac_ext
13399 cat >>conftest.$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13402 /* Override any GCC internal prototype to avoid an error.
13403 Use char because int might match the return type of a GCC
13404 builtin and then its argument prototype would still apply. */
13405 #ifdef __cplusplus
13406 extern "C"
13407 #endif
13408 char ber_init ();
13410 main ()
13412 return ber_init ();
13414 return 0;
13416 _ACEOF
13417 rm -f conftest.$ac_objext conftest$ac_exeext
13418 if { (ac_try="$ac_link"
13419 case "(($ac_try" in
13420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13421 *) ac_try_echo=$ac_try;;
13422 esac
13423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13424 (eval "$ac_link") 2>conftest.er1
13425 ac_status=$?
13426 grep -v '^ *+' conftest.er1 >conftest.err
13427 rm -f conftest.er1
13428 cat conftest.err >&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); } && {
13431 test -z "$ac_c_werror_flag" ||
13432 test ! -s conftest.err
13433 } && test -s conftest$ac_exeext &&
13434 $as_test_x conftest$ac_exeext; then
13435 ac_cv_lib_lber_ber_init=yes
13436 else
13437 echo "$as_me: failed program was:" >&5
13438 sed 's/^/| /' conftest.$ac_ext >&5
13440 ac_cv_lib_lber_ber_init=no
13443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13444 conftest$ac_exeext conftest.$ac_ext
13445 LIBS=$ac_check_lib_save_LIBS
13447 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13448 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13449 if test $ac_cv_lib_lber_ber_init = yes; then
13451 cat >>confdefs.h <<\_ACEOF
13452 #define HAVE_LDAP 1
13453 _ACEOF
13455 LDAPLIBS="-lldap_r -llber"
13460 ac_wine_check_funcs_save_LIBS="$LIBS"
13461 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13470 for ac_func in \
13471 ldap_count_references \
13472 ldap_first_reference \
13473 ldap_next_reference \
13474 ldap_parse_reference \
13475 ldap_parse_sort_control \
13476 ldap_parse_sortresponse_control \
13477 ldap_parse_vlv_control \
13478 ldap_parse_vlvresponse_control
13480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13481 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13483 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 else
13486 cat >conftest.$ac_ext <<_ACEOF
13487 /* confdefs.h. */
13488 _ACEOF
13489 cat confdefs.h >>conftest.$ac_ext
13490 cat >>conftest.$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13494 #define $ac_func innocuous_$ac_func
13496 /* System header to define __stub macros and hopefully few prototypes,
13497 which can conflict with char $ac_func (); below.
13498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13499 <limits.h> exists even on freestanding compilers. */
13501 #ifdef __STDC__
13502 # include <limits.h>
13503 #else
13504 # include <assert.h>
13505 #endif
13507 #undef $ac_func
13509 /* Override any GCC internal prototype to avoid an error.
13510 Use char because int might match the return type of a GCC
13511 builtin and then its argument prototype would still apply. */
13512 #ifdef __cplusplus
13513 extern "C"
13514 #endif
13515 char $ac_func ();
13516 /* The GNU C library defines this for functions which it implements
13517 to always fail with ENOSYS. Some functions are actually named
13518 something starting with __ and the normal name is an alias. */
13519 #if defined __stub_$ac_func || defined __stub___$ac_func
13520 choke me
13521 #endif
13524 main ()
13526 return $ac_func ();
13528 return 0;
13530 _ACEOF
13531 rm -f conftest.$ac_objext conftest$ac_exeext
13532 if { (ac_try="$ac_link"
13533 case "(($ac_try" in
13534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13535 *) ac_try_echo=$ac_try;;
13536 esac
13537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13538 (eval "$ac_link") 2>conftest.er1
13539 ac_status=$?
13540 grep -v '^ *+' conftest.er1 >conftest.err
13541 rm -f conftest.er1
13542 cat conftest.err >&5
13543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544 (exit $ac_status); } && {
13545 test -z "$ac_c_werror_flag" ||
13546 test ! -s conftest.err
13547 } && test -s conftest$ac_exeext &&
13548 $as_test_x conftest$ac_exeext; then
13549 eval "$as_ac_var=yes"
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13554 eval "$as_ac_var=no"
13557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13558 conftest$ac_exeext conftest.$ac_ext
13560 ac_res=`eval echo '${'$as_ac_var'}'`
13561 { echo "$as_me:$LINENO: result: $ac_res" >&5
13562 echo "${ECHO_T}$ac_res" >&6; }
13563 if test `eval echo '${'$as_ac_var'}'` = yes; then
13564 cat >>confdefs.h <<_ACEOF
13565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13566 _ACEOF
13569 done
13571 LIBS="$ac_wine_check_funcs_save_LIBS"
13573 if test "x$LDAPLIBS" = "x"; then
13574 case "x$with_ldap" in
13575 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13576 xno) ;;
13577 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13578 This is an error since --with-ldap was requested." >&5
13579 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13580 This is an error since --with-ldap was requested." >&2;}
13581 { (exit 1); exit 1; }; } ;;
13582 esac
13586 for ac_prog in freetype-config freetype2-config
13588 # Extract the first word of "$ac_prog", so it can be a program name with args.
13589 set dummy $ac_prog; ac_word=$2
13590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13592 if test "${ac_cv_prog_ft_devel+set}" = set; then
13593 echo $ECHO_N "(cached) $ECHO_C" >&6
13594 else
13595 if test -n "$ft_devel"; then
13596 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13597 else
13598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13599 for as_dir in $PATH
13601 IFS=$as_save_IFS
13602 test -z "$as_dir" && as_dir=.
13603 for ac_exec_ext in '' $ac_executable_extensions; do
13604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13605 ac_cv_prog_ft_devel="$ac_prog"
13606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13607 break 2
13609 done
13610 done
13611 IFS=$as_save_IFS
13615 ft_devel=$ac_cv_prog_ft_devel
13616 if test -n "$ft_devel"; then
13617 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13618 echo "${ECHO_T}$ft_devel" >&6; }
13619 else
13620 { echo "$as_me:$LINENO: result: no" >&5
13621 echo "${ECHO_T}no" >&6; }
13625 test -n "$ft_devel" && break
13626 done
13627 test -n "$ft_devel" || ft_devel="false"
13629 if test "$ft_devel" != "false"
13630 then
13631 ac_freetype_libs=`$ft_devel --libs`
13632 ac_freetype_incl=`$ft_devel --cflags`
13633 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13634 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13635 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 else
13638 ac_check_soname_save_LIBS=$LIBS
13639 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13640 cat >conftest.$ac_ext <<_ACEOF
13641 /* confdefs.h. */
13642 _ACEOF
13643 cat confdefs.h >>conftest.$ac_ext
13644 cat >>conftest.$ac_ext <<_ACEOF
13645 /* end confdefs.h. */
13647 /* Override any GCC internal prototype to avoid an error.
13648 Use char because int might match the return type of a GCC
13649 builtin and then its argument prototype would still apply. */
13650 #ifdef __cplusplus
13651 extern "C"
13652 #endif
13653 char FT_Init_FreeType ();
13655 main ()
13657 return FT_Init_FreeType ();
13659 return 0;
13661 _ACEOF
13662 rm -f conftest.$ac_objext conftest$ac_exeext
13663 if { (ac_try="$ac_link"
13664 case "(($ac_try" in
13665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13666 *) ac_try_echo=$ac_try;;
13667 esac
13668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13669 (eval "$ac_link") 2>conftest.er1
13670 ac_status=$?
13671 grep -v '^ *+' conftest.er1 >conftest.err
13672 rm -f conftest.er1
13673 cat conftest.err >&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } && {
13676 test -z "$ac_c_werror_flag" ||
13677 test ! -s conftest.err
13678 } && test -s conftest$ac_exeext &&
13679 $as_test_x conftest$ac_exeext; then
13680 case "$LIBEXT" in
13681 dll) ;;
13682 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'` ;;
13683 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13684 esac
13685 else
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13693 conftest$ac_exeext conftest.$ac_ext
13694 LIBS=$ac_check_soname_save_LIBS
13696 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13697 { echo "$as_me:$LINENO: result: not found" >&5
13698 echo "${ECHO_T}not found" >&6; }
13699 ft_lib=no
13700 else
13701 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13702 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13704 cat >>confdefs.h <<_ACEOF
13705 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13706 _ACEOF
13708 ft_lib=yes
13711 if test "$ft_lib" = "yes"
13712 then
13713 ac_save_CPPFLAGS="$CPPFLAGS"
13714 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13727 for ac_header in ft2build.h \
13728 freetype/freetype.h \
13729 freetype/ftglyph.h \
13730 freetype/fttypes.h \
13731 freetype/tttables.h \
13732 freetype/ftnames.h \
13733 freetype/ftsnames.h \
13734 freetype/ttnameid.h \
13735 freetype/ftoutln.h \
13736 freetype/ftwinfnt.h \
13737 freetype/ftmodapi.h \
13738 freetype/internal/sfnt.h
13740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13741 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13743 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13744 echo $ECHO_N "(cached) $ECHO_C" >&6
13745 else
13746 cat >conftest.$ac_ext <<_ACEOF
13747 /* confdefs.h. */
13748 _ACEOF
13749 cat confdefs.h >>conftest.$ac_ext
13750 cat >>conftest.$ac_ext <<_ACEOF
13751 /* end confdefs.h. */
13752 #ifdef HAVE_FT2BUILD_H
13753 # include <ft2build.h>
13754 #endif
13756 #include <$ac_header>
13757 _ACEOF
13758 rm -f conftest.$ac_objext
13759 if { (ac_try="$ac_compile"
13760 case "(($ac_try" in
13761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13762 *) ac_try_echo=$ac_try;;
13763 esac
13764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13765 (eval "$ac_compile") 2>conftest.er1
13766 ac_status=$?
13767 grep -v '^ *+' conftest.er1 >conftest.err
13768 rm -f conftest.er1
13769 cat conftest.err >&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } && {
13772 test -z "$ac_c_werror_flag" ||
13773 test ! -s conftest.err
13774 } && test -s conftest.$ac_objext; then
13775 eval "$as_ac_Header=yes"
13776 else
13777 echo "$as_me: failed program was:" >&5
13778 sed 's/^/| /' conftest.$ac_ext >&5
13780 eval "$as_ac_Header=no"
13783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13785 ac_res=`eval echo '${'$as_ac_Header'}'`
13786 { echo "$as_me:$LINENO: result: $ac_res" >&5
13787 echo "${ECHO_T}$ac_res" >&6; }
13788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13789 cat >>confdefs.h <<_ACEOF
13790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13791 _ACEOF
13795 done
13797 cat >conftest.$ac_ext <<_ACEOF
13798 /* confdefs.h. */
13799 _ACEOF
13800 cat confdefs.h >>conftest.$ac_ext
13801 cat >>conftest.$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13803 #include <ft2build.h>
13804 #include <freetype/fttrigon.h>
13805 _ACEOF
13806 if { (ac_try="$ac_cpp conftest.$ac_ext"
13807 case "(($ac_try" in
13808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13809 *) ac_try_echo=$ac_try;;
13810 esac
13811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13812 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13813 ac_status=$?
13814 grep -v '^ *+' conftest.er1 >conftest.err
13815 rm -f conftest.er1
13816 cat conftest.err >&5
13817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13818 (exit $ac_status); } >/dev/null && {
13819 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13820 test ! -s conftest.err
13821 }; then
13823 cat >>confdefs.h <<\_ACEOF
13824 #define HAVE_FREETYPE_FTTRIGON_H 1
13825 _ACEOF
13827 wine_cv_fttrigon=yes
13828 else
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.$ac_ext >&5
13832 wine_cv_fttrigon=no
13835 rm -f conftest.err conftest.$ac_ext
13836 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13837 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13838 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13839 echo $ECHO_N "(cached) $ECHO_C" >&6
13840 else
13841 cat >conftest.$ac_ext <<_ACEOF
13842 /* confdefs.h. */
13843 _ACEOF
13844 cat confdefs.h >>conftest.$ac_ext
13845 cat >>conftest.$ac_ext <<_ACEOF
13846 /* end confdefs.h. */
13847 #include <freetype/ftmodapi.h>
13849 typedef FT_TrueTypeEngineType ac__type_new_;
13851 main ()
13853 if ((ac__type_new_ *) 0)
13854 return 0;
13855 if (sizeof (ac__type_new_))
13856 return 0;
13858 return 0;
13860 _ACEOF
13861 rm -f conftest.$ac_objext
13862 if { (ac_try="$ac_compile"
13863 case "(($ac_try" in
13864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13865 *) ac_try_echo=$ac_try;;
13866 esac
13867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13868 (eval "$ac_compile") 2>conftest.er1
13869 ac_status=$?
13870 grep -v '^ *+' conftest.er1 >conftest.err
13871 rm -f conftest.er1
13872 cat conftest.err >&5
13873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 (exit $ac_status); } && {
13875 test -z "$ac_c_werror_flag" ||
13876 test ! -s conftest.err
13877 } && test -s conftest.$ac_objext; then
13878 ac_cv_type_FT_TrueTypeEngineType=yes
13879 else
13880 echo "$as_me: failed program was:" >&5
13881 sed 's/^/| /' conftest.$ac_ext >&5
13883 ac_cv_type_FT_TrueTypeEngineType=no
13886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13888 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13889 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13890 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13892 cat >>confdefs.h <<_ACEOF
13893 #define HAVE_FT_TRUETYPEENGINETYPE 1
13894 _ACEOF
13899 ac_save_CFLAGS="$CFLAGS"
13900 CFLAGS="$CFLAGS $ac_freetype_libs"
13902 for ac_func in FT_Load_Sfnt_Table
13904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13905 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13907 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13909 else
13910 cat >conftest.$ac_ext <<_ACEOF
13911 /* confdefs.h. */
13912 _ACEOF
13913 cat confdefs.h >>conftest.$ac_ext
13914 cat >>conftest.$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13918 #define $ac_func innocuous_$ac_func
13920 /* System header to define __stub macros and hopefully few prototypes,
13921 which can conflict with char $ac_func (); below.
13922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13923 <limits.h> exists even on freestanding compilers. */
13925 #ifdef __STDC__
13926 # include <limits.h>
13927 #else
13928 # include <assert.h>
13929 #endif
13931 #undef $ac_func
13933 /* Override any GCC internal prototype to avoid an error.
13934 Use char because int might match the return type of a GCC
13935 builtin and then its argument prototype would still apply. */
13936 #ifdef __cplusplus
13937 extern "C"
13938 #endif
13939 char $ac_func ();
13940 /* The GNU C library defines this for functions which it implements
13941 to always fail with ENOSYS. Some functions are actually named
13942 something starting with __ and the normal name is an alias. */
13943 #if defined __stub_$ac_func || defined __stub___$ac_func
13944 choke me
13945 #endif
13948 main ()
13950 return $ac_func ();
13952 return 0;
13954 _ACEOF
13955 rm -f conftest.$ac_objext conftest$ac_exeext
13956 if { (ac_try="$ac_link"
13957 case "(($ac_try" in
13958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13959 *) ac_try_echo=$ac_try;;
13960 esac
13961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13962 (eval "$ac_link") 2>conftest.er1
13963 ac_status=$?
13964 grep -v '^ *+' conftest.er1 >conftest.err
13965 rm -f conftest.er1
13966 cat conftest.err >&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } && {
13969 test -z "$ac_c_werror_flag" ||
13970 test ! -s conftest.err
13971 } && test -s conftest$ac_exeext &&
13972 $as_test_x conftest$ac_exeext; then
13973 eval "$as_ac_var=yes"
13974 else
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.$ac_ext >&5
13978 eval "$as_ac_var=no"
13981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13982 conftest$ac_exeext conftest.$ac_ext
13984 ac_res=`eval echo '${'$as_ac_var'}'`
13985 { echo "$as_me:$LINENO: result: $ac_res" >&5
13986 echo "${ECHO_T}$ac_res" >&6; }
13987 if test `eval echo '${'$as_ac_var'}'` = yes; then
13988 cat >>confdefs.h <<_ACEOF
13989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13990 _ACEOF
13993 done
13995 CFLAGS="$ac_save_CFLAGS"
13996 CPPFLAGS="$ac_save_CPPFLAGS"
13997 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13998 then
14000 cat >>confdefs.h <<\_ACEOF
14001 #define HAVE_FREETYPE 1
14002 _ACEOF
14004 FREETYPELIBS="$ac_freetype_libs"
14006 FREETYPEINCL="$ac_freetype_incl"
14012 if test "$FONTFORGE" = "false"
14013 then
14014 wine_warnings="$wine_warnings|FontForge is missing.
14015 Fonts will not be built. Dialog text may be invisible or unaligned."
14016 elif test "x$FREETYPELIBS" = "x"
14017 then
14018 wine_warnings="$wine_warnings|FreeType development files not found.
14019 Fonts will not be built. Dialog text may be invisible or unaligned."
14020 else
14021 FONTSSUBDIRS="fonts"
14025 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14026 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14027 if test "${ac_cv_c_ppdev+set}" = set; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14029 else
14030 cat >conftest.$ac_ext <<_ACEOF
14031 /* confdefs.h. */
14032 _ACEOF
14033 cat confdefs.h >>conftest.$ac_ext
14034 cat >>conftest.$ac_ext <<_ACEOF
14035 /* end confdefs.h. */
14036 #include <linux/ppdev.h>
14038 main ()
14040 ioctl (1,PPCLAIM,0)
14042 return 0;
14044 _ACEOF
14045 rm -f conftest.$ac_objext
14046 if { (ac_try="$ac_compile"
14047 case "(($ac_try" in
14048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14049 *) ac_try_echo=$ac_try;;
14050 esac
14051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14052 (eval "$ac_compile") 2>conftest.er1
14053 ac_status=$?
14054 grep -v '^ *+' conftest.er1 >conftest.err
14055 rm -f conftest.er1
14056 cat conftest.err >&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); } && {
14059 test -z "$ac_c_werror_flag" ||
14060 test ! -s conftest.err
14061 } && test -s conftest.$ac_objext; then
14062 ac_cv_c_ppdev="yes"
14063 else
14064 echo "$as_me: failed program was:" >&5
14065 sed 's/^/| /' conftest.$ac_ext >&5
14067 ac_cv_c_ppdev="no"
14070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14072 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14073 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14074 if test "$ac_cv_c_ppdev" = "yes"
14075 then
14077 cat >>confdefs.h <<\_ACEOF
14078 #define HAVE_PPDEV 1
14079 _ACEOF
14083 { echo "$as_me:$LINENO: checking for va_copy" >&5
14084 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14085 if test "${ac_cv_c_va_copy+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 else
14088 cat >conftest.$ac_ext <<_ACEOF
14089 /* confdefs.h. */
14090 _ACEOF
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094 #include <stdarg.h>
14096 main ()
14098 va_list ap1, ap2; va_copy(ap1,ap2);
14100 return 0;
14102 _ACEOF
14103 rm -f conftest.$ac_objext conftest$ac_exeext
14104 if { (ac_try="$ac_link"
14105 case "(($ac_try" in
14106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14107 *) ac_try_echo=$ac_try;;
14108 esac
14109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14110 (eval "$ac_link") 2>conftest.er1
14111 ac_status=$?
14112 grep -v '^ *+' conftest.er1 >conftest.err
14113 rm -f conftest.er1
14114 cat conftest.err >&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); } && {
14117 test -z "$ac_c_werror_flag" ||
14118 test ! -s conftest.err
14119 } && test -s conftest$ac_exeext &&
14120 $as_test_x conftest$ac_exeext; then
14121 ac_cv_c_va_copy="yes"
14122 else
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14126 ac_cv_c_va_copy="no"
14129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14130 conftest$ac_exeext conftest.$ac_ext
14133 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14134 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14135 if test "$ac_cv_c_va_copy" = "yes"
14136 then
14138 cat >>confdefs.h <<\_ACEOF
14139 #define HAVE_VA_COPY 1
14140 _ACEOF
14143 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14144 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14145 if test "${ac_cv_c___va_copy+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 else
14148 cat >conftest.$ac_ext <<_ACEOF
14149 /* confdefs.h. */
14150 _ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154 #include <stdarg.h>
14156 main ()
14158 va_list ap1, ap2; __va_copy(ap1,ap2);
14160 return 0;
14162 _ACEOF
14163 rm -f conftest.$ac_objext conftest$ac_exeext
14164 if { (ac_try="$ac_link"
14165 case "(($ac_try" in
14166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14167 *) ac_try_echo=$ac_try;;
14168 esac
14169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14170 (eval "$ac_link") 2>conftest.er1
14171 ac_status=$?
14172 grep -v '^ *+' conftest.er1 >conftest.err
14173 rm -f conftest.er1
14174 cat conftest.err >&5
14175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } && {
14177 test -z "$ac_c_werror_flag" ||
14178 test ! -s conftest.err
14179 } && test -s conftest$ac_exeext &&
14180 $as_test_x conftest$ac_exeext; then
14181 ac_cv_c___va_copy="yes"
14182 else
14183 echo "$as_me: failed program was:" >&5
14184 sed 's/^/| /' conftest.$ac_ext >&5
14186 ac_cv_c___va_copy="no"
14189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14190 conftest$ac_exeext conftest.$ac_ext
14193 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14194 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14195 if test "$ac_cv_c___va_copy" = "yes"
14196 then
14198 cat >>confdefs.h <<\_ACEOF
14199 #define HAVE___VA_COPY 1
14200 _ACEOF
14204 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14205 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14206 if test "${ac_cv_c_sigsetjmp+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 <setjmp.h>
14217 main ()
14219 sigjmp_buf buf;
14220 sigsetjmp( buf, 1 );
14221 siglongjmp( buf, 1 );
14223 return 0;
14225 _ACEOF
14226 rm -f conftest.$ac_objext conftest$ac_exeext
14227 if { (ac_try="$ac_link"
14228 case "(($ac_try" in
14229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14230 *) ac_try_echo=$ac_try;;
14231 esac
14232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14233 (eval "$ac_link") 2>conftest.er1
14234 ac_status=$?
14235 grep -v '^ *+' conftest.er1 >conftest.err
14236 rm -f conftest.er1
14237 cat conftest.err >&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); } && {
14240 test -z "$ac_c_werror_flag" ||
14241 test ! -s conftest.err
14242 } && test -s conftest$ac_exeext &&
14243 $as_test_x conftest$ac_exeext; then
14244 ac_cv_c_sigsetjmp="yes"
14245 else
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.$ac_ext >&5
14249 ac_cv_c_sigsetjmp="no"
14252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14253 conftest$ac_exeext conftest.$ac_ext
14256 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14257 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14258 if test "$ac_cv_c_sigsetjmp" = "yes"
14259 then
14261 cat >>confdefs.h <<\_ACEOF
14262 #define HAVE_SIGSETJMP 1
14263 _ACEOF
14267 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14268 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14269 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14271 else
14272 cat >conftest.$ac_ext <<_ACEOF
14273 /* confdefs.h. */
14274 _ACEOF
14275 cat confdefs.h >>conftest.$ac_ext
14276 cat >>conftest.$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14278 #define _GNU_SOURCE
14279 #include <pthread.h>
14281 typedef pthread_rwlock_t ac__type_new_;
14283 main ()
14285 if ((ac__type_new_ *) 0)
14286 return 0;
14287 if (sizeof (ac__type_new_))
14288 return 0;
14290 return 0;
14292 _ACEOF
14293 rm -f conftest.$ac_objext
14294 if { (ac_try="$ac_compile"
14295 case "(($ac_try" in
14296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14297 *) ac_try_echo=$ac_try;;
14298 esac
14299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14300 (eval "$ac_compile") 2>conftest.er1
14301 ac_status=$?
14302 grep -v '^ *+' conftest.er1 >conftest.err
14303 rm -f conftest.er1
14304 cat conftest.err >&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); } && {
14307 test -z "$ac_c_werror_flag" ||
14308 test ! -s conftest.err
14309 } && test -s conftest.$ac_objext; then
14310 ac_cv_type_pthread_rwlock_t=yes
14311 else
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14315 ac_cv_type_pthread_rwlock_t=no
14318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14320 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14321 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14322 if test $ac_cv_type_pthread_rwlock_t = yes; then
14324 cat >>confdefs.h <<_ACEOF
14325 #define HAVE_PTHREAD_RWLOCK_T 1
14326 _ACEOF
14330 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14331 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14332 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14333 echo $ECHO_N "(cached) $ECHO_C" >&6
14334 else
14335 cat >conftest.$ac_ext <<_ACEOF
14336 /* confdefs.h. */
14337 _ACEOF
14338 cat confdefs.h >>conftest.$ac_ext
14339 cat >>conftest.$ac_ext <<_ACEOF
14340 /* end confdefs.h. */
14341 #define _GNU_SOURCE
14342 #include <pthread.h>
14344 typedef pthread_rwlockattr_t ac__type_new_;
14346 main ()
14348 if ((ac__type_new_ *) 0)
14349 return 0;
14350 if (sizeof (ac__type_new_))
14351 return 0;
14353 return 0;
14355 _ACEOF
14356 rm -f conftest.$ac_objext
14357 if { (ac_try="$ac_compile"
14358 case "(($ac_try" in
14359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14360 *) ac_try_echo=$ac_try;;
14361 esac
14362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14363 (eval "$ac_compile") 2>conftest.er1
14364 ac_status=$?
14365 grep -v '^ *+' conftest.er1 >conftest.err
14366 rm -f conftest.er1
14367 cat conftest.err >&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); } && {
14370 test -z "$ac_c_werror_flag" ||
14371 test ! -s conftest.err
14372 } && test -s conftest.$ac_objext; then
14373 ac_cv_type_pthread_rwlockattr_t=yes
14374 else
14375 echo "$as_me: failed program was:" >&5
14376 sed 's/^/| /' conftest.$ac_ext >&5
14378 ac_cv_type_pthread_rwlockattr_t=no
14381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14383 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14384 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14385 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14387 cat >>confdefs.h <<_ACEOF
14388 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14389 _ACEOF
14395 ac_wine_check_funcs_save_LIBS="$LIBS"
14396 LIBS="$LIBS $LIBPTHREAD"
14401 for ac_func in \
14402 pthread_attr_get_np \
14403 pthread_getattr_np \
14404 pthread_get_stackaddr_np \
14405 pthread_get_stacksize_np
14407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 else
14413 cat >conftest.$ac_ext <<_ACEOF
14414 /* confdefs.h. */
14415 _ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14421 #define $ac_func innocuous_$ac_func
14423 /* System header to define __stub macros and hopefully few prototypes,
14424 which can conflict with char $ac_func (); below.
14425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14426 <limits.h> exists even on freestanding compilers. */
14428 #ifdef __STDC__
14429 # include <limits.h>
14430 #else
14431 # include <assert.h>
14432 #endif
14434 #undef $ac_func
14436 /* Override any GCC internal prototype to avoid an error.
14437 Use char because int might match the return type of a GCC
14438 builtin and then its argument prototype would still apply. */
14439 #ifdef __cplusplus
14440 extern "C"
14441 #endif
14442 char $ac_func ();
14443 /* The GNU C library defines this for functions which it implements
14444 to always fail with ENOSYS. Some functions are actually named
14445 something starting with __ and the normal name is an alias. */
14446 #if defined __stub_$ac_func || defined __stub___$ac_func
14447 choke me
14448 #endif
14451 main ()
14453 return $ac_func ();
14455 return 0;
14457 _ACEOF
14458 rm -f conftest.$ac_objext conftest$ac_exeext
14459 if { (ac_try="$ac_link"
14460 case "(($ac_try" in
14461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14462 *) ac_try_echo=$ac_try;;
14463 esac
14464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14465 (eval "$ac_link") 2>conftest.er1
14466 ac_status=$?
14467 grep -v '^ *+' conftest.er1 >conftest.err
14468 rm -f conftest.er1
14469 cat conftest.err >&5
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); } && {
14472 test -z "$ac_c_werror_flag" ||
14473 test ! -s conftest.err
14474 } && test -s conftest$ac_exeext &&
14475 $as_test_x conftest$ac_exeext; then
14476 eval "$as_ac_var=yes"
14477 else
14478 echo "$as_me: failed program was:" >&5
14479 sed 's/^/| /' conftest.$ac_ext >&5
14481 eval "$as_ac_var=no"
14484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14485 conftest$ac_exeext conftest.$ac_ext
14487 ac_res=`eval echo '${'$as_ac_var'}'`
14488 { echo "$as_me:$LINENO: result: $ac_res" >&5
14489 echo "${ECHO_T}$ac_res" >&6; }
14490 if test `eval echo '${'$as_ac_var'}'` = yes; then
14491 cat >>confdefs.h <<_ACEOF
14492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14493 _ACEOF
14496 done
14498 LIBS="$ac_wine_check_funcs_save_LIBS"
14500 # Extract the first word of "esd-config", so it can be a program name with args.
14501 set dummy esd-config; ac_word=$2
14502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14504 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14505 echo $ECHO_N "(cached) $ECHO_C" >&6
14506 else
14507 case $ESDCONFIG in
14508 [\\/]* | ?:[\\/]*)
14509 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14513 for as_dir in $PATH
14515 IFS=$as_save_IFS
14516 test -z "$as_dir" && as_dir=.
14517 for ac_exec_ext in '' $ac_executable_extensions; do
14518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14519 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14521 break 2
14523 done
14524 done
14525 IFS=$as_save_IFS
14528 esac
14530 ESDCONFIG=$ac_cv_path_ESDCONFIG
14531 if test -n "$ESDCONFIG"; then
14532 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14533 echo "${ECHO_T}$ESDCONFIG" >&6; }
14534 else
14535 { echo "$as_me:$LINENO: result: no" >&5
14536 echo "${ECHO_T}no" >&6; }
14540 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14541 then
14542 ESD_CFLAGS=""
14543 for i in `$ESDCONFIG --cflags`
14545 case "$i" in
14546 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14547 esac
14548 done
14549 ESD_LIBS=`$ESDCONFIG --libs`
14550 save_CFLAGS="$CFLAGS"
14551 CFLAGS="$CFLAGS $ESD_CFLAGS"
14552 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14553 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14554 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 else
14557 ac_check_lib_save_LIBS=$LIBS
14558 LIBS="-lesd $LIBS"
14559 cat >conftest.$ac_ext <<_ACEOF
14560 /* confdefs.h. */
14561 _ACEOF
14562 cat confdefs.h >>conftest.$ac_ext
14563 cat >>conftest.$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14566 /* Override any GCC internal prototype to avoid an error.
14567 Use char because int might match the return type of a GCC
14568 builtin and then its argument prototype would still apply. */
14569 #ifdef __cplusplus
14570 extern "C"
14571 #endif
14572 char esd_open_sound ();
14574 main ()
14576 return esd_open_sound ();
14578 return 0;
14580 _ACEOF
14581 rm -f conftest.$ac_objext conftest$ac_exeext
14582 if { (ac_try="$ac_link"
14583 case "(($ac_try" in
14584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14585 *) ac_try_echo=$ac_try;;
14586 esac
14587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14588 (eval "$ac_link") 2>conftest.er1
14589 ac_status=$?
14590 grep -v '^ *+' conftest.er1 >conftest.err
14591 rm -f conftest.er1
14592 cat conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } && {
14595 test -z "$ac_c_werror_flag" ||
14596 test ! -s conftest.err
14597 } && test -s conftest$ac_exeext &&
14598 $as_test_x conftest$ac_exeext; then
14599 ac_cv_lib_esd_esd_open_sound=yes
14600 else
14601 echo "$as_me: failed program was:" >&5
14602 sed 's/^/| /' conftest.$ac_ext >&5
14604 ac_cv_lib_esd_esd_open_sound=no
14607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14608 conftest$ac_exeext conftest.$ac_ext
14609 LIBS=$ac_check_lib_save_LIBS
14611 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14612 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14613 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14614 ESDLIBS=$ESD_LIBS
14616 ESDINCL=$ESD_CFLAGS
14619 cat >>confdefs.h <<\_ACEOF
14620 #define HAVE_ESD 1
14621 _ACEOF
14625 CFLAGS="$save_CFLAGS"
14628 ALSALIBS=""
14630 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14631 then
14632 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14633 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14634 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14635 echo $ECHO_N "(cached) $ECHO_C" >&6
14636 else
14637 ac_check_lib_save_LIBS=$LIBS
14638 LIBS="-lasound $LIBS"
14639 cat >conftest.$ac_ext <<_ACEOF
14640 /* confdefs.h. */
14641 _ACEOF
14642 cat confdefs.h >>conftest.$ac_ext
14643 cat >>conftest.$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14646 /* Override any GCC internal prototype to avoid an error.
14647 Use char because int might match the return type of a GCC
14648 builtin and then its argument prototype would still apply. */
14649 #ifdef __cplusplus
14650 extern "C"
14651 #endif
14652 char snd_pcm_hw_params_get_access ();
14654 main ()
14656 return snd_pcm_hw_params_get_access ();
14658 return 0;
14660 _ACEOF
14661 rm -f conftest.$ac_objext conftest$ac_exeext
14662 if { (ac_try="$ac_link"
14663 case "(($ac_try" in
14664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14665 *) ac_try_echo=$ac_try;;
14666 esac
14667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14668 (eval "$ac_link") 2>conftest.er1
14669 ac_status=$?
14670 grep -v '^ *+' conftest.er1 >conftest.err
14671 rm -f conftest.er1
14672 cat conftest.err >&5
14673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14674 (exit $ac_status); } && {
14675 test -z "$ac_c_werror_flag" ||
14676 test ! -s conftest.err
14677 } && test -s conftest$ac_exeext &&
14678 $as_test_x conftest$ac_exeext; then
14679 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14680 else
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.$ac_ext >&5
14684 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14688 conftest$ac_exeext conftest.$ac_ext
14689 LIBS=$ac_check_lib_save_LIBS
14691 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14692 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14693 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14694 cat >conftest.$ac_ext <<_ACEOF
14695 /* confdefs.h. */
14696 _ACEOF
14697 cat confdefs.h >>conftest.$ac_ext
14698 cat >>conftest.$ac_ext <<_ACEOF
14699 /* end confdefs.h. */
14700 #ifdef HAVE_ALSA_ASOUNDLIB_H
14701 #include <alsa/asoundlib.h>
14702 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14703 #include <sys/asoundlib.h>
14704 #endif
14706 main ()
14708 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14710 return 0;
14712 _ACEOF
14713 rm -f conftest.$ac_objext
14714 if { (ac_try="$ac_compile"
14715 case "(($ac_try" in
14716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14717 *) ac_try_echo=$ac_try;;
14718 esac
14719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14720 (eval "$ac_compile") 2>conftest.er1
14721 ac_status=$?
14722 grep -v '^ *+' conftest.er1 >conftest.err
14723 rm -f conftest.er1
14724 cat conftest.err >&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } && {
14727 test -z "$ac_c_werror_flag" ||
14728 test ! -s conftest.err
14729 } && test -s conftest.$ac_objext; then
14731 cat >>confdefs.h <<\_ACEOF
14732 #define HAVE_ALSA 1
14733 _ACEOF
14735 ALSALIBS="-lasound"
14736 else
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14748 AUDIOIOLIBS=""
14750 if test "$ac_cv_header_libaudioio_h" = "yes"
14751 then
14752 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14753 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14754 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14755 echo $ECHO_N "(cached) $ECHO_C" >&6
14756 else
14757 ac_check_lib_save_LIBS=$LIBS
14758 LIBS="-laudioio $LIBS"
14759 cat >conftest.$ac_ext <<_ACEOF
14760 /* confdefs.h. */
14761 _ACEOF
14762 cat confdefs.h >>conftest.$ac_ext
14763 cat >>conftest.$ac_ext <<_ACEOF
14764 /* end confdefs.h. */
14766 /* Override any GCC internal prototype to avoid an error.
14767 Use char because int might match the return type of a GCC
14768 builtin and then its argument prototype would still apply. */
14769 #ifdef __cplusplus
14770 extern "C"
14771 #endif
14772 char AudioIOGetVersion ();
14774 main ()
14776 return AudioIOGetVersion ();
14778 return 0;
14780 _ACEOF
14781 rm -f conftest.$ac_objext conftest$ac_exeext
14782 if { (ac_try="$ac_link"
14783 case "(($ac_try" in
14784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14785 *) ac_try_echo=$ac_try;;
14786 esac
14787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14788 (eval "$ac_link") 2>conftest.er1
14789 ac_status=$?
14790 grep -v '^ *+' conftest.er1 >conftest.err
14791 rm -f conftest.er1
14792 cat conftest.err >&5
14793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14794 (exit $ac_status); } && {
14795 test -z "$ac_c_werror_flag" ||
14796 test ! -s conftest.err
14797 } && test -s conftest$ac_exeext &&
14798 $as_test_x conftest$ac_exeext; then
14799 ac_cv_lib_audioio_AudioIOGetVersion=yes
14800 else
14801 echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.$ac_ext >&5
14804 ac_cv_lib_audioio_AudioIOGetVersion=no
14807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14808 conftest$ac_exeext conftest.$ac_ext
14809 LIBS=$ac_check_lib_save_LIBS
14811 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14812 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14813 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14814 AUDIOIOLIBS="-laudioio"
14816 cat >>confdefs.h <<\_ACEOF
14817 #define HAVE_LIBAUDIOIO 1
14818 _ACEOF
14825 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14826 then
14827 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14828 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14829 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14831 else
14832 ac_check_soname_save_LIBS=$LIBS
14833 LIBS="-lcapi20 $LIBS"
14834 cat >conftest.$ac_ext <<_ACEOF
14835 /* confdefs.h. */
14836 _ACEOF
14837 cat confdefs.h >>conftest.$ac_ext
14838 cat >>conftest.$ac_ext <<_ACEOF
14839 /* end confdefs.h. */
14841 /* Override any GCC internal prototype to avoid an error.
14842 Use char because int might match the return type of a GCC
14843 builtin and then its argument prototype would still apply. */
14844 #ifdef __cplusplus
14845 extern "C"
14846 #endif
14847 char capi20_register ();
14849 main ()
14851 return capi20_register ();
14853 return 0;
14855 _ACEOF
14856 rm -f conftest.$ac_objext conftest$ac_exeext
14857 if { (ac_try="$ac_link"
14858 case "(($ac_try" in
14859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14860 *) ac_try_echo=$ac_try;;
14861 esac
14862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14863 (eval "$ac_link") 2>conftest.er1
14864 ac_status=$?
14865 grep -v '^ *+' conftest.er1 >conftest.err
14866 rm -f conftest.er1
14867 cat conftest.err >&5
14868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14869 (exit $ac_status); } && {
14870 test -z "$ac_c_werror_flag" ||
14871 test ! -s conftest.err
14872 } && test -s conftest$ac_exeext &&
14873 $as_test_x conftest$ac_exeext; then
14874 case "$LIBEXT" in
14875 dll) ;;
14876 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'` ;;
14877 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14878 esac
14879 else
14880 echo "$as_me: failed program was:" >&5
14881 sed 's/^/| /' conftest.$ac_ext >&5
14886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14887 conftest$ac_exeext conftest.$ac_ext
14888 LIBS=$ac_check_soname_save_LIBS
14890 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14891 { echo "$as_me:$LINENO: result: not found" >&5
14892 echo "${ECHO_T}not found" >&6; }
14894 else
14895 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14896 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14898 cat >>confdefs.h <<_ACEOF
14899 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14900 _ACEOF
14906 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14907 case "x$with_capi" in
14908 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14909 xno) ;;
14910 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14911 This is an error since --with-capi was requested." >&5
14912 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14913 This is an error since --with-capi was requested." >&2;}
14914 { (exit 1); exit 1; }; } ;;
14915 esac
14919 if test "$ac_cv_header_cups_cups_h" = "yes"
14920 then
14921 { echo "$as_me:$LINENO: checking for -lcups" >&5
14922 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14923 if test "${ac_cv_lib_soname_cups+set}" = set; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14925 else
14926 ac_check_soname_save_LIBS=$LIBS
14927 LIBS="-lcups $LIBS"
14928 cat >conftest.$ac_ext <<_ACEOF
14929 /* confdefs.h. */
14930 _ACEOF
14931 cat confdefs.h >>conftest.$ac_ext
14932 cat >>conftest.$ac_ext <<_ACEOF
14933 /* end confdefs.h. */
14935 /* Override any GCC internal prototype to avoid an error.
14936 Use char because int might match the return type of a GCC
14937 builtin and then its argument prototype would still apply. */
14938 #ifdef __cplusplus
14939 extern "C"
14940 #endif
14941 char cupsGetDefault ();
14943 main ()
14945 return cupsGetDefault ();
14947 return 0;
14949 _ACEOF
14950 rm -f conftest.$ac_objext conftest$ac_exeext
14951 if { (ac_try="$ac_link"
14952 case "(($ac_try" in
14953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14954 *) ac_try_echo=$ac_try;;
14955 esac
14956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14957 (eval "$ac_link") 2>conftest.er1
14958 ac_status=$?
14959 grep -v '^ *+' conftest.er1 >conftest.err
14960 rm -f conftest.er1
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } && {
14964 test -z "$ac_c_werror_flag" ||
14965 test ! -s conftest.err
14966 } && test -s conftest$ac_exeext &&
14967 $as_test_x conftest$ac_exeext; then
14968 case "$LIBEXT" in
14969 dll) ;;
14970 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'` ;;
14971 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14972 esac
14973 else
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14981 conftest$ac_exeext conftest.$ac_ext
14982 LIBS=$ac_check_soname_save_LIBS
14984 if test "x$ac_cv_lib_soname_cups" = "x"; then
14985 { echo "$as_me:$LINENO: result: not found" >&5
14986 echo "${ECHO_T}not found" >&6; }
14988 else
14989 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14990 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14992 cat >>confdefs.h <<_ACEOF
14993 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14994 _ACEOF
15000 if test "x$ac_cv_lib_soname_cups" = "x"; then
15001 case "x$with_cups" in
15002 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15003 xno) ;;
15004 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15005 This is an error since --with-cups was requested." >&5
15006 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15007 This is an error since --with-cups was requested." >&2;}
15008 { (exit 1); exit 1; }; } ;;
15009 esac
15013 if test "$ac_cv_header_jack_jack_h" = "yes"
15014 then
15015 { echo "$as_me:$LINENO: checking for -ljack" >&5
15016 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15017 if test "${ac_cv_lib_soname_jack+set}" = set; then
15018 echo $ECHO_N "(cached) $ECHO_C" >&6
15019 else
15020 ac_check_soname_save_LIBS=$LIBS
15021 LIBS="-ljack $LIBS"
15022 cat >conftest.$ac_ext <<_ACEOF
15023 /* confdefs.h. */
15024 _ACEOF
15025 cat confdefs.h >>conftest.$ac_ext
15026 cat >>conftest.$ac_ext <<_ACEOF
15027 /* end confdefs.h. */
15029 /* Override any GCC internal prototype to avoid an error.
15030 Use char because int might match the return type of a GCC
15031 builtin and then its argument prototype would still apply. */
15032 #ifdef __cplusplus
15033 extern "C"
15034 #endif
15035 char jack_client_new ();
15037 main ()
15039 return jack_client_new ();
15041 return 0;
15043 _ACEOF
15044 rm -f conftest.$ac_objext conftest$ac_exeext
15045 if { (ac_try="$ac_link"
15046 case "(($ac_try" in
15047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15048 *) ac_try_echo=$ac_try;;
15049 esac
15050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15051 (eval "$ac_link") 2>conftest.er1
15052 ac_status=$?
15053 grep -v '^ *+' conftest.er1 >conftest.err
15054 rm -f conftest.er1
15055 cat conftest.err >&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); } && {
15058 test -z "$ac_c_werror_flag" ||
15059 test ! -s conftest.err
15060 } && test -s conftest$ac_exeext &&
15061 $as_test_x conftest$ac_exeext; then
15062 case "$LIBEXT" in
15063 dll) ;;
15064 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15065 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15066 esac
15067 else
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15075 conftest$ac_exeext conftest.$ac_ext
15076 LIBS=$ac_check_soname_save_LIBS
15078 if test "x$ac_cv_lib_soname_jack" = "x"; then
15079 { echo "$as_me:$LINENO: result: not found" >&5
15080 echo "${ECHO_T}not found" >&6; }
15082 else
15083 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15084 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15086 cat >>confdefs.h <<_ACEOF
15087 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15088 _ACEOF
15095 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15096 then
15097 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15098 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15099 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15100 echo $ECHO_N "(cached) $ECHO_C" >&6
15101 else
15102 ac_check_soname_save_LIBS=$LIBS
15103 LIBS="-lfontconfig $LIBS"
15104 cat >conftest.$ac_ext <<_ACEOF
15105 /* confdefs.h. */
15106 _ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15111 /* Override any GCC internal prototype to avoid an error.
15112 Use char because int might match the return type of a GCC
15113 builtin and then its argument prototype would still apply. */
15114 #ifdef __cplusplus
15115 extern "C"
15116 #endif
15117 char FcInit ();
15119 main ()
15121 return FcInit ();
15123 return 0;
15125 _ACEOF
15126 rm -f conftest.$ac_objext conftest$ac_exeext
15127 if { (ac_try="$ac_link"
15128 case "(($ac_try" in
15129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15130 *) ac_try_echo=$ac_try;;
15131 esac
15132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15133 (eval "$ac_link") 2>conftest.er1
15134 ac_status=$?
15135 grep -v '^ *+' conftest.er1 >conftest.err
15136 rm -f conftest.er1
15137 cat conftest.err >&5
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); } && {
15140 test -z "$ac_c_werror_flag" ||
15141 test ! -s conftest.err
15142 } && test -s conftest$ac_exeext &&
15143 $as_test_x conftest$ac_exeext; then
15144 case "$LIBEXT" in
15145 dll) ;;
15146 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'` ;;
15147 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15148 esac
15149 else
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.$ac_ext >&5
15156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15157 conftest$ac_exeext conftest.$ac_ext
15158 LIBS=$ac_check_soname_save_LIBS
15160 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15161 { echo "$as_me:$LINENO: result: not found" >&5
15162 echo "${ECHO_T}not found" >&6; }
15164 else
15165 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15166 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15168 cat >>confdefs.h <<_ACEOF
15169 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15170 _ACEOF
15175 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15176 then
15177 ac_save_CPPFLAGS="$CPPFLAGS"
15178 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15179 $as_unset ac_cv_header_fontconfig_fontconfig_h
15181 for ac_header in fontconfig/fontconfig.h
15183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15188 echo $ECHO_N "(cached) $ECHO_C" >&6
15190 ac_res=`eval echo '${'$as_ac_Header'}'`
15191 { echo "$as_me:$LINENO: result: $ac_res" >&5
15192 echo "${ECHO_T}$ac_res" >&6; }
15193 else
15194 # Is the header compilable?
15195 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15197 cat >conftest.$ac_ext <<_ACEOF
15198 /* confdefs.h. */
15199 _ACEOF
15200 cat confdefs.h >>conftest.$ac_ext
15201 cat >>conftest.$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15203 $ac_includes_default
15204 #include <$ac_header>
15205 _ACEOF
15206 rm -f conftest.$ac_objext
15207 if { (ac_try="$ac_compile"
15208 case "(($ac_try" in
15209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15210 *) ac_try_echo=$ac_try;;
15211 esac
15212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15213 (eval "$ac_compile") 2>conftest.er1
15214 ac_status=$?
15215 grep -v '^ *+' conftest.er1 >conftest.err
15216 rm -f conftest.er1
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } && {
15220 test -z "$ac_c_werror_flag" ||
15221 test ! -s conftest.err
15222 } && test -s conftest.$ac_objext; then
15223 ac_header_compiler=yes
15224 else
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.$ac_ext >&5
15228 ac_header_compiler=no
15231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15232 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15233 echo "${ECHO_T}$ac_header_compiler" >&6; }
15235 # Is the header present?
15236 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15238 cat >conftest.$ac_ext <<_ACEOF
15239 /* confdefs.h. */
15240 _ACEOF
15241 cat confdefs.h >>conftest.$ac_ext
15242 cat >>conftest.$ac_ext <<_ACEOF
15243 /* end confdefs.h. */
15244 #include <$ac_header>
15245 _ACEOF
15246 if { (ac_try="$ac_cpp conftest.$ac_ext"
15247 case "(($ac_try" in
15248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15249 *) ac_try_echo=$ac_try;;
15250 esac
15251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15253 ac_status=$?
15254 grep -v '^ *+' conftest.er1 >conftest.err
15255 rm -f conftest.er1
15256 cat conftest.err >&5
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); } >/dev/null && {
15259 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15260 test ! -s conftest.err
15261 }; then
15262 ac_header_preproc=yes
15263 else
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15267 ac_header_preproc=no
15270 rm -f conftest.err conftest.$ac_ext
15271 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15272 echo "${ECHO_T}$ac_header_preproc" >&6; }
15274 # So? What about this header?
15275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15276 yes:no: )
15277 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15278 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15279 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15280 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15281 ac_header_preproc=yes
15283 no:yes:* )
15284 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15285 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15286 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15287 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15288 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15289 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15290 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15291 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15292 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15293 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15294 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15295 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15296 ( cat <<\_ASBOX
15297 ## ------------------------------------ ##
15298 ## Report this to wine-devel@winehq.org ##
15299 ## ------------------------------------ ##
15300 _ASBOX
15301 ) | sed "s/^/$as_me: WARNING: /" >&2
15303 esac
15304 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15308 else
15309 eval "$as_ac_Header=\$ac_header_preproc"
15311 ac_res=`eval echo '${'$as_ac_Header'}'`
15312 { echo "$as_me:$LINENO: result: $ac_res" >&5
15313 echo "${ECHO_T}$ac_res" >&6; }
15316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15317 cat >>confdefs.h <<_ACEOF
15318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15319 _ACEOF
15323 done
15325 CPPFLAGS="$ac_save_CPPFLAGS"
15326 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15327 then
15328 FONTCONFIGINCL="$X_CFLAGS"
15330 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15331 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15332 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 else
15335 ac_check_soname_save_LIBS=$LIBS
15336 LIBS="-lfontconfig $X_LIBS $LIBS"
15337 cat >conftest.$ac_ext <<_ACEOF
15338 /* confdefs.h. */
15339 _ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15344 /* Override any GCC internal prototype to avoid an error.
15345 Use char because int might match the return type of a GCC
15346 builtin and then its argument prototype would still apply. */
15347 #ifdef __cplusplus
15348 extern "C"
15349 #endif
15350 char FcInit ();
15352 main ()
15354 return FcInit ();
15356 return 0;
15358 _ACEOF
15359 rm -f conftest.$ac_objext conftest$ac_exeext
15360 if { (ac_try="$ac_link"
15361 case "(($ac_try" in
15362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15363 *) ac_try_echo=$ac_try;;
15364 esac
15365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15366 (eval "$ac_link") 2>conftest.er1
15367 ac_status=$?
15368 grep -v '^ *+' conftest.er1 >conftest.err
15369 rm -f conftest.er1
15370 cat conftest.err >&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); } && {
15373 test -z "$ac_c_werror_flag" ||
15374 test ! -s conftest.err
15375 } && test -s conftest$ac_exeext &&
15376 $as_test_x conftest$ac_exeext; then
15377 case "$LIBEXT" in
15378 dll) ;;
15379 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'` ;;
15380 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15381 esac
15382 else
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15390 conftest$ac_exeext conftest.$ac_ext
15391 LIBS=$ac_check_soname_save_LIBS
15393 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15394 { echo "$as_me:$LINENO: result: not found" >&5
15395 echo "${ECHO_T}not found" >&6; }
15397 else
15398 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15399 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15401 cat >>confdefs.h <<_ACEOF
15402 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15403 _ACEOF
15410 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15411 case "x$with_fontconfig" in
15412 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15413 xno) ;;
15414 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15415 This is an error since --with-fontconfig was requested." >&5
15416 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15417 This is an error since --with-fontconfig was requested." >&2;}
15418 { (exit 1); exit 1; }; } ;;
15419 esac
15423 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15424 then
15425 { echo "$as_me:$LINENO: checking for -lssl" >&5
15426 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15427 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 else
15430 ac_check_soname_save_LIBS=$LIBS
15431 LIBS="-lssl $LIBS"
15432 cat >conftest.$ac_ext <<_ACEOF
15433 /* confdefs.h. */
15434 _ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15439 /* Override any GCC internal prototype to avoid an error.
15440 Use char because int might match the return type of a GCC
15441 builtin and then its argument prototype would still apply. */
15442 #ifdef __cplusplus
15443 extern "C"
15444 #endif
15445 char SSL_library_init ();
15447 main ()
15449 return SSL_library_init ();
15451 return 0;
15453 _ACEOF
15454 rm -f conftest.$ac_objext conftest$ac_exeext
15455 if { (ac_try="$ac_link"
15456 case "(($ac_try" in
15457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15458 *) ac_try_echo=$ac_try;;
15459 esac
15460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15461 (eval "$ac_link") 2>conftest.er1
15462 ac_status=$?
15463 grep -v '^ *+' conftest.er1 >conftest.err
15464 rm -f conftest.er1
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } && {
15468 test -z "$ac_c_werror_flag" ||
15469 test ! -s conftest.err
15470 } && test -s conftest$ac_exeext &&
15471 $as_test_x conftest$ac_exeext; then
15472 case "$LIBEXT" in
15473 dll) ;;
15474 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'` ;;
15475 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15476 esac
15477 else
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.$ac_ext >&5
15484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15485 conftest$ac_exeext conftest.$ac_ext
15486 LIBS=$ac_check_soname_save_LIBS
15488 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15489 { echo "$as_me:$LINENO: result: not found" >&5
15490 echo "${ECHO_T}not found" >&6; }
15492 else
15493 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15494 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15496 cat >>confdefs.h <<_ACEOF
15497 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15498 _ACEOF
15503 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15504 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15505 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15506 echo $ECHO_N "(cached) $ECHO_C" >&6
15507 else
15508 ac_check_soname_save_LIBS=$LIBS
15509 LIBS="-lcrypto $LIBS"
15510 cat >conftest.$ac_ext <<_ACEOF
15511 /* confdefs.h. */
15512 _ACEOF
15513 cat confdefs.h >>conftest.$ac_ext
15514 cat >>conftest.$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15517 /* Override any GCC internal prototype to avoid an error.
15518 Use char because int might match the return type of a GCC
15519 builtin and then its argument prototype would still apply. */
15520 #ifdef __cplusplus
15521 extern "C"
15522 #endif
15523 char BIO_new_socket ();
15525 main ()
15527 return BIO_new_socket ();
15529 return 0;
15531 _ACEOF
15532 rm -f conftest.$ac_objext conftest$ac_exeext
15533 if { (ac_try="$ac_link"
15534 case "(($ac_try" in
15535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15536 *) ac_try_echo=$ac_try;;
15537 esac
15538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15539 (eval "$ac_link") 2>conftest.er1
15540 ac_status=$?
15541 grep -v '^ *+' conftest.er1 >conftest.err
15542 rm -f conftest.er1
15543 cat conftest.err >&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); } && {
15546 test -z "$ac_c_werror_flag" ||
15547 test ! -s conftest.err
15548 } && test -s conftest$ac_exeext &&
15549 $as_test_x conftest$ac_exeext; then
15550 case "$LIBEXT" in
15551 dll) ;;
15552 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'` ;;
15553 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15554 esac
15555 else
15556 echo "$as_me: failed program was:" >&5
15557 sed 's/^/| /' conftest.$ac_ext >&5
15562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15563 conftest$ac_exeext conftest.$ac_ext
15564 LIBS=$ac_check_soname_save_LIBS
15566 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15567 { echo "$as_me:$LINENO: result: not found" >&5
15568 echo "${ECHO_T}not found" >&6; }
15570 else
15571 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15572 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15574 cat >>confdefs.h <<_ACEOF
15575 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15576 _ACEOF
15582 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15583 case "x$with_openssl" in
15584 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15585 xno) ;;
15586 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15587 This is an error since --with-openssl was requested." >&5
15588 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15589 This is an error since --with-openssl was requested." >&2;}
15590 { (exit 1); exit 1; }; } ;;
15591 esac
15595 if test "$ac_cv_header_jpeglib_h" = "yes"
15596 then
15597 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15598 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15599 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15600 echo $ECHO_N "(cached) $ECHO_C" >&6
15601 else
15602 ac_check_soname_save_LIBS=$LIBS
15603 LIBS="-ljpeg $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 jpeg_start_decompress ();
15619 main ()
15621 return jpeg_start_decompress ();
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_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'` ;;
15647 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$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_jpeg" = "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_jpeg" >&5
15666 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15668 cat >>confdefs.h <<_ACEOF
15669 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15670 _ACEOF
15676 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15677 case "x$with_jpeg" in
15678 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15679 xno) ;;
15680 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15681 This is an error since --with-jpeg was requested." >&5
15682 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15683 This is an error since --with-jpeg was requested." >&2;}
15684 { (exit 1); exit 1; }; } ;;
15685 esac
15689 if test "$ac_cv_header_png_h" = "yes"
15690 then
15691 { echo "$as_me:$LINENO: checking for -lpng" >&5
15692 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15693 if test "${ac_cv_lib_soname_png+set}" = set; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 else
15696 ac_check_soname_save_LIBS=$LIBS
15697 LIBS="-lpng $LIBS"
15698 cat >conftest.$ac_ext <<_ACEOF
15699 /* confdefs.h. */
15700 _ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15705 /* Override any GCC internal prototype to avoid an error.
15706 Use char because int might match the return type of a GCC
15707 builtin and then its argument prototype would still apply. */
15708 #ifdef __cplusplus
15709 extern "C"
15710 #endif
15711 char png_create_read_struct ();
15713 main ()
15715 return png_create_read_struct ();
15717 return 0;
15719 _ACEOF
15720 rm -f conftest.$ac_objext conftest$ac_exeext
15721 if { (ac_try="$ac_link"
15722 case "(($ac_try" in
15723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15724 *) ac_try_echo=$ac_try;;
15725 esac
15726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15727 (eval "$ac_link") 2>conftest.er1
15728 ac_status=$?
15729 grep -v '^ *+' conftest.er1 >conftest.err
15730 rm -f conftest.er1
15731 cat conftest.err >&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); } && {
15734 test -z "$ac_c_werror_flag" ||
15735 test ! -s conftest.err
15736 } && test -s conftest$ac_exeext &&
15737 $as_test_x conftest$ac_exeext; then
15738 case "$LIBEXT" in
15739 dll) ;;
15740 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'` ;;
15741 *) 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'` ;;
15742 esac
15743 else
15744 echo "$as_me: failed program was:" >&5
15745 sed 's/^/| /' conftest.$ac_ext >&5
15750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15751 conftest$ac_exeext conftest.$ac_ext
15752 LIBS=$ac_check_soname_save_LIBS
15754 if test "x$ac_cv_lib_soname_png" = "x"; then
15755 { echo "$as_me:$LINENO: result: not found" >&5
15756 echo "${ECHO_T}not found" >&6; }
15758 else
15759 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15760 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15762 cat >>confdefs.h <<_ACEOF
15763 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15764 _ACEOF
15770 if test "x$ac_cv_lib_soname_png" = "x"; then
15771 case "x$with_png" in
15772 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15773 xno) ;;
15774 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15775 This is an error since --with-png was requested." >&5
15776 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15777 This is an error since --with-png was requested." >&2;}
15778 { (exit 1); exit 1; }; } ;;
15779 esac
15783 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15784 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15785 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15786 echo $ECHO_N "(cached) $ECHO_C" >&6
15787 else
15788 ac_check_soname_save_LIBS=$LIBS
15789 LIBS="-lodbc $LIBS"
15790 cat >conftest.$ac_ext <<_ACEOF
15791 /* confdefs.h. */
15792 _ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15797 /* Override any GCC internal prototype to avoid an error.
15798 Use char because int might match the return type of a GCC
15799 builtin and then its argument prototype would still apply. */
15800 #ifdef __cplusplus
15801 extern "C"
15802 #endif
15803 char SQLConnect ();
15805 main ()
15807 return SQLConnect ();
15809 return 0;
15811 _ACEOF
15812 rm -f conftest.$ac_objext conftest$ac_exeext
15813 if { (ac_try="$ac_link"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15816 *) ac_try_echo=$ac_try;;
15817 esac
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_link") 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_c_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest$ac_exeext &&
15829 $as_test_x conftest$ac_exeext; then
15830 case "$LIBEXT" in
15831 dll) ;;
15832 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'` ;;
15833 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15834 esac
15835 else
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.$ac_ext >&5
15842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15843 conftest$ac_exeext conftest.$ac_ext
15844 LIBS=$ac_check_soname_save_LIBS
15846 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15847 { echo "$as_me:$LINENO: result: not found" >&5
15848 echo "${ECHO_T}not found" >&6; }
15849 cat >>confdefs.h <<_ACEOF
15850 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15851 _ACEOF
15853 else
15854 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15855 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15857 cat >>confdefs.h <<_ACEOF
15858 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15859 _ACEOF
15865 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15866 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15867 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15868 "$ac_cv_header_soundcard_h" != "yes" -a \
15869 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15870 then
15871 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15875 EXTRACFLAGS=""
15877 if test "x${GCC}" = "xyes"
15878 then
15879 EXTRACFLAGS="-Wall -pipe"
15881 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15882 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15883 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15884 echo $ECHO_N "(cached) $ECHO_C" >&6
15885 else
15886 if test "$cross_compiling" = yes; then
15887 ac_cv_c_gcc_strength_bug="yes"
15888 else
15889 cat >conftest.$ac_ext <<_ACEOF
15890 /* confdefs.h. */
15891 _ACEOF
15892 cat confdefs.h >>conftest.$ac_ext
15893 cat >>conftest.$ac_ext <<_ACEOF
15894 /* end confdefs.h. */
15895 int L[4] = {0,1,2,3};
15897 main ()
15899 static int Array[3];
15900 unsigned int B = 3;
15901 int i;
15902 for(i=0; i<B; i++) Array[i] = i - 3;
15903 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15904 L[i] = 4;
15905 exit( Array[1] != -2 || L[2] != 3)
15907 return 0;
15909 _ACEOF
15910 rm -f conftest$ac_exeext
15911 if { (ac_try="$ac_link"
15912 case "(($ac_try" in
15913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15914 *) ac_try_echo=$ac_try;;
15915 esac
15916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15917 (eval "$ac_link") 2>&5
15918 ac_status=$?
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15921 { (case "(($ac_try" in
15922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15923 *) ac_try_echo=$ac_try;;
15924 esac
15925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15926 (eval "$ac_try") 2>&5
15927 ac_status=$?
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); }; }; then
15930 ac_cv_c_gcc_strength_bug="no"
15931 else
15932 echo "$as_me: program exited with status $ac_status" >&5
15933 echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.$ac_ext >&5
15936 ( exit $ac_status )
15937 ac_cv_c_gcc_strength_bug="yes"
15939 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15944 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15945 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15946 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15947 then
15948 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15952 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15953 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15954 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15955 echo $ECHO_N "(cached) $ECHO_C" >&6
15956 else
15957 ac_wine_try_cflags_saved=$CFLAGS
15958 CFLAGS="$CFLAGS -fshort-wchar"
15959 cat >conftest.$ac_ext <<_ACEOF
15960 /* confdefs.h. */
15961 _ACEOF
15962 cat confdefs.h >>conftest.$ac_ext
15963 cat >>conftest.$ac_ext <<_ACEOF
15964 /* end confdefs.h. */
15967 main ()
15971 return 0;
15973 _ACEOF
15974 rm -f conftest.$ac_objext conftest$ac_exeext
15975 if { (ac_try="$ac_link"
15976 case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 *) ac_try_echo=$ac_try;;
15979 esac
15980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15981 (eval "$ac_link") 2>conftest.er1
15982 ac_status=$?
15983 grep -v '^ *+' conftest.er1 >conftest.err
15984 rm -f conftest.er1
15985 cat conftest.err >&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } && {
15988 test -z "$ac_c_werror_flag" ||
15989 test ! -s conftest.err
15990 } && test -s conftest$ac_exeext &&
15991 $as_test_x conftest$ac_exeext; then
15992 ac_cv_cflags__fshort_wchar=yes
15993 else
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 ac_cv_cflags__fshort_wchar=no
16000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16001 conftest$ac_exeext conftest.$ac_ext
16002 CFLAGS=$ac_wine_try_cflags_saved
16004 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16005 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16006 if test $ac_cv_cflags__fshort_wchar = yes; then
16008 cat >>confdefs.h <<\_ACEOF
16009 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16010 _ACEOF
16014 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16015 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16016 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16017 echo $ECHO_N "(cached) $ECHO_C" >&6
16018 else
16019 ac_wine_try_cflags_saved=$CFLAGS
16020 CFLAGS="$CFLAGS -fno-strict-aliasing"
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h. */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16029 main ()
16033 return 0;
16035 _ACEOF
16036 rm -f conftest.$ac_objext conftest$ac_exeext
16037 if { (ac_try="$ac_link"
16038 case "(($ac_try" in
16039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16040 *) ac_try_echo=$ac_try;;
16041 esac
16042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16043 (eval "$ac_link") 2>conftest.er1
16044 ac_status=$?
16045 grep -v '^ *+' conftest.er1 >conftest.err
16046 rm -f conftest.er1
16047 cat conftest.err >&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } && {
16050 test -z "$ac_c_werror_flag" ||
16051 test ! -s conftest.err
16052 } && test -s conftest$ac_exeext &&
16053 $as_test_x conftest$ac_exeext; then
16054 ac_cv_cflags__fno_strict_aliasing=yes
16055 else
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16059 ac_cv_cflags__fno_strict_aliasing=no
16062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16063 conftest$ac_exeext conftest.$ac_ext
16064 CFLAGS=$ac_wine_try_cflags_saved
16066 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16067 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16068 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16069 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16072 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16073 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16074 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16075 echo $ECHO_N "(cached) $ECHO_C" >&6
16076 else
16077 ac_wine_try_cflags_saved=$CFLAGS
16078 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16079 cat >conftest.$ac_ext <<_ACEOF
16080 /* confdefs.h. */
16081 _ACEOF
16082 cat confdefs.h >>conftest.$ac_ext
16083 cat >>conftest.$ac_ext <<_ACEOF
16084 /* end confdefs.h. */
16087 main ()
16091 return 0;
16093 _ACEOF
16094 rm -f conftest.$ac_objext conftest$ac_exeext
16095 if { (ac_try="$ac_link"
16096 case "(($ac_try" in
16097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16098 *) ac_try_echo=$ac_try;;
16099 esac
16100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16101 (eval "$ac_link") 2>conftest.er1
16102 ac_status=$?
16103 grep -v '^ *+' conftest.er1 >conftest.err
16104 rm -f conftest.er1
16105 cat conftest.err >&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); } && {
16108 test -z "$ac_c_werror_flag" ||
16109 test ! -s conftest.err
16110 } && test -s conftest$ac_exeext &&
16111 $as_test_x conftest$ac_exeext; then
16112 ac_cv_cflags__Wdeclaration_after_statement=yes
16113 else
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.$ac_ext >&5
16117 ac_cv_cflags__Wdeclaration_after_statement=no
16120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16121 conftest$ac_exeext conftest.$ac_ext
16122 CFLAGS=$ac_wine_try_cflags_saved
16124 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16125 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16126 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16127 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16130 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16131 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16132 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16134 else
16135 ac_wine_try_cflags_saved=$CFLAGS
16136 CFLAGS="$CFLAGS -Wwrite-strings"
16137 cat >conftest.$ac_ext <<_ACEOF
16138 /* confdefs.h. */
16139 _ACEOF
16140 cat confdefs.h >>conftest.$ac_ext
16141 cat >>conftest.$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16145 main ()
16149 return 0;
16151 _ACEOF
16152 rm -f conftest.$ac_objext conftest$ac_exeext
16153 if { (ac_try="$ac_link"
16154 case "(($ac_try" in
16155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16156 *) ac_try_echo=$ac_try;;
16157 esac
16158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16159 (eval "$ac_link") 2>conftest.er1
16160 ac_status=$?
16161 grep -v '^ *+' conftest.er1 >conftest.err
16162 rm -f conftest.er1
16163 cat conftest.err >&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); } && {
16166 test -z "$ac_c_werror_flag" ||
16167 test ! -s conftest.err
16168 } && test -s conftest$ac_exeext &&
16169 $as_test_x conftest$ac_exeext; then
16170 ac_cv_cflags__Wwrite_strings=yes
16171 else
16172 echo "$as_me: failed program was:" >&5
16173 sed 's/^/| /' conftest.$ac_ext >&5
16175 ac_cv_cflags__Wwrite_strings=no
16178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16179 conftest$ac_exeext conftest.$ac_ext
16180 CFLAGS=$ac_wine_try_cflags_saved
16182 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16183 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16184 if test $ac_cv_cflags__Wwrite_strings = yes; then
16185 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16188 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16189 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16190 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 else
16193 ac_wine_try_cflags_saved=$CFLAGS
16194 CFLAGS="$CFLAGS -Wtype-limits"
16195 cat >conftest.$ac_ext <<_ACEOF
16196 /* confdefs.h. */
16197 _ACEOF
16198 cat confdefs.h >>conftest.$ac_ext
16199 cat >>conftest.$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16203 main ()
16207 return 0;
16209 _ACEOF
16210 rm -f conftest.$ac_objext conftest$ac_exeext
16211 if { (ac_try="$ac_link"
16212 case "(($ac_try" in
16213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16214 *) ac_try_echo=$ac_try;;
16215 esac
16216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16217 (eval "$ac_link") 2>conftest.er1
16218 ac_status=$?
16219 grep -v '^ *+' conftest.er1 >conftest.err
16220 rm -f conftest.er1
16221 cat conftest.err >&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } && {
16224 test -z "$ac_c_werror_flag" ||
16225 test ! -s conftest.err
16226 } && test -s conftest$ac_exeext &&
16227 $as_test_x conftest$ac_exeext; then
16228 ac_cv_cflags__Wtype_limits=yes
16229 else
16230 echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.$ac_ext >&5
16233 ac_cv_cflags__Wtype_limits=no
16236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16237 conftest$ac_exeext conftest.$ac_ext
16238 CFLAGS=$ac_wine_try_cflags_saved
16240 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16241 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16242 if test $ac_cv_cflags__Wtype_limits = yes; then
16243 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16247 saved_CFLAGS="$CFLAGS"
16248 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16249 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16250 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16251 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16252 echo $ECHO_N "(cached) $ECHO_C" >&6
16253 else
16254 cat >conftest.$ac_ext <<_ACEOF
16255 /* confdefs.h. */
16256 _ACEOF
16257 cat confdefs.h >>conftest.$ac_ext
16258 cat >>conftest.$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 #include <string.h>
16262 main ()
16266 return 0;
16268 _ACEOF
16269 rm -f conftest.$ac_objext
16270 if { (ac_try="$ac_compile"
16271 case "(($ac_try" in
16272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16273 *) ac_try_echo=$ac_try;;
16274 esac
16275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16276 (eval "$ac_compile") 2>conftest.er1
16277 ac_status=$?
16278 grep -v '^ *+' conftest.er1 >conftest.err
16279 rm -f conftest.er1
16280 cat conftest.err >&5
16281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16282 (exit $ac_status); } && {
16283 test -z "$ac_c_werror_flag" ||
16284 test ! -s conftest.err
16285 } && test -s conftest.$ac_objext; then
16286 ac_cv_c_string_h_warnings=no
16287 else
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.$ac_ext >&5
16291 ac_cv_c_string_h_warnings=yes
16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16296 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16297 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16298 CFLAGS="$saved_CFLAGS"
16299 if test "$ac_cv_c_string_h_warnings" = "no"
16300 then
16301 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16304 BUILTINFLAG=""
16306 saved_CFLAGS="$CFLAGS"
16307 CFLAGS="$CFLAGS -Werror"
16308 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16309 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16310 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16311 echo $ECHO_N "(cached) $ECHO_C" >&6
16312 else
16313 cat >conftest.$ac_ext <<_ACEOF
16314 /* confdefs.h. */
16315 _ACEOF
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16321 main ()
16323 int iswlower(unsigned short);
16325 return 0;
16327 _ACEOF
16328 rm -f conftest.$ac_objext
16329 if { (ac_try="$ac_compile"
16330 case "(($ac_try" in
16331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16332 *) ac_try_echo=$ac_try;;
16333 esac
16334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16335 (eval "$ac_compile") 2>conftest.er1
16336 ac_status=$?
16337 grep -v '^ *+' conftest.er1 >conftest.err
16338 rm -f conftest.er1
16339 cat conftest.err >&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); } && {
16342 test -z "$ac_c_werror_flag" ||
16343 test ! -s conftest.err
16344 } && test -s conftest.$ac_objext; then
16345 ac_cv_c_builtin_wchar_ctype=no
16346 else
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.$ac_ext >&5
16350 ac_cv_c_builtin_wchar_ctype=yes
16353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16355 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16356 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16357 CFLAGS="$saved_CFLAGS"
16358 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16359 then
16360 BUILTINFLAG="-fno-builtin"
16365 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16366 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16367 if test "${ac_cv_asm_func_def+set}" = set; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16369 else
16370 cat >conftest.$ac_ext <<_ACEOF
16371 /* confdefs.h. */
16372 _ACEOF
16373 cat confdefs.h >>conftest.$ac_ext
16374 cat >>conftest.$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16378 main ()
16380 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16382 return 0;
16384 _ACEOF
16385 rm -f conftest.$ac_objext conftest$ac_exeext
16386 if { (ac_try="$ac_link"
16387 case "(($ac_try" in
16388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16389 *) ac_try_echo=$ac_try;;
16390 esac
16391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16392 (eval "$ac_link") 2>conftest.er1
16393 ac_status=$?
16394 grep -v '^ *+' conftest.er1 >conftest.err
16395 rm -f conftest.er1
16396 cat conftest.err >&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } && {
16399 test -z "$ac_c_werror_flag" ||
16400 test ! -s conftest.err
16401 } && test -s conftest$ac_exeext &&
16402 $as_test_x conftest$ac_exeext; then
16403 ac_cv_asm_func_def=".def"
16404 else
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16408 cat >conftest.$ac_ext <<_ACEOF
16409 /* confdefs.h. */
16410 _ACEOF
16411 cat confdefs.h >>conftest.$ac_ext
16412 cat >>conftest.$ac_ext <<_ACEOF
16413 /* end confdefs.h. */
16416 main ()
16418 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16420 return 0;
16422 _ACEOF
16423 rm -f conftest.$ac_objext conftest$ac_exeext
16424 if { (ac_try="$ac_link"
16425 case "(($ac_try" in
16426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16427 *) ac_try_echo=$ac_try;;
16428 esac
16429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16430 (eval "$ac_link") 2>conftest.er1
16431 ac_status=$?
16432 grep -v '^ *+' conftest.er1 >conftest.err
16433 rm -f conftest.er1
16434 cat conftest.err >&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); } && {
16437 test -z "$ac_c_werror_flag" ||
16438 test ! -s conftest.err
16439 } && test -s conftest$ac_exeext &&
16440 $as_test_x conftest$ac_exeext; then
16441 ac_cv_asm_func_def=".type @function"
16442 else
16443 echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.$ac_ext >&5
16446 cat >conftest.$ac_ext <<_ACEOF
16447 /* confdefs.h. */
16448 _ACEOF
16449 cat confdefs.h >>conftest.$ac_ext
16450 cat >>conftest.$ac_ext <<_ACEOF
16451 /* end confdefs.h. */
16454 main ()
16456 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16458 return 0;
16460 _ACEOF
16461 rm -f conftest.$ac_objext conftest$ac_exeext
16462 if { (ac_try="$ac_link"
16463 case "(($ac_try" in
16464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16465 *) ac_try_echo=$ac_try;;
16466 esac
16467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16468 (eval "$ac_link") 2>conftest.er1
16469 ac_status=$?
16470 grep -v '^ *+' conftest.er1 >conftest.err
16471 rm -f conftest.er1
16472 cat conftest.err >&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); } && {
16475 test -z "$ac_c_werror_flag" ||
16476 test ! -s conftest.err
16477 } && test -s conftest$ac_exeext &&
16478 $as_test_x conftest$ac_exeext; then
16479 ac_cv_asm_func_def=".type 2"
16480 else
16481 echo "$as_me: failed program was:" >&5
16482 sed 's/^/| /' conftest.$ac_ext >&5
16484 ac_cv_asm_func_def="unknown"
16487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16488 conftest$ac_exeext conftest.$ac_ext
16491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16492 conftest$ac_exeext conftest.$ac_ext
16495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16496 conftest$ac_exeext conftest.$ac_ext
16498 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16499 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16503 case "$ac_cv_asm_func_def" in
16504 ".def")
16505 cat >>confdefs.h <<\_ACEOF
16506 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16507 _ACEOF
16509 ".type @function")
16510 cat >>confdefs.h <<\_ACEOF
16511 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16512 _ACEOF
16514 ".type 2")
16515 cat >>confdefs.h <<\_ACEOF
16516 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16517 _ACEOF
16520 cat >>confdefs.h <<\_ACEOF
16521 #define __ASM_FUNC(name) ""
16522 _ACEOF
16524 esac
16527 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16528 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16529 if test "${ac_cv_c_extern_prefix+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 else
16532 cat >conftest.$ac_ext <<_ACEOF
16533 /* confdefs.h. */
16534 _ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 extern int ac_test;
16540 main ()
16542 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16544 return 0;
16546 _ACEOF
16547 rm -f conftest.$ac_objext conftest$ac_exeext
16548 if { (ac_try="$ac_link"
16549 case "(($ac_try" in
16550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16551 *) ac_try_echo=$ac_try;;
16552 esac
16553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16554 (eval "$ac_link") 2>conftest.er1
16555 ac_status=$?
16556 grep -v '^ *+' conftest.er1 >conftest.err
16557 rm -f conftest.er1
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } && {
16561 test -z "$ac_c_werror_flag" ||
16562 test ! -s conftest.err
16563 } && test -s conftest$ac_exeext &&
16564 $as_test_x conftest$ac_exeext; then
16565 ac_cv_c_extern_prefix="yes"
16566 else
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.$ac_ext >&5
16570 ac_cv_c_extern_prefix="no"
16573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16574 conftest$ac_exeext conftest.$ac_ext
16576 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16577 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16581 if test "$ac_cv_c_extern_prefix" = "yes"
16582 then
16583 cat >>confdefs.h <<\_ACEOF
16584 #define __ASM_NAME(name) "_" name
16585 _ACEOF
16587 else
16588 cat >>confdefs.h <<\_ACEOF
16589 #define __ASM_NAME(name) name
16590 _ACEOF
16595 LDPATH=""
16597 case $build_os in
16598 cygwin*|mingw32*)
16599 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16601 darwin*|macosx*)
16603 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16604 then
16605 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16609 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16611 esac
16613 case $host_os in
16614 mingw32*)
16615 CRTLIBS="-lmsvcrt"
16617 SOCKETLIBS="-lws2_32"
16620 esac
16622 MAIN_BINARY="wine-pthread"
16623 case $host_cpu in
16624 *i[3456789]86*)
16625 case $host_os in
16626 linux* | k*bsd*-gnu)
16627 MAIN_BINARY="wine-glibc"
16629 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16631 freebsd*)
16632 MAIN_BINARY="wine-freebsd"
16634 EXTRA_BINARIES="wine-pthread"
16636 esac
16638 esac
16710 for ac_func in \
16711 _pclose \
16712 _popen \
16713 _snprintf \
16714 _spawnvp \
16715 _strdup \
16716 _stricmp \
16717 _strnicmp \
16718 _strtoi64 \
16719 _strtoui64 \
16720 _vsnprintf \
16721 asctime_r \
16722 chsize \
16723 clone \
16724 dlopen \
16725 epoll_create \
16726 ffs \
16727 finite \
16728 fork \
16729 fpclass \
16730 fstatfs \
16731 fstatvfs \
16732 ftruncate \
16733 futimes \
16734 futimesat \
16735 getdirentries \
16736 getopt_long \
16737 getpagesize \
16738 getpwuid \
16739 gettid \
16740 gettimeofday \
16741 getuid \
16742 inet_pton \
16743 kqueue \
16744 lstat \
16745 memmove \
16746 mmap \
16747 pclose \
16748 poll \
16749 popen \
16750 prctl \
16751 pread \
16752 pwrite \
16753 readlink \
16754 rfork \
16755 sched_yield \
16756 select \
16757 setproctitle \
16758 setrlimit \
16759 settimeofday \
16760 sigaltstack \
16761 sigprocmask \
16762 snprintf \
16763 spawnvp \
16764 statfs \
16765 statvfs \
16766 strcasecmp \
16767 strdup \
16768 strerror \
16769 strncasecmp \
16770 strtold \
16771 strtoll \
16772 strtoull \
16773 tcgetattr \
16774 thr_kill2 \
16775 timegm \
16776 usleep \
16777 vsnprintf \
16778 wait4 \
16779 waitpid \
16782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16783 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16785 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 else
16788 cat >conftest.$ac_ext <<_ACEOF
16789 /* confdefs.h. */
16790 _ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16796 #define $ac_func innocuous_$ac_func
16798 /* System header to define __stub macros and hopefully few prototypes,
16799 which can conflict with char $ac_func (); below.
16800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16801 <limits.h> exists even on freestanding compilers. */
16803 #ifdef __STDC__
16804 # include <limits.h>
16805 #else
16806 # include <assert.h>
16807 #endif
16809 #undef $ac_func
16811 /* Override any GCC internal prototype to avoid an error.
16812 Use char because int might match the return type of a GCC
16813 builtin and then its argument prototype would still apply. */
16814 #ifdef __cplusplus
16815 extern "C"
16816 #endif
16817 char $ac_func ();
16818 /* The GNU C library defines this for functions which it implements
16819 to always fail with ENOSYS. Some functions are actually named
16820 something starting with __ and the normal name is an alias. */
16821 #if defined __stub_$ac_func || defined __stub___$ac_func
16822 choke me
16823 #endif
16826 main ()
16828 return $ac_func ();
16830 return 0;
16832 _ACEOF
16833 rm -f conftest.$ac_objext conftest$ac_exeext
16834 if { (ac_try="$ac_link"
16835 case "(($ac_try" in
16836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16837 *) ac_try_echo=$ac_try;;
16838 esac
16839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16840 (eval "$ac_link") 2>conftest.er1
16841 ac_status=$?
16842 grep -v '^ *+' conftest.er1 >conftest.err
16843 rm -f conftest.er1
16844 cat conftest.err >&5
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); } && {
16847 test -z "$ac_c_werror_flag" ||
16848 test ! -s conftest.err
16849 } && test -s conftest$ac_exeext &&
16850 $as_test_x conftest$ac_exeext; then
16851 eval "$as_ac_var=yes"
16852 else
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16856 eval "$as_ac_var=no"
16859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16860 conftest$ac_exeext conftest.$ac_ext
16862 ac_res=`eval echo '${'$as_ac_var'}'`
16863 { echo "$as_me:$LINENO: result: $ac_res" >&5
16864 echo "${ECHO_T}$ac_res" >&6; }
16865 if test `eval echo '${'$as_ac_var'}'` = yes; then
16866 cat >>confdefs.h <<_ACEOF
16867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16868 _ACEOF
16871 done
16874 if test "$ac_cv_func_dlopen" = no
16875 then
16876 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16877 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16878 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 else
16881 ac_check_lib_save_LIBS=$LIBS
16882 LIBS="-ldl $LIBS"
16883 cat >conftest.$ac_ext <<_ACEOF
16884 /* confdefs.h. */
16885 _ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16890 /* Override any GCC internal prototype to avoid an error.
16891 Use char because int might match the return type of a GCC
16892 builtin and then its argument prototype would still apply. */
16893 #ifdef __cplusplus
16894 extern "C"
16895 #endif
16896 char dlopen ();
16898 main ()
16900 return dlopen ();
16902 return 0;
16904 _ACEOF
16905 rm -f conftest.$ac_objext conftest$ac_exeext
16906 if { (ac_try="$ac_link"
16907 case "(($ac_try" in
16908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16909 *) ac_try_echo=$ac_try;;
16910 esac
16911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16912 (eval "$ac_link") 2>conftest.er1
16913 ac_status=$?
16914 grep -v '^ *+' conftest.er1 >conftest.err
16915 rm -f conftest.er1
16916 cat conftest.err >&5
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); } && {
16919 test -z "$ac_c_werror_flag" ||
16920 test ! -s conftest.err
16921 } && test -s conftest$ac_exeext &&
16922 $as_test_x conftest$ac_exeext; then
16923 ac_cv_lib_dl_dlopen=yes
16924 else
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.$ac_ext >&5
16928 ac_cv_lib_dl_dlopen=no
16931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16932 conftest$ac_exeext conftest.$ac_ext
16933 LIBS=$ac_check_lib_save_LIBS
16935 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16936 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16937 if test $ac_cv_lib_dl_dlopen = yes; then
16938 cat >>confdefs.h <<\_ACEOF
16939 #define HAVE_DLOPEN 1
16940 _ACEOF
16941 LIBDL="-ldl"
16946 ac_wine_check_funcs_save_LIBS="$LIBS"
16947 LIBS="$LIBS $LIBDL"
16949 for ac_func in dladdr
16951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16952 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16954 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16956 else
16957 cat >conftest.$ac_ext <<_ACEOF
16958 /* confdefs.h. */
16959 _ACEOF
16960 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16965 #define $ac_func innocuous_$ac_func
16967 /* System header to define __stub macros and hopefully few prototypes,
16968 which can conflict with char $ac_func (); below.
16969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16970 <limits.h> exists even on freestanding compilers. */
16972 #ifdef __STDC__
16973 # include <limits.h>
16974 #else
16975 # include <assert.h>
16976 #endif
16978 #undef $ac_func
16980 /* Override any GCC internal prototype to avoid an error.
16981 Use char because int might match the return type of a GCC
16982 builtin and then its argument prototype would still apply. */
16983 #ifdef __cplusplus
16984 extern "C"
16985 #endif
16986 char $ac_func ();
16987 /* The GNU C library defines this for functions which it implements
16988 to always fail with ENOSYS. Some functions are actually named
16989 something starting with __ and the normal name is an alias. */
16990 #if defined __stub_$ac_func || defined __stub___$ac_func
16991 choke me
16992 #endif
16995 main ()
16997 return $ac_func ();
16999 return 0;
17001 _ACEOF
17002 rm -f conftest.$ac_objext conftest$ac_exeext
17003 if { (ac_try="$ac_link"
17004 case "(($ac_try" in
17005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17006 *) ac_try_echo=$ac_try;;
17007 esac
17008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17009 (eval "$ac_link") 2>conftest.er1
17010 ac_status=$?
17011 grep -v '^ *+' conftest.er1 >conftest.err
17012 rm -f conftest.er1
17013 cat conftest.err >&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } && {
17016 test -z "$ac_c_werror_flag" ||
17017 test ! -s conftest.err
17018 } && test -s conftest$ac_exeext &&
17019 $as_test_x conftest$ac_exeext; then
17020 eval "$as_ac_var=yes"
17021 else
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17025 eval "$as_ac_var=no"
17028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17029 conftest$ac_exeext conftest.$ac_ext
17031 ac_res=`eval echo '${'$as_ac_var'}'`
17032 { echo "$as_me:$LINENO: result: $ac_res" >&5
17033 echo "${ECHO_T}$ac_res" >&6; }
17034 if test `eval echo '${'$as_ac_var'}'` = yes; then
17035 cat >>confdefs.h <<_ACEOF
17036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17037 _ACEOF
17040 done
17042 LIBS="$ac_wine_check_funcs_save_LIBS"
17044 if test "$ac_cv_func_poll" = no
17045 then
17046 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17047 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17048 if test "${ac_cv_lib_poll_poll+set}" = set; then
17049 echo $ECHO_N "(cached) $ECHO_C" >&6
17050 else
17051 ac_check_lib_save_LIBS=$LIBS
17052 LIBS="-lpoll $LIBS"
17053 cat >conftest.$ac_ext <<_ACEOF
17054 /* confdefs.h. */
17055 _ACEOF
17056 cat confdefs.h >>conftest.$ac_ext
17057 cat >>conftest.$ac_ext <<_ACEOF
17058 /* end confdefs.h. */
17060 /* Override any GCC internal prototype to avoid an error.
17061 Use char because int might match the return type of a GCC
17062 builtin and then its argument prototype would still apply. */
17063 #ifdef __cplusplus
17064 extern "C"
17065 #endif
17066 char poll ();
17068 main ()
17070 return poll ();
17072 return 0;
17074 _ACEOF
17075 rm -f conftest.$ac_objext conftest$ac_exeext
17076 if { (ac_try="$ac_link"
17077 case "(($ac_try" in
17078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17079 *) ac_try_echo=$ac_try;;
17080 esac
17081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17082 (eval "$ac_link") 2>conftest.er1
17083 ac_status=$?
17084 grep -v '^ *+' conftest.er1 >conftest.err
17085 rm -f conftest.er1
17086 cat conftest.err >&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); } && {
17089 test -z "$ac_c_werror_flag" ||
17090 test ! -s conftest.err
17091 } && test -s conftest$ac_exeext &&
17092 $as_test_x conftest$ac_exeext; then
17093 ac_cv_lib_poll_poll=yes
17094 else
17095 echo "$as_me: failed program was:" >&5
17096 sed 's/^/| /' conftest.$ac_ext >&5
17098 ac_cv_lib_poll_poll=no
17101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17102 conftest$ac_exeext conftest.$ac_ext
17103 LIBS=$ac_check_lib_save_LIBS
17105 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17106 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17107 if test $ac_cv_lib_poll_poll = yes; then
17108 cat >>confdefs.h <<\_ACEOF
17109 #define HAVE_POLL 1
17110 _ACEOF
17111 LIBPOLL="-lpoll"
17117 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17118 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17119 if test "${ac_cv_search_gethostbyname+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122 ac_func_search_save_LIBS=$LIBS
17123 cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h. */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17130 /* Override any GCC internal prototype to avoid an error.
17131 Use char because int might match the return type of a GCC
17132 builtin and then its argument prototype would still apply. */
17133 #ifdef __cplusplus
17134 extern "C"
17135 #endif
17136 char gethostbyname ();
17138 main ()
17140 return gethostbyname ();
17142 return 0;
17144 _ACEOF
17145 for ac_lib in '' nsl; do
17146 if test -z "$ac_lib"; then
17147 ac_res="none required"
17148 else
17149 ac_res=-l$ac_lib
17150 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17152 rm -f conftest.$ac_objext conftest$ac_exeext
17153 if { (ac_try="$ac_link"
17154 case "(($ac_try" in
17155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17156 *) ac_try_echo=$ac_try;;
17157 esac
17158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17159 (eval "$ac_link") 2>conftest.er1
17160 ac_status=$?
17161 grep -v '^ *+' conftest.er1 >conftest.err
17162 rm -f conftest.er1
17163 cat conftest.err >&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } && {
17166 test -z "$ac_c_werror_flag" ||
17167 test ! -s conftest.err
17168 } && test -s conftest$ac_exeext &&
17169 $as_test_x conftest$ac_exeext; then
17170 ac_cv_search_gethostbyname=$ac_res
17171 else
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17179 conftest$ac_exeext
17180 if test "${ac_cv_search_gethostbyname+set}" = set; then
17181 break
17183 done
17184 if test "${ac_cv_search_gethostbyname+set}" = set; then
17186 else
17187 ac_cv_search_gethostbyname=no
17189 rm conftest.$ac_ext
17190 LIBS=$ac_func_search_save_LIBS
17192 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17193 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17194 ac_res=$ac_cv_search_gethostbyname
17195 if test "$ac_res" != no; then
17196 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17201 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17202 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17203 if test "${ac_cv_search_connect+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 ac_func_search_save_LIBS=$LIBS
17207 cat >conftest.$ac_ext <<_ACEOF
17208 /* confdefs.h. */
17209 _ACEOF
17210 cat confdefs.h >>conftest.$ac_ext
17211 cat >>conftest.$ac_ext <<_ACEOF
17212 /* end confdefs.h. */
17214 /* Override any GCC internal prototype to avoid an error.
17215 Use char because int might match the return type of a GCC
17216 builtin and then its argument prototype would still apply. */
17217 #ifdef __cplusplus
17218 extern "C"
17219 #endif
17220 char connect ();
17222 main ()
17224 return connect ();
17226 return 0;
17228 _ACEOF
17229 for ac_lib in '' socket; do
17230 if test -z "$ac_lib"; then
17231 ac_res="none required"
17232 else
17233 ac_res=-l$ac_lib
17234 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17236 rm -f conftest.$ac_objext conftest$ac_exeext
17237 if { (ac_try="$ac_link"
17238 case "(($ac_try" in
17239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17240 *) ac_try_echo=$ac_try;;
17241 esac
17242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17243 (eval "$ac_link") 2>conftest.er1
17244 ac_status=$?
17245 grep -v '^ *+' conftest.er1 >conftest.err
17246 rm -f conftest.er1
17247 cat conftest.err >&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } && {
17250 test -z "$ac_c_werror_flag" ||
17251 test ! -s conftest.err
17252 } && test -s conftest$ac_exeext &&
17253 $as_test_x conftest$ac_exeext; then
17254 ac_cv_search_connect=$ac_res
17255 else
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17263 conftest$ac_exeext
17264 if test "${ac_cv_search_connect+set}" = set; then
17265 break
17267 done
17268 if test "${ac_cv_search_connect+set}" = set; then
17270 else
17271 ac_cv_search_connect=no
17273 rm conftest.$ac_ext
17274 LIBS=$ac_func_search_save_LIBS
17276 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17277 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17278 ac_res=$ac_cv_search_connect
17279 if test "$ac_res" != no; then
17280 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17285 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17286 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17287 if test "${ac_cv_search_inet_aton+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290 ac_func_search_save_LIBS=$LIBS
17291 cat >conftest.$ac_ext <<_ACEOF
17292 /* confdefs.h. */
17293 _ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17298 /* Override any GCC internal prototype to avoid an error.
17299 Use char because int might match the return type of a GCC
17300 builtin and then its argument prototype would still apply. */
17301 #ifdef __cplusplus
17302 extern "C"
17303 #endif
17304 char inet_aton ();
17306 main ()
17308 return inet_aton ();
17310 return 0;
17312 _ACEOF
17313 for ac_lib in '' resolv; do
17314 if test -z "$ac_lib"; then
17315 ac_res="none required"
17316 else
17317 ac_res=-l$ac_lib
17318 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17320 rm -f conftest.$ac_objext conftest$ac_exeext
17321 if { (ac_try="$ac_link"
17322 case "(($ac_try" in
17323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17324 *) ac_try_echo=$ac_try;;
17325 esac
17326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17327 (eval "$ac_link") 2>conftest.er1
17328 ac_status=$?
17329 grep -v '^ *+' conftest.er1 >conftest.err
17330 rm -f conftest.er1
17331 cat conftest.err >&5
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); } && {
17334 test -z "$ac_c_werror_flag" ||
17335 test ! -s conftest.err
17336 } && test -s conftest$ac_exeext &&
17337 $as_test_x conftest$ac_exeext; then
17338 ac_cv_search_inet_aton=$ac_res
17339 else
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.$ac_ext >&5
17346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17347 conftest$ac_exeext
17348 if test "${ac_cv_search_inet_aton+set}" = set; then
17349 break
17351 done
17352 if test "${ac_cv_search_inet_aton+set}" = set; then
17354 else
17355 ac_cv_search_inet_aton=no
17357 rm conftest.$ac_ext
17358 LIBS=$ac_func_search_save_LIBS
17360 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17361 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17362 ac_res=$ac_cv_search_inet_aton
17363 if test "$ac_res" != no; then
17364 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17377 for ac_func in \
17378 getaddrinfo \
17379 getnameinfo \
17380 getnetbyname \
17381 getprotobyname \
17382 getprotobynumber \
17383 getservbyport \
17384 inet_network \
17385 sendmsg \
17388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17389 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17392 echo $ECHO_N "(cached) $ECHO_C" >&6
17393 else
17394 cat >conftest.$ac_ext <<_ACEOF
17395 /* confdefs.h. */
17396 _ACEOF
17397 cat confdefs.h >>conftest.$ac_ext
17398 cat >>conftest.$ac_ext <<_ACEOF
17399 /* end confdefs.h. */
17400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17402 #define $ac_func innocuous_$ac_func
17404 /* System header to define __stub macros and hopefully few prototypes,
17405 which can conflict with char $ac_func (); below.
17406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17407 <limits.h> exists even on freestanding compilers. */
17409 #ifdef __STDC__
17410 # include <limits.h>
17411 #else
17412 # include <assert.h>
17413 #endif
17415 #undef $ac_func
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17420 #ifdef __cplusplus
17421 extern "C"
17422 #endif
17423 char $ac_func ();
17424 /* The GNU C library defines this for functions which it implements
17425 to always fail with ENOSYS. Some functions are actually named
17426 something starting with __ and the normal name is an alias. */
17427 #if defined __stub_$ac_func || defined __stub___$ac_func
17428 choke me
17429 #endif
17432 main ()
17434 return $ac_func ();
17436 return 0;
17438 _ACEOF
17439 rm -f conftest.$ac_objext conftest$ac_exeext
17440 if { (ac_try="$ac_link"
17441 case "(($ac_try" in
17442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17443 *) ac_try_echo=$ac_try;;
17444 esac
17445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17446 (eval "$ac_link") 2>conftest.er1
17447 ac_status=$?
17448 grep -v '^ *+' conftest.er1 >conftest.err
17449 rm -f conftest.er1
17450 cat conftest.err >&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } && {
17453 test -z "$ac_c_werror_flag" ||
17454 test ! -s conftest.err
17455 } && test -s conftest$ac_exeext &&
17456 $as_test_x conftest$ac_exeext; then
17457 eval "$as_ac_var=yes"
17458 else
17459 echo "$as_me: failed program was:" >&5
17460 sed 's/^/| /' conftest.$ac_ext >&5
17462 eval "$as_ac_var=no"
17465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17466 conftest$ac_exeext conftest.$ac_ext
17468 ac_res=`eval echo '${'$as_ac_var'}'`
17469 { echo "$as_me:$LINENO: result: $ac_res" >&5
17470 echo "${ECHO_T}$ac_res" >&6; }
17471 if test `eval echo '${'$as_ac_var'}'` = yes; then
17472 cat >>confdefs.h <<_ACEOF
17473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17474 _ACEOF
17477 done
17481 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17482 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17483 if test "${ac_cv_c_const+set}" = set; then
17484 echo $ECHO_N "(cached) $ECHO_C" >&6
17485 else
17486 cat >conftest.$ac_ext <<_ACEOF
17487 /* confdefs.h. */
17488 _ACEOF
17489 cat confdefs.h >>conftest.$ac_ext
17490 cat >>conftest.$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17494 main ()
17496 /* FIXME: Include the comments suggested by Paul. */
17497 #ifndef __cplusplus
17498 /* Ultrix mips cc rejects this. */
17499 typedef int charset[2];
17500 const charset cs;
17501 /* SunOS 4.1.1 cc rejects this. */
17502 char const *const *pcpcc;
17503 char **ppc;
17504 /* NEC SVR4.0.2 mips cc rejects this. */
17505 struct point {int x, y;};
17506 static struct point const zero = {0,0};
17507 /* AIX XL C 1.02.0.0 rejects this.
17508 It does not let you subtract one const X* pointer from another in
17509 an arm of an if-expression whose if-part is not a constant
17510 expression */
17511 const char *g = "string";
17512 pcpcc = &g + (g ? g-g : 0);
17513 /* HPUX 7.0 cc rejects these. */
17514 ++pcpcc;
17515 ppc = (char**) pcpcc;
17516 pcpcc = (char const *const *) ppc;
17517 { /* SCO 3.2v4 cc rejects this. */
17518 char *t;
17519 char const *s = 0 ? (char *) 0 : (char const *) 0;
17521 *t++ = 0;
17522 if (s) return 0;
17524 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17525 int x[] = {25, 17};
17526 const int *foo = &x[0];
17527 ++foo;
17529 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17530 typedef const int *iptr;
17531 iptr p = 0;
17532 ++p;
17534 { /* AIX XL C 1.02.0.0 rejects this saying
17535 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17536 struct s { int j; const int *ap[3]; };
17537 struct s *b; b->j = 5;
17539 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17540 const int foo = 10;
17541 if (!foo) return 0;
17543 return !cs[0] && !zero.x;
17544 #endif
17547 return 0;
17549 _ACEOF
17550 rm -f conftest.$ac_objext
17551 if { (ac_try="$ac_compile"
17552 case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17554 *) ac_try_echo=$ac_try;;
17555 esac
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_compile") 2>conftest.er1
17558 ac_status=$?
17559 grep -v '^ *+' conftest.er1 >conftest.err
17560 rm -f conftest.er1
17561 cat conftest.err >&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } && {
17564 test -z "$ac_c_werror_flag" ||
17565 test ! -s conftest.err
17566 } && test -s conftest.$ac_objext; then
17567 ac_cv_c_const=yes
17568 else
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.$ac_ext >&5
17572 ac_cv_c_const=no
17575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17577 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17578 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17579 if test $ac_cv_c_const = no; then
17581 cat >>confdefs.h <<\_ACEOF
17582 #define const
17583 _ACEOF
17587 { echo "$as_me:$LINENO: checking for inline" >&5
17588 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17589 if test "${ac_cv_c_inline+set}" = set; then
17590 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 else
17592 ac_cv_c_inline=no
17593 for ac_kw in inline __inline__ __inline; do
17594 cat >conftest.$ac_ext <<_ACEOF
17595 /* confdefs.h. */
17596 _ACEOF
17597 cat confdefs.h >>conftest.$ac_ext
17598 cat >>conftest.$ac_ext <<_ACEOF
17599 /* end confdefs.h. */
17600 #ifndef __cplusplus
17601 typedef int foo_t;
17602 static $ac_kw foo_t static_foo () {return 0; }
17603 $ac_kw foo_t foo () {return 0; }
17604 #endif
17606 _ACEOF
17607 rm -f conftest.$ac_objext
17608 if { (ac_try="$ac_compile"
17609 case "(($ac_try" in
17610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17611 *) ac_try_echo=$ac_try;;
17612 esac
17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17614 (eval "$ac_compile") 2>conftest.er1
17615 ac_status=$?
17616 grep -v '^ *+' conftest.er1 >conftest.err
17617 rm -f conftest.er1
17618 cat conftest.err >&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } && {
17621 test -z "$ac_c_werror_flag" ||
17622 test ! -s conftest.err
17623 } && test -s conftest.$ac_objext; then
17624 ac_cv_c_inline=$ac_kw
17625 else
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17633 test "$ac_cv_c_inline" != no && break
17634 done
17637 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17638 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17641 case $ac_cv_c_inline in
17642 inline | yes) ;;
17644 case $ac_cv_c_inline in
17645 no) ac_val=;;
17646 *) ac_val=$ac_cv_c_inline;;
17647 esac
17648 cat >>confdefs.h <<_ACEOF
17649 #ifndef __cplusplus
17650 #define inline $ac_val
17651 #endif
17652 _ACEOF
17654 esac
17656 { echo "$as_me:$LINENO: checking for mode_t" >&5
17657 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17658 if test "${ac_cv_type_mode_t+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 $ac_includes_default
17668 typedef mode_t ac__type_new_;
17670 main ()
17672 if ((ac__type_new_ *) 0)
17673 return 0;
17674 if (sizeof (ac__type_new_))
17675 return 0;
17677 return 0;
17679 _ACEOF
17680 rm -f conftest.$ac_objext
17681 if { (ac_try="$ac_compile"
17682 case "(($ac_try" in
17683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17684 *) ac_try_echo=$ac_try;;
17685 esac
17686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17687 (eval "$ac_compile") 2>conftest.er1
17688 ac_status=$?
17689 grep -v '^ *+' conftest.er1 >conftest.err
17690 rm -f conftest.er1
17691 cat conftest.err >&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); } && {
17694 test -z "$ac_c_werror_flag" ||
17695 test ! -s conftest.err
17696 } && test -s conftest.$ac_objext; then
17697 ac_cv_type_mode_t=yes
17698 else
17699 echo "$as_me: failed program was:" >&5
17700 sed 's/^/| /' conftest.$ac_ext >&5
17702 ac_cv_type_mode_t=no
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17708 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17709 if test $ac_cv_type_mode_t = yes; then
17711 cat >>confdefs.h <<_ACEOF
17712 #define HAVE_MODE_T 1
17713 _ACEOF
17717 { echo "$as_me:$LINENO: checking for off_t" >&5
17718 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17719 if test "${ac_cv_type_off_t+set}" = set; then
17720 echo $ECHO_N "(cached) $ECHO_C" >&6
17721 else
17722 cat >conftest.$ac_ext <<_ACEOF
17723 /* confdefs.h. */
17724 _ACEOF
17725 cat confdefs.h >>conftest.$ac_ext
17726 cat >>conftest.$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17728 $ac_includes_default
17729 typedef off_t ac__type_new_;
17731 main ()
17733 if ((ac__type_new_ *) 0)
17734 return 0;
17735 if (sizeof (ac__type_new_))
17736 return 0;
17738 return 0;
17740 _ACEOF
17741 rm -f conftest.$ac_objext
17742 if { (ac_try="$ac_compile"
17743 case "(($ac_try" in
17744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17745 *) ac_try_echo=$ac_try;;
17746 esac
17747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17748 (eval "$ac_compile") 2>conftest.er1
17749 ac_status=$?
17750 grep -v '^ *+' conftest.er1 >conftest.err
17751 rm -f conftest.er1
17752 cat conftest.err >&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } && {
17755 test -z "$ac_c_werror_flag" ||
17756 test ! -s conftest.err
17757 } && test -s conftest.$ac_objext; then
17758 ac_cv_type_off_t=yes
17759 else
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17763 ac_cv_type_off_t=no
17766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17768 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17769 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17770 if test $ac_cv_type_off_t = yes; then
17772 cat >>confdefs.h <<_ACEOF
17773 #define HAVE_OFF_T 1
17774 _ACEOF
17778 { echo "$as_me:$LINENO: checking for pid_t" >&5
17779 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17780 if test "${ac_cv_type_pid_t+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17782 else
17783 cat >conftest.$ac_ext <<_ACEOF
17784 /* confdefs.h. */
17785 _ACEOF
17786 cat confdefs.h >>conftest.$ac_ext
17787 cat >>conftest.$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17789 $ac_includes_default
17790 typedef pid_t ac__type_new_;
17792 main ()
17794 if ((ac__type_new_ *) 0)
17795 return 0;
17796 if (sizeof (ac__type_new_))
17797 return 0;
17799 return 0;
17801 _ACEOF
17802 rm -f conftest.$ac_objext
17803 if { (ac_try="$ac_compile"
17804 case "(($ac_try" in
17805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17806 *) ac_try_echo=$ac_try;;
17807 esac
17808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17809 (eval "$ac_compile") 2>conftest.er1
17810 ac_status=$?
17811 grep -v '^ *+' conftest.er1 >conftest.err
17812 rm -f conftest.er1
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } && {
17816 test -z "$ac_c_werror_flag" ||
17817 test ! -s conftest.err
17818 } && test -s conftest.$ac_objext; then
17819 ac_cv_type_pid_t=yes
17820 else
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17824 ac_cv_type_pid_t=no
17827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17829 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17830 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17831 if test $ac_cv_type_pid_t = yes; then
17833 cat >>confdefs.h <<_ACEOF
17834 #define HAVE_PID_T 1
17835 _ACEOF
17839 { echo "$as_me:$LINENO: checking for size_t" >&5
17840 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17841 if test "${ac_cv_type_size_t+set}" = set; then
17842 echo $ECHO_N "(cached) $ECHO_C" >&6
17843 else
17844 cat >conftest.$ac_ext <<_ACEOF
17845 /* confdefs.h. */
17846 _ACEOF
17847 cat confdefs.h >>conftest.$ac_ext
17848 cat >>conftest.$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17850 $ac_includes_default
17851 typedef size_t ac__type_new_;
17853 main ()
17855 if ((ac__type_new_ *) 0)
17856 return 0;
17857 if (sizeof (ac__type_new_))
17858 return 0;
17860 return 0;
17862 _ACEOF
17863 rm -f conftest.$ac_objext
17864 if { (ac_try="$ac_compile"
17865 case "(($ac_try" in
17866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17867 *) ac_try_echo=$ac_try;;
17868 esac
17869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17870 (eval "$ac_compile") 2>conftest.er1
17871 ac_status=$?
17872 grep -v '^ *+' conftest.er1 >conftest.err
17873 rm -f conftest.er1
17874 cat conftest.err >&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); } && {
17877 test -z "$ac_c_werror_flag" ||
17878 test ! -s conftest.err
17879 } && test -s conftest.$ac_objext; then
17880 ac_cv_type_size_t=yes
17881 else
17882 echo "$as_me: failed program was:" >&5
17883 sed 's/^/| /' conftest.$ac_ext >&5
17885 ac_cv_type_size_t=no
17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17891 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17892 if test $ac_cv_type_size_t = yes; then
17894 cat >>confdefs.h <<_ACEOF
17895 #define HAVE_SIZE_T 1
17896 _ACEOF
17900 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17901 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17902 if test "${ac_cv_type_ssize_t+set}" = set; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 else
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17912 typedef ssize_t ac__type_new_;
17914 main ()
17916 if ((ac__type_new_ *) 0)
17917 return 0;
17918 if (sizeof (ac__type_new_))
17919 return 0;
17921 return 0;
17923 _ACEOF
17924 rm -f conftest.$ac_objext
17925 if { (ac_try="$ac_compile"
17926 case "(($ac_try" in
17927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17928 *) ac_try_echo=$ac_try;;
17929 esac
17930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17931 (eval "$ac_compile") 2>conftest.er1
17932 ac_status=$?
17933 grep -v '^ *+' conftest.er1 >conftest.err
17934 rm -f conftest.er1
17935 cat conftest.err >&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } && {
17938 test -z "$ac_c_werror_flag" ||
17939 test ! -s conftest.err
17940 } && test -s conftest.$ac_objext; then
17941 ac_cv_type_ssize_t=yes
17942 else
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.$ac_ext >&5
17946 ac_cv_type_ssize_t=no
17949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17951 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17952 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17953 if test $ac_cv_type_ssize_t = yes; then
17955 cat >>confdefs.h <<_ACEOF
17956 #define HAVE_SSIZE_T 1
17957 _ACEOF
17961 { echo "$as_me:$LINENO: checking for long long" >&5
17962 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17963 if test "${ac_cv_type_long_long+set}" = set; then
17964 echo $ECHO_N "(cached) $ECHO_C" >&6
17965 else
17966 cat >conftest.$ac_ext <<_ACEOF
17967 /* confdefs.h. */
17968 _ACEOF
17969 cat confdefs.h >>conftest.$ac_ext
17970 cat >>conftest.$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17972 $ac_includes_default
17973 typedef long long ac__type_new_;
17975 main ()
17977 if ((ac__type_new_ *) 0)
17978 return 0;
17979 if (sizeof (ac__type_new_))
17980 return 0;
17982 return 0;
17984 _ACEOF
17985 rm -f conftest.$ac_objext
17986 if { (ac_try="$ac_compile"
17987 case "(($ac_try" in
17988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17989 *) ac_try_echo=$ac_try;;
17990 esac
17991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17992 (eval "$ac_compile") 2>conftest.er1
17993 ac_status=$?
17994 grep -v '^ *+' conftest.er1 >conftest.err
17995 rm -f conftest.er1
17996 cat conftest.err >&5
17997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17998 (exit $ac_status); } && {
17999 test -z "$ac_c_werror_flag" ||
18000 test ! -s conftest.err
18001 } && test -s conftest.$ac_objext; then
18002 ac_cv_type_long_long=yes
18003 else
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18007 ac_cv_type_long_long=no
18010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18012 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18013 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18014 if test $ac_cv_type_long_long = yes; then
18016 cat >>confdefs.h <<_ACEOF
18017 #define HAVE_LONG_LONG 1
18018 _ACEOF
18022 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18023 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18024 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18025 echo $ECHO_N "(cached) $ECHO_C" >&6
18026 else
18027 cat >conftest.$ac_ext <<_ACEOF
18028 /* confdefs.h. */
18029 _ACEOF
18030 cat confdefs.h >>conftest.$ac_ext
18031 cat >>conftest.$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 $ac_includes_default
18034 typedef fsblkcnt_t ac__type_new_;
18036 main ()
18038 if ((ac__type_new_ *) 0)
18039 return 0;
18040 if (sizeof (ac__type_new_))
18041 return 0;
18043 return 0;
18045 _ACEOF
18046 rm -f conftest.$ac_objext
18047 if { (ac_try="$ac_compile"
18048 case "(($ac_try" in
18049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18050 *) ac_try_echo=$ac_try;;
18051 esac
18052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18053 (eval "$ac_compile") 2>conftest.er1
18054 ac_status=$?
18055 grep -v '^ *+' conftest.er1 >conftest.err
18056 rm -f conftest.er1
18057 cat conftest.err >&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } && {
18060 test -z "$ac_c_werror_flag" ||
18061 test ! -s conftest.err
18062 } && test -s conftest.$ac_objext; then
18063 ac_cv_type_fsblkcnt_t=yes
18064 else
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.$ac_ext >&5
18068 ac_cv_type_fsblkcnt_t=no
18071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18073 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18074 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18075 if test $ac_cv_type_fsblkcnt_t = yes; then
18077 cat >>confdefs.h <<_ACEOF
18078 #define HAVE_FSBLKCNT_T 1
18079 _ACEOF
18083 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18084 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18085 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18086 echo $ECHO_N "(cached) $ECHO_C" >&6
18087 else
18088 cat >conftest.$ac_ext <<_ACEOF
18089 /* confdefs.h. */
18090 _ACEOF
18091 cat confdefs.h >>conftest.$ac_ext
18092 cat >>conftest.$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18094 $ac_includes_default
18095 typedef fsfilcnt_t ac__type_new_;
18097 main ()
18099 if ((ac__type_new_ *) 0)
18100 return 0;
18101 if (sizeof (ac__type_new_))
18102 return 0;
18104 return 0;
18106 _ACEOF
18107 rm -f conftest.$ac_objext
18108 if { (ac_try="$ac_compile"
18109 case "(($ac_try" in
18110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18111 *) ac_try_echo=$ac_try;;
18112 esac
18113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18114 (eval "$ac_compile") 2>conftest.er1
18115 ac_status=$?
18116 grep -v '^ *+' conftest.er1 >conftest.err
18117 rm -f conftest.er1
18118 cat conftest.err >&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); } && {
18121 test -z "$ac_c_werror_flag" ||
18122 test ! -s conftest.err
18123 } && test -s conftest.$ac_objext; then
18124 ac_cv_type_fsfilcnt_t=yes
18125 else
18126 echo "$as_me: failed program was:" >&5
18127 sed 's/^/| /' conftest.$ac_ext >&5
18129 ac_cv_type_fsfilcnt_t=no
18132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18135 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18136 if test $ac_cv_type_fsfilcnt_t = yes; then
18138 cat >>confdefs.h <<_ACEOF
18139 #define HAVE_FSFILCNT_T 1
18140 _ACEOF
18145 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18146 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18147 if test "${ac_cv_type_sigset_t+set}" = set; then
18148 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 else
18150 cat >conftest.$ac_ext <<_ACEOF
18151 /* confdefs.h. */
18152 _ACEOF
18153 cat confdefs.h >>conftest.$ac_ext
18154 cat >>conftest.$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 #include <signal.h>
18158 typedef sigset_t ac__type_new_;
18160 main ()
18162 if ((ac__type_new_ *) 0)
18163 return 0;
18164 if (sizeof (ac__type_new_))
18165 return 0;
18167 return 0;
18169 _ACEOF
18170 rm -f conftest.$ac_objext
18171 if { (ac_try="$ac_compile"
18172 case "(($ac_try" in
18173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18174 *) ac_try_echo=$ac_try;;
18175 esac
18176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18177 (eval "$ac_compile") 2>conftest.er1
18178 ac_status=$?
18179 grep -v '^ *+' conftest.er1 >conftest.err
18180 rm -f conftest.er1
18181 cat conftest.err >&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); } && {
18184 test -z "$ac_c_werror_flag" ||
18185 test ! -s conftest.err
18186 } && test -s conftest.$ac_objext; then
18187 ac_cv_type_sigset_t=yes
18188 else
18189 echo "$as_me: failed program was:" >&5
18190 sed 's/^/| /' conftest.$ac_ext >&5
18192 ac_cv_type_sigset_t=no
18195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18197 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18198 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18199 if test $ac_cv_type_sigset_t = yes; then
18201 cat >>confdefs.h <<_ACEOF
18202 #define HAVE_SIGSET_T 1
18203 _ACEOF
18208 { echo "$as_me:$LINENO: checking for request_sense" >&5
18209 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18210 if test "${ac_cv_type_request_sense+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18212 else
18213 cat >conftest.$ac_ext <<_ACEOF
18214 /* confdefs.h. */
18215 _ACEOF
18216 cat confdefs.h >>conftest.$ac_ext
18217 cat >>conftest.$ac_ext <<_ACEOF
18218 /* end confdefs.h. */
18219 #include <linux/cdrom.h>
18221 typedef request_sense ac__type_new_;
18223 main ()
18225 if ((ac__type_new_ *) 0)
18226 return 0;
18227 if (sizeof (ac__type_new_))
18228 return 0;
18230 return 0;
18232 _ACEOF
18233 rm -f conftest.$ac_objext
18234 if { (ac_try="$ac_compile"
18235 case "(($ac_try" in
18236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18237 *) ac_try_echo=$ac_try;;
18238 esac
18239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240 (eval "$ac_compile") 2>conftest.er1
18241 ac_status=$?
18242 grep -v '^ *+' conftest.er1 >conftest.err
18243 rm -f conftest.er1
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } && {
18247 test -z "$ac_c_werror_flag" ||
18248 test ! -s conftest.err
18249 } && test -s conftest.$ac_objext; then
18250 ac_cv_type_request_sense=yes
18251 else
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18255 ac_cv_type_request_sense=no
18258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18260 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18261 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18262 if test $ac_cv_type_request_sense = yes; then
18264 cat >>confdefs.h <<_ACEOF
18265 #define HAVE_REQUEST_SENSE 1
18266 _ACEOF
18272 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18273 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18274 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18275 echo $ECHO_N "(cached) $ECHO_C" >&6
18276 else
18277 cat >conftest.$ac_ext <<_ACEOF
18278 /* confdefs.h. */
18279 _ACEOF
18280 cat confdefs.h >>conftest.$ac_ext
18281 cat >>conftest.$ac_ext <<_ACEOF
18282 /* end confdefs.h. */
18283 #ifdef HAVE_LINUX_INPUT_H
18284 #include <linux/input.h>
18285 #endif
18288 main ()
18290 static struct ff_effect ac_aggr;
18291 if (ac_aggr.direction)
18292 return 0;
18294 return 0;
18296 _ACEOF
18297 rm -f conftest.$ac_objext
18298 if { (ac_try="$ac_compile"
18299 case "(($ac_try" in
18300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18301 *) ac_try_echo=$ac_try;;
18302 esac
18303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18304 (eval "$ac_compile") 2>conftest.er1
18305 ac_status=$?
18306 grep -v '^ *+' conftest.er1 >conftest.err
18307 rm -f conftest.er1
18308 cat conftest.err >&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); } && {
18311 test -z "$ac_c_werror_flag" ||
18312 test ! -s conftest.err
18313 } && test -s conftest.$ac_objext; then
18314 ac_cv_member_struct_ff_effect_direction=yes
18315 else
18316 echo "$as_me: failed program was:" >&5
18317 sed 's/^/| /' conftest.$ac_ext >&5
18319 cat >conftest.$ac_ext <<_ACEOF
18320 /* confdefs.h. */
18321 _ACEOF
18322 cat confdefs.h >>conftest.$ac_ext
18323 cat >>conftest.$ac_ext <<_ACEOF
18324 /* end confdefs.h. */
18325 #ifdef HAVE_LINUX_INPUT_H
18326 #include <linux/input.h>
18327 #endif
18330 main ()
18332 static struct ff_effect ac_aggr;
18333 if (sizeof ac_aggr.direction)
18334 return 0;
18336 return 0;
18338 _ACEOF
18339 rm -f conftest.$ac_objext
18340 if { (ac_try="$ac_compile"
18341 case "(($ac_try" in
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18343 *) ac_try_echo=$ac_try;;
18344 esac
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346 (eval "$ac_compile") 2>conftest.er1
18347 ac_status=$?
18348 grep -v '^ *+' conftest.er1 >conftest.err
18349 rm -f conftest.er1
18350 cat conftest.err >&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } && {
18353 test -z "$ac_c_werror_flag" ||
18354 test ! -s conftest.err
18355 } && test -s conftest.$ac_objext; then
18356 ac_cv_member_struct_ff_effect_direction=yes
18357 else
18358 echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.$ac_ext >&5
18361 ac_cv_member_struct_ff_effect_direction=no
18364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18369 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18370 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18371 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18373 cat >>confdefs.h <<_ACEOF
18374 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18375 _ACEOF
18381 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18382 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18383 if test "${wine_cv_have_sigaddset+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 else
18386 cat >conftest.$ac_ext <<_ACEOF
18387 /* confdefs.h. */
18388 _ACEOF
18389 cat confdefs.h >>conftest.$ac_ext
18390 cat >>conftest.$ac_ext <<_ACEOF
18391 /* end confdefs.h. */
18392 #include <signal.h>
18394 main ()
18396 sigset_t set; sigaddset(&set,SIGTERM);
18398 return 0;
18400 _ACEOF
18401 rm -f conftest.$ac_objext conftest$ac_exeext
18402 if { (ac_try="$ac_link"
18403 case "(($ac_try" in
18404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;;
18406 esac
18407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18408 (eval "$ac_link") 2>conftest.er1
18409 ac_status=$?
18410 grep -v '^ *+' conftest.er1 >conftest.err
18411 rm -f conftest.er1
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } && {
18415 test -z "$ac_c_werror_flag" ||
18416 test ! -s conftest.err
18417 } && test -s conftest$ac_exeext &&
18418 $as_test_x conftest$ac_exeext; then
18419 wine_cv_have_sigaddset=yes
18420 else
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18424 wine_cv_have_sigaddset=no
18427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18428 conftest$ac_exeext conftest.$ac_ext
18430 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18431 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18432 if test "$wine_cv_have_sigaddset" = "yes"
18433 then
18435 cat >>confdefs.h <<\_ACEOF
18436 #define HAVE_SIGADDSET 1
18437 _ACEOF
18442 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18443 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18444 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18446 else
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <netdb.h>
18455 main ()
18458 char *name=0;
18459 struct hostent he;
18460 struct hostent *result;
18461 char *buf=0;
18462 int bufsize=0;
18463 int res,errnr;
18464 char *addr=0;
18465 int addrlen=0;
18466 int addrtype=0;
18467 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18468 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18471 return 0;
18473 _ACEOF
18474 rm -f conftest.$ac_objext conftest$ac_exeext
18475 if { (ac_try="$ac_link"
18476 case "(($ac_try" in
18477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18478 *) ac_try_echo=$ac_try;;
18479 esac
18480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_link") 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } && {
18488 test -z "$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18490 } && test -s conftest$ac_exeext &&
18491 $as_test_x conftest$ac_exeext; then
18492 wine_cv_linux_gethostbyname_r_6=yes
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18497 wine_cv_linux_gethostbyname_r_6=no
18501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18502 conftest$ac_exeext conftest.$ac_ext
18505 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18506 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18507 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18508 then
18510 cat >>confdefs.h <<\_ACEOF
18511 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18512 _ACEOF
18516 if test "$ac_cv_header_linux_joystick_h" = "yes"
18517 then
18518 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18519 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18520 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 else
18523 cat >conftest.$ac_ext <<_ACEOF
18524 /* confdefs.h. */
18525 _ACEOF
18526 cat confdefs.h >>conftest.$ac_ext
18527 cat >>conftest.$ac_ext <<_ACEOF
18528 /* end confdefs.h. */
18530 #include <sys/ioctl.h>
18531 #include <sys/types.h>
18532 #include <linux/joystick.h>
18534 struct js_event blub;
18535 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18536 #error "no 2.2 header"
18537 #endif
18540 main ()
18542 /*empty*/
18544 return 0;
18546 _ACEOF
18547 rm -f conftest.$ac_objext
18548 if { (ac_try="$ac_compile"
18549 case "(($ac_try" in
18550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18551 *) ac_try_echo=$ac_try;;
18552 esac
18553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18554 (eval "$ac_compile") 2>conftest.er1
18555 ac_status=$?
18556 grep -v '^ *+' conftest.er1 >conftest.err
18557 rm -f conftest.er1
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } && {
18561 test -z "$ac_c_werror_flag" ||
18562 test ! -s conftest.err
18563 } && test -s conftest.$ac_objext; then
18564 wine_cv_linux_joystick_22_api=yes
18565 else
18566 echo "$as_me: failed program was:" >&5
18567 sed 's/^/| /' conftest.$ac_ext >&5
18569 wine_cv_linux_joystick_22_api=no
18572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18575 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18576 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18577 if test "$wine_cv_linux_joystick_22_api" = "yes"
18578 then
18580 cat >>confdefs.h <<\_ACEOF
18581 #define HAVE_LINUX_22_JOYSTICK_API 1
18582 _ACEOF
18588 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18589 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18590 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 else
18593 cat >conftest.$ac_ext <<_ACEOF
18594 /* confdefs.h. */
18595 _ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 #include <sys/types.h>
18600 #ifdef HAVE_SYS_PARAM_H
18601 # include <sys/param.h>
18602 #endif
18603 #ifdef HAVE_SYS_MOUNT_H
18604 # include <sys/mount.h>
18605 #endif
18606 #ifdef HAVE_SYS_VFS_H
18607 # include <sys/vfs.h>
18608 #endif
18609 #ifdef HAVE_SYS_STATFS_H
18610 # include <sys/statfs.h>
18611 #endif
18614 main ()
18616 static struct statfs ac_aggr;
18617 if (ac_aggr.f_bfree)
18618 return 0;
18620 return 0;
18622 _ACEOF
18623 rm -f conftest.$ac_objext
18624 if { (ac_try="$ac_compile"
18625 case "(($ac_try" in
18626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18627 *) ac_try_echo=$ac_try;;
18628 esac
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630 (eval "$ac_compile") 2>conftest.er1
18631 ac_status=$?
18632 grep -v '^ *+' conftest.er1 >conftest.err
18633 rm -f conftest.er1
18634 cat conftest.err >&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && {
18637 test -z "$ac_c_werror_flag" ||
18638 test ! -s conftest.err
18639 } && test -s conftest.$ac_objext; then
18640 ac_cv_member_struct_statfs_f_bfree=yes
18641 else
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18645 cat >conftest.$ac_ext <<_ACEOF
18646 /* confdefs.h. */
18647 _ACEOF
18648 cat confdefs.h >>conftest.$ac_ext
18649 cat >>conftest.$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651 #include <sys/types.h>
18652 #ifdef HAVE_SYS_PARAM_H
18653 # include <sys/param.h>
18654 #endif
18655 #ifdef HAVE_SYS_MOUNT_H
18656 # include <sys/mount.h>
18657 #endif
18658 #ifdef HAVE_SYS_VFS_H
18659 # include <sys/vfs.h>
18660 #endif
18661 #ifdef HAVE_SYS_STATFS_H
18662 # include <sys/statfs.h>
18663 #endif
18666 main ()
18668 static struct statfs ac_aggr;
18669 if (sizeof ac_aggr.f_bfree)
18670 return 0;
18672 return 0;
18674 _ACEOF
18675 rm -f conftest.$ac_objext
18676 if { (ac_try="$ac_compile"
18677 case "(($ac_try" in
18678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18679 *) ac_try_echo=$ac_try;;
18680 esac
18681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18682 (eval "$ac_compile") 2>conftest.er1
18683 ac_status=$?
18684 grep -v '^ *+' conftest.er1 >conftest.err
18685 rm -f conftest.er1
18686 cat conftest.err >&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } && {
18689 test -z "$ac_c_werror_flag" ||
18690 test ! -s conftest.err
18691 } && test -s conftest.$ac_objext; then
18692 ac_cv_member_struct_statfs_f_bfree=yes
18693 else
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18697 ac_cv_member_struct_statfs_f_bfree=no
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18705 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18706 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18707 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18709 cat >>confdefs.h <<_ACEOF
18710 #define HAVE_STRUCT_STATFS_F_BFREE 1
18711 _ACEOF
18715 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18716 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18717 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18719 else
18720 cat >conftest.$ac_ext <<_ACEOF
18721 /* confdefs.h. */
18722 _ACEOF
18723 cat confdefs.h >>conftest.$ac_ext
18724 cat >>conftest.$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18726 #include <sys/types.h>
18727 #ifdef HAVE_SYS_PARAM_H
18728 # include <sys/param.h>
18729 #endif
18730 #ifdef HAVE_SYS_MOUNT_H
18731 # include <sys/mount.h>
18732 #endif
18733 #ifdef HAVE_SYS_VFS_H
18734 # include <sys/vfs.h>
18735 #endif
18736 #ifdef HAVE_SYS_STATFS_H
18737 # include <sys/statfs.h>
18738 #endif
18741 main ()
18743 static struct statfs ac_aggr;
18744 if (ac_aggr.f_bavail)
18745 return 0;
18747 return 0;
18749 _ACEOF
18750 rm -f conftest.$ac_objext
18751 if { (ac_try="$ac_compile"
18752 case "(($ac_try" in
18753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18754 *) ac_try_echo=$ac_try;;
18755 esac
18756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18757 (eval "$ac_compile") 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } && {
18764 test -z "$ac_c_werror_flag" ||
18765 test ! -s conftest.err
18766 } && test -s conftest.$ac_objext; then
18767 ac_cv_member_struct_statfs_f_bavail=yes
18768 else
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.$ac_ext >&5
18772 cat >conftest.$ac_ext <<_ACEOF
18773 /* confdefs.h. */
18774 _ACEOF
18775 cat confdefs.h >>conftest.$ac_ext
18776 cat >>conftest.$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18778 #include <sys/types.h>
18779 #ifdef HAVE_SYS_PARAM_H
18780 # include <sys/param.h>
18781 #endif
18782 #ifdef HAVE_SYS_MOUNT_H
18783 # include <sys/mount.h>
18784 #endif
18785 #ifdef HAVE_SYS_VFS_H
18786 # include <sys/vfs.h>
18787 #endif
18788 #ifdef HAVE_SYS_STATFS_H
18789 # include <sys/statfs.h>
18790 #endif
18793 main ()
18795 static struct statfs ac_aggr;
18796 if (sizeof ac_aggr.f_bavail)
18797 return 0;
18799 return 0;
18801 _ACEOF
18802 rm -f conftest.$ac_objext
18803 if { (ac_try="$ac_compile"
18804 case "(($ac_try" in
18805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18806 *) ac_try_echo=$ac_try;;
18807 esac
18808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18809 (eval "$ac_compile") 2>conftest.er1
18810 ac_status=$?
18811 grep -v '^ *+' conftest.er1 >conftest.err
18812 rm -f conftest.er1
18813 cat conftest.err >&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); } && {
18816 test -z "$ac_c_werror_flag" ||
18817 test ! -s conftest.err
18818 } && test -s conftest.$ac_objext; then
18819 ac_cv_member_struct_statfs_f_bavail=yes
18820 else
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.$ac_ext >&5
18824 ac_cv_member_struct_statfs_f_bavail=no
18827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18832 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18833 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18834 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18836 cat >>confdefs.h <<_ACEOF
18837 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18838 _ACEOF
18842 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18843 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18844 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 else
18847 cat >conftest.$ac_ext <<_ACEOF
18848 /* confdefs.h. */
18849 _ACEOF
18850 cat confdefs.h >>conftest.$ac_ext
18851 cat >>conftest.$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18853 #include <sys/types.h>
18854 #ifdef HAVE_SYS_PARAM_H
18855 # include <sys/param.h>
18856 #endif
18857 #ifdef HAVE_SYS_MOUNT_H
18858 # include <sys/mount.h>
18859 #endif
18860 #ifdef HAVE_SYS_VFS_H
18861 # include <sys/vfs.h>
18862 #endif
18863 #ifdef HAVE_SYS_STATFS_H
18864 # include <sys/statfs.h>
18865 #endif
18868 main ()
18870 static struct statfs ac_aggr;
18871 if (ac_aggr.f_frsize)
18872 return 0;
18874 return 0;
18876 _ACEOF
18877 rm -f conftest.$ac_objext
18878 if { (ac_try="$ac_compile"
18879 case "(($ac_try" in
18880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18881 *) ac_try_echo=$ac_try;;
18882 esac
18883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18884 (eval "$ac_compile") 2>conftest.er1
18885 ac_status=$?
18886 grep -v '^ *+' conftest.er1 >conftest.err
18887 rm -f conftest.er1
18888 cat conftest.err >&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } && {
18891 test -z "$ac_c_werror_flag" ||
18892 test ! -s conftest.err
18893 } && test -s conftest.$ac_objext; then
18894 ac_cv_member_struct_statfs_f_frsize=yes
18895 else
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.$ac_ext >&5
18899 cat >conftest.$ac_ext <<_ACEOF
18900 /* confdefs.h. */
18901 _ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905 #include <sys/types.h>
18906 #ifdef HAVE_SYS_PARAM_H
18907 # include <sys/param.h>
18908 #endif
18909 #ifdef HAVE_SYS_MOUNT_H
18910 # include <sys/mount.h>
18911 #endif
18912 #ifdef HAVE_SYS_VFS_H
18913 # include <sys/vfs.h>
18914 #endif
18915 #ifdef HAVE_SYS_STATFS_H
18916 # include <sys/statfs.h>
18917 #endif
18920 main ()
18922 static struct statfs ac_aggr;
18923 if (sizeof ac_aggr.f_frsize)
18924 return 0;
18926 return 0;
18928 _ACEOF
18929 rm -f conftest.$ac_objext
18930 if { (ac_try="$ac_compile"
18931 case "(($ac_try" in
18932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18933 *) ac_try_echo=$ac_try;;
18934 esac
18935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18936 (eval "$ac_compile") 2>conftest.er1
18937 ac_status=$?
18938 grep -v '^ *+' conftest.er1 >conftest.err
18939 rm -f conftest.er1
18940 cat conftest.err >&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); } && {
18943 test -z "$ac_c_werror_flag" ||
18944 test ! -s conftest.err
18945 } && test -s conftest.$ac_objext; then
18946 ac_cv_member_struct_statfs_f_frsize=yes
18947 else
18948 echo "$as_me: failed program was:" >&5
18949 sed 's/^/| /' conftest.$ac_ext >&5
18951 ac_cv_member_struct_statfs_f_frsize=no
18954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18959 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18960 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18961 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18963 cat >>confdefs.h <<_ACEOF
18964 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18965 _ACEOF
18969 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18970 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18971 if test "${ac_cv_member_struct_statfs_f_ffree+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 <sys/types.h>
18981 #ifdef HAVE_SYS_PARAM_H
18982 # include <sys/param.h>
18983 #endif
18984 #ifdef HAVE_SYS_MOUNT_H
18985 # include <sys/mount.h>
18986 #endif
18987 #ifdef HAVE_SYS_VFS_H
18988 # include <sys/vfs.h>
18989 #endif
18990 #ifdef HAVE_SYS_STATFS_H
18991 # include <sys/statfs.h>
18992 #endif
18995 main ()
18997 static struct statfs ac_aggr;
18998 if (ac_aggr.f_ffree)
18999 return 0;
19001 return 0;
19003 _ACEOF
19004 rm -f conftest.$ac_objext
19005 if { (ac_try="$ac_compile"
19006 case "(($ac_try" in
19007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19008 *) ac_try_echo=$ac_try;;
19009 esac
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_compile") 2>conftest.er1
19012 ac_status=$?
19013 grep -v '^ *+' conftest.er1 >conftest.err
19014 rm -f conftest.er1
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } && {
19018 test -z "$ac_c_werror_flag" ||
19019 test ! -s conftest.err
19020 } && test -s conftest.$ac_objext; then
19021 ac_cv_member_struct_statfs_f_ffree=yes
19022 else
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19026 cat >conftest.$ac_ext <<_ACEOF
19027 /* confdefs.h. */
19028 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 #include <sys/types.h>
19033 #ifdef HAVE_SYS_PARAM_H
19034 # include <sys/param.h>
19035 #endif
19036 #ifdef HAVE_SYS_MOUNT_H
19037 # include <sys/mount.h>
19038 #endif
19039 #ifdef HAVE_SYS_VFS_H
19040 # include <sys/vfs.h>
19041 #endif
19042 #ifdef HAVE_SYS_STATFS_H
19043 # include <sys/statfs.h>
19044 #endif
19047 main ()
19049 static struct statfs ac_aggr;
19050 if (sizeof ac_aggr.f_ffree)
19051 return 0;
19053 return 0;
19055 _ACEOF
19056 rm -f conftest.$ac_objext
19057 if { (ac_try="$ac_compile"
19058 case "(($ac_try" in
19059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19060 *) ac_try_echo=$ac_try;;
19061 esac
19062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19063 (eval "$ac_compile") 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } && {
19070 test -z "$ac_c_werror_flag" ||
19071 test ! -s conftest.err
19072 } && test -s conftest.$ac_objext; then
19073 ac_cv_member_struct_statfs_f_ffree=yes
19074 else
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19078 ac_cv_member_struct_statfs_f_ffree=no
19081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19086 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19087 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19088 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19090 cat >>confdefs.h <<_ACEOF
19091 #define HAVE_STRUCT_STATFS_F_FFREE 1
19092 _ACEOF
19096 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19097 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19098 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19099 echo $ECHO_N "(cached) $ECHO_C" >&6
19100 else
19101 cat >conftest.$ac_ext <<_ACEOF
19102 /* confdefs.h. */
19103 _ACEOF
19104 cat confdefs.h >>conftest.$ac_ext
19105 cat >>conftest.$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 #include <sys/types.h>
19108 #ifdef HAVE_SYS_PARAM_H
19109 # include <sys/param.h>
19110 #endif
19111 #ifdef HAVE_SYS_MOUNT_H
19112 # include <sys/mount.h>
19113 #endif
19114 #ifdef HAVE_SYS_VFS_H
19115 # include <sys/vfs.h>
19116 #endif
19117 #ifdef HAVE_SYS_STATFS_H
19118 # include <sys/statfs.h>
19119 #endif
19122 main ()
19124 static struct statfs ac_aggr;
19125 if (ac_aggr.f_favail)
19126 return 0;
19128 return 0;
19130 _ACEOF
19131 rm -f conftest.$ac_objext
19132 if { (ac_try="$ac_compile"
19133 case "(($ac_try" in
19134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19135 *) ac_try_echo=$ac_try;;
19136 esac
19137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19138 (eval "$ac_compile") 2>conftest.er1
19139 ac_status=$?
19140 grep -v '^ *+' conftest.er1 >conftest.err
19141 rm -f conftest.er1
19142 cat conftest.err >&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } && {
19145 test -z "$ac_c_werror_flag" ||
19146 test ! -s conftest.err
19147 } && test -s conftest.$ac_objext; then
19148 ac_cv_member_struct_statfs_f_favail=yes
19149 else
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19153 cat >conftest.$ac_ext <<_ACEOF
19154 /* confdefs.h. */
19155 _ACEOF
19156 cat confdefs.h >>conftest.$ac_ext
19157 cat >>conftest.$ac_ext <<_ACEOF
19158 /* end confdefs.h. */
19159 #include <sys/types.h>
19160 #ifdef HAVE_SYS_PARAM_H
19161 # include <sys/param.h>
19162 #endif
19163 #ifdef HAVE_SYS_MOUNT_H
19164 # include <sys/mount.h>
19165 #endif
19166 #ifdef HAVE_SYS_VFS_H
19167 # include <sys/vfs.h>
19168 #endif
19169 #ifdef HAVE_SYS_STATFS_H
19170 # include <sys/statfs.h>
19171 #endif
19174 main ()
19176 static struct statfs ac_aggr;
19177 if (sizeof ac_aggr.f_favail)
19178 return 0;
19180 return 0;
19182 _ACEOF
19183 rm -f conftest.$ac_objext
19184 if { (ac_try="$ac_compile"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19188 esac
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_compile") 2>conftest.er1
19191 ac_status=$?
19192 grep -v '^ *+' conftest.er1 >conftest.err
19193 rm -f conftest.er1
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest.$ac_objext; then
19200 ac_cv_member_struct_statfs_f_favail=yes
19201 else
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 ac_cv_member_struct_statfs_f_favail=no
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19214 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19215 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19217 cat >>confdefs.h <<_ACEOF
19218 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19219 _ACEOF
19223 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19224 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19225 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19226 echo $ECHO_N "(cached) $ECHO_C" >&6
19227 else
19228 cat >conftest.$ac_ext <<_ACEOF
19229 /* confdefs.h. */
19230 _ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 #include <sys/types.h>
19235 #ifdef HAVE_SYS_PARAM_H
19236 # include <sys/param.h>
19237 #endif
19238 #ifdef HAVE_SYS_MOUNT_H
19239 # include <sys/mount.h>
19240 #endif
19241 #ifdef HAVE_SYS_VFS_H
19242 # include <sys/vfs.h>
19243 #endif
19244 #ifdef HAVE_SYS_STATFS_H
19245 # include <sys/statfs.h>
19246 #endif
19249 main ()
19251 static struct statfs ac_aggr;
19252 if (ac_aggr.f_namelen)
19253 return 0;
19255 return 0;
19257 _ACEOF
19258 rm -f conftest.$ac_objext
19259 if { (ac_try="$ac_compile"
19260 case "(($ac_try" in
19261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19262 *) ac_try_echo=$ac_try;;
19263 esac
19264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19265 (eval "$ac_compile") 2>conftest.er1
19266 ac_status=$?
19267 grep -v '^ *+' conftest.er1 >conftest.err
19268 rm -f conftest.er1
19269 cat conftest.err >&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } && {
19272 test -z "$ac_c_werror_flag" ||
19273 test ! -s conftest.err
19274 } && test -s conftest.$ac_objext; then
19275 ac_cv_member_struct_statfs_f_namelen=yes
19276 else
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19280 cat >conftest.$ac_ext <<_ACEOF
19281 /* confdefs.h. */
19282 _ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 #include <sys/types.h>
19287 #ifdef HAVE_SYS_PARAM_H
19288 # include <sys/param.h>
19289 #endif
19290 #ifdef HAVE_SYS_MOUNT_H
19291 # include <sys/mount.h>
19292 #endif
19293 #ifdef HAVE_SYS_VFS_H
19294 # include <sys/vfs.h>
19295 #endif
19296 #ifdef HAVE_SYS_STATFS_H
19297 # include <sys/statfs.h>
19298 #endif
19301 main ()
19303 static struct statfs ac_aggr;
19304 if (sizeof ac_aggr.f_namelen)
19305 return 0;
19307 return 0;
19309 _ACEOF
19310 rm -f conftest.$ac_objext
19311 if { (ac_try="$ac_compile"
19312 case "(($ac_try" in
19313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19314 *) ac_try_echo=$ac_try;;
19315 esac
19316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19317 (eval "$ac_compile") 2>conftest.er1
19318 ac_status=$?
19319 grep -v '^ *+' conftest.er1 >conftest.err
19320 rm -f conftest.er1
19321 cat conftest.err >&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); } && {
19324 test -z "$ac_c_werror_flag" ||
19325 test ! -s conftest.err
19326 } && test -s conftest.$ac_objext; then
19327 ac_cv_member_struct_statfs_f_namelen=yes
19328 else
19329 echo "$as_me: failed program was:" >&5
19330 sed 's/^/| /' conftest.$ac_ext >&5
19332 ac_cv_member_struct_statfs_f_namelen=no
19335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19340 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19341 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19342 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19344 cat >>confdefs.h <<_ACEOF
19345 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19346 _ACEOF
19352 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19353 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19354 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19355 echo $ECHO_N "(cached) $ECHO_C" >&6
19356 else
19357 cat >conftest.$ac_ext <<_ACEOF
19358 /* confdefs.h. */
19359 _ACEOF
19360 cat confdefs.h >>conftest.$ac_ext
19361 cat >>conftest.$ac_ext <<_ACEOF
19362 /* end confdefs.h. */
19363 #ifdef HAVE_SYS_STATVFS_H
19364 #include <sys/statvfs.h>
19365 #endif
19368 main ()
19370 static struct statvfs ac_aggr;
19371 if (ac_aggr.f_blocks)
19372 return 0;
19374 return 0;
19376 _ACEOF
19377 rm -f conftest.$ac_objext
19378 if { (ac_try="$ac_compile"
19379 case "(($ac_try" in
19380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19381 *) ac_try_echo=$ac_try;;
19382 esac
19383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19384 (eval "$ac_compile") 2>conftest.er1
19385 ac_status=$?
19386 grep -v '^ *+' conftest.er1 >conftest.err
19387 rm -f conftest.er1
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } && {
19391 test -z "$ac_c_werror_flag" ||
19392 test ! -s conftest.err
19393 } && test -s conftest.$ac_objext; then
19394 ac_cv_member_struct_statvfs_f_blocks=yes
19395 else
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19399 cat >conftest.$ac_ext <<_ACEOF
19400 /* confdefs.h. */
19401 _ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405 #ifdef HAVE_SYS_STATVFS_H
19406 #include <sys/statvfs.h>
19407 #endif
19410 main ()
19412 static struct statvfs ac_aggr;
19413 if (sizeof ac_aggr.f_blocks)
19414 return 0;
19416 return 0;
19418 _ACEOF
19419 rm -f conftest.$ac_objext
19420 if { (ac_try="$ac_compile"
19421 case "(($ac_try" in
19422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19423 *) ac_try_echo=$ac_try;;
19424 esac
19425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19426 (eval "$ac_compile") 2>conftest.er1
19427 ac_status=$?
19428 grep -v '^ *+' conftest.er1 >conftest.err
19429 rm -f conftest.er1
19430 cat conftest.err >&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); } && {
19433 test -z "$ac_c_werror_flag" ||
19434 test ! -s conftest.err
19435 } && test -s conftest.$ac_objext; then
19436 ac_cv_member_struct_statvfs_f_blocks=yes
19437 else
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19441 ac_cv_member_struct_statvfs_f_blocks=no
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19449 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19450 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19451 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19453 cat >>confdefs.h <<_ACEOF
19454 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19455 _ACEOF
19461 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19462 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19463 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19464 echo $ECHO_N "(cached) $ECHO_C" >&6
19465 else
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 #include <sys/types.h>
19473 #ifdef HAVE_SYS_SOCKET_H
19474 # include <sys/socket.h>
19475 #endif
19476 #ifdef HAVE_SYS_UN_H
19477 # include <sys/un.h>
19478 #endif
19481 main ()
19483 static struct msghdr ac_aggr;
19484 if (ac_aggr.msg_accrights)
19485 return 0;
19487 return 0;
19489 _ACEOF
19490 rm -f conftest.$ac_objext
19491 if { (ac_try="$ac_compile"
19492 case "(($ac_try" in
19493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19494 *) ac_try_echo=$ac_try;;
19495 esac
19496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19497 (eval "$ac_compile") 2>conftest.er1
19498 ac_status=$?
19499 grep -v '^ *+' conftest.er1 >conftest.err
19500 rm -f conftest.er1
19501 cat conftest.err >&5
19502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19503 (exit $ac_status); } && {
19504 test -z "$ac_c_werror_flag" ||
19505 test ! -s conftest.err
19506 } && test -s conftest.$ac_objext; then
19507 ac_cv_member_struct_msghdr_msg_accrights=yes
19508 else
19509 echo "$as_me: failed program was:" >&5
19510 sed 's/^/| /' conftest.$ac_ext >&5
19512 cat >conftest.$ac_ext <<_ACEOF
19513 /* confdefs.h. */
19514 _ACEOF
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 #include <sys/types.h>
19519 #ifdef HAVE_SYS_SOCKET_H
19520 # include <sys/socket.h>
19521 #endif
19522 #ifdef HAVE_SYS_UN_H
19523 # include <sys/un.h>
19524 #endif
19527 main ()
19529 static struct msghdr ac_aggr;
19530 if (sizeof ac_aggr.msg_accrights)
19531 return 0;
19533 return 0;
19535 _ACEOF
19536 rm -f conftest.$ac_objext
19537 if { (ac_try="$ac_compile"
19538 case "(($ac_try" in
19539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19540 *) ac_try_echo=$ac_try;;
19541 esac
19542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19543 (eval "$ac_compile") 2>conftest.er1
19544 ac_status=$?
19545 grep -v '^ *+' conftest.er1 >conftest.err
19546 rm -f conftest.er1
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } && {
19550 test -z "$ac_c_werror_flag" ||
19551 test ! -s conftest.err
19552 } && test -s conftest.$ac_objext; then
19553 ac_cv_member_struct_msghdr_msg_accrights=yes
19554 else
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19558 ac_cv_member_struct_msghdr_msg_accrights=no
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19566 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19567 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19568 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19570 cat >>confdefs.h <<_ACEOF
19571 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19572 _ACEOF
19576 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19577 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19578 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19579 echo $ECHO_N "(cached) $ECHO_C" >&6
19580 else
19581 cat >conftest.$ac_ext <<_ACEOF
19582 /* confdefs.h. */
19583 _ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 #include <sys/types.h>
19588 #ifdef HAVE_SYS_SOCKET_H
19589 # include <sys/socket.h>
19590 #endif
19591 #ifdef HAVE_SYS_UN_H
19592 # include <sys/un.h>
19593 #endif
19596 main ()
19598 static struct sockaddr ac_aggr;
19599 if (ac_aggr.sa_len)
19600 return 0;
19602 return 0;
19604 _ACEOF
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19609 *) ac_try_echo=$ac_try;;
19610 esac
19611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19613 ac_status=$?
19614 grep -v '^ *+' conftest.er1 >conftest.err
19615 rm -f conftest.er1
19616 cat conftest.err >&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.$ac_objext; then
19622 ac_cv_member_struct_sockaddr_sa_len=yes
19623 else
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 cat >conftest.$ac_ext <<_ACEOF
19628 /* confdefs.h. */
19629 _ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 #include <sys/types.h>
19634 #ifdef HAVE_SYS_SOCKET_H
19635 # include <sys/socket.h>
19636 #endif
19637 #ifdef HAVE_SYS_UN_H
19638 # include <sys/un.h>
19639 #endif
19642 main ()
19644 static struct sockaddr ac_aggr;
19645 if (sizeof ac_aggr.sa_len)
19646 return 0;
19648 return 0;
19650 _ACEOF
19651 rm -f conftest.$ac_objext
19652 if { (ac_try="$ac_compile"
19653 case "(($ac_try" in
19654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19655 *) ac_try_echo=$ac_try;;
19656 esac
19657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19658 (eval "$ac_compile") 2>conftest.er1
19659 ac_status=$?
19660 grep -v '^ *+' conftest.er1 >conftest.err
19661 rm -f conftest.er1
19662 cat conftest.err >&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } && {
19665 test -z "$ac_c_werror_flag" ||
19666 test ! -s conftest.err
19667 } && test -s conftest.$ac_objext; then
19668 ac_cv_member_struct_sockaddr_sa_len=yes
19669 else
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.$ac_ext >&5
19673 ac_cv_member_struct_sockaddr_sa_len=no
19676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19681 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19682 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19683 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19685 cat >>confdefs.h <<_ACEOF
19686 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19687 _ACEOF
19691 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19692 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19693 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19694 echo $ECHO_N "(cached) $ECHO_C" >&6
19695 else
19696 cat >conftest.$ac_ext <<_ACEOF
19697 /* confdefs.h. */
19698 _ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 #include <sys/types.h>
19703 #ifdef HAVE_SYS_SOCKET_H
19704 # include <sys/socket.h>
19705 #endif
19706 #ifdef HAVE_SYS_UN_H
19707 # include <sys/un.h>
19708 #endif
19711 main ()
19713 static struct sockaddr_un ac_aggr;
19714 if (ac_aggr.sun_len)
19715 return 0;
19717 return 0;
19719 _ACEOF
19720 rm -f conftest.$ac_objext
19721 if { (ac_try="$ac_compile"
19722 case "(($ac_try" in
19723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19724 *) ac_try_echo=$ac_try;;
19725 esac
19726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19727 (eval "$ac_compile") 2>conftest.er1
19728 ac_status=$?
19729 grep -v '^ *+' conftest.er1 >conftest.err
19730 rm -f conftest.er1
19731 cat conftest.err >&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } && {
19734 test -z "$ac_c_werror_flag" ||
19735 test ! -s conftest.err
19736 } && test -s conftest.$ac_objext; then
19737 ac_cv_member_struct_sockaddr_un_sun_len=yes
19738 else
19739 echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.$ac_ext >&5
19742 cat >conftest.$ac_ext <<_ACEOF
19743 /* confdefs.h. */
19744 _ACEOF
19745 cat confdefs.h >>conftest.$ac_ext
19746 cat >>conftest.$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19748 #include <sys/types.h>
19749 #ifdef HAVE_SYS_SOCKET_H
19750 # include <sys/socket.h>
19751 #endif
19752 #ifdef HAVE_SYS_UN_H
19753 # include <sys/un.h>
19754 #endif
19757 main ()
19759 static struct sockaddr_un ac_aggr;
19760 if (sizeof ac_aggr.sun_len)
19761 return 0;
19763 return 0;
19765 _ACEOF
19766 rm -f conftest.$ac_objext
19767 if { (ac_try="$ac_compile"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_compile") 2>conftest.er1
19774 ac_status=$?
19775 grep -v '^ *+' conftest.er1 >conftest.err
19776 rm -f conftest.er1
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } && {
19780 test -z "$ac_c_werror_flag" ||
19781 test ! -s conftest.err
19782 } && test -s conftest.$ac_objext; then
19783 ac_cv_member_struct_sockaddr_un_sun_len=yes
19784 else
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.$ac_ext >&5
19788 ac_cv_member_struct_sockaddr_un_sun_len=no
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19797 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19798 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19800 cat >>confdefs.h <<_ACEOF
19801 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19802 _ACEOF
19808 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19809 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19810 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19812 else
19813 cat >conftest.$ac_ext <<_ACEOF
19814 /* confdefs.h. */
19815 _ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 #include <sys/types.h>
19820 #ifdef HAVE_SCSI_SG_H
19821 #include <scsi/sg.h>
19822 #endif
19825 main ()
19827 static scsireq_t ac_aggr;
19828 if (ac_aggr.cmd)
19829 return 0;
19831 return 0;
19833 _ACEOF
19834 rm -f conftest.$ac_objext
19835 if { (ac_try="$ac_compile"
19836 case "(($ac_try" in
19837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19839 esac
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_compile") 2>conftest.er1
19842 ac_status=$?
19843 grep -v '^ *+' conftest.er1 >conftest.err
19844 rm -f conftest.er1
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } && {
19848 test -z "$ac_c_werror_flag" ||
19849 test ! -s conftest.err
19850 } && test -s conftest.$ac_objext; then
19851 ac_cv_member_scsireq_t_cmd=yes
19852 else
19853 echo "$as_me: failed program was:" >&5
19854 sed 's/^/| /' conftest.$ac_ext >&5
19856 cat >conftest.$ac_ext <<_ACEOF
19857 /* confdefs.h. */
19858 _ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 #include <sys/types.h>
19863 #ifdef HAVE_SCSI_SG_H
19864 #include <scsi/sg.h>
19865 #endif
19868 main ()
19870 static scsireq_t ac_aggr;
19871 if (sizeof ac_aggr.cmd)
19872 return 0;
19874 return 0;
19876 _ACEOF
19877 rm -f conftest.$ac_objext
19878 if { (ac_try="$ac_compile"
19879 case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881 *) ac_try_echo=$ac_try;;
19882 esac
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_compile") 2>conftest.er1
19885 ac_status=$?
19886 grep -v '^ *+' conftest.er1 >conftest.err
19887 rm -f conftest.er1
19888 cat conftest.err >&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } && {
19891 test -z "$ac_c_werror_flag" ||
19892 test ! -s conftest.err
19893 } && test -s conftest.$ac_objext; then
19894 ac_cv_member_scsireq_t_cmd=yes
19895 else
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19899 ac_cv_member_scsireq_t_cmd=no
19902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19907 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19908 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19909 if test $ac_cv_member_scsireq_t_cmd = yes; then
19911 cat >>confdefs.h <<_ACEOF
19912 #define HAVE_SCSIREQ_T_CMD 1
19913 _ACEOF
19917 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19918 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19919 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19920 echo $ECHO_N "(cached) $ECHO_C" >&6
19921 else
19922 cat >conftest.$ac_ext <<_ACEOF
19923 /* confdefs.h. */
19924 _ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 #include <sys/types.h>
19929 #ifdef HAVE_SCSI_SG_H
19930 #include <scsi/sg.h>
19931 #endif
19934 main ()
19936 static sg_io_hdr_t ac_aggr;
19937 if (ac_aggr.interface_id)
19938 return 0;
19940 return 0;
19942 _ACEOF
19943 rm -f conftest.$ac_objext
19944 if { (ac_try="$ac_compile"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19948 esac
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_compile") 2>conftest.er1
19951 ac_status=$?
19952 grep -v '^ *+' conftest.er1 >conftest.err
19953 rm -f conftest.er1
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_c_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest.$ac_objext; then
19960 ac_cv_member_sg_io_hdr_t_interface_id=yes
19961 else
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19965 cat >conftest.$ac_ext <<_ACEOF
19966 /* confdefs.h. */
19967 _ACEOF
19968 cat confdefs.h >>conftest.$ac_ext
19969 cat >>conftest.$ac_ext <<_ACEOF
19970 /* end confdefs.h. */
19971 #include <sys/types.h>
19972 #ifdef HAVE_SCSI_SG_H
19973 #include <scsi/sg.h>
19974 #endif
19977 main ()
19979 static sg_io_hdr_t ac_aggr;
19980 if (sizeof ac_aggr.interface_id)
19981 return 0;
19983 return 0;
19985 _ACEOF
19986 rm -f conftest.$ac_objext
19987 if { (ac_try="$ac_compile"
19988 case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19991 esac
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_compile") 2>conftest.er1
19994 ac_status=$?
19995 grep -v '^ *+' conftest.er1 >conftest.err
19996 rm -f conftest.er1
19997 cat conftest.err >&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } && {
20000 test -z "$ac_c_werror_flag" ||
20001 test ! -s conftest.err
20002 } && test -s conftest.$ac_objext; then
20003 ac_cv_member_sg_io_hdr_t_interface_id=yes
20004 else
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20008 ac_cv_member_sg_io_hdr_t_interface_id=no
20011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20016 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20017 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20018 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20022 _ACEOF
20028 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20029 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20030 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 else
20033 cat >conftest.$ac_ext <<_ACEOF
20034 /* confdefs.h. */
20035 _ACEOF
20036 cat confdefs.h >>conftest.$ac_ext
20037 cat >>conftest.$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 #include <signal.h>
20042 main ()
20044 static siginfo_t ac_aggr;
20045 if (ac_aggr.si_fd)
20046 return 0;
20048 return 0;
20050 _ACEOF
20051 rm -f conftest.$ac_objext
20052 if { (ac_try="$ac_compile"
20053 case "(($ac_try" in
20054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20055 *) ac_try_echo=$ac_try;;
20056 esac
20057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20058 (eval "$ac_compile") 2>conftest.er1
20059 ac_status=$?
20060 grep -v '^ *+' conftest.er1 >conftest.err
20061 rm -f conftest.er1
20062 cat conftest.err >&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } && {
20065 test -z "$ac_c_werror_flag" ||
20066 test ! -s conftest.err
20067 } && test -s conftest.$ac_objext; then
20068 ac_cv_member_siginfo_t_si_fd=yes
20069 else
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.$ac_ext >&5
20073 cat >conftest.$ac_ext <<_ACEOF
20074 /* confdefs.h. */
20075 _ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h. */
20079 #include <signal.h>
20082 main ()
20084 static siginfo_t ac_aggr;
20085 if (sizeof ac_aggr.si_fd)
20086 return 0;
20088 return 0;
20090 _ACEOF
20091 rm -f conftest.$ac_objext
20092 if { (ac_try="$ac_compile"
20093 case "(($ac_try" in
20094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20095 *) ac_try_echo=$ac_try;;
20096 esac
20097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20098 (eval "$ac_compile") 2>conftest.er1
20099 ac_status=$?
20100 grep -v '^ *+' conftest.er1 >conftest.err
20101 rm -f conftest.er1
20102 cat conftest.err >&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } && {
20105 test -z "$ac_c_werror_flag" ||
20106 test ! -s conftest.err
20107 } && test -s conftest.$ac_objext; then
20108 ac_cv_member_siginfo_t_si_fd=yes
20109 else
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.$ac_ext >&5
20113 ac_cv_member_siginfo_t_si_fd=no
20116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20122 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20123 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20125 cat >>confdefs.h <<_ACEOF
20126 #define HAVE_SIGINFO_T_SI_FD 1
20127 _ACEOF
20133 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20134 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20135 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20137 else
20138 cat >conftest.$ac_ext <<_ACEOF
20139 /* confdefs.h. */
20140 _ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 #include <sys/types.h>
20145 #ifdef HAVE_SYS_MTIO_H
20146 #include <sys/mtio.h>
20147 #endif
20150 main ()
20152 static struct mtget ac_aggr;
20153 if (ac_aggr.mt_blksiz)
20154 return 0;
20156 return 0;
20158 _ACEOF
20159 rm -f conftest.$ac_objext
20160 if { (ac_try="$ac_compile"
20161 case "(($ac_try" in
20162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20163 *) ac_try_echo=$ac_try;;
20164 esac
20165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20166 (eval "$ac_compile") 2>conftest.er1
20167 ac_status=$?
20168 grep -v '^ *+' conftest.er1 >conftest.err
20169 rm -f conftest.er1
20170 cat conftest.err >&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } && {
20173 test -z "$ac_c_werror_flag" ||
20174 test ! -s conftest.err
20175 } && test -s conftest.$ac_objext; then
20176 ac_cv_member_struct_mtget_mt_blksiz=yes
20177 else
20178 echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.$ac_ext >&5
20181 cat >conftest.$ac_ext <<_ACEOF
20182 /* confdefs.h. */
20183 _ACEOF
20184 cat confdefs.h >>conftest.$ac_ext
20185 cat >>conftest.$ac_ext <<_ACEOF
20186 /* end confdefs.h. */
20187 #include <sys/types.h>
20188 #ifdef HAVE_SYS_MTIO_H
20189 #include <sys/mtio.h>
20190 #endif
20193 main ()
20195 static struct mtget ac_aggr;
20196 if (sizeof ac_aggr.mt_blksiz)
20197 return 0;
20199 return 0;
20201 _ACEOF
20202 rm -f conftest.$ac_objext
20203 if { (ac_try="$ac_compile"
20204 case "(($ac_try" in
20205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20206 *) ac_try_echo=$ac_try;;
20207 esac
20208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20209 (eval "$ac_compile") 2>conftest.er1
20210 ac_status=$?
20211 grep -v '^ *+' conftest.er1 >conftest.err
20212 rm -f conftest.er1
20213 cat conftest.err >&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); } && {
20216 test -z "$ac_c_werror_flag" ||
20217 test ! -s conftest.err
20218 } && test -s conftest.$ac_objext; then
20219 ac_cv_member_struct_mtget_mt_blksiz=yes
20220 else
20221 echo "$as_me: failed program was:" >&5
20222 sed 's/^/| /' conftest.$ac_ext >&5
20224 ac_cv_member_struct_mtget_mt_blksiz=no
20227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20232 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20233 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20234 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20236 cat >>confdefs.h <<_ACEOF
20237 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20238 _ACEOF
20242 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20243 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20244 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20245 echo $ECHO_N "(cached) $ECHO_C" >&6
20246 else
20247 cat >conftest.$ac_ext <<_ACEOF
20248 /* confdefs.h. */
20249 _ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 #include <sys/types.h>
20254 #ifdef HAVE_SYS_MTIO_H
20255 #include <sys/mtio.h>
20256 #endif
20259 main ()
20261 static struct mtget ac_aggr;
20262 if (ac_aggr.mt_gstat)
20263 return 0;
20265 return 0;
20267 _ACEOF
20268 rm -f conftest.$ac_objext
20269 if { (ac_try="$ac_compile"
20270 case "(($ac_try" in
20271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20272 *) ac_try_echo=$ac_try;;
20273 esac
20274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20275 (eval "$ac_compile") 2>conftest.er1
20276 ac_status=$?
20277 grep -v '^ *+' conftest.er1 >conftest.err
20278 rm -f conftest.er1
20279 cat conftest.err >&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } && {
20282 test -z "$ac_c_werror_flag" ||
20283 test ! -s conftest.err
20284 } && test -s conftest.$ac_objext; then
20285 ac_cv_member_struct_mtget_mt_gstat=yes
20286 else
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.$ac_ext >&5
20290 cat >conftest.$ac_ext <<_ACEOF
20291 /* confdefs.h. */
20292 _ACEOF
20293 cat confdefs.h >>conftest.$ac_ext
20294 cat >>conftest.$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 #include <sys/types.h>
20297 #ifdef HAVE_SYS_MTIO_H
20298 #include <sys/mtio.h>
20299 #endif
20302 main ()
20304 static struct mtget ac_aggr;
20305 if (sizeof ac_aggr.mt_gstat)
20306 return 0;
20308 return 0;
20310 _ACEOF
20311 rm -f conftest.$ac_objext
20312 if { (ac_try="$ac_compile"
20313 case "(($ac_try" in
20314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20316 esac
20317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20318 (eval "$ac_compile") 2>conftest.er1
20319 ac_status=$?
20320 grep -v '^ *+' conftest.er1 >conftest.err
20321 rm -f conftest.er1
20322 cat conftest.err >&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } && {
20325 test -z "$ac_c_werror_flag" ||
20326 test ! -s conftest.err
20327 } && test -s conftest.$ac_objext; then
20328 ac_cv_member_struct_mtget_mt_gstat=yes
20329 else
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20333 ac_cv_member_struct_mtget_mt_gstat=no
20336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20341 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20342 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20343 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20345 cat >>confdefs.h <<_ACEOF
20346 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20347 _ACEOF
20351 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20352 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20353 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20354 echo $ECHO_N "(cached) $ECHO_C" >&6
20355 else
20356 cat >conftest.$ac_ext <<_ACEOF
20357 /* confdefs.h. */
20358 _ACEOF
20359 cat confdefs.h >>conftest.$ac_ext
20360 cat >>conftest.$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 #include <sys/types.h>
20363 #ifdef HAVE_SYS_MTIO_H
20364 #include <sys/mtio.h>
20365 #endif
20368 main ()
20370 static struct mtget ac_aggr;
20371 if (ac_aggr.mt_blkno)
20372 return 0;
20374 return 0;
20376 _ACEOF
20377 rm -f conftest.$ac_objext
20378 if { (ac_try="$ac_compile"
20379 case "(($ac_try" in
20380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20381 *) ac_try_echo=$ac_try;;
20382 esac
20383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20384 (eval "$ac_compile") 2>conftest.er1
20385 ac_status=$?
20386 grep -v '^ *+' conftest.er1 >conftest.err
20387 rm -f conftest.er1
20388 cat conftest.err >&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } && {
20391 test -z "$ac_c_werror_flag" ||
20392 test ! -s conftest.err
20393 } && test -s conftest.$ac_objext; then
20394 ac_cv_member_struct_mtget_mt_blkno=yes
20395 else
20396 echo "$as_me: failed program was:" >&5
20397 sed 's/^/| /' conftest.$ac_ext >&5
20399 cat >conftest.$ac_ext <<_ACEOF
20400 /* confdefs.h. */
20401 _ACEOF
20402 cat confdefs.h >>conftest.$ac_ext
20403 cat >>conftest.$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20405 #include <sys/types.h>
20406 #ifdef HAVE_SYS_MTIO_H
20407 #include <sys/mtio.h>
20408 #endif
20411 main ()
20413 static struct mtget ac_aggr;
20414 if (sizeof ac_aggr.mt_blkno)
20415 return 0;
20417 return 0;
20419 _ACEOF
20420 rm -f conftest.$ac_objext
20421 if { (ac_try="$ac_compile"
20422 case "(($ac_try" in
20423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20424 *) ac_try_echo=$ac_try;;
20425 esac
20426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20427 (eval "$ac_compile") 2>conftest.er1
20428 ac_status=$?
20429 grep -v '^ *+' conftest.er1 >conftest.err
20430 rm -f conftest.er1
20431 cat conftest.err >&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); } && {
20434 test -z "$ac_c_werror_flag" ||
20435 test ! -s conftest.err
20436 } && test -s conftest.$ac_objext; then
20437 ac_cv_member_struct_mtget_mt_blkno=yes
20438 else
20439 echo "$as_me: failed program was:" >&5
20440 sed 's/^/| /' conftest.$ac_ext >&5
20442 ac_cv_member_struct_mtget_mt_blkno=no
20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20450 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20451 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20452 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20454 cat >>confdefs.h <<_ACEOF
20455 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20456 _ACEOF
20462 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20463 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20464 if test "${ac_cv_member_struct_option_name+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20466 else
20467 cat >conftest.$ac_ext <<_ACEOF
20468 /* confdefs.h. */
20469 _ACEOF
20470 cat confdefs.h >>conftest.$ac_ext
20471 cat >>conftest.$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20473 #ifdef HAVE_GETOPT_H
20474 #include <getopt.h>
20475 #endif
20478 main ()
20480 static struct option ac_aggr;
20481 if (ac_aggr.name)
20482 return 0;
20484 return 0;
20486 _ACEOF
20487 rm -f conftest.$ac_objext
20488 if { (ac_try="$ac_compile"
20489 case "(($ac_try" in
20490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20491 *) ac_try_echo=$ac_try;;
20492 esac
20493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20494 (eval "$ac_compile") 2>conftest.er1
20495 ac_status=$?
20496 grep -v '^ *+' conftest.er1 >conftest.err
20497 rm -f conftest.er1
20498 cat conftest.err >&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } && {
20501 test -z "$ac_c_werror_flag" ||
20502 test ! -s conftest.err
20503 } && test -s conftest.$ac_objext; then
20504 ac_cv_member_struct_option_name=yes
20505 else
20506 echo "$as_me: failed program was:" >&5
20507 sed 's/^/| /' conftest.$ac_ext >&5
20509 cat >conftest.$ac_ext <<_ACEOF
20510 /* confdefs.h. */
20511 _ACEOF
20512 cat confdefs.h >>conftest.$ac_ext
20513 cat >>conftest.$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 #ifdef HAVE_GETOPT_H
20516 #include <getopt.h>
20517 #endif
20520 main ()
20522 static struct option ac_aggr;
20523 if (sizeof ac_aggr.name)
20524 return 0;
20526 return 0;
20528 _ACEOF
20529 rm -f conftest.$ac_objext
20530 if { (ac_try="$ac_compile"
20531 case "(($ac_try" in
20532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20533 *) ac_try_echo=$ac_try;;
20534 esac
20535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20536 (eval "$ac_compile") 2>conftest.er1
20537 ac_status=$?
20538 grep -v '^ *+' conftest.er1 >conftest.err
20539 rm -f conftest.er1
20540 cat conftest.err >&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); } && {
20543 test -z "$ac_c_werror_flag" ||
20544 test ! -s conftest.err
20545 } && test -s conftest.$ac_objext; then
20546 ac_cv_member_struct_option_name=yes
20547 else
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.$ac_ext >&5
20551 ac_cv_member_struct_option_name=no
20554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20559 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20560 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20561 if test $ac_cv_member_struct_option_name = yes; then
20563 cat >>confdefs.h <<_ACEOF
20564 #define HAVE_STRUCT_OPTION_NAME 1
20565 _ACEOF
20571 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20572 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20573 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20574 echo $ECHO_N "(cached) $ECHO_C" >&6
20575 else
20576 cat >conftest.$ac_ext <<_ACEOF
20577 /* confdefs.h. */
20578 _ACEOF
20579 cat confdefs.h >>conftest.$ac_ext
20580 cat >>conftest.$ac_ext <<_ACEOF
20581 /* end confdefs.h. */
20582 $ac_includes_default
20584 main ()
20586 static struct stat ac_aggr;
20587 if (ac_aggr.st_blocks)
20588 return 0;
20590 return 0;
20592 _ACEOF
20593 rm -f conftest.$ac_objext
20594 if { (ac_try="$ac_compile"
20595 case "(($ac_try" in
20596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20597 *) ac_try_echo=$ac_try;;
20598 esac
20599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20600 (eval "$ac_compile") 2>conftest.er1
20601 ac_status=$?
20602 grep -v '^ *+' conftest.er1 >conftest.err
20603 rm -f conftest.er1
20604 cat conftest.err >&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); } && {
20607 test -z "$ac_c_werror_flag" ||
20608 test ! -s conftest.err
20609 } && test -s conftest.$ac_objext; then
20610 ac_cv_member_struct_stat_st_blocks=yes
20611 else
20612 echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.$ac_ext >&5
20615 cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h. */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 $ac_includes_default
20623 main ()
20625 static struct stat ac_aggr;
20626 if (sizeof ac_aggr.st_blocks)
20627 return 0;
20629 return 0;
20631 _ACEOF
20632 rm -f conftest.$ac_objext
20633 if { (ac_try="$ac_compile"
20634 case "(($ac_try" in
20635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20636 *) ac_try_echo=$ac_try;;
20637 esac
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_compile") 2>conftest.er1
20640 ac_status=$?
20641 grep -v '^ *+' conftest.er1 >conftest.err
20642 rm -f conftest.er1
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } && {
20646 test -z "$ac_c_werror_flag" ||
20647 test ! -s conftest.err
20648 } && test -s conftest.$ac_objext; then
20649 ac_cv_member_struct_stat_st_blocks=yes
20650 else
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.$ac_ext >&5
20654 ac_cv_member_struct_stat_st_blocks=no
20657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20662 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20663 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20664 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20666 cat >>confdefs.h <<_ACEOF
20667 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20668 _ACEOF
20674 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20675 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20676 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20677 echo $ECHO_N "(cached) $ECHO_C" >&6
20678 else
20679 cat >conftest.$ac_ext <<_ACEOF
20680 /* confdefs.h. */
20681 _ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 #ifdef HAVE_SYS_TYPES_H
20686 #include <sys/types.h>
20687 #endif
20688 #ifdef HAVE_NETINET_IN_H
20689 #include <netinet/in.h>
20690 #endif
20693 main ()
20695 static struct sockaddr_in6 ac_aggr;
20696 if (ac_aggr.sin6_scope_id)
20697 return 0;
20699 return 0;
20701 _ACEOF
20702 rm -f conftest.$ac_objext
20703 if { (ac_try="$ac_compile"
20704 case "(($ac_try" in
20705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20706 *) ac_try_echo=$ac_try;;
20707 esac
20708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20709 (eval "$ac_compile") 2>conftest.er1
20710 ac_status=$?
20711 grep -v '^ *+' conftest.er1 >conftest.err
20712 rm -f conftest.er1
20713 cat conftest.err >&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } && {
20716 test -z "$ac_c_werror_flag" ||
20717 test ! -s conftest.err
20718 } && test -s conftest.$ac_objext; then
20719 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20720 else
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 cat >conftest.$ac_ext <<_ACEOF
20725 /* confdefs.h. */
20726 _ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #ifdef HAVE_SYS_TYPES_H
20731 #include <sys/types.h>
20732 #endif
20733 #ifdef HAVE_NETINET_IN_H
20734 #include <netinet/in.h>
20735 #endif
20738 main ()
20740 static struct sockaddr_in6 ac_aggr;
20741 if (sizeof ac_aggr.sin6_scope_id)
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_sockaddr_in6_sin6_scope_id=yes
20765 else
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20769 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20777 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20778 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20779 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20781 cat >>confdefs.h <<_ACEOF
20782 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20783 _ACEOF
20789 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20790 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20791 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20792 echo $ECHO_N "(cached) $ECHO_C" >&6
20793 else
20794 cat >conftest.$ac_ext <<_ACEOF
20795 /* confdefs.h. */
20796 _ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 #ifdef HAVE_SYS_TYPES_H
20801 #include <sys/types.h>
20802 #endif
20803 #ifdef HAVE_NETINET_IN_H
20804 # include <netinet/in.h>
20805 #endif
20806 #ifdef HAVE_ARPA_NAMESER_H
20807 # include <arpa/nameser.h>
20808 #endif
20811 main ()
20813 static ns_msg ac_aggr;
20814 if (ac_aggr._msg_ptr)
20815 return 0;
20817 return 0;
20819 _ACEOF
20820 rm -f conftest.$ac_objext
20821 if { (ac_try="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20825 esac
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20828 ac_status=$?
20829 grep -v '^ *+' conftest.er1 >conftest.err
20830 rm -f conftest.er1
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20837 ac_cv_member_ns_msg__msg_ptr=yes
20838 else
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20842 cat >conftest.$ac_ext <<_ACEOF
20843 /* confdefs.h. */
20844 _ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 #ifdef HAVE_SYS_TYPES_H
20849 #include <sys/types.h>
20850 #endif
20851 #ifdef HAVE_NETINET_IN_H
20852 # include <netinet/in.h>
20853 #endif
20854 #ifdef HAVE_ARPA_NAMESER_H
20855 # include <arpa/nameser.h>
20856 #endif
20859 main ()
20861 static ns_msg ac_aggr;
20862 if (sizeof ac_aggr._msg_ptr)
20863 return 0;
20865 return 0;
20867 _ACEOF
20868 rm -f conftest.$ac_objext
20869 if { (ac_try="$ac_compile"
20870 case "(($ac_try" in
20871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20872 *) ac_try_echo=$ac_try;;
20873 esac
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_compile") 2>conftest.er1
20876 ac_status=$?
20877 grep -v '^ *+' conftest.er1 >conftest.err
20878 rm -f conftest.er1
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } && {
20882 test -z "$ac_c_werror_flag" ||
20883 test ! -s conftest.err
20884 } && test -s conftest.$ac_objext; then
20885 ac_cv_member_ns_msg__msg_ptr=yes
20886 else
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.$ac_ext >&5
20890 ac_cv_member_ns_msg__msg_ptr=no
20893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20898 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20899 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20900 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20902 cat >>confdefs.h <<_ACEOF
20903 #define HAVE_NS_MSG__MSG_PTR 1
20904 _ACEOF
20910 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20911 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20912 if test "${ac_cv_have_timezone+set}" = set; then
20913 echo $ECHO_N "(cached) $ECHO_C" >&6
20914 else
20915 cat >conftest.$ac_ext <<_ACEOF
20916 /* confdefs.h. */
20917 _ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20921 #include <time.h>
20923 main ()
20925 timezone = 1
20927 return 0;
20929 _ACEOF
20930 rm -f conftest.$ac_objext conftest$ac_exeext
20931 if { (ac_try="$ac_link"
20932 case "(($ac_try" in
20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;;
20935 esac
20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_link") 2>conftest.er1
20938 ac_status=$?
20939 grep -v '^ *+' conftest.er1 >conftest.err
20940 rm -f conftest.er1
20941 cat conftest.err >&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && {
20944 test -z "$ac_c_werror_flag" ||
20945 test ! -s conftest.err
20946 } && test -s conftest$ac_exeext &&
20947 $as_test_x conftest$ac_exeext; then
20948 ac_cv_have_timezone="yes"
20949 else
20950 echo "$as_me: failed program was:" >&5
20951 sed 's/^/| /' conftest.$ac_ext >&5
20953 ac_cv_have_timezone="no"
20956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20957 conftest$ac_exeext conftest.$ac_ext
20959 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20960 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20961 if test "$ac_cv_have_timezone" = "yes"
20962 then
20964 cat >>confdefs.h <<\_ACEOF
20965 #define HAVE_TIMEZONE 1
20966 _ACEOF
20969 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20970 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20971 if test "${ac_cv_have_daylight+set}" = set; then
20972 echo $ECHO_N "(cached) $ECHO_C" >&6
20973 else
20974 cat >conftest.$ac_ext <<_ACEOF
20975 /* confdefs.h. */
20976 _ACEOF
20977 cat confdefs.h >>conftest.$ac_ext
20978 cat >>conftest.$ac_ext <<_ACEOF
20979 /* end confdefs.h. */
20980 #include <time.h>
20982 main ()
20984 daylight = 1
20986 return 0;
20988 _ACEOF
20989 rm -f conftest.$ac_objext conftest$ac_exeext
20990 if { (ac_try="$ac_link"
20991 case "(($ac_try" in
20992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20993 *) ac_try_echo=$ac_try;;
20994 esac
20995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20996 (eval "$ac_link") 2>conftest.er1
20997 ac_status=$?
20998 grep -v '^ *+' conftest.er1 >conftest.err
20999 rm -f conftest.er1
21000 cat conftest.err >&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } && {
21003 test -z "$ac_c_werror_flag" ||
21004 test ! -s conftest.err
21005 } && test -s conftest$ac_exeext &&
21006 $as_test_x conftest$ac_exeext; then
21007 ac_cv_have_daylight="yes"
21008 else
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21012 ac_cv_have_daylight="no"
21015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21016 conftest$ac_exeext conftest.$ac_ext
21018 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21019 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21020 if test "$ac_cv_have_daylight" = "yes"
21021 then
21023 cat >>confdefs.h <<\_ACEOF
21024 #define HAVE_DAYLIGHT 1
21025 _ACEOF
21030 case $host_cpu in
21031 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21032 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21033 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21034 echo $ECHO_N "(cached) $ECHO_C" >&6
21035 else
21036 cat >conftest.$ac_ext <<_ACEOF
21037 /* confdefs.h. */
21038 _ACEOF
21039 cat confdefs.h >>conftest.$ac_ext
21040 cat >>conftest.$ac_ext <<_ACEOF
21041 /* end confdefs.h. */
21042 #ifndef __i386__
21044 #endif
21045 _ACEOF
21046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21047 $EGREP "yes" >/dev/null 2>&1; then
21048 ac_cv_cpp_def___i386__=yes
21049 else
21050 ac_cv_cpp_def___i386__=no
21052 rm -f conftest*
21055 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21056 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21057 if test $ac_cv_cpp_def___i386__ = yes; then
21058 CFLAGS="$CFLAGS -D__i386__"
21059 LINTFLAGS="$LINTFLAGS -D__i386__"
21062 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21063 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21064 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 else
21067 cat >conftest.$ac_ext <<_ACEOF
21068 /* confdefs.h. */
21069 _ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 #ifndef __x86_64__
21075 #endif
21076 _ACEOF
21077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21078 $EGREP "yes" >/dev/null 2>&1; then
21079 ac_cv_cpp_def___x86_64__=yes
21080 else
21081 ac_cv_cpp_def___x86_64__=no
21083 rm -f conftest*
21086 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21087 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21088 if test $ac_cv_cpp_def___x86_64__ = yes; then
21089 CFLAGS="$CFLAGS -D__x86_64__"
21090 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21093 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21094 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21095 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21097 else
21098 cat >conftest.$ac_ext <<_ACEOF
21099 /* confdefs.h. */
21100 _ACEOF
21101 cat confdefs.h >>conftest.$ac_ext
21102 cat >>conftest.$ac_ext <<_ACEOF
21103 /* end confdefs.h. */
21104 #ifndef __ALPHA__
21106 #endif
21107 _ACEOF
21108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21109 $EGREP "yes" >/dev/null 2>&1; then
21110 ac_cv_cpp_def___ALPHA__=yes
21111 else
21112 ac_cv_cpp_def___ALPHA__=no
21114 rm -f conftest*
21117 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21118 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21119 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21120 CFLAGS="$CFLAGS -D__ALPHA__"
21121 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21124 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21125 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21126 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21127 echo $ECHO_N "(cached) $ECHO_C" >&6
21128 else
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h. */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 #ifndef __sparc__
21137 #endif
21138 _ACEOF
21139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21140 $EGREP "yes" >/dev/null 2>&1; then
21141 ac_cv_cpp_def___sparc__=yes
21142 else
21143 ac_cv_cpp_def___sparc__=no
21145 rm -f conftest*
21148 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21149 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21150 if test $ac_cv_cpp_def___sparc__ = yes; then
21151 CFLAGS="$CFLAGS -D__sparc__"
21152 LINTFLAGS="$LINTFLAGS -D__sparc__"
21155 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21156 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21157 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 else
21160 cat >conftest.$ac_ext <<_ACEOF
21161 /* confdefs.h. */
21162 _ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 #ifndef __powerpc__
21168 #endif
21169 _ACEOF
21170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21171 $EGREP "yes" >/dev/null 2>&1; then
21172 ac_cv_cpp_def___powerpc__=yes
21173 else
21174 ac_cv_cpp_def___powerpc__=no
21176 rm -f conftest*
21179 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21180 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21181 if test $ac_cv_cpp_def___powerpc__ = yes; then
21182 CFLAGS="$CFLAGS -D__powerpc__"
21183 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21186 esac
21188 case $host_vendor in
21189 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21190 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21191 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21192 echo $ECHO_N "(cached) $ECHO_C" >&6
21193 else
21194 cat >conftest.$ac_ext <<_ACEOF
21195 /* confdefs.h. */
21196 _ACEOF
21197 cat confdefs.h >>conftest.$ac_ext
21198 cat >>conftest.$ac_ext <<_ACEOF
21199 /* end confdefs.h. */
21200 #ifndef __sun__
21202 #endif
21203 _ACEOF
21204 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21205 $EGREP "yes" >/dev/null 2>&1; then
21206 ac_cv_cpp_def___sun__=yes
21207 else
21208 ac_cv_cpp_def___sun__=no
21210 rm -f conftest*
21213 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21214 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21215 if test $ac_cv_cpp_def___sun__ = yes; then
21216 CFLAGS="$CFLAGS -D__sun__"
21217 LINTFLAGS="$LINTFLAGS -D__sun__"
21220 esac
21223 DEPENDENCIES="### Dependencies:
21225 .INIT: Makefile
21226 .BEGIN: Makefile
21227 Makefile: dummy
21228 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21230 \$(OBJS): \$(IDL_GEN_HEADERS)
21231 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21232 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21233 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21239 ac_config_commands="$ac_config_commands include/stamp-h"
21242 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21244 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21246 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21248 ac_config_commands="$ac_config_commands dlls/user32/resources"
21250 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21252 ac_config_commands="$ac_config_commands include/wine"
21255 MAKE_RULES=Make.rules
21258 MAKE_DLL_RULES=dlls/Makedll.rules
21261 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21264 MAKE_TEST_RULES=dlls/Maketest.rules
21267 MAKE_PROG_RULES=programs/Makeprog.rules
21270 ac_config_files="$ac_config_files Make.rules"
21272 ac_config_files="$ac_config_files dlls/Makedll.rules"
21274 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21276 ac_config_files="$ac_config_files dlls/Maketest.rules"
21278 ac_config_files="$ac_config_files programs/Makeprog.rules"
21280 ac_config_files="$ac_config_files Makefile"
21282 ac_config_files="$ac_config_files dlls/Makefile"
21284 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21286 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21288 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21290 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21292 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21294 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21296 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21298 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21300 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21302 ac_config_files="$ac_config_files dlls/atl/Makefile"
21304 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21306 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21308 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21310 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21312 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21314 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21316 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21318 ac_config_files="$ac_config_files dlls/cards/Makefile"
21320 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21322 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21324 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21326 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21328 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21330 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21332 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21334 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21336 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21338 ac_config_files="$ac_config_files dlls/credui/Makefile"
21340 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21342 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21344 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21346 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21348 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21350 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21352 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21354 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21356 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21358 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21360 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21362 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21364 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21366 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21368 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21370 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21372 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21374 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21376 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21378 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21380 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21382 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21384 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21386 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21388 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21390 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21392 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21394 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21396 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21398 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21400 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21402 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21404 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21406 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21408 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21410 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21412 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21414 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21416 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21418 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21420 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21422 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21424 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21426 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21428 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21430 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21432 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21434 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21436 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21438 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21440 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21442 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21444 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21446 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21448 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21450 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21452 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21454 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21456 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21458 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21460 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21462 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21464 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21466 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21468 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21470 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21472 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21474 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21476 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21478 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21480 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21482 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21484 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21486 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21488 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21490 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21492 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21494 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21496 ac_config_files="$ac_config_files dlls/hal/Makefile"
21498 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21500 ac_config_files="$ac_config_files dlls/hid/Makefile"
21502 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21504 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21506 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21508 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21510 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21512 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21514 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21516 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21518 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21520 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21522 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21524 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21526 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21528 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21530 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21532 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21534 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21536 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21538 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21540 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21542 ac_config_files="$ac_config_files dlls/itss/Makefile"
21544 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21546 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21548 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21550 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21552 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21554 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21556 ac_config_files="$ac_config_files dlls/localui/Makefile"
21558 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21560 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21562 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21564 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21566 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21568 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21570 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21572 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21574 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21576 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21578 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21580 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21582 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21584 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21586 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21588 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21590 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21592 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21594 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21596 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21598 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21600 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21602 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21604 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21606 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21608 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21610 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21612 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21614 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21616 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21618 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21620 ac_config_files="$ac_config_files dlls/msi/Makefile"
21622 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21624 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21626 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21628 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21630 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21632 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21634 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21636 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21638 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21640 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21642 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21644 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21646 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21648 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21650 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21652 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21654 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21656 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21658 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21660 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21662 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21664 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21666 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21668 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21670 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21672 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21674 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21676 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21678 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21680 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21682 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21684 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21686 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21688 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21690 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21692 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21694 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21696 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21698 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21700 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21702 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21704 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21706 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21708 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21710 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21712 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21714 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21716 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21718 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21720 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21722 ac_config_files="$ac_config_files dlls/printui/Makefile"
21724 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21726 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21728 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21730 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21732 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21734 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21736 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21738 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21740 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21742 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21744 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21746 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21748 ac_config_files="$ac_config_files dlls/query/Makefile"
21750 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21752 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21754 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21756 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21758 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21760 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21762 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21764 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21766 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21768 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21770 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21772 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21774 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21776 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21778 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21780 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21782 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21784 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21786 ac_config_files="$ac_config_files dlls/security/Makefile"
21788 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21790 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21792 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21794 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21796 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21798 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21800 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21802 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21804 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21806 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21808 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21810 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21812 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21814 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21816 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21818 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21820 ac_config_files="$ac_config_files dlls/slc/Makefile"
21822 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21824 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21826 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21828 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21830 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21832 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21834 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21836 ac_config_files="$ac_config_files dlls/sti/Makefile"
21838 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21840 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21842 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21844 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21846 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21848 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21850 ac_config_files="$ac_config_files dlls/url/Makefile"
21852 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21854 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21856 ac_config_files="$ac_config_files dlls/user32/Makefile"
21858 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21860 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21862 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21864 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21866 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21868 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21870 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21872 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21874 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21876 ac_config_files="$ac_config_files dlls/version/Makefile"
21878 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21880 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21882 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21884 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21886 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21888 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21890 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21892 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21894 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21896 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21898 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21900 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21902 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21904 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21906 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21908 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21910 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21912 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21914 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21916 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21918 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21920 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21922 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21924 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21926 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21928 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21930 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21932 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21934 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21936 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21938 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21940 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21942 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21944 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21946 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21948 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21950 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21952 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21954 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21956 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21958 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21960 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21962 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21964 ac_config_files="$ac_config_files documentation/Makefile"
21966 ac_config_files="$ac_config_files fonts/Makefile"
21968 ac_config_files="$ac_config_files include/Makefile"
21970 ac_config_files="$ac_config_files libs/Makefile"
21972 ac_config_files="$ac_config_files libs/port/Makefile"
21974 ac_config_files="$ac_config_files libs/wine/Makefile"
21976 ac_config_files="$ac_config_files libs/wpp/Makefile"
21978 ac_config_files="$ac_config_files loader/Makefile"
21980 ac_config_files="$ac_config_files programs/Makefile"
21982 ac_config_files="$ac_config_files programs/clock/Makefile"
21984 ac_config_files="$ac_config_files programs/cmd/Makefile"
21986 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21988 ac_config_files="$ac_config_files programs/control/Makefile"
21990 ac_config_files="$ac_config_files programs/eject/Makefile"
21992 ac_config_files="$ac_config_files programs/expand/Makefile"
21994 ac_config_files="$ac_config_files programs/explorer/Makefile"
21996 ac_config_files="$ac_config_files programs/hh/Makefile"
21998 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22000 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22002 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22004 ac_config_files="$ac_config_files programs/net/Makefile"
22006 ac_config_files="$ac_config_files programs/notepad/Makefile"
22008 ac_config_files="$ac_config_files programs/oleview/Makefile"
22010 ac_config_files="$ac_config_files programs/progman/Makefile"
22012 ac_config_files="$ac_config_files programs/reg/Makefile"
22014 ac_config_files="$ac_config_files programs/regedit/Makefile"
22016 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22018 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22020 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22022 ac_config_files="$ac_config_files programs/secedit/Makefile"
22024 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22026 ac_config_files="$ac_config_files programs/start/Makefile"
22028 ac_config_files="$ac_config_files programs/svchost/Makefile"
22030 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22032 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22034 ac_config_files="$ac_config_files programs/view/Makefile"
22036 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22038 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22040 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22042 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22044 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22046 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22048 ac_config_files="$ac_config_files programs/winefile/Makefile"
22050 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22052 ac_config_files="$ac_config_files programs/winemine/Makefile"
22054 ac_config_files="$ac_config_files programs/winepath/Makefile"
22056 ac_config_files="$ac_config_files programs/winetest/Makefile"
22058 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22060 ac_config_files="$ac_config_files programs/winhelp/Makefile"
22062 ac_config_files="$ac_config_files programs/winver/Makefile"
22064 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22066 ac_config_files="$ac_config_files programs/write/Makefile"
22068 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22070 ac_config_files="$ac_config_files server/Makefile"
22072 ac_config_files="$ac_config_files tools/Makefile"
22074 ac_config_files="$ac_config_files tools/widl/Makefile"
22076 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22078 ac_config_files="$ac_config_files tools/winedump/Makefile"
22080 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22082 ac_config_files="$ac_config_files tools/wmc/Makefile"
22084 ac_config_files="$ac_config_files tools/wrc/Makefile"
22087 cat >confcache <<\_ACEOF
22088 # This file is a shell script that caches the results of configure
22089 # tests run on this system so they can be shared between configure
22090 # scripts and configure runs, see configure's option --config-cache.
22091 # It is not useful on other systems. If it contains results you don't
22092 # want to keep, you may remove or edit it.
22094 # config.status only pays attention to the cache file if you give it
22095 # the --recheck option to rerun configure.
22097 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22098 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22099 # following values.
22101 _ACEOF
22103 # The following way of writing the cache mishandles newlines in values,
22104 # but we know of no workaround that is simple, portable, and efficient.
22105 # So, we kill variables containing newlines.
22106 # Ultrix sh set writes to stderr and can't be redirected directly,
22107 # and sets the high bit in the cache file unless we assign to the vars.
22109 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22110 eval ac_val=\$$ac_var
22111 case $ac_val in #(
22112 *${as_nl}*)
22113 case $ac_var in #(
22114 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22115 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22116 esac
22117 case $ac_var in #(
22118 _ | IFS | as_nl) ;; #(
22119 *) $as_unset $ac_var ;;
22120 esac ;;
22121 esac
22122 done
22124 (set) 2>&1 |
22125 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22126 *${as_nl}ac_space=\ *)
22127 # `set' does not quote correctly, so add quotes (double-quote
22128 # substitution turns \\\\ into \\, and sed turns \\ into \).
22129 sed -n \
22130 "s/'/'\\\\''/g;
22131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22132 ;; #(
22134 # `set' quotes correctly as required by POSIX, so do not add quotes.
22135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22137 esac |
22138 sort
22140 sed '
22141 /^ac_cv_env_/b end
22142 t clear
22143 :clear
22144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22145 t end
22146 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22147 :end' >>confcache
22148 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22149 if test -w "$cache_file"; then
22150 test "x$cache_file" != "x/dev/null" &&
22151 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22152 echo "$as_me: updating cache $cache_file" >&6;}
22153 cat confcache >$cache_file
22154 else
22155 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22156 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22159 rm -f confcache
22161 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22162 # Let make expand exec_prefix.
22163 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22165 DEFS=-DHAVE_CONFIG_H
22167 ac_libobjs=
22168 ac_ltlibobjs=
22169 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22170 # 1. Remove the extension, and $U if already installed.
22171 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22172 ac_i=`echo "$ac_i" | sed "$ac_script"`
22173 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22174 # will be set to the directory where LIBOBJS objects are built.
22175 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22176 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22177 done
22178 LIBOBJS=$ac_libobjs
22180 LTLIBOBJS=$ac_ltlibobjs
22184 : ${CONFIG_STATUS=./config.status}
22185 ac_clean_files_save=$ac_clean_files
22186 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22187 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22188 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22189 cat >$CONFIG_STATUS <<_ACEOF
22190 #! $SHELL
22191 # Generated by $as_me.
22192 # Run this file to recreate the current configuration.
22193 # Compiler output produced by configure, useful for debugging
22194 # configure, is in config.log if it exists.
22196 debug=false
22197 ac_cs_recheck=false
22198 ac_cs_silent=false
22199 SHELL=\${CONFIG_SHELL-$SHELL}
22200 _ACEOF
22202 cat >>$CONFIG_STATUS <<\_ACEOF
22203 ## --------------------- ##
22204 ## M4sh Initialization. ##
22205 ## --------------------- ##
22207 # Be more Bourne compatible
22208 DUALCASE=1; export DUALCASE # for MKS sh
22209 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22210 emulate sh
22211 NULLCMD=:
22212 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22213 # is contrary to our usage. Disable this feature.
22214 alias -g '${1+"$@"}'='"$@"'
22215 setopt NO_GLOB_SUBST
22216 else
22217 case `(set -o) 2>/dev/null` in
22218 *posix*) set -o posix ;;
22219 esac
22226 # PATH needs CR
22227 # Avoid depending upon Character Ranges.
22228 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22229 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22230 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22231 as_cr_digits='0123456789'
22232 as_cr_alnum=$as_cr_Letters$as_cr_digits
22234 # The user is always right.
22235 if test "${PATH_SEPARATOR+set}" != set; then
22236 echo "#! /bin/sh" >conf$$.sh
22237 echo "exit 0" >>conf$$.sh
22238 chmod +x conf$$.sh
22239 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22240 PATH_SEPARATOR=';'
22241 else
22242 PATH_SEPARATOR=:
22244 rm -f conf$$.sh
22247 # Support unset when possible.
22248 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22249 as_unset=unset
22250 else
22251 as_unset=false
22255 # IFS
22256 # We need space, tab and new line, in precisely that order. Quoting is
22257 # there to prevent editors from complaining about space-tab.
22258 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22259 # splitting by setting IFS to empty value.)
22260 as_nl='
22262 IFS=" "" $as_nl"
22264 # Find who we are. Look in the path if we contain no directory separator.
22265 case $0 in
22266 *[\\/]* ) as_myself=$0 ;;
22267 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22268 for as_dir in $PATH
22270 IFS=$as_save_IFS
22271 test -z "$as_dir" && as_dir=.
22272 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22273 done
22274 IFS=$as_save_IFS
22277 esac
22278 # We did not find ourselves, most probably we were run as `sh COMMAND'
22279 # in which case we are not to be found in the path.
22280 if test "x$as_myself" = x; then
22281 as_myself=$0
22283 if test ! -f "$as_myself"; then
22284 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22285 { (exit 1); exit 1; }
22288 # Work around bugs in pre-3.0 UWIN ksh.
22289 for as_var in ENV MAIL MAILPATH
22290 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22291 done
22292 PS1='$ '
22293 PS2='> '
22294 PS4='+ '
22296 # NLS nuisances.
22297 for as_var in \
22298 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22299 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22300 LC_TELEPHONE LC_TIME
22302 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22303 eval $as_var=C; export $as_var
22304 else
22305 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22307 done
22309 # Required to use basename.
22310 if expr a : '\(a\)' >/dev/null 2>&1 &&
22311 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22312 as_expr=expr
22313 else
22314 as_expr=false
22317 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22318 as_basename=basename
22319 else
22320 as_basename=false
22324 # Name of the executable.
22325 as_me=`$as_basename -- "$0" ||
22326 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22327 X"$0" : 'X\(//\)$' \| \
22328 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22329 echo X/"$0" |
22330 sed '/^.*\/\([^/][^/]*\)\/*$/{
22331 s//\1/
22334 /^X\/\(\/\/\)$/{
22335 s//\1/
22338 /^X\/\(\/\).*/{
22339 s//\1/
22342 s/.*/./; q'`
22344 # CDPATH.
22345 $as_unset CDPATH
22349 as_lineno_1=$LINENO
22350 as_lineno_2=$LINENO
22351 test "x$as_lineno_1" != "x$as_lineno_2" &&
22352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22354 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22355 # uniformly replaced by the line number. The first 'sed' inserts a
22356 # line-number line after each line using $LINENO; the second 'sed'
22357 # does the real work. The second script uses 'N' to pair each
22358 # line-number line with the line containing $LINENO, and appends
22359 # trailing '-' during substitution so that $LINENO is not a special
22360 # case at line end.
22361 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22362 # scripts with optimization help from Paolo Bonzini. Blame Lee
22363 # E. McMahon (1931-1989) for sed's syntax. :-)
22364 sed -n '
22366 /[$]LINENO/=
22367 ' <$as_myself |
22368 sed '
22369 s/[$]LINENO.*/&-/
22370 t lineno
22372 :lineno
22374 :loop
22375 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22376 t loop
22377 s/-\n.*//
22378 ' >$as_me.lineno &&
22379 chmod +x "$as_me.lineno" ||
22380 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22381 { (exit 1); exit 1; }; }
22383 # Don't try to exec as it changes $[0], causing all sort of problems
22384 # (the dirname of $[0] is not the place where we might find the
22385 # original and so on. Autoconf is especially sensitive to this).
22386 . "./$as_me.lineno"
22387 # Exit status is that of the last command.
22388 exit
22392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22393 as_dirname=dirname
22394 else
22395 as_dirname=false
22398 ECHO_C= ECHO_N= ECHO_T=
22399 case `echo -n x` in
22400 -n*)
22401 case `echo 'x\c'` in
22402 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22403 *) ECHO_C='\c';;
22404 esac;;
22406 ECHO_N='-n';;
22407 esac
22409 if expr a : '\(a\)' >/dev/null 2>&1 &&
22410 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22411 as_expr=expr
22412 else
22413 as_expr=false
22416 rm -f conf$$ conf$$.exe conf$$.file
22417 if test -d conf$$.dir; then
22418 rm -f conf$$.dir/conf$$.file
22419 else
22420 rm -f conf$$.dir
22421 mkdir conf$$.dir
22423 echo >conf$$.file
22424 if ln -s conf$$.file conf$$ 2>/dev/null; then
22425 as_ln_s='ln -s'
22426 # ... but there are two gotchas:
22427 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22428 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22429 # In both cases, we have to default to `cp -p'.
22430 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22431 as_ln_s='cp -p'
22432 elif ln conf$$.file conf$$ 2>/dev/null; then
22433 as_ln_s=ln
22434 else
22435 as_ln_s='cp -p'
22437 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22438 rmdir conf$$.dir 2>/dev/null
22440 if mkdir -p . 2>/dev/null; then
22441 as_mkdir_p=:
22442 else
22443 test -d ./-p && rmdir ./-p
22444 as_mkdir_p=false
22447 if test -x / >/dev/null 2>&1; then
22448 as_test_x='test -x'
22449 else
22450 if ls -dL / >/dev/null 2>&1; then
22451 as_ls_L_option=L
22452 else
22453 as_ls_L_option=
22455 as_test_x='
22456 eval sh -c '\''
22457 if test -d "$1"; then
22458 test -d "$1/.";
22459 else
22460 case $1 in
22461 -*)set "./$1";;
22462 esac;
22463 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22464 ???[sx]*):;;*)false;;esac;fi
22465 '\'' sh
22468 as_executable_p=$as_test_x
22470 # Sed expression to map a string onto a valid CPP name.
22471 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22473 # Sed expression to map a string onto a valid variable name.
22474 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22477 exec 6>&1
22479 # Save the log message, to keep $[0] and so on meaningful, and to
22480 # report actual input values of CONFIG_FILES etc. instead of their
22481 # values after options handling.
22482 ac_log="
22483 This file was extended by Wine $as_me 0.9.57, which was
22484 generated by GNU Autoconf 2.61. Invocation command line was
22486 CONFIG_FILES = $CONFIG_FILES
22487 CONFIG_HEADERS = $CONFIG_HEADERS
22488 CONFIG_LINKS = $CONFIG_LINKS
22489 CONFIG_COMMANDS = $CONFIG_COMMANDS
22490 $ $0 $@
22492 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22495 _ACEOF
22497 cat >>$CONFIG_STATUS <<_ACEOF
22498 # Files that config.status was made for.
22499 config_files="$ac_config_files"
22500 config_headers="$ac_config_headers"
22501 config_commands="$ac_config_commands"
22503 _ACEOF
22505 cat >>$CONFIG_STATUS <<\_ACEOF
22506 ac_cs_usage="\
22507 \`$as_me' instantiates files from templates according to the
22508 current configuration.
22510 Usage: $0 [OPTIONS] [FILE]...
22512 -h, --help print this help, then exit
22513 -V, --version print version number and configuration settings, then exit
22514 -q, --quiet do not print progress messages
22515 -d, --debug don't remove temporary files
22516 --recheck update $as_me by reconfiguring in the same conditions
22517 --file=FILE[:TEMPLATE]
22518 instantiate the configuration file FILE
22519 --header=FILE[:TEMPLATE]
22520 instantiate the configuration header FILE
22522 Configuration files:
22523 $config_files
22525 Configuration headers:
22526 $config_headers
22528 Configuration commands:
22529 $config_commands
22531 Report bugs to <bug-autoconf@gnu.org>."
22533 _ACEOF
22534 cat >>$CONFIG_STATUS <<_ACEOF
22535 ac_cs_version="\\
22536 Wine config.status 0.9.57
22537 configured by $0, generated by GNU Autoconf 2.61,
22538 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22540 Copyright (C) 2006 Free Software Foundation, Inc.
22541 This config.status script is free software; the Free Software Foundation
22542 gives unlimited permission to copy, distribute and modify it."
22544 ac_pwd='$ac_pwd'
22545 srcdir='$srcdir'
22546 INSTALL='$INSTALL'
22547 _ACEOF
22549 cat >>$CONFIG_STATUS <<\_ACEOF
22550 # If no file are specified by the user, then we need to provide default
22551 # value. By we need to know if files were specified by the user.
22552 ac_need_defaults=:
22553 while test $# != 0
22555 case $1 in
22556 --*=*)
22557 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22558 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22559 ac_shift=:
22562 ac_option=$1
22563 ac_optarg=$2
22564 ac_shift=shift
22566 esac
22568 case $ac_option in
22569 # Handling of the options.
22570 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22571 ac_cs_recheck=: ;;
22572 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22573 echo "$ac_cs_version"; exit ;;
22574 --debug | --debu | --deb | --de | --d | -d )
22575 debug=: ;;
22576 --file | --fil | --fi | --f )
22577 $ac_shift
22578 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22579 ac_need_defaults=false;;
22580 --header | --heade | --head | --hea )
22581 $ac_shift
22582 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22583 ac_need_defaults=false;;
22584 --he | --h)
22585 # Conflict between --help and --header
22586 { echo "$as_me: error: ambiguous option: $1
22587 Try \`$0 --help' for more information." >&2
22588 { (exit 1); exit 1; }; };;
22589 --help | --hel | -h )
22590 echo "$ac_cs_usage"; exit ;;
22591 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22592 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22593 ac_cs_silent=: ;;
22595 # This is an error.
22596 -*) { echo "$as_me: error: unrecognized option: $1
22597 Try \`$0 --help' for more information." >&2
22598 { (exit 1); exit 1; }; } ;;
22600 *) ac_config_targets="$ac_config_targets $1"
22601 ac_need_defaults=false ;;
22603 esac
22604 shift
22605 done
22607 ac_configure_extra_args=
22609 if $ac_cs_silent; then
22610 exec 6>/dev/null
22611 ac_configure_extra_args="$ac_configure_extra_args --silent"
22614 _ACEOF
22615 cat >>$CONFIG_STATUS <<_ACEOF
22616 if \$ac_cs_recheck; then
22617 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22618 CONFIG_SHELL=$SHELL
22619 export CONFIG_SHELL
22620 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22623 _ACEOF
22624 cat >>$CONFIG_STATUS <<\_ACEOF
22625 exec 5>>config.log
22627 echo
22628 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22629 ## Running $as_me. ##
22630 _ASBOX
22631 echo "$ac_log"
22632 } >&5
22634 _ACEOF
22635 cat >>$CONFIG_STATUS <<_ACEOF
22636 _ACEOF
22638 cat >>$CONFIG_STATUS <<\_ACEOF
22640 # Handling of arguments.
22641 for ac_config_target in $ac_config_targets
22643 case $ac_config_target in
22644 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22645 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22646 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22647 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22648 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22649 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22650 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22651 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22652 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22653 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22654 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22655 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22656 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22657 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22658 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22659 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22660 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22661 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22662 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22663 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22664 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22665 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22666 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22667 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22668 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22669 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22670 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22671 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22672 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22673 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22674 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22675 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22676 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22677 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22678 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22679 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22680 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22681 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22682 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22683 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22684 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22685 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22686 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22687 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22688 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22689 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22690 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22691 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22692 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22693 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22694 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22695 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22696 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22697 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22698 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22699 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22700 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22701 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22702 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22703 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22704 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22705 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22706 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22707 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22708 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22709 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22710 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22711 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22712 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22713 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22714 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22715 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22716 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22717 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22718 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22719 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22720 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22721 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22722 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22723 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22724 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22725 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22726 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22727 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22728 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22729 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22730 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22731 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22732 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22733 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22734 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22735 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22736 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22737 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22738 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22739 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22740 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22741 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22742 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22743 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22744 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22745 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22746 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22747 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22748 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22749 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22750 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22751 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22752 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22753 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22754 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22755 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22756 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22757 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22758 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22759 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22760 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22761 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22762 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22763 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22764 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22765 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22766 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22767 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22768 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22769 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22770 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22771 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22772 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22773 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22774 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22775 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22776 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22777 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22778 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22779 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22780 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22781 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22782 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22783 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22784 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22785 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22786 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22787 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22788 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22789 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22790 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22791 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22792 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22793 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22794 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22795 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22796 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22797 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22798 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22799 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22800 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22801 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22802 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22803 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22804 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22805 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22806 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22807 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22808 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22809 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22810 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22811 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22812 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22813 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22814 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22815 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22816 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22817 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22818 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22819 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22820 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22821 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22822 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22823 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22824 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22825 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22826 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22827 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22828 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22829 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22830 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22831 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22832 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22833 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22834 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22835 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22836 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22837 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22838 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22839 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22840 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22841 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22842 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22843 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22844 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22845 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22846 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22847 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22848 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22849 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22850 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22851 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22852 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22853 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22854 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22855 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22856 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22857 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22858 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22859 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22860 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22861 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22862 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22863 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22864 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22865 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22866 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22867 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22868 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22869 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22870 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22871 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22872 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22873 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22874 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22875 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22876 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22877 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22878 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22879 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22880 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22881 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22882 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22883 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22884 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22885 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22886 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22887 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22888 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22889 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22890 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22891 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22892 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22893 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22894 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22895 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22896 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22897 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22898 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22899 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22900 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22901 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22902 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22903 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22904 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22905 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22906 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22907 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22908 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22909 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22910 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22911 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22912 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22913 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22914 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22915 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22916 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22917 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22918 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22919 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22920 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22921 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22922 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22923 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22924 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22925 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22926 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22927 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22928 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22929 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22930 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22931 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22932 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22933 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22934 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22935 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22936 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22937 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22938 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22939 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22940 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22941 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22942 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22943 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22944 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22945 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22946 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22947 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22948 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22949 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22950 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22951 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22952 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22953 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22954 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22955 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22956 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22957 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22958 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22959 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22960 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22961 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22962 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22963 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22964 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22965 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22966 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22967 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22968 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22969 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22970 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22971 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22972 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22973 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22974 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22975 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22976 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22977 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22978 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22979 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22980 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22981 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22982 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22983 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22984 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22985 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22986 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22987 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22988 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22989 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22990 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22991 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22992 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
22993 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22994 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22995 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22996 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22997 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22998 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22999 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23000 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23001 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23002 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23003 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23004 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23005 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23006 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23007 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23008 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23009 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23010 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23011 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23012 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23013 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23014 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23015 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23016 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23017 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23018 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23019 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23020 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23021 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23022 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23023 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23024 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23025 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23026 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23027 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23028 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23029 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23030 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23031 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23032 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23033 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23034 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23035 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23036 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23037 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23038 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23039 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23040 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23041 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23042 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23043 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23044 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23045 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23046 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23047 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
23048 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23049 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23050 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23051 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23052 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23053 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23054 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23055 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23056 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23057 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23058 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23059 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23061 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23062 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23063 { (exit 1); exit 1; }; };;
23064 esac
23065 done
23068 # If the user did not use the arguments to specify the items to instantiate,
23069 # then the envvar interface is used. Set only those that are not.
23070 # We use the long form for the default assignment because of an extremely
23071 # bizarre bug on SunOS 4.1.3.
23072 if $ac_need_defaults; then
23073 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23074 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23075 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23078 # Have a temporary directory for convenience. Make it in the build tree
23079 # simply because there is no reason against having it here, and in addition,
23080 # creating and moving files from /tmp can sometimes cause problems.
23081 # Hook for its removal unless debugging.
23082 # Note that there is a small window in which the directory will not be cleaned:
23083 # after its creation but before its name has been assigned to `$tmp'.
23084 $debug ||
23086 tmp=
23087 trap 'exit_status=$?
23088 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23090 trap '{ (exit 1); exit 1; }' 1 2 13 15
23092 # Create a (secure) tmp directory for tmp files.
23095 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23096 test -n "$tmp" && test -d "$tmp"
23097 } ||
23099 tmp=./conf$$-$RANDOM
23100 (umask 077 && mkdir "$tmp")
23101 } ||
23103 echo "$me: cannot create a temporary directory in ." >&2
23104 { (exit 1); exit 1; }
23108 # Set up the sed scripts for CONFIG_FILES section.
23111 # No need to generate the scripts if there are no CONFIG_FILES.
23112 # This happens for instance when ./config.status config.h
23113 if test -n "$CONFIG_FILES"; then
23115 _ACEOF
23117 # Create sed commands to just substitute file output variables.
23119 # Remaining file output variables are in a fragment that also has non-file
23120 # output varibles.
23124 ac_delim='%!_!# '
23125 for ac_last_try in false false false false false :; do
23126 cat >conf$$subs.sed <<_ACEOF
23127 SHELL!$SHELL$ac_delim
23128 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23129 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23130 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23131 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23132 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23133 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23134 exec_prefix!$exec_prefix$ac_delim
23135 prefix!$prefix$ac_delim
23136 program_transform_name!$program_transform_name$ac_delim
23137 bindir!$bindir$ac_delim
23138 sbindir!$sbindir$ac_delim
23139 libexecdir!$libexecdir$ac_delim
23140 datarootdir!$datarootdir$ac_delim
23141 datadir!$datadir$ac_delim
23142 sysconfdir!$sysconfdir$ac_delim
23143 sharedstatedir!$sharedstatedir$ac_delim
23144 localstatedir!$localstatedir$ac_delim
23145 includedir!$includedir$ac_delim
23146 oldincludedir!$oldincludedir$ac_delim
23147 docdir!$docdir$ac_delim
23148 infodir!$infodir$ac_delim
23149 htmldir!$htmldir$ac_delim
23150 dvidir!$dvidir$ac_delim
23151 pdfdir!$pdfdir$ac_delim
23152 psdir!$psdir$ac_delim
23153 libdir!$libdir$ac_delim
23154 localedir!$localedir$ac_delim
23155 mandir!$mandir$ac_delim
23156 DEFS!$DEFS$ac_delim
23157 ECHO_C!$ECHO_C$ac_delim
23158 ECHO_N!$ECHO_N$ac_delim
23159 ECHO_T!$ECHO_T$ac_delim
23160 LIBS!$LIBS$ac_delim
23161 build_alias!$build_alias$ac_delim
23162 host_alias!$host_alias$ac_delim
23163 target_alias!$target_alias$ac_delim
23164 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23165 build!$build$ac_delim
23166 build_cpu!$build_cpu$ac_delim
23167 build_vendor!$build_vendor$ac_delim
23168 build_os!$build_os$ac_delim
23169 host!$host$ac_delim
23170 host_cpu!$host_cpu$ac_delim
23171 host_vendor!$host_vendor$ac_delim
23172 host_os!$host_os$ac_delim
23173 WIN16_FILES!$WIN16_FILES$ac_delim
23174 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23175 SET_MAKE!$SET_MAKE$ac_delim
23176 CC!$CC$ac_delim
23177 CFLAGS!$CFLAGS$ac_delim
23178 LDFLAGS!$LDFLAGS$ac_delim
23179 CPPFLAGS!$CPPFLAGS$ac_delim
23180 ac_ct_CC!$ac_ct_CC$ac_delim
23181 EXEEXT!$EXEEXT$ac_delim
23182 OBJEXT!$OBJEXT$ac_delim
23183 CXX!$CXX$ac_delim
23184 CXXFLAGS!$CXXFLAGS$ac_delim
23185 ac_ct_CXX!$ac_ct_CXX$ac_delim
23186 CPPBIN!$CPPBIN$ac_delim
23187 TOOLSDIR!$TOOLSDIR$ac_delim
23188 XMKMF!$XMKMF$ac_delim
23189 CPP!$CPP$ac_delim
23190 X_CFLAGS!$X_CFLAGS$ac_delim
23191 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23192 X_LIBS!$X_LIBS$ac_delim
23193 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23194 FLEX!$FLEX$ac_delim
23195 BISON!$BISON$ac_delim
23196 AS!$AS$ac_delim
23197 ac_ct_AS!$ac_ct_AS$ac_delim
23198 LD!$LD$ac_delim
23199 AR!$AR$ac_delim
23200 ARFLAGS!$ARFLAGS$ac_delim
23201 RANLIB!$RANLIB$ac_delim
23202 STRIP!$STRIP$ac_delim
23203 WINDRES!$WINDRES$ac_delim
23204 LN_S!$LN_S$ac_delim
23205 LN!$LN$ac_delim
23206 GREP!$GREP$ac_delim
23207 EGREP!$EGREP$ac_delim
23208 LDCONFIG!$LDCONFIG$ac_delim
23209 _ACEOF
23211 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23212 break
23213 elif $ac_last_try; then
23214 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23215 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23216 { (exit 1); exit 1; }; }
23217 else
23218 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23220 done
23222 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23223 if test -n "$ac_eof"; then
23224 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23225 ac_eof=`expr $ac_eof + 1`
23228 cat >>$CONFIG_STATUS <<_ACEOF
23229 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23230 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23231 /^[ ]*@MAKE_RULES@[ ]*$/{
23232 r $MAKE_RULES
23235 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23236 r $MAKE_DLL_RULES
23239 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23240 r $MAKE_IMPLIB_RULES
23243 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23244 r $MAKE_TEST_RULES
23247 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23248 r $MAKE_PROG_RULES
23251 _ACEOF
23252 sed '
23253 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23254 s/^/s,@/; s/!/@,|#_!!_#|/
23257 s/'"$ac_delim"'$/,g/; t
23258 s/$/\\/; p
23259 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23260 ' >>$CONFIG_STATUS <conf$$subs.sed
23261 rm -f conf$$subs.sed
23262 cat >>$CONFIG_STATUS <<_ACEOF
23263 CEOF$ac_eof
23264 _ACEOF
23267 ac_delim='%!_!# '
23268 for ac_last_try in false false false false false :; do
23269 cat >conf$$subs.sed <<_ACEOF
23270 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23271 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23272 INSTALL_DATA!$INSTALL_DATA$ac_delim
23273 LINT!$LINT$ac_delim
23274 LINTFLAGS!$LINTFLAGS$ac_delim
23275 FONTFORGE!$FONTFORGE$ac_delim
23276 PKG_CONFIG!$PKG_CONFIG$ac_delim
23277 RSVG!$RSVG$ac_delim
23278 ICOTOOL!$ICOTOOL$ac_delim
23279 PRELINK!$PRELINK$ac_delim
23280 LIBPTHREAD!$LIBPTHREAD$ac_delim
23281 XLIB!$XLIB$ac_delim
23282 XFILES!$XFILES$ac_delim
23283 OPENGLFILES!$OPENGLFILES$ac_delim
23284 GLU32FILES!$GLU32FILES$ac_delim
23285 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23286 QUARTZFILES!$QUARTZFILES$ac_delim
23287 DLLEXT!$DLLEXT$ac_delim
23288 DLLFLAGS!$DLLFLAGS$ac_delim
23289 LDSHARED!$LDSHARED$ac_delim
23290 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23291 LIBEXT!$LIBEXT$ac_delim
23292 IMPLIBEXT!$IMPLIBEXT$ac_delim
23293 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23294 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23295 LDD!$LDD$ac_delim
23296 DLLTOOL!$DLLTOOL$ac_delim
23297 DLLWRAP!$DLLWRAP$ac_delim
23298 MINGWAR!$MINGWAR$ac_delim
23299 SECURITYLIB!$SECURITYLIB$ac_delim
23300 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23301 IOKITLIB!$IOKITLIB$ac_delim
23302 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23303 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23304 COREAUDIO!$COREAUDIO$ac_delim
23305 CARBONLIB!$CARBONLIB$ac_delim
23306 CROSSTEST!$CROSSTEST$ac_delim
23307 CROSSCC!$CROSSCC$ac_delim
23308 CROSSWINDRES!$CROSSWINDRES$ac_delim
23309 NASLIBS!$NASLIBS$ac_delim
23310 XML2LIBS!$XML2LIBS$ac_delim
23311 XML2INCL!$XML2INCL$ac_delim
23312 XSLTLIBS!$XSLTLIBS$ac_delim
23313 XSLTINCL!$XSLTINCL$ac_delim
23314 HALINCL!$HALINCL$ac_delim
23315 sane_devel!$sane_devel$ac_delim
23316 SANEINCL!$SANEINCL$ac_delim
23317 gphoto2_devel!$gphoto2_devel$ac_delim
23318 gphoto2port_devel!$gphoto2port_devel$ac_delim
23319 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23320 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23321 RESOLVLIBS!$RESOLVLIBS$ac_delim
23322 LCMSLIBS!$LCMSLIBS$ac_delim
23323 LDAPLIBS!$LDAPLIBS$ac_delim
23324 ft_devel!$ft_devel$ac_delim
23325 FREETYPELIBS!$FREETYPELIBS$ac_delim
23326 FREETYPEINCL!$FREETYPEINCL$ac_delim
23327 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23328 ESDCONFIG!$ESDCONFIG$ac_delim
23329 ESDLIBS!$ESDLIBS$ac_delim
23330 ESDINCL!$ESDINCL$ac_delim
23331 ALSALIBS!$ALSALIBS$ac_delim
23332 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23333 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23334 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23335 BUILTINFLAG!$BUILTINFLAG$ac_delim
23336 LDPATH!$LDPATH$ac_delim
23337 CRTLIBS!$CRTLIBS$ac_delim
23338 SOCKETLIBS!$SOCKETLIBS$ac_delim
23339 MAIN_BINARY!$MAIN_BINARY$ac_delim
23340 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23341 LIBDL!$LIBDL$ac_delim
23342 LIBPOLL!$LIBPOLL$ac_delim
23343 DEPENDENCIES!$DEPENDENCIES$ac_delim
23344 LIBOBJS!$LIBOBJS$ac_delim
23345 LTLIBOBJS!$LTLIBOBJS$ac_delim
23346 _ACEOF
23348 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23349 break
23350 elif $ac_last_try; then
23351 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23352 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23353 { (exit 1); exit 1; }; }
23354 else
23355 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23357 done
23359 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23360 if test -n "$ac_eof"; then
23361 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23362 ac_eof=`expr $ac_eof + 1`
23365 cat >>$CONFIG_STATUS <<_ACEOF
23366 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23367 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23368 _ACEOF
23369 sed '
23370 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23371 s/^/s,@/; s/!/@,|#_!!_#|/
23374 s/'"$ac_delim"'$/,g/; t
23375 s/$/\\/; p
23376 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23377 ' >>$CONFIG_STATUS <conf$$subs.sed
23378 rm -f conf$$subs.sed
23379 cat >>$CONFIG_STATUS <<_ACEOF
23380 :end
23381 s/|#_!!_#|//g
23382 CEOF$ac_eof
23383 _ACEOF
23386 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23387 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23388 # trailing colons and then remove the whole line if VPATH becomes empty
23389 # (actually we leave an empty line to preserve line numbers).
23390 if test "x$srcdir" = x.; then
23391 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23392 s/:*\$(srcdir):*/:/
23393 s/:*\${srcdir}:*/:/
23394 s/:*@srcdir@:*/:/
23395 s/^\([^=]*=[ ]*\):*/\1/
23396 s/:*$//
23397 s/^[^=]*=[ ]*$//
23401 cat >>$CONFIG_STATUS <<\_ACEOF
23402 fi # test -n "$CONFIG_FILES"
23405 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23407 case $ac_tag in
23408 :[FHLC]) ac_mode=$ac_tag; continue;;
23409 esac
23410 case $ac_mode$ac_tag in
23411 :[FHL]*:*);;
23412 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23413 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23414 { (exit 1); exit 1; }; };;
23415 :[FH]-) ac_tag=-:-;;
23416 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23417 esac
23418 ac_save_IFS=$IFS
23419 IFS=:
23420 set x $ac_tag
23421 IFS=$ac_save_IFS
23422 shift
23423 ac_file=$1
23424 shift
23426 case $ac_mode in
23427 :L) ac_source=$1;;
23428 :[FH])
23429 ac_file_inputs=
23430 for ac_f
23432 case $ac_f in
23433 -) ac_f="$tmp/stdin";;
23434 *) # Look for the file first in the build tree, then in the source tree
23435 # (if the path is not absolute). The absolute path cannot be DOS-style,
23436 # because $ac_f cannot contain `:'.
23437 test -f "$ac_f" ||
23438 case $ac_f in
23439 [\\/$]*) false;;
23440 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23441 esac ||
23442 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23443 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23444 { (exit 1); exit 1; }; };;
23445 esac
23446 ac_file_inputs="$ac_file_inputs $ac_f"
23447 done
23449 # Let's still pretend it is `configure' which instantiates (i.e., don't
23450 # use $as_me), people would be surprised to read:
23451 # /* config.h. Generated by config.status. */
23452 configure_input="Generated from "`IFS=:
23453 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23454 if test x"$ac_file" != x-; then
23455 configure_input="$ac_file. $configure_input"
23456 { echo "$as_me:$LINENO: creating $ac_file" >&5
23457 echo "$as_me: creating $ac_file" >&6;}
23460 case $ac_tag in
23461 *:-:* | *:-) cat >"$tmp/stdin";;
23462 esac
23464 esac
23466 ac_dir=`$as_dirname -- "$ac_file" ||
23467 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23468 X"$ac_file" : 'X\(//\)[^/]' \| \
23469 X"$ac_file" : 'X\(//\)$' \| \
23470 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23471 echo X"$ac_file" |
23472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23473 s//\1/
23476 /^X\(\/\/\)[^/].*/{
23477 s//\1/
23480 /^X\(\/\/\)$/{
23481 s//\1/
23484 /^X\(\/\).*/{
23485 s//\1/
23488 s/.*/./; q'`
23489 { as_dir="$ac_dir"
23490 case $as_dir in #(
23491 -*) as_dir=./$as_dir;;
23492 esac
23493 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23494 as_dirs=
23495 while :; do
23496 case $as_dir in #(
23497 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23498 *) as_qdir=$as_dir;;
23499 esac
23500 as_dirs="'$as_qdir' $as_dirs"
23501 as_dir=`$as_dirname -- "$as_dir" ||
23502 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23503 X"$as_dir" : 'X\(//\)[^/]' \| \
23504 X"$as_dir" : 'X\(//\)$' \| \
23505 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23506 echo X"$as_dir" |
23507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23508 s//\1/
23511 /^X\(\/\/\)[^/].*/{
23512 s//\1/
23515 /^X\(\/\/\)$/{
23516 s//\1/
23519 /^X\(\/\).*/{
23520 s//\1/
23523 s/.*/./; q'`
23524 test -d "$as_dir" && break
23525 done
23526 test -z "$as_dirs" || eval "mkdir $as_dirs"
23527 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23528 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23529 { (exit 1); exit 1; }; }; }
23530 ac_builddir=.
23532 case "$ac_dir" in
23533 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23535 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23536 # A ".." for each directory in $ac_dir_suffix.
23537 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23538 case $ac_top_builddir_sub in
23539 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23540 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23541 esac ;;
23542 esac
23543 ac_abs_top_builddir=$ac_pwd
23544 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23545 # for backward compatibility:
23546 ac_top_builddir=$ac_top_build_prefix
23548 case $srcdir in
23549 .) # We are building in place.
23550 ac_srcdir=.
23551 ac_top_srcdir=$ac_top_builddir_sub
23552 ac_abs_top_srcdir=$ac_pwd ;;
23553 [\\/]* | ?:[\\/]* ) # Absolute name.
23554 ac_srcdir=$srcdir$ac_dir_suffix;
23555 ac_top_srcdir=$srcdir
23556 ac_abs_top_srcdir=$srcdir ;;
23557 *) # Relative name.
23558 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23559 ac_top_srcdir=$ac_top_build_prefix$srcdir
23560 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23561 esac
23562 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23565 case $ac_mode in
23568 # CONFIG_FILE
23571 case $INSTALL in
23572 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23573 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23574 esac
23575 _ACEOF
23577 cat >>$CONFIG_STATUS <<\_ACEOF
23578 # If the template does not know about datarootdir, expand it.
23579 # FIXME: This hack should be removed a few years after 2.60.
23580 ac_datarootdir_hack=; ac_datarootdir_seen=
23582 case `sed -n '/datarootdir/ {
23586 /@datadir@/p
23587 /@docdir@/p
23588 /@infodir@/p
23589 /@localedir@/p
23590 /@mandir@/p
23591 ' $ac_file_inputs` in
23592 *datarootdir*) ac_datarootdir_seen=yes;;
23593 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23594 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23595 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23596 _ACEOF
23597 cat >>$CONFIG_STATUS <<_ACEOF
23598 ac_datarootdir_hack='
23599 s&@datadir@&$datadir&g
23600 s&@docdir@&$docdir&g
23601 s&@infodir@&$infodir&g
23602 s&@localedir@&$localedir&g
23603 s&@mandir@&$mandir&g
23604 s&\\\${datarootdir}&$datarootdir&g' ;;
23605 esac
23606 _ACEOF
23608 # Neutralize VPATH when `$srcdir' = `.'.
23609 # Shell code in configure.ac might set extrasub.
23610 # FIXME: do we really want to maintain this feature?
23611 cat >>$CONFIG_STATUS <<_ACEOF
23612 sed "$ac_vpsub
23613 $extrasub
23614 _ACEOF
23615 cat >>$CONFIG_STATUS <<\_ACEOF
23617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23618 s&@configure_input@&$configure_input&;t t
23619 s&@top_builddir@&$ac_top_builddir_sub&;t t
23620 s&@srcdir@&$ac_srcdir&;t t
23621 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23622 s&@top_srcdir@&$ac_top_srcdir&;t t
23623 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23624 s&@builddir@&$ac_builddir&;t t
23625 s&@abs_builddir@&$ac_abs_builddir&;t t
23626 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23627 s&@INSTALL@&$ac_INSTALL&;t t
23628 $ac_datarootdir_hack
23629 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23631 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23632 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23633 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23634 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23635 which seems to be undefined. Please make sure it is defined." >&5
23636 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23637 which seems to be undefined. Please make sure it is defined." >&2;}
23639 rm -f "$tmp/stdin"
23640 case $ac_file in
23641 -) cat "$tmp/out"; rm -f "$tmp/out";;
23642 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23643 esac
23647 # CONFIG_HEADER
23649 _ACEOF
23651 # Transform confdefs.h into a sed script `conftest.defines', that
23652 # substitutes the proper values into config.h.in to produce config.h.
23653 rm -f conftest.defines conftest.tail
23654 # First, append a space to every undef/define line, to ease matching.
23655 echo 's/$/ /' >conftest.defines
23656 # Then, protect against being on the right side of a sed subst, or in
23657 # an unquoted here document, in config.status. If some macros were
23658 # called several times there might be several #defines for the same
23659 # symbol, which is useless. But do not sort them, since the last
23660 # AC_DEFINE must be honored.
23661 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23662 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23663 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23664 # PARAMS is the parameter list in the macro definition--in most cases, it's
23665 # just an empty string.
23666 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23667 ac_dB='\\)[ (].*,\\1define\\2'
23668 ac_dC=' '
23669 ac_dD=' ,'
23671 uniq confdefs.h |
23672 sed -n '
23673 t rset
23674 :rset
23675 s/^[ ]*#[ ]*define[ ][ ]*//
23676 t ok
23679 s/[\\&,]/\\&/g
23680 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23681 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23682 ' >>conftest.defines
23684 # Remove the space that was appended to ease matching.
23685 # Then replace #undef with comments. This is necessary, for
23686 # example, in the case of _POSIX_SOURCE, which is predefined and required
23687 # on some systems where configure will not decide to define it.
23688 # (The regexp can be short, since the line contains either #define or #undef.)
23689 echo 's/ $//
23690 s,^[ #]*u.*,/* & */,' >>conftest.defines
23692 # Break up conftest.defines:
23693 ac_max_sed_lines=50
23695 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23696 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23697 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23698 # et cetera.
23699 ac_in='$ac_file_inputs'
23700 ac_out='"$tmp/out1"'
23701 ac_nxt='"$tmp/out2"'
23703 while :
23705 # Write a here document:
23706 cat >>$CONFIG_STATUS <<_ACEOF
23707 # First, check the format of the line:
23708 cat >"\$tmp/defines.sed" <<\\CEOF
23709 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23710 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23712 :def
23713 _ACEOF
23714 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23715 echo 'CEOF
23716 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23717 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23718 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23719 grep . conftest.tail >/dev/null || break
23720 rm -f conftest.defines
23721 mv conftest.tail conftest.defines
23722 done
23723 rm -f conftest.defines conftest.tail
23725 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23726 cat >>$CONFIG_STATUS <<\_ACEOF
23727 if test x"$ac_file" != x-; then
23728 echo "/* $configure_input */" >"$tmp/config.h"
23729 cat "$ac_result" >>"$tmp/config.h"
23730 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23731 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23732 echo "$as_me: $ac_file is unchanged" >&6;}
23733 else
23734 rm -f $ac_file
23735 mv "$tmp/config.h" $ac_file
23737 else
23738 echo "/* $configure_input */"
23739 cat "$ac_result"
23741 rm -f "$tmp/out12"
23744 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23745 echo "$as_me: executing $ac_file commands" >&6;}
23747 esac
23750 case $ac_file$ac_mode in
23751 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23752 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23753 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23754 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23755 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23756 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23757 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23758 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23759 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23760 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23761 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23762 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23763 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23765 esac
23766 done # for ac_tag
23769 { (exit 0); exit 0; }
23770 _ACEOF
23771 chmod +x $CONFIG_STATUS
23772 ac_clean_files=$ac_clean_files_save
23775 # configure is writing to config.log, and then calls config.status.
23776 # config.status does its own redirection, appending to config.log.
23777 # Unfortunately, on DOS this fails, as config.log is still kept open
23778 # by configure, so config.status won't be able to write to it; its
23779 # output is simply discarded. So we exec the FD to /dev/null,
23780 # effectively closing config.log, so it can be properly (re)opened and
23781 # appended to by config.status. When coming back to configure, we
23782 # need to make the FD available again.
23783 if test "$no_create" != yes; then
23784 ac_cs_success=:
23785 ac_config_status_args=
23786 test "$silent" = yes &&
23787 ac_config_status_args="$ac_config_status_args --quiet"
23788 exec 5>/dev/null
23789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23790 exec 5>>config.log
23791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23792 # would make configure fail if this is the last instruction.
23793 $ac_cs_success || { (exit 1); exit 1; }
23797 if test "$no_create" = "yes"
23798 then
23799 exit 0
23802 ac_save_IFS="$IFS"
23803 IFS="|"
23804 if test "x$wine_notices != "x; then
23805 echo >&6
23806 for msg in $wine_notices; do
23807 if test -n "$msg"; then
23808 { echo "$as_me:$LINENO: $msg" >&5
23809 echo "$as_me: $msg" >&6;}
23811 done
23813 for msg in $wine_warnings; do
23814 if test -n "$msg"; then
23815 echo >&2
23816 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23817 echo "$as_me: WARNING: $msg" >&2;}
23819 done
23820 IFS="$ac_save_IFS"
23822 echo "
23823 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
23824 " >&6