push 6fe5edf8439c19d3885814583531c2f2b1495177
[wine/hacks.git] / configure
blobf994101df158f8dc66cc3425067cc203658fe845
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.60.
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.60'
578 PACKAGE_STRING='Wine 0.9.60'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 TESTSUBDIRS
667 WINETEST
668 SET_MAKE
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
677 CXXFLAGS
678 ac_ct_CXX
679 CPPBIN
680 TOOLSDIR
681 XMKMF
683 X_CFLAGS
684 X_PRE_LIBS
685 X_LIBS
686 X_EXTRA_LIBS
687 FLEX
688 BISON
690 ac_ct_AS
693 ARFLAGS
694 RANLIB
695 STRIP
696 WINDRES
697 LN_S
699 GREP
700 EGREP
701 LDCONFIG
702 INSTALL_PROGRAM
703 INSTALL_SCRIPT
704 INSTALL_DATA
705 LINT
706 LINTFLAGS
707 FONTFORGE
708 PKG_CONFIG
709 RSVG
710 ICOTOOL
711 PRELINK
712 LIBPTHREAD
713 XLIB
714 XFILES
715 OPENGLFILES
716 GLU32FILES
717 OPENGL_LIBS
718 QUARTZFILES
719 DLLEXT
720 DLLFLAGS
721 LDSHARED
722 LDDLLFLAGS
723 LIBEXT
724 IMPLIBEXT
725 LDRPATH_INSTALL
726 LDRPATH_LOCAL
728 DLLTOOL
729 DLLWRAP
730 MINGWAR
731 SECURITYLIB
732 COREFOUNDATIONLIB
733 IOKITLIB
734 LDEXECFLAGS
735 DISKARBITRATIONLIB
736 COREAUDIO
737 CARBONLIB
738 CROSSTEST
739 CROSSCC
740 CROSSWINDRES
741 NASLIBS
742 XML2LIBS
743 XML2INCL
744 XSLTLIBS
745 XSLTINCL
746 HALINCL
747 sane_devel
748 SANEINCL
749 gphoto2_devel
750 gphoto2port_devel
751 GPHOTO2LIBS
752 GPHOTO2INCL
753 RESOLVLIBS
754 LCMSLIBS
755 LDAPLIBS
756 ft_devel
757 FREETYPELIBS
758 FREETYPEINCL
759 FONTSSUBDIRS
760 ESDCONFIG
761 ESDLIBS
762 ESDINCL
763 ALSALIBS
764 AUDIOIOLIBS
765 FONTCONFIGINCL
766 EXTRACFLAGS
767 BUILTINFLAG
768 LDPATH
769 CRTLIBS
770 SOCKETLIBS
771 MAIN_BINARY
772 EXTRA_BINARIES
773 LIBDL
774 LIBPOLL
775 DEPENDENCIES
776 LIBOBJS
777 LTLIBOBJS'
778 ac_subst_files='MAKE_RULES
779 MAKE_DLL_RULES
780 MAKE_IMPLIB_RULES
781 MAKE_TEST_RULES
782 MAKE_PROG_RULES'
783 ac_precious_vars='build_alias
784 host_alias
785 target_alias
787 CFLAGS
788 LDFLAGS
789 LIBS
790 CPPFLAGS
792 CXXFLAGS
794 XMKMF
795 CPP'
798 # Initialize some variables set by options.
799 ac_init_help=
800 ac_init_version=false
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
803 cache_file=/dev/null
804 exec_prefix=NONE
805 no_create=
806 no_recursion=
807 prefix=NONE
808 program_prefix=NONE
809 program_suffix=NONE
810 program_transform_name=s,x,x,
811 silent=
812 site=
813 srcdir=
814 verbose=
815 x_includes=NONE
816 x_libraries=NONE
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 includedir='${prefix}/include'
833 oldincludedir='/usr/include'
834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir='${datarootdir}/info'
836 htmldir='${docdir}'
837 dvidir='${docdir}'
838 pdfdir='${docdir}'
839 psdir='${docdir}'
840 libdir='${exec_prefix}/lib'
841 localedir='${datarootdir}/locale'
842 mandir='${datarootdir}/man'
844 ac_prev=
845 ac_dashdash=
846 for ac_option
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\$ac_option
851 ac_prev=
852 continue
855 case $ac_option in
856 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 *) ac_optarg=yes ;;
858 esac
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
864 ac_dashdash=yes ;;
866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
867 ac_prev=bindir ;;
868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 bindir=$ac_optarg ;;
871 -build | --build | --buil | --bui | --bu)
872 ac_prev=build_alias ;;
873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874 build_alias=$ac_optarg ;;
876 -cache-file | --cache-file | --cache-fil | --cache-fi \
877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878 ac_prev=cache_file ;;
879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881 cache_file=$ac_optarg ;;
883 --config-cache | -C)
884 cache_file=config.cache ;;
886 -datadir | --datadir | --datadi | --datad)
887 ac_prev=datadir ;;
888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
889 datadir=$ac_optarg ;;
891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892 | --dataroo | --dataro | --datar)
893 ac_prev=datarootdir ;;
894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896 datarootdir=$ac_optarg ;;
898 -disable-* | --disable-*)
899 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
903 { (exit 1); exit 1; }; }
904 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
905 eval enable_$ac_feature=no ;;
907 -docdir | --docdir | --docdi | --doc | --do)
908 ac_prev=docdir ;;
909 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 docdir=$ac_optarg ;;
912 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
913 ac_prev=dvidir ;;
914 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 dvidir=$ac_optarg ;;
917 -enable-* | --enable-*)
918 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
922 { (exit 1); exit 1; }; }
923 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
924 eval enable_$ac_feature=\$ac_optarg ;;
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
937 with_gas=yes ;;
939 -help | --help | --hel | --he | -h)
940 ac_init_help=long ;;
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 ac_prev=htmldir ;;
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
955 htmldir=$ac_optarg ;;
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 ac_prev=infodir ;;
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
969 -libdir | --libdir | --libdi | --libd)
970 ac_prev=libdir ;;
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 libdir=$ac_optarg ;;
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
981 -localedir | --localedir | --localedi | --localed | --locale)
982 ac_prev=localedir ;;
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 ac_prev=mandir ;;
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 mandir=$ac_optarg ;;
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1000 with_fp=no ;;
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1004 no_create=yes ;;
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 no_recursion=yes ;;
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 ac_prev=prefix ;;
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 ac_prev=pdfdir ;;
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1060 -psdir | --psdir | --psdi | --psd | --ps)
1061 ac_prev=psdir ;;
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 psdir=$ac_optarg ;;
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1067 silent=yes ;;
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1114 -with-* | --with-*)
1115 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1118 { echo "$as_me: error: invalid package name: $ac_package" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1121 eval with_$ac_package=\$ac_optarg ;;
1123 -without-* | --without-*)
1124 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1127 { echo "$as_me: error: invalid package name: $ac_package" >&2
1128 { (exit 1); exit 1; }; }
1129 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1130 eval with_$ac_package=no ;;
1132 --x)
1133 # Obsolete; use --with-x.
1134 with_x=yes ;;
1136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1137 | --x-incl | --x-inc | --x-in | --x-i)
1138 ac_prev=x_includes ;;
1139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1141 x_includes=$ac_optarg ;;
1143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1145 ac_prev=x_libraries ;;
1146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1148 x_libraries=$ac_optarg ;;
1150 -*) { echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1155 *=*)
1156 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1161 eval $ac_envvar=\$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 esac
1173 done
1175 if test -n "$ac_prev"; then
1176 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177 { echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1181 # Be sure to have absolute directory names.
1182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val=\$$ac_var
1188 case $ac_val in
1189 [\\/$]* | ?:[\\/]* ) continue;;
1190 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1191 esac
1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1193 { (exit 1); exit 1; }; }
1194 done
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1199 build=$build_alias
1200 host=$host_alias
1201 target=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x; then
1205 if test "x$build_alias" = x; then
1206 cross_compiling=maybe
1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1210 cross_compiling=yes
1214 ac_tool_prefix=
1215 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1217 test "$silent" = yes && exec 6>/dev/null
1220 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di=`ls -di .` &&
1222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1223 { echo "$as_me: error: Working directory cannot be determined" >&2
1224 { (exit 1); exit 1; }; }
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 { echo "$as_me: error: pwd does not report name of working directory" >&2
1227 { (exit 1); exit 1; }; }
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$0" ||
1235 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$0" : 'X\(//\)[^/]' \| \
1237 X"$0" : 'X\(//\)$' \| \
1238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1239 echo X"$0" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 s//\1/
1244 /^X\(\/\/\)[^/].*/{
1245 s//\1/
1248 /^X\(\/\/\)$/{
1249 s//\1/
1252 /^X\(\/\).*/{
1253 s//\1/
1256 s/.*/./; q'`
1257 srcdir=$ac_confdir
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 srcdir=..
1261 else
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1267 { (exit 1); exit 1; }; }
1269 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 ac_abs_confdir=`(
1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1272 { (exit 1); exit 1; }; }
1273 pwd)`
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 srcdir=.
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1281 case $srcdir in
1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 esac
1284 for ac_var in $ac_precious_vars; do
1285 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_${ac_var}_value=\$${ac_var}
1287 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1289 done
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1297 cat <<_ACEOF
1298 \`configure' configures Wine 0.9.60 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1307 Configuration:
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 [PREFIX]
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1351 _ACEOF
1353 cat <<\_ACEOF
1355 X features:
1356 --x-includes=DIR X include files are in DIR
1357 --x-libraries=DIR X library files are in DIR
1359 System types:
1360 --build=BUILD configure for building on BUILD [guessed]
1361 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1362 _ACEOF
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive ) echo "Configuration of Wine 0.9.60:";;
1368 esac
1369 cat <<\_ACEOF
1371 Optional Features:
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --disable-win16 do not include Win16 support
1375 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1376 binaries)
1377 --enable-maintainer-mode
1378 enable maintainer-specific build rules
1379 --disable-tests do not build the testsuites
1381 Optional Packages:
1382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1384 --without-alsa do not use the Alsa sound support
1385 --without-audioio do not use the AudioIO sound support
1386 --without-capi do not use CAPI (ISDN support)
1387 --without-cms do not use CMS (color management support)
1388 --without-coreaudio do not use the CoreAudio sound support
1389 --without-cups do not use CUPS
1390 --without-curses do not use (n)curses
1391 --without-esd do not use the EsounD sound support
1392 --without-fontconfig do not use fontconfig
1393 --without-gphoto do not use gphoto (Digital Camera support)
1394 --without-hal do not use HAL (dynamic device support)
1395 --without-jack do not use the Jack sound support
1396 --without-jpeg do not use JPEG
1397 --without-ldap do not use LDAP
1398 --without-nas do not use the NAS sound support
1399 --without-opengl do not use OpenGL
1400 --without-openssl do not use OpenSSL
1401 --without-oss do not use the OSS sound support
1402 --without-png do not use PNG
1403 --without-sane do not use SANE (scanner support)
1404 --without-xcomposite do not use the Xcomposite extension
1405 --without-xcursor do not use the Xcursor extension
1406 --without-xinerama do not use Xinerama (multi-monitor support)
1407 --without-xinput do not use the Xinput extension
1408 --without-xml do not use XML
1409 --without-xrandr do not use Xrandr (resolution changes)
1410 --without-xrender do not use the Xrender extension
1411 --without-xshape do not use the Xshape extension
1412 --without-xshm do not use XShm (shared memory extension)
1413 --without-xslt do not use XSLT
1414 --without-xvidmode do not use XFree video mode extension
1415 --with-wine-tools=DIR use Wine tools from directory DIR
1416 --with-x use the X Window System
1418 Some influential environment variables:
1419 CC C compiler command
1420 CFLAGS C compiler flags
1421 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1422 nonstandard directory <lib dir>
1423 LIBS libraries to pass to the linker, e.g. -l<library>
1424 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1425 you have headers in a nonstandard directory <include dir>
1426 CXX C++ compiler command
1427 CXXFLAGS C++ compiler flags
1428 XMKMF Path to xmkmf, Makefile generator for X Window System
1429 CPP C preprocessor
1431 Use these variables to override the choices made by `configure' or to help
1432 it to find libraries and programs with nonstandard names/locations.
1434 Report bugs to <wine-devel@winehq.org>.
1435 _ACEOF
1436 ac_status=$?
1439 if test "$ac_init_help" = "recursive"; then
1440 # If there are subdirs, report their specific --help.
1441 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1442 test -d "$ac_dir" || continue
1443 ac_builddir=.
1445 case "$ac_dir" in
1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1454 esac ;;
1455 esac
1456 ac_abs_top_builddir=$ac_pwd
1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir=$ac_top_build_prefix
1461 case $srcdir in
1462 .) # We are building in place.
1463 ac_srcdir=.
1464 ac_top_srcdir=$ac_top_builddir_sub
1465 ac_abs_top_srcdir=$ac_pwd ;;
1466 [\\/]* | ?:[\\/]* ) # Absolute name.
1467 ac_srcdir=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir=$srcdir
1469 ac_abs_top_srcdir=$srcdir ;;
1470 *) # Relative name.
1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1474 esac
1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" || { ac_status=$?; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1480 echo &&
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1483 echo &&
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1485 else
1486 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 fi || ac_status=$?
1488 cd "$ac_pwd" || { ac_status=$?; break; }
1489 done
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1494 cat <<\_ACEOF
1495 Wine configure 0.9.60
1496 generated by GNU Autoconf 2.61
1498 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1499 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1500 This configure script is free software; the Free Software Foundation
1501 gives unlimited permission to copy, distribute and modify it.
1502 _ACEOF
1503 exit
1505 cat >config.log <<_ACEOF
1506 This file contains any messages produced by compilers while
1507 running configure, to aid debugging if configure makes a mistake.
1509 It was created by Wine $as_me 0.9.60, which was
1510 generated by GNU Autoconf 2.61. Invocation command line was
1512 $ $0 $@
1514 _ACEOF
1515 exec 5>>config.log
1517 cat <<_ASUNAME
1518 ## --------- ##
1519 ## Platform. ##
1520 ## --------- ##
1522 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1523 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1524 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1525 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1526 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1528 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1529 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1531 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1532 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1533 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1534 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1535 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1536 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1537 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1539 _ASUNAME
1541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1542 for as_dir in $PATH
1544 IFS=$as_save_IFS
1545 test -z "$as_dir" && as_dir=.
1546 echo "PATH: $as_dir"
1547 done
1548 IFS=$as_save_IFS
1550 } >&5
1552 cat >&5 <<_ACEOF
1555 ## ----------- ##
1556 ## Core tests. ##
1557 ## ----------- ##
1559 _ACEOF
1562 # Keep a trace of the command line.
1563 # Strip out --no-create and --no-recursion so they do not pile up.
1564 # Strip out --silent because we don't want to record it for future runs.
1565 # Also quote any args containing shell meta-characters.
1566 # Make two passes to allow for proper duplicate-argument suppression.
1567 ac_configure_args=
1568 ac_configure_args0=
1569 ac_configure_args1=
1570 ac_must_keep_next=false
1571 for ac_pass in 1 2
1573 for ac_arg
1575 case $ac_arg in
1576 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1577 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1578 | -silent | --silent | --silen | --sile | --sil)
1579 continue ;;
1580 *\'*)
1581 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1582 esac
1583 case $ac_pass in
1584 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1586 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1587 if test $ac_must_keep_next = true; then
1588 ac_must_keep_next=false # Got value, back to normal.
1589 else
1590 case $ac_arg in
1591 *=* | --config-cache | -C | -disable-* | --disable-* \
1592 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1593 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1594 | -with-* | --with-* | -without-* | --without-* | --x)
1595 case "$ac_configure_args0 " in
1596 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1597 esac
1599 -* ) ac_must_keep_next=true ;;
1600 esac
1602 ac_configure_args="$ac_configure_args '$ac_arg'"
1604 esac
1605 done
1606 done
1607 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1608 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1610 # When interrupted or exit'd, cleanup temporary files, and complete
1611 # config.log. We remove comments because anyway the quotes in there
1612 # would cause problems or look ugly.
1613 # WARNING: Use '\'' to represent an apostrophe within the trap.
1614 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1615 trap 'exit_status=$?
1616 # Save into config.log some information that might help in debugging.
1618 echo
1620 cat <<\_ASBOX
1621 ## ---------------- ##
1622 ## Cache variables. ##
1623 ## ---------------- ##
1624 _ASBOX
1625 echo
1626 # The following way of writing the cache mishandles newlines in values,
1628 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1629 eval ac_val=\$$ac_var
1630 case $ac_val in #(
1631 *${as_nl}*)
1632 case $ac_var in #(
1633 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1634 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1635 esac
1636 case $ac_var in #(
1637 _ | IFS | as_nl) ;; #(
1638 *) $as_unset $ac_var ;;
1639 esac ;;
1640 esac
1641 done
1642 (set) 2>&1 |
1643 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1644 *${as_nl}ac_space=\ *)
1645 sed -n \
1646 "s/'\''/'\''\\\\'\'''\''/g;
1647 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1648 ;; #(
1650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1652 esac |
1653 sort
1655 echo
1657 cat <<\_ASBOX
1658 ## ----------------- ##
1659 ## Output variables. ##
1660 ## ----------------- ##
1661 _ASBOX
1662 echo
1663 for ac_var in $ac_subst_vars
1665 eval ac_val=\$$ac_var
1666 case $ac_val in
1667 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 esac
1669 echo "$ac_var='\''$ac_val'\''"
1670 done | sort
1671 echo
1673 if test -n "$ac_subst_files"; then
1674 cat <<\_ASBOX
1675 ## ------------------- ##
1676 ## File substitutions. ##
1677 ## ------------------- ##
1678 _ASBOX
1679 echo
1680 for ac_var in $ac_subst_files
1682 eval ac_val=\$$ac_var
1683 case $ac_val in
1684 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1685 esac
1686 echo "$ac_var='\''$ac_val'\''"
1687 done | sort
1688 echo
1691 if test -s confdefs.h; then
1692 cat <<\_ASBOX
1693 ## ----------- ##
1694 ## confdefs.h. ##
1695 ## ----------- ##
1696 _ASBOX
1697 echo
1698 cat confdefs.h
1699 echo
1701 test "$ac_signal" != 0 &&
1702 echo "$as_me: caught signal $ac_signal"
1703 echo "$as_me: exit $exit_status"
1704 } >&5
1705 rm -f core *.core core.conftest.* &&
1706 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1707 exit $exit_status
1709 for ac_signal in 1 2 13 15; do
1710 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1711 done
1712 ac_signal=0
1714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1715 rm -f -r conftest* confdefs.h
1717 # Predefined preprocessor variables.
1719 cat >>confdefs.h <<_ACEOF
1720 #define PACKAGE_NAME "$PACKAGE_NAME"
1721 _ACEOF
1724 cat >>confdefs.h <<_ACEOF
1725 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1726 _ACEOF
1729 cat >>confdefs.h <<_ACEOF
1730 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1731 _ACEOF
1734 cat >>confdefs.h <<_ACEOF
1735 #define PACKAGE_STRING "$PACKAGE_STRING"
1736 _ACEOF
1739 cat >>confdefs.h <<_ACEOF
1740 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1741 _ACEOF
1744 # Let the site file select an alternate cache file if it wants to.
1745 # Prefer explicitly selected file to automatically selected ones.
1746 if test -n "$CONFIG_SITE"; then
1747 set x "$CONFIG_SITE"
1748 elif test "x$prefix" != xNONE; then
1749 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1750 else
1751 set x "$ac_default_prefix/share/config.site" \
1752 "$ac_default_prefix/etc/config.site"
1754 shift
1755 for ac_site_file
1757 if test -r "$ac_site_file"; then
1758 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1759 echo "$as_me: loading site script $ac_site_file" >&6;}
1760 sed 's/^/| /' "$ac_site_file" >&5
1761 . "$ac_site_file"
1763 done
1765 if test -r "$cache_file"; then
1766 # Some versions of bash will fail to source /dev/null (special
1767 # files actually), so we avoid doing that.
1768 if test -f "$cache_file"; then
1769 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1770 echo "$as_me: loading cache $cache_file" >&6;}
1771 case $cache_file in
1772 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1773 *) . "./$cache_file";;
1774 esac
1776 else
1777 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1778 echo "$as_me: creating cache $cache_file" >&6;}
1779 >$cache_file
1782 # Check that the precious variables saved in the cache have kept the same
1783 # value.
1784 ac_cache_corrupted=false
1785 for ac_var in $ac_precious_vars; do
1786 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1787 eval ac_new_set=\$ac_env_${ac_var}_set
1788 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1789 eval ac_new_val=\$ac_env_${ac_var}_value
1790 case $ac_old_set,$ac_new_set in
1791 set,)
1792 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1793 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1794 ac_cache_corrupted=: ;;
1795 ,set)
1796 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1797 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1798 ac_cache_corrupted=: ;;
1799 ,);;
1801 if test "x$ac_old_val" != "x$ac_new_val"; then
1802 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1803 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1804 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1805 echo "$as_me: former value: $ac_old_val" >&2;}
1806 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1807 echo "$as_me: current value: $ac_new_val" >&2;}
1808 ac_cache_corrupted=:
1809 fi;;
1810 esac
1811 # Pass precious variables to config.status.
1812 if test "$ac_new_set" = set; then
1813 case $ac_new_val in
1814 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1815 *) ac_arg=$ac_var=$ac_new_val ;;
1816 esac
1817 case " $ac_configure_args " in
1818 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1819 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1820 esac
1822 done
1823 if $ac_cache_corrupted; then
1824 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1825 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1826 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1827 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1828 { (exit 1); exit 1; }; }
1855 ac_ext=c
1856 ac_cpp='$CPP $CPPFLAGS'
1857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1863 ac_config_headers="$ac_config_headers include/config.h"
1865 ac_aux_dir=
1866 for ac_dir in tools "$srcdir"/tools; do
1867 if test -f "$ac_dir/install-sh"; then
1868 ac_aux_dir=$ac_dir
1869 ac_install_sh="$ac_aux_dir/install-sh -c"
1870 break
1871 elif test -f "$ac_dir/install.sh"; then
1872 ac_aux_dir=$ac_dir
1873 ac_install_sh="$ac_aux_dir/install.sh -c"
1874 break
1875 elif test -f "$ac_dir/shtool"; then
1876 ac_aux_dir=$ac_dir
1877 ac_install_sh="$ac_aux_dir/shtool install -c"
1878 break
1880 done
1881 if test -z "$ac_aux_dir"; then
1882 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1883 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1884 { (exit 1); exit 1; }; }
1887 # These three variables are undocumented and unsupported,
1888 # and are intended to be withdrawn in a future Autoconf release.
1889 # They can cause serious problems if a builder's source tree is in a directory
1890 # whose full name contains unusual characters.
1891 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1892 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1893 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1898 # Check whether --enable-win16 was given.
1899 if test "${enable_win16+set}" = set; then
1900 enableval=$enable_win16;
1903 # Check whether --enable-win64 was given.
1904 if test "${enable_win64+set}" = set; then
1905 enableval=$enable_win64;
1908 # Check whether --enable-maintainer-mode was given.
1909 if test "${enable_maintainer_mode+set}" = set; then
1910 enableval=$enable_maintainer_mode;
1911 else
1912 MAINTAINER_MODE=\#
1918 # Check whether --with-alsa was given.
1919 if test "${with_alsa+set}" = set; then
1920 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1924 # Check whether --with-audioio was given.
1925 if test "${with_audioio+set}" = set; then
1926 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1930 # Check whether --with-capi was given.
1931 if test "${with_capi+set}" = set; then
1932 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1936 # Check whether --with-cms was given.
1937 if test "${with_cms+set}" = set; then
1938 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1942 # Check whether --with-coreaudio was given.
1943 if test "${with_coreaudio+set}" = set; then
1944 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1948 # Check whether --with-cups was given.
1949 if test "${with_cups+set}" = set; then
1950 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1954 # Check whether --with-curses was given.
1955 if test "${with_curses+set}" = set; then
1956 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1960 # Check whether --with-esd was given.
1961 if test "${with_esd+set}" = set; then
1962 withval=$with_esd;
1966 # Check whether --with-fontconfig was given.
1967 if test "${with_fontconfig+set}" = set; then
1968 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1972 # Check whether --with-gphoto was given.
1973 if test "${with_gphoto+set}" = set; then
1974 withval=$with_gphoto;
1978 # Check whether --with-hal was given.
1979 if test "${with_hal+set}" = set; then
1980 withval=$with_hal;
1984 # Check whether --with-jack was given.
1985 if test "${with_jack+set}" = set; then
1986 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1990 # Check whether --with-jpeg was given.
1991 if test "${with_jpeg+set}" = set; then
1992 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1996 # Check whether --with-ldap was given.
1997 if test "${with_ldap+set}" = set; then
1998 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2002 # Check whether --with-nas was given.
2003 if test "${with_nas+set}" = set; then
2004 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2008 # Check whether --with-opengl was given.
2009 if test "${with_opengl+set}" = set; then
2010 withval=$with_opengl;
2014 # Check whether --with-openssl was given.
2015 if test "${with_openssl+set}" = set; then
2016 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2020 # Check whether --with-oss was given.
2021 if test "${with_oss+set}" = set; then
2022 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2026 # Check whether --with-png was given.
2027 if test "${with_png+set}" = set; then
2028 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2032 # Check whether --with-sane was given.
2033 if test "${with_sane+set}" = set; then
2034 withval=$with_sane;
2038 # Check whether --with-xcomposite was given.
2039 if test "${with_xcomposite+set}" = set; then
2040 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2044 # Check whether --with-xcursor was given.
2045 if test "${with_xcursor+set}" = set; then
2046 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2050 # Check whether --with-xinerama was given.
2051 if test "${with_xinerama+set}" = set; then
2052 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2056 # Check whether --with-xinput was given.
2057 if test "${with_xinput+set}" = set; then
2058 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2062 # Check whether --with-xml was given.
2063 if test "${with_xml+set}" = set; then
2064 withval=$with_xml;
2068 # Check whether --with-xrandr was given.
2069 if test "${with_xrandr+set}" = set; then
2070 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2074 # Check whether --with-xrender was given.
2075 if test "${with_xrender+set}" = set; then
2076 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2080 # Check whether --with-xshape was given.
2081 if test "${with_xshape+set}" = set; then
2082 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2086 # Check whether --with-xshm was given.
2087 if test "${with_xshm+set}" = set; then
2088 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2092 # Check whether --with-xslt was given.
2093 if test "${with_xslt+set}" = set; then
2094 withval=$with_xslt;
2098 # Check whether --with-xvidmode was given.
2099 if test "${with_xvidmode+set}" = set; then
2100 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2105 # Check whether --with-wine-tools was given.
2106 if test "${with_wine_tools+set}" = set; then
2107 withval=$with_wine_tools;
2110 # Check whether --enable-tests was given.
2111 if test "${enable_tests+set}" = set; then
2112 enableval=$enable_tests;
2116 # Make sure we can run config.sub.
2117 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2118 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2119 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2120 { (exit 1); exit 1; }; }
2122 { echo "$as_me:$LINENO: checking build system type" >&5
2123 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2124 if test "${ac_cv_build+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 else
2127 ac_build_alias=$build_alias
2128 test "x$ac_build_alias" = x &&
2129 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2130 test "x$ac_build_alias" = x &&
2131 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2132 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2133 { (exit 1); exit 1; }; }
2134 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2135 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2136 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2137 { (exit 1); exit 1; }; }
2140 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2141 echo "${ECHO_T}$ac_cv_build" >&6; }
2142 case $ac_cv_build in
2143 *-*-*) ;;
2144 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2145 echo "$as_me: error: invalid value of canonical build" >&2;}
2146 { (exit 1); exit 1; }; };;
2147 esac
2148 build=$ac_cv_build
2149 ac_save_IFS=$IFS; IFS='-'
2150 set x $ac_cv_build
2151 shift
2152 build_cpu=$1
2153 build_vendor=$2
2154 shift; shift
2155 # Remember, the first character of IFS is used to create $*,
2156 # except with old shells:
2157 build_os=$*
2158 IFS=$ac_save_IFS
2159 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2162 { echo "$as_me:$LINENO: checking host system type" >&5
2163 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2164 if test "${ac_cv_host+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 else
2167 if test "x$host_alias" = x; then
2168 ac_cv_host=$ac_cv_build
2169 else
2170 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2171 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2172 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2173 { (exit 1); exit 1; }; }
2177 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2178 echo "${ECHO_T}$ac_cv_host" >&6; }
2179 case $ac_cv_host in
2180 *-*-*) ;;
2181 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2182 echo "$as_me: error: invalid value of canonical host" >&2;}
2183 { (exit 1); exit 1; }; };;
2184 esac
2185 host=$ac_cv_host
2186 ac_save_IFS=$IFS; IFS='-'
2187 set x $ac_cv_host
2188 shift
2189 host_cpu=$1
2190 host_vendor=$2
2191 shift; shift
2192 # Remember, the first character of IFS is used to create $*,
2193 # except with old shells:
2194 host_os=$*
2195 IFS=$ac_save_IFS
2196 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2199 case $host in
2200 x86_64*linux*)
2201 if test "x$enable_win64" != "xyes"
2202 then
2203 test -n "$CC" || CC="gcc -m32"
2204 test -n "$CXX"|| CXX="g++ -m32"
2205 test -n "$LD" || LD="ld -m elf_i386"
2206 test -n "$AS" || AS="as --32"
2207 host_cpu="i386"
2210 esac
2212 case $host_cpu in
2213 *i[3456789]86*)
2214 if test "x$enable_win16" != "xno"
2215 then
2216 enable_win16="yes"
2219 esac
2221 WIN16_FILES="\$(WIN16_FILES)"
2223 WIN16_INSTALL="\$(WIN16_INSTALL)"
2225 if test "x$enable_win16" != "xyes"
2226 then
2227 WIN16_FILES=""
2228 WIN16_INSTALL=""
2231 if test "x$enable_tests" == "xno"
2232 then
2233 TESTSUBDIRS=""
2235 WINETEST=""
2237 else
2238 TESTSUBDIRS="\$(TESTSUBDIRS)"
2240 WINETEST="winetest"
2244 case "$srcdir" in
2245 .) ;;
2246 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2247 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2248 You need to run 'make distclean' in the source tree first." >&5
2249 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2250 You need to run 'make distclean' in the source tree first." >&2;}
2251 { (exit 1); exit 1; }; }
2252 fi ;;
2253 esac
2256 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2257 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2258 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2259 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 cat >conftest.make <<\_ACEOF
2263 SHELL = /bin/sh
2264 all:
2265 @echo '@@@%%%=$(MAKE)=@@@%%%'
2266 _ACEOF
2267 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2268 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2269 *@@@%%%=?*=@@@%%%*)
2270 eval ac_cv_prog_make_${ac_make}_set=yes;;
2272 eval ac_cv_prog_make_${ac_make}_set=no;;
2273 esac
2274 rm -f conftest.make
2276 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2277 { echo "$as_me:$LINENO: result: yes" >&5
2278 echo "${ECHO_T}yes" >&6; }
2279 SET_MAKE=
2280 else
2281 { echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6; }
2283 SET_MAKE="MAKE=${MAKE-make}"
2286 ac_ext=c
2287 ac_cpp='$CPP $CPPFLAGS'
2288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2291 if test -n "$ac_tool_prefix"; then
2292 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2293 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2296 if test "${ac_cv_prog_CC+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 else
2299 if test -n "$CC"; then
2300 ac_cv_prog_CC="$CC" # Let the user override the test.
2301 else
2302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 for as_dir in $PATH
2305 IFS=$as_save_IFS
2306 test -z "$as_dir" && as_dir=.
2307 for ac_exec_ext in '' $ac_executable_extensions; do
2308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2309 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 break 2
2313 done
2314 done
2315 IFS=$as_save_IFS
2319 CC=$ac_cv_prog_CC
2320 if test -n "$CC"; then
2321 { echo "$as_me:$LINENO: result: $CC" >&5
2322 echo "${ECHO_T}$CC" >&6; }
2323 else
2324 { echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6; }
2330 if test -z "$ac_cv_prog_CC"; then
2331 ac_ct_CC=$CC
2332 # Extract the first word of "gcc", so it can be a program name with args.
2333 set dummy gcc; ac_word=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 else
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2341 else
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 for as_dir in $PATH
2345 IFS=$as_save_IFS
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_ac_ct_CC="gcc"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 break 2
2353 done
2354 done
2355 IFS=$as_save_IFS
2359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6; }
2363 else
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2368 if test "x$ac_ct_CC" = x; then
2369 CC=""
2370 else
2371 case $cross_compiling:$ac_tool_warned in
2372 yes:)
2373 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2374 whose name does not start with the host triplet. If you think this
2375 configuration is useful to you, please write to autoconf@gnu.org." >&5
2376 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2377 whose name does not start with the host triplet. If you think this
2378 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2379 ac_tool_warned=yes ;;
2380 esac
2381 CC=$ac_ct_CC
2383 else
2384 CC="$ac_cv_prog_CC"
2387 if test -z "$CC"; then
2388 if test -n "$ac_tool_prefix"; then
2389 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2390 set dummy ${ac_tool_prefix}cc; ac_word=$2
2391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2393 if test "${ac_cv_prog_CC+set}" = set; then
2394 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 else
2396 if test -n "$CC"; then
2397 ac_cv_prog_CC="$CC" # Let the user override the test.
2398 else
2399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2400 for as_dir in $PATH
2402 IFS=$as_save_IFS
2403 test -z "$as_dir" && as_dir=.
2404 for ac_exec_ext in '' $ac_executable_extensions; do
2405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2406 ac_cv_prog_CC="${ac_tool_prefix}cc"
2407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 break 2
2410 done
2411 done
2412 IFS=$as_save_IFS
2416 CC=$ac_cv_prog_CC
2417 if test -n "$CC"; then
2418 { echo "$as_me:$LINENO: result: $CC" >&5
2419 echo "${ECHO_T}$CC" >&6; }
2420 else
2421 { echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6; }
2428 if test -z "$CC"; then
2429 # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc; ac_word=$2
2431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 else
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC="$CC" # Let the user override the test.
2438 else
2439 ac_prog_rejected=no
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2441 for as_dir in $PATH
2443 IFS=$as_save_IFS
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448 ac_prog_rejected=yes
2449 continue
2451 ac_cv_prog_CC="cc"
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2453 break 2
2455 done
2456 done
2457 IFS=$as_save_IFS
2459 if test $ac_prog_rejected = yes; then
2460 # We found a bogon in the path, so make sure we never use it.
2461 set dummy $ac_cv_prog_CC
2462 shift
2463 if test $# != 0; then
2464 # We chose a different compiler from the bogus one.
2465 # However, it has the same basename, so the bogon will be chosen
2466 # first if we set CC to just the basename; use the full file name.
2467 shift
2468 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2473 CC=$ac_cv_prog_CC
2474 if test -n "$CC"; then
2475 { echo "$as_me:$LINENO: result: $CC" >&5
2476 echo "${ECHO_T}$CC" >&6; }
2477 else
2478 { echo "$as_me:$LINENO: result: no" >&5
2479 echo "${ECHO_T}no" >&6; }
2484 if test -z "$CC"; then
2485 if test -n "$ac_tool_prefix"; then
2486 for ac_prog in cl.exe
2488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2492 if test "${ac_cv_prog_CC+set}" = set; then
2493 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 else
2495 if test -n "$CC"; then
2496 ac_cv_prog_CC="$CC" # Let the user override the test.
2497 else
2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 for as_dir in $PATH
2501 IFS=$as_save_IFS
2502 test -z "$as_dir" && as_dir=.
2503 for ac_exec_ext in '' $ac_executable_extensions; do
2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 break 2
2509 done
2510 done
2511 IFS=$as_save_IFS
2515 CC=$ac_cv_prog_CC
2516 if test -n "$CC"; then
2517 { echo "$as_me:$LINENO: result: $CC" >&5
2518 echo "${ECHO_T}$CC" >&6; }
2519 else
2520 { echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6; }
2525 test -n "$CC" && break
2526 done
2528 if test -z "$CC"; then
2529 ac_ct_CC=$CC
2530 for ac_prog in cl.exe
2532 # Extract the first word of "$ac_prog", so it can be a program name with args.
2533 set dummy $ac_prog; ac_word=$2
2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6
2538 else
2539 if test -n "$ac_ct_CC"; then
2540 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2541 else
2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543 for as_dir in $PATH
2545 IFS=$as_save_IFS
2546 test -z "$as_dir" && as_dir=.
2547 for ac_exec_ext in '' $ac_executable_extensions; do
2548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 ac_cv_prog_ac_ct_CC="$ac_prog"
2550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 break 2
2553 done
2554 done
2555 IFS=$as_save_IFS
2559 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2560 if test -n "$ac_ct_CC"; then
2561 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2562 echo "${ECHO_T}$ac_ct_CC" >&6; }
2563 else
2564 { echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6; }
2569 test -n "$ac_ct_CC" && break
2570 done
2572 if test "x$ac_ct_CC" = x; then
2573 CC=""
2574 else
2575 case $cross_compiling:$ac_tool_warned in
2576 yes:)
2577 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2578 whose name does not start with the host triplet. If you think this
2579 configuration is useful to you, please write to autoconf@gnu.org." >&5
2580 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2581 whose name does not start with the host triplet. If you think this
2582 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2583 ac_tool_warned=yes ;;
2584 esac
2585 CC=$ac_ct_CC
2592 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&5
2594 echo "$as_me: error: no acceptable C compiler found in \$PATH
2595 See \`config.log' for more details." >&2;}
2596 { (exit 1); exit 1; }; }
2598 # Provide some information about the compiler.
2599 echo "$as_me:$LINENO: checking for C compiler version" >&5
2600 ac_compiler=`set X $ac_compile; echo $2`
2601 { (ac_try="$ac_compiler --version >&5"
2602 case "(($ac_try" in
2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2605 esac
2606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2607 (eval "$ac_compiler --version >&5") 2>&5
2608 ac_status=$?
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }
2611 { (ac_try="$ac_compiler -v >&5"
2612 case "(($ac_try" in
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2615 esac
2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2617 (eval "$ac_compiler -v >&5") 2>&5
2618 ac_status=$?
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }
2621 { (ac_try="$ac_compiler -V >&5"
2622 case "(($ac_try" in
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2625 esac
2626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2627 (eval "$ac_compiler -V >&5") 2>&5
2628 ac_status=$?
2629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2630 (exit $ac_status); }
2632 cat >conftest.$ac_ext <<_ACEOF
2633 /* confdefs.h. */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2640 main ()
2644 return 0;
2646 _ACEOF
2647 ac_clean_files_save=$ac_clean_files
2648 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2649 # Try to create an executable without -o first, disregard a.out.
2650 # It will help us diagnose broken compilers, and finding out an intuition
2651 # of exeext.
2652 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2653 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2654 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2656 # List of possible output files, starting from the most likely.
2657 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2658 # only as a last resort. b.out is created by i960 compilers.
2659 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2661 # The IRIX 6 linker writes into existing files which may not be
2662 # executable, retaining their permissions. Remove them first so a
2663 # subsequent execution test works.
2664 ac_rmfiles=
2665 for ac_file in $ac_files
2667 case $ac_file in
2668 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2669 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2670 esac
2671 done
2672 rm -f $ac_rmfiles
2674 if { (ac_try="$ac_link_default"
2675 case "(($ac_try" in
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2678 esac
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_link_default") 2>&5
2681 ac_status=$?
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; then
2684 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2685 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2686 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2687 # so that the user can short-circuit this test for compilers unknown to
2688 # Autoconf.
2689 for ac_file in $ac_files ''
2691 test -f "$ac_file" || continue
2692 case $ac_file in
2693 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2695 [ab].out )
2696 # We found the default executable, but exeext='' is most
2697 # certainly right.
2698 break;;
2699 *.* )
2700 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2701 then :; else
2702 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2704 # We set ac_cv_exeext here because the later test for it is not
2705 # safe: cross compilers may not add the suffix if given an `-o'
2706 # argument, so we may need to know it at that point already.
2707 # Even if this section looks crufty: it has the advantage of
2708 # actually working.
2709 break;;
2711 break;;
2712 esac
2713 done
2714 test "$ac_cv_exeext" = no && ac_cv_exeext=
2716 else
2717 ac_file=''
2720 { echo "$as_me:$LINENO: result: $ac_file" >&5
2721 echo "${ECHO_T}$ac_file" >&6; }
2722 if test -z "$ac_file"; then
2723 echo "$as_me: failed program was:" >&5
2724 sed 's/^/| /' conftest.$ac_ext >&5
2726 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&5
2728 echo "$as_me: error: C compiler cannot create executables
2729 See \`config.log' for more details." >&2;}
2730 { (exit 77); exit 77; }; }
2733 ac_exeext=$ac_cv_exeext
2735 # Check that the compiler produces executables we can run. If not, either
2736 # the compiler is broken, or we cross compile.
2737 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2738 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2739 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2740 # If not cross compiling, check that we can run a simple program.
2741 if test "$cross_compiling" != yes; then
2742 if { ac_try='./$ac_file'
2743 { (case "(($ac_try" in
2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2745 *) ac_try_echo=$ac_try;;
2746 esac
2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2748 (eval "$ac_try") 2>&5
2749 ac_status=$?
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); }; }; then
2752 cross_compiling=no
2753 else
2754 if test "$cross_compiling" = maybe; then
2755 cross_compiling=yes
2756 else
2757 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details." >&5
2760 echo "$as_me: error: cannot run C compiled programs.
2761 If you meant to cross compile, use \`--host'.
2762 See \`config.log' for more details." >&2;}
2763 { (exit 1); exit 1; }; }
2767 { echo "$as_me:$LINENO: result: yes" >&5
2768 echo "${ECHO_T}yes" >&6; }
2770 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2771 ac_clean_files=$ac_clean_files_save
2772 # Check that the compiler produces executables we can run. If not, either
2773 # the compiler is broken, or we cross compile.
2774 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2775 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2776 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2777 echo "${ECHO_T}$cross_compiling" >&6; }
2779 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2780 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2781 if { (ac_try="$ac_link"
2782 case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2785 esac
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_link") 2>&5
2788 ac_status=$?
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); }; then
2791 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2792 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2793 # work properly (i.e., refer to `conftest.exe'), while it won't with
2794 # `rm'.
2795 for ac_file in conftest.exe conftest conftest.*; do
2796 test -f "$ac_file" || continue
2797 case $ac_file in
2798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2799 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2800 break;;
2801 * ) break;;
2802 esac
2803 done
2804 else
2805 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2808 See \`config.log' for more details." >&2;}
2809 { (exit 1); exit 1; }; }
2812 rm -f conftest$ac_cv_exeext
2813 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2814 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2816 rm -f conftest.$ac_ext
2817 EXEEXT=$ac_cv_exeext
2818 ac_exeext=$EXEEXT
2819 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2820 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2821 if test "${ac_cv_objext+set}" = set; then
2822 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 else
2824 cat >conftest.$ac_ext <<_ACEOF
2825 /* confdefs.h. */
2826 _ACEOF
2827 cat confdefs.h >>conftest.$ac_ext
2828 cat >>conftest.$ac_ext <<_ACEOF
2829 /* end confdefs.h. */
2832 main ()
2836 return 0;
2838 _ACEOF
2839 rm -f conftest.o conftest.obj
2840 if { (ac_try="$ac_compile"
2841 case "(($ac_try" in
2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2843 *) ac_try_echo=$ac_try;;
2844 esac
2845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2846 (eval "$ac_compile") 2>&5
2847 ac_status=$?
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; then
2850 for ac_file in conftest.o conftest.obj conftest.*; do
2851 test -f "$ac_file" || continue;
2852 case $ac_file in
2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2854 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2855 break;;
2856 esac
2857 done
2858 else
2859 echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log' for more details." >&5
2864 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2865 See \`config.log' for more details." >&2;}
2866 { (exit 1); exit 1; }; }
2869 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2871 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2872 echo "${ECHO_T}$ac_cv_objext" >&6; }
2873 OBJEXT=$ac_cv_objext
2874 ac_objext=$OBJEXT
2875 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2876 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2877 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2879 else
2880 cat >conftest.$ac_ext <<_ACEOF
2881 /* confdefs.h. */
2882 _ACEOF
2883 cat confdefs.h >>conftest.$ac_ext
2884 cat >>conftest.$ac_ext <<_ACEOF
2885 /* end confdefs.h. */
2888 main ()
2890 #ifndef __GNUC__
2891 choke me
2892 #endif
2895 return 0;
2897 _ACEOF
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2906 ac_status=$?
2907 grep -v '^ *+' conftest.er1 >conftest.err
2908 rm -f conftest.er1
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2915 ac_compiler_gnu=yes
2916 else
2917 echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2920 ac_compiler_gnu=no
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2927 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2928 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2929 GCC=`test $ac_compiler_gnu = yes && echo yes`
2930 ac_test_CFLAGS=${CFLAGS+set}
2931 ac_save_CFLAGS=$CFLAGS
2932 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2933 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2934 if test "${ac_cv_prog_cc_g+set}" = set; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2936 else
2937 ac_save_c_werror_flag=$ac_c_werror_flag
2938 ac_c_werror_flag=yes
2939 ac_cv_prog_cc_g=no
2940 CFLAGS="-g"
2941 cat >conftest.$ac_ext <<_ACEOF
2942 /* confdefs.h. */
2943 _ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2949 main ()
2953 return 0;
2955 _ACEOF
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2958 case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2961 esac
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2964 ac_status=$?
2965 grep -v '^ *+' conftest.er1 >conftest.err
2966 rm -f conftest.er1
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } && {
2970 test -z "$ac_c_werror_flag" ||
2971 test ! -s conftest.err
2972 } && test -s conftest.$ac_objext; then
2973 ac_cv_prog_cc_g=yes
2974 else
2975 echo "$as_me: failed program was:" >&5
2976 sed 's/^/| /' conftest.$ac_ext >&5
2978 CFLAGS=""
2979 cat >conftest.$ac_ext <<_ACEOF
2980 /* confdefs.h. */
2981 _ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2987 main ()
2991 return 0;
2993 _ACEOF
2994 rm -f conftest.$ac_objext
2995 if { (ac_try="$ac_compile"
2996 case "(($ac_try" in
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
2999 esac
3000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_compile") 2>conftest.er1
3002 ac_status=$?
3003 grep -v '^ *+' conftest.er1 >conftest.err
3004 rm -f conftest.er1
3005 cat conftest.err >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); } && {
3008 test -z "$ac_c_werror_flag" ||
3009 test ! -s conftest.err
3010 } && test -s conftest.$ac_objext; then
3012 else
3013 echo "$as_me: failed program was:" >&5
3014 sed 's/^/| /' conftest.$ac_ext >&5
3016 ac_c_werror_flag=$ac_save_c_werror_flag
3017 CFLAGS="-g"
3018 cat >conftest.$ac_ext <<_ACEOF
3019 /* confdefs.h. */
3020 _ACEOF
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3026 main ()
3030 return 0;
3032 _ACEOF
3033 rm -f conftest.$ac_objext
3034 if { (ac_try="$ac_compile"
3035 case "(($ac_try" in
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3038 esac
3039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3040 (eval "$ac_compile") 2>conftest.er1
3041 ac_status=$?
3042 grep -v '^ *+' conftest.er1 >conftest.err
3043 rm -f conftest.er1
3044 cat conftest.err >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } && {
3047 test -z "$ac_c_werror_flag" ||
3048 test ! -s conftest.err
3049 } && test -s conftest.$ac_objext; then
3050 ac_cv_prog_cc_g=yes
3051 else
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 ac_c_werror_flag=$ac_save_c_werror_flag
3067 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3068 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3069 if test "$ac_test_CFLAGS" = set; then
3070 CFLAGS=$ac_save_CFLAGS
3071 elif test $ac_cv_prog_cc_g = yes; then
3072 if test "$GCC" = yes; then
3073 CFLAGS="-g -O2"
3074 else
3075 CFLAGS="-g"
3077 else
3078 if test "$GCC" = yes; then
3079 CFLAGS="-O2"
3080 else
3081 CFLAGS=
3084 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3085 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3086 if test "${ac_cv_prog_cc_c89+set}" = set; then
3087 echo $ECHO_N "(cached) $ECHO_C" >&6
3088 else
3089 ac_cv_prog_cc_c89=no
3090 ac_save_CC=$CC
3091 cat >conftest.$ac_ext <<_ACEOF
3092 /* confdefs.h. */
3093 _ACEOF
3094 cat confdefs.h >>conftest.$ac_ext
3095 cat >>conftest.$ac_ext <<_ACEOF
3096 /* end confdefs.h. */
3097 #include <stdarg.h>
3098 #include <stdio.h>
3099 #include <sys/types.h>
3100 #include <sys/stat.h>
3101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3102 struct buf { int x; };
3103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3104 static char *e (p, i)
3105 char **p;
3106 int i;
3108 return p[i];
3110 static char *f (char * (*g) (char **, int), char **p, ...)
3112 char *s;
3113 va_list v;
3114 va_start (v,p);
3115 s = g (p, va_arg (v,int));
3116 va_end (v);
3117 return s;
3120 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3121 function prototypes and stuff, but not '\xHH' hex character constants.
3122 These don't provoke an error unfortunately, instead are silently treated
3123 as 'x'. The following induces an error, until -std is added to get
3124 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3125 array size at least. It's necessary to write '\x00'==0 to get something
3126 that's true only with -std. */
3127 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3129 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3130 inside strings and character constants. */
3131 #define FOO(x) 'x'
3132 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3134 int test (int i, double x);
3135 struct s1 {int (*f) (int a);};
3136 struct s2 {int (*f) (double a);};
3137 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3138 int argc;
3139 char **argv;
3141 main ()
3143 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3145 return 0;
3147 _ACEOF
3148 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3149 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3151 CC="$ac_save_CC $ac_arg"
3152 rm -f conftest.$ac_objext
3153 if { (ac_try="$ac_compile"
3154 case "(($ac_try" in
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3157 esac
3158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_compile") 2>conftest.er1
3160 ac_status=$?
3161 grep -v '^ *+' conftest.er1 >conftest.err
3162 rm -f conftest.er1
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } && {
3166 test -z "$ac_c_werror_flag" ||
3167 test ! -s conftest.err
3168 } && test -s conftest.$ac_objext; then
3169 ac_cv_prog_cc_c89=$ac_arg
3170 else
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3177 rm -f core conftest.err conftest.$ac_objext
3178 test "x$ac_cv_prog_cc_c89" != "xno" && break
3179 done
3180 rm -f conftest.$ac_ext
3181 CC=$ac_save_CC
3184 # AC_CACHE_VAL
3185 case "x$ac_cv_prog_cc_c89" in
3187 { echo "$as_me:$LINENO: result: none needed" >&5
3188 echo "${ECHO_T}none needed" >&6; } ;;
3189 xno)
3190 { echo "$as_me:$LINENO: result: unsupported" >&5
3191 echo "${ECHO_T}unsupported" >&6; } ;;
3193 CC="$CC $ac_cv_prog_cc_c89"
3194 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3195 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3196 esac
3199 ac_ext=c
3200 ac_cpp='$CPP $CPPFLAGS'
3201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3205 ac_ext=cpp
3206 ac_cpp='$CXXCPP $CPPFLAGS'
3207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3210 if test -z "$CXX"; then
3211 if test -n "$CCC"; then
3212 CXX=$CCC
3213 else
3214 if test -n "$ac_tool_prefix"; then
3215 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3221 if test "${ac_cv_prog_CXX+set}" = set; then
3222 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 else
3224 if test -n "$CXX"; then
3225 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3226 else
3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 for as_dir in $PATH
3230 IFS=$as_save_IFS
3231 test -z "$as_dir" && as_dir=.
3232 for ac_exec_ext in '' $ac_executable_extensions; do
3233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3234 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3236 break 2
3238 done
3239 done
3240 IFS=$as_save_IFS
3244 CXX=$ac_cv_prog_CXX
3245 if test -n "$CXX"; then
3246 { echo "$as_me:$LINENO: result: $CXX" >&5
3247 echo "${ECHO_T}$CXX" >&6; }
3248 else
3249 { echo "$as_me:$LINENO: result: no" >&5
3250 echo "${ECHO_T}no" >&6; }
3254 test -n "$CXX" && break
3255 done
3257 if test -z "$CXX"; then
3258 ac_ct_CXX=$CXX
3259 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3261 # Extract the first word of "$ac_prog", so it can be a program name with args.
3262 set dummy $ac_prog; ac_word=$2
3263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3265 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3267 else
3268 if test -n "$ac_ct_CXX"; then
3269 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3270 else
3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272 for as_dir in $PATH
3274 IFS=$as_save_IFS
3275 test -z "$as_dir" && as_dir=.
3276 for ac_exec_ext in '' $ac_executable_extensions; do
3277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3278 ac_cv_prog_ac_ct_CXX="$ac_prog"
3279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 break 2
3282 done
3283 done
3284 IFS=$as_save_IFS
3288 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3289 if test -n "$ac_ct_CXX"; then
3290 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3291 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3292 else
3293 { echo "$as_me:$LINENO: result: no" >&5
3294 echo "${ECHO_T}no" >&6; }
3298 test -n "$ac_ct_CXX" && break
3299 done
3301 if test "x$ac_ct_CXX" = x; then
3302 CXX="g++"
3303 else
3304 case $cross_compiling:$ac_tool_warned in
3305 yes:)
3306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3307 whose name does not start with the host triplet. If you think this
3308 configuration is useful to you, please write to autoconf@gnu.org." >&5
3309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3310 whose name does not start with the host triplet. If you think this
3311 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3312 ac_tool_warned=yes ;;
3313 esac
3314 CXX=$ac_ct_CXX
3320 # Provide some information about the compiler.
3321 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3322 ac_compiler=`set X $ac_compile; echo $2`
3323 { (ac_try="$ac_compiler --version >&5"
3324 case "(($ac_try" in
3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3326 *) ac_try_echo=$ac_try;;
3327 esac
3328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3329 (eval "$ac_compiler --version >&5") 2>&5
3330 ac_status=$?
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); }
3333 { (ac_try="$ac_compiler -v >&5"
3334 case "(($ac_try" in
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3337 esac
3338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3339 (eval "$ac_compiler -v >&5") 2>&5
3340 ac_status=$?
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }
3343 { (ac_try="$ac_compiler -V >&5"
3344 case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3347 esac
3348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_compiler -V >&5") 2>&5
3350 ac_status=$?
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }
3354 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3355 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3356 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3357 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 else
3359 cat >conftest.$ac_ext <<_ACEOF
3360 /* confdefs.h. */
3361 _ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3367 main ()
3369 #ifndef __GNUC__
3370 choke me
3371 #endif
3374 return 0;
3376 _ACEOF
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3379 case "(($ac_try" in
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3382 esac
3383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3385 ac_status=$?
3386 grep -v '^ *+' conftest.er1 >conftest.err
3387 rm -f conftest.er1
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } && {
3391 test -z "$ac_cxx_werror_flag" ||
3392 test ! -s conftest.err
3393 } && test -s conftest.$ac_objext; then
3394 ac_compiler_gnu=yes
3395 else
3396 echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.$ac_ext >&5
3399 ac_compiler_gnu=no
3402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3403 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3406 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3407 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3408 GXX=`test $ac_compiler_gnu = yes && echo yes`
3409 ac_test_CXXFLAGS=${CXXFLAGS+set}
3410 ac_save_CXXFLAGS=$CXXFLAGS
3411 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3412 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3413 if test "${ac_cv_prog_cxx_g+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 else
3416 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3417 ac_cxx_werror_flag=yes
3418 ac_cv_prog_cxx_g=no
3419 CXXFLAGS="-g"
3420 cat >conftest.$ac_ext <<_ACEOF
3421 /* confdefs.h. */
3422 _ACEOF
3423 cat confdefs.h >>conftest.$ac_ext
3424 cat >>conftest.$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3428 main ()
3432 return 0;
3434 _ACEOF
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3437 case "(($ac_try" in
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3440 esac
3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_compile") 2>conftest.er1
3443 ac_status=$?
3444 grep -v '^ *+' conftest.er1 >conftest.err
3445 rm -f conftest.er1
3446 cat conftest.err >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } && {
3449 test -z "$ac_cxx_werror_flag" ||
3450 test ! -s conftest.err
3451 } && test -s conftest.$ac_objext; then
3452 ac_cv_prog_cxx_g=yes
3453 else
3454 echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3457 CXXFLAGS=""
3458 cat >conftest.$ac_ext <<_ACEOF
3459 /* confdefs.h. */
3460 _ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3466 main ()
3470 return 0;
3472 _ACEOF
3473 rm -f conftest.$ac_objext
3474 if { (ac_try="$ac_compile"
3475 case "(($ac_try" in
3476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477 *) ac_try_echo=$ac_try;;
3478 esac
3479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3480 (eval "$ac_compile") 2>conftest.er1
3481 ac_status=$?
3482 grep -v '^ *+' conftest.er1 >conftest.err
3483 rm -f conftest.er1
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } && {
3487 test -z "$ac_cxx_werror_flag" ||
3488 test ! -s conftest.err
3489 } && test -s conftest.$ac_objext; then
3491 else
3492 echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3495 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3496 CXXFLAGS="-g"
3497 cat >conftest.$ac_ext <<_ACEOF
3498 /* confdefs.h. */
3499 _ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3505 main ()
3509 return 0;
3511 _ACEOF
3512 rm -f conftest.$ac_objext
3513 if { (ac_try="$ac_compile"
3514 case "(($ac_try" in
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3517 esac
3518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3519 (eval "$ac_compile") 2>conftest.er1
3520 ac_status=$?
3521 grep -v '^ *+' conftest.er1 >conftest.err
3522 rm -f conftest.er1
3523 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } && {
3526 test -z "$ac_cxx_werror_flag" ||
3527 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then
3529 ac_cv_prog_cxx_g=yes
3530 else
3531 echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.$ac_ext >&5
3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3546 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3547 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3548 if test "$ac_test_CXXFLAGS" = set; then
3549 CXXFLAGS=$ac_save_CXXFLAGS
3550 elif test $ac_cv_prog_cxx_g = yes; then
3551 if test "$GXX" = yes; then
3552 CXXFLAGS="-g -O2"
3553 else
3554 CXXFLAGS="-g"
3556 else
3557 if test "$GXX" = yes; then
3558 CXXFLAGS="-O2"
3559 else
3560 CXXFLAGS=
3563 ac_ext=c
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3574 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3576 else
3577 if test -n "$CPPBIN"; then
3578 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3579 else
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3583 IFS=$as_save_IFS
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 break 2
3591 done
3592 done
3593 IFS=$as_save_IFS
3597 CPPBIN=$ac_cv_prog_CPPBIN
3598 if test -n "$CPPBIN"; then
3599 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3600 echo "${ECHO_T}$CPPBIN" >&6; }
3601 else
3602 { echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6; }
3608 if test -z "$ac_cv_prog_CPPBIN"; then
3609 ac_ct_CPPBIN=$CPPBIN
3610 # Extract the first word of "cpp", so it can be a program name with args.
3611 set dummy cpp; ac_word=$2
3612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3614 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 else
3617 if test -n "$ac_ct_CPPBIN"; then
3618 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_ac_ct_CPPBIN="cpp"
3628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 break 2
3631 done
3632 done
3633 IFS=$as_save_IFS
3637 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3638 if test -n "$ac_ct_CPPBIN"; then
3639 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3640 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3641 else
3642 { echo "$as_me:$LINENO: result: no" >&5
3643 echo "${ECHO_T}no" >&6; }
3646 if test "x$ac_ct_CPPBIN" = x; then
3647 CPPBIN="cpp"
3648 else
3649 case $cross_compiling:$ac_tool_warned in
3650 yes:)
3651 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3652 whose name does not start with the host triplet. If you think this
3653 configuration is useful to you, please write to autoconf@gnu.org." >&5
3654 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3655 whose name does not start with the host triplet. If you think this
3656 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3657 ac_tool_warned=yes ;;
3658 esac
3659 CPPBIN=$ac_ct_CPPBIN
3661 else
3662 CPPBIN="$ac_cv_prog_CPPBIN"
3666 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3667 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3668 if test "${wine_cv_toolsdir+set}" = set; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 else
3671 if test -z "$with_wine_tools"; then
3672 if test "$cross_compiling" = "yes"; then
3673 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3674 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3675 { (exit 1); exit 1; }; }
3676 else
3677 wine_cv_toolsdir="\$(TOPOBJDIR)"
3679 elif test -d "$with_wine_tools/tools/winebuild"; then
3680 case $with_wine_tools in
3681 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3682 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3683 esac
3684 else
3685 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3686 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3687 { (exit 1); exit 1; }; }
3690 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3691 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3692 TOOLSDIR=$wine_cv_toolsdir
3696 ac_ext=c
3697 ac_cpp='$CPP $CPPFLAGS'
3698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3702 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3703 # On Suns, sometimes $CPP names a directory.
3704 if test -n "$CPP" && test -d "$CPP"; then
3705 CPP=
3707 if test -z "$CPP"; then
3708 if test "${ac_cv_prog_CPP+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 else
3711 # Double quotes because CPP needs to be expanded
3712 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3714 ac_preproc_ok=false
3715 for ac_c_preproc_warn_flag in '' yes
3717 # Use a header file that comes with gcc, so configuring glibc
3718 # with a fresh cross-compiler works.
3719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3720 # <limits.h> exists even on freestanding compilers.
3721 # On the NeXT, cc -E runs the code through the compiler's parser,
3722 # not just through cpp. "Syntax error" is here to catch this case.
3723 cat >conftest.$ac_ext <<_ACEOF
3724 /* confdefs.h. */
3725 _ACEOF
3726 cat confdefs.h >>conftest.$ac_ext
3727 cat >>conftest.$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3729 #ifdef __STDC__
3730 # include <limits.h>
3731 #else
3732 # include <assert.h>
3733 #endif
3734 Syntax error
3735 _ACEOF
3736 if { (ac_try="$ac_cpp conftest.$ac_ext"
3737 case "(($ac_try" in
3738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3739 *) ac_try_echo=$ac_try;;
3740 esac
3741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3742 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3743 ac_status=$?
3744 grep -v '^ *+' conftest.er1 >conftest.err
3745 rm -f conftest.er1
3746 cat conftest.err >&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } >/dev/null && {
3749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3750 test ! -s conftest.err
3751 }; then
3753 else
3754 echo "$as_me: failed program was:" >&5
3755 sed 's/^/| /' conftest.$ac_ext >&5
3757 # Broken: fails on valid input.
3758 continue
3761 rm -f conftest.err conftest.$ac_ext
3763 # OK, works on sane cases. Now check whether nonexistent headers
3764 # can be detected and how.
3765 cat >conftest.$ac_ext <<_ACEOF
3766 /* confdefs.h. */
3767 _ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3771 #include <ac_nonexistent.h>
3772 _ACEOF
3773 if { (ac_try="$ac_cpp conftest.$ac_ext"
3774 case "(($ac_try" in
3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3776 *) ac_try_echo=$ac_try;;
3777 esac
3778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3780 ac_status=$?
3781 grep -v '^ *+' conftest.er1 >conftest.err
3782 rm -f conftest.er1
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } >/dev/null && {
3786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3787 test ! -s conftest.err
3788 }; then
3789 # Broken: success on invalid input.
3790 continue
3791 else
3792 echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3795 # Passes both tests.
3796 ac_preproc_ok=:
3797 break
3800 rm -f conftest.err conftest.$ac_ext
3802 done
3803 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3804 rm -f conftest.err conftest.$ac_ext
3805 if $ac_preproc_ok; then
3806 break
3809 done
3810 ac_cv_prog_CPP=$CPP
3813 CPP=$ac_cv_prog_CPP
3814 else
3815 ac_cv_prog_CPP=$CPP
3817 { echo "$as_me:$LINENO: result: $CPP" >&5
3818 echo "${ECHO_T}$CPP" >&6; }
3819 ac_preproc_ok=false
3820 for ac_c_preproc_warn_flag in '' yes
3822 # Use a header file that comes with gcc, so configuring glibc
3823 # with a fresh cross-compiler works.
3824 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3825 # <limits.h> exists even on freestanding compilers.
3826 # On the NeXT, cc -E runs the code through the compiler's parser,
3827 # not just through cpp. "Syntax error" is here to catch this case.
3828 cat >conftest.$ac_ext <<_ACEOF
3829 /* confdefs.h. */
3830 _ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #ifdef __STDC__
3835 # include <limits.h>
3836 #else
3837 # include <assert.h>
3838 #endif
3839 Syntax error
3840 _ACEOF
3841 if { (ac_try="$ac_cpp conftest.$ac_ext"
3842 case "(($ac_try" in
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3845 esac
3846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3848 ac_status=$?
3849 grep -v '^ *+' conftest.er1 >conftest.err
3850 rm -f conftest.er1
3851 cat conftest.err >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); } >/dev/null && {
3854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3855 test ! -s conftest.err
3856 }; then
3858 else
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 # Broken: fails on valid input.
3863 continue
3866 rm -f conftest.err conftest.$ac_ext
3868 # OK, works on sane cases. Now check whether nonexistent headers
3869 # can be detected and how.
3870 cat >conftest.$ac_ext <<_ACEOF
3871 /* confdefs.h. */
3872 _ACEOF
3873 cat confdefs.h >>conftest.$ac_ext
3874 cat >>conftest.$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3876 #include <ac_nonexistent.h>
3877 _ACEOF
3878 if { (ac_try="$ac_cpp conftest.$ac_ext"
3879 case "(($ac_try" in
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3882 esac
3883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3884 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3885 ac_status=$?
3886 grep -v '^ *+' conftest.er1 >conftest.err
3887 rm -f conftest.er1
3888 cat conftest.err >&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } >/dev/null && {
3891 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3892 test ! -s conftest.err
3893 }; then
3894 # Broken: success on invalid input.
3895 continue
3896 else
3897 echo "$as_me: failed program was:" >&5
3898 sed 's/^/| /' conftest.$ac_ext >&5
3900 # Passes both tests.
3901 ac_preproc_ok=:
3902 break
3905 rm -f conftest.err conftest.$ac_ext
3907 done
3908 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3909 rm -f conftest.err conftest.$ac_ext
3910 if $ac_preproc_ok; then
3912 else
3913 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3914 See \`config.log' for more details." >&5
3915 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3916 See \`config.log' for more details." >&2;}
3917 { (exit 1); exit 1; }; }
3920 ac_ext=c
3921 ac_cpp='$CPP $CPPFLAGS'
3922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3927 { echo "$as_me:$LINENO: checking for X" >&5
3928 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3931 # Check whether --with-x was given.
3932 if test "${with_x+set}" = set; then
3933 withval=$with_x;
3936 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3937 if test "x$with_x" = xno; then
3938 # The user explicitly disabled X.
3939 have_x=disabled
3940 else
3941 case $x_includes,$x_libraries in #(
3942 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3943 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3944 { (exit 1); exit 1; }; };; #(
3945 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 else
3948 # One or both of the vars are not set, and there is no cached value.
3949 ac_x_includes=no ac_x_libraries=no
3950 rm -f -r conftest.dir
3951 if mkdir conftest.dir; then
3952 cd conftest.dir
3953 cat >Imakefile <<'_ACEOF'
3954 incroot:
3955 @echo incroot='${INCROOT}'
3956 usrlibdir:
3957 @echo usrlibdir='${USRLIBDIR}'
3958 libdir:
3959 @echo libdir='${LIBDIR}'
3960 _ACEOF
3961 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3962 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3963 for ac_var in incroot usrlibdir libdir; do
3964 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3965 done
3966 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3967 for ac_extension in a so sl; do
3968 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3969 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3970 ac_im_usrlibdir=$ac_im_libdir; break
3972 done
3973 # Screen out bogus values from the imake configuration. They are
3974 # bogus both because they are the default anyway, and because
3975 # using them would break gcc on systems where it needs fixed includes.
3976 case $ac_im_incroot in
3977 /usr/include) ac_x_includes= ;;
3978 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3979 esac
3980 case $ac_im_usrlibdir in
3981 /usr/lib | /lib) ;;
3982 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3983 esac
3985 cd ..
3986 rm -f -r conftest.dir
3989 # Standard set of common directories for X headers.
3990 # Check X11 before X11Rn because it is often a symlink to the current release.
3991 ac_x_header_dirs='
3992 /usr/X11/include
3993 /usr/X11R6/include
3994 /usr/X11R5/include
3995 /usr/X11R4/include
3997 /usr/include/X11
3998 /usr/include/X11R6
3999 /usr/include/X11R5
4000 /usr/include/X11R4
4002 /usr/local/X11/include
4003 /usr/local/X11R6/include
4004 /usr/local/X11R5/include
4005 /usr/local/X11R4/include
4007 /usr/local/include/X11
4008 /usr/local/include/X11R6
4009 /usr/local/include/X11R5
4010 /usr/local/include/X11R4
4012 /usr/X386/include
4013 /usr/x386/include
4014 /usr/XFree86/include/X11
4016 /usr/include
4017 /usr/local/include
4018 /usr/unsupported/include
4019 /usr/athena/include
4020 /usr/local/x11r5/include
4021 /usr/lpp/Xamples/include
4023 /usr/openwin/include
4024 /usr/openwin/share/include'
4026 if test "$ac_x_includes" = no; then
4027 # Guess where to find include files, by looking for Xlib.h.
4028 # First, try using that file with no special directory specified.
4029 cat >conftest.$ac_ext <<_ACEOF
4030 /* confdefs.h. */
4031 _ACEOF
4032 cat confdefs.h >>conftest.$ac_ext
4033 cat >>conftest.$ac_ext <<_ACEOF
4034 /* end confdefs.h. */
4035 #include <X11/Xlib.h>
4036 _ACEOF
4037 if { (ac_try="$ac_cpp conftest.$ac_ext"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4043 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4044 ac_status=$?
4045 grep -v '^ *+' conftest.er1 >conftest.err
4046 rm -f conftest.er1
4047 cat conftest.err >&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); } >/dev/null && {
4050 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4051 test ! -s conftest.err
4052 }; then
4053 # We can compile using X headers with no special include directory.
4054 ac_x_includes=
4055 else
4056 echo "$as_me: failed program was:" >&5
4057 sed 's/^/| /' conftest.$ac_ext >&5
4059 for ac_dir in $ac_x_header_dirs; do
4060 if test -r "$ac_dir/X11/Xlib.h"; then
4061 ac_x_includes=$ac_dir
4062 break
4064 done
4067 rm -f conftest.err conftest.$ac_ext
4068 fi # $ac_x_includes = no
4070 if test "$ac_x_libraries" = no; then
4071 # Check for the libraries.
4072 # See if we find them without any special options.
4073 # Don't add to $LIBS permanently.
4074 ac_save_LIBS=$LIBS
4075 LIBS="-lX11 $LIBS"
4076 cat >conftest.$ac_ext <<_ACEOF
4077 /* confdefs.h. */
4078 _ACEOF
4079 cat confdefs.h >>conftest.$ac_ext
4080 cat >>conftest.$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4082 #include <X11/Xlib.h>
4084 main ()
4086 XrmInitialize ()
4088 return 0;
4090 _ACEOF
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (ac_try="$ac_link"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4099 ac_status=$?
4100 grep -v '^ *+' conftest.er1 >conftest.err
4101 rm -f conftest.er1
4102 cat conftest.err >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest$ac_exeext &&
4108 $as_test_x conftest$ac_exeext; then
4109 LIBS=$ac_save_LIBS
4110 # We can link X programs with no special library path.
4111 ac_x_libraries=
4112 else
4113 echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4116 LIBS=$ac_save_LIBS
4117 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4119 # Don't even attempt the hair of trying to link an X program!
4120 for ac_extension in a so sl; do
4121 if test -r "$ac_dir/libX11.$ac_extension"; then
4122 ac_x_libraries=$ac_dir
4123 break 2
4125 done
4126 done
4129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4130 conftest$ac_exeext conftest.$ac_ext
4131 fi # $ac_x_libraries = no
4133 case $ac_x_includes,$ac_x_libraries in #(
4134 no,* | *,no | *\'*)
4135 # Didn't find X, or a directory has "'" in its name.
4136 ac_cv_have_x="have_x=no";; #(
4138 # Record where we found X for the cache.
4139 ac_cv_have_x="have_x=yes\
4140 ac_x_includes='$ac_x_includes'\
4141 ac_x_libraries='$ac_x_libraries'"
4142 esac
4144 ;; #(
4145 *) have_x=yes;;
4146 esac
4147 eval "$ac_cv_have_x"
4148 fi # $with_x != no
4150 if test "$have_x" != yes; then
4151 { echo "$as_me:$LINENO: result: $have_x" >&5
4152 echo "${ECHO_T}$have_x" >&6; }
4153 no_x=yes
4154 else
4155 # If each of the values was on the command line, it overrides each guess.
4156 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4157 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4158 # Update the cache value to reflect the command line values.
4159 ac_cv_have_x="have_x=yes\
4160 ac_x_includes='$x_includes'\
4161 ac_x_libraries='$x_libraries'"
4162 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4163 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4166 if test "$no_x" = yes; then
4167 # Not all programs may use this symbol, but it does not hurt to define it.
4169 cat >>confdefs.h <<\_ACEOF
4170 #define X_DISPLAY_MISSING 1
4171 _ACEOF
4173 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4174 else
4175 if test -n "$x_includes"; then
4176 X_CFLAGS="$X_CFLAGS -I$x_includes"
4179 # It would also be nice to do this for all -L options, not just this one.
4180 if test -n "$x_libraries"; then
4181 X_LIBS="$X_LIBS -L$x_libraries"
4182 # For Solaris; some versions of Sun CC require a space after -R and
4183 # others require no space. Words are not sufficient . . . .
4184 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4185 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4186 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4187 ac_xsave_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 cat >conftest.$ac_ext <<_ACEOF
4190 /* confdefs.h. */
4191 _ACEOF
4192 cat confdefs.h >>conftest.$ac_ext
4193 cat >>conftest.$ac_ext <<_ACEOF
4194 /* end confdefs.h. */
4197 main ()
4201 return 0;
4203 _ACEOF
4204 rm -f conftest.$ac_objext conftest$ac_exeext
4205 if { (ac_try="$ac_link"
4206 case "(($ac_try" in
4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208 *) ac_try_echo=$ac_try;;
4209 esac
4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211 (eval "$ac_link") 2>conftest.er1
4212 ac_status=$?
4213 grep -v '^ *+' conftest.er1 >conftest.err
4214 rm -f conftest.er1
4215 cat conftest.err >&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } && {
4218 test -z "$ac_c_werror_flag" ||
4219 test ! -s conftest.err
4220 } && test -s conftest$ac_exeext &&
4221 $as_test_x conftest$ac_exeext; then
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4224 X_LIBS="$X_LIBS -R$x_libraries"
4225 else
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.$ac_ext >&5
4229 LIBS="$ac_xsave_LIBS -R $x_libraries"
4230 cat >conftest.$ac_ext <<_ACEOF
4231 /* confdefs.h. */
4232 _ACEOF
4233 cat confdefs.h >>conftest.$ac_ext
4234 cat >>conftest.$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4238 main ()
4242 return 0;
4244 _ACEOF
4245 rm -f conftest.$ac_objext conftest$ac_exeext
4246 if { (ac_try="$ac_link"
4247 case "(($ac_try" in
4248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4250 esac
4251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4252 (eval "$ac_link") 2>conftest.er1
4253 ac_status=$?
4254 grep -v '^ *+' conftest.er1 >conftest.err
4255 rm -f conftest.er1
4256 cat conftest.err >&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); } && {
4259 test -z "$ac_c_werror_flag" ||
4260 test ! -s conftest.err
4261 } && test -s conftest$ac_exeext &&
4262 $as_test_x conftest$ac_exeext; then
4263 { echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6; }
4265 X_LIBS="$X_LIBS -R $x_libraries"
4266 else
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4270 { echo "$as_me:$LINENO: result: neither works" >&5
4271 echo "${ECHO_T}neither works" >&6; }
4274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4275 conftest$ac_exeext conftest.$ac_ext
4278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4279 conftest$ac_exeext conftest.$ac_ext
4280 ac_c_werror_flag=$ac_xsave_c_werror_flag
4281 LIBS=$ac_xsave_LIBS
4284 # Check for system-dependent libraries X programs must link with.
4285 # Do this before checking for the system-independent R6 libraries
4286 # (-lICE), since we may need -lsocket or whatever for X linking.
4288 if test "$ISC" = yes; then
4289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4290 else
4291 # Martyn Johnson says this is needed for Ultrix, if the X
4292 # libraries were built with DECnet support. And Karl Berry says
4293 # the Alpha needs dnet_stub (dnet does not exist).
4294 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4295 cat >conftest.$ac_ext <<_ACEOF
4296 /* confdefs.h. */
4297 _ACEOF
4298 cat confdefs.h >>conftest.$ac_ext
4299 cat >>conftest.$ac_ext <<_ACEOF
4300 /* end confdefs.h. */
4302 /* Override any GCC internal prototype to avoid an error.
4303 Use char because int might match the return type of a GCC
4304 builtin and then its argument prototype would still apply. */
4305 #ifdef __cplusplus
4306 extern "C"
4307 #endif
4308 char XOpenDisplay ();
4310 main ()
4312 return XOpenDisplay ();
4314 return 0;
4316 _ACEOF
4317 rm -f conftest.$ac_objext conftest$ac_exeext
4318 if { (ac_try="$ac_link"
4319 case "(($ac_try" in
4320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321 *) ac_try_echo=$ac_try;;
4322 esac
4323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4324 (eval "$ac_link") 2>conftest.er1
4325 ac_status=$?
4326 grep -v '^ *+' conftest.er1 >conftest.err
4327 rm -f conftest.er1
4328 cat conftest.err >&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } && {
4331 test -z "$ac_c_werror_flag" ||
4332 test ! -s conftest.err
4333 } && test -s conftest$ac_exeext &&
4334 $as_test_x conftest$ac_exeext; then
4336 else
4337 echo "$as_me: failed program was:" >&5
4338 sed 's/^/| /' conftest.$ac_ext >&5
4340 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4341 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4342 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 else
4345 ac_check_lib_save_LIBS=$LIBS
4346 LIBS="-ldnet $LIBS"
4347 cat >conftest.$ac_ext <<_ACEOF
4348 /* confdefs.h. */
4349 _ACEOF
4350 cat confdefs.h >>conftest.$ac_ext
4351 cat >>conftest.$ac_ext <<_ACEOF
4352 /* end confdefs.h. */
4354 /* Override any GCC internal prototype to avoid an error.
4355 Use char because int might match the return type of a GCC
4356 builtin and then its argument prototype would still apply. */
4357 #ifdef __cplusplus
4358 extern "C"
4359 #endif
4360 char dnet_ntoa ();
4362 main ()
4364 return dnet_ntoa ();
4366 return 0;
4368 _ACEOF
4369 rm -f conftest.$ac_objext conftest$ac_exeext
4370 if { (ac_try="$ac_link"
4371 case "(($ac_try" in
4372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4374 esac
4375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4376 (eval "$ac_link") 2>conftest.er1
4377 ac_status=$?
4378 grep -v '^ *+' conftest.er1 >conftest.err
4379 rm -f conftest.er1
4380 cat conftest.err >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } && {
4383 test -z "$ac_c_werror_flag" ||
4384 test ! -s conftest.err
4385 } && test -s conftest$ac_exeext &&
4386 $as_test_x conftest$ac_exeext; then
4387 ac_cv_lib_dnet_dnet_ntoa=yes
4388 else
4389 echo "$as_me: failed program was:" >&5
4390 sed 's/^/| /' conftest.$ac_ext >&5
4392 ac_cv_lib_dnet_dnet_ntoa=no
4395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4396 conftest$ac_exeext conftest.$ac_ext
4397 LIBS=$ac_check_lib_save_LIBS
4399 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4400 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4401 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4402 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4405 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4406 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4407 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4408 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4409 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 else
4411 ac_check_lib_save_LIBS=$LIBS
4412 LIBS="-ldnet_stub $LIBS"
4413 cat >conftest.$ac_ext <<_ACEOF
4414 /* confdefs.h. */
4415 _ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4420 /* Override any GCC internal prototype to avoid an error.
4421 Use char because int might match the return type of a GCC
4422 builtin and then its argument prototype would still apply. */
4423 #ifdef __cplusplus
4424 extern "C"
4425 #endif
4426 char dnet_ntoa ();
4428 main ()
4430 return dnet_ntoa ();
4432 return 0;
4434 _ACEOF
4435 rm -f conftest.$ac_objext conftest$ac_exeext
4436 if { (ac_try="$ac_link"
4437 case "(($ac_try" in
4438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4439 *) ac_try_echo=$ac_try;;
4440 esac
4441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4442 (eval "$ac_link") 2>conftest.er1
4443 ac_status=$?
4444 grep -v '^ *+' conftest.er1 >conftest.err
4445 rm -f conftest.er1
4446 cat conftest.err >&5
4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448 (exit $ac_status); } && {
4449 test -z "$ac_c_werror_flag" ||
4450 test ! -s conftest.err
4451 } && test -s conftest$ac_exeext &&
4452 $as_test_x conftest$ac_exeext; then
4453 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4454 else
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.$ac_ext >&5
4458 ac_cv_lib_dnet_stub_dnet_ntoa=no
4461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4462 conftest$ac_exeext conftest.$ac_ext
4463 LIBS=$ac_check_lib_save_LIBS
4465 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4466 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4467 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4468 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4475 conftest$ac_exeext conftest.$ac_ext
4476 LIBS="$ac_xsave_LIBS"
4478 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4479 # to get the SysV transport functions.
4480 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4481 # needs -lnsl.
4482 # The nsl library prevents programs from opening the X display
4483 # on Irix 5.2, according to T.E. Dickey.
4484 # The functions gethostbyname, getservbyname, and inet_addr are
4485 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4486 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4487 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4488 if test "${ac_cv_func_gethostbyname+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 else
4491 cat >conftest.$ac_ext <<_ACEOF
4492 /* confdefs.h. */
4493 _ACEOF
4494 cat confdefs.h >>conftest.$ac_ext
4495 cat >>conftest.$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4497 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4499 #define gethostbyname innocuous_gethostbyname
4501 /* System header to define __stub macros and hopefully few prototypes,
4502 which can conflict with char gethostbyname (); below.
4503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4504 <limits.h> exists even on freestanding compilers. */
4506 #ifdef __STDC__
4507 # include <limits.h>
4508 #else
4509 # include <assert.h>
4510 #endif
4512 #undef gethostbyname
4514 /* Override any GCC internal prototype to avoid an error.
4515 Use char because int might match the return type of a GCC
4516 builtin and then its argument prototype would still apply. */
4517 #ifdef __cplusplus
4518 extern "C"
4519 #endif
4520 char gethostbyname ();
4521 /* The GNU C library defines this for functions which it implements
4522 to always fail with ENOSYS. Some functions are actually named
4523 something starting with __ and the normal name is an alias. */
4524 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4525 choke me
4526 #endif
4529 main ()
4531 return gethostbyname ();
4533 return 0;
4535 _ACEOF
4536 rm -f conftest.$ac_objext conftest$ac_exeext
4537 if { (ac_try="$ac_link"
4538 case "(($ac_try" in
4539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4540 *) ac_try_echo=$ac_try;;
4541 esac
4542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4543 (eval "$ac_link") 2>conftest.er1
4544 ac_status=$?
4545 grep -v '^ *+' conftest.er1 >conftest.err
4546 rm -f conftest.er1
4547 cat conftest.err >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); } && {
4550 test -z "$ac_c_werror_flag" ||
4551 test ! -s conftest.err
4552 } && test -s conftest$ac_exeext &&
4553 $as_test_x conftest$ac_exeext; then
4554 ac_cv_func_gethostbyname=yes
4555 else
4556 echo "$as_me: failed program was:" >&5
4557 sed 's/^/| /' conftest.$ac_ext >&5
4559 ac_cv_func_gethostbyname=no
4562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4563 conftest$ac_exeext conftest.$ac_ext
4565 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4566 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4568 if test $ac_cv_func_gethostbyname = no; then
4569 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4570 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4571 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 else
4574 ac_check_lib_save_LIBS=$LIBS
4575 LIBS="-lnsl $LIBS"
4576 cat >conftest.$ac_ext <<_ACEOF
4577 /* confdefs.h. */
4578 _ACEOF
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4583 /* Override any GCC internal prototype to avoid an error.
4584 Use char because int might match the return type of a GCC
4585 builtin and then its argument prototype would still apply. */
4586 #ifdef __cplusplus
4587 extern "C"
4588 #endif
4589 char gethostbyname ();
4591 main ()
4593 return gethostbyname ();
4595 return 0;
4597 _ACEOF
4598 rm -f conftest.$ac_objext conftest$ac_exeext
4599 if { (ac_try="$ac_link"
4600 case "(($ac_try" in
4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4602 *) ac_try_echo=$ac_try;;
4603 esac
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_link") 2>conftest.er1
4606 ac_status=$?
4607 grep -v '^ *+' conftest.er1 >conftest.err
4608 rm -f conftest.er1
4609 cat conftest.err >&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } && {
4612 test -z "$ac_c_werror_flag" ||
4613 test ! -s conftest.err
4614 } && test -s conftest$ac_exeext &&
4615 $as_test_x conftest$ac_exeext; then
4616 ac_cv_lib_nsl_gethostbyname=yes
4617 else
4618 echo "$as_me: failed program was:" >&5
4619 sed 's/^/| /' conftest.$ac_ext >&5
4621 ac_cv_lib_nsl_gethostbyname=no
4624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4625 conftest$ac_exeext conftest.$ac_ext
4626 LIBS=$ac_check_lib_save_LIBS
4628 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4629 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4630 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4631 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4634 if test $ac_cv_lib_nsl_gethostbyname = no; then
4635 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4636 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4637 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 else
4640 ac_check_lib_save_LIBS=$LIBS
4641 LIBS="-lbsd $LIBS"
4642 cat >conftest.$ac_ext <<_ACEOF
4643 /* confdefs.h. */
4644 _ACEOF
4645 cat confdefs.h >>conftest.$ac_ext
4646 cat >>conftest.$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4649 /* Override any GCC internal prototype to avoid an error.
4650 Use char because int might match the return type of a GCC
4651 builtin and then its argument prototype would still apply. */
4652 #ifdef __cplusplus
4653 extern "C"
4654 #endif
4655 char gethostbyname ();
4657 main ()
4659 return gethostbyname ();
4661 return 0;
4663 _ACEOF
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4672 ac_status=$?
4673 grep -v '^ *+' conftest.er1 >conftest.err
4674 rm -f conftest.er1
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_lib_bsd_gethostbyname=yes
4683 else
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_lib_bsd_gethostbyname=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4692 LIBS=$ac_check_lib_save_LIBS
4694 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4695 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4696 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4697 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4703 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4704 # socket/setsockopt and other routines are undefined under SCO ODT
4705 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4706 # on later versions), says Simon Leinen: it contains gethostby*
4707 # variants that don't use the name server (or something). -lsocket
4708 # must be given before -lnsl if both are needed. We assume that
4709 # if connect needs -lnsl, so does gethostbyname.
4710 { echo "$as_me:$LINENO: checking for connect" >&5
4711 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4712 if test "${ac_cv_func_connect+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4714 else
4715 cat >conftest.$ac_ext <<_ACEOF
4716 /* confdefs.h. */
4717 _ACEOF
4718 cat confdefs.h >>conftest.$ac_ext
4719 cat >>conftest.$ac_ext <<_ACEOF
4720 /* end confdefs.h. */
4721 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4723 #define connect innocuous_connect
4725 /* System header to define __stub macros and hopefully few prototypes,
4726 which can conflict with char connect (); below.
4727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4728 <limits.h> exists even on freestanding compilers. */
4730 #ifdef __STDC__
4731 # include <limits.h>
4732 #else
4733 # include <assert.h>
4734 #endif
4736 #undef connect
4738 /* Override any GCC internal prototype to avoid an error.
4739 Use char because int might match the return type of a GCC
4740 builtin and then its argument prototype would still apply. */
4741 #ifdef __cplusplus
4742 extern "C"
4743 #endif
4744 char connect ();
4745 /* The GNU C library defines this for functions which it implements
4746 to always fail with ENOSYS. Some functions are actually named
4747 something starting with __ and the normal name is an alias. */
4748 #if defined __stub_connect || defined __stub___connect
4749 choke me
4750 #endif
4753 main ()
4755 return connect ();
4757 return 0;
4759 _ACEOF
4760 rm -f conftest.$ac_objext conftest$ac_exeext
4761 if { (ac_try="$ac_link"
4762 case "(($ac_try" in
4763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4764 *) ac_try_echo=$ac_try;;
4765 esac
4766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4767 (eval "$ac_link") 2>conftest.er1
4768 ac_status=$?
4769 grep -v '^ *+' conftest.er1 >conftest.err
4770 rm -f conftest.er1
4771 cat conftest.err >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } && {
4774 test -z "$ac_c_werror_flag" ||
4775 test ! -s conftest.err
4776 } && test -s conftest$ac_exeext &&
4777 $as_test_x conftest$ac_exeext; then
4778 ac_cv_func_connect=yes
4779 else
4780 echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.$ac_ext >&5
4783 ac_cv_func_connect=no
4786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4787 conftest$ac_exeext conftest.$ac_ext
4789 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4790 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4792 if test $ac_cv_func_connect = no; then
4793 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4794 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4795 if test "${ac_cv_lib_socket_connect+set}" = set; then
4796 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 else
4798 ac_check_lib_save_LIBS=$LIBS
4799 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4800 cat >conftest.$ac_ext <<_ACEOF
4801 /* confdefs.h. */
4802 _ACEOF
4803 cat confdefs.h >>conftest.$ac_ext
4804 cat >>conftest.$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4807 /* Override any GCC internal prototype to avoid an error.
4808 Use char because int might match the return type of a GCC
4809 builtin and then its argument prototype would still apply. */
4810 #ifdef __cplusplus
4811 extern "C"
4812 #endif
4813 char connect ();
4815 main ()
4817 return connect ();
4819 return 0;
4821 _ACEOF
4822 rm -f conftest.$ac_objext conftest$ac_exeext
4823 if { (ac_try="$ac_link"
4824 case "(($ac_try" in
4825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4826 *) ac_try_echo=$ac_try;;
4827 esac
4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4829 (eval "$ac_link") 2>conftest.er1
4830 ac_status=$?
4831 grep -v '^ *+' conftest.er1 >conftest.err
4832 rm -f conftest.er1
4833 cat conftest.err >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); } && {
4836 test -z "$ac_c_werror_flag" ||
4837 test ! -s conftest.err
4838 } && test -s conftest$ac_exeext &&
4839 $as_test_x conftest$ac_exeext; then
4840 ac_cv_lib_socket_connect=yes
4841 else
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4845 ac_cv_lib_socket_connect=no
4848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4849 conftest$ac_exeext conftest.$ac_ext
4850 LIBS=$ac_check_lib_save_LIBS
4852 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4853 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4854 if test $ac_cv_lib_socket_connect = yes; then
4855 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4860 # Guillermo Gomez says -lposix is necessary on A/UX.
4861 { echo "$as_me:$LINENO: checking for remove" >&5
4862 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4863 if test "${ac_cv_func_remove+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4865 else
4866 cat >conftest.$ac_ext <<_ACEOF
4867 /* confdefs.h. */
4868 _ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4872 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4874 #define remove innocuous_remove
4876 /* System header to define __stub macros and hopefully few prototypes,
4877 which can conflict with char remove (); below.
4878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4879 <limits.h> exists even on freestanding compilers. */
4881 #ifdef __STDC__
4882 # include <limits.h>
4883 #else
4884 # include <assert.h>
4885 #endif
4887 #undef remove
4889 /* Override any GCC internal prototype to avoid an error.
4890 Use char because int might match the return type of a GCC
4891 builtin and then its argument prototype would still apply. */
4892 #ifdef __cplusplus
4893 extern "C"
4894 #endif
4895 char remove ();
4896 /* The GNU C library defines this for functions which it implements
4897 to always fail with ENOSYS. Some functions are actually named
4898 something starting with __ and the normal name is an alias. */
4899 #if defined __stub_remove || defined __stub___remove
4900 choke me
4901 #endif
4904 main ()
4906 return remove ();
4908 return 0;
4910 _ACEOF
4911 rm -f conftest.$ac_objext conftest$ac_exeext
4912 if { (ac_try="$ac_link"
4913 case "(($ac_try" in
4914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4915 *) ac_try_echo=$ac_try;;
4916 esac
4917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4918 (eval "$ac_link") 2>conftest.er1
4919 ac_status=$?
4920 grep -v '^ *+' conftest.er1 >conftest.err
4921 rm -f conftest.er1
4922 cat conftest.err >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); } && {
4925 test -z "$ac_c_werror_flag" ||
4926 test ! -s conftest.err
4927 } && test -s conftest$ac_exeext &&
4928 $as_test_x conftest$ac_exeext; then
4929 ac_cv_func_remove=yes
4930 else
4931 echo "$as_me: failed program was:" >&5
4932 sed 's/^/| /' conftest.$ac_ext >&5
4934 ac_cv_func_remove=no
4937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4938 conftest$ac_exeext conftest.$ac_ext
4940 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4941 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4943 if test $ac_cv_func_remove = no; then
4944 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4945 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4946 if test "${ac_cv_lib_posix_remove+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 else
4949 ac_check_lib_save_LIBS=$LIBS
4950 LIBS="-lposix $LIBS"
4951 cat >conftest.$ac_ext <<_ACEOF
4952 /* confdefs.h. */
4953 _ACEOF
4954 cat confdefs.h >>conftest.$ac_ext
4955 cat >>conftest.$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4958 /* Override any GCC internal prototype to avoid an error.
4959 Use char because int might match the return type of a GCC
4960 builtin and then its argument prototype would still apply. */
4961 #ifdef __cplusplus
4962 extern "C"
4963 #endif
4964 char remove ();
4966 main ()
4968 return remove ();
4970 return 0;
4972 _ACEOF
4973 rm -f conftest.$ac_objext conftest$ac_exeext
4974 if { (ac_try="$ac_link"
4975 case "(($ac_try" in
4976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4977 *) ac_try_echo=$ac_try;;
4978 esac
4979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4980 (eval "$ac_link") 2>conftest.er1
4981 ac_status=$?
4982 grep -v '^ *+' conftest.er1 >conftest.err
4983 rm -f conftest.er1
4984 cat conftest.err >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); } && {
4987 test -z "$ac_c_werror_flag" ||
4988 test ! -s conftest.err
4989 } && test -s conftest$ac_exeext &&
4990 $as_test_x conftest$ac_exeext; then
4991 ac_cv_lib_posix_remove=yes
4992 else
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 ac_cv_lib_posix_remove=no
4999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5000 conftest$ac_exeext conftest.$ac_ext
5001 LIBS=$ac_check_lib_save_LIBS
5003 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5004 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5005 if test $ac_cv_lib_posix_remove = yes; then
5006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5011 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5012 { echo "$as_me:$LINENO: checking for shmat" >&5
5013 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5014 if test "${ac_cv_func_shmat+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 else
5017 cat >conftest.$ac_ext <<_ACEOF
5018 /* confdefs.h. */
5019 _ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5025 #define shmat innocuous_shmat
5027 /* System header to define __stub macros and hopefully few prototypes,
5028 which can conflict with char shmat (); below.
5029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5030 <limits.h> exists even on freestanding compilers. */
5032 #ifdef __STDC__
5033 # include <limits.h>
5034 #else
5035 # include <assert.h>
5036 #endif
5038 #undef shmat
5040 /* Override any GCC internal prototype to avoid an error.
5041 Use char because int might match the return type of a GCC
5042 builtin and then its argument prototype would still apply. */
5043 #ifdef __cplusplus
5044 extern "C"
5045 #endif
5046 char shmat ();
5047 /* The GNU C library defines this for functions which it implements
5048 to always fail with ENOSYS. Some functions are actually named
5049 something starting with __ and the normal name is an alias. */
5050 #if defined __stub_shmat || defined __stub___shmat
5051 choke me
5052 #endif
5055 main ()
5057 return shmat ();
5059 return 0;
5061 _ACEOF
5062 rm -f conftest.$ac_objext conftest$ac_exeext
5063 if { (ac_try="$ac_link"
5064 case "(($ac_try" in
5065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5066 *) ac_try_echo=$ac_try;;
5067 esac
5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069 (eval "$ac_link") 2>conftest.er1
5070 ac_status=$?
5071 grep -v '^ *+' conftest.er1 >conftest.err
5072 rm -f conftest.er1
5073 cat conftest.err >&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } && {
5076 test -z "$ac_c_werror_flag" ||
5077 test ! -s conftest.err
5078 } && test -s conftest$ac_exeext &&
5079 $as_test_x conftest$ac_exeext; then
5080 ac_cv_func_shmat=yes
5081 else
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.$ac_ext >&5
5085 ac_cv_func_shmat=no
5088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5089 conftest$ac_exeext conftest.$ac_ext
5091 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5092 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5094 if test $ac_cv_func_shmat = no; then
5095 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5096 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5097 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5099 else
5100 ac_check_lib_save_LIBS=$LIBS
5101 LIBS="-lipc $LIBS"
5102 cat >conftest.$ac_ext <<_ACEOF
5103 /* confdefs.h. */
5104 _ACEOF
5105 cat confdefs.h >>conftest.$ac_ext
5106 cat >>conftest.$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5109 /* Override any GCC internal prototype to avoid an error.
5110 Use char because int might match the return type of a GCC
5111 builtin and then its argument prototype would still apply. */
5112 #ifdef __cplusplus
5113 extern "C"
5114 #endif
5115 char shmat ();
5117 main ()
5119 return shmat ();
5121 return 0;
5123 _ACEOF
5124 rm -f conftest.$ac_objext conftest$ac_exeext
5125 if { (ac_try="$ac_link"
5126 case "(($ac_try" in
5127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5129 esac
5130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_link") 2>conftest.er1
5132 ac_status=$?
5133 grep -v '^ *+' conftest.er1 >conftest.err
5134 rm -f conftest.er1
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); } && {
5138 test -z "$ac_c_werror_flag" ||
5139 test ! -s conftest.err
5140 } && test -s conftest$ac_exeext &&
5141 $as_test_x conftest$ac_exeext; then
5142 ac_cv_lib_ipc_shmat=yes
5143 else
5144 echo "$as_me: failed program was:" >&5
5145 sed 's/^/| /' conftest.$ac_ext >&5
5147 ac_cv_lib_ipc_shmat=no
5150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5151 conftest$ac_exeext conftest.$ac_ext
5152 LIBS=$ac_check_lib_save_LIBS
5154 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5155 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5156 if test $ac_cv_lib_ipc_shmat = yes; then
5157 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5163 # Check for libraries that X11R6 Xt/Xaw programs need.
5164 ac_save_LDFLAGS=$LDFLAGS
5165 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5166 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5167 # check for ICE first), but we must link in the order -lSM -lICE or
5168 # we get undefined symbols. So assume we have SM if we have ICE.
5169 # These have to be linked with before -lX11, unlike the other
5170 # libraries we check for below, so use a different variable.
5171 # John Interrante, Karl Berry
5172 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5173 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5174 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 else
5177 ac_check_lib_save_LIBS=$LIBS
5178 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5179 cat >conftest.$ac_ext <<_ACEOF
5180 /* confdefs.h. */
5181 _ACEOF
5182 cat confdefs.h >>conftest.$ac_ext
5183 cat >>conftest.$ac_ext <<_ACEOF
5184 /* end confdefs.h. */
5186 /* Override any GCC internal prototype to avoid an error.
5187 Use char because int might match the return type of a GCC
5188 builtin and then its argument prototype would still apply. */
5189 #ifdef __cplusplus
5190 extern "C"
5191 #endif
5192 char IceConnectionNumber ();
5194 main ()
5196 return IceConnectionNumber ();
5198 return 0;
5200 _ACEOF
5201 rm -f conftest.$ac_objext conftest$ac_exeext
5202 if { (ac_try="$ac_link"
5203 case "(($ac_try" in
5204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5205 *) ac_try_echo=$ac_try;;
5206 esac
5207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5208 (eval "$ac_link") 2>conftest.er1
5209 ac_status=$?
5210 grep -v '^ *+' conftest.er1 >conftest.err
5211 rm -f conftest.er1
5212 cat conftest.err >&5
5213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5214 (exit $ac_status); } && {
5215 test -z "$ac_c_werror_flag" ||
5216 test ! -s conftest.err
5217 } && test -s conftest$ac_exeext &&
5218 $as_test_x conftest$ac_exeext; then
5219 ac_cv_lib_ICE_IceConnectionNumber=yes
5220 else
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.$ac_ext >&5
5224 ac_cv_lib_ICE_IceConnectionNumber=no
5227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5228 conftest$ac_exeext conftest.$ac_ext
5229 LIBS=$ac_check_lib_save_LIBS
5231 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5232 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5233 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5234 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5237 LDFLAGS=$ac_save_LDFLAGS
5242 for ac_prog in flex
5244 # Extract the first word of "$ac_prog", so it can be a program name with args.
5245 set dummy $ac_prog; ac_word=$2
5246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5248 if test "${ac_cv_prog_FLEX+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 else
5251 if test -n "$FLEX"; then
5252 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5253 else
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 for as_dir in $PATH
5257 IFS=$as_save_IFS
5258 test -z "$as_dir" && as_dir=.
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_FLEX="$ac_prog"
5262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 break 2
5265 done
5266 done
5267 IFS=$as_save_IFS
5271 FLEX=$ac_cv_prog_FLEX
5272 if test -n "$FLEX"; then
5273 { echo "$as_me:$LINENO: result: $FLEX" >&5
5274 echo "${ECHO_T}$FLEX" >&6; }
5275 else
5276 { echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6; }
5281 test -n "$FLEX" && break
5282 done
5283 test -n "$FLEX" || FLEX="none"
5285 if test "$FLEX" = "none"
5286 then
5287 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5288 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5289 { (exit 1); exit 1; }; }
5292 for ac_prog in bison
5294 # Extract the first word of "$ac_prog", so it can be a program name with args.
5295 set dummy $ac_prog; ac_word=$2
5296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5298 if test "${ac_cv_prog_BISON+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 else
5301 if test -n "$BISON"; then
5302 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5303 else
5304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5305 for as_dir in $PATH
5307 IFS=$as_save_IFS
5308 test -z "$as_dir" && as_dir=.
5309 for ac_exec_ext in '' $ac_executable_extensions; do
5310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5311 ac_cv_prog_BISON="$ac_prog"
5312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 break 2
5315 done
5316 done
5317 IFS=$as_save_IFS
5321 BISON=$ac_cv_prog_BISON
5322 if test -n "$BISON"; then
5323 { echo "$as_me:$LINENO: result: $BISON" >&5
5324 echo "${ECHO_T}$BISON" >&6; }
5325 else
5326 { echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6; }
5331 test -n "$BISON" && break
5332 done
5333 test -n "$BISON" || BISON="none"
5335 if test "$BISON" = "none"
5336 then
5337 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5338 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5339 { (exit 1); exit 1; }; }
5342 if test -n "$ac_tool_prefix"; then
5343 for ac_prog in gas as
5345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5349 if test "${ac_cv_prog_AS+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 else
5352 if test -n "$AS"; then
5353 ac_cv_prog_AS="$AS" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 break 2
5366 done
5367 done
5368 IFS=$as_save_IFS
5372 AS=$ac_cv_prog_AS
5373 if test -n "$AS"; then
5374 { echo "$as_me:$LINENO: result: $AS" >&5
5375 echo "${ECHO_T}$AS" >&6; }
5376 else
5377 { echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6; }
5382 test -n "$AS" && break
5383 done
5385 if test -z "$AS"; then
5386 ac_ct_AS=$AS
5387 for ac_prog in gas as
5389 # Extract the first word of "$ac_prog", so it can be a program name with args.
5390 set dummy $ac_prog; ac_word=$2
5391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5393 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5394 echo $ECHO_N "(cached) $ECHO_C" >&6
5395 else
5396 if test -n "$ac_ct_AS"; then
5397 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5398 else
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406 ac_cv_prog_ac_ct_AS="$ac_prog"
5407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 break 2
5410 done
5411 done
5412 IFS=$as_save_IFS
5416 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5417 if test -n "$ac_ct_AS"; then
5418 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5419 echo "${ECHO_T}$ac_ct_AS" >&6; }
5420 else
5421 { echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6; }
5426 test -n "$ac_ct_AS" && break
5427 done
5429 if test "x$ac_ct_AS" = x; then
5430 AS="as"
5431 else
5432 case $cross_compiling:$ac_tool_warned in
5433 yes:)
5434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5435 whose name does not start with the host triplet. If you think this
5436 configuration is useful to you, please write to autoconf@gnu.org." >&5
5437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5438 whose name does not start with the host triplet. If you think this
5439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5440 ac_tool_warned=yes ;;
5441 esac
5442 AS=$ac_ct_AS
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5448 set dummy ${ac_tool_prefix}ld; ac_word=$2
5449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5451 if test "${ac_cv_prog_LD+set}" = set; then
5452 echo $ECHO_N "(cached) $ECHO_C" >&6
5453 else
5454 if test -n "$LD"; then
5455 ac_cv_prog_LD="$LD" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5460 IFS=$as_save_IFS
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_LD="${ac_tool_prefix}ld"
5465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 break 2
5468 done
5469 done
5470 IFS=$as_save_IFS
5474 LD=$ac_cv_prog_LD
5475 if test -n "$LD"; then
5476 { echo "$as_me:$LINENO: result: $LD" >&5
5477 echo "${ECHO_T}$LD" >&6; }
5478 else
5479 { echo "$as_me:$LINENO: result: no" >&5
5480 echo "${ECHO_T}no" >&6; }
5485 if test -z "$ac_cv_prog_LD"; then
5486 ac_ct_LD=$LD
5487 # Extract the first word of "ld", so it can be a program name with args.
5488 set dummy ld; ac_word=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 else
5494 if test -n "$ac_ct_LD"; then
5495 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_ac_ct_LD="ld"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5515 if test -n "$ac_ct_LD"; then
5516 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5517 echo "${ECHO_T}$ac_ct_LD" >&6; }
5518 else
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5523 if test "x$ac_ct_LD" = x; then
5524 LD="ld"
5525 else
5526 case $cross_compiling:$ac_tool_warned in
5527 yes:)
5528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5529 whose name does not start with the host triplet. If you think this
5530 configuration is useful to you, please write to autoconf@gnu.org." >&5
5531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5532 whose name does not start with the host triplet. If you think this
5533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5534 ac_tool_warned=yes ;;
5535 esac
5536 LD=$ac_ct_LD
5538 else
5539 LD="$ac_cv_prog_LD"
5542 if test -n "$ac_tool_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5544 set dummy ${ac_tool_prefix}ar; ac_word=$2
5545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5547 if test "${ac_cv_prog_AR+set}" = set; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 else
5550 if test -n "$AR"; then
5551 ac_cv_prog_AR="$AR" # Let the user override the test.
5552 else
5553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5554 for as_dir in $PATH
5556 IFS=$as_save_IFS
5557 test -z "$as_dir" && as_dir=.
5558 for ac_exec_ext in '' $ac_executable_extensions; do
5559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5560 ac_cv_prog_AR="${ac_tool_prefix}ar"
5561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5562 break 2
5564 done
5565 done
5566 IFS=$as_save_IFS
5570 AR=$ac_cv_prog_AR
5571 if test -n "$AR"; then
5572 { echo "$as_me:$LINENO: result: $AR" >&5
5573 echo "${ECHO_T}$AR" >&6; }
5574 else
5575 { echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6; }
5581 if test -z "$ac_cv_prog_AR"; then
5582 ac_ct_AR=$AR
5583 # Extract the first word of "ar", so it can be a program name with args.
5584 set dummy ar; ac_word=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 else
5590 if test -n "$ac_ct_AR"; then
5591 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_ac_ct_AR="ar"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5611 if test -n "$ac_ct_AR"; then
5612 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5613 echo "${ECHO_T}$ac_ct_AR" >&6; }
5614 else
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5619 if test "x$ac_ct_AR" = x; then
5620 AR="ar"
5621 else
5622 case $cross_compiling:$ac_tool_warned in
5623 yes:)
5624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5625 whose name does not start with the host triplet. If you think this
5626 configuration is useful to you, please write to autoconf@gnu.org." >&5
5627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5628 whose name does not start with the host triplet. If you think this
5629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5630 ac_tool_warned=yes ;;
5631 esac
5632 AR=$ac_ct_AR
5634 else
5635 AR="$ac_cv_prog_AR"
5638 ARFLAGS=rc
5640 if test -n "$ac_tool_prefix"; then
5641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5642 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5645 if test "${ac_cv_prog_RANLIB+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5647 else
5648 if test -n "$RANLIB"; then
5649 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5650 else
5651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 for as_dir in $PATH
5654 IFS=$as_save_IFS
5655 test -z "$as_dir" && as_dir=.
5656 for ac_exec_ext in '' $ac_executable_extensions; do
5657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5658 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 break 2
5662 done
5663 done
5664 IFS=$as_save_IFS
5668 RANLIB=$ac_cv_prog_RANLIB
5669 if test -n "$RANLIB"; then
5670 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5671 echo "${ECHO_T}$RANLIB" >&6; }
5672 else
5673 { echo "$as_me:$LINENO: result: no" >&5
5674 echo "${ECHO_T}no" >&6; }
5679 if test -z "$ac_cv_prog_RANLIB"; then
5680 ac_ct_RANLIB=$RANLIB
5681 # Extract the first word of "ranlib", so it can be a program name with args.
5682 set dummy ranlib; ac_word=$2
5683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5687 else
5688 if test -n "$ac_ct_RANLIB"; then
5689 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5698 ac_cv_prog_ac_ct_RANLIB="ranlib"
5699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5709 if test -n "$ac_ct_RANLIB"; then
5710 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5711 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5712 else
5713 { echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6; }
5717 if test "x$ac_ct_RANLIB" = x; then
5718 RANLIB=":"
5719 else
5720 case $cross_compiling:$ac_tool_warned in
5721 yes:)
5722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5723 whose name does not start with the host triplet. If you think this
5724 configuration is useful to you, please write to autoconf@gnu.org." >&5
5725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5726 whose name does not start with the host triplet. If you think this
5727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5728 ac_tool_warned=yes ;;
5729 esac
5730 RANLIB=$ac_ct_RANLIB
5732 else
5733 RANLIB="$ac_cv_prog_RANLIB"
5736 if test -n "$ac_tool_prefix"; then
5737 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5738 set dummy ${ac_tool_prefix}strip; ac_word=$2
5739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5741 if test "${ac_cv_prog_STRIP+set}" = set; then
5742 echo $ECHO_N "(cached) $ECHO_C" >&6
5743 else
5744 if test -n "$STRIP"; then
5745 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5746 else
5747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 for as_dir in $PATH
5750 IFS=$as_save_IFS
5751 test -z "$as_dir" && as_dir=.
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5754 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5756 break 2
5758 done
5759 done
5760 IFS=$as_save_IFS
5764 STRIP=$ac_cv_prog_STRIP
5765 if test -n "$STRIP"; then
5766 { echo "$as_me:$LINENO: result: $STRIP" >&5
5767 echo "${ECHO_T}$STRIP" >&6; }
5768 else
5769 { echo "$as_me:$LINENO: result: no" >&5
5770 echo "${ECHO_T}no" >&6; }
5775 if test -z "$ac_cv_prog_STRIP"; then
5776 ac_ct_STRIP=$STRIP
5777 # Extract the first word of "strip", so it can be a program name with args.
5778 set dummy strip; ac_word=$2
5779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5781 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5782 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 else
5784 if test -n "$ac_ct_STRIP"; then
5785 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5786 else
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 for as_dir in $PATH
5790 IFS=$as_save_IFS
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5794 ac_cv_prog_ac_ct_STRIP="strip"
5795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 break 2
5798 done
5799 done
5800 IFS=$as_save_IFS
5804 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5805 if test -n "$ac_ct_STRIP"; then
5806 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5807 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5808 else
5809 { echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6; }
5813 if test "x$ac_ct_STRIP" = x; then
5814 STRIP="strip"
5815 else
5816 case $cross_compiling:$ac_tool_warned in
5817 yes:)
5818 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5819 whose name does not start with the host triplet. If you think this
5820 configuration is useful to you, please write to autoconf@gnu.org." >&5
5821 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5822 whose name does not start with the host triplet. If you think this
5823 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5824 ac_tool_warned=yes ;;
5825 esac
5826 STRIP=$ac_ct_STRIP
5828 else
5829 STRIP="$ac_cv_prog_STRIP"
5832 if test -n "$ac_tool_prefix"; then
5833 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5834 set dummy ${ac_tool_prefix}windres; ac_word=$2
5835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5837 if test "${ac_cv_prog_WINDRES+set}" = set; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 else
5840 if test -n "$WINDRES"; then
5841 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5846 IFS=$as_save_IFS
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5852 break 2
5854 done
5855 done
5856 IFS=$as_save_IFS
5860 WINDRES=$ac_cv_prog_WINDRES
5861 if test -n "$WINDRES"; then
5862 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5863 echo "${ECHO_T}$WINDRES" >&6; }
5864 else
5865 { echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6; }
5871 if test -z "$ac_cv_prog_WINDRES"; then
5872 ac_ct_WINDRES=$WINDRES
5873 # Extract the first word of "windres", so it can be a program name with args.
5874 set dummy windres; ac_word=$2
5875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5877 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 else
5880 if test -n "$ac_ct_WINDRES"; then
5881 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5882 else
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 for as_dir in $PATH
5886 IFS=$as_save_IFS
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_prog_ac_ct_WINDRES="windres"
5891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 break 2
5894 done
5895 done
5896 IFS=$as_save_IFS
5900 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5901 if test -n "$ac_ct_WINDRES"; then
5902 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5903 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5904 else
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5909 if test "x$ac_ct_WINDRES" = x; then
5910 WINDRES="false"
5911 else
5912 case $cross_compiling:$ac_tool_warned in
5913 yes:)
5914 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5915 whose name does not start with the host triplet. If you think this
5916 configuration is useful to you, please write to autoconf@gnu.org." >&5
5917 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5918 whose name does not start with the host triplet. If you think this
5919 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5920 ac_tool_warned=yes ;;
5921 esac
5922 WINDRES=$ac_ct_WINDRES
5924 else
5925 WINDRES="$ac_cv_prog_WINDRES"
5928 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5929 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5930 LN_S=$as_ln_s
5931 if test "$LN_S" = "ln -s"; then
5932 { echo "$as_me:$LINENO: result: yes" >&5
5933 echo "${ECHO_T}yes" >&6; }
5934 else
5935 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5936 echo "${ECHO_T}no, using $LN_S" >&6; }
5939 { echo "$as_me:$LINENO: checking whether ln works" >&5
5940 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5941 rm -f conf$$ conf$$.file
5942 echo >conf$$.file
5943 if ln conf$$.file conf$$ 2>/dev/null; then
5944 LN=ln
5946 { echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6; }
5948 else
5949 LN="cp -p"
5951 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5952 echo "${ECHO_T}no, using $LN" >&6; }
5954 rm -f conf$$ conf$$.file
5955 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5956 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5957 if test "${ac_cv_path_GREP+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 else
5960 # Extract the first word of "grep ggrep" to use in msg output
5961 if test -z "$GREP"; then
5962 set dummy grep ggrep; ac_prog_name=$2
5963 if test "${ac_cv_path_GREP+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5965 else
5966 ac_path_GREP_found=false
5967 # Loop through the user's path and test for each of PROGNAME-LIST
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5971 IFS=$as_save_IFS
5972 test -z "$as_dir" && as_dir=.
5973 for ac_prog in grep ggrep; do
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5976 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5977 # Check for GNU ac_path_GREP and select it if it is found.
5978 # Check for GNU $ac_path_GREP
5979 case `"$ac_path_GREP" --version 2>&1` in
5980 *GNU*)
5981 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5983 ac_count=0
5984 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5985 while :
5987 cat "conftest.in" "conftest.in" >"conftest.tmp"
5988 mv "conftest.tmp" "conftest.in"
5989 cp "conftest.in" "conftest.nl"
5990 echo 'GREP' >> "conftest.nl"
5991 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5992 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5993 ac_count=`expr $ac_count + 1`
5994 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5995 # Best one so far, save it but keep looking for a better one
5996 ac_cv_path_GREP="$ac_path_GREP"
5997 ac_path_GREP_max=$ac_count
5999 # 10*(2^10) chars as input seems more than enough
6000 test $ac_count -gt 10 && break
6001 done
6002 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6003 esac
6006 $ac_path_GREP_found && break 3
6007 done
6008 done
6010 done
6011 IFS=$as_save_IFS
6016 GREP="$ac_cv_path_GREP"
6017 if test -z "$GREP"; then
6018 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6019 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6020 { (exit 1); exit 1; }; }
6023 else
6024 ac_cv_path_GREP=$GREP
6029 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6030 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6031 GREP="$ac_cv_path_GREP"
6034 { echo "$as_me:$LINENO: checking for egrep" >&5
6035 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6036 if test "${ac_cv_path_EGREP+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 else
6039 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6040 then ac_cv_path_EGREP="$GREP -E"
6041 else
6042 # Extract the first word of "egrep" to use in msg output
6043 if test -z "$EGREP"; then
6044 set dummy egrep; ac_prog_name=$2
6045 if test "${ac_cv_path_EGREP+set}" = set; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 else
6048 ac_path_EGREP_found=false
6049 # Loop through the user's path and test for each of PROGNAME-LIST
6050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6053 IFS=$as_save_IFS
6054 test -z "$as_dir" && as_dir=.
6055 for ac_prog in egrep; do
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6058 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6059 # Check for GNU ac_path_EGREP and select it if it is found.
6060 # Check for GNU $ac_path_EGREP
6061 case `"$ac_path_EGREP" --version 2>&1` in
6062 *GNU*)
6063 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6065 ac_count=0
6066 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6067 while :
6069 cat "conftest.in" "conftest.in" >"conftest.tmp"
6070 mv "conftest.tmp" "conftest.in"
6071 cp "conftest.in" "conftest.nl"
6072 echo 'EGREP' >> "conftest.nl"
6073 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6074 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6075 ac_count=`expr $ac_count + 1`
6076 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6077 # Best one so far, save it but keep looking for a better one
6078 ac_cv_path_EGREP="$ac_path_EGREP"
6079 ac_path_EGREP_max=$ac_count
6081 # 10*(2^10) chars as input seems more than enough
6082 test $ac_count -gt 10 && break
6083 done
6084 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6085 esac
6088 $ac_path_EGREP_found && break 3
6089 done
6090 done
6092 done
6093 IFS=$as_save_IFS
6098 EGREP="$ac_cv_path_EGREP"
6099 if test -z "$EGREP"; then
6100 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6101 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6102 { (exit 1); exit 1; }; }
6105 else
6106 ac_cv_path_EGREP=$EGREP
6112 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6113 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6114 EGREP="$ac_cv_path_EGREP"
6117 # Extract the first word of "ldconfig", so it can be a program name with args.
6118 set dummy ldconfig; ac_word=$2
6119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6121 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6123 else
6124 case $LDCONFIG in
6125 [\\/]* | ?:[\\/]*)
6126 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in /sbin /usr/sbin $PATH
6132 IFS=$as_save_IFS
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6136 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 break 2
6140 done
6141 done
6142 IFS=$as_save_IFS
6144 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6146 esac
6148 LDCONFIG=$ac_cv_path_LDCONFIG
6149 if test -n "$LDCONFIG"; then
6150 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6151 echo "${ECHO_T}$LDCONFIG" >&6; }
6152 else
6153 { echo "$as_me:$LINENO: result: no" >&5
6154 echo "${ECHO_T}no" >&6; }
6158 # Find a good install program. We prefer a C program (faster),
6159 # so one script is as good as another. But avoid the broken or
6160 # incompatible versions:
6161 # SysV /etc/install, /usr/sbin/install
6162 # SunOS /usr/etc/install
6163 # IRIX /sbin/install
6164 # AIX /bin/install
6165 # AmigaOS /C/install, which installs bootblocks on floppy discs
6166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6169 # OS/2's system install, which has a completely different semantic
6170 # ./install, which can be erroneously created by make from ./install.sh.
6171 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6172 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6173 if test -z "$INSTALL"; then
6174 if test "${ac_cv_path_install+set}" = set; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 else
6177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6178 for as_dir in $PATH
6180 IFS=$as_save_IFS
6181 test -z "$as_dir" && as_dir=.
6182 # Account for people who put trailing slashes in PATH elements.
6183 case $as_dir/ in
6184 ./ | .// | /cC/* | \
6185 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6186 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6187 /usr/ucb/* ) ;;
6189 # OSF1 and SCO ODT 3.0 have their own names for install.
6190 # Don't use installbsd from OSF since it installs stuff as root
6191 # by default.
6192 for ac_prog in ginstall scoinst install; do
6193 for ac_exec_ext in '' $ac_executable_extensions; do
6194 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6195 if test $ac_prog = install &&
6196 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6197 # AIX install. It has an incompatible calling convention.
6199 elif test $ac_prog = install &&
6200 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6201 # program-specific install script used by HP pwplus--don't use.
6203 else
6204 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6205 break 3
6208 done
6209 done
6211 esac
6212 done
6213 IFS=$as_save_IFS
6217 if test "${ac_cv_path_install+set}" = set; then
6218 INSTALL=$ac_cv_path_install
6219 else
6220 # As a last resort, use the slow shell script. Don't cache a
6221 # value for INSTALL within a source directory, because that will
6222 # break other packages using the cache if that directory is
6223 # removed, or if the value is a relative name.
6224 INSTALL=$ac_install_sh
6227 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6228 echo "${ECHO_T}$INSTALL" >&6; }
6230 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6231 # It thinks the first close brace ends the variable substitution.
6232 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6234 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6236 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6238 case "$INSTALL" in
6239 [\\/$]* | ?:[\\/]* ) ;;
6240 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6241 esac
6243 for ac_prog in lclint lint
6245 # Extract the first word of "$ac_prog", so it can be a program name with args.
6246 set dummy $ac_prog; ac_word=$2
6247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6249 if test "${ac_cv_prog_LINT+set}" = set; then
6250 echo $ECHO_N "(cached) $ECHO_C" >&6
6251 else
6252 if test -n "$LINT"; then
6253 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6254 else
6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256 for as_dir in $PATH
6258 IFS=$as_save_IFS
6259 test -z "$as_dir" && as_dir=.
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6262 ac_cv_prog_LINT="$ac_prog"
6263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6264 break 2
6266 done
6267 done
6268 IFS=$as_save_IFS
6272 LINT=$ac_cv_prog_LINT
6273 if test -n "$LINT"; then
6274 { echo "$as_me:$LINENO: result: $LINT" >&5
6275 echo "${ECHO_T}$LINT" >&6; }
6276 else
6277 { echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6; }
6282 test -n "$LINT" && break
6283 done
6285 if test "$LINT" = "lint"
6286 then
6287 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6292 for ac_prog in fontforge
6294 # Extract the first word of "$ac_prog", so it can be a program name with args.
6295 set dummy $ac_prog; ac_word=$2
6296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6298 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6299 echo $ECHO_N "(cached) $ECHO_C" >&6
6300 else
6301 if test -n "$FONTFORGE"; then
6302 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6303 else
6304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6305 for as_dir in $PATH
6307 IFS=$as_save_IFS
6308 test -z "$as_dir" && as_dir=.
6309 for ac_exec_ext in '' $ac_executable_extensions; do
6310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6311 ac_cv_prog_FONTFORGE="$ac_prog"
6312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 break 2
6315 done
6316 done
6317 IFS=$as_save_IFS
6321 FONTFORGE=$ac_cv_prog_FONTFORGE
6322 if test -n "$FONTFORGE"; then
6323 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6324 echo "${ECHO_T}$FONTFORGE" >&6; }
6325 else
6326 { echo "$as_me:$LINENO: result: no" >&5
6327 echo "${ECHO_T}no" >&6; }
6331 test -n "$FONTFORGE" && break
6332 done
6333 test -n "$FONTFORGE" || FONTFORGE="false"
6335 for ac_prog in pkg-config
6337 # Extract the first word of "$ac_prog", so it can be a program name with args.
6338 set dummy $ac_prog; ac_word=$2
6339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6341 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6343 else
6344 if test -n "$PKG_CONFIG"; then
6345 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6346 else
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6348 for as_dir in $PATH
6350 IFS=$as_save_IFS
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_prog_PKG_CONFIG="$ac_prog"
6355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 break 2
6358 done
6359 done
6360 IFS=$as_save_IFS
6364 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6365 if test -n "$PKG_CONFIG"; then
6366 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6367 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6368 else
6369 { echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6; }
6374 test -n "$PKG_CONFIG" && break
6375 done
6376 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6378 for ac_prog in rsvg
6380 # Extract the first word of "$ac_prog", so it can be a program name with args.
6381 set dummy $ac_prog; ac_word=$2
6382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6384 if test "${ac_cv_prog_RSVG+set}" = set; then
6385 echo $ECHO_N "(cached) $ECHO_C" >&6
6386 else
6387 if test -n "$RSVG"; then
6388 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6389 else
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in $PATH
6393 IFS=$as_save_IFS
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6397 ac_cv_prog_RSVG="$ac_prog"
6398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6407 RSVG=$ac_cv_prog_RSVG
6408 if test -n "$RSVG"; then
6409 { echo "$as_me:$LINENO: result: $RSVG" >&5
6410 echo "${ECHO_T}$RSVG" >&6; }
6411 else
6412 { echo "$as_me:$LINENO: result: no" >&5
6413 echo "${ECHO_T}no" >&6; }
6417 test -n "$RSVG" && break
6418 done
6419 test -n "$RSVG" || RSVG="false"
6421 for ac_prog in icotool
6423 # Extract the first word of "$ac_prog", so it can be a program name with args.
6424 set dummy $ac_prog; ac_word=$2
6425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6427 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 else
6430 if test -n "$ICOTOOL"; then
6431 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6436 IFS=$as_save_IFS
6437 test -z "$as_dir" && as_dir=.
6438 for ac_exec_ext in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_ICOTOOL="$ac_prog"
6441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 break 2
6444 done
6445 done
6446 IFS=$as_save_IFS
6450 ICOTOOL=$ac_cv_prog_ICOTOOL
6451 if test -n "$ICOTOOL"; then
6452 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6453 echo "${ECHO_T}$ICOTOOL" >&6; }
6454 else
6455 { echo "$as_me:$LINENO: result: no" >&5
6456 echo "${ECHO_T}no" >&6; }
6460 test -n "$ICOTOOL" && break
6461 done
6462 test -n "$ICOTOOL" || ICOTOOL="false"
6465 if test "${enable_maintainer_mode+set}" = set
6466 then
6467 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6468 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6469 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6472 case $host_cpu in
6473 *i[3456789]86*)
6474 # Extract the first word of "prelink", so it can be a program name with args.
6475 set dummy prelink; ac_word=$2
6476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6478 if test "${ac_cv_path_PRELINK+set}" = set; then
6479 echo $ECHO_N "(cached) $ECHO_C" >&6
6480 else
6481 case $PRELINK in
6482 [\\/]* | ?:[\\/]*)
6483 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 for as_dir in /sbin /usr/sbin $PATH
6489 IFS=$as_save_IFS
6490 test -z "$as_dir" && as_dir=.
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6493 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6495 break 2
6497 done
6498 done
6499 IFS=$as_save_IFS
6501 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6503 esac
6505 PRELINK=$ac_cv_path_PRELINK
6506 if test -n "$PRELINK"; then
6507 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6508 echo "${ECHO_T}$PRELINK" >&6; }
6509 else
6510 { echo "$as_me:$LINENO: result: no" >&5
6511 echo "${ECHO_T}no" >&6; }
6516 esac
6520 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6521 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6522 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6524 else
6525 ac_check_lib_save_LIBS=$LIBS
6526 LIBS="-li386 $LIBS"
6527 cat >conftest.$ac_ext <<_ACEOF
6528 /* confdefs.h. */
6529 _ACEOF
6530 cat confdefs.h >>conftest.$ac_ext
6531 cat >>conftest.$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6534 /* Override any GCC internal prototype to avoid an error.
6535 Use char because int might match the return type of a GCC
6536 builtin and then its argument prototype would still apply. */
6537 #ifdef __cplusplus
6538 extern "C"
6539 #endif
6540 char i386_set_ldt ();
6542 main ()
6544 return i386_set_ldt ();
6546 return 0;
6548 _ACEOF
6549 rm -f conftest.$ac_objext conftest$ac_exeext
6550 if { (ac_try="$ac_link"
6551 case "(($ac_try" in
6552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6553 *) ac_try_echo=$ac_try;;
6554 esac
6555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6556 (eval "$ac_link") 2>conftest.er1
6557 ac_status=$?
6558 grep -v '^ *+' conftest.er1 >conftest.err
6559 rm -f conftest.er1
6560 cat conftest.err >&5
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); } && {
6563 test -z "$ac_c_werror_flag" ||
6564 test ! -s conftest.err
6565 } && test -s conftest$ac_exeext &&
6566 $as_test_x conftest$ac_exeext; then
6567 ac_cv_lib_i386_i386_set_ldt=yes
6568 else
6569 echo "$as_me: failed program was:" >&5
6570 sed 's/^/| /' conftest.$ac_ext >&5
6572 ac_cv_lib_i386_i386_set_ldt=no
6575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6576 conftest$ac_exeext conftest.$ac_ext
6577 LIBS=$ac_check_lib_save_LIBS
6579 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6580 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6581 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6582 cat >>confdefs.h <<_ACEOF
6583 #define HAVE_LIBI386 1
6584 _ACEOF
6586 LIBS="-li386 $LIBS"
6591 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6592 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6593 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6594 echo $ECHO_N "(cached) $ECHO_C" >&6
6595 else
6596 ac_check_lib_save_LIBS=$LIBS
6597 LIBS="-lossaudio $LIBS"
6598 cat >conftest.$ac_ext <<_ACEOF
6599 /* confdefs.h. */
6600 _ACEOF
6601 cat confdefs.h >>conftest.$ac_ext
6602 cat >>conftest.$ac_ext <<_ACEOF
6603 /* end confdefs.h. */
6605 /* Override any GCC internal prototype to avoid an error.
6606 Use char because int might match the return type of a GCC
6607 builtin and then its argument prototype would still apply. */
6608 #ifdef __cplusplus
6609 extern "C"
6610 #endif
6611 char _oss_ioctl ();
6613 main ()
6615 return _oss_ioctl ();
6617 return 0;
6619 _ACEOF
6620 rm -f conftest.$ac_objext conftest$ac_exeext
6621 if { (ac_try="$ac_link"
6622 case "(($ac_try" in
6623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6624 *) ac_try_echo=$ac_try;;
6625 esac
6626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6627 (eval "$ac_link") 2>conftest.er1
6628 ac_status=$?
6629 grep -v '^ *+' conftest.er1 >conftest.err
6630 rm -f conftest.er1
6631 cat conftest.err >&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); } && {
6634 test -z "$ac_c_werror_flag" ||
6635 test ! -s conftest.err
6636 } && test -s conftest$ac_exeext &&
6637 $as_test_x conftest$ac_exeext; then
6638 ac_cv_lib_ossaudio__oss_ioctl=yes
6639 else
6640 echo "$as_me: failed program was:" >&5
6641 sed 's/^/| /' conftest.$ac_ext >&5
6643 ac_cv_lib_ossaudio__oss_ioctl=no
6646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6647 conftest$ac_exeext conftest.$ac_ext
6648 LIBS=$ac_check_lib_save_LIBS
6650 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6651 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6652 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6653 cat >>confdefs.h <<_ACEOF
6654 #define HAVE_LIBOSSAUDIO 1
6655 _ACEOF
6657 LIBS="-lossaudio $LIBS"
6661 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6662 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6663 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6665 else
6666 ac_check_lib_save_LIBS=$LIBS
6667 LIBS="-lpthread $LIBS"
6668 cat >conftest.$ac_ext <<_ACEOF
6669 /* confdefs.h. */
6670 _ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6675 /* Override any GCC internal prototype to avoid an error.
6676 Use char because int might match the return type of a GCC
6677 builtin and then its argument prototype would still apply. */
6678 #ifdef __cplusplus
6679 extern "C"
6680 #endif
6681 char pthread_create ();
6683 main ()
6685 return pthread_create ();
6687 return 0;
6689 _ACEOF
6690 rm -f conftest.$ac_objext conftest$ac_exeext
6691 if { (ac_try="$ac_link"
6692 case "(($ac_try" in
6693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6694 *) ac_try_echo=$ac_try;;
6695 esac
6696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6697 (eval "$ac_link") 2>conftest.er1
6698 ac_status=$?
6699 grep -v '^ *+' conftest.er1 >conftest.err
6700 rm -f conftest.er1
6701 cat conftest.err >&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); } && {
6704 test -z "$ac_c_werror_flag" ||
6705 test ! -s conftest.err
6706 } && test -s conftest$ac_exeext &&
6707 $as_test_x conftest$ac_exeext; then
6708 ac_cv_lib_pthread_pthread_create=yes
6709 else
6710 echo "$as_me: failed program was:" >&5
6711 sed 's/^/| /' conftest.$ac_ext >&5
6713 ac_cv_lib_pthread_pthread_create=no
6716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6717 conftest$ac_exeext conftest.$ac_ext
6718 LIBS=$ac_check_lib_save_LIBS
6720 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6721 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6722 if test $ac_cv_lib_pthread_pthread_create = yes; then
6723 LIBPTHREAD="-lpthread"
6728 XLIB=""
6730 XFILES=""
6732 OPENGLFILES=""
6734 GLU32FILES=""
6736 OPENGL_LIBS=""
6738 QUARTZFILES=""
6742 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6743 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6744 if test "${ac_cv_header_stdc+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6746 else
6747 cat >conftest.$ac_ext <<_ACEOF
6748 /* confdefs.h. */
6749 _ACEOF
6750 cat confdefs.h >>conftest.$ac_ext
6751 cat >>conftest.$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6753 #include <stdlib.h>
6754 #include <stdarg.h>
6755 #include <string.h>
6756 #include <float.h>
6759 main ()
6763 return 0;
6765 _ACEOF
6766 rm -f conftest.$ac_objext
6767 if { (ac_try="$ac_compile"
6768 case "(($ac_try" in
6769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6770 *) ac_try_echo=$ac_try;;
6771 esac
6772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6773 (eval "$ac_compile") 2>conftest.er1
6774 ac_status=$?
6775 grep -v '^ *+' conftest.er1 >conftest.err
6776 rm -f conftest.er1
6777 cat conftest.err >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); } && {
6780 test -z "$ac_c_werror_flag" ||
6781 test ! -s conftest.err
6782 } && test -s conftest.$ac_objext; then
6783 ac_cv_header_stdc=yes
6784 else
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.$ac_ext >&5
6788 ac_cv_header_stdc=no
6791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6793 if test $ac_cv_header_stdc = yes; then
6794 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6795 cat >conftest.$ac_ext <<_ACEOF
6796 /* confdefs.h. */
6797 _ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6801 #include <string.h>
6803 _ACEOF
6804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6805 $EGREP "memchr" >/dev/null 2>&1; then
6807 else
6808 ac_cv_header_stdc=no
6810 rm -f conftest*
6814 if test $ac_cv_header_stdc = yes; then
6815 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6816 cat >conftest.$ac_ext <<_ACEOF
6817 /* confdefs.h. */
6818 _ACEOF
6819 cat confdefs.h >>conftest.$ac_ext
6820 cat >>conftest.$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6822 #include <stdlib.h>
6824 _ACEOF
6825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6826 $EGREP "free" >/dev/null 2>&1; then
6828 else
6829 ac_cv_header_stdc=no
6831 rm -f conftest*
6835 if test $ac_cv_header_stdc = yes; then
6836 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6837 if test "$cross_compiling" = yes; then
6839 else
6840 cat >conftest.$ac_ext <<_ACEOF
6841 /* confdefs.h. */
6842 _ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 #include <ctype.h>
6847 #include <stdlib.h>
6848 #if ((' ' & 0x0FF) == 0x020)
6849 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6850 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6851 #else
6852 # define ISLOWER(c) \
6853 (('a' <= (c) && (c) <= 'i') \
6854 || ('j' <= (c) && (c) <= 'r') \
6855 || ('s' <= (c) && (c) <= 'z'))
6856 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6857 #endif
6859 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6861 main ()
6863 int i;
6864 for (i = 0; i < 256; i++)
6865 if (XOR (islower (i), ISLOWER (i))
6866 || toupper (i) != TOUPPER (i))
6867 return 2;
6868 return 0;
6870 _ACEOF
6871 rm -f conftest$ac_exeext
6872 if { (ac_try="$ac_link"
6873 case "(($ac_try" in
6874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6875 *) ac_try_echo=$ac_try;;
6876 esac
6877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6878 (eval "$ac_link") 2>&5
6879 ac_status=$?
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6882 { (case "(($ac_try" in
6883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6884 *) ac_try_echo=$ac_try;;
6885 esac
6886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6887 (eval "$ac_try") 2>&5
6888 ac_status=$?
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; }; then
6892 else
6893 echo "$as_me: program exited with status $ac_status" >&5
6894 echo "$as_me: failed program was:" >&5
6895 sed 's/^/| /' conftest.$ac_ext >&5
6897 ( exit $ac_status )
6898 ac_cv_header_stdc=no
6900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6906 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6907 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6908 if test $ac_cv_header_stdc = yes; then
6910 cat >>confdefs.h <<\_ACEOF
6911 #define STDC_HEADERS 1
6912 _ACEOF
6916 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6926 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6927 inttypes.h stdint.h unistd.h
6929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6933 echo $ECHO_N "(cached) $ECHO_C" >&6
6934 else
6935 cat >conftest.$ac_ext <<_ACEOF
6936 /* confdefs.h. */
6937 _ACEOF
6938 cat confdefs.h >>conftest.$ac_ext
6939 cat >>conftest.$ac_ext <<_ACEOF
6940 /* end confdefs.h. */
6941 $ac_includes_default
6943 #include <$ac_header>
6944 _ACEOF
6945 rm -f conftest.$ac_objext
6946 if { (ac_try="$ac_compile"
6947 case "(($ac_try" in
6948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6949 *) ac_try_echo=$ac_try;;
6950 esac
6951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6952 (eval "$ac_compile") 2>conftest.er1
6953 ac_status=$?
6954 grep -v '^ *+' conftest.er1 >conftest.err
6955 rm -f conftest.er1
6956 cat conftest.err >&5
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); } && {
6959 test -z "$ac_c_werror_flag" ||
6960 test ! -s conftest.err
6961 } && test -s conftest.$ac_objext; then
6962 eval "$as_ac_Header=yes"
6963 else
6964 echo "$as_me: failed program was:" >&5
6965 sed 's/^/| /' conftest.$ac_ext >&5
6967 eval "$as_ac_Header=no"
6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6972 ac_res=`eval echo '${'$as_ac_Header'}'`
6973 { echo "$as_me:$LINENO: result: $ac_res" >&5
6974 echo "${ECHO_T}$ac_res" >&6; }
6975 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6976 cat >>confdefs.h <<_ACEOF
6977 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6978 _ACEOF
6982 done
7095 for ac_header in \
7096 AudioUnit/AudioUnit.h \
7097 Carbon/Carbon.h \
7098 CoreAudio/CoreAudio.h \
7099 DiskArbitration/DiskArbitration.h \
7100 IOKit/IOKitLib.h \
7101 alsa/asoundlib.h \
7102 arpa/inet.h \
7103 arpa/nameser.h \
7104 asm/types.h \
7105 capi20.h \
7106 cups/cups.h \
7107 curses.h \
7108 direct.h \
7109 dlfcn.h \
7110 elf.h \
7111 float.h \
7112 fontconfig/fontconfig.h \
7113 getopt.h \
7114 ieeefp.h \
7115 io.h \
7116 jack/jack.h \
7117 jpeglib.h \
7118 lber.h \
7119 lcms.h \
7120 lcms/lcms.h \
7121 ldap.h \
7122 libaudioio.h \
7123 link.h \
7124 linux/cdrom.h \
7125 linux/compiler.h \
7126 linux/hdreg.h \
7127 linux/input.h \
7128 linux/ioctl.h \
7129 linux/joystick.h \
7130 linux/major.h \
7131 linux/param.h \
7132 linux/serial.h \
7133 linux/ucdrom.h \
7134 mach/mach.h \
7135 mach/machine.h \
7136 machine/cpu.h \
7137 machine/limits.h \
7138 machine/soundcard.h \
7139 mntent.h \
7140 ncurses.h \
7141 netdb.h \
7142 netinet/in.h \
7143 netinet/in_systm.h \
7144 netinet/tcp.h \
7145 netinet/tcp_fsm.h \
7146 openssl/err.h \
7147 openssl/ssl.h \
7148 png.h \
7149 poll.h \
7150 process.h \
7151 pthread.h \
7152 pwd.h \
7153 regex.h \
7154 sched.h \
7155 scsi/scsi.h \
7156 scsi/scsi_ioctl.h \
7157 scsi/sg.h \
7158 soundcard.h \
7159 stdint.h \
7160 strings.h \
7161 sys/asoundlib.h \
7162 sys/cdio.h \
7163 sys/elf32.h \
7164 sys/epoll.h \
7165 sys/errno.h \
7166 sys/event.h \
7167 sys/exec_elf.h \
7168 sys/filio.h \
7169 sys/ioctl.h \
7170 sys/ipc.h \
7171 sys/limits.h \
7172 sys/link.h \
7173 sys/lwp.h \
7174 sys/mman.h \
7175 sys/modem.h \
7176 sys/msg.h \
7177 sys/mtio.h \
7178 sys/param.h \
7179 sys/poll.h \
7180 sys/prctl.h \
7181 sys/ptrace.h \
7182 sys/reg.h \
7183 sys/resource.h \
7184 sys/scsiio.h \
7185 sys/shm.h \
7186 sys/signal.h \
7187 sys/socket.h \
7188 sys/socketvar.h \
7189 sys/sockio.h \
7190 sys/soundcard.h \
7191 sys/statvfs.h \
7192 sys/strtio.h \
7193 sys/syscall.h \
7194 sys/sysctl.h \
7195 sys/time.h \
7196 sys/times.h \
7197 sys/uio.h \
7198 sys/un.h \
7199 sys/vm86.h \
7200 sys/wait.h \
7201 syscall.h \
7202 termios.h \
7203 unistd.h \
7204 utime.h \
7205 valgrind/memcheck.h
7208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7213 echo $ECHO_N "(cached) $ECHO_C" >&6
7215 ac_res=`eval echo '${'$as_ac_Header'}'`
7216 { echo "$as_me:$LINENO: result: $ac_res" >&5
7217 echo "${ECHO_T}$ac_res" >&6; }
7218 else
7219 # Is the header compilable?
7220 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7222 cat >conftest.$ac_ext <<_ACEOF
7223 /* confdefs.h. */
7224 _ACEOF
7225 cat confdefs.h >>conftest.$ac_ext
7226 cat >>conftest.$ac_ext <<_ACEOF
7227 /* end confdefs.h. */
7228 $ac_includes_default
7229 #include <$ac_header>
7230 _ACEOF
7231 rm -f conftest.$ac_objext
7232 if { (ac_try="$ac_compile"
7233 case "(($ac_try" in
7234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7235 *) ac_try_echo=$ac_try;;
7236 esac
7237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7238 (eval "$ac_compile") 2>conftest.er1
7239 ac_status=$?
7240 grep -v '^ *+' conftest.er1 >conftest.err
7241 rm -f conftest.er1
7242 cat conftest.err >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); } && {
7245 test -z "$ac_c_werror_flag" ||
7246 test ! -s conftest.err
7247 } && test -s conftest.$ac_objext; then
7248 ac_header_compiler=yes
7249 else
7250 echo "$as_me: failed program was:" >&5
7251 sed 's/^/| /' conftest.$ac_ext >&5
7253 ac_header_compiler=no
7256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7257 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7258 echo "${ECHO_T}$ac_header_compiler" >&6; }
7260 # Is the header present?
7261 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7262 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7263 cat >conftest.$ac_ext <<_ACEOF
7264 /* confdefs.h. */
7265 _ACEOF
7266 cat confdefs.h >>conftest.$ac_ext
7267 cat >>conftest.$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7269 #include <$ac_header>
7270 _ACEOF
7271 if { (ac_try="$ac_cpp conftest.$ac_ext"
7272 case "(($ac_try" in
7273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7274 *) ac_try_echo=$ac_try;;
7275 esac
7276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7278 ac_status=$?
7279 grep -v '^ *+' conftest.er1 >conftest.err
7280 rm -f conftest.er1
7281 cat conftest.err >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } >/dev/null && {
7284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7285 test ! -s conftest.err
7286 }; then
7287 ac_header_preproc=yes
7288 else
7289 echo "$as_me: failed program was:" >&5
7290 sed 's/^/| /' conftest.$ac_ext >&5
7292 ac_header_preproc=no
7295 rm -f conftest.err conftest.$ac_ext
7296 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7297 echo "${ECHO_T}$ac_header_preproc" >&6; }
7299 # So? What about this header?
7300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7301 yes:no: )
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7306 ac_header_preproc=yes
7308 no:yes:* )
7309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7321 ( cat <<\_ASBOX
7322 ## ------------------------------------ ##
7323 ## Report this to wine-devel@winehq.org ##
7324 ## ------------------------------------ ##
7325 _ASBOX
7326 ) | sed "s/^/$as_me: WARNING: /" >&2
7328 esac
7329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7332 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 else
7334 eval "$as_ac_Header=\$ac_header_preproc"
7336 ac_res=`eval echo '${'$as_ac_Header'}'`
7337 { echo "$as_me:$LINENO: result: $ac_res" >&5
7338 echo "${ECHO_T}$ac_res" >&6; }
7341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7342 cat >>confdefs.h <<_ACEOF
7343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7344 _ACEOF
7348 done
7350 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7351 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7352 if test "${ac_cv_header_stat_broken+set}" = set; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 else
7355 cat >conftest.$ac_ext <<_ACEOF
7356 /* confdefs.h. */
7357 _ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #include <sys/stat.h>
7364 #if defined S_ISBLK && defined S_IFDIR
7365 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7366 #endif
7368 #if defined S_ISBLK && defined S_IFCHR
7369 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7370 #endif
7372 #if defined S_ISLNK && defined S_IFREG
7373 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7374 #endif
7376 #if defined S_ISSOCK && defined S_IFREG
7377 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7378 #endif
7380 _ACEOF
7381 rm -f conftest.$ac_objext
7382 if { (ac_try="$ac_compile"
7383 case "(($ac_try" in
7384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7385 *) ac_try_echo=$ac_try;;
7386 esac
7387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7388 (eval "$ac_compile") 2>conftest.er1
7389 ac_status=$?
7390 grep -v '^ *+' conftest.er1 >conftest.err
7391 rm -f conftest.er1
7392 cat conftest.err >&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); } && {
7395 test -z "$ac_c_werror_flag" ||
7396 test ! -s conftest.err
7397 } && test -s conftest.$ac_objext; then
7398 ac_cv_header_stat_broken=no
7399 else
7400 echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.$ac_ext >&5
7403 ac_cv_header_stat_broken=yes
7406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7408 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7409 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7410 if test $ac_cv_header_stat_broken = yes; then
7412 cat >>confdefs.h <<\_ACEOF
7413 #define STAT_MACROS_BROKEN 1
7414 _ACEOF
7424 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7426 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7427 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7429 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7430 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 else
7432 cat >conftest.$ac_ext <<_ACEOF
7433 /* confdefs.h. */
7434 _ACEOF
7435 cat confdefs.h >>conftest.$ac_ext
7436 cat >>conftest.$ac_ext <<_ACEOF
7437 /* end confdefs.h. */
7438 #include <sys/types.h>
7439 #ifdef HAVE_SYS_PARAM_H
7440 # include <sys/param.h>
7441 #endif
7443 #include <$ac_header>
7444 _ACEOF
7445 rm -f conftest.$ac_objext
7446 if { (ac_try="$ac_compile"
7447 case "(($ac_try" in
7448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7449 *) ac_try_echo=$ac_try;;
7450 esac
7451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7452 (eval "$ac_compile") 2>conftest.er1
7453 ac_status=$?
7454 grep -v '^ *+' conftest.er1 >conftest.err
7455 rm -f conftest.er1
7456 cat conftest.err >&5
7457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); } && {
7459 test -z "$ac_c_werror_flag" ||
7460 test ! -s conftest.err
7461 } && test -s conftest.$ac_objext; then
7462 eval "$as_ac_Header=yes"
7463 else
7464 echo "$as_me: failed program was:" >&5
7465 sed 's/^/| /' conftest.$ac_ext >&5
7467 eval "$as_ac_Header=no"
7470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7472 ac_res=`eval echo '${'$as_ac_Header'}'`
7473 { echo "$as_me:$LINENO: result: $ac_res" >&5
7474 echo "${ECHO_T}$ac_res" >&6; }
7475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7476 cat >>confdefs.h <<_ACEOF
7477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7478 _ACEOF
7482 done
7493 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
7495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7500 else
7501 cat >conftest.$ac_ext <<_ACEOF
7502 /* confdefs.h. */
7503 _ACEOF
7504 cat confdefs.h >>conftest.$ac_ext
7505 cat >>conftest.$ac_ext <<_ACEOF
7506 /* end confdefs.h. */
7507 #include <sys/types.h>
7508 #ifdef HAVE_SYS_SOCKET_H
7509 # include <sys/socket.h>
7510 #endif
7511 #ifdef HAVE_SYS_SOCKETVAR_H
7512 # include <sys/socketvar.h>
7513 #endif
7514 #ifdef HAVE_NETINET_IN_H
7515 # include <netinet/in.h>
7516 #endif
7518 #include <$ac_header>
7519 _ACEOF
7520 rm -f conftest.$ac_objext
7521 if { (ac_try="$ac_compile"
7522 case "(($ac_try" in
7523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7524 *) ac_try_echo=$ac_try;;
7525 esac
7526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7527 (eval "$ac_compile") 2>conftest.er1
7528 ac_status=$?
7529 grep -v '^ *+' conftest.er1 >conftest.err
7530 rm -f conftest.er1
7531 cat conftest.err >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } && {
7534 test -z "$ac_c_werror_flag" ||
7535 test ! -s conftest.err
7536 } && test -s conftest.$ac_objext; then
7537 eval "$as_ac_Header=yes"
7538 else
7539 echo "$as_me: failed program was:" >&5
7540 sed 's/^/| /' conftest.$ac_ext >&5
7542 eval "$as_ac_Header=no"
7545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7547 ac_res=`eval echo '${'$as_ac_Header'}'`
7548 { echo "$as_me:$LINENO: result: $ac_res" >&5
7549 echo "${ECHO_T}$ac_res" >&6; }
7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7551 cat >>confdefs.h <<_ACEOF
7552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7553 _ACEOF
7557 done
7561 for ac_header in netinet/tcp_var.h
7563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7564 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7566 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 else
7569 cat >conftest.$ac_ext <<_ACEOF
7570 /* confdefs.h. */
7571 _ACEOF
7572 cat confdefs.h >>conftest.$ac_ext
7573 cat >>conftest.$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7575 #include <sys/types.h>
7576 #ifdef HAVE_SYS_SOCKET_H
7577 # include <sys/socket.h>
7578 #endif
7579 #ifdef HAVE_SYS_SOCKETVAR_H
7580 # include <sys/socketvar.h>
7581 #endif
7582 #ifdef HAVE_NETINET_IN_H
7583 # include <netinet/in.h>
7584 #endif
7585 #ifdef HAVE_NETINET_TCP_H
7586 # include <netinet/tcp.h>
7587 #endif
7589 #include <$ac_header>
7590 _ACEOF
7591 rm -f conftest.$ac_objext
7592 if { (ac_try="$ac_compile"
7593 case "(($ac_try" in
7594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7595 *) ac_try_echo=$ac_try;;
7596 esac
7597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7598 (eval "$ac_compile") 2>conftest.er1
7599 ac_status=$?
7600 grep -v '^ *+' conftest.er1 >conftest.err
7601 rm -f conftest.er1
7602 cat conftest.err >&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } && {
7605 test -z "$ac_c_werror_flag" ||
7606 test ! -s conftest.err
7607 } && test -s conftest.$ac_objext; then
7608 eval "$as_ac_Header=yes"
7609 else
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.$ac_ext >&5
7613 eval "$as_ac_Header=no"
7616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7618 ac_res=`eval echo '${'$as_ac_Header'}'`
7619 { echo "$as_me:$LINENO: result: $ac_res" >&5
7620 echo "${ECHO_T}$ac_res" >&6; }
7621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7622 cat >>confdefs.h <<_ACEOF
7623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7624 _ACEOF
7628 done
7632 for ac_header in linux/ipx.h
7634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7635 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7639 else
7640 cat >conftest.$ac_ext <<_ACEOF
7641 /* confdefs.h. */
7642 _ACEOF
7643 cat confdefs.h >>conftest.$ac_ext
7644 cat >>conftest.$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7646 #include <sys/types.h>
7647 #ifdef HAVE_ASM_TYPES_H
7648 # include <asm/types.h>
7649 #endif
7650 #ifdef HAVE_SYS_SOCKET_H
7651 # include <sys/socket.h>
7652 #endif
7654 #include <$ac_header>
7655 _ACEOF
7656 rm -f conftest.$ac_objext
7657 if { (ac_try="$ac_compile"
7658 case "(($ac_try" in
7659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7660 *) ac_try_echo=$ac_try;;
7661 esac
7662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7663 (eval "$ac_compile") 2>conftest.er1
7664 ac_status=$?
7665 grep -v '^ *+' conftest.er1 >conftest.err
7666 rm -f conftest.er1
7667 cat conftest.err >&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); } && {
7670 test -z "$ac_c_werror_flag" ||
7671 test ! -s conftest.err
7672 } && test -s conftest.$ac_objext; then
7673 eval "$as_ac_Header=yes"
7674 else
7675 echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.$ac_ext >&5
7678 eval "$as_ac_Header=no"
7681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7683 ac_res=`eval echo '${'$as_ac_Header'}'`
7684 { echo "$as_me:$LINENO: result: $ac_res" >&5
7685 echo "${ECHO_T}$ac_res" >&6; }
7686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7687 cat >>confdefs.h <<_ACEOF
7688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7689 _ACEOF
7693 done
7697 for ac_header in resolv.h
7699 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7700 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7702 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7703 echo $ECHO_N "(cached) $ECHO_C" >&6
7704 else
7705 cat >conftest.$ac_ext <<_ACEOF
7706 /* confdefs.h. */
7707 _ACEOF
7708 cat confdefs.h >>conftest.$ac_ext
7709 cat >>conftest.$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7711 #include <sys/types.h>
7712 #ifdef HAVE_SYS_SOCKET_H
7713 # include <sys/socket.h>
7714 #endif
7715 #ifdef HAVE_NETINET_IN_H
7716 # include <netinet/in.h>
7717 #endif
7718 #ifdef HAVE_ARPA_NAMESER_H
7719 # include <arpa/nameser.h>
7720 #endif
7722 #include <$ac_header>
7723 _ACEOF
7724 rm -f conftest.$ac_objext
7725 if { (ac_try="$ac_compile"
7726 case "(($ac_try" in
7727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7728 *) ac_try_echo=$ac_try;;
7729 esac
7730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7731 (eval "$ac_compile") 2>conftest.er1
7732 ac_status=$?
7733 grep -v '^ *+' conftest.er1 >conftest.err
7734 rm -f conftest.er1
7735 cat conftest.err >&5
7736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7737 (exit $ac_status); } && {
7738 test -z "$ac_c_werror_flag" ||
7739 test ! -s conftest.err
7740 } && test -s conftest.$ac_objext; then
7741 eval "$as_ac_Header=yes"
7742 else
7743 echo "$as_me: failed program was:" >&5
7744 sed 's/^/| /' conftest.$ac_ext >&5
7746 eval "$as_ac_Header=no"
7749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7751 ac_res=`eval echo '${'$as_ac_Header'}'`
7752 { echo "$as_me:$LINENO: result: $ac_res" >&5
7753 echo "${ECHO_T}$ac_res" >&6; }
7754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7755 cat >>confdefs.h <<_ACEOF
7756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7757 _ACEOF
7761 done
7765 for ac_header in ucontext.h
7767 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7768 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7772 else
7773 cat >conftest.$ac_ext <<_ACEOF
7774 /* confdefs.h. */
7775 _ACEOF
7776 cat confdefs.h >>conftest.$ac_ext
7777 cat >>conftest.$ac_ext <<_ACEOF
7778 /* end confdefs.h. */
7779 #include <signal.h>
7781 #include <$ac_header>
7782 _ACEOF
7783 rm -f conftest.$ac_objext
7784 if { (ac_try="$ac_compile"
7785 case "(($ac_try" in
7786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7787 *) ac_try_echo=$ac_try;;
7788 esac
7789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7790 (eval "$ac_compile") 2>conftest.er1
7791 ac_status=$?
7792 grep -v '^ *+' conftest.er1 >conftest.err
7793 rm -f conftest.er1
7794 cat conftest.err >&5
7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); } && {
7797 test -z "$ac_c_werror_flag" ||
7798 test ! -s conftest.err
7799 } && test -s conftest.$ac_objext; then
7800 eval "$as_ac_Header=yes"
7801 else
7802 echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.$ac_ext >&5
7805 eval "$as_ac_Header=no"
7808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7810 ac_res=`eval echo '${'$as_ac_Header'}'`
7811 { echo "$as_me:$LINENO: result: $ac_res" >&5
7812 echo "${ECHO_T}$ac_res" >&6; }
7813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7814 cat >>confdefs.h <<_ACEOF
7815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7816 _ACEOF
7820 done
7824 for ac_header in sys/thr.h
7826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7827 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7829 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
7831 else
7832 cat >conftest.$ac_ext <<_ACEOF
7833 /* confdefs.h. */
7834 _ACEOF
7835 cat confdefs.h >>conftest.$ac_ext
7836 cat >>conftest.$ac_ext <<_ACEOF
7837 /* end confdefs.h. */
7838 #include <sys/types.h>
7839 #ifdef HAVE_UCONTEXT_H
7840 #include <ucontext.h>
7841 #endif
7843 #include <$ac_header>
7844 _ACEOF
7845 rm -f conftest.$ac_objext
7846 if { (ac_try="$ac_compile"
7847 case "(($ac_try" in
7848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7849 *) ac_try_echo=$ac_try;;
7850 esac
7851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7852 (eval "$ac_compile") 2>conftest.er1
7853 ac_status=$?
7854 grep -v '^ *+' conftest.er1 >conftest.err
7855 rm -f conftest.er1
7856 cat conftest.err >&5
7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); } && {
7859 test -z "$ac_c_werror_flag" ||
7860 test ! -s conftest.err
7861 } && test -s conftest.$ac_objext; then
7862 eval "$as_ac_Header=yes"
7863 else
7864 echo "$as_me: failed program was:" >&5
7865 sed 's/^/| /' conftest.$ac_ext >&5
7867 eval "$as_ac_Header=no"
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872 ac_res=`eval echo '${'$as_ac_Header'}'`
7873 { echo "$as_me:$LINENO: result: $ac_res" >&5
7874 echo "${ECHO_T}$ac_res" >&6; }
7875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7876 cat >>confdefs.h <<_ACEOF
7877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7878 _ACEOF
7882 done
7886 for ac_header in pthread_np.h
7888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 else
7894 cat >conftest.$ac_ext <<_ACEOF
7895 /* confdefs.h. */
7896 _ACEOF
7897 cat confdefs.h >>conftest.$ac_ext
7898 cat >>conftest.$ac_ext <<_ACEOF
7899 /* end confdefs.h. */
7900 #ifdef HAVE_PTHREAD_H
7901 #include <pthread.h>
7902 #endif
7904 #include <$ac_header>
7905 _ACEOF
7906 rm -f conftest.$ac_objext
7907 if { (ac_try="$ac_compile"
7908 case "(($ac_try" in
7909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7910 *) ac_try_echo=$ac_try;;
7911 esac
7912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7913 (eval "$ac_compile") 2>conftest.er1
7914 ac_status=$?
7915 grep -v '^ *+' conftest.er1 >conftest.err
7916 rm -f conftest.er1
7917 cat conftest.err >&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); } && {
7920 test -z "$ac_c_werror_flag" ||
7921 test ! -s conftest.err
7922 } && test -s conftest.$ac_objext; then
7923 eval "$as_ac_Header=yes"
7924 else
7925 echo "$as_me: failed program was:" >&5
7926 sed 's/^/| /' conftest.$ac_ext >&5
7928 eval "$as_ac_Header=no"
7931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7933 ac_res=`eval echo '${'$as_ac_Header'}'`
7934 { echo "$as_me:$LINENO: result: $ac_res" >&5
7935 echo "${ECHO_T}$ac_res" >&6; }
7936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7937 cat >>confdefs.h <<_ACEOF
7938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7939 _ACEOF
7943 done
7947 for ac_header in linux/videodev.h
7949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7950 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7954 else
7955 cat >conftest.$ac_ext <<_ACEOF
7956 /* confdefs.h. */
7957 _ACEOF
7958 cat confdefs.h >>conftest.$ac_ext
7959 cat >>conftest.$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7961 #ifdef HAVE_SYS_TIME_H
7962 #include <sys/time.h>
7963 #endif
7964 #include <sys/types.h>
7965 #ifdef HAVE_ASM_TYPES_H
7966 #include <asm/types.h>
7967 #endif
7969 #include <$ac_header>
7970 _ACEOF
7971 rm -f conftest.$ac_objext
7972 if { (ac_try="$ac_compile"
7973 case "(($ac_try" in
7974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7975 *) ac_try_echo=$ac_try;;
7976 esac
7977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7978 (eval "$ac_compile") 2>conftest.er1
7979 ac_status=$?
7980 grep -v '^ *+' conftest.er1 >conftest.err
7981 rm -f conftest.er1
7982 cat conftest.err >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } && {
7985 test -z "$ac_c_werror_flag" ||
7986 test ! -s conftest.err
7987 } && test -s conftest.$ac_objext; then
7988 eval "$as_ac_Header=yes"
7989 else
7990 echo "$as_me: failed program was:" >&5
7991 sed 's/^/| /' conftest.$ac_ext >&5
7993 eval "$as_ac_Header=no"
7996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7998 ac_res=`eval echo '${'$as_ac_Header'}'`
7999 { echo "$as_me:$LINENO: result: $ac_res" >&5
8000 echo "${ECHO_T}$ac_res" >&6; }
8001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8002 cat >>confdefs.h <<_ACEOF
8003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8004 _ACEOF
8008 done
8012 for ac_header in linux/capi.h
8014 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8017 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 else
8020 cat >conftest.$ac_ext <<_ACEOF
8021 /* confdefs.h. */
8022 _ACEOF
8023 cat confdefs.h >>conftest.$ac_ext
8024 cat >>conftest.$ac_ext <<_ACEOF
8025 /* end confdefs.h. */
8026 #define __user
8028 #include <$ac_header>
8029 _ACEOF
8030 rm -f conftest.$ac_objext
8031 if { (ac_try="$ac_compile"
8032 case "(($ac_try" in
8033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034 *) ac_try_echo=$ac_try;;
8035 esac
8036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 (eval "$ac_compile") 2>conftest.er1
8038 ac_status=$?
8039 grep -v '^ *+' conftest.er1 >conftest.err
8040 rm -f conftest.er1
8041 cat conftest.err >&5
8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043 (exit $ac_status); } && {
8044 test -z "$ac_c_werror_flag" ||
8045 test ! -s conftest.err
8046 } && test -s conftest.$ac_objext; then
8047 eval "$as_ac_Header=yes"
8048 else
8049 echo "$as_me: failed program was:" >&5
8050 sed 's/^/| /' conftest.$ac_ext >&5
8052 eval "$as_ac_Header=no"
8055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8057 ac_res=`eval echo '${'$as_ac_Header'}'`
8058 { echo "$as_me:$LINENO: result: $ac_res" >&5
8059 echo "${ECHO_T}$ac_res" >&6; }
8060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8061 cat >>confdefs.h <<_ACEOF
8062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8063 _ACEOF
8067 done
8071 DLLEXT=""
8073 DLLFLAGS="-D_REENTRANT"
8075 LDSHARED=""
8077 LDDLLFLAGS=""
8079 LIBEXT="so"
8081 IMPLIBEXT="def"
8083 LDRPATH_INSTALL=""
8085 LDRPATH_LOCAL=""
8087 # Extract the first word of "ldd", so it can be a program name with args.
8088 set dummy ldd; ac_word=$2
8089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8091 if test "${ac_cv_path_LDD+set}" = set; then
8092 echo $ECHO_N "(cached) $ECHO_C" >&6
8093 else
8094 case $LDD in
8095 [\\/]* | ?:[\\/]*)
8096 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8100 as_dummy="/sbin:/usr/sbin:$PATH"
8101 for as_dir in $as_dummy
8103 IFS=$as_save_IFS
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8107 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8109 break 2
8111 done
8112 done
8113 IFS=$as_save_IFS
8115 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8117 esac
8119 LDD=$ac_cv_path_LDD
8120 if test -n "$LDD"; then
8121 { echo "$as_me:$LINENO: result: $LDD" >&5
8122 echo "${ECHO_T}$LDD" >&6; }
8123 else
8124 { echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6; }
8130 case $host_os in
8131 cygwin*|mingw32*)
8132 if test -n "$ac_tool_prefix"; then
8133 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8134 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8137 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8138 echo $ECHO_N "(cached) $ECHO_C" >&6
8139 else
8140 if test -n "$DLLTOOL"; then
8141 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8142 else
8143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 for as_dir in $PATH
8146 IFS=$as_save_IFS
8147 test -z "$as_dir" && as_dir=.
8148 for ac_exec_ext in '' $ac_executable_extensions; do
8149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8150 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8152 break 2
8154 done
8155 done
8156 IFS=$as_save_IFS
8160 DLLTOOL=$ac_cv_prog_DLLTOOL
8161 if test -n "$DLLTOOL"; then
8162 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8163 echo "${ECHO_T}$DLLTOOL" >&6; }
8164 else
8165 { echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6; }
8171 if test -z "$ac_cv_prog_DLLTOOL"; then
8172 ac_ct_DLLTOOL=$DLLTOOL
8173 # Extract the first word of "dlltool", so it can be a program name with args.
8174 set dummy dlltool; ac_word=$2
8175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8177 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8178 echo $ECHO_N "(cached) $ECHO_C" >&6
8179 else
8180 if test -n "$ac_ct_DLLTOOL"; then
8181 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8182 else
8183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184 for as_dir in $PATH
8186 IFS=$as_save_IFS
8187 test -z "$as_dir" && as_dir=.
8188 for ac_exec_ext in '' $ac_executable_extensions; do
8189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8190 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8192 break 2
8194 done
8195 done
8196 IFS=$as_save_IFS
8200 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8201 if test -n "$ac_ct_DLLTOOL"; then
8202 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8203 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8204 else
8205 { echo "$as_me:$LINENO: result: no" >&5
8206 echo "${ECHO_T}no" >&6; }
8209 if test "x$ac_ct_DLLTOOL" = x; then
8210 DLLTOOL="false"
8211 else
8212 case $cross_compiling:$ac_tool_warned in
8213 yes:)
8214 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8215 whose name does not start with the host triplet. If you think this
8216 configuration is useful to you, please write to autoconf@gnu.org." >&5
8217 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8218 whose name does not start with the host triplet. If you think this
8219 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8220 ac_tool_warned=yes ;;
8221 esac
8222 DLLTOOL=$ac_ct_DLLTOOL
8224 else
8225 DLLTOOL="$ac_cv_prog_DLLTOOL"
8228 if test -n "$ac_tool_prefix"; then
8229 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8230 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8233 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8235 else
8236 if test -n "$DLLWRAP"; then
8237 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8238 else
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240 for as_dir in $PATH
8242 IFS=$as_save_IFS
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8246 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8248 break 2
8250 done
8251 done
8252 IFS=$as_save_IFS
8256 DLLWRAP=$ac_cv_prog_DLLWRAP
8257 if test -n "$DLLWRAP"; then
8258 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8259 echo "${ECHO_T}$DLLWRAP" >&6; }
8260 else
8261 { echo "$as_me:$LINENO: result: no" >&5
8262 echo "${ECHO_T}no" >&6; }
8267 if test -z "$ac_cv_prog_DLLWRAP"; then
8268 ac_ct_DLLWRAP=$DLLWRAP
8269 # Extract the first word of "dllwrap", so it can be a program name with args.
8270 set dummy dllwrap; ac_word=$2
8271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8273 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8274 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 else
8276 if test -n "$ac_ct_DLLWRAP"; then
8277 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8278 else
8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8280 for as_dir in $PATH
8282 IFS=$as_save_IFS
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8288 break 2
8290 done
8291 done
8292 IFS=$as_save_IFS
8296 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8297 if test -n "$ac_ct_DLLWRAP"; then
8298 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8299 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8300 else
8301 { echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6; }
8305 if test "x$ac_ct_DLLWRAP" = x; then
8306 DLLWRAP="false"
8307 else
8308 case $cross_compiling:$ac_tool_warned in
8309 yes:)
8310 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8311 whose name does not start with the host triplet. If you think this
8312 configuration is useful to you, please write to autoconf@gnu.org." >&5
8313 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8314 whose name does not start with the host triplet. If you think this
8315 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8316 ac_tool_warned=yes ;;
8317 esac
8318 DLLWRAP=$ac_ct_DLLWRAP
8320 else
8321 DLLWRAP="$ac_cv_prog_DLLWRAP"
8324 if test -n "$ac_tool_prefix"; then
8325 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8326 set dummy ${ac_tool_prefix}ar; ac_word=$2
8327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8329 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8330 echo $ECHO_N "(cached) $ECHO_C" >&6
8331 else
8332 if test -n "$MINGWAR"; then
8333 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8334 else
8335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8336 for as_dir in $PATH
8338 IFS=$as_save_IFS
8339 test -z "$as_dir" && as_dir=.
8340 for ac_exec_ext in '' $ac_executable_extensions; do
8341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8342 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8344 break 2
8346 done
8347 done
8348 IFS=$as_save_IFS
8352 MINGWAR=$ac_cv_prog_MINGWAR
8353 if test -n "$MINGWAR"; then
8354 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8355 echo "${ECHO_T}$MINGWAR" >&6; }
8356 else
8357 { echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6; }
8363 if test -z "$ac_cv_prog_MINGWAR"; then
8364 ac_ct_MINGWAR=$MINGWAR
8365 # Extract the first word of "ar", so it can be a program name with args.
8366 set dummy ar; ac_word=$2
8367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8369 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8370 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 else
8372 if test -n "$ac_ct_MINGWAR"; then
8373 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8374 else
8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8376 for as_dir in $PATH
8378 IFS=$as_save_IFS
8379 test -z "$as_dir" && as_dir=.
8380 for ac_exec_ext in '' $ac_executable_extensions; do
8381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8382 ac_cv_prog_ac_ct_MINGWAR="ar"
8383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8384 break 2
8386 done
8387 done
8388 IFS=$as_save_IFS
8392 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8393 if test -n "$ac_ct_MINGWAR"; then
8394 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8395 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8396 else
8397 { echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6; }
8401 if test "x$ac_ct_MINGWAR" = x; then
8402 MINGWAR="false"
8403 else
8404 case $cross_compiling:$ac_tool_warned in
8405 yes:)
8406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8407 whose name does not start with the host triplet. If you think this
8408 configuration is useful to you, please write to autoconf@gnu.org." >&5
8409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8410 whose name does not start with the host triplet. If you think this
8411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8412 ac_tool_warned=yes ;;
8413 esac
8414 MINGWAR=$ac_ct_MINGWAR
8416 else
8417 MINGWAR="$ac_cv_prog_MINGWAR"
8420 if test "$DLLWRAP" = "false"; then
8421 LIBEXT="a"
8422 else
8423 LIBEXT="dll"
8425 IMPLIBEXT="a"
8426 WIN16_FILES=""
8427 WIN16_INSTALL=""
8429 darwin*|macosx*)
8430 DLLEXT=".so"
8431 LIBEXT="dylib"
8432 DLLFLAGS="$DLLFLAGS -fPIC"
8433 LDDLLFLAGS="-bundle -multiply_defined suppress"
8434 LIBWINE_LDFLAGS="-multiply_defined suppress"
8435 LDSHARED="\$(CC) -dynamiclib"
8436 STRIP="$STRIP -x"
8437 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8438 SECURITYLIB="-framework Security -framework CoreFoundation"
8440 COREFOUNDATIONLIB="-framework CoreFoundation"
8442 IOKITLIB="-framework IOKit -framework CoreFoundation"
8444 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8446 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8447 then
8448 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8451 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8452 then
8453 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8456 case $host_cpu in
8457 *powerpc*)
8458 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8459 esac
8460 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8461 then
8462 CARBONLIB="-framework Carbon"
8464 QUARTZFILES='$(QUARTZFILES)'
8468 DLLFLAGS="$DLLFLAGS -fPIC"
8469 DLLEXT=".so"
8470 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8471 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8472 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8474 else
8475 ac_wine_try_cflags_saved=$CFLAGS
8476 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8477 cat >conftest.$ac_ext <<_ACEOF
8478 void myfunc() {}
8479 _ACEOF
8480 rm -f conftest.$ac_objext conftest$ac_exeext
8481 if { (ac_try="$ac_link"
8482 case "(($ac_try" in
8483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8484 *) ac_try_echo=$ac_try;;
8485 esac
8486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8487 (eval "$ac_link") 2>conftest.er1
8488 ac_status=$?
8489 grep -v '^ *+' conftest.er1 >conftest.err
8490 rm -f conftest.er1
8491 cat conftest.err >&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } && {
8494 test -z "$ac_c_werror_flag" ||
8495 test ! -s conftest.err
8496 } && test -s conftest$ac_exeext &&
8497 $as_test_x conftest$ac_exeext; then
8498 ac_cv_c_dll_gnuelf="yes"
8499 else
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.$ac_ext >&5
8503 ac_cv_c_dll_gnuelf="no"
8506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8507 conftest$ac_exeext conftest.$ac_ext
8508 CFLAGS=$ac_wine_try_cflags_saved
8510 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8511 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8512 if test "$ac_cv_c_dll_gnuelf" = "yes"
8513 then
8514 LDSHARED="\$(CC) -shared"
8515 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8516 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8517 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8518 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8519 echo $ECHO_N "(cached) $ECHO_C" >&6
8520 else
8521 ac_wine_try_cflags_saved=$CFLAGS
8522 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8523 cat >conftest.$ac_ext <<_ACEOF
8524 /* confdefs.h. */
8525 _ACEOF
8526 cat confdefs.h >>conftest.$ac_ext
8527 cat >>conftest.$ac_ext <<_ACEOF
8528 /* end confdefs.h. */
8531 main ()
8535 return 0;
8537 _ACEOF
8538 rm -f conftest.$ac_objext conftest$ac_exeext
8539 if { (ac_try="$ac_link"
8540 case "(($ac_try" in
8541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8542 *) ac_try_echo=$ac_try;;
8543 esac
8544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8545 (eval "$ac_link") 2>conftest.er1
8546 ac_status=$?
8547 grep -v '^ *+' conftest.er1 >conftest.err
8548 rm -f conftest.er1
8549 cat conftest.err >&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); } && {
8552 test -z "$ac_c_werror_flag" ||
8553 test ! -s conftest.err
8554 } && test -s conftest$ac_exeext &&
8555 $as_test_x conftest$ac_exeext; then
8556 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8557 else
8558 echo "$as_me: failed program was:" >&5
8559 sed 's/^/| /' conftest.$ac_ext >&5
8561 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8565 conftest$ac_exeext conftest.$ac_ext
8566 CFLAGS=$ac_wine_try_cflags_saved
8568 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8569 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8570 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8571 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8572 else
8573 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8574 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8575 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8576 echo $ECHO_N "(cached) $ECHO_C" >&6
8577 else
8578 ac_wine_try_cflags_saved=$CFLAGS
8579 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8580 cat >conftest.$ac_ext <<_ACEOF
8581 /* confdefs.h. */
8582 _ACEOF
8583 cat confdefs.h >>conftest.$ac_ext
8584 cat >>conftest.$ac_ext <<_ACEOF
8585 /* end confdefs.h. */
8588 main ()
8592 return 0;
8594 _ACEOF
8595 rm -f conftest.$ac_objext conftest$ac_exeext
8596 if { (ac_try="$ac_link"
8597 case "(($ac_try" in
8598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8599 *) ac_try_echo=$ac_try;;
8600 esac
8601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8602 (eval "$ac_link") 2>conftest.er1
8603 ac_status=$?
8604 grep -v '^ *+' conftest.er1 >conftest.err
8605 rm -f conftest.er1
8606 cat conftest.err >&5
8607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608 (exit $ac_status); } && {
8609 test -z "$ac_c_werror_flag" ||
8610 test ! -s conftest.err
8611 } && test -s conftest$ac_exeext &&
8612 $as_test_x conftest$ac_exeext; then
8613 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8614 else
8615 echo "$as_me: failed program was:" >&5
8616 sed 's/^/| /' conftest.$ac_ext >&5
8618 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8626 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8627 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8628 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8634 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8635 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8636 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8637 echo $ECHO_N "(cached) $ECHO_C" >&6
8638 else
8639 ac_wine_try_cflags_saved=$CFLAGS
8640 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8641 cat >conftest.$ac_ext <<_ACEOF
8642 /* confdefs.h. */
8643 _ACEOF
8644 cat confdefs.h >>conftest.$ac_ext
8645 cat >>conftest.$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8649 main ()
8653 return 0;
8655 _ACEOF
8656 rm -f conftest.$ac_objext conftest$ac_exeext
8657 if { (ac_try="$ac_link"
8658 case "(($ac_try" in
8659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8660 *) ac_try_echo=$ac_try;;
8661 esac
8662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8663 (eval "$ac_link") 2>conftest.er1
8664 ac_status=$?
8665 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1
8667 cat conftest.err >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } && {
8670 test -z "$ac_c_werror_flag" ||
8671 test ! -s conftest.err
8672 } && test -s conftest$ac_exeext &&
8673 $as_test_x conftest$ac_exeext; then
8674 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8675 else
8676 echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.$ac_ext >&5
8679 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8683 conftest$ac_exeext conftest.$ac_ext
8684 CFLAGS=$ac_wine_try_cflags_saved
8686 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8687 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8688 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8689 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8693 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8694 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8695 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 else
8698 ac_wine_try_cflags_saved=$CFLAGS
8699 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8700 cat >conftest.$ac_ext <<_ACEOF
8701 /* confdefs.h. */
8702 _ACEOF
8703 cat confdefs.h >>conftest.$ac_ext
8704 cat >>conftest.$ac_ext <<_ACEOF
8705 /* end confdefs.h. */
8708 main ()
8712 return 0;
8714 _ACEOF
8715 rm -f conftest.$ac_objext conftest$ac_exeext
8716 if { (ac_try="$ac_link"
8717 case "(($ac_try" in
8718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8719 *) ac_try_echo=$ac_try;;
8720 esac
8721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8722 (eval "$ac_link") 2>conftest.er1
8723 ac_status=$?
8724 grep -v '^ *+' conftest.er1 >conftest.err
8725 rm -f conftest.er1
8726 cat conftest.err >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } && {
8729 test -z "$ac_c_werror_flag" ||
8730 test ! -s conftest.err
8731 } && test -s conftest$ac_exeext &&
8732 $as_test_x conftest$ac_exeext; then
8733 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8734 else
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.$ac_ext >&5
8738 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8742 conftest$ac_exeext conftest.$ac_ext
8743 CFLAGS=$ac_wine_try_cflags_saved
8745 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8746 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8747 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8748 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8752 echo '{ global: *; };' >conftest.map
8753 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8754 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8755 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 else
8758 ac_wine_try_cflags_saved=$CFLAGS
8759 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8760 cat >conftest.$ac_ext <<_ACEOF
8761 /* confdefs.h. */
8762 _ACEOF
8763 cat confdefs.h >>conftest.$ac_ext
8764 cat >>conftest.$ac_ext <<_ACEOF
8765 /* end confdefs.h. */
8768 main ()
8772 return 0;
8774 _ACEOF
8775 rm -f conftest.$ac_objext conftest$ac_exeext
8776 if { (ac_try="$ac_link"
8777 case "(($ac_try" in
8778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8779 *) ac_try_echo=$ac_try;;
8780 esac
8781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8782 (eval "$ac_link") 2>conftest.er1
8783 ac_status=$?
8784 grep -v '^ *+' conftest.er1 >conftest.err
8785 rm -f conftest.er1
8786 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); } && {
8789 test -z "$ac_c_werror_flag" ||
8790 test ! -s conftest.err
8791 } && test -s conftest$ac_exeext &&
8792 $as_test_x conftest$ac_exeext; then
8793 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8794 else
8795 echo "$as_me: failed program was:" >&5
8796 sed 's/^/| /' conftest.$ac_ext >&5
8798 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8802 conftest$ac_exeext conftest.$ac_ext
8803 CFLAGS=$ac_wine_try_cflags_saved
8805 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8806 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8807 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8808 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8811 rm -f conftest.map
8813 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8814 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8815 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8816 echo $ECHO_N "(cached) $ECHO_C" >&6
8817 else
8818 ac_wine_try_cflags_saved=$CFLAGS
8819 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8820 cat >conftest.$ac_ext <<_ACEOF
8821 /* confdefs.h. */
8822 _ACEOF
8823 cat confdefs.h >>conftest.$ac_ext
8824 cat >>conftest.$ac_ext <<_ACEOF
8825 /* end confdefs.h. */
8828 main ()
8832 return 0;
8834 _ACEOF
8835 rm -f conftest.$ac_objext conftest$ac_exeext
8836 if { (ac_try="$ac_link"
8837 case "(($ac_try" in
8838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8839 *) ac_try_echo=$ac_try;;
8840 esac
8841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8842 (eval "$ac_link") 2>conftest.er1
8843 ac_status=$?
8844 grep -v '^ *+' conftest.er1 >conftest.err
8845 rm -f conftest.er1
8846 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); } && {
8849 test -z "$ac_c_werror_flag" ||
8850 test ! -s conftest.err
8851 } && test -s conftest$ac_exeext &&
8852 $as_test_x conftest$ac_exeext; then
8853 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8854 else
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8862 conftest$ac_exeext conftest.$ac_ext
8863 CFLAGS=$ac_wine_try_cflags_saved
8865 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8866 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8867 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8868 LDEXECFLAGS="-Wl,--export-dynamic"
8873 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8874 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8875 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8877 echo $ECHO_N "(cached) $ECHO_C" >&6
8878 else
8879 ac_wine_try_cflags_saved=$CFLAGS
8880 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8881 cat >conftest.$ac_ext <<_ACEOF
8882 /* confdefs.h. */
8883 _ACEOF
8884 cat confdefs.h >>conftest.$ac_ext
8885 cat >>conftest.$ac_ext <<_ACEOF
8886 /* end confdefs.h. */
8889 main ()
8893 return 0;
8895 _ACEOF
8896 rm -f conftest.$ac_objext conftest$ac_exeext
8897 if { (ac_try="$ac_link"
8898 case "(($ac_try" in
8899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8900 *) ac_try_echo=$ac_try;;
8901 esac
8902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8903 (eval "$ac_link") 2>conftest.er1
8904 ac_status=$?
8905 grep -v '^ *+' conftest.er1 >conftest.err
8906 rm -f conftest.er1
8907 cat conftest.err >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); } && {
8910 test -z "$ac_c_werror_flag" ||
8911 test ! -s conftest.err
8912 } && test -s conftest$ac_exeext &&
8913 $as_test_x conftest$ac_exeext; then
8914 eval "$as_ac_var=yes"
8915 else
8916 echo "$as_me: failed program was:" >&5
8917 sed 's/^/| /' conftest.$ac_ext >&5
8919 eval "$as_ac_var=no"
8922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8923 conftest$ac_exeext conftest.$ac_ext
8924 CFLAGS=$ac_wine_try_cflags_saved
8926 ac_res=`eval echo '${'$as_ac_var'}'`
8927 { echo "$as_me:$LINENO: result: $ac_res" >&5
8928 echo "${ECHO_T}$ac_res" >&6; }
8929 if test `eval echo '${'$as_ac_var'}'` = yes; then
8930 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8931 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8932 else
8933 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8934 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8935 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8936 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8938 else
8939 ac_wine_try_cflags_saved=$CFLAGS
8940 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8941 cat >conftest.$ac_ext <<_ACEOF
8942 /* confdefs.h. */
8943 _ACEOF
8944 cat confdefs.h >>conftest.$ac_ext
8945 cat >>conftest.$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8949 main ()
8953 return 0;
8955 _ACEOF
8956 rm -f conftest.$ac_objext conftest$ac_exeext
8957 if { (ac_try="$ac_link"
8958 case "(($ac_try" in
8959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8960 *) ac_try_echo=$ac_try;;
8961 esac
8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8963 (eval "$ac_link") 2>conftest.er1
8964 ac_status=$?
8965 grep -v '^ *+' conftest.er1 >conftest.err
8966 rm -f conftest.er1
8967 cat conftest.err >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } && {
8970 test -z "$ac_c_werror_flag" ||
8971 test ! -s conftest.err
8972 } && test -s conftest$ac_exeext &&
8973 $as_test_x conftest$ac_exeext; then
8974 eval "$as_ac_var=yes"
8975 else
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5
8979 eval "$as_ac_var=no"
8982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8983 conftest$ac_exeext conftest.$ac_ext
8984 CFLAGS=$ac_wine_try_cflags_saved
8986 ac_res=`eval echo '${'$as_ac_var'}'`
8987 { echo "$as_me:$LINENO: result: $ac_res" >&5
8988 echo "${ECHO_T}$ac_res" >&6; }
8989 if test `eval echo '${'$as_ac_var'}'` = yes; then
8990 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8991 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8997 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8998 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8999 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9000 echo $ECHO_N "(cached) $ECHO_C" >&6
9001 else
9002 ac_wine_try_cflags_saved=$CFLAGS
9003 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9004 cat >conftest.$ac_ext <<_ACEOF
9005 /* confdefs.h. */
9006 _ACEOF
9007 cat confdefs.h >>conftest.$ac_ext
9008 cat >>conftest.$ac_ext <<_ACEOF
9009 /* end confdefs.h. */
9012 main ()
9016 return 0;
9018 _ACEOF
9019 rm -f conftest.$ac_objext conftest$ac_exeext
9020 if { (ac_try="$ac_link"
9021 case "(($ac_try" in
9022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9023 *) ac_try_echo=$ac_try;;
9024 esac
9025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9026 (eval "$ac_link") 2>conftest.er1
9027 ac_status=$?
9028 grep -v '^ *+' conftest.er1 >conftest.err
9029 rm -f conftest.er1
9030 cat conftest.err >&5
9031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9032 (exit $ac_status); } && {
9033 test -z "$ac_c_werror_flag" ||
9034 test ! -s conftest.err
9035 } && test -s conftest$ac_exeext &&
9036 $as_test_x conftest$ac_exeext; then
9037 ac_cv_cflags__Wl___enable_new_dtags=yes
9038 else
9039 echo "$as_me: failed program was:" >&5
9040 sed 's/^/| /' conftest.$ac_ext >&5
9042 ac_cv_cflags__Wl___enable_new_dtags=no
9045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9046 conftest$ac_exeext conftest.$ac_ext
9047 CFLAGS=$ac_wine_try_cflags_saved
9049 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9050 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9051 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9052 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9056 case $host_cpu in
9057 *i[3456789]86* | x86_64)
9058 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9059 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9060 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9061 echo $ECHO_N "(cached) $ECHO_C" >&6
9062 else
9063 ac_wine_try_cflags_saved=$CFLAGS
9064 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9065 cat >conftest.$ac_ext <<_ACEOF
9066 /* confdefs.h. */
9067 _ACEOF
9068 cat confdefs.h >>conftest.$ac_ext
9069 cat >>conftest.$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9073 main ()
9077 return 0;
9079 _ACEOF
9080 rm -f conftest.$ac_objext conftest$ac_exeext
9081 if { (ac_try="$ac_link"
9082 case "(($ac_try" in
9083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9084 *) ac_try_echo=$ac_try;;
9085 esac
9086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9087 (eval "$ac_link") 2>conftest.er1
9088 ac_status=$?
9089 grep -v '^ *+' conftest.er1 >conftest.err
9090 rm -f conftest.er1
9091 cat conftest.err >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); } && {
9094 test -z "$ac_c_werror_flag" ||
9095 test ! -s conftest.err
9096 } && test -s conftest$ac_exeext &&
9097 $as_test_x conftest$ac_exeext; then
9098 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9099 else
9100 echo "$as_me: failed program was:" >&5
9101 sed 's/^/| /' conftest.$ac_ext >&5
9103 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9107 conftest$ac_exeext conftest.$ac_ext
9108 CFLAGS=$ac_wine_try_cflags_saved
9110 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9111 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9112 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9113 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9117 esac
9119 else
9120 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9121 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9122 if test "${ac_cv_c_dll_unixware+set}" = set; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9124 else
9125 ac_wine_try_cflags_saved=$CFLAGS
9126 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9127 cat >conftest.$ac_ext <<_ACEOF
9128 void myfunc() {}
9129 _ACEOF
9130 rm -f conftest.$ac_objext conftest$ac_exeext
9131 if { (ac_try="$ac_link"
9132 case "(($ac_try" in
9133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9134 *) ac_try_echo=$ac_try;;
9135 esac
9136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9137 (eval "$ac_link") 2>conftest.er1
9138 ac_status=$?
9139 grep -v '^ *+' conftest.er1 >conftest.err
9140 rm -f conftest.er1
9141 cat conftest.err >&5
9142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9143 (exit $ac_status); } && {
9144 test -z "$ac_c_werror_flag" ||
9145 test ! -s conftest.err
9146 } && test -s conftest$ac_exeext &&
9147 $as_test_x conftest$ac_exeext; then
9148 ac_cv_c_dll_unixware="yes"
9149 else
9150 echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.$ac_ext >&5
9153 ac_cv_c_dll_unixware="no"
9156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9157 conftest$ac_exeext conftest.$ac_ext
9158 CFLAGS=$ac_wine_try_cflags_saved
9160 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9161 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9162 if test "$ac_cv_c_dll_unixware" = "yes"
9163 then
9164 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9165 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9167 else
9168 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9169 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9170 if test "${ac_cv_c_dll_hpux+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9172 else
9173 ac_wine_try_cflags_saved=$CFLAGS
9174 CFLAGS="$CFLAGS -shared"
9175 cat >conftest.$ac_ext <<_ACEOF
9176 void myfunc() {}
9177 _ACEOF
9178 rm -f conftest.$ac_objext conftest$ac_exeext
9179 if { (ac_try="$ac_link"
9180 case "(($ac_try" in
9181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9182 *) ac_try_echo=$ac_try;;
9183 esac
9184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9185 (eval "$ac_link") 2>conftest.er1
9186 ac_status=$?
9187 grep -v '^ *+' conftest.er1 >conftest.err
9188 rm -f conftest.er1
9189 cat conftest.err >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); } && {
9192 test -z "$ac_c_werror_flag" ||
9193 test ! -s conftest.err
9194 } && test -s conftest$ac_exeext &&
9195 $as_test_x conftest$ac_exeext; then
9196 ac_cv_c_dll_hpux="yes"
9197 else
9198 echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.$ac_ext >&5
9201 ac_cv_c_dll_hpux="no"
9204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9205 conftest$ac_exeext conftest.$ac_ext
9206 CFLAGS=$ac_wine_try_cflags_saved
9208 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9209 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9210 if test "$ac_cv_c_dll_hpux" = "yes"
9211 then
9212 LIBEXT="sl"
9213 DLLEXT=".sl"
9214 LDDLLFLAGS="-shared -fPIC"
9215 LDSHARED="\$(CC) -shared"
9220 CROSSTEST=""
9222 if test "$cross_compiling" = "no"
9223 then
9224 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9226 # Extract the first word of "$ac_prog", so it can be a program name with args.
9227 set dummy $ac_prog; ac_word=$2
9228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9230 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9232 else
9233 if test -n "$CROSSCC"; then
9234 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9235 else
9236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9237 for as_dir in $PATH
9239 IFS=$as_save_IFS
9240 test -z "$as_dir" && as_dir=.
9241 for ac_exec_ext in '' $ac_executable_extensions; do
9242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9243 ac_cv_prog_CROSSCC="$ac_prog"
9244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9245 break 2
9247 done
9248 done
9249 IFS=$as_save_IFS
9253 CROSSCC=$ac_cv_prog_CROSSCC
9254 if test -n "$CROSSCC"; then
9255 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9256 echo "${ECHO_T}$CROSSCC" >&6; }
9257 else
9258 { echo "$as_me:$LINENO: result: no" >&5
9259 echo "${ECHO_T}no" >&6; }
9263 test -n "$CROSSCC" && break
9264 done
9265 test -n "$CROSSCC" || CROSSCC="false"
9267 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9269 # Extract the first word of "$ac_prog", so it can be a program name with args.
9270 set dummy $ac_prog; ac_word=$2
9271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9273 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 else
9276 if test -n "$DLLTOOL"; then
9277 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9278 else
9279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9280 for as_dir in $PATH
9282 IFS=$as_save_IFS
9283 test -z "$as_dir" && as_dir=.
9284 for ac_exec_ext in '' $ac_executable_extensions; do
9285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9286 ac_cv_prog_DLLTOOL="$ac_prog"
9287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9288 break 2
9290 done
9291 done
9292 IFS=$as_save_IFS
9296 DLLTOOL=$ac_cv_prog_DLLTOOL
9297 if test -n "$DLLTOOL"; then
9298 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9299 echo "${ECHO_T}$DLLTOOL" >&6; }
9300 else
9301 { echo "$as_me:$LINENO: result: no" >&5
9302 echo "${ECHO_T}no" >&6; }
9306 test -n "$DLLTOOL" && break
9307 done
9308 test -n "$DLLTOOL" || DLLTOOL="false"
9310 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9312 # Extract the first word of "$ac_prog", so it can be a program name with args.
9313 set dummy $ac_prog; ac_word=$2
9314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9316 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9317 echo $ECHO_N "(cached) $ECHO_C" >&6
9318 else
9319 if test -n "$CROSSWINDRES"; then
9320 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9321 else
9322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9323 for as_dir in $PATH
9325 IFS=$as_save_IFS
9326 test -z "$as_dir" && as_dir=.
9327 for ac_exec_ext in '' $ac_executable_extensions; do
9328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9329 ac_cv_prog_CROSSWINDRES="$ac_prog"
9330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9331 break 2
9333 done
9334 done
9335 IFS=$as_save_IFS
9339 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9340 if test -n "$CROSSWINDRES"; then
9341 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9342 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9343 else
9344 { echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6; }
9349 test -n "$CROSSWINDRES" && break
9350 done
9351 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9353 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9355 # Extract the first word of "$ac_prog", so it can be a program name with args.
9356 set dummy $ac_prog; ac_word=$2
9357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9359 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9361 else
9362 if test -n "$MINGWAR"; then
9363 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9364 else
9365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9366 for as_dir in $PATH
9368 IFS=$as_save_IFS
9369 test -z "$as_dir" && as_dir=.
9370 for ac_exec_ext in '' $ac_executable_extensions; do
9371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9372 ac_cv_prog_MINGWAR="$ac_prog"
9373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9374 break 2
9376 done
9377 done
9378 IFS=$as_save_IFS
9382 MINGWAR=$ac_cv_prog_MINGWAR
9383 if test -n "$MINGWAR"; then
9384 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9385 echo "${ECHO_T}$MINGWAR" >&6; }
9386 else
9387 { echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6; }
9392 test -n "$MINGWAR" && break
9393 done
9394 test -n "$MINGWAR" || MINGWAR="false"
9396 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9399 esac
9401 if test "$LIBEXT" = "a"; then
9402 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9403 It is currently not possible to build Wine without shared library
9404 (.so) support to allow transparent switch between .so and .dll files.
9405 If you are using Linux, you will need a newer binutils.
9406 " >&5
9407 echo "$as_me: error: could not find a way to build shared libraries.
9408 It is currently not possible to build Wine without shared library
9409 (.so) support to allow transparent switch between .so and .dll files.
9410 If you are using Linux, you will need a newer binutils.
9411 " >&2;}
9412 { (exit 1); exit 1; }; }
9416 if test "$have_x" = "yes"
9417 then
9418 XLIB="-lXext -lX11"
9419 ac_save_CPPFLAGS="$CPPFLAGS"
9420 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9422 { echo "$as_me:$LINENO: checking for -lX11" >&5
9423 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9424 if test "${ac_cv_lib_soname_X11+set}" = set; then
9425 echo $ECHO_N "(cached) $ECHO_C" >&6
9426 else
9427 ac_check_soname_save_LIBS=$LIBS
9428 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9429 cat >conftest.$ac_ext <<_ACEOF
9430 /* confdefs.h. */
9431 _ACEOF
9432 cat confdefs.h >>conftest.$ac_ext
9433 cat >>conftest.$ac_ext <<_ACEOF
9434 /* end confdefs.h. */
9436 /* Override any GCC internal prototype to avoid an error.
9437 Use char because int might match the return type of a GCC
9438 builtin and then its argument prototype would still apply. */
9439 #ifdef __cplusplus
9440 extern "C"
9441 #endif
9442 char XCreateWindow ();
9444 main ()
9446 return XCreateWindow ();
9448 return 0;
9450 _ACEOF
9451 rm -f conftest.$ac_objext conftest$ac_exeext
9452 if { (ac_try="$ac_link"
9453 case "(($ac_try" in
9454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9455 *) ac_try_echo=$ac_try;;
9456 esac
9457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9458 (eval "$ac_link") 2>conftest.er1
9459 ac_status=$?
9460 grep -v '^ *+' conftest.er1 >conftest.err
9461 rm -f conftest.er1
9462 cat conftest.err >&5
9463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } && {
9465 test -z "$ac_c_werror_flag" ||
9466 test ! -s conftest.err
9467 } && test -s conftest$ac_exeext &&
9468 $as_test_x conftest$ac_exeext; then
9469 case "$LIBEXT" in
9470 dll) ;;
9471 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'` ;;
9472 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9473 esac
9474 else
9475 echo "$as_me: failed program was:" >&5
9476 sed 's/^/| /' conftest.$ac_ext >&5
9481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9482 conftest$ac_exeext conftest.$ac_ext
9483 LIBS=$ac_check_soname_save_LIBS
9485 if test "x$ac_cv_lib_soname_X11" = "x"; then
9486 { echo "$as_me:$LINENO: result: not found" >&5
9487 echo "${ECHO_T}not found" >&6; }
9489 else
9490 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9491 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9493 cat >>confdefs.h <<_ACEOF
9494 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9495 _ACEOF
9500 { echo "$as_me:$LINENO: checking for -lXext" >&5
9501 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9502 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9503 echo $ECHO_N "(cached) $ECHO_C" >&6
9504 else
9505 ac_check_soname_save_LIBS=$LIBS
9506 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9507 cat >conftest.$ac_ext <<_ACEOF
9508 /* confdefs.h. */
9509 _ACEOF
9510 cat confdefs.h >>conftest.$ac_ext
9511 cat >>conftest.$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9514 /* Override any GCC internal prototype to avoid an error.
9515 Use char because int might match the return type of a GCC
9516 builtin and then its argument prototype would still apply. */
9517 #ifdef __cplusplus
9518 extern "C"
9519 #endif
9520 char XextCreateExtension ();
9522 main ()
9524 return XextCreateExtension ();
9526 return 0;
9528 _ACEOF
9529 rm -f conftest.$ac_objext conftest$ac_exeext
9530 if { (ac_try="$ac_link"
9531 case "(($ac_try" in
9532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9533 *) ac_try_echo=$ac_try;;
9534 esac
9535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9536 (eval "$ac_link") 2>conftest.er1
9537 ac_status=$?
9538 grep -v '^ *+' conftest.er1 >conftest.err
9539 rm -f conftest.er1
9540 cat conftest.err >&5
9541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9542 (exit $ac_status); } && {
9543 test -z "$ac_c_werror_flag" ||
9544 test ! -s conftest.err
9545 } && test -s conftest$ac_exeext &&
9546 $as_test_x conftest$ac_exeext; then
9547 case "$LIBEXT" in
9548 dll) ;;
9549 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'` ;;
9550 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9551 esac
9552 else
9553 echo "$as_me: failed program was:" >&5
9554 sed 's/^/| /' conftest.$ac_ext >&5
9559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9560 conftest$ac_exeext conftest.$ac_ext
9561 LIBS=$ac_check_soname_save_LIBS
9563 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9564 { echo "$as_me:$LINENO: result: not found" >&5
9565 echo "${ECHO_T}not found" >&6; }
9567 else
9568 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9569 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9571 cat >>confdefs.h <<_ACEOF
9572 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9573 _ACEOF
9591 for ac_header in X11/Xlib.h \
9592 X11/XKBlib.h \
9593 X11/Xutil.h \
9594 X11/Xcursor/Xcursor.h \
9595 X11/extensions/shape.h \
9596 X11/extensions/XInput.h \
9597 X11/extensions/XShm.h \
9598 X11/extensions/Xcomposite.h \
9599 X11/extensions/Xinerama.h \
9600 X11/extensions/Xrandr.h \
9601 X11/extensions/Xrender.h \
9602 X11/extensions/xf86vmode.h
9604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9608 echo $ECHO_N "(cached) $ECHO_C" >&6
9609 else
9610 cat >conftest.$ac_ext <<_ACEOF
9611 /* confdefs.h. */
9612 _ACEOF
9613 cat confdefs.h >>conftest.$ac_ext
9614 cat >>conftest.$ac_ext <<_ACEOF
9615 /* end confdefs.h. */
9616 #ifdef HAVE_X11_XLIB_H
9617 # include <X11/Xlib.h>
9618 #endif
9619 #ifdef HAVE_X11_XUTIL_H
9620 # include <X11/Xutil.h>
9621 #endif
9623 #include <$ac_header>
9624 _ACEOF
9625 rm -f conftest.$ac_objext
9626 if { (ac_try="$ac_compile"
9627 case "(($ac_try" in
9628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9629 *) ac_try_echo=$ac_try;;
9630 esac
9631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9632 (eval "$ac_compile") 2>conftest.er1
9633 ac_status=$?
9634 grep -v '^ *+' conftest.er1 >conftest.err
9635 rm -f conftest.er1
9636 cat conftest.err >&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } && {
9639 test -z "$ac_c_werror_flag" ||
9640 test ! -s conftest.err
9641 } && test -s conftest.$ac_objext; then
9642 eval "$as_ac_Header=yes"
9643 else
9644 echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.$ac_ext >&5
9647 eval "$as_ac_Header=no"
9650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9652 ac_res=`eval echo '${'$as_ac_Header'}'`
9653 { echo "$as_me:$LINENO: result: $ac_res" >&5
9654 echo "${ECHO_T}$ac_res" >&6; }
9655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9656 cat >>confdefs.h <<_ACEOF
9657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9658 _ACEOF
9662 done
9665 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9666 then
9667 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9668 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9669 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9671 else
9672 ac_check_lib_save_LIBS=$LIBS
9673 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9674 cat >conftest.$ac_ext <<_ACEOF
9675 /* confdefs.h. */
9676 _ACEOF
9677 cat confdefs.h >>conftest.$ac_ext
9678 cat >>conftest.$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9684 #ifdef __cplusplus
9685 extern "C"
9686 #endif
9687 char XkbQueryExtension ();
9689 main ()
9691 return XkbQueryExtension ();
9693 return 0;
9695 _ACEOF
9696 rm -f conftest.$ac_objext conftest$ac_exeext
9697 if { (ac_try="$ac_link"
9698 case "(($ac_try" in
9699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9700 *) ac_try_echo=$ac_try;;
9701 esac
9702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9703 (eval "$ac_link") 2>conftest.er1
9704 ac_status=$?
9705 grep -v '^ *+' conftest.er1 >conftest.err
9706 rm -f conftest.er1
9707 cat conftest.err >&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); } && {
9710 test -z "$ac_c_werror_flag" ||
9711 test ! -s conftest.err
9712 } && test -s conftest$ac_exeext &&
9713 $as_test_x conftest$ac_exeext; then
9714 ac_cv_lib_X11_XkbQueryExtension=yes
9715 else
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.$ac_ext >&5
9719 ac_cv_lib_X11_XkbQueryExtension=no
9722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9723 conftest$ac_exeext conftest.$ac_ext
9724 LIBS=$ac_check_lib_save_LIBS
9726 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9727 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9728 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9730 cat >>confdefs.h <<\_ACEOF
9731 #define HAVE_XKB 1
9732 _ACEOF
9738 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9739 then
9740 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9741 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9742 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 else
9745 ac_check_soname_save_LIBS=$LIBS
9746 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9747 cat >conftest.$ac_ext <<_ACEOF
9748 /* confdefs.h. */
9749 _ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9757 #ifdef __cplusplus
9758 extern "C"
9759 #endif
9760 char XcursorImageLoadCursor ();
9762 main ()
9764 return XcursorImageLoadCursor ();
9766 return 0;
9768 _ACEOF
9769 rm -f conftest.$ac_objext conftest$ac_exeext
9770 if { (ac_try="$ac_link"
9771 case "(($ac_try" in
9772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9773 *) ac_try_echo=$ac_try;;
9774 esac
9775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9776 (eval "$ac_link") 2>conftest.er1
9777 ac_status=$?
9778 grep -v '^ *+' conftest.er1 >conftest.err
9779 rm -f conftest.er1
9780 cat conftest.err >&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } && {
9783 test -z "$ac_c_werror_flag" ||
9784 test ! -s conftest.err
9785 } && test -s conftest$ac_exeext &&
9786 $as_test_x conftest$ac_exeext; then
9787 case "$LIBEXT" in
9788 dll) ;;
9789 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'` ;;
9790 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9791 esac
9792 else
9793 echo "$as_me: failed program was:" >&5
9794 sed 's/^/| /' conftest.$ac_ext >&5
9799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9800 conftest$ac_exeext conftest.$ac_ext
9801 LIBS=$ac_check_soname_save_LIBS
9803 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9804 { echo "$as_me:$LINENO: result: not found" >&5
9805 echo "${ECHO_T}not found" >&6; }
9807 else
9808 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9809 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9811 cat >>confdefs.h <<_ACEOF
9812 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9813 _ACEOF
9819 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9820 case "x$with_xcursor" in
9821 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9822 xno) ;;
9823 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9824 This is an error since --with-xcursor was requested." >&5
9825 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9826 This is an error since --with-xcursor was requested." >&2;}
9827 { (exit 1); exit 1; }; } ;;
9828 esac
9832 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9833 then
9834 { echo "$as_me:$LINENO: checking for -lXi" >&5
9835 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9836 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9837 echo $ECHO_N "(cached) $ECHO_C" >&6
9838 else
9839 ac_check_soname_save_LIBS=$LIBS
9840 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9841 cat >conftest.$ac_ext <<_ACEOF
9842 /* confdefs.h. */
9843 _ACEOF
9844 cat confdefs.h >>conftest.$ac_ext
9845 cat >>conftest.$ac_ext <<_ACEOF
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9851 #ifdef __cplusplus
9852 extern "C"
9853 #endif
9854 char XOpenDevice ();
9856 main ()
9858 return XOpenDevice ();
9860 return 0;
9862 _ACEOF
9863 rm -f conftest.$ac_objext conftest$ac_exeext
9864 if { (ac_try="$ac_link"
9865 case "(($ac_try" in
9866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9867 *) ac_try_echo=$ac_try;;
9868 esac
9869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9870 (eval "$ac_link") 2>conftest.er1
9871 ac_status=$?
9872 grep -v '^ *+' conftest.er1 >conftest.err
9873 rm -f conftest.er1
9874 cat conftest.err >&5
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); } && {
9877 test -z "$ac_c_werror_flag" ||
9878 test ! -s conftest.err
9879 } && test -s conftest$ac_exeext &&
9880 $as_test_x conftest$ac_exeext; then
9881 case "$LIBEXT" in
9882 dll) ;;
9883 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'` ;;
9884 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9885 esac
9886 else
9887 echo "$as_me: failed program was:" >&5
9888 sed 's/^/| /' conftest.$ac_ext >&5
9893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_soname_save_LIBS
9897 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9898 { echo "$as_me:$LINENO: result: not found" >&5
9899 echo "${ECHO_T}not found" >&6; }
9901 else
9902 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9903 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9905 cat >>confdefs.h <<_ACEOF
9906 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9907 _ACEOF
9913 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9914 case "x$with_xinput" in
9915 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9916 xno) ;;
9917 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9918 This is an error since --with-xinput was requested." >&5
9919 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9920 This is an error since --with-xinput was requested." >&2;}
9921 { (exit 1); exit 1; }; } ;;
9922 esac
9926 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9927 then
9928 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9929 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9930 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9931 echo $ECHO_N "(cached) $ECHO_C" >&6
9932 else
9933 ac_check_lib_save_LIBS=$LIBS
9934 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9935 cat >conftest.$ac_ext <<_ACEOF
9936 /* confdefs.h. */
9937 _ACEOF
9938 cat confdefs.h >>conftest.$ac_ext
9939 cat >>conftest.$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9942 /* Override any GCC internal prototype to avoid an error.
9943 Use char because int might match the return type of a GCC
9944 builtin and then its argument prototype would still apply. */
9945 #ifdef __cplusplus
9946 extern "C"
9947 #endif
9948 char XShmQueryExtension ();
9950 main ()
9952 return XShmQueryExtension ();
9954 return 0;
9956 _ACEOF
9957 rm -f conftest.$ac_objext conftest$ac_exeext
9958 if { (ac_try="$ac_link"
9959 case "(($ac_try" in
9960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9961 *) ac_try_echo=$ac_try;;
9962 esac
9963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9964 (eval "$ac_link") 2>conftest.er1
9965 ac_status=$?
9966 grep -v '^ *+' conftest.er1 >conftest.err
9967 rm -f conftest.er1
9968 cat conftest.err >&5
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); } && {
9971 test -z "$ac_c_werror_flag" ||
9972 test ! -s conftest.err
9973 } && test -s conftest$ac_exeext &&
9974 $as_test_x conftest$ac_exeext; then
9975 ac_cv_lib_Xext_XShmQueryExtension=yes
9976 else
9977 echo "$as_me: failed program was:" >&5
9978 sed 's/^/| /' conftest.$ac_ext >&5
9980 ac_cv_lib_Xext_XShmQueryExtension=no
9983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9984 conftest$ac_exeext conftest.$ac_ext
9985 LIBS=$ac_check_lib_save_LIBS
9987 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9988 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9989 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9991 cat >>confdefs.h <<\_ACEOF
9992 #define HAVE_LIBXXSHM 1
9993 _ACEOF
9998 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9999 case "x$with_xshm" in
10000 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10001 xno) ;;
10002 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10003 This is an error since --with-xshm was requested." >&5
10004 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10005 This is an error since --with-xshm was requested." >&2;}
10006 { (exit 1); exit 1; }; } ;;
10007 esac
10011 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10012 then
10013 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10014 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10015 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10016 echo $ECHO_N "(cached) $ECHO_C" >&6
10017 else
10018 ac_check_lib_save_LIBS=$LIBS
10019 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10020 cat >conftest.$ac_ext <<_ACEOF
10021 /* confdefs.h. */
10022 _ACEOF
10023 cat confdefs.h >>conftest.$ac_ext
10024 cat >>conftest.$ac_ext <<_ACEOF
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10030 #ifdef __cplusplus
10031 extern "C"
10032 #endif
10033 char XShapeQueryExtension ();
10035 main ()
10037 return XShapeQueryExtension ();
10039 return 0;
10041 _ACEOF
10042 rm -f conftest.$ac_objext conftest$ac_exeext
10043 if { (ac_try="$ac_link"
10044 case "(($ac_try" in
10045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10046 *) ac_try_echo=$ac_try;;
10047 esac
10048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10049 (eval "$ac_link") 2>conftest.er1
10050 ac_status=$?
10051 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } && {
10056 test -z "$ac_c_werror_flag" ||
10057 test ! -s conftest.err
10058 } && test -s conftest$ac_exeext &&
10059 $as_test_x conftest$ac_exeext; then
10060 ac_cv_lib_Xext_XShapeQueryExtension=yes
10061 else
10062 echo "$as_me: failed program was:" >&5
10063 sed 's/^/| /' conftest.$ac_ext >&5
10065 ac_cv_lib_Xext_XShapeQueryExtension=no
10068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10069 conftest$ac_exeext conftest.$ac_ext
10070 LIBS=$ac_check_lib_save_LIBS
10072 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10073 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10074 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10076 cat >>confdefs.h <<\_ACEOF
10077 #define HAVE_LIBXSHAPE 1
10078 _ACEOF
10083 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10084 case "x$with_xshape" in
10085 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10086 xno) ;;
10087 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10088 This is an error since --with-xshape was requested." >&5
10089 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10090 This is an error since --with-xshape was requested." >&2;}
10091 { (exit 1); exit 1; }; } ;;
10092 esac
10096 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10097 then
10098 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10099 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10100 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10101 echo $ECHO_N "(cached) $ECHO_C" >&6
10102 else
10103 ac_check_lib_save_LIBS=$LIBS
10104 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10105 cat >conftest.$ac_ext <<_ACEOF
10106 /* confdefs.h. */
10107 _ACEOF
10108 cat confdefs.h >>conftest.$ac_ext
10109 cat >>conftest.$ac_ext <<_ACEOF
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10115 #ifdef __cplusplus
10116 extern "C"
10117 #endif
10118 char XF86VidModeQueryExtension ();
10120 main ()
10122 return XF86VidModeQueryExtension ();
10124 return 0;
10126 _ACEOF
10127 rm -f conftest.$ac_objext conftest$ac_exeext
10128 if { (ac_try="$ac_link"
10129 case "(($ac_try" in
10130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10131 *) ac_try_echo=$ac_try;;
10132 esac
10133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10134 (eval "$ac_link") 2>conftest.er1
10135 ac_status=$?
10136 grep -v '^ *+' conftest.er1 >conftest.err
10137 rm -f conftest.er1
10138 cat conftest.err >&5
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); } && {
10141 test -z "$ac_c_werror_flag" ||
10142 test ! -s conftest.err
10143 } && test -s conftest$ac_exeext &&
10144 $as_test_x conftest$ac_exeext; then
10145 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10146 else
10147 echo "$as_me: failed program was:" >&5
10148 sed 's/^/| /' conftest.$ac_ext >&5
10150 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10154 conftest$ac_exeext conftest.$ac_ext
10155 LIBS=$ac_check_lib_save_LIBS
10157 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10158 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10159 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10161 cat >>confdefs.h <<\_ACEOF
10162 #define HAVE_LIBXXF86VM 1
10163 _ACEOF
10165 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10170 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10171 case "x$with_xvidmode" in
10172 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10173 xno) ;;
10174 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10175 This is an error since --with-xvidmode was requested." >&5
10176 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10177 This is an error since --with-xvidmode was requested." >&2;}
10178 { (exit 1); exit 1; }; } ;;
10179 esac
10183 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"
10184 then
10185 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10186 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10187 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10188 echo $ECHO_N "(cached) $ECHO_C" >&6
10189 else
10190 ac_check_soname_save_LIBS=$LIBS
10191 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10192 cat >conftest.$ac_ext <<_ACEOF
10193 /* confdefs.h. */
10194 _ACEOF
10195 cat confdefs.h >>conftest.$ac_ext
10196 cat >>conftest.$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10199 /* Override any GCC internal prototype to avoid an error.
10200 Use char because int might match the return type of a GCC
10201 builtin and then its argument prototype would still apply. */
10202 #ifdef __cplusplus
10203 extern "C"
10204 #endif
10205 char XRenderQueryExtension ();
10207 main ()
10209 return XRenderQueryExtension ();
10211 return 0;
10213 _ACEOF
10214 rm -f conftest.$ac_objext conftest$ac_exeext
10215 if { (ac_try="$ac_link"
10216 case "(($ac_try" in
10217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10218 *) ac_try_echo=$ac_try;;
10219 esac
10220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10221 (eval "$ac_link") 2>conftest.er1
10222 ac_status=$?
10223 grep -v '^ *+' conftest.er1 >conftest.err
10224 rm -f conftest.er1
10225 cat conftest.err >&5
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); } && {
10228 test -z "$ac_c_werror_flag" ||
10229 test ! -s conftest.err
10230 } && test -s conftest$ac_exeext &&
10231 $as_test_x conftest$ac_exeext; then
10232 case "$LIBEXT" in
10233 dll) ;;
10234 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'` ;;
10235 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10236 esac
10237 else
10238 echo "$as_me: failed program was:" >&5
10239 sed 's/^/| /' conftest.$ac_ext >&5
10244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10245 conftest$ac_exeext conftest.$ac_ext
10246 LIBS=$ac_check_soname_save_LIBS
10248 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10249 { echo "$as_me:$LINENO: result: not found" >&5
10250 echo "${ECHO_T}not found" >&6; }
10252 else
10253 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10254 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10256 cat >>confdefs.h <<_ACEOF
10257 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10258 _ACEOF
10260 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10261 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10262 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 else
10265 ac_check_lib_save_LIBS=$LIBS
10266 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10267 cat >conftest.$ac_ext <<_ACEOF
10268 /* confdefs.h. */
10269 _ACEOF
10270 cat confdefs.h >>conftest.$ac_ext
10271 cat >>conftest.$ac_ext <<_ACEOF
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10277 #ifdef __cplusplus
10278 extern "C"
10279 #endif
10280 char XRenderSetPictureTransform ();
10282 main ()
10284 return XRenderSetPictureTransform ();
10286 return 0;
10288 _ACEOF
10289 rm -f conftest.$ac_objext conftest$ac_exeext
10290 if { (ac_try="$ac_link"
10291 case "(($ac_try" in
10292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10293 *) ac_try_echo=$ac_try;;
10294 esac
10295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10296 (eval "$ac_link") 2>conftest.er1
10297 ac_status=$?
10298 grep -v '^ *+' conftest.er1 >conftest.err
10299 rm -f conftest.er1
10300 cat conftest.err >&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); } && {
10303 test -z "$ac_c_werror_flag" ||
10304 test ! -s conftest.err
10305 } && test -s conftest$ac_exeext &&
10306 $as_test_x conftest$ac_exeext; then
10307 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10308 else
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.$ac_ext >&5
10312 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10316 conftest$ac_exeext conftest.$ac_ext
10317 LIBS=$ac_check_lib_save_LIBS
10319 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10320 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10321 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10323 cat >>confdefs.h <<\_ACEOF
10324 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10325 _ACEOF
10333 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10334 case "x$with_xrender" in
10335 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10336 xno) ;;
10337 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10338 This is an error since --with-xrender was requested." >&5
10339 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10340 This is an error since --with-xrender was requested." >&2;}
10341 { (exit 1); exit 1; }; } ;;
10342 esac
10346 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10347 then
10348 cat >conftest.$ac_ext <<_ACEOF
10349 /* confdefs.h. */
10350 _ACEOF
10351 cat confdefs.h >>conftest.$ac_ext
10352 cat >>conftest.$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10354 #include <X11/Xlib.h>
10355 #include <X11/extensions/Xrandr.h>
10357 main ()
10359 static typeof(XRRSetScreenConfigAndRate) * func;
10361 return 0;
10363 _ACEOF
10364 rm -f conftest.$ac_objext
10365 if { (ac_try="$ac_compile"
10366 case "(($ac_try" in
10367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10368 *) ac_try_echo=$ac_try;;
10369 esac
10370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10371 (eval "$ac_compile") 2>conftest.er1
10372 ac_status=$?
10373 grep -v '^ *+' conftest.er1 >conftest.err
10374 rm -f conftest.er1
10375 cat conftest.err >&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } && {
10378 test -z "$ac_c_werror_flag" ||
10379 test ! -s conftest.err
10380 } && test -s conftest.$ac_objext; then
10381 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10382 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10383 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 else
10386 ac_check_soname_save_LIBS=$LIBS
10387 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10388 cat >conftest.$ac_ext <<_ACEOF
10389 /* confdefs.h. */
10390 _ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10395 /* Override any GCC internal prototype to avoid an error.
10396 Use char because int might match the return type of a GCC
10397 builtin and then its argument prototype would still apply. */
10398 #ifdef __cplusplus
10399 extern "C"
10400 #endif
10401 char XRRQueryExtension ();
10403 main ()
10405 return XRRQueryExtension ();
10407 return 0;
10409 _ACEOF
10410 rm -f conftest.$ac_objext conftest$ac_exeext
10411 if { (ac_try="$ac_link"
10412 case "(($ac_try" in
10413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10414 *) ac_try_echo=$ac_try;;
10415 esac
10416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10417 (eval "$ac_link") 2>conftest.er1
10418 ac_status=$?
10419 grep -v '^ *+' conftest.er1 >conftest.err
10420 rm -f conftest.er1
10421 cat conftest.err >&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } && {
10424 test -z "$ac_c_werror_flag" ||
10425 test ! -s conftest.err
10426 } && test -s conftest$ac_exeext &&
10427 $as_test_x conftest$ac_exeext; then
10428 case "$LIBEXT" in
10429 dll) ;;
10430 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'` ;;
10431 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10432 esac
10433 else
10434 echo "$as_me: failed program was:" >&5
10435 sed 's/^/| /' conftest.$ac_ext >&5
10440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10441 conftest$ac_exeext conftest.$ac_ext
10442 LIBS=$ac_check_soname_save_LIBS
10444 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10445 { echo "$as_me:$LINENO: result: not found" >&5
10446 echo "${ECHO_T}not found" >&6; }
10448 else
10449 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10450 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10452 cat >>confdefs.h <<_ACEOF
10453 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10454 _ACEOF
10459 else
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.$ac_ext >&5
10466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10468 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10469 case "x$with_xrandr" in
10470 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10471 xno) ;;
10472 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10473 This is an error since --with-xrandr was requested." >&5
10474 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10475 This is an error since --with-xrandr was requested." >&2;}
10476 { (exit 1); exit 1; }; } ;;
10477 esac
10481 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10482 then
10483 cat >conftest.$ac_ext <<_ACEOF
10484 /* confdefs.h. */
10485 _ACEOF
10486 cat confdefs.h >>conftest.$ac_ext
10487 cat >>conftest.$ac_ext <<_ACEOF
10488 /* end confdefs.h. */
10489 #include <X11/Xlib.h>
10490 #include <X11/extensions/Xinerama.h>
10492 main ()
10494 static typeof(XineramaQueryScreens) * func;
10496 return 0;
10498 _ACEOF
10499 rm -f conftest.$ac_objext
10500 if { (ac_try="$ac_compile"
10501 case "(($ac_try" in
10502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10503 *) ac_try_echo=$ac_try;;
10504 esac
10505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10506 (eval "$ac_compile") 2>conftest.er1
10507 ac_status=$?
10508 grep -v '^ *+' conftest.er1 >conftest.err
10509 rm -f conftest.er1
10510 cat conftest.err >&5
10511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10512 (exit $ac_status); } && {
10513 test -z "$ac_c_werror_flag" ||
10514 test ! -s conftest.err
10515 } && test -s conftest.$ac_objext; then
10516 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10517 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10518 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10519 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 else
10521 ac_check_soname_save_LIBS=$LIBS
10522 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10523 cat >conftest.$ac_ext <<_ACEOF
10524 /* confdefs.h. */
10525 _ACEOF
10526 cat confdefs.h >>conftest.$ac_ext
10527 cat >>conftest.$ac_ext <<_ACEOF
10528 /* end confdefs.h. */
10530 /* Override any GCC internal prototype to avoid an error.
10531 Use char because int might match the return type of a GCC
10532 builtin and then its argument prototype would still apply. */
10533 #ifdef __cplusplus
10534 extern "C"
10535 #endif
10536 char XineramaQueryScreens ();
10538 main ()
10540 return XineramaQueryScreens ();
10542 return 0;
10544 _ACEOF
10545 rm -f conftest.$ac_objext conftest$ac_exeext
10546 if { (ac_try="$ac_link"
10547 case "(($ac_try" in
10548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10549 *) ac_try_echo=$ac_try;;
10550 esac
10551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10552 (eval "$ac_link") 2>conftest.er1
10553 ac_status=$?
10554 grep -v '^ *+' conftest.er1 >conftest.err
10555 rm -f conftest.er1
10556 cat conftest.err >&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } && {
10559 test -z "$ac_c_werror_flag" ||
10560 test ! -s conftest.err
10561 } && test -s conftest$ac_exeext &&
10562 $as_test_x conftest$ac_exeext; then
10563 case "$LIBEXT" in
10564 dll) ;;
10565 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'` ;;
10566 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10567 esac
10568 else
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10576 conftest$ac_exeext conftest.$ac_ext
10577 LIBS=$ac_check_soname_save_LIBS
10579 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10580 { echo "$as_me:$LINENO: result: not found" >&5
10581 echo "${ECHO_T}not found" >&6; }
10583 else
10584 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10585 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10587 cat >>confdefs.h <<_ACEOF
10588 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10589 _ACEOF
10594 else
10595 echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.$ac_ext >&5
10601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10603 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10604 case "x$with_xinerama" in
10605 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10606 xno) ;;
10607 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10608 This is an error since --with-xinerama was requested." >&5
10609 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10610 This is an error since --with-xinerama was requested." >&2;}
10611 { (exit 1); exit 1; }; } ;;
10612 esac
10616 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10617 then
10618 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10619 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10620 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 else
10623 ac_check_soname_save_LIBS=$LIBS
10624 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10625 cat >conftest.$ac_ext <<_ACEOF
10626 /* confdefs.h. */
10627 _ACEOF
10628 cat confdefs.h >>conftest.$ac_ext
10629 cat >>conftest.$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10632 /* Override any GCC internal prototype to avoid an error.
10633 Use char because int might match the return type of a GCC
10634 builtin and then its argument prototype would still apply. */
10635 #ifdef __cplusplus
10636 extern "C"
10637 #endif
10638 char XCompositeRedirectWindow ();
10640 main ()
10642 return XCompositeRedirectWindow ();
10644 return 0;
10646 _ACEOF
10647 rm -f conftest.$ac_objext conftest$ac_exeext
10648 if { (ac_try="$ac_link"
10649 case "(($ac_try" in
10650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10651 *) ac_try_echo=$ac_try;;
10652 esac
10653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10654 (eval "$ac_link") 2>conftest.er1
10655 ac_status=$?
10656 grep -v '^ *+' conftest.er1 >conftest.err
10657 rm -f conftest.er1
10658 cat conftest.err >&5
10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660 (exit $ac_status); } && {
10661 test -z "$ac_c_werror_flag" ||
10662 test ! -s conftest.err
10663 } && test -s conftest$ac_exeext &&
10664 $as_test_x conftest$ac_exeext; then
10665 case "$LIBEXT" in
10666 dll) ;;
10667 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'` ;;
10668 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10669 esac
10670 else
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.$ac_ext >&5
10677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10678 conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_soname_save_LIBS
10681 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10682 { echo "$as_me:$LINENO: result: not found" >&5
10683 echo "${ECHO_T}not found" >&6; }
10685 else
10686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10687 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10689 cat >>confdefs.h <<_ACEOF
10690 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10691 _ACEOF
10697 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10698 case "x$with_xcomposite" in
10699 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10700 xno) ;;
10701 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10702 This is an error since --with-xcomposite was requested." >&5
10703 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10704 This is an error since --with-xcomposite was requested." >&2;}
10705 { (exit 1); exit 1; }; } ;;
10706 esac
10710 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10711 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10712 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10713 echo $ECHO_N "(cached) $ECHO_C" >&6
10714 else
10715 cat >conftest.$ac_ext <<_ACEOF
10716 /* confdefs.h. */
10717 _ACEOF
10718 cat confdefs.h >>conftest.$ac_ext
10719 cat >>conftest.$ac_ext <<_ACEOF
10720 /* end confdefs.h. */
10721 #ifdef HAVE_X11_XLIB_H
10722 #include <X11/Xlib.h>
10723 #endif
10726 main ()
10728 static XICCallback ac_aggr;
10729 if (ac_aggr.callback)
10730 return 0;
10732 return 0;
10734 _ACEOF
10735 rm -f conftest.$ac_objext
10736 if { (ac_try="$ac_compile"
10737 case "(($ac_try" in
10738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10739 *) ac_try_echo=$ac_try;;
10740 esac
10741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10742 (eval "$ac_compile") 2>conftest.er1
10743 ac_status=$?
10744 grep -v '^ *+' conftest.er1 >conftest.err
10745 rm -f conftest.er1
10746 cat conftest.err >&5
10747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748 (exit $ac_status); } && {
10749 test -z "$ac_c_werror_flag" ||
10750 test ! -s conftest.err
10751 } && test -s conftest.$ac_objext; then
10752 ac_cv_member_XICCallback_callback=yes
10753 else
10754 echo "$as_me: failed program was:" >&5
10755 sed 's/^/| /' conftest.$ac_ext >&5
10757 cat >conftest.$ac_ext <<_ACEOF
10758 /* confdefs.h. */
10759 _ACEOF
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 #ifdef HAVE_X11_XLIB_H
10764 #include <X11/Xlib.h>
10765 #endif
10768 main ()
10770 static XICCallback ac_aggr;
10771 if (sizeof ac_aggr.callback)
10772 return 0;
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 ac_cv_member_XICCallback_callback=yes
10795 else
10796 echo "$as_me: failed program was:" >&5
10797 sed 's/^/| /' conftest.$ac_ext >&5
10799 ac_cv_member_XICCallback_callback=no
10802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10807 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10808 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10809 if test $ac_cv_member_XICCallback_callback = yes; then
10811 cat >>confdefs.h <<_ACEOF
10812 #define HAVE_XICCALLBACK_CALLBACK 1
10813 _ACEOF
10820 opengl_msg=""
10821 if test "x$with_opengl" != "xno"
10822 then
10827 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10830 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10832 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10834 else
10835 cat >conftest.$ac_ext <<_ACEOF
10836 /* confdefs.h. */
10837 _ACEOF
10838 cat confdefs.h >>conftest.$ac_ext
10839 cat >>conftest.$ac_ext <<_ACEOF
10840 /* end confdefs.h. */
10841 #ifdef HAVE_GL_GLX_H
10842 # include <GL/glx.h>
10843 #endif
10845 #include <$ac_header>
10846 _ACEOF
10847 rm -f conftest.$ac_objext
10848 if { (ac_try="$ac_compile"
10849 case "(($ac_try" in
10850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10851 *) ac_try_echo=$ac_try;;
10852 esac
10853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10854 (eval "$ac_compile") 2>conftest.er1
10855 ac_status=$?
10856 grep -v '^ *+' conftest.er1 >conftest.err
10857 rm -f conftest.er1
10858 cat conftest.err >&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); } && {
10861 test -z "$ac_c_werror_flag" ||
10862 test ! -s conftest.err
10863 } && test -s conftest.$ac_objext; then
10864 eval "$as_ac_Header=yes"
10865 else
10866 echo "$as_me: failed program was:" >&5
10867 sed 's/^/| /' conftest.$ac_ext >&5
10869 eval "$as_ac_Header=no"
10872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10874 ac_res=`eval echo '${'$as_ac_Header'}'`
10875 { echo "$as_me:$LINENO: result: $ac_res" >&5
10876 echo "${ECHO_T}$ac_res" >&6; }
10877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10878 cat >>confdefs.h <<_ACEOF
10879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10880 _ACEOF
10884 done
10886 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10887 then
10888 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10889 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10890 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10891 echo $ECHO_N "(cached) $ECHO_C" >&6
10892 else
10893 cat >conftest.$ac_ext <<_ACEOF
10894 /* confdefs.h. */
10895 _ACEOF
10896 cat confdefs.h >>conftest.$ac_ext
10897 cat >>conftest.$ac_ext <<_ACEOF
10898 /* end confdefs.h. */
10899 #include <GL/gl.h>
10901 main ()
10903 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10905 return 0;
10907 _ACEOF
10908 rm -f conftest.$ac_objext
10909 if { (ac_try="$ac_compile"
10910 case "(($ac_try" in
10911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10912 *) ac_try_echo=$ac_try;;
10913 esac
10914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10915 (eval "$ac_compile") 2>conftest.er1
10916 ac_status=$?
10917 grep -v '^ *+' conftest.er1 >conftest.err
10918 rm -f conftest.er1
10919 cat conftest.err >&5
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); } && {
10922 test -z "$ac_c_werror_flag" ||
10923 test ! -s conftest.err
10924 } && test -s conftest.$ac_objext; then
10925 wine_cv_opengl_header_version_OK="yes"
10926 else
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.$ac_ext >&5
10930 wine_cv_opengl_header_version_OK="no"
10933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10935 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10936 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10938 if test "$wine_cv_opengl_header_version_OK" = "yes"
10939 then
10940 { echo "$as_me:$LINENO: checking for -lGL" >&5
10941 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10942 if test "${ac_cv_lib_soname_GL+set}" = set; then
10943 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 else
10945 ac_check_soname_save_LIBS=$LIBS
10946 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10947 cat >conftest.$ac_ext <<_ACEOF
10948 /* confdefs.h. */
10949 _ACEOF
10950 cat confdefs.h >>conftest.$ac_ext
10951 cat >>conftest.$ac_ext <<_ACEOF
10952 /* end confdefs.h. */
10954 /* Override any GCC internal prototype to avoid an error.
10955 Use char because int might match the return type of a GCC
10956 builtin and then its argument prototype would still apply. */
10957 #ifdef __cplusplus
10958 extern "C"
10959 #endif
10960 char glXCreateContext ();
10962 main ()
10964 return glXCreateContext ();
10966 return 0;
10968 _ACEOF
10969 rm -f conftest.$ac_objext conftest$ac_exeext
10970 if { (ac_try="$ac_link"
10971 case "(($ac_try" in
10972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10973 *) ac_try_echo=$ac_try;;
10974 esac
10975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10976 (eval "$ac_link") 2>conftest.er1
10977 ac_status=$?
10978 grep -v '^ *+' conftest.er1 >conftest.err
10979 rm -f conftest.er1
10980 cat conftest.err >&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); } && {
10983 test -z "$ac_c_werror_flag" ||
10984 test ! -s conftest.err
10985 } && test -s conftest$ac_exeext &&
10986 $as_test_x conftest$ac_exeext; then
10987 case "$LIBEXT" in
10988 dll) ;;
10989 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'` ;;
10990 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10991 esac
10992 else
10993 echo "$as_me: failed program was:" >&5
10994 sed 's/^/| /' conftest.$ac_ext >&5
10999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_soname_save_LIBS
11003 if test "x$ac_cv_lib_soname_GL" = "x"; then
11004 { echo "$as_me:$LINENO: result: not found" >&5
11005 echo "${ECHO_T}not found" >&6; }
11006 { echo "$as_me:$LINENO: checking for -lGL" >&5
11007 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11008 if test "${ac_cv_lib_soname_GL+set}" = set; then
11009 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 else
11011 ac_check_soname_save_LIBS=$LIBS
11012 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"
11013 cat >conftest.$ac_ext <<_ACEOF
11014 /* confdefs.h. */
11015 _ACEOF
11016 cat confdefs.h >>conftest.$ac_ext
11017 cat >>conftest.$ac_ext <<_ACEOF
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char glXCreateContext ();
11028 main ()
11030 return glXCreateContext ();
11032 return 0;
11034 _ACEOF
11035 rm -f conftest.$ac_objext conftest$ac_exeext
11036 if { (ac_try="$ac_link"
11037 case "(($ac_try" in
11038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11039 *) ac_try_echo=$ac_try;;
11040 esac
11041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11042 (eval "$ac_link") 2>conftest.er1
11043 ac_status=$?
11044 grep -v '^ *+' conftest.er1 >conftest.err
11045 rm -f conftest.er1
11046 cat conftest.err >&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); } && {
11049 test -z "$ac_c_werror_flag" ||
11050 test ! -s conftest.err
11051 } && test -s conftest$ac_exeext &&
11052 $as_test_x conftest$ac_exeext; then
11053 case "$LIBEXT" in
11054 dll) ;;
11055 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'` ;;
11056 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11057 esac
11058 else
11059 echo "$as_me: failed program was:" >&5
11060 sed 's/^/| /' conftest.$ac_ext >&5
11065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11066 conftest$ac_exeext conftest.$ac_ext
11067 LIBS=$ac_check_soname_save_LIBS
11069 if test "x$ac_cv_lib_soname_GL" = "x"; then
11070 { echo "$as_me:$LINENO: result: not found" >&5
11071 echo "${ECHO_T}not found" >&6; }
11072 if test -f /usr/X11R6/lib/libGL.a
11073 then
11074 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11075 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11076 else
11077 opengl_msg="No OpenGL library found on this system."
11079 else
11080 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11081 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11083 cat >>confdefs.h <<_ACEOF
11084 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11085 _ACEOF
11087 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"
11088 OPENGLFILES='$(OPENGLFILES)'
11090 cat >>confdefs.h <<\_ACEOF
11091 #define HAVE_OPENGL 1
11092 _ACEOF
11096 else
11097 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11098 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11100 cat >>confdefs.h <<_ACEOF
11101 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11102 _ACEOF
11104 OPENGL_LIBS="-lGL"
11105 OPENGLFILES='$(OPENGLFILES)'
11107 cat >>confdefs.h <<\_ACEOF
11108 #define HAVE_OPENGL 1
11109 _ACEOF
11114 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
11115 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
11116 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11118 else
11119 ac_check_lib_save_LIBS=$LIBS
11120 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11121 cat >conftest.$ac_ext <<_ACEOF
11122 /* confdefs.h. */
11123 _ACEOF
11124 cat confdefs.h >>conftest.$ac_ext
11125 cat >>conftest.$ac_ext <<_ACEOF
11126 /* end confdefs.h. */
11128 /* Override any GCC internal prototype to avoid an error.
11129 Use char because int might match the return type of a GCC
11130 builtin and then its argument prototype would still apply. */
11131 #ifdef __cplusplus
11132 extern "C"
11133 #endif
11134 char gluLookAt ();
11136 main ()
11138 return gluLookAt ();
11140 return 0;
11142 _ACEOF
11143 rm -f conftest.$ac_objext conftest$ac_exeext
11144 if { (ac_try="$ac_link"
11145 case "(($ac_try" in
11146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11147 *) ac_try_echo=$ac_try;;
11148 esac
11149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11150 (eval "$ac_link") 2>conftest.er1
11151 ac_status=$?
11152 grep -v '^ *+' conftest.er1 >conftest.err
11153 rm -f conftest.er1
11154 cat conftest.err >&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); } && {
11157 test -z "$ac_c_werror_flag" ||
11158 test ! -s conftest.err
11159 } && test -s conftest$ac_exeext &&
11160 $as_test_x conftest$ac_exeext; then
11161 ac_cv_lib_GLU_gluLookAt=yes
11162 else
11163 echo "$as_me: failed program was:" >&5
11164 sed 's/^/| /' conftest.$ac_ext >&5
11166 ac_cv_lib_GLU_gluLookAt=no
11169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11170 conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11173 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11174 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11175 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11176 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
11177 GLU32FILES='$(GLU32FILES)'
11181 else
11182 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11184 else
11185 opengl_msg="OpenGL development headers not found."
11188 if test -n "$opengl_msg"; then
11189 case "x$with_opengl" in
11190 x) wine_warnings="$wine_warnings|$opengl_msg
11191 OpenGL and Direct3D won't be supported." ;;
11192 xno) ;;
11193 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11194 OpenGL and Direct3D won't be supported.
11195 This is an error since --with-opengl was requested." >&5
11196 echo "$as_me: error: $opengl_msg
11197 OpenGL and Direct3D won't be supported.
11198 This is an error since --with-opengl was requested." >&2;}
11199 { (exit 1); exit 1; }; } ;;
11200 esac
11204 NASLIBS=""
11207 for ac_header in audio/audiolib.h
11209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11211 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11214 echo $ECHO_N "(cached) $ECHO_C" >&6
11216 ac_res=`eval echo '${'$as_ac_Header'}'`
11217 { echo "$as_me:$LINENO: result: $ac_res" >&5
11218 echo "${ECHO_T}$ac_res" >&6; }
11219 else
11220 # Is the header compilable?
11221 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11223 cat >conftest.$ac_ext <<_ACEOF
11224 /* confdefs.h. */
11225 _ACEOF
11226 cat confdefs.h >>conftest.$ac_ext
11227 cat >>conftest.$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11229 $ac_includes_default
11230 #include <$ac_header>
11231 _ACEOF
11232 rm -f conftest.$ac_objext
11233 if { (ac_try="$ac_compile"
11234 case "(($ac_try" in
11235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11236 *) ac_try_echo=$ac_try;;
11237 esac
11238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11239 (eval "$ac_compile") 2>conftest.er1
11240 ac_status=$?
11241 grep -v '^ *+' conftest.er1 >conftest.err
11242 rm -f conftest.er1
11243 cat conftest.err >&5
11244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11245 (exit $ac_status); } && {
11246 test -z "$ac_c_werror_flag" ||
11247 test ! -s conftest.err
11248 } && test -s conftest.$ac_objext; then
11249 ac_header_compiler=yes
11250 else
11251 echo "$as_me: failed program was:" >&5
11252 sed 's/^/| /' conftest.$ac_ext >&5
11254 ac_header_compiler=no
11257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11258 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11259 echo "${ECHO_T}$ac_header_compiler" >&6; }
11261 # Is the header present?
11262 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h. */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h. */
11270 #include <$ac_header>
11271 _ACEOF
11272 if { (ac_try="$ac_cpp conftest.$ac_ext"
11273 case "(($ac_try" in
11274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11275 *) ac_try_echo=$ac_try;;
11276 esac
11277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11279 ac_status=$?
11280 grep -v '^ *+' conftest.er1 >conftest.err
11281 rm -f conftest.er1
11282 cat conftest.err >&5
11283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11284 (exit $ac_status); } >/dev/null && {
11285 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11286 test ! -s conftest.err
11287 }; then
11288 ac_header_preproc=yes
11289 else
11290 echo "$as_me: failed program was:" >&5
11291 sed 's/^/| /' conftest.$ac_ext >&5
11293 ac_header_preproc=no
11296 rm -f conftest.err conftest.$ac_ext
11297 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11298 echo "${ECHO_T}$ac_header_preproc" >&6; }
11300 # So? What about this header?
11301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11302 yes:no: )
11303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11307 ac_header_preproc=yes
11309 no:yes:* )
11310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11322 ( cat <<\_ASBOX
11323 ## ------------------------------------ ##
11324 ## Report this to wine-devel@winehq.org ##
11325 ## ------------------------------------ ##
11326 _ASBOX
11327 ) | sed "s/^/$as_me: WARNING: /" >&2
11329 esac
11330 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 else
11335 eval "$as_ac_Header=\$ac_header_preproc"
11337 ac_res=`eval echo '${'$as_ac_Header'}'`
11338 { echo "$as_me:$LINENO: result: $ac_res" >&5
11339 echo "${ECHO_T}$ac_res" >&6; }
11342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11343 cat >>confdefs.h <<_ACEOF
11344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11345 _ACEOF
11347 for ac_header in audio/soundlib.h
11349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11354 else
11355 cat >conftest.$ac_ext <<_ACEOF
11356 /* confdefs.h. */
11357 _ACEOF
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 #include <audio/audiolib.h>
11363 #include <$ac_header>
11364 _ACEOF
11365 rm -f conftest.$ac_objext
11366 if { (ac_try="$ac_compile"
11367 case "(($ac_try" in
11368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11369 *) ac_try_echo=$ac_try;;
11370 esac
11371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11372 (eval "$ac_compile") 2>conftest.er1
11373 ac_status=$?
11374 grep -v '^ *+' conftest.er1 >conftest.err
11375 rm -f conftest.er1
11376 cat conftest.err >&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); } && {
11379 test -z "$ac_c_werror_flag" ||
11380 test ! -s conftest.err
11381 } && test -s conftest.$ac_objext; then
11382 eval "$as_ac_Header=yes"
11383 else
11384 echo "$as_me: failed program was:" >&5
11385 sed 's/^/| /' conftest.$ac_ext >&5
11387 eval "$as_ac_Header=no"
11390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11392 ac_res=`eval echo '${'$as_ac_Header'}'`
11393 { echo "$as_me:$LINENO: result: $ac_res" >&5
11394 echo "${ECHO_T}$ac_res" >&6; }
11395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11396 cat >>confdefs.h <<_ACEOF
11397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11398 _ACEOF
11402 done
11404 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11405 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11406 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11407 echo $ECHO_N "(cached) $ECHO_C" >&6
11408 else
11409 ac_check_lib_save_LIBS=$LIBS
11410 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11411 cat >conftest.$ac_ext <<_ACEOF
11412 /* confdefs.h. */
11413 _ACEOF
11414 cat confdefs.h >>conftest.$ac_ext
11415 cat >>conftest.$ac_ext <<_ACEOF
11416 /* end confdefs.h. */
11418 /* Override any GCC internal prototype to avoid an error.
11419 Use char because int might match the return type of a GCC
11420 builtin and then its argument prototype would still apply. */
11421 #ifdef __cplusplus
11422 extern "C"
11423 #endif
11424 char AuCreateFlow ();
11426 main ()
11428 return AuCreateFlow ();
11430 return 0;
11432 _ACEOF
11433 rm -f conftest.$ac_objext conftest$ac_exeext
11434 if { (ac_try="$ac_link"
11435 case "(($ac_try" in
11436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11437 *) ac_try_echo=$ac_try;;
11438 esac
11439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11440 (eval "$ac_link") 2>conftest.er1
11441 ac_status=$?
11442 grep -v '^ *+' conftest.er1 >conftest.err
11443 rm -f conftest.er1
11444 cat conftest.err >&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); } && {
11447 test -z "$ac_c_werror_flag" ||
11448 test ! -s conftest.err
11449 } && test -s conftest$ac_exeext &&
11450 $as_test_x conftest$ac_exeext; then
11451 ac_cv_lib_audio_AuCreateFlow=yes
11452 else
11453 echo "$as_me: failed program was:" >&5
11454 sed 's/^/| /' conftest.$ac_ext >&5
11456 ac_cv_lib_audio_AuCreateFlow=no
11459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11464 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11465 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11467 cat >>confdefs.h <<\_ACEOF
11468 #define HAVE_NAS 1
11469 _ACEOF
11471 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11472 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11473 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11474 echo $ECHO_N "(cached) $ECHO_C" >&6
11475 else
11476 ac_check_lib_save_LIBS=$LIBS
11477 LIBS="-lXau $X_LIBS $LIBS"
11478 cat >conftest.$ac_ext <<_ACEOF
11479 /* confdefs.h. */
11480 _ACEOF
11481 cat confdefs.h >>conftest.$ac_ext
11482 cat >>conftest.$ac_ext <<_ACEOF
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11488 #ifdef __cplusplus
11489 extern "C"
11490 #endif
11491 char XauGetBestAuthByAddr ();
11493 main ()
11495 return XauGetBestAuthByAddr ();
11497 return 0;
11499 _ACEOF
11500 rm -f conftest.$ac_objext conftest$ac_exeext
11501 if { (ac_try="$ac_link"
11502 case "(($ac_try" in
11503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11504 *) ac_try_echo=$ac_try;;
11505 esac
11506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11507 (eval "$ac_link") 2>conftest.er1
11508 ac_status=$?
11509 grep -v '^ *+' conftest.er1 >conftest.err
11510 rm -f conftest.er1
11511 cat conftest.err >&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); } && {
11514 test -z "$ac_c_werror_flag" ||
11515 test ! -s conftest.err
11516 } && test -s conftest$ac_exeext &&
11517 $as_test_x conftest$ac_exeext; then
11518 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11519 else
11520 echo "$as_me: failed program was:" >&5
11521 sed 's/^/| /' conftest.$ac_ext >&5
11523 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11527 conftest$ac_exeext conftest.$ac_ext
11528 LIBS=$ac_check_lib_save_LIBS
11530 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11531 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11532 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11533 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11534 else
11535 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11543 done
11546 CPPFLAGS="$ac_save_CPPFLAGS"
11547 XFILES='$(XFILES)'
11548 else
11549 XLIB=""
11550 X_CFLAGS=""
11551 X_LIBS=""
11553 if test "x$XLIB" = "x"; then
11554 case "x$with_x" in
11555 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11556 without X support, which probably isn't what you want. You will need to install
11557 development packages of Xlib/Xfree86 at the very least." ;;
11558 xno) ;;
11559 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11560 without X support, which probably isn't what you want. You will need to install
11561 development packages of Xlib/Xfree86 at the very least.
11562 This is an error since --with-x was requested." >&5
11563 echo "$as_me: error: X development files not found. Wine will be built
11564 without X support, which probably isn't what you want. You will need to install
11565 development packages of Xlib/Xfree86 at the very least.
11566 This is an error since --with-x was requested." >&2;}
11567 { (exit 1); exit 1; }; } ;;
11568 esac
11573 XML2LIBS=""
11575 XML2INCL=""
11577 XSLTLIBS=""
11579 XSLTINCL=""
11581 if test "x$with_xml" != "xno"
11582 then
11583 ac_save_CPPFLAGS="$CPPFLAGS"
11584 if test "$PKG_CONFIG" != "false"
11585 then
11586 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11587 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11588 else
11589 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11590 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11592 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11594 for ac_header in libxml/parser.h
11596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11601 echo $ECHO_N "(cached) $ECHO_C" >&6
11603 ac_res=`eval echo '${'$as_ac_Header'}'`
11604 { echo "$as_me:$LINENO: result: $ac_res" >&5
11605 echo "${ECHO_T}$ac_res" >&6; }
11606 else
11607 # Is the header compilable?
11608 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11610 cat >conftest.$ac_ext <<_ACEOF
11611 /* confdefs.h. */
11612 _ACEOF
11613 cat confdefs.h >>conftest.$ac_ext
11614 cat >>conftest.$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11616 $ac_includes_default
11617 #include <$ac_header>
11618 _ACEOF
11619 rm -f conftest.$ac_objext
11620 if { (ac_try="$ac_compile"
11621 case "(($ac_try" in
11622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11623 *) ac_try_echo=$ac_try;;
11624 esac
11625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11626 (eval "$ac_compile") 2>conftest.er1
11627 ac_status=$?
11628 grep -v '^ *+' conftest.er1 >conftest.err
11629 rm -f conftest.er1
11630 cat conftest.err >&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); } && {
11633 test -z "$ac_c_werror_flag" ||
11634 test ! -s conftest.err
11635 } && test -s conftest.$ac_objext; then
11636 ac_header_compiler=yes
11637 else
11638 echo "$as_me: failed program was:" >&5
11639 sed 's/^/| /' conftest.$ac_ext >&5
11641 ac_header_compiler=no
11644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11645 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11646 echo "${ECHO_T}$ac_header_compiler" >&6; }
11648 # Is the header present?
11649 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11651 cat >conftest.$ac_ext <<_ACEOF
11652 /* confdefs.h. */
11653 _ACEOF
11654 cat confdefs.h >>conftest.$ac_ext
11655 cat >>conftest.$ac_ext <<_ACEOF
11656 /* end confdefs.h. */
11657 #include <$ac_header>
11658 _ACEOF
11659 if { (ac_try="$ac_cpp conftest.$ac_ext"
11660 case "(($ac_try" in
11661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11662 *) ac_try_echo=$ac_try;;
11663 esac
11664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11666 ac_status=$?
11667 grep -v '^ *+' conftest.er1 >conftest.err
11668 rm -f conftest.er1
11669 cat conftest.err >&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); } >/dev/null && {
11672 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11673 test ! -s conftest.err
11674 }; then
11675 ac_header_preproc=yes
11676 else
11677 echo "$as_me: failed program was:" >&5
11678 sed 's/^/| /' conftest.$ac_ext >&5
11680 ac_header_preproc=no
11683 rm -f conftest.err conftest.$ac_ext
11684 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11685 echo "${ECHO_T}$ac_header_preproc" >&6; }
11687 # So? What about this header?
11688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11689 yes:no: )
11690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11694 ac_header_preproc=yes
11696 no:yes:* )
11697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11709 ( cat <<\_ASBOX
11710 ## ------------------------------------ ##
11711 ## Report this to wine-devel@winehq.org ##
11712 ## ------------------------------------ ##
11713 _ASBOX
11714 ) | sed "s/^/$as_me: WARNING: /" >&2
11716 esac
11717 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11719 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11720 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 else
11722 eval "$as_ac_Header=\$ac_header_preproc"
11724 ac_res=`eval echo '${'$as_ac_Header'}'`
11725 { echo "$as_me:$LINENO: result: $ac_res" >&5
11726 echo "${ECHO_T}$ac_res" >&6; }
11729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11730 cat >>confdefs.h <<_ACEOF
11731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11732 _ACEOF
11733 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11734 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11735 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 else
11738 ac_check_lib_save_LIBS=$LIBS
11739 LIBS="-lxml2 $ac_xml_libs $LIBS"
11740 cat >conftest.$ac_ext <<_ACEOF
11741 /* confdefs.h. */
11742 _ACEOF
11743 cat confdefs.h >>conftest.$ac_ext
11744 cat >>conftest.$ac_ext <<_ACEOF
11745 /* end confdefs.h. */
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11750 #ifdef __cplusplus
11751 extern "C"
11752 #endif
11753 char xmlParseMemory ();
11755 main ()
11757 return xmlParseMemory ();
11759 return 0;
11761 _ACEOF
11762 rm -f conftest.$ac_objext conftest$ac_exeext
11763 if { (ac_try="$ac_link"
11764 case "(($ac_try" in
11765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11766 *) ac_try_echo=$ac_try;;
11767 esac
11768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11769 (eval "$ac_link") 2>conftest.er1
11770 ac_status=$?
11771 grep -v '^ *+' conftest.er1 >conftest.err
11772 rm -f conftest.er1
11773 cat conftest.err >&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); } && {
11776 test -z "$ac_c_werror_flag" ||
11777 test ! -s conftest.err
11778 } && test -s conftest$ac_exeext &&
11779 $as_test_x conftest$ac_exeext; then
11780 ac_cv_lib_xml2_xmlParseMemory=yes
11781 else
11782 echo "$as_me: failed program was:" >&5
11783 sed 's/^/| /' conftest.$ac_ext >&5
11785 ac_cv_lib_xml2_xmlParseMemory=no
11788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11789 conftest$ac_exeext conftest.$ac_ext
11790 LIBS=$ac_check_lib_save_LIBS
11792 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11793 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11794 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11796 cat >>confdefs.h <<\_ACEOF
11797 #define HAVE_LIBXML2 1
11798 _ACEOF
11800 XML2LIBS="$ac_xml_libs"
11801 XML2INCL="$ac_xml_cflags"
11804 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11805 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11806 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11808 else
11809 ac_check_lib_save_LIBS=$LIBS
11810 LIBS="-lxml2 $ac_xml_libs $LIBS"
11811 cat >conftest.$ac_ext <<_ACEOF
11812 /* confdefs.h. */
11813 _ACEOF
11814 cat confdefs.h >>conftest.$ac_ext
11815 cat >>conftest.$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11818 /* Override any GCC internal prototype to avoid an error.
11819 Use char because int might match the return type of a GCC
11820 builtin and then its argument prototype would still apply. */
11821 #ifdef __cplusplus
11822 extern "C"
11823 #endif
11824 char xmlReadMemory ();
11826 main ()
11828 return xmlReadMemory ();
11830 return 0;
11832 _ACEOF
11833 rm -f conftest.$ac_objext conftest$ac_exeext
11834 if { (ac_try="$ac_link"
11835 case "(($ac_try" in
11836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11837 *) ac_try_echo=$ac_try;;
11838 esac
11839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11840 (eval "$ac_link") 2>conftest.er1
11841 ac_status=$?
11842 grep -v '^ *+' conftest.er1 >conftest.err
11843 rm -f conftest.er1
11844 cat conftest.err >&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } && {
11847 test -z "$ac_c_werror_flag" ||
11848 test ! -s conftest.err
11849 } && test -s conftest$ac_exeext &&
11850 $as_test_x conftest$ac_exeext; then
11851 ac_cv_lib_xml2_xmlReadMemory=yes
11852 else
11853 echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.$ac_ext >&5
11856 ac_cv_lib_xml2_xmlReadMemory=no
11859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11860 conftest$ac_exeext conftest.$ac_ext
11861 LIBS=$ac_check_lib_save_LIBS
11863 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11864 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11865 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11867 cat >>confdefs.h <<\_ACEOF
11868 #define HAVE_XMLREADMEMORY 1
11869 _ACEOF
11873 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11874 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11875 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11876 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 else
11878 ac_check_lib_save_LIBS=$LIBS
11879 LIBS="-lxml2 $ac_xml_libs $LIBS"
11880 cat >conftest.$ac_ext <<_ACEOF
11881 /* confdefs.h. */
11882 _ACEOF
11883 cat confdefs.h >>conftest.$ac_ext
11884 cat >>conftest.$ac_ext <<_ACEOF
11885 /* end confdefs.h. */
11887 /* Override any GCC internal prototype to avoid an error.
11888 Use char because int might match the return type of a GCC
11889 builtin and then its argument prototype would still apply. */
11890 #ifdef __cplusplus
11891 extern "C"
11892 #endif
11893 char xmlNewDocPI ();
11895 main ()
11897 return xmlNewDocPI ();
11899 return 0;
11901 _ACEOF
11902 rm -f conftest.$ac_objext conftest$ac_exeext
11903 if { (ac_try="$ac_link"
11904 case "(($ac_try" in
11905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11906 *) ac_try_echo=$ac_try;;
11907 esac
11908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11909 (eval "$ac_link") 2>conftest.er1
11910 ac_status=$?
11911 grep -v '^ *+' conftest.er1 >conftest.err
11912 rm -f conftest.er1
11913 cat conftest.err >&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); } && {
11916 test -z "$ac_c_werror_flag" ||
11917 test ! -s conftest.err
11918 } && test -s conftest$ac_exeext &&
11919 $as_test_x conftest$ac_exeext; then
11920 ac_cv_lib_xml2_xmlNewDocPI=yes
11921 else
11922 echo "$as_me: failed program was:" >&5
11923 sed 's/^/| /' conftest.$ac_ext >&5
11925 ac_cv_lib_xml2_xmlNewDocPI=no
11928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11929 conftest$ac_exeext conftest.$ac_ext
11930 LIBS=$ac_check_lib_save_LIBS
11932 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11933 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11934 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11936 cat >>confdefs.h <<\_ACEOF
11937 #define HAVE_XMLNEWDOCPI 1
11938 _ACEOF
11945 done
11947 CPPFLAGS="$ac_save_CPPFLAGS"
11949 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11950 case "x$with_xml" in
11951 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11952 xno) ;;
11953 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11954 This is an error since --with-xml was requested." >&5
11955 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11956 This is an error since --with-xml was requested." >&2;}
11957 { (exit 1); exit 1; }; } ;;
11958 esac
11962 if test "x$with_xslt" != "xno"
11963 then
11964 if test "$PKG_CONFIG" != "false"
11965 then
11966 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11967 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11968 else
11969 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11970 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11972 ac_save_CPPFLAGS="$CPPFLAGS"
11973 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11976 for ac_header in libxslt/pattern.h libxslt/transform.h
11978 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11979 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11981 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11982 echo $ECHO_N "(cached) $ECHO_C" >&6
11983 else
11984 cat >conftest.$ac_ext <<_ACEOF
11985 /* confdefs.h. */
11986 _ACEOF
11987 cat confdefs.h >>conftest.$ac_ext
11988 cat >>conftest.$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11990 #ifdef HAVE_LIBXSLT_PATTERN_H
11991 # include <libxslt/pattern.h>
11992 #endif
11994 #include <$ac_header>
11995 _ACEOF
11996 rm -f conftest.$ac_objext
11997 if { (ac_try="$ac_compile"
11998 case "(($ac_try" in
11999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12000 *) ac_try_echo=$ac_try;;
12001 esac
12002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12003 (eval "$ac_compile") 2>conftest.er1
12004 ac_status=$?
12005 grep -v '^ *+' conftest.er1 >conftest.err
12006 rm -f conftest.er1
12007 cat conftest.err >&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); } && {
12010 test -z "$ac_c_werror_flag" ||
12011 test ! -s conftest.err
12012 } && test -s conftest.$ac_objext; then
12013 eval "$as_ac_Header=yes"
12014 else
12015 echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12018 eval "$as_ac_Header=no"
12021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12023 ac_res=`eval echo '${'$as_ac_Header'}'`
12024 { echo "$as_me:$LINENO: result: $ac_res" >&5
12025 echo "${ECHO_T}$ac_res" >&6; }
12026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12027 cat >>confdefs.h <<_ACEOF
12028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12029 _ACEOF
12033 done
12035 CPPFLAGS="$ac_save_CPPFLAGS"
12036 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12037 then
12038 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12039 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12040 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12041 echo $ECHO_N "(cached) $ECHO_C" >&6
12042 else
12043 ac_check_lib_save_LIBS=$LIBS
12044 LIBS="-lxslt $ac_xslt_libs $LIBS"
12045 cat >conftest.$ac_ext <<_ACEOF
12046 /* confdefs.h. */
12047 _ACEOF
12048 cat confdefs.h >>conftest.$ac_ext
12049 cat >>conftest.$ac_ext <<_ACEOF
12050 /* end confdefs.h. */
12052 /* Override any GCC internal prototype to avoid an error.
12053 Use char because int might match the return type of a GCC
12054 builtin and then its argument prototype would still apply. */
12055 #ifdef __cplusplus
12056 extern "C"
12057 #endif
12058 char xsltCompilePattern ();
12060 main ()
12062 return xsltCompilePattern ();
12064 return 0;
12066 _ACEOF
12067 rm -f conftest.$ac_objext conftest$ac_exeext
12068 if { (ac_try="$ac_link"
12069 case "(($ac_try" in
12070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12071 *) ac_try_echo=$ac_try;;
12072 esac
12073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12074 (eval "$ac_link") 2>conftest.er1
12075 ac_status=$?
12076 grep -v '^ *+' conftest.er1 >conftest.err
12077 rm -f conftest.er1
12078 cat conftest.err >&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); } && {
12081 test -z "$ac_c_werror_flag" ||
12082 test ! -s conftest.err
12083 } && test -s conftest$ac_exeext &&
12084 $as_test_x conftest$ac_exeext; then
12085 ac_cv_lib_xslt_xsltCompilePattern=yes
12086 else
12087 echo "$as_me: failed program was:" >&5
12088 sed 's/^/| /' conftest.$ac_ext >&5
12090 ac_cv_lib_xslt_xsltCompilePattern=no
12093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12094 conftest$ac_exeext conftest.$ac_ext
12095 LIBS=$ac_check_lib_save_LIBS
12097 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12098 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12099 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12101 cat >>confdefs.h <<\_ACEOF
12102 #define HAVE_LIBXSLT 1
12103 _ACEOF
12105 XSLTLIBS="$ac_xslt_libs"
12106 XSLTINCL="$ac_xslt_cflags"
12107 ac_save_LIBS="$LIBS"
12108 LIBS="$LIBS $ac_xslt_libs"
12110 for ac_func in xsltInit
12112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12113 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12115 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12116 echo $ECHO_N "(cached) $ECHO_C" >&6
12117 else
12118 cat >conftest.$ac_ext <<_ACEOF
12119 /* confdefs.h. */
12120 _ACEOF
12121 cat confdefs.h >>conftest.$ac_ext
12122 cat >>conftest.$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12126 #define $ac_func innocuous_$ac_func
12128 /* System header to define __stub macros and hopefully few prototypes,
12129 which can conflict with char $ac_func (); below.
12130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12131 <limits.h> exists even on freestanding compilers. */
12133 #ifdef __STDC__
12134 # include <limits.h>
12135 #else
12136 # include <assert.h>
12137 #endif
12139 #undef $ac_func
12141 /* Override any GCC internal prototype to avoid an error.
12142 Use char because int might match the return type of a GCC
12143 builtin and then its argument prototype would still apply. */
12144 #ifdef __cplusplus
12145 extern "C"
12146 #endif
12147 char $ac_func ();
12148 /* The GNU C library defines this for functions which it implements
12149 to always fail with ENOSYS. Some functions are actually named
12150 something starting with __ and the normal name is an alias. */
12151 #if defined __stub_$ac_func || defined __stub___$ac_func
12152 choke me
12153 #endif
12156 main ()
12158 return $ac_func ();
12160 return 0;
12162 _ACEOF
12163 rm -f conftest.$ac_objext conftest$ac_exeext
12164 if { (ac_try="$ac_link"
12165 case "(($ac_try" in
12166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12167 *) ac_try_echo=$ac_try;;
12168 esac
12169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12170 (eval "$ac_link") 2>conftest.er1
12171 ac_status=$?
12172 grep -v '^ *+' conftest.er1 >conftest.err
12173 rm -f conftest.er1
12174 cat conftest.err >&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } && {
12177 test -z "$ac_c_werror_flag" ||
12178 test ! -s conftest.err
12179 } && test -s conftest$ac_exeext &&
12180 $as_test_x conftest$ac_exeext; then
12181 eval "$as_ac_var=yes"
12182 else
12183 echo "$as_me: failed program was:" >&5
12184 sed 's/^/| /' conftest.$ac_ext >&5
12186 eval "$as_ac_var=no"
12189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12190 conftest$ac_exeext conftest.$ac_ext
12192 ac_res=`eval echo '${'$as_ac_var'}'`
12193 { echo "$as_me:$LINENO: result: $ac_res" >&5
12194 echo "${ECHO_T}$ac_res" >&6; }
12195 if test `eval echo '${'$as_ac_var'}'` = yes; then
12196 cat >>confdefs.h <<_ACEOF
12197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12198 _ACEOF
12201 done
12203 LIBS="$ac_save_LIBS"
12208 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12209 case "x$with_xslt" in
12210 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12211 xno) ;;
12212 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12213 This is an error since --with-xslt was requested." >&5
12214 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12215 This is an error since --with-xslt was requested." >&2;}
12216 { (exit 1); exit 1; }; } ;;
12217 esac
12221 HALINCL=""
12223 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12224 then
12225 ac_save_CPPFLAGS="$CPPFLAGS"
12226 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12227 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12228 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12231 for ac_header in dbus/dbus.h hal/libhal.h
12233 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12235 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 ac_res=`eval echo '${'$as_ac_Header'}'`
12241 { echo "$as_me:$LINENO: result: $ac_res" >&5
12242 echo "${ECHO_T}$ac_res" >&6; }
12243 else
12244 # Is the header compilable?
12245 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12246 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12247 cat >conftest.$ac_ext <<_ACEOF
12248 /* confdefs.h. */
12249 _ACEOF
12250 cat confdefs.h >>conftest.$ac_ext
12251 cat >>conftest.$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12253 $ac_includes_default
12254 #include <$ac_header>
12255 _ACEOF
12256 rm -f conftest.$ac_objext
12257 if { (ac_try="$ac_compile"
12258 case "(($ac_try" in
12259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12260 *) ac_try_echo=$ac_try;;
12261 esac
12262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12263 (eval "$ac_compile") 2>conftest.er1
12264 ac_status=$?
12265 grep -v '^ *+' conftest.er1 >conftest.err
12266 rm -f conftest.er1
12267 cat conftest.err >&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); } && {
12270 test -z "$ac_c_werror_flag" ||
12271 test ! -s conftest.err
12272 } && test -s conftest.$ac_objext; then
12273 ac_header_compiler=yes
12274 else
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.$ac_ext >&5
12278 ac_header_compiler=no
12281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12282 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12283 echo "${ECHO_T}$ac_header_compiler" >&6; }
12285 # Is the header present?
12286 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12288 cat >conftest.$ac_ext <<_ACEOF
12289 /* confdefs.h. */
12290 _ACEOF
12291 cat confdefs.h >>conftest.$ac_ext
12292 cat >>conftest.$ac_ext <<_ACEOF
12293 /* end confdefs.h. */
12294 #include <$ac_header>
12295 _ACEOF
12296 if { (ac_try="$ac_cpp conftest.$ac_ext"
12297 case "(($ac_try" in
12298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12299 *) ac_try_echo=$ac_try;;
12300 esac
12301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12302 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12303 ac_status=$?
12304 grep -v '^ *+' conftest.er1 >conftest.err
12305 rm -f conftest.er1
12306 cat conftest.err >&5
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); } >/dev/null && {
12309 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12310 test ! -s conftest.err
12311 }; then
12312 ac_header_preproc=yes
12313 else
12314 echo "$as_me: failed program was:" >&5
12315 sed 's/^/| /' conftest.$ac_ext >&5
12317 ac_header_preproc=no
12320 rm -f conftest.err conftest.$ac_ext
12321 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12322 echo "${ECHO_T}$ac_header_preproc" >&6; }
12324 # So? What about this header?
12325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12326 yes:no: )
12327 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12330 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12331 ac_header_preproc=yes
12333 no:yes:* )
12334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12339 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12341 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12344 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12345 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12346 ( cat <<\_ASBOX
12347 ## ------------------------------------ ##
12348 ## Report this to wine-devel@winehq.org ##
12349 ## ------------------------------------ ##
12350 _ASBOX
12351 ) | sed "s/^/$as_me: WARNING: /" >&2
12353 esac
12354 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 else
12359 eval "$as_ac_Header=\$ac_header_preproc"
12361 ac_res=`eval echo '${'$as_ac_Header'}'`
12362 { echo "$as_me:$LINENO: result: $ac_res" >&5
12363 echo "${ECHO_T}$ac_res" >&6; }
12366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12367 cat >>confdefs.h <<_ACEOF
12368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12369 _ACEOF
12373 done
12375 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12376 then
12377 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12378 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12379 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12380 echo $ECHO_N "(cached) $ECHO_C" >&6
12381 else
12382 ac_check_lib_save_LIBS=$LIBS
12383 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12384 cat >conftest.$ac_ext <<_ACEOF
12385 /* confdefs.h. */
12386 _ACEOF
12387 cat confdefs.h >>conftest.$ac_ext
12388 cat >>conftest.$ac_ext <<_ACEOF
12389 /* end confdefs.h. */
12391 /* Override any GCC internal prototype to avoid an error.
12392 Use char because int might match the return type of a GCC
12393 builtin and then its argument prototype would still apply. */
12394 #ifdef __cplusplus
12395 extern "C"
12396 #endif
12397 char dbus_connection_close ();
12399 main ()
12401 return dbus_connection_close ();
12403 return 0;
12405 _ACEOF
12406 rm -f conftest.$ac_objext conftest$ac_exeext
12407 if { (ac_try="$ac_link"
12408 case "(($ac_try" in
12409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12410 *) ac_try_echo=$ac_try;;
12411 esac
12412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12413 (eval "$ac_link") 2>conftest.er1
12414 ac_status=$?
12415 grep -v '^ *+' conftest.er1 >conftest.err
12416 rm -f conftest.er1
12417 cat conftest.err >&5
12418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12419 (exit $ac_status); } && {
12420 test -z "$ac_c_werror_flag" ||
12421 test ! -s conftest.err
12422 } && test -s conftest$ac_exeext &&
12423 $as_test_x conftest$ac_exeext; then
12424 ac_cv_lib_dbus_1_dbus_connection_close=yes
12425 else
12426 echo "$as_me: failed program was:" >&5
12427 sed 's/^/| /' conftest.$ac_ext >&5
12429 ac_cv_lib_dbus_1_dbus_connection_close=no
12432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12433 conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_check_lib_save_LIBS
12436 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12437 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12438 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12439 { echo "$as_me:$LINENO: checking for -lhal" >&5
12440 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12441 if test "${ac_cv_lib_soname_hal+set}" = set; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 else
12444 ac_check_soname_save_LIBS=$LIBS
12445 LIBS="-lhal $ac_hal_libs $LIBS"
12446 cat >conftest.$ac_ext <<_ACEOF
12447 /* confdefs.h. */
12448 _ACEOF
12449 cat confdefs.h >>conftest.$ac_ext
12450 cat >>conftest.$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12453 /* Override any GCC internal prototype to avoid an error.
12454 Use char because int might match the return type of a GCC
12455 builtin and then its argument prototype would still apply. */
12456 #ifdef __cplusplus
12457 extern "C"
12458 #endif
12459 char libhal_ctx_new ();
12461 main ()
12463 return libhal_ctx_new ();
12465 return 0;
12467 _ACEOF
12468 rm -f conftest.$ac_objext conftest$ac_exeext
12469 if { (ac_try="$ac_link"
12470 case "(($ac_try" in
12471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12472 *) ac_try_echo=$ac_try;;
12473 esac
12474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12475 (eval "$ac_link") 2>conftest.er1
12476 ac_status=$?
12477 grep -v '^ *+' conftest.er1 >conftest.err
12478 rm -f conftest.er1
12479 cat conftest.err >&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); } && {
12482 test -z "$ac_c_werror_flag" ||
12483 test ! -s conftest.err
12484 } && test -s conftest$ac_exeext &&
12485 $as_test_x conftest$ac_exeext; then
12486 case "$LIBEXT" in
12487 dll) ;;
12488 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'` ;;
12489 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12490 esac
12491 else
12492 echo "$as_me: failed program was:" >&5
12493 sed 's/^/| /' conftest.$ac_ext >&5
12498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12499 conftest$ac_exeext conftest.$ac_ext
12500 LIBS=$ac_check_soname_save_LIBS
12502 if test "x$ac_cv_lib_soname_hal" = "x"; then
12503 { echo "$as_me:$LINENO: result: not found" >&5
12504 echo "${ECHO_T}not found" >&6; }
12506 else
12507 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12508 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12510 cat >>confdefs.h <<_ACEOF
12511 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12512 _ACEOF
12514 HALINCL="$ac_hal_cflags"
12520 CPPFLAGS="$ac_save_CPPFLAGS"
12522 if test "x$ac_cv_lib_soname_hal" = "x"; then
12523 case "x$with_hal" in
12524 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12525 xno) ;;
12526 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12527 This is an error since --with-hal was requested." >&5
12528 echo "$as_me: error: libhal development files not found, no dynamic device support.
12529 This is an error since --with-hal was requested." >&2;}
12530 { (exit 1); exit 1; }; } ;;
12531 esac
12535 CURSESLIBS=""
12536 if test "$ac_cv_header_ncurses_h" = "yes"
12537 then
12538 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12539 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12540 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12541 echo $ECHO_N "(cached) $ECHO_C" >&6
12542 else
12543 ac_check_soname_save_LIBS=$LIBS
12544 LIBS="-lncurses $LIBS"
12545 cat >conftest.$ac_ext <<_ACEOF
12546 /* confdefs.h. */
12547 _ACEOF
12548 cat confdefs.h >>conftest.$ac_ext
12549 cat >>conftest.$ac_ext <<_ACEOF
12550 /* end confdefs.h. */
12552 /* Override any GCC internal prototype to avoid an error.
12553 Use char because int might match the return type of a GCC
12554 builtin and then its argument prototype would still apply. */
12555 #ifdef __cplusplus
12556 extern "C"
12557 #endif
12558 char waddch ();
12560 main ()
12562 return waddch ();
12564 return 0;
12566 _ACEOF
12567 rm -f conftest.$ac_objext conftest$ac_exeext
12568 if { (ac_try="$ac_link"
12569 case "(($ac_try" in
12570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12571 *) ac_try_echo=$ac_try;;
12572 esac
12573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12574 (eval "$ac_link") 2>conftest.er1
12575 ac_status=$?
12576 grep -v '^ *+' conftest.er1 >conftest.err
12577 rm -f conftest.er1
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } && {
12581 test -z "$ac_c_werror_flag" ||
12582 test ! -s conftest.err
12583 } && test -s conftest$ac_exeext &&
12584 $as_test_x conftest$ac_exeext; then
12585 case "$LIBEXT" in
12586 dll) ;;
12587 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'` ;;
12588 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12589 esac
12590 else
12591 echo "$as_me: failed program was:" >&5
12592 sed 's/^/| /' conftest.$ac_ext >&5
12597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12598 conftest$ac_exeext conftest.$ac_ext
12599 LIBS=$ac_check_soname_save_LIBS
12601 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12602 { echo "$as_me:$LINENO: result: not found" >&5
12603 echo "${ECHO_T}not found" >&6; }
12605 else
12606 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12607 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12609 cat >>confdefs.h <<_ACEOF
12610 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12611 _ACEOF
12613 CURSESLIBS="-lncurses"
12616 elif test "$ac_cv_header_curses_h" = "yes"
12617 then
12618 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12619 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12620 if test "${ac_cv_lib_soname_curses+set}" = set; then
12621 echo $ECHO_N "(cached) $ECHO_C" >&6
12622 else
12623 ac_check_soname_save_LIBS=$LIBS
12624 LIBS="-lcurses $LIBS"
12625 cat >conftest.$ac_ext <<_ACEOF
12626 /* confdefs.h. */
12627 _ACEOF
12628 cat confdefs.h >>conftest.$ac_ext
12629 cat >>conftest.$ac_ext <<_ACEOF
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12635 #ifdef __cplusplus
12636 extern "C"
12637 #endif
12638 char waddch ();
12640 main ()
12642 return waddch ();
12644 return 0;
12646 _ACEOF
12647 rm -f conftest.$ac_objext conftest$ac_exeext
12648 if { (ac_try="$ac_link"
12649 case "(($ac_try" in
12650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12651 *) ac_try_echo=$ac_try;;
12652 esac
12653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12654 (eval "$ac_link") 2>conftest.er1
12655 ac_status=$?
12656 grep -v '^ *+' conftest.er1 >conftest.err
12657 rm -f conftest.er1
12658 cat conftest.err >&5
12659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12660 (exit $ac_status); } && {
12661 test -z "$ac_c_werror_flag" ||
12662 test ! -s conftest.err
12663 } && test -s conftest$ac_exeext &&
12664 $as_test_x conftest$ac_exeext; then
12665 case "$LIBEXT" in
12666 dll) ;;
12667 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'` ;;
12668 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12669 esac
12670 else
12671 echo "$as_me: failed program was:" >&5
12672 sed 's/^/| /' conftest.$ac_ext >&5
12677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12678 conftest$ac_exeext conftest.$ac_ext
12679 LIBS=$ac_check_soname_save_LIBS
12681 if test "x$ac_cv_lib_soname_curses" = "x"; then
12682 { echo "$as_me:$LINENO: result: not found" >&5
12683 echo "${ECHO_T}not found" >&6; }
12685 else
12686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12687 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12689 cat >>confdefs.h <<_ACEOF
12690 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12691 _ACEOF
12693 CURSESLIBS="-lcurses"
12697 ac_save_LIBS="$LIBS"
12698 LIBS="$LIBS $CURSESLIBS"
12700 for ac_func in mousemask
12702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12703 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12705 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12706 echo $ECHO_N "(cached) $ECHO_C" >&6
12707 else
12708 cat >conftest.$ac_ext <<_ACEOF
12709 /* confdefs.h. */
12710 _ACEOF
12711 cat confdefs.h >>conftest.$ac_ext
12712 cat >>conftest.$ac_ext <<_ACEOF
12713 /* end confdefs.h. */
12714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12716 #define $ac_func innocuous_$ac_func
12718 /* System header to define __stub macros and hopefully few prototypes,
12719 which can conflict with char $ac_func (); below.
12720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12721 <limits.h> exists even on freestanding compilers. */
12723 #ifdef __STDC__
12724 # include <limits.h>
12725 #else
12726 # include <assert.h>
12727 #endif
12729 #undef $ac_func
12731 /* Override any GCC internal prototype to avoid an error.
12732 Use char because int might match the return type of a GCC
12733 builtin and then its argument prototype would still apply. */
12734 #ifdef __cplusplus
12735 extern "C"
12736 #endif
12737 char $ac_func ();
12738 /* The GNU C library defines this for functions which it implements
12739 to always fail with ENOSYS. Some functions are actually named
12740 something starting with __ and the normal name is an alias. */
12741 #if defined __stub_$ac_func || defined __stub___$ac_func
12742 choke me
12743 #endif
12746 main ()
12748 return $ac_func ();
12750 return 0;
12752 _ACEOF
12753 rm -f conftest.$ac_objext conftest$ac_exeext
12754 if { (ac_try="$ac_link"
12755 case "(($ac_try" in
12756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12757 *) ac_try_echo=$ac_try;;
12758 esac
12759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12760 (eval "$ac_link") 2>conftest.er1
12761 ac_status=$?
12762 grep -v '^ *+' conftest.er1 >conftest.err
12763 rm -f conftest.er1
12764 cat conftest.err >&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); } && {
12767 test -z "$ac_c_werror_flag" ||
12768 test ! -s conftest.err
12769 } && test -s conftest$ac_exeext &&
12770 $as_test_x conftest$ac_exeext; then
12771 eval "$as_ac_var=yes"
12772 else
12773 echo "$as_me: failed program was:" >&5
12774 sed 's/^/| /' conftest.$ac_ext >&5
12776 eval "$as_ac_var=no"
12779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12780 conftest$ac_exeext conftest.$ac_ext
12782 ac_res=`eval echo '${'$as_ac_var'}'`
12783 { echo "$as_me:$LINENO: result: $ac_res" >&5
12784 echo "${ECHO_T}$ac_res" >&6; }
12785 if test `eval echo '${'$as_ac_var'}'` = yes; then
12786 cat >>confdefs.h <<_ACEOF
12787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12788 _ACEOF
12791 done
12793 LIBS="$ac_save_LIBS"
12794 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12795 case "x$with_curses" in
12796 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12797 xno) ;;
12798 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12799 This is an error since --with-curses was requested." >&5
12800 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12801 This is an error since --with-curses was requested." >&2;}
12802 { (exit 1); exit 1; }; } ;;
12803 esac
12807 # Extract the first word of "sane-config", so it can be a program name with args.
12808 set dummy sane-config; ac_word=$2
12809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12811 if test "${ac_cv_prog_sane_devel+set}" = set; then
12812 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 else
12814 if test -n "$sane_devel"; then
12815 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12816 else
12817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12818 for as_dir in $PATH
12820 IFS=$as_save_IFS
12821 test -z "$as_dir" && as_dir=.
12822 for ac_exec_ext in '' $ac_executable_extensions; do
12823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12824 ac_cv_prog_sane_devel="sane-config"
12825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12826 break 2
12828 done
12829 done
12830 IFS=$as_save_IFS
12832 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12835 sane_devel=$ac_cv_prog_sane_devel
12836 if test -n "$sane_devel"; then
12837 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12838 echo "${ECHO_T}$sane_devel" >&6; }
12839 else
12840 { echo "$as_me:$LINENO: result: no" >&5
12841 echo "${ECHO_T}no" >&6; }
12845 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12846 then
12847 ac_sane_incl="`$sane_devel --cflags`"
12848 ac_save_CPPFLAGS="$CPPFLAGS"
12849 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12850 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12851 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12852 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12853 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12857 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12858 else
12859 # Is the header compilable?
12860 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12861 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12862 cat >conftest.$ac_ext <<_ACEOF
12863 /* confdefs.h. */
12864 _ACEOF
12865 cat confdefs.h >>conftest.$ac_ext
12866 cat >>conftest.$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12868 $ac_includes_default
12869 #include <sane/sane.h>
12870 _ACEOF
12871 rm -f conftest.$ac_objext
12872 if { (ac_try="$ac_compile"
12873 case "(($ac_try" in
12874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12875 *) ac_try_echo=$ac_try;;
12876 esac
12877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12878 (eval "$ac_compile") 2>conftest.er1
12879 ac_status=$?
12880 grep -v '^ *+' conftest.er1 >conftest.err
12881 rm -f conftest.er1
12882 cat conftest.err >&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); } && {
12885 test -z "$ac_c_werror_flag" ||
12886 test ! -s conftest.err
12887 } && test -s conftest.$ac_objext; then
12888 ac_header_compiler=yes
12889 else
12890 echo "$as_me: failed program was:" >&5
12891 sed 's/^/| /' conftest.$ac_ext >&5
12893 ac_header_compiler=no
12896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12897 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12898 echo "${ECHO_T}$ac_header_compiler" >&6; }
12900 # Is the header present?
12901 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12902 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12903 cat >conftest.$ac_ext <<_ACEOF
12904 /* confdefs.h. */
12905 _ACEOF
12906 cat confdefs.h >>conftest.$ac_ext
12907 cat >>conftest.$ac_ext <<_ACEOF
12908 /* end confdefs.h. */
12909 #include <sane/sane.h>
12910 _ACEOF
12911 if { (ac_try="$ac_cpp conftest.$ac_ext"
12912 case "(($ac_try" in
12913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12914 *) ac_try_echo=$ac_try;;
12915 esac
12916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12917 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12918 ac_status=$?
12919 grep -v '^ *+' conftest.er1 >conftest.err
12920 rm -f conftest.er1
12921 cat conftest.err >&5
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); } >/dev/null && {
12924 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12925 test ! -s conftest.err
12926 }; then
12927 ac_header_preproc=yes
12928 else
12929 echo "$as_me: failed program was:" >&5
12930 sed 's/^/| /' conftest.$ac_ext >&5
12932 ac_header_preproc=no
12935 rm -f conftest.err conftest.$ac_ext
12936 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12937 echo "${ECHO_T}$ac_header_preproc" >&6; }
12939 # So? What about this header?
12940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12941 yes:no: )
12942 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12943 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12944 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12945 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12946 ac_header_preproc=yes
12948 no:yes:* )
12949 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12950 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12951 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12952 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12953 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12954 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12955 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12956 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12957 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12958 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12959 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12960 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12961 ( cat <<\_ASBOX
12962 ## ------------------------------------ ##
12963 ## Report this to wine-devel@winehq.org ##
12964 ## ------------------------------------ ##
12965 _ASBOX
12966 ) | sed "s/^/$as_me: WARNING: /" >&2
12968 esac
12969 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12970 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12971 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12972 echo $ECHO_N "(cached) $ECHO_C" >&6
12973 else
12974 ac_cv_header_sane_sane_h=$ac_header_preproc
12976 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12977 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12980 if test $ac_cv_header_sane_sane_h = yes; then
12981 { echo "$as_me:$LINENO: checking for -lsane" >&5
12982 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12983 if test "${ac_cv_lib_soname_sane+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 else
12986 ac_check_soname_save_LIBS=$LIBS
12987 LIBS="-lsane $LIBS"
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. */
12995 /* Override any GCC internal prototype to avoid an error.
12996 Use char because int might match the return type of a GCC
12997 builtin and then its argument prototype would still apply. */
12998 #ifdef __cplusplus
12999 extern "C"
13000 #endif
13001 char sane_init ();
13003 main ()
13005 return sane_init ();
13007 return 0;
13009 _ACEOF
13010 rm -f conftest.$ac_objext conftest$ac_exeext
13011 if { (ac_try="$ac_link"
13012 case "(($ac_try" in
13013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13014 *) ac_try_echo=$ac_try;;
13015 esac
13016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13017 (eval "$ac_link") 2>conftest.er1
13018 ac_status=$?
13019 grep -v '^ *+' conftest.er1 >conftest.err
13020 rm -f conftest.er1
13021 cat conftest.err >&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); } && {
13024 test -z "$ac_c_werror_flag" ||
13025 test ! -s conftest.err
13026 } && test -s conftest$ac_exeext &&
13027 $as_test_x conftest$ac_exeext; then
13028 case "$LIBEXT" in
13029 dll) ;;
13030 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'` ;;
13031 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13032 esac
13033 else
13034 echo "$as_me: failed program was:" >&5
13035 sed 's/^/| /' conftest.$ac_ext >&5
13040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_soname_save_LIBS
13044 if test "x$ac_cv_lib_soname_sane" = "x"; then
13045 { echo "$as_me:$LINENO: result: not found" >&5
13046 echo "${ECHO_T}not found" >&6; }
13048 else
13049 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13050 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13052 cat >>confdefs.h <<_ACEOF
13053 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13054 _ACEOF
13056 SANEINCL="$ac_sane_incl"
13063 CPPFLAGS="$ac_save_CPPFLAGS"
13065 if test "x$ac_cv_lib_soname_sane" = "x"; then
13066 case "x$with_sane" in
13067 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13068 xno) ;;
13069 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13070 This is an error since --with-sane was requested." >&5
13071 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13072 This is an error since --with-sane was requested." >&2;}
13073 { (exit 1); exit 1; }; } ;;
13074 esac
13078 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13079 set dummy gphoto2-config; ac_word=$2
13080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13082 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13083 echo $ECHO_N "(cached) $ECHO_C" >&6
13084 else
13085 if test -n "$gphoto2_devel"; then
13086 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13087 else
13088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13089 for as_dir in $PATH
13091 IFS=$as_save_IFS
13092 test -z "$as_dir" && as_dir=.
13093 for ac_exec_ext in '' $ac_executable_extensions; do
13094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13095 ac_cv_prog_gphoto2_devel="gphoto2-config"
13096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13097 break 2
13099 done
13100 done
13101 IFS=$as_save_IFS
13103 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13106 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13107 if test -n "$gphoto2_devel"; then
13108 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13109 echo "${ECHO_T}$gphoto2_devel" >&6; }
13110 else
13111 { echo "$as_me:$LINENO: result: no" >&5
13112 echo "${ECHO_T}no" >&6; }
13116 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13117 set dummy gphoto2-port-config; ac_word=$2
13118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13120 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13121 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 else
13123 if test -n "$gphoto2port_devel"; then
13124 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13125 else
13126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13127 for as_dir in $PATH
13129 IFS=$as_save_IFS
13130 test -z "$as_dir" && as_dir=.
13131 for ac_exec_ext in '' $ac_executable_extensions; do
13132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13133 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13135 break 2
13137 done
13138 done
13139 IFS=$as_save_IFS
13141 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13144 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13145 if test -n "$gphoto2port_devel"; then
13146 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13147 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13148 else
13149 { echo "$as_me:$LINENO: result: no" >&5
13150 echo "${ECHO_T}no" >&6; }
13154 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13155 then
13156 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13157 ac_gphoto2_libs=""
13158 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13160 case "$i" in
13161 -L/usr/lib|-L/usr/lib64) ;;
13162 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13163 esac
13164 done
13165 ac_save_CPPFLAGS="$CPPFLAGS"
13166 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13167 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13168 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13169 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13170 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13173 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13174 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13175 else
13176 # Is the header compilable?
13177 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13178 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13179 cat >conftest.$ac_ext <<_ACEOF
13180 /* confdefs.h. */
13181 _ACEOF
13182 cat confdefs.h >>conftest.$ac_ext
13183 cat >>conftest.$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13185 $ac_includes_default
13186 #include <gphoto2-camera.h>
13187 _ACEOF
13188 rm -f conftest.$ac_objext
13189 if { (ac_try="$ac_compile"
13190 case "(($ac_try" in
13191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13192 *) ac_try_echo=$ac_try;;
13193 esac
13194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13195 (eval "$ac_compile") 2>conftest.er1
13196 ac_status=$?
13197 grep -v '^ *+' conftest.er1 >conftest.err
13198 rm -f conftest.er1
13199 cat conftest.err >&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); } && {
13202 test -z "$ac_c_werror_flag" ||
13203 test ! -s conftest.err
13204 } && test -s conftest.$ac_objext; then
13205 ac_header_compiler=yes
13206 else
13207 echo "$as_me: failed program was:" >&5
13208 sed 's/^/| /' conftest.$ac_ext >&5
13210 ac_header_compiler=no
13213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13214 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13215 echo "${ECHO_T}$ac_header_compiler" >&6; }
13217 # Is the header present?
13218 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13219 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13220 cat >conftest.$ac_ext <<_ACEOF
13221 /* confdefs.h. */
13222 _ACEOF
13223 cat confdefs.h >>conftest.$ac_ext
13224 cat >>conftest.$ac_ext <<_ACEOF
13225 /* end confdefs.h. */
13226 #include <gphoto2-camera.h>
13227 _ACEOF
13228 if { (ac_try="$ac_cpp conftest.$ac_ext"
13229 case "(($ac_try" in
13230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13231 *) ac_try_echo=$ac_try;;
13232 esac
13233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13234 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13235 ac_status=$?
13236 grep -v '^ *+' conftest.er1 >conftest.err
13237 rm -f conftest.er1
13238 cat conftest.err >&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); } >/dev/null && {
13241 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13242 test ! -s conftest.err
13243 }; then
13244 ac_header_preproc=yes
13245 else
13246 echo "$as_me: failed program was:" >&5
13247 sed 's/^/| /' conftest.$ac_ext >&5
13249 ac_header_preproc=no
13252 rm -f conftest.err conftest.$ac_ext
13253 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13254 echo "${ECHO_T}$ac_header_preproc" >&6; }
13256 # So? What about this header?
13257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13258 yes:no: )
13259 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13260 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13261 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13262 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13263 ac_header_preproc=yes
13265 no:yes:* )
13266 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13267 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13268 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13269 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13270 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13271 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13272 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13273 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13274 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13275 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13276 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13277 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13278 ( cat <<\_ASBOX
13279 ## ------------------------------------ ##
13280 ## Report this to wine-devel@winehq.org ##
13281 ## ------------------------------------ ##
13282 _ASBOX
13283 ) | sed "s/^/$as_me: WARNING: /" >&2
13285 esac
13286 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13287 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13288 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 else
13291 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13293 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13294 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13297 if test $ac_cv_header_gphoto2_camera_h = yes; then
13298 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13299 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13300 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13301 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 else
13303 ac_check_lib_save_LIBS=$LIBS
13304 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13305 cat >conftest.$ac_ext <<_ACEOF
13306 /* confdefs.h. */
13307 _ACEOF
13308 cat confdefs.h >>conftest.$ac_ext
13309 cat >>conftest.$ac_ext <<_ACEOF
13310 /* end confdefs.h. */
13312 /* Override any GCC internal prototype to avoid an error.
13313 Use char because int might match the return type of a GCC
13314 builtin and then its argument prototype would still apply. */
13315 #ifdef __cplusplus
13316 extern "C"
13317 #endif
13318 char gp_camera_new ();
13320 main ()
13322 return gp_camera_new ();
13324 return 0;
13326 _ACEOF
13327 rm -f conftest.$ac_objext conftest$ac_exeext
13328 if { (ac_try="$ac_link"
13329 case "(($ac_try" in
13330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13331 *) ac_try_echo=$ac_try;;
13332 esac
13333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13334 (eval "$ac_link") 2>conftest.er1
13335 ac_status=$?
13336 grep -v '^ *+' conftest.er1 >conftest.err
13337 rm -f conftest.er1
13338 cat conftest.err >&5
13339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340 (exit $ac_status); } && {
13341 test -z "$ac_c_werror_flag" ||
13342 test ! -s conftest.err
13343 } && test -s conftest$ac_exeext &&
13344 $as_test_x conftest$ac_exeext; then
13345 ac_cv_lib_gphoto2_gp_camera_new=yes
13346 else
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.$ac_ext >&5
13350 ac_cv_lib_gphoto2_gp_camera_new=no
13353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13354 conftest$ac_exeext conftest.$ac_ext
13355 LIBS=$ac_check_lib_save_LIBS
13357 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13358 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13359 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13361 cat >>confdefs.h <<\_ACEOF
13362 #define HAVE_GPHOTO2 1
13363 _ACEOF
13365 GPHOTO2LIBS="$ac_gphoto2_libs"
13367 GPHOTO2INCL="$ac_gphoto2_incl"
13374 CPPFLAGS="$ac_save_CPPFLAGS"
13376 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13377 case "x$with_gphoto" in
13378 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13379 xno) ;;
13380 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13381 This is an error since --with-gphoto was requested." >&5
13382 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13383 This is an error since --with-gphoto was requested." >&2;}
13384 { (exit 1); exit 1; }; } ;;
13385 esac
13390 RESOLVLIBS=""
13392 if test "$ac_cv_header_resolv_h" = "yes"
13393 then
13394 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13395 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13396 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13397 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 else
13399 ac_check_lib_save_LIBS=$LIBS
13400 LIBS="-lresolv $LIBS"
13401 cat >conftest.$ac_ext <<_ACEOF
13402 /* confdefs.h. */
13403 _ACEOF
13404 cat confdefs.h >>conftest.$ac_ext
13405 cat >>conftest.$ac_ext <<_ACEOF
13406 /* end confdefs.h. */
13408 /* Override any GCC internal prototype to avoid an error.
13409 Use char because int might match the return type of a GCC
13410 builtin and then its argument prototype would still apply. */
13411 #ifdef __cplusplus
13412 extern "C"
13413 #endif
13414 char res_query ();
13416 main ()
13418 return res_query ();
13420 return 0;
13422 _ACEOF
13423 rm -f conftest.$ac_objext conftest$ac_exeext
13424 if { (ac_try="$ac_link"
13425 case "(($ac_try" in
13426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13427 *) ac_try_echo=$ac_try;;
13428 esac
13429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13430 (eval "$ac_link") 2>conftest.er1
13431 ac_status=$?
13432 grep -v '^ *+' conftest.er1 >conftest.err
13433 rm -f conftest.er1
13434 cat conftest.err >&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); } && {
13437 test -z "$ac_c_werror_flag" ||
13438 test ! -s conftest.err
13439 } && test -s conftest$ac_exeext &&
13440 $as_test_x conftest$ac_exeext; then
13441 ac_cv_lib_resolv_res_query=yes
13442 else
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.$ac_ext >&5
13446 ac_cv_lib_resolv_res_query=no
13449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13450 conftest$ac_exeext conftest.$ac_ext
13451 LIBS=$ac_check_lib_save_LIBS
13453 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13454 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13455 if test $ac_cv_lib_resolv_res_query = yes; then
13457 cat >>confdefs.h <<\_ACEOF
13458 #define HAVE_RESOLV 1
13459 _ACEOF
13461 RESOLVLIBS="-lresolv"
13466 LCMSLIBS=""
13468 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13469 then
13470 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13471 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13472 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13473 echo $ECHO_N "(cached) $ECHO_C" >&6
13474 else
13475 ac_check_lib_save_LIBS=$LIBS
13476 LIBS="-llcms $LIBS"
13477 cat >conftest.$ac_ext <<_ACEOF
13478 /* confdefs.h. */
13479 _ACEOF
13480 cat confdefs.h >>conftest.$ac_ext
13481 cat >>conftest.$ac_ext <<_ACEOF
13482 /* end confdefs.h. */
13484 /* Override any GCC internal prototype to avoid an error.
13485 Use char because int might match the return type of a GCC
13486 builtin and then its argument prototype would still apply. */
13487 #ifdef __cplusplus
13488 extern "C"
13489 #endif
13490 char cmsOpenProfileFromFile ();
13492 main ()
13494 return cmsOpenProfileFromFile ();
13496 return 0;
13498 _ACEOF
13499 rm -f conftest.$ac_objext conftest$ac_exeext
13500 if { (ac_try="$ac_link"
13501 case "(($ac_try" in
13502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13503 *) ac_try_echo=$ac_try;;
13504 esac
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_link") 2>conftest.er1
13507 ac_status=$?
13508 grep -v '^ *+' conftest.er1 >conftest.err
13509 rm -f conftest.er1
13510 cat conftest.err >&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } && {
13513 test -z "$ac_c_werror_flag" ||
13514 test ! -s conftest.err
13515 } && test -s conftest$ac_exeext &&
13516 $as_test_x conftest$ac_exeext; then
13517 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13518 else
13519 echo "$as_me: failed program was:" >&5
13520 sed 's/^/| /' conftest.$ac_ext >&5
13522 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13526 conftest$ac_exeext conftest.$ac_ext
13527 LIBS=$ac_check_lib_save_LIBS
13529 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13530 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13531 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13533 cat >>confdefs.h <<\_ACEOF
13534 #define HAVE_LCMS 1
13535 _ACEOF
13537 LCMSLIBS="-llcms"
13541 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13542 case "x$with_cms" in
13543 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13544 xno) ;;
13545 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13546 This is an error since --with-cms was requested." >&5
13547 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13548 This is an error since --with-cms was requested." >&2;}
13549 { (exit 1); exit 1; }; } ;;
13550 esac
13554 LDAPLIBS=""
13556 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13557 then
13558 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13559 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13560 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13561 echo $ECHO_N "(cached) $ECHO_C" >&6
13562 else
13563 ac_check_lib_save_LIBS=$LIBS
13564 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13565 cat >conftest.$ac_ext <<_ACEOF
13566 /* confdefs.h. */
13567 _ACEOF
13568 cat confdefs.h >>conftest.$ac_ext
13569 cat >>conftest.$ac_ext <<_ACEOF
13570 /* end confdefs.h. */
13572 /* Override any GCC internal prototype to avoid an error.
13573 Use char because int might match the return type of a GCC
13574 builtin and then its argument prototype would still apply. */
13575 #ifdef __cplusplus
13576 extern "C"
13577 #endif
13578 char ldap_initialize ();
13580 main ()
13582 return ldap_initialize ();
13584 return 0;
13586 _ACEOF
13587 rm -f conftest.$ac_objext conftest$ac_exeext
13588 if { (ac_try="$ac_link"
13589 case "(($ac_try" in
13590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13591 *) ac_try_echo=$ac_try;;
13592 esac
13593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13594 (eval "$ac_link") 2>conftest.er1
13595 ac_status=$?
13596 grep -v '^ *+' conftest.er1 >conftest.err
13597 rm -f conftest.er1
13598 cat conftest.err >&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } && {
13601 test -z "$ac_c_werror_flag" ||
13602 test ! -s conftest.err
13603 } && test -s conftest$ac_exeext &&
13604 $as_test_x conftest$ac_exeext; then
13605 ac_cv_lib_ldap_r_ldap_initialize=yes
13606 else
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13610 ac_cv_lib_ldap_r_ldap_initialize=no
13613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13614 conftest$ac_exeext conftest.$ac_ext
13615 LIBS=$ac_check_lib_save_LIBS
13617 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13618 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13619 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13620 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13621 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13622 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13623 echo $ECHO_N "(cached) $ECHO_C" >&6
13624 else
13625 ac_check_lib_save_LIBS=$LIBS
13626 LIBS="-llber $LIBPTHREAD $LIBS"
13627 cat >conftest.$ac_ext <<_ACEOF
13628 /* confdefs.h. */
13629 _ACEOF
13630 cat confdefs.h >>conftest.$ac_ext
13631 cat >>conftest.$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13634 /* Override any GCC internal prototype to avoid an error.
13635 Use char because int might match the return type of a GCC
13636 builtin and then its argument prototype would still apply. */
13637 #ifdef __cplusplus
13638 extern "C"
13639 #endif
13640 char ber_init ();
13642 main ()
13644 return ber_init ();
13646 return 0;
13648 _ACEOF
13649 rm -f conftest.$ac_objext conftest$ac_exeext
13650 if { (ac_try="$ac_link"
13651 case "(($ac_try" in
13652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13653 *) ac_try_echo=$ac_try;;
13654 esac
13655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13656 (eval "$ac_link") 2>conftest.er1
13657 ac_status=$?
13658 grep -v '^ *+' conftest.er1 >conftest.err
13659 rm -f conftest.er1
13660 cat conftest.err >&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } && {
13663 test -z "$ac_c_werror_flag" ||
13664 test ! -s conftest.err
13665 } && test -s conftest$ac_exeext &&
13666 $as_test_x conftest$ac_exeext; then
13667 ac_cv_lib_lber_ber_init=yes
13668 else
13669 echo "$as_me: failed program was:" >&5
13670 sed 's/^/| /' conftest.$ac_ext >&5
13672 ac_cv_lib_lber_ber_init=no
13675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13676 conftest$ac_exeext conftest.$ac_ext
13677 LIBS=$ac_check_lib_save_LIBS
13679 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13680 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13681 if test $ac_cv_lib_lber_ber_init = yes; then
13683 cat >>confdefs.h <<\_ACEOF
13684 #define HAVE_LDAP 1
13685 _ACEOF
13687 LDAPLIBS="-lldap_r -llber"
13692 ac_wine_check_funcs_save_LIBS="$LIBS"
13693 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13702 for ac_func in \
13703 ldap_count_references \
13704 ldap_first_reference \
13705 ldap_next_reference \
13706 ldap_parse_reference \
13707 ldap_parse_sort_control \
13708 ldap_parse_sortresponse_control \
13709 ldap_parse_vlv_control \
13710 ldap_parse_vlvresponse_control
13712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13713 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13715 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 else
13718 cat >conftest.$ac_ext <<_ACEOF
13719 /* confdefs.h. */
13720 _ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13726 #define $ac_func innocuous_$ac_func
13728 /* System header to define __stub macros and hopefully few prototypes,
13729 which can conflict with char $ac_func (); below.
13730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13731 <limits.h> exists even on freestanding compilers. */
13733 #ifdef __STDC__
13734 # include <limits.h>
13735 #else
13736 # include <assert.h>
13737 #endif
13739 #undef $ac_func
13741 /* Override any GCC internal prototype to avoid an error.
13742 Use char because int might match the return type of a GCC
13743 builtin and then its argument prototype would still apply. */
13744 #ifdef __cplusplus
13745 extern "C"
13746 #endif
13747 char $ac_func ();
13748 /* The GNU C library defines this for functions which it implements
13749 to always fail with ENOSYS. Some functions are actually named
13750 something starting with __ and the normal name is an alias. */
13751 #if defined __stub_$ac_func || defined __stub___$ac_func
13752 choke me
13753 #endif
13756 main ()
13758 return $ac_func ();
13760 return 0;
13762 _ACEOF
13763 rm -f conftest.$ac_objext conftest$ac_exeext
13764 if { (ac_try="$ac_link"
13765 case "(($ac_try" in
13766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13767 *) ac_try_echo=$ac_try;;
13768 esac
13769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13770 (eval "$ac_link") 2>conftest.er1
13771 ac_status=$?
13772 grep -v '^ *+' conftest.er1 >conftest.err
13773 rm -f conftest.er1
13774 cat conftest.err >&5
13775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13776 (exit $ac_status); } && {
13777 test -z "$ac_c_werror_flag" ||
13778 test ! -s conftest.err
13779 } && test -s conftest$ac_exeext &&
13780 $as_test_x conftest$ac_exeext; then
13781 eval "$as_ac_var=yes"
13782 else
13783 echo "$as_me: failed program was:" >&5
13784 sed 's/^/| /' conftest.$ac_ext >&5
13786 eval "$as_ac_var=no"
13789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13790 conftest$ac_exeext conftest.$ac_ext
13792 ac_res=`eval echo '${'$as_ac_var'}'`
13793 { echo "$as_me:$LINENO: result: $ac_res" >&5
13794 echo "${ECHO_T}$ac_res" >&6; }
13795 if test `eval echo '${'$as_ac_var'}'` = yes; then
13796 cat >>confdefs.h <<_ACEOF
13797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13798 _ACEOF
13801 done
13803 LIBS="$ac_wine_check_funcs_save_LIBS"
13805 if test "x$LDAPLIBS" = "x"; then
13806 case "x$with_ldap" in
13807 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13808 xno) ;;
13809 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13810 This is an error since --with-ldap was requested." >&5
13811 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13812 This is an error since --with-ldap was requested." >&2;}
13813 { (exit 1); exit 1; }; } ;;
13814 esac
13818 for ac_prog in freetype-config freetype2-config
13820 # Extract the first word of "$ac_prog", so it can be a program name with args.
13821 set dummy $ac_prog; ac_word=$2
13822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13824 if test "${ac_cv_prog_ft_devel+set}" = set; then
13825 echo $ECHO_N "(cached) $ECHO_C" >&6
13826 else
13827 if test -n "$ft_devel"; then
13828 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13829 else
13830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13831 for as_dir in $PATH
13833 IFS=$as_save_IFS
13834 test -z "$as_dir" && as_dir=.
13835 for ac_exec_ext in '' $ac_executable_extensions; do
13836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13837 ac_cv_prog_ft_devel="$ac_prog"
13838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13839 break 2
13841 done
13842 done
13843 IFS=$as_save_IFS
13847 ft_devel=$ac_cv_prog_ft_devel
13848 if test -n "$ft_devel"; then
13849 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13850 echo "${ECHO_T}$ft_devel" >&6; }
13851 else
13852 { echo "$as_me:$LINENO: result: no" >&5
13853 echo "${ECHO_T}no" >&6; }
13857 test -n "$ft_devel" && break
13858 done
13859 test -n "$ft_devel" || ft_devel="false"
13861 if test "$ft_devel" != "false"
13862 then
13863 ac_freetype_libs=`$ft_devel --libs`
13864 ac_freetype_incl=`$ft_devel --cflags`
13865 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13866 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13867 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13869 else
13870 ac_check_soname_save_LIBS=$LIBS
13871 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13872 cat >conftest.$ac_ext <<_ACEOF
13873 /* confdefs.h. */
13874 _ACEOF
13875 cat confdefs.h >>conftest.$ac_ext
13876 cat >>conftest.$ac_ext <<_ACEOF
13877 /* end confdefs.h. */
13879 /* Override any GCC internal prototype to avoid an error.
13880 Use char because int might match the return type of a GCC
13881 builtin and then its argument prototype would still apply. */
13882 #ifdef __cplusplus
13883 extern "C"
13884 #endif
13885 char FT_Init_FreeType ();
13887 main ()
13889 return FT_Init_FreeType ();
13891 return 0;
13893 _ACEOF
13894 rm -f conftest.$ac_objext conftest$ac_exeext
13895 if { (ac_try="$ac_link"
13896 case "(($ac_try" in
13897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13898 *) ac_try_echo=$ac_try;;
13899 esac
13900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13901 (eval "$ac_link") 2>conftest.er1
13902 ac_status=$?
13903 grep -v '^ *+' conftest.er1 >conftest.err
13904 rm -f conftest.er1
13905 cat conftest.err >&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 (exit $ac_status); } && {
13908 test -z "$ac_c_werror_flag" ||
13909 test ! -s conftest.err
13910 } && test -s conftest$ac_exeext &&
13911 $as_test_x conftest$ac_exeext; then
13912 case "$LIBEXT" in
13913 dll) ;;
13914 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'` ;;
13915 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13916 esac
13917 else
13918 echo "$as_me: failed program was:" >&5
13919 sed 's/^/| /' conftest.$ac_ext >&5
13924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13925 conftest$ac_exeext conftest.$ac_ext
13926 LIBS=$ac_check_soname_save_LIBS
13928 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13929 { echo "$as_me:$LINENO: result: not found" >&5
13930 echo "${ECHO_T}not found" >&6; }
13931 ft_lib=no
13932 else
13933 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13934 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13936 cat >>confdefs.h <<_ACEOF
13937 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13938 _ACEOF
13940 ft_lib=yes
13943 if test "$ft_lib" = "yes"
13944 then
13945 ac_save_CPPFLAGS="$CPPFLAGS"
13946 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13959 for ac_header in ft2build.h \
13960 freetype/freetype.h \
13961 freetype/ftglyph.h \
13962 freetype/fttypes.h \
13963 freetype/tttables.h \
13964 freetype/ftnames.h \
13965 freetype/ftsnames.h \
13966 freetype/ttnameid.h \
13967 freetype/ftoutln.h \
13968 freetype/ftwinfnt.h \
13969 freetype/ftmodapi.h \
13970 freetype/internal/sfnt.h
13972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13976 echo $ECHO_N "(cached) $ECHO_C" >&6
13977 else
13978 cat >conftest.$ac_ext <<_ACEOF
13979 /* confdefs.h. */
13980 _ACEOF
13981 cat confdefs.h >>conftest.$ac_ext
13982 cat >>conftest.$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13984 #ifdef HAVE_FT2BUILD_H
13985 # include <ft2build.h>
13986 #endif
13988 #include <$ac_header>
13989 _ACEOF
13990 rm -f conftest.$ac_objext
13991 if { (ac_try="$ac_compile"
13992 case "(($ac_try" in
13993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13994 *) ac_try_echo=$ac_try;;
13995 esac
13996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13997 (eval "$ac_compile") 2>conftest.er1
13998 ac_status=$?
13999 grep -v '^ *+' conftest.er1 >conftest.err
14000 rm -f conftest.er1
14001 cat conftest.err >&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); } && {
14004 test -z "$ac_c_werror_flag" ||
14005 test ! -s conftest.err
14006 } && test -s conftest.$ac_objext; then
14007 eval "$as_ac_Header=yes"
14008 else
14009 echo "$as_me: failed program was:" >&5
14010 sed 's/^/| /' conftest.$ac_ext >&5
14012 eval "$as_ac_Header=no"
14015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14017 ac_res=`eval echo '${'$as_ac_Header'}'`
14018 { echo "$as_me:$LINENO: result: $ac_res" >&5
14019 echo "${ECHO_T}$ac_res" >&6; }
14020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14021 cat >>confdefs.h <<_ACEOF
14022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14023 _ACEOF
14027 done
14029 cat >conftest.$ac_ext <<_ACEOF
14030 /* confdefs.h. */
14031 _ACEOF
14032 cat confdefs.h >>conftest.$ac_ext
14033 cat >>conftest.$ac_ext <<_ACEOF
14034 /* end confdefs.h. */
14035 #include <ft2build.h>
14036 #include <freetype/fttrigon.h>
14037 _ACEOF
14038 if { (ac_try="$ac_cpp conftest.$ac_ext"
14039 case "(($ac_try" in
14040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14041 *) ac_try_echo=$ac_try;;
14042 esac
14043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14044 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14045 ac_status=$?
14046 grep -v '^ *+' conftest.er1 >conftest.err
14047 rm -f conftest.er1
14048 cat conftest.err >&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } >/dev/null && {
14051 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14052 test ! -s conftest.err
14053 }; then
14055 cat >>confdefs.h <<\_ACEOF
14056 #define HAVE_FREETYPE_FTTRIGON_H 1
14057 _ACEOF
14059 wine_cv_fttrigon=yes
14060 else
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14064 wine_cv_fttrigon=no
14067 rm -f conftest.err conftest.$ac_ext
14068 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14069 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14070 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 else
14073 cat >conftest.$ac_ext <<_ACEOF
14074 /* confdefs.h. */
14075 _ACEOF
14076 cat confdefs.h >>conftest.$ac_ext
14077 cat >>conftest.$ac_ext <<_ACEOF
14078 /* end confdefs.h. */
14079 #include <freetype/ftmodapi.h>
14081 typedef FT_TrueTypeEngineType ac__type_new_;
14083 main ()
14085 if ((ac__type_new_ *) 0)
14086 return 0;
14087 if (sizeof (ac__type_new_))
14088 return 0;
14090 return 0;
14092 _ACEOF
14093 rm -f conftest.$ac_objext
14094 if { (ac_try="$ac_compile"
14095 case "(($ac_try" in
14096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14097 *) ac_try_echo=$ac_try;;
14098 esac
14099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14100 (eval "$ac_compile") 2>conftest.er1
14101 ac_status=$?
14102 grep -v '^ *+' conftest.er1 >conftest.err
14103 rm -f conftest.er1
14104 cat conftest.err >&5
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); } && {
14107 test -z "$ac_c_werror_flag" ||
14108 test ! -s conftest.err
14109 } && test -s conftest.$ac_objext; then
14110 ac_cv_type_FT_TrueTypeEngineType=yes
14111 else
14112 echo "$as_me: failed program was:" >&5
14113 sed 's/^/| /' conftest.$ac_ext >&5
14115 ac_cv_type_FT_TrueTypeEngineType=no
14118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14120 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14121 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14122 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14124 cat >>confdefs.h <<_ACEOF
14125 #define HAVE_FT_TRUETYPEENGINETYPE 1
14126 _ACEOF
14131 ac_save_CFLAGS="$CFLAGS"
14132 CFLAGS="$CFLAGS $ac_freetype_libs"
14134 for ac_func in FT_Load_Sfnt_Table
14136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14137 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14139 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14140 echo $ECHO_N "(cached) $ECHO_C" >&6
14141 else
14142 cat >conftest.$ac_ext <<_ACEOF
14143 /* confdefs.h. */
14144 _ACEOF
14145 cat confdefs.h >>conftest.$ac_ext
14146 cat >>conftest.$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14150 #define $ac_func innocuous_$ac_func
14152 /* System header to define __stub macros and hopefully few prototypes,
14153 which can conflict with char $ac_func (); below.
14154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14155 <limits.h> exists even on freestanding compilers. */
14157 #ifdef __STDC__
14158 # include <limits.h>
14159 #else
14160 # include <assert.h>
14161 #endif
14163 #undef $ac_func
14165 /* Override any GCC internal prototype to avoid an error.
14166 Use char because int might match the return type of a GCC
14167 builtin and then its argument prototype would still apply. */
14168 #ifdef __cplusplus
14169 extern "C"
14170 #endif
14171 char $ac_func ();
14172 /* The GNU C library defines this for functions which it implements
14173 to always fail with ENOSYS. Some functions are actually named
14174 something starting with __ and the normal name is an alias. */
14175 #if defined __stub_$ac_func || defined __stub___$ac_func
14176 choke me
14177 #endif
14180 main ()
14182 return $ac_func ();
14184 return 0;
14186 _ACEOF
14187 rm -f conftest.$ac_objext conftest$ac_exeext
14188 if { (ac_try="$ac_link"
14189 case "(($ac_try" in
14190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14191 *) ac_try_echo=$ac_try;;
14192 esac
14193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14194 (eval "$ac_link") 2>conftest.er1
14195 ac_status=$?
14196 grep -v '^ *+' conftest.er1 >conftest.err
14197 rm -f conftest.er1
14198 cat conftest.err >&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); } && {
14201 test -z "$ac_c_werror_flag" ||
14202 test ! -s conftest.err
14203 } && test -s conftest$ac_exeext &&
14204 $as_test_x conftest$ac_exeext; then
14205 eval "$as_ac_var=yes"
14206 else
14207 echo "$as_me: failed program was:" >&5
14208 sed 's/^/| /' conftest.$ac_ext >&5
14210 eval "$as_ac_var=no"
14213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14214 conftest$ac_exeext conftest.$ac_ext
14216 ac_res=`eval echo '${'$as_ac_var'}'`
14217 { echo "$as_me:$LINENO: result: $ac_res" >&5
14218 echo "${ECHO_T}$ac_res" >&6; }
14219 if test `eval echo '${'$as_ac_var'}'` = yes; then
14220 cat >>confdefs.h <<_ACEOF
14221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14222 _ACEOF
14225 done
14227 CFLAGS="$ac_save_CFLAGS"
14228 CPPFLAGS="$ac_save_CPPFLAGS"
14229 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14230 then
14232 cat >>confdefs.h <<\_ACEOF
14233 #define HAVE_FREETYPE 1
14234 _ACEOF
14236 FREETYPELIBS="$ac_freetype_libs"
14238 FREETYPEINCL="$ac_freetype_incl"
14244 if test "x$FREETYPELIBS" = "x"
14245 then
14246 wine_warnings="$wine_warnings|FreeType development files not found.
14247 Fonts will not be built. Dialog text may be invisible or unaligned."
14248 else
14249 FONTSSUBDIRS="fonts"
14253 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14254 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14255 if test "${ac_cv_c_ppdev+set}" = set; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14257 else
14258 cat >conftest.$ac_ext <<_ACEOF
14259 /* confdefs.h. */
14260 _ACEOF
14261 cat confdefs.h >>conftest.$ac_ext
14262 cat >>conftest.$ac_ext <<_ACEOF
14263 /* end confdefs.h. */
14264 #include <linux/ppdev.h>
14266 main ()
14268 ioctl (1,PPCLAIM,0)
14270 return 0;
14272 _ACEOF
14273 rm -f conftest.$ac_objext
14274 if { (ac_try="$ac_compile"
14275 case "(($ac_try" in
14276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14277 *) ac_try_echo=$ac_try;;
14278 esac
14279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14280 (eval "$ac_compile") 2>conftest.er1
14281 ac_status=$?
14282 grep -v '^ *+' conftest.er1 >conftest.err
14283 rm -f conftest.er1
14284 cat conftest.err >&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); } && {
14287 test -z "$ac_c_werror_flag" ||
14288 test ! -s conftest.err
14289 } && test -s conftest.$ac_objext; then
14290 ac_cv_c_ppdev="yes"
14291 else
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.$ac_ext >&5
14295 ac_cv_c_ppdev="no"
14298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14300 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14301 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14302 if test "$ac_cv_c_ppdev" = "yes"
14303 then
14305 cat >>confdefs.h <<\_ACEOF
14306 #define HAVE_PPDEV 1
14307 _ACEOF
14311 { echo "$as_me:$LINENO: checking for va_copy" >&5
14312 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14313 if test "${ac_cv_c_va_copy+set}" = set; then
14314 echo $ECHO_N "(cached) $ECHO_C" >&6
14315 else
14316 cat >conftest.$ac_ext <<_ACEOF
14317 /* confdefs.h. */
14318 _ACEOF
14319 cat confdefs.h >>conftest.$ac_ext
14320 cat >>conftest.$ac_ext <<_ACEOF
14321 /* end confdefs.h. */
14322 #include <stdarg.h>
14324 main ()
14326 va_list ap1, ap2; va_copy(ap1,ap2);
14328 return 0;
14330 _ACEOF
14331 rm -f conftest.$ac_objext conftest$ac_exeext
14332 if { (ac_try="$ac_link"
14333 case "(($ac_try" in
14334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14335 *) ac_try_echo=$ac_try;;
14336 esac
14337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14338 (eval "$ac_link") 2>conftest.er1
14339 ac_status=$?
14340 grep -v '^ *+' conftest.er1 >conftest.err
14341 rm -f conftest.er1
14342 cat conftest.err >&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); } && {
14345 test -z "$ac_c_werror_flag" ||
14346 test ! -s conftest.err
14347 } && test -s conftest$ac_exeext &&
14348 $as_test_x conftest$ac_exeext; then
14349 ac_cv_c_va_copy="yes"
14350 else
14351 echo "$as_me: failed program was:" >&5
14352 sed 's/^/| /' conftest.$ac_ext >&5
14354 ac_cv_c_va_copy="no"
14357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14358 conftest$ac_exeext conftest.$ac_ext
14361 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14362 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14363 if test "$ac_cv_c_va_copy" = "yes"
14364 then
14366 cat >>confdefs.h <<\_ACEOF
14367 #define HAVE_VA_COPY 1
14368 _ACEOF
14371 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14372 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14373 if test "${ac_cv_c___va_copy+set}" = set; then
14374 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 else
14376 cat >conftest.$ac_ext <<_ACEOF
14377 /* confdefs.h. */
14378 _ACEOF
14379 cat confdefs.h >>conftest.$ac_ext
14380 cat >>conftest.$ac_ext <<_ACEOF
14381 /* end confdefs.h. */
14382 #include <stdarg.h>
14384 main ()
14386 va_list ap1, ap2; __va_copy(ap1,ap2);
14388 return 0;
14390 _ACEOF
14391 rm -f conftest.$ac_objext conftest$ac_exeext
14392 if { (ac_try="$ac_link"
14393 case "(($ac_try" in
14394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14395 *) ac_try_echo=$ac_try;;
14396 esac
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_link") 2>conftest.er1
14399 ac_status=$?
14400 grep -v '^ *+' conftest.er1 >conftest.err
14401 rm -f conftest.er1
14402 cat conftest.err >&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); } && {
14405 test -z "$ac_c_werror_flag" ||
14406 test ! -s conftest.err
14407 } && test -s conftest$ac_exeext &&
14408 $as_test_x conftest$ac_exeext; then
14409 ac_cv_c___va_copy="yes"
14410 else
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.$ac_ext >&5
14414 ac_cv_c___va_copy="no"
14417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14418 conftest$ac_exeext conftest.$ac_ext
14421 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14422 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14423 if test "$ac_cv_c___va_copy" = "yes"
14424 then
14426 cat >>confdefs.h <<\_ACEOF
14427 #define HAVE___VA_COPY 1
14428 _ACEOF
14432 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14433 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14434 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 else
14437 cat >conftest.$ac_ext <<_ACEOF
14438 /* confdefs.h. */
14439 _ACEOF
14440 cat confdefs.h >>conftest.$ac_ext
14441 cat >>conftest.$ac_ext <<_ACEOF
14442 /* end confdefs.h. */
14443 #include <setjmp.h>
14445 main ()
14447 sigjmp_buf buf;
14448 sigsetjmp( buf, 1 );
14449 siglongjmp( buf, 1 );
14451 return 0;
14453 _ACEOF
14454 rm -f conftest.$ac_objext conftest$ac_exeext
14455 if { (ac_try="$ac_link"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14459 esac
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_link") 2>conftest.er1
14462 ac_status=$?
14463 grep -v '^ *+' conftest.er1 >conftest.err
14464 rm -f conftest.er1
14465 cat conftest.err >&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } && {
14468 test -z "$ac_c_werror_flag" ||
14469 test ! -s conftest.err
14470 } && test -s conftest$ac_exeext &&
14471 $as_test_x conftest$ac_exeext; then
14472 ac_cv_c_sigsetjmp="yes"
14473 else
14474 echo "$as_me: failed program was:" >&5
14475 sed 's/^/| /' conftest.$ac_ext >&5
14477 ac_cv_c_sigsetjmp="no"
14480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14481 conftest$ac_exeext conftest.$ac_ext
14484 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14485 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14486 if test "$ac_cv_c_sigsetjmp" = "yes"
14487 then
14489 cat >>confdefs.h <<\_ACEOF
14490 #define HAVE_SIGSETJMP 1
14491 _ACEOF
14495 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14496 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14497 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14498 echo $ECHO_N "(cached) $ECHO_C" >&6
14499 else
14500 cat >conftest.$ac_ext <<_ACEOF
14501 /* confdefs.h. */
14502 _ACEOF
14503 cat confdefs.h >>conftest.$ac_ext
14504 cat >>conftest.$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14506 #define _GNU_SOURCE
14507 #include <pthread.h>
14509 typedef pthread_rwlock_t ac__type_new_;
14511 main ()
14513 if ((ac__type_new_ *) 0)
14514 return 0;
14515 if (sizeof (ac__type_new_))
14516 return 0;
14518 return 0;
14520 _ACEOF
14521 rm -f conftest.$ac_objext
14522 if { (ac_try="$ac_compile"
14523 case "(($ac_try" in
14524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14525 *) ac_try_echo=$ac_try;;
14526 esac
14527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14528 (eval "$ac_compile") 2>conftest.er1
14529 ac_status=$?
14530 grep -v '^ *+' conftest.er1 >conftest.err
14531 rm -f conftest.er1
14532 cat conftest.err >&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } && {
14535 test -z "$ac_c_werror_flag" ||
14536 test ! -s conftest.err
14537 } && test -s conftest.$ac_objext; then
14538 ac_cv_type_pthread_rwlock_t=yes
14539 else
14540 echo "$as_me: failed program was:" >&5
14541 sed 's/^/| /' conftest.$ac_ext >&5
14543 ac_cv_type_pthread_rwlock_t=no
14546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14548 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14549 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14550 if test $ac_cv_type_pthread_rwlock_t = yes; then
14552 cat >>confdefs.h <<_ACEOF
14553 #define HAVE_PTHREAD_RWLOCK_T 1
14554 _ACEOF
14558 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14559 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14560 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 else
14563 cat >conftest.$ac_ext <<_ACEOF
14564 /* confdefs.h. */
14565 _ACEOF
14566 cat confdefs.h >>conftest.$ac_ext
14567 cat >>conftest.$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14569 #define _GNU_SOURCE
14570 #include <pthread.h>
14572 typedef pthread_rwlockattr_t ac__type_new_;
14574 main ()
14576 if ((ac__type_new_ *) 0)
14577 return 0;
14578 if (sizeof (ac__type_new_))
14579 return 0;
14581 return 0;
14583 _ACEOF
14584 rm -f conftest.$ac_objext
14585 if { (ac_try="$ac_compile"
14586 case "(($ac_try" in
14587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14588 *) ac_try_echo=$ac_try;;
14589 esac
14590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14591 (eval "$ac_compile") 2>conftest.er1
14592 ac_status=$?
14593 grep -v '^ *+' conftest.er1 >conftest.err
14594 rm -f conftest.er1
14595 cat conftest.err >&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } && {
14598 test -z "$ac_c_werror_flag" ||
14599 test ! -s conftest.err
14600 } && test -s conftest.$ac_objext; then
14601 ac_cv_type_pthread_rwlockattr_t=yes
14602 else
14603 echo "$as_me: failed program was:" >&5
14604 sed 's/^/| /' conftest.$ac_ext >&5
14606 ac_cv_type_pthread_rwlockattr_t=no
14609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14611 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14612 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14613 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14615 cat >>confdefs.h <<_ACEOF
14616 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14617 _ACEOF
14623 ac_wine_check_funcs_save_LIBS="$LIBS"
14624 LIBS="$LIBS $LIBPTHREAD"
14629 for ac_func in \
14630 pthread_attr_get_np \
14631 pthread_getattr_np \
14632 pthread_get_stackaddr_np \
14633 pthread_get_stacksize_np
14635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14636 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14638 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14639 echo $ECHO_N "(cached) $ECHO_C" >&6
14640 else
14641 cat >conftest.$ac_ext <<_ACEOF
14642 /* confdefs.h. */
14643 _ACEOF
14644 cat confdefs.h >>conftest.$ac_ext
14645 cat >>conftest.$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14649 #define $ac_func innocuous_$ac_func
14651 /* System header to define __stub macros and hopefully few prototypes,
14652 which can conflict with char $ac_func (); below.
14653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14654 <limits.h> exists even on freestanding compilers. */
14656 #ifdef __STDC__
14657 # include <limits.h>
14658 #else
14659 # include <assert.h>
14660 #endif
14662 #undef $ac_func
14664 /* Override any GCC internal prototype to avoid an error.
14665 Use char because int might match the return type of a GCC
14666 builtin and then its argument prototype would still apply. */
14667 #ifdef __cplusplus
14668 extern "C"
14669 #endif
14670 char $ac_func ();
14671 /* The GNU C library defines this for functions which it implements
14672 to always fail with ENOSYS. Some functions are actually named
14673 something starting with __ and the normal name is an alias. */
14674 #if defined __stub_$ac_func || defined __stub___$ac_func
14675 choke me
14676 #endif
14679 main ()
14681 return $ac_func ();
14683 return 0;
14685 _ACEOF
14686 rm -f conftest.$ac_objext conftest$ac_exeext
14687 if { (ac_try="$ac_link"
14688 case "(($ac_try" in
14689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14690 *) ac_try_echo=$ac_try;;
14691 esac
14692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14693 (eval "$ac_link") 2>conftest.er1
14694 ac_status=$?
14695 grep -v '^ *+' conftest.er1 >conftest.err
14696 rm -f conftest.er1
14697 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } && {
14700 test -z "$ac_c_werror_flag" ||
14701 test ! -s conftest.err
14702 } && test -s conftest$ac_exeext &&
14703 $as_test_x conftest$ac_exeext; then
14704 eval "$as_ac_var=yes"
14705 else
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14709 eval "$as_ac_var=no"
14712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14713 conftest$ac_exeext conftest.$ac_ext
14715 ac_res=`eval echo '${'$as_ac_var'}'`
14716 { echo "$as_me:$LINENO: result: $ac_res" >&5
14717 echo "${ECHO_T}$ac_res" >&6; }
14718 if test `eval echo '${'$as_ac_var'}'` = yes; then
14719 cat >>confdefs.h <<_ACEOF
14720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14721 _ACEOF
14724 done
14726 LIBS="$ac_wine_check_funcs_save_LIBS"
14728 # Extract the first word of "esd-config", so it can be a program name with args.
14729 set dummy esd-config; ac_word=$2
14730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14732 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14733 echo $ECHO_N "(cached) $ECHO_C" >&6
14734 else
14735 case $ESDCONFIG in
14736 [\\/]* | ?:[\\/]*)
14737 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14741 for as_dir in $PATH
14743 IFS=$as_save_IFS
14744 test -z "$as_dir" && as_dir=.
14745 for ac_exec_ext in '' $ac_executable_extensions; do
14746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14747 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14749 break 2
14751 done
14752 done
14753 IFS=$as_save_IFS
14756 esac
14758 ESDCONFIG=$ac_cv_path_ESDCONFIG
14759 if test -n "$ESDCONFIG"; then
14760 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14761 echo "${ECHO_T}$ESDCONFIG" >&6; }
14762 else
14763 { echo "$as_me:$LINENO: result: no" >&5
14764 echo "${ECHO_T}no" >&6; }
14768 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14769 then
14770 ESD_CFLAGS=""
14771 for i in `$ESDCONFIG --cflags`
14773 case "$i" in
14774 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14775 esac
14776 done
14777 ESD_LIBS=`$ESDCONFIG --libs`
14778 save_CFLAGS="$CFLAGS"
14779 CFLAGS="$CFLAGS $ESD_CFLAGS"
14780 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14781 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14782 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 else
14785 ac_check_lib_save_LIBS=$LIBS
14786 LIBS="-lesd $LIBS"
14787 cat >conftest.$ac_ext <<_ACEOF
14788 /* confdefs.h. */
14789 _ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14797 #ifdef __cplusplus
14798 extern "C"
14799 #endif
14800 char esd_open_sound ();
14802 main ()
14804 return esd_open_sound ();
14806 return 0;
14808 _ACEOF
14809 rm -f conftest.$ac_objext conftest$ac_exeext
14810 if { (ac_try="$ac_link"
14811 case "(($ac_try" in
14812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14813 *) ac_try_echo=$ac_try;;
14814 esac
14815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14816 (eval "$ac_link") 2>conftest.er1
14817 ac_status=$?
14818 grep -v '^ *+' conftest.er1 >conftest.err
14819 rm -f conftest.er1
14820 cat conftest.err >&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); } && {
14823 test -z "$ac_c_werror_flag" ||
14824 test ! -s conftest.err
14825 } && test -s conftest$ac_exeext &&
14826 $as_test_x conftest$ac_exeext; then
14827 ac_cv_lib_esd_esd_open_sound=yes
14828 else
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.$ac_ext >&5
14832 ac_cv_lib_esd_esd_open_sound=no
14835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14836 conftest$ac_exeext conftest.$ac_ext
14837 LIBS=$ac_check_lib_save_LIBS
14839 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14840 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14841 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14842 ESDLIBS=$ESD_LIBS
14844 ESDINCL=$ESD_CFLAGS
14847 cat >>confdefs.h <<\_ACEOF
14848 #define HAVE_ESD 1
14849 _ACEOF
14853 CFLAGS="$save_CFLAGS"
14856 ALSALIBS=""
14858 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14859 then
14860 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14861 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14862 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14863 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 else
14865 ac_check_lib_save_LIBS=$LIBS
14866 LIBS="-lasound $LIBS"
14867 cat >conftest.$ac_ext <<_ACEOF
14868 /* confdefs.h. */
14869 _ACEOF
14870 cat confdefs.h >>conftest.$ac_ext
14871 cat >>conftest.$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14874 /* Override any GCC internal prototype to avoid an error.
14875 Use char because int might match the return type of a GCC
14876 builtin and then its argument prototype would still apply. */
14877 #ifdef __cplusplus
14878 extern "C"
14879 #endif
14880 char snd_pcm_hw_params_get_access ();
14882 main ()
14884 return snd_pcm_hw_params_get_access ();
14886 return 0;
14888 _ACEOF
14889 rm -f conftest.$ac_objext conftest$ac_exeext
14890 if { (ac_try="$ac_link"
14891 case "(($ac_try" in
14892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14893 *) ac_try_echo=$ac_try;;
14894 esac
14895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14896 (eval "$ac_link") 2>conftest.er1
14897 ac_status=$?
14898 grep -v '^ *+' conftest.er1 >conftest.err
14899 rm -f conftest.er1
14900 cat conftest.err >&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } && {
14903 test -z "$ac_c_werror_flag" ||
14904 test ! -s conftest.err
14905 } && test -s conftest$ac_exeext &&
14906 $as_test_x conftest$ac_exeext; then
14907 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14908 else
14909 echo "$as_me: failed program was:" >&5
14910 sed 's/^/| /' conftest.$ac_ext >&5
14912 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14916 conftest$ac_exeext conftest.$ac_ext
14917 LIBS=$ac_check_lib_save_LIBS
14919 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14920 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14921 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14922 cat >conftest.$ac_ext <<_ACEOF
14923 /* confdefs.h. */
14924 _ACEOF
14925 cat confdefs.h >>conftest.$ac_ext
14926 cat >>conftest.$ac_ext <<_ACEOF
14927 /* end confdefs.h. */
14928 #ifdef HAVE_ALSA_ASOUNDLIB_H
14929 #include <alsa/asoundlib.h>
14930 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14931 #include <sys/asoundlib.h>
14932 #endif
14934 main ()
14936 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14938 return 0;
14940 _ACEOF
14941 rm -f conftest.$ac_objext
14942 if { (ac_try="$ac_compile"
14943 case "(($ac_try" in
14944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14945 *) ac_try_echo=$ac_try;;
14946 esac
14947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14948 (eval "$ac_compile") 2>conftest.er1
14949 ac_status=$?
14950 grep -v '^ *+' conftest.er1 >conftest.err
14951 rm -f conftest.er1
14952 cat conftest.err >&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } && {
14955 test -z "$ac_c_werror_flag" ||
14956 test ! -s conftest.err
14957 } && test -s conftest.$ac_objext; then
14959 cat >>confdefs.h <<\_ACEOF
14960 #define HAVE_ALSA 1
14961 _ACEOF
14963 ALSALIBS="-lasound"
14964 else
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.$ac_ext >&5
14971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14976 AUDIOIOLIBS=""
14978 if test "$ac_cv_header_libaudioio_h" = "yes"
14979 then
14980 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14981 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14982 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14984 else
14985 ac_check_lib_save_LIBS=$LIBS
14986 LIBS="-laudioio $LIBS"
14987 cat >conftest.$ac_ext <<_ACEOF
14988 /* confdefs.h. */
14989 _ACEOF
14990 cat confdefs.h >>conftest.$ac_ext
14991 cat >>conftest.$ac_ext <<_ACEOF
14992 /* end confdefs.h. */
14994 /* Override any GCC internal prototype to avoid an error.
14995 Use char because int might match the return type of a GCC
14996 builtin and then its argument prototype would still apply. */
14997 #ifdef __cplusplus
14998 extern "C"
14999 #endif
15000 char AudioIOGetVersion ();
15002 main ()
15004 return AudioIOGetVersion ();
15006 return 0;
15008 _ACEOF
15009 rm -f conftest.$ac_objext conftest$ac_exeext
15010 if { (ac_try="$ac_link"
15011 case "(($ac_try" in
15012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15013 *) ac_try_echo=$ac_try;;
15014 esac
15015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15016 (eval "$ac_link") 2>conftest.er1
15017 ac_status=$?
15018 grep -v '^ *+' conftest.er1 >conftest.err
15019 rm -f conftest.er1
15020 cat conftest.err >&5
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); } && {
15023 test -z "$ac_c_werror_flag" ||
15024 test ! -s conftest.err
15025 } && test -s conftest$ac_exeext &&
15026 $as_test_x conftest$ac_exeext; then
15027 ac_cv_lib_audioio_AudioIOGetVersion=yes
15028 else
15029 echo "$as_me: failed program was:" >&5
15030 sed 's/^/| /' conftest.$ac_ext >&5
15032 ac_cv_lib_audioio_AudioIOGetVersion=no
15035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15036 conftest$ac_exeext conftest.$ac_ext
15037 LIBS=$ac_check_lib_save_LIBS
15039 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15040 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15041 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15042 AUDIOIOLIBS="-laudioio"
15044 cat >>confdefs.h <<\_ACEOF
15045 #define HAVE_LIBAUDIOIO 1
15046 _ACEOF
15053 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15054 then
15055 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15056 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15057 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 else
15060 ac_check_soname_save_LIBS=$LIBS
15061 LIBS="-lcapi20 $LIBS"
15062 cat >conftest.$ac_ext <<_ACEOF
15063 /* confdefs.h. */
15064 _ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15069 /* Override any GCC internal prototype to avoid an error.
15070 Use char because int might match the return type of a GCC
15071 builtin and then its argument prototype would still apply. */
15072 #ifdef __cplusplus
15073 extern "C"
15074 #endif
15075 char capi20_register ();
15077 main ()
15079 return capi20_register ();
15081 return 0;
15083 _ACEOF
15084 rm -f conftest.$ac_objext conftest$ac_exeext
15085 if { (ac_try="$ac_link"
15086 case "(($ac_try" in
15087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15088 *) ac_try_echo=$ac_try;;
15089 esac
15090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15091 (eval "$ac_link") 2>conftest.er1
15092 ac_status=$?
15093 grep -v '^ *+' conftest.er1 >conftest.err
15094 rm -f conftest.er1
15095 cat conftest.err >&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); } && {
15098 test -z "$ac_c_werror_flag" ||
15099 test ! -s conftest.err
15100 } && test -s conftest$ac_exeext &&
15101 $as_test_x conftest$ac_exeext; then
15102 case "$LIBEXT" in
15103 dll) ;;
15104 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'` ;;
15105 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15106 esac
15107 else
15108 echo "$as_me: failed program was:" >&5
15109 sed 's/^/| /' conftest.$ac_ext >&5
15114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15115 conftest$ac_exeext conftest.$ac_ext
15116 LIBS=$ac_check_soname_save_LIBS
15118 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15119 { echo "$as_me:$LINENO: result: not found" >&5
15120 echo "${ECHO_T}not found" >&6; }
15122 else
15123 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15124 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15126 cat >>confdefs.h <<_ACEOF
15127 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15128 _ACEOF
15134 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15135 case "x$with_capi" in
15136 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15137 xno) ;;
15138 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15139 This is an error since --with-capi was requested." >&5
15140 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15141 This is an error since --with-capi was requested." >&2;}
15142 { (exit 1); exit 1; }; } ;;
15143 esac
15147 if test "$ac_cv_header_cups_cups_h" = "yes"
15148 then
15149 { echo "$as_me:$LINENO: checking for -lcups" >&5
15150 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15151 if test "${ac_cv_lib_soname_cups+set}" = set; then
15152 echo $ECHO_N "(cached) $ECHO_C" >&6
15153 else
15154 ac_check_soname_save_LIBS=$LIBS
15155 LIBS="-lcups $LIBS"
15156 cat >conftest.$ac_ext <<_ACEOF
15157 /* confdefs.h. */
15158 _ACEOF
15159 cat confdefs.h >>conftest.$ac_ext
15160 cat >>conftest.$ac_ext <<_ACEOF
15161 /* end confdefs.h. */
15163 /* Override any GCC internal prototype to avoid an error.
15164 Use char because int might match the return type of a GCC
15165 builtin and then its argument prototype would still apply. */
15166 #ifdef __cplusplus
15167 extern "C"
15168 #endif
15169 char cupsGetDefault ();
15171 main ()
15173 return cupsGetDefault ();
15175 return 0;
15177 _ACEOF
15178 rm -f conftest.$ac_objext conftest$ac_exeext
15179 if { (ac_try="$ac_link"
15180 case "(($ac_try" in
15181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15182 *) ac_try_echo=$ac_try;;
15183 esac
15184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15185 (eval "$ac_link") 2>conftest.er1
15186 ac_status=$?
15187 grep -v '^ *+' conftest.er1 >conftest.err
15188 rm -f conftest.er1
15189 cat conftest.err >&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } && {
15192 test -z "$ac_c_werror_flag" ||
15193 test ! -s conftest.err
15194 } && test -s conftest$ac_exeext &&
15195 $as_test_x conftest$ac_exeext; then
15196 case "$LIBEXT" in
15197 dll) ;;
15198 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'` ;;
15199 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15200 esac
15201 else
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15209 conftest$ac_exeext conftest.$ac_ext
15210 LIBS=$ac_check_soname_save_LIBS
15212 if test "x$ac_cv_lib_soname_cups" = "x"; then
15213 { echo "$as_me:$LINENO: result: not found" >&5
15214 echo "${ECHO_T}not found" >&6; }
15216 else
15217 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15218 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15220 cat >>confdefs.h <<_ACEOF
15221 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15222 _ACEOF
15228 if test "x$ac_cv_lib_soname_cups" = "x"; then
15229 case "x$with_cups" in
15230 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15231 xno) ;;
15232 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15233 This is an error since --with-cups was requested." >&5
15234 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15235 This is an error since --with-cups was requested." >&2;}
15236 { (exit 1); exit 1; }; } ;;
15237 esac
15241 if test "$ac_cv_header_jack_jack_h" = "yes"
15242 then
15243 { echo "$as_me:$LINENO: checking for -ljack" >&5
15244 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15245 if test "${ac_cv_lib_soname_jack+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 else
15248 ac_check_soname_save_LIBS=$LIBS
15249 LIBS="-ljack $LIBS"
15250 cat >conftest.$ac_ext <<_ACEOF
15251 /* confdefs.h. */
15252 _ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15257 /* Override any GCC internal prototype to avoid an error.
15258 Use char because int might match the return type of a GCC
15259 builtin and then its argument prototype would still apply. */
15260 #ifdef __cplusplus
15261 extern "C"
15262 #endif
15263 char jack_client_new ();
15265 main ()
15267 return jack_client_new ();
15269 return 0;
15271 _ACEOF
15272 rm -f conftest.$ac_objext conftest$ac_exeext
15273 if { (ac_try="$ac_link"
15274 case "(($ac_try" in
15275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15277 esac
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_link") 2>conftest.er1
15280 ac_status=$?
15281 grep -v '^ *+' conftest.er1 >conftest.err
15282 rm -f conftest.er1
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } && {
15286 test -z "$ac_c_werror_flag" ||
15287 test ! -s conftest.err
15288 } && test -s conftest$ac_exeext &&
15289 $as_test_x conftest$ac_exeext; then
15290 case "$LIBEXT" in
15291 dll) ;;
15292 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'` ;;
15293 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15294 esac
15295 else
15296 echo "$as_me: failed program was:" >&5
15297 sed 's/^/| /' conftest.$ac_ext >&5
15302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15303 conftest$ac_exeext conftest.$ac_ext
15304 LIBS=$ac_check_soname_save_LIBS
15306 if test "x$ac_cv_lib_soname_jack" = "x"; then
15307 { echo "$as_me:$LINENO: result: not found" >&5
15308 echo "${ECHO_T}not found" >&6; }
15310 else
15311 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15312 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15314 cat >>confdefs.h <<_ACEOF
15315 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15316 _ACEOF
15323 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15324 then
15325 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15326 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15327 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 else
15330 ac_check_soname_save_LIBS=$LIBS
15331 LIBS="-lfontconfig $LIBS"
15332 cat >conftest.$ac_ext <<_ACEOF
15333 /* confdefs.h. */
15334 _ACEOF
15335 cat confdefs.h >>conftest.$ac_ext
15336 cat >>conftest.$ac_ext <<_ACEOF
15337 /* end confdefs.h. */
15339 /* Override any GCC internal prototype to avoid an error.
15340 Use char because int might match the return type of a GCC
15341 builtin and then its argument prototype would still apply. */
15342 #ifdef __cplusplus
15343 extern "C"
15344 #endif
15345 char FcInit ();
15347 main ()
15349 return FcInit ();
15351 return 0;
15353 _ACEOF
15354 rm -f conftest.$ac_objext conftest$ac_exeext
15355 if { (ac_try="$ac_link"
15356 case "(($ac_try" in
15357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15358 *) ac_try_echo=$ac_try;;
15359 esac
15360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15361 (eval "$ac_link") 2>conftest.er1
15362 ac_status=$?
15363 grep -v '^ *+' conftest.er1 >conftest.err
15364 rm -f conftest.er1
15365 cat conftest.err >&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } && {
15368 test -z "$ac_c_werror_flag" ||
15369 test ! -s conftest.err
15370 } && test -s conftest$ac_exeext &&
15371 $as_test_x conftest$ac_exeext; then
15372 case "$LIBEXT" in
15373 dll) ;;
15374 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'` ;;
15375 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15376 esac
15377 else
15378 echo "$as_me: failed program was:" >&5
15379 sed 's/^/| /' conftest.$ac_ext >&5
15384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15385 conftest$ac_exeext conftest.$ac_ext
15386 LIBS=$ac_check_soname_save_LIBS
15388 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15389 { echo "$as_me:$LINENO: result: not found" >&5
15390 echo "${ECHO_T}not found" >&6; }
15392 else
15393 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15394 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15396 cat >>confdefs.h <<_ACEOF
15397 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15398 _ACEOF
15403 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15404 then
15405 ac_save_CPPFLAGS="$CPPFLAGS"
15406 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15407 $as_unset ac_cv_header_fontconfig_fontconfig_h
15409 for ac_header in fontconfig/fontconfig.h
15411 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15413 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 ac_res=`eval echo '${'$as_ac_Header'}'`
15419 { echo "$as_me:$LINENO: result: $ac_res" >&5
15420 echo "${ECHO_T}$ac_res" >&6; }
15421 else
15422 # Is the header compilable?
15423 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15424 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15425 cat >conftest.$ac_ext <<_ACEOF
15426 /* confdefs.h. */
15427 _ACEOF
15428 cat confdefs.h >>conftest.$ac_ext
15429 cat >>conftest.$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15431 $ac_includes_default
15432 #include <$ac_header>
15433 _ACEOF
15434 rm -f conftest.$ac_objext
15435 if { (ac_try="$ac_compile"
15436 case "(($ac_try" in
15437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15438 *) ac_try_echo=$ac_try;;
15439 esac
15440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15441 (eval "$ac_compile") 2>conftest.er1
15442 ac_status=$?
15443 grep -v '^ *+' conftest.er1 >conftest.err
15444 rm -f conftest.er1
15445 cat conftest.err >&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } && {
15448 test -z "$ac_c_werror_flag" ||
15449 test ! -s conftest.err
15450 } && test -s conftest.$ac_objext; then
15451 ac_header_compiler=yes
15452 else
15453 echo "$as_me: failed program was:" >&5
15454 sed 's/^/| /' conftest.$ac_ext >&5
15456 ac_header_compiler=no
15459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15460 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15461 echo "${ECHO_T}$ac_header_compiler" >&6; }
15463 # Is the header present?
15464 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15465 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15466 cat >conftest.$ac_ext <<_ACEOF
15467 /* confdefs.h. */
15468 _ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 #include <$ac_header>
15473 _ACEOF
15474 if { (ac_try="$ac_cpp conftest.$ac_ext"
15475 case "(($ac_try" in
15476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15477 *) ac_try_echo=$ac_try;;
15478 esac
15479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15480 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15481 ac_status=$?
15482 grep -v '^ *+' conftest.er1 >conftest.err
15483 rm -f conftest.er1
15484 cat conftest.err >&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); } >/dev/null && {
15487 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15488 test ! -s conftest.err
15489 }; then
15490 ac_header_preproc=yes
15491 else
15492 echo "$as_me: failed program was:" >&5
15493 sed 's/^/| /' conftest.$ac_ext >&5
15495 ac_header_preproc=no
15498 rm -f conftest.err conftest.$ac_ext
15499 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15500 echo "${ECHO_T}$ac_header_preproc" >&6; }
15502 # So? What about this header?
15503 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15504 yes:no: )
15505 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15506 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15508 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15509 ac_header_preproc=yes
15511 no:yes:* )
15512 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15513 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15514 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15515 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15516 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15517 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15518 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15519 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15522 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15523 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15524 ( cat <<\_ASBOX
15525 ## ------------------------------------ ##
15526 ## Report this to wine-devel@winehq.org ##
15527 ## ------------------------------------ ##
15528 _ASBOX
15529 ) | sed "s/^/$as_me: WARNING: /" >&2
15531 esac
15532 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 else
15537 eval "$as_ac_Header=\$ac_header_preproc"
15539 ac_res=`eval echo '${'$as_ac_Header'}'`
15540 { echo "$as_me:$LINENO: result: $ac_res" >&5
15541 echo "${ECHO_T}$ac_res" >&6; }
15544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15545 cat >>confdefs.h <<_ACEOF
15546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15547 _ACEOF
15551 done
15553 CPPFLAGS="$ac_save_CPPFLAGS"
15554 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15555 then
15556 FONTCONFIGINCL="$X_CFLAGS"
15558 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15559 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15560 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15561 echo $ECHO_N "(cached) $ECHO_C" >&6
15562 else
15563 ac_check_soname_save_LIBS=$LIBS
15564 LIBS="-lfontconfig $X_LIBS $LIBS"
15565 cat >conftest.$ac_ext <<_ACEOF
15566 /* confdefs.h. */
15567 _ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15572 /* Override any GCC internal prototype to avoid an error.
15573 Use char because int might match the return type of a GCC
15574 builtin and then its argument prototype would still apply. */
15575 #ifdef __cplusplus
15576 extern "C"
15577 #endif
15578 char FcInit ();
15580 main ()
15582 return FcInit ();
15584 return 0;
15586 _ACEOF
15587 rm -f conftest.$ac_objext conftest$ac_exeext
15588 if { (ac_try="$ac_link"
15589 case "(($ac_try" in
15590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15591 *) ac_try_echo=$ac_try;;
15592 esac
15593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15594 (eval "$ac_link") 2>conftest.er1
15595 ac_status=$?
15596 grep -v '^ *+' conftest.er1 >conftest.err
15597 rm -f conftest.er1
15598 cat conftest.err >&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } && {
15601 test -z "$ac_c_werror_flag" ||
15602 test ! -s conftest.err
15603 } && test -s conftest$ac_exeext &&
15604 $as_test_x conftest$ac_exeext; then
15605 case "$LIBEXT" in
15606 dll) ;;
15607 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'` ;;
15608 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15609 esac
15610 else
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.$ac_ext >&5
15617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15618 conftest$ac_exeext conftest.$ac_ext
15619 LIBS=$ac_check_soname_save_LIBS
15621 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15622 { echo "$as_me:$LINENO: result: not found" >&5
15623 echo "${ECHO_T}not found" >&6; }
15625 else
15626 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15627 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15629 cat >>confdefs.h <<_ACEOF
15630 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15631 _ACEOF
15638 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15639 case "x$with_fontconfig" in
15640 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15641 xno) ;;
15642 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15643 This is an error since --with-fontconfig was requested." >&5
15644 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15645 This is an error since --with-fontconfig was requested." >&2;}
15646 { (exit 1); exit 1; }; } ;;
15647 esac
15651 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15652 then
15653 { echo "$as_me:$LINENO: checking for -lssl" >&5
15654 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15655 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15656 echo $ECHO_N "(cached) $ECHO_C" >&6
15657 else
15658 ac_check_soname_save_LIBS=$LIBS
15659 LIBS="-lssl $LIBS"
15660 cat >conftest.$ac_ext <<_ACEOF
15661 /* confdefs.h. */
15662 _ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15667 /* Override any GCC internal prototype to avoid an error.
15668 Use char because int might match the return type of a GCC
15669 builtin and then its argument prototype would still apply. */
15670 #ifdef __cplusplus
15671 extern "C"
15672 #endif
15673 char SSL_library_init ();
15675 main ()
15677 return SSL_library_init ();
15679 return 0;
15681 _ACEOF
15682 rm -f conftest.$ac_objext conftest$ac_exeext
15683 if { (ac_try="$ac_link"
15684 case "(($ac_try" in
15685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15686 *) ac_try_echo=$ac_try;;
15687 esac
15688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15689 (eval "$ac_link") 2>conftest.er1
15690 ac_status=$?
15691 grep -v '^ *+' conftest.er1 >conftest.err
15692 rm -f conftest.er1
15693 cat conftest.err >&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } && {
15696 test -z "$ac_c_werror_flag" ||
15697 test ! -s conftest.err
15698 } && test -s conftest$ac_exeext &&
15699 $as_test_x conftest$ac_exeext; then
15700 case "$LIBEXT" in
15701 dll) ;;
15702 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'` ;;
15703 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15704 esac
15705 else
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15713 conftest$ac_exeext conftest.$ac_ext
15714 LIBS=$ac_check_soname_save_LIBS
15716 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15717 { echo "$as_me:$LINENO: result: not found" >&5
15718 echo "${ECHO_T}not found" >&6; }
15720 else
15721 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15722 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15724 cat >>confdefs.h <<_ACEOF
15725 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15726 _ACEOF
15731 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15732 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15733 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15734 echo $ECHO_N "(cached) $ECHO_C" >&6
15735 else
15736 ac_check_soname_save_LIBS=$LIBS
15737 LIBS="-lcrypto $LIBS"
15738 cat >conftest.$ac_ext <<_ACEOF
15739 /* confdefs.h. */
15740 _ACEOF
15741 cat confdefs.h >>conftest.$ac_ext
15742 cat >>conftest.$ac_ext <<_ACEOF
15743 /* end confdefs.h. */
15745 /* Override any GCC internal prototype to avoid an error.
15746 Use char because int might match the return type of a GCC
15747 builtin and then its argument prototype would still apply. */
15748 #ifdef __cplusplus
15749 extern "C"
15750 #endif
15751 char BIO_new_socket ();
15753 main ()
15755 return BIO_new_socket ();
15757 return 0;
15759 _ACEOF
15760 rm -f conftest.$ac_objext conftest$ac_exeext
15761 if { (ac_try="$ac_link"
15762 case "(($ac_try" in
15763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15764 *) ac_try_echo=$ac_try;;
15765 esac
15766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15767 (eval "$ac_link") 2>conftest.er1
15768 ac_status=$?
15769 grep -v '^ *+' conftest.er1 >conftest.err
15770 rm -f conftest.er1
15771 cat conftest.err >&5
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); } && {
15774 test -z "$ac_c_werror_flag" ||
15775 test ! -s conftest.err
15776 } && test -s conftest$ac_exeext &&
15777 $as_test_x conftest$ac_exeext; then
15778 case "$LIBEXT" in
15779 dll) ;;
15780 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'` ;;
15781 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15782 esac
15783 else
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.$ac_ext >&5
15790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15791 conftest$ac_exeext conftest.$ac_ext
15792 LIBS=$ac_check_soname_save_LIBS
15794 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15795 { echo "$as_me:$LINENO: result: not found" >&5
15796 echo "${ECHO_T}not found" >&6; }
15798 else
15799 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15800 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15802 cat >>confdefs.h <<_ACEOF
15803 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15804 _ACEOF
15810 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15811 case "x$with_openssl" in
15812 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15813 xno) ;;
15814 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15815 This is an error since --with-openssl was requested." >&5
15816 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15817 This is an error since --with-openssl was requested." >&2;}
15818 { (exit 1); exit 1; }; } ;;
15819 esac
15823 if test "$ac_cv_header_jpeglib_h" = "yes"
15824 then
15825 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15826 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15827 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15828 echo $ECHO_N "(cached) $ECHO_C" >&6
15829 else
15830 ac_check_soname_save_LIBS=$LIBS
15831 LIBS="-ljpeg $LIBS"
15832 cat >conftest.$ac_ext <<_ACEOF
15833 /* confdefs.h. */
15834 _ACEOF
15835 cat confdefs.h >>conftest.$ac_ext
15836 cat >>conftest.$ac_ext <<_ACEOF
15837 /* end confdefs.h. */
15839 /* Override any GCC internal prototype to avoid an error.
15840 Use char because int might match the return type of a GCC
15841 builtin and then its argument prototype would still apply. */
15842 #ifdef __cplusplus
15843 extern "C"
15844 #endif
15845 char jpeg_start_decompress ();
15847 main ()
15849 return jpeg_start_decompress ();
15851 return 0;
15853 _ACEOF
15854 rm -f conftest.$ac_objext conftest$ac_exeext
15855 if { (ac_try="$ac_link"
15856 case "(($ac_try" in
15857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15858 *) ac_try_echo=$ac_try;;
15859 esac
15860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15861 (eval "$ac_link") 2>conftest.er1
15862 ac_status=$?
15863 grep -v '^ *+' conftest.er1 >conftest.err
15864 rm -f conftest.er1
15865 cat conftest.err >&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); } && {
15868 test -z "$ac_c_werror_flag" ||
15869 test ! -s conftest.err
15870 } && test -s conftest$ac_exeext &&
15871 $as_test_x conftest$ac_exeext; then
15872 case "$LIBEXT" in
15873 dll) ;;
15874 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'` ;;
15875 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15876 esac
15877 else
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15885 conftest$ac_exeext conftest.$ac_ext
15886 LIBS=$ac_check_soname_save_LIBS
15888 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15889 { echo "$as_me:$LINENO: result: not found" >&5
15890 echo "${ECHO_T}not found" >&6; }
15892 else
15893 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15894 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15896 cat >>confdefs.h <<_ACEOF
15897 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15898 _ACEOF
15904 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15905 case "x$with_jpeg" in
15906 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15907 xno) ;;
15908 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15909 This is an error since --with-jpeg was requested." >&5
15910 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15911 This is an error since --with-jpeg was requested." >&2;}
15912 { (exit 1); exit 1; }; } ;;
15913 esac
15917 if test "$ac_cv_header_png_h" = "yes"
15918 then
15919 { echo "$as_me:$LINENO: checking for -lpng" >&5
15920 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15921 if test "${ac_cv_lib_soname_png+set}" = set; then
15922 echo $ECHO_N "(cached) $ECHO_C" >&6
15923 else
15924 ac_check_soname_save_LIBS=$LIBS
15925 LIBS="-lpng $LIBS"
15926 cat >conftest.$ac_ext <<_ACEOF
15927 /* confdefs.h. */
15928 _ACEOF
15929 cat confdefs.h >>conftest.$ac_ext
15930 cat >>conftest.$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15933 /* Override any GCC internal prototype to avoid an error.
15934 Use char because int might match the return type of a GCC
15935 builtin and then its argument prototype would still apply. */
15936 #ifdef __cplusplus
15937 extern "C"
15938 #endif
15939 char png_create_read_struct ();
15941 main ()
15943 return png_create_read_struct ();
15945 return 0;
15947 _ACEOF
15948 rm -f conftest.$ac_objext conftest$ac_exeext
15949 if { (ac_try="$ac_link"
15950 case "(($ac_try" in
15951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15952 *) ac_try_echo=$ac_try;;
15953 esac
15954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15955 (eval "$ac_link") 2>conftest.er1
15956 ac_status=$?
15957 grep -v '^ *+' conftest.er1 >conftest.err
15958 rm -f conftest.er1
15959 cat conftest.err >&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); } && {
15962 test -z "$ac_c_werror_flag" ||
15963 test ! -s conftest.err
15964 } && test -s conftest$ac_exeext &&
15965 $as_test_x conftest$ac_exeext; then
15966 case "$LIBEXT" in
15967 dll) ;;
15968 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'` ;;
15969 *) 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'` ;;
15970 esac
15971 else
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.$ac_ext >&5
15978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15979 conftest$ac_exeext conftest.$ac_ext
15980 LIBS=$ac_check_soname_save_LIBS
15982 if test "x$ac_cv_lib_soname_png" = "x"; then
15983 { echo "$as_me:$LINENO: result: not found" >&5
15984 echo "${ECHO_T}not found" >&6; }
15986 else
15987 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15988 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15990 cat >>confdefs.h <<_ACEOF
15991 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15992 _ACEOF
15998 if test "x$ac_cv_lib_soname_png" = "x"; then
15999 case "x$with_png" in
16000 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
16001 xno) ;;
16002 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
16003 This is an error since --with-png was requested." >&5
16004 echo "$as_me: error: libpng development files not found, PNG won't be supported.
16005 This is an error since --with-png was requested." >&2;}
16006 { (exit 1); exit 1; }; } ;;
16007 esac
16011 { echo "$as_me:$LINENO: checking for -lodbc" >&5
16012 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
16013 if test "${ac_cv_lib_soname_odbc+set}" = set; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16016 ac_check_soname_save_LIBS=$LIBS
16017 LIBS="-lodbc $LIBS"
16018 cat >conftest.$ac_ext <<_ACEOF
16019 /* confdefs.h. */
16020 _ACEOF
16021 cat confdefs.h >>conftest.$ac_ext
16022 cat >>conftest.$ac_ext <<_ACEOF
16023 /* end confdefs.h. */
16025 /* Override any GCC internal prototype to avoid an error.
16026 Use char because int might match the return type of a GCC
16027 builtin and then its argument prototype would still apply. */
16028 #ifdef __cplusplus
16029 extern "C"
16030 #endif
16031 char SQLConnect ();
16033 main ()
16035 return SQLConnect ();
16037 return 0;
16039 _ACEOF
16040 rm -f conftest.$ac_objext conftest$ac_exeext
16041 if { (ac_try="$ac_link"
16042 case "(($ac_try" in
16043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16044 *) ac_try_echo=$ac_try;;
16045 esac
16046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16047 (eval "$ac_link") 2>conftest.er1
16048 ac_status=$?
16049 grep -v '^ *+' conftest.er1 >conftest.err
16050 rm -f conftest.er1
16051 cat conftest.err >&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } && {
16054 test -z "$ac_c_werror_flag" ||
16055 test ! -s conftest.err
16056 } && test -s conftest$ac_exeext &&
16057 $as_test_x conftest$ac_exeext; then
16058 case "$LIBEXT" in
16059 dll) ;;
16060 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'` ;;
16061 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16062 esac
16063 else
16064 echo "$as_me: failed program was:" >&5
16065 sed 's/^/| /' conftest.$ac_ext >&5
16070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16071 conftest$ac_exeext conftest.$ac_ext
16072 LIBS=$ac_check_soname_save_LIBS
16074 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16075 { echo "$as_me:$LINENO: result: not found" >&5
16076 echo "${ECHO_T}not found" >&6; }
16077 cat >>confdefs.h <<_ACEOF
16078 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16079 _ACEOF
16081 else
16082 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16083 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16085 cat >>confdefs.h <<_ACEOF
16086 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16087 _ACEOF
16093 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16094 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16095 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16096 "$ac_cv_header_soundcard_h" != "yes" -a \
16097 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16098 then
16099 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16103 EXTRACFLAGS=""
16105 if test "x${GCC}" = "xyes"
16106 then
16107 EXTRACFLAGS="-Wall -pipe"
16109 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16110 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16111 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16112 echo $ECHO_N "(cached) $ECHO_C" >&6
16113 else
16114 if test "$cross_compiling" = yes; then
16115 ac_cv_c_gcc_strength_bug="yes"
16116 else
16117 cat >conftest.$ac_ext <<_ACEOF
16118 /* confdefs.h. */
16119 _ACEOF
16120 cat confdefs.h >>conftest.$ac_ext
16121 cat >>conftest.$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16123 int L[4] = {0,1,2,3};
16125 main ()
16127 static int Array[3];
16128 unsigned int B = 3;
16129 int i;
16130 for(i=0; i<B; i++) Array[i] = i - 3;
16131 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16132 L[i] = 4;
16133 exit( Array[1] != -2 || L[2] != 3)
16135 return 0;
16137 _ACEOF
16138 rm -f conftest$ac_exeext
16139 if { (ac_try="$ac_link"
16140 case "(($ac_try" in
16141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16142 *) ac_try_echo=$ac_try;;
16143 esac
16144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16145 (eval "$ac_link") 2>&5
16146 ac_status=$?
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16149 { (case "(($ac_try" in
16150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16151 *) ac_try_echo=$ac_try;;
16152 esac
16153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16154 (eval "$ac_try") 2>&5
16155 ac_status=$?
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); }; }; then
16158 ac_cv_c_gcc_strength_bug="no"
16159 else
16160 echo "$as_me: program exited with status $ac_status" >&5
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.$ac_ext >&5
16164 ( exit $ac_status )
16165 ac_cv_c_gcc_strength_bug="yes"
16167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16172 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16173 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16174 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16175 then
16176 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16180 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16181 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16182 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16183 echo $ECHO_N "(cached) $ECHO_C" >&6
16184 else
16185 ac_wine_try_cflags_saved=$CFLAGS
16186 CFLAGS="$CFLAGS -fshort-wchar"
16187 cat >conftest.$ac_ext <<_ACEOF
16188 /* confdefs.h. */
16189 _ACEOF
16190 cat confdefs.h >>conftest.$ac_ext
16191 cat >>conftest.$ac_ext <<_ACEOF
16192 /* end confdefs.h. */
16195 main ()
16199 return 0;
16201 _ACEOF
16202 rm -f conftest.$ac_objext conftest$ac_exeext
16203 if { (ac_try="$ac_link"
16204 case "(($ac_try" in
16205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16206 *) ac_try_echo=$ac_try;;
16207 esac
16208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16209 (eval "$ac_link") 2>conftest.er1
16210 ac_status=$?
16211 grep -v '^ *+' conftest.er1 >conftest.err
16212 rm -f conftest.er1
16213 cat conftest.err >&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } && {
16216 test -z "$ac_c_werror_flag" ||
16217 test ! -s conftest.err
16218 } && test -s conftest$ac_exeext &&
16219 $as_test_x conftest$ac_exeext; then
16220 ac_cv_cflags__fshort_wchar=yes
16221 else
16222 echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.$ac_ext >&5
16225 ac_cv_cflags__fshort_wchar=no
16228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16229 conftest$ac_exeext conftest.$ac_ext
16230 CFLAGS=$ac_wine_try_cflags_saved
16232 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16233 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16234 if test $ac_cv_cflags__fshort_wchar = yes; then
16236 cat >>confdefs.h <<\_ACEOF
16237 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16238 _ACEOF
16242 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16243 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16244 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16246 else
16247 ac_wine_try_cflags_saved=$CFLAGS
16248 CFLAGS="$CFLAGS -fno-strict-aliasing"
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16257 main ()
16261 return 0;
16263 _ACEOF
16264 rm -f conftest.$ac_objext conftest$ac_exeext
16265 if { (ac_try="$ac_link"
16266 case "(($ac_try" in
16267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16268 *) ac_try_echo=$ac_try;;
16269 esac
16270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16271 (eval "$ac_link") 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } && {
16278 test -z "$ac_c_werror_flag" ||
16279 test ! -s conftest.err
16280 } && test -s conftest$ac_exeext &&
16281 $as_test_x conftest$ac_exeext; then
16282 ac_cv_cflags__fno_strict_aliasing=yes
16283 else
16284 echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.$ac_ext >&5
16287 ac_cv_cflags__fno_strict_aliasing=no
16290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16291 conftest$ac_exeext conftest.$ac_ext
16292 CFLAGS=$ac_wine_try_cflags_saved
16294 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16295 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16296 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16297 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16300 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16301 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16302 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16303 echo $ECHO_N "(cached) $ECHO_C" >&6
16304 else
16305 ac_wine_try_cflags_saved=$CFLAGS
16306 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16307 cat >conftest.$ac_ext <<_ACEOF
16308 /* confdefs.h. */
16309 _ACEOF
16310 cat confdefs.h >>conftest.$ac_ext
16311 cat >>conftest.$ac_ext <<_ACEOF
16312 /* end confdefs.h. */
16315 main ()
16319 return 0;
16321 _ACEOF
16322 rm -f conftest.$ac_objext conftest$ac_exeext
16323 if { (ac_try="$ac_link"
16324 case "(($ac_try" in
16325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16326 *) ac_try_echo=$ac_try;;
16327 esac
16328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16329 (eval "$ac_link") 2>conftest.er1
16330 ac_status=$?
16331 grep -v '^ *+' conftest.er1 >conftest.err
16332 rm -f conftest.er1
16333 cat conftest.err >&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); } && {
16336 test -z "$ac_c_werror_flag" ||
16337 test ! -s conftest.err
16338 } && test -s conftest$ac_exeext &&
16339 $as_test_x conftest$ac_exeext; then
16340 ac_cv_cflags__Wdeclaration_after_statement=yes
16341 else
16342 echo "$as_me: failed program was:" >&5
16343 sed 's/^/| /' conftest.$ac_ext >&5
16345 ac_cv_cflags__Wdeclaration_after_statement=no
16348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16349 conftest$ac_exeext conftest.$ac_ext
16350 CFLAGS=$ac_wine_try_cflags_saved
16352 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16353 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16354 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16355 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16358 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16359 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16360 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16362 else
16363 ac_wine_try_cflags_saved=$CFLAGS
16364 CFLAGS="$CFLAGS -Wwrite-strings"
16365 cat >conftest.$ac_ext <<_ACEOF
16366 /* confdefs.h. */
16367 _ACEOF
16368 cat confdefs.h >>conftest.$ac_ext
16369 cat >>conftest.$ac_ext <<_ACEOF
16370 /* end confdefs.h. */
16373 main ()
16377 return 0;
16379 _ACEOF
16380 rm -f conftest.$ac_objext conftest$ac_exeext
16381 if { (ac_try="$ac_link"
16382 case "(($ac_try" in
16383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16384 *) ac_try_echo=$ac_try;;
16385 esac
16386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16387 (eval "$ac_link") 2>conftest.er1
16388 ac_status=$?
16389 grep -v '^ *+' conftest.er1 >conftest.err
16390 rm -f conftest.er1
16391 cat conftest.err >&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); } && {
16394 test -z "$ac_c_werror_flag" ||
16395 test ! -s conftest.err
16396 } && test -s conftest$ac_exeext &&
16397 $as_test_x conftest$ac_exeext; then
16398 ac_cv_cflags__Wwrite_strings=yes
16399 else
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.$ac_ext >&5
16403 ac_cv_cflags__Wwrite_strings=no
16406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16407 conftest$ac_exeext conftest.$ac_ext
16408 CFLAGS=$ac_wine_try_cflags_saved
16410 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16411 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16412 if test $ac_cv_cflags__Wwrite_strings = yes; then
16413 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16416 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16417 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16418 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16419 echo $ECHO_N "(cached) $ECHO_C" >&6
16420 else
16421 ac_wine_try_cflags_saved=$CFLAGS
16422 CFLAGS="$CFLAGS -Wtype-limits"
16423 cat >conftest.$ac_ext <<_ACEOF
16424 /* confdefs.h. */
16425 _ACEOF
16426 cat confdefs.h >>conftest.$ac_ext
16427 cat >>conftest.$ac_ext <<_ACEOF
16428 /* end confdefs.h. */
16431 main ()
16435 return 0;
16437 _ACEOF
16438 rm -f conftest.$ac_objext conftest$ac_exeext
16439 if { (ac_try="$ac_link"
16440 case "(($ac_try" in
16441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16442 *) ac_try_echo=$ac_try;;
16443 esac
16444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16445 (eval "$ac_link") 2>conftest.er1
16446 ac_status=$?
16447 grep -v '^ *+' conftest.er1 >conftest.err
16448 rm -f conftest.er1
16449 cat conftest.err >&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); } && {
16452 test -z "$ac_c_werror_flag" ||
16453 test ! -s conftest.err
16454 } && test -s conftest$ac_exeext &&
16455 $as_test_x conftest$ac_exeext; then
16456 ac_cv_cflags__Wtype_limits=yes
16457 else
16458 echo "$as_me: failed program was:" >&5
16459 sed 's/^/| /' conftest.$ac_ext >&5
16461 ac_cv_cflags__Wtype_limits=no
16464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16465 conftest$ac_exeext conftest.$ac_ext
16466 CFLAGS=$ac_wine_try_cflags_saved
16468 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16469 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16470 if test $ac_cv_cflags__Wtype_limits = yes; then
16471 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16475 saved_CFLAGS="$CFLAGS"
16476 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16477 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16478 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16479 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16480 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 else
16482 cat >conftest.$ac_ext <<_ACEOF
16483 /* confdefs.h. */
16484 _ACEOF
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488 #include <string.h>
16490 main ()
16494 return 0;
16496 _ACEOF
16497 rm -f conftest.$ac_objext
16498 if { (ac_try="$ac_compile"
16499 case "(($ac_try" in
16500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16501 *) ac_try_echo=$ac_try;;
16502 esac
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_compile") 2>conftest.er1
16505 ac_status=$?
16506 grep -v '^ *+' conftest.er1 >conftest.err
16507 rm -f conftest.er1
16508 cat conftest.err >&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } && {
16511 test -z "$ac_c_werror_flag" ||
16512 test ! -s conftest.err
16513 } && test -s conftest.$ac_objext; then
16514 ac_cv_c_string_h_warnings=no
16515 else
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16519 ac_cv_c_string_h_warnings=yes
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16524 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16525 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16526 CFLAGS="$saved_CFLAGS"
16527 if test "$ac_cv_c_string_h_warnings" = "no"
16528 then
16529 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16532 BUILTINFLAG=""
16534 saved_CFLAGS="$CFLAGS"
16535 CFLAGS="$CFLAGS -Werror"
16536 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16537 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16538 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 else
16541 cat >conftest.$ac_ext <<_ACEOF
16542 /* confdefs.h. */
16543 _ACEOF
16544 cat confdefs.h >>conftest.$ac_ext
16545 cat >>conftest.$ac_ext <<_ACEOF
16546 /* end confdefs.h. */
16549 main ()
16551 int iswlower(unsigned short);
16553 return 0;
16555 _ACEOF
16556 rm -f conftest.$ac_objext
16557 if { (ac_try="$ac_compile"
16558 case "(($ac_try" in
16559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16560 *) ac_try_echo=$ac_try;;
16561 esac
16562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16563 (eval "$ac_compile") 2>conftest.er1
16564 ac_status=$?
16565 grep -v '^ *+' conftest.er1 >conftest.err
16566 rm -f conftest.er1
16567 cat conftest.err >&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } && {
16570 test -z "$ac_c_werror_flag" ||
16571 test ! -s conftest.err
16572 } && test -s conftest.$ac_objext; then
16573 ac_cv_c_builtin_wchar_ctype=no
16574 else
16575 echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.$ac_ext >&5
16578 ac_cv_c_builtin_wchar_ctype=yes
16581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16583 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16584 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16585 CFLAGS="$saved_CFLAGS"
16586 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16587 then
16588 BUILTINFLAG="-fno-builtin"
16593 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16594 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16595 if test "${ac_cv_asm_func_def+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 else
16598 cat >conftest.$ac_ext <<_ACEOF
16599 /* confdefs.h. */
16600 _ACEOF
16601 cat confdefs.h >>conftest.$ac_ext
16602 cat >>conftest.$ac_ext <<_ACEOF
16603 /* end confdefs.h. */
16606 main ()
16608 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16610 return 0;
16612 _ACEOF
16613 rm -f conftest.$ac_objext conftest$ac_exeext
16614 if { (ac_try="$ac_link"
16615 case "(($ac_try" in
16616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16617 *) ac_try_echo=$ac_try;;
16618 esac
16619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16620 (eval "$ac_link") 2>conftest.er1
16621 ac_status=$?
16622 grep -v '^ *+' conftest.er1 >conftest.err
16623 rm -f conftest.er1
16624 cat conftest.err >&5
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); } && {
16627 test -z "$ac_c_werror_flag" ||
16628 test ! -s conftest.err
16629 } && test -s conftest$ac_exeext &&
16630 $as_test_x conftest$ac_exeext; then
16631 ac_cv_asm_func_def=".def"
16632 else
16633 echo "$as_me: failed program was:" >&5
16634 sed 's/^/| /' conftest.$ac_ext >&5
16636 cat >conftest.$ac_ext <<_ACEOF
16637 /* confdefs.h. */
16638 _ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16644 main ()
16646 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16648 return 0;
16650 _ACEOF
16651 rm -f conftest.$ac_objext conftest$ac_exeext
16652 if { (ac_try="$ac_link"
16653 case "(($ac_try" in
16654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16655 *) ac_try_echo=$ac_try;;
16656 esac
16657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16658 (eval "$ac_link") 2>conftest.er1
16659 ac_status=$?
16660 grep -v '^ *+' conftest.er1 >conftest.err
16661 rm -f conftest.er1
16662 cat conftest.err >&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); } && {
16665 test -z "$ac_c_werror_flag" ||
16666 test ! -s conftest.err
16667 } && test -s conftest$ac_exeext &&
16668 $as_test_x conftest$ac_exeext; then
16669 ac_cv_asm_func_def=".type @function"
16670 else
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.$ac_ext >&5
16674 cat >conftest.$ac_ext <<_ACEOF
16675 /* confdefs.h. */
16676 _ACEOF
16677 cat confdefs.h >>conftest.$ac_ext
16678 cat >>conftest.$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16682 main ()
16684 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16686 return 0;
16688 _ACEOF
16689 rm -f conftest.$ac_objext conftest$ac_exeext
16690 if { (ac_try="$ac_link"
16691 case "(($ac_try" in
16692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16693 *) ac_try_echo=$ac_try;;
16694 esac
16695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16696 (eval "$ac_link") 2>conftest.er1
16697 ac_status=$?
16698 grep -v '^ *+' conftest.er1 >conftest.err
16699 rm -f conftest.er1
16700 cat conftest.err >&5
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); } && {
16703 test -z "$ac_c_werror_flag" ||
16704 test ! -s conftest.err
16705 } && test -s conftest$ac_exeext &&
16706 $as_test_x conftest$ac_exeext; then
16707 ac_cv_asm_func_def=".type 2"
16708 else
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.$ac_ext >&5
16712 ac_cv_asm_func_def="unknown"
16715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16716 conftest$ac_exeext conftest.$ac_ext
16719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16720 conftest$ac_exeext conftest.$ac_ext
16723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16724 conftest$ac_exeext conftest.$ac_ext
16726 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16727 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16731 case "$ac_cv_asm_func_def" in
16732 ".def")
16733 cat >>confdefs.h <<\_ACEOF
16734 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16735 _ACEOF
16737 ".type @function")
16738 cat >>confdefs.h <<\_ACEOF
16739 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16740 _ACEOF
16742 ".type 2")
16743 cat >>confdefs.h <<\_ACEOF
16744 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16745 _ACEOF
16748 cat >>confdefs.h <<\_ACEOF
16749 #define __ASM_FUNC(name) ""
16750 _ACEOF
16752 esac
16755 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16756 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16757 if test "${ac_cv_c_extern_prefix+set}" = set; then
16758 echo $ECHO_N "(cached) $ECHO_C" >&6
16759 else
16760 cat >conftest.$ac_ext <<_ACEOF
16761 /* confdefs.h. */
16762 _ACEOF
16763 cat confdefs.h >>conftest.$ac_ext
16764 cat >>conftest.$ac_ext <<_ACEOF
16765 /* end confdefs.h. */
16766 extern int ac_test;
16768 main ()
16770 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16772 return 0;
16774 _ACEOF
16775 rm -f conftest.$ac_objext conftest$ac_exeext
16776 if { (ac_try="$ac_link"
16777 case "(($ac_try" in
16778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16779 *) ac_try_echo=$ac_try;;
16780 esac
16781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16782 (eval "$ac_link") 2>conftest.er1
16783 ac_status=$?
16784 grep -v '^ *+' conftest.er1 >conftest.err
16785 rm -f conftest.er1
16786 cat conftest.err >&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } && {
16789 test -z "$ac_c_werror_flag" ||
16790 test ! -s conftest.err
16791 } && test -s conftest$ac_exeext &&
16792 $as_test_x conftest$ac_exeext; then
16793 ac_cv_c_extern_prefix="yes"
16794 else
16795 echo "$as_me: failed program was:" >&5
16796 sed 's/^/| /' conftest.$ac_ext >&5
16798 ac_cv_c_extern_prefix="no"
16801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16802 conftest$ac_exeext conftest.$ac_ext
16804 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16805 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16809 if test "$ac_cv_c_extern_prefix" = "yes"
16810 then
16811 cat >>confdefs.h <<\_ACEOF
16812 #define __ASM_NAME(name) "_" name
16813 _ACEOF
16815 else
16816 cat >>confdefs.h <<\_ACEOF
16817 #define __ASM_NAME(name) name
16818 _ACEOF
16823 LDPATH=""
16825 case $build_os in
16826 cygwin*|mingw32*)
16827 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16829 darwin*|macosx*)
16831 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16832 then
16833 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16837 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16839 esac
16841 case $host_os in
16842 mingw32*)
16843 CRTLIBS="-lmsvcrt"
16845 SOCKETLIBS="-lws2_32"
16848 esac
16850 MAIN_BINARY="wine-pthread"
16851 case $host_cpu in
16852 *i[3456789]86*)
16853 case $host_os in
16854 linux* | k*bsd*-gnu)
16855 MAIN_BINARY="wine-glibc"
16857 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16859 freebsd*)
16860 MAIN_BINARY="wine-freebsd"
16862 EXTRA_BINARIES="wine-pthread"
16864 esac
16866 esac
16938 for ac_func in \
16939 _pclose \
16940 _popen \
16941 _snprintf \
16942 _spawnvp \
16943 _strdup \
16944 _stricmp \
16945 _strnicmp \
16946 _strtoi64 \
16947 _strtoui64 \
16948 _vsnprintf \
16949 asctime_r \
16950 chsize \
16951 clone \
16952 dlopen \
16953 epoll_create \
16954 ffs \
16955 finite \
16956 fork \
16957 fpclass \
16958 fstatfs \
16959 fstatvfs \
16960 ftruncate \
16961 futimes \
16962 futimesat \
16963 getdirentries \
16964 getopt_long \
16965 getpagesize \
16966 getpwuid \
16967 gettid \
16968 gettimeofday \
16969 getuid \
16970 inet_pton \
16971 kqueue \
16972 lstat \
16973 memmove \
16974 mmap \
16975 pclose \
16976 poll \
16977 popen \
16978 prctl \
16979 pread \
16980 pwrite \
16981 readlink \
16982 rfork \
16983 sched_yield \
16984 select \
16985 setproctitle \
16986 setrlimit \
16987 settimeofday \
16988 sigaltstack \
16989 sigprocmask \
16990 snprintf \
16991 spawnvp \
16992 statfs \
16993 statvfs \
16994 strcasecmp \
16995 strdup \
16996 strerror \
16997 strncasecmp \
16998 strtold \
16999 strtoll \
17000 strtoull \
17001 tcgetattr \
17002 thr_kill2 \
17003 timegm \
17004 usleep \
17005 vsnprintf \
17006 wait4 \
17007 waitpid \
17010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17011 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17013 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17014 echo $ECHO_N "(cached) $ECHO_C" >&6
17015 else
17016 cat >conftest.$ac_ext <<_ACEOF
17017 /* confdefs.h. */
17018 _ACEOF
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17024 #define $ac_func innocuous_$ac_func
17026 /* System header to define __stub macros and hopefully few prototypes,
17027 which can conflict with char $ac_func (); below.
17028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17029 <limits.h> exists even on freestanding compilers. */
17031 #ifdef __STDC__
17032 # include <limits.h>
17033 #else
17034 # include <assert.h>
17035 #endif
17037 #undef $ac_func
17039 /* Override any GCC internal prototype to avoid an error.
17040 Use char because int might match the return type of a GCC
17041 builtin and then its argument prototype would still apply. */
17042 #ifdef __cplusplus
17043 extern "C"
17044 #endif
17045 char $ac_func ();
17046 /* The GNU C library defines this for functions which it implements
17047 to always fail with ENOSYS. Some functions are actually named
17048 something starting with __ and the normal name is an alias. */
17049 #if defined __stub_$ac_func || defined __stub___$ac_func
17050 choke me
17051 #endif
17054 main ()
17056 return $ac_func ();
17058 return 0;
17060 _ACEOF
17061 rm -f conftest.$ac_objext conftest$ac_exeext
17062 if { (ac_try="$ac_link"
17063 case "(($ac_try" in
17064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17065 *) ac_try_echo=$ac_try;;
17066 esac
17067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17068 (eval "$ac_link") 2>conftest.er1
17069 ac_status=$?
17070 grep -v '^ *+' conftest.er1 >conftest.err
17071 rm -f conftest.er1
17072 cat conftest.err >&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } && {
17075 test -z "$ac_c_werror_flag" ||
17076 test ! -s conftest.err
17077 } && test -s conftest$ac_exeext &&
17078 $as_test_x conftest$ac_exeext; then
17079 eval "$as_ac_var=yes"
17080 else
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17084 eval "$as_ac_var=no"
17087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17088 conftest$ac_exeext conftest.$ac_ext
17090 ac_res=`eval echo '${'$as_ac_var'}'`
17091 { echo "$as_me:$LINENO: result: $ac_res" >&5
17092 echo "${ECHO_T}$ac_res" >&6; }
17093 if test `eval echo '${'$as_ac_var'}'` = yes; then
17094 cat >>confdefs.h <<_ACEOF
17095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17096 _ACEOF
17099 done
17102 if test "$ac_cv_func_dlopen" = no
17103 then
17104 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17105 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17106 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17108 else
17109 ac_check_lib_save_LIBS=$LIBS
17110 LIBS="-ldl $LIBS"
17111 cat >conftest.$ac_ext <<_ACEOF
17112 /* confdefs.h. */
17113 _ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17118 /* Override any GCC internal prototype to avoid an error.
17119 Use char because int might match the return type of a GCC
17120 builtin and then its argument prototype would still apply. */
17121 #ifdef __cplusplus
17122 extern "C"
17123 #endif
17124 char dlopen ();
17126 main ()
17128 return dlopen ();
17130 return 0;
17132 _ACEOF
17133 rm -f conftest.$ac_objext conftest$ac_exeext
17134 if { (ac_try="$ac_link"
17135 case "(($ac_try" in
17136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17137 *) ac_try_echo=$ac_try;;
17138 esac
17139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17140 (eval "$ac_link") 2>conftest.er1
17141 ac_status=$?
17142 grep -v '^ *+' conftest.er1 >conftest.err
17143 rm -f conftest.er1
17144 cat conftest.err >&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } && {
17147 test -z "$ac_c_werror_flag" ||
17148 test ! -s conftest.err
17149 } && test -s conftest$ac_exeext &&
17150 $as_test_x conftest$ac_exeext; then
17151 ac_cv_lib_dl_dlopen=yes
17152 else
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.$ac_ext >&5
17156 ac_cv_lib_dl_dlopen=no
17159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17160 conftest$ac_exeext conftest.$ac_ext
17161 LIBS=$ac_check_lib_save_LIBS
17163 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17164 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17165 if test $ac_cv_lib_dl_dlopen = yes; then
17166 cat >>confdefs.h <<\_ACEOF
17167 #define HAVE_DLOPEN 1
17168 _ACEOF
17169 LIBDL="-ldl"
17174 ac_wine_check_funcs_save_LIBS="$LIBS"
17175 LIBS="$LIBS $LIBDL"
17177 for ac_func in dladdr
17179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17182 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17183 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 else
17185 cat >conftest.$ac_ext <<_ACEOF
17186 /* confdefs.h. */
17187 _ACEOF
17188 cat confdefs.h >>conftest.$ac_ext
17189 cat >>conftest.$ac_ext <<_ACEOF
17190 /* end confdefs.h. */
17191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17193 #define $ac_func innocuous_$ac_func
17195 /* System header to define __stub macros and hopefully few prototypes,
17196 which can conflict with char $ac_func (); below.
17197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17198 <limits.h> exists even on freestanding compilers. */
17200 #ifdef __STDC__
17201 # include <limits.h>
17202 #else
17203 # include <assert.h>
17204 #endif
17206 #undef $ac_func
17208 /* Override any GCC internal prototype to avoid an error.
17209 Use char because int might match the return type of a GCC
17210 builtin and then its argument prototype would still apply. */
17211 #ifdef __cplusplus
17212 extern "C"
17213 #endif
17214 char $ac_func ();
17215 /* The GNU C library defines this for functions which it implements
17216 to always fail with ENOSYS. Some functions are actually named
17217 something starting with __ and the normal name is an alias. */
17218 #if defined __stub_$ac_func || defined __stub___$ac_func
17219 choke me
17220 #endif
17223 main ()
17225 return $ac_func ();
17227 return 0;
17229 _ACEOF
17230 rm -f conftest.$ac_objext conftest$ac_exeext
17231 if { (ac_try="$ac_link"
17232 case "(($ac_try" in
17233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17234 *) ac_try_echo=$ac_try;;
17235 esac
17236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17237 (eval "$ac_link") 2>conftest.er1
17238 ac_status=$?
17239 grep -v '^ *+' conftest.er1 >conftest.err
17240 rm -f conftest.er1
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } && {
17244 test -z "$ac_c_werror_flag" ||
17245 test ! -s conftest.err
17246 } && test -s conftest$ac_exeext &&
17247 $as_test_x conftest$ac_exeext; then
17248 eval "$as_ac_var=yes"
17249 else
17250 echo "$as_me: failed program was:" >&5
17251 sed 's/^/| /' conftest.$ac_ext >&5
17253 eval "$as_ac_var=no"
17256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17257 conftest$ac_exeext conftest.$ac_ext
17259 ac_res=`eval echo '${'$as_ac_var'}'`
17260 { echo "$as_me:$LINENO: result: $ac_res" >&5
17261 echo "${ECHO_T}$ac_res" >&6; }
17262 if test `eval echo '${'$as_ac_var'}'` = yes; then
17263 cat >>confdefs.h <<_ACEOF
17264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17265 _ACEOF
17268 done
17270 LIBS="$ac_wine_check_funcs_save_LIBS"
17272 if test "$ac_cv_func_poll" = no
17273 then
17274 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17275 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17276 if test "${ac_cv_lib_poll_poll+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 else
17279 ac_check_lib_save_LIBS=$LIBS
17280 LIBS="-lpoll $LIBS"
17281 cat >conftest.$ac_ext <<_ACEOF
17282 /* confdefs.h. */
17283 _ACEOF
17284 cat confdefs.h >>conftest.$ac_ext
17285 cat >>conftest.$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17288 /* Override any GCC internal prototype to avoid an error.
17289 Use char because int might match the return type of a GCC
17290 builtin and then its argument prototype would still apply. */
17291 #ifdef __cplusplus
17292 extern "C"
17293 #endif
17294 char poll ();
17296 main ()
17298 return poll ();
17300 return 0;
17302 _ACEOF
17303 rm -f conftest.$ac_objext conftest$ac_exeext
17304 if { (ac_try="$ac_link"
17305 case "(($ac_try" in
17306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17308 esac
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_link") 2>conftest.er1
17311 ac_status=$?
17312 grep -v '^ *+' conftest.er1 >conftest.err
17313 rm -f conftest.er1
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_c_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest$ac_exeext &&
17320 $as_test_x conftest$ac_exeext; then
17321 ac_cv_lib_poll_poll=yes
17322 else
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.$ac_ext >&5
17326 ac_cv_lib_poll_poll=no
17329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17330 conftest$ac_exeext conftest.$ac_ext
17331 LIBS=$ac_check_lib_save_LIBS
17333 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17334 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17335 if test $ac_cv_lib_poll_poll = yes; then
17336 cat >>confdefs.h <<\_ACEOF
17337 #define HAVE_POLL 1
17338 _ACEOF
17339 LIBPOLL="-lpoll"
17345 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17346 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17347 if test "${ac_cv_search_gethostbyname+set}" = set; then
17348 echo $ECHO_N "(cached) $ECHO_C" >&6
17349 else
17350 ac_func_search_save_LIBS=$LIBS
17351 cat >conftest.$ac_ext <<_ACEOF
17352 /* confdefs.h. */
17353 _ACEOF
17354 cat confdefs.h >>conftest.$ac_ext
17355 cat >>conftest.$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17358 /* Override any GCC internal prototype to avoid an error.
17359 Use char because int might match the return type of a GCC
17360 builtin and then its argument prototype would still apply. */
17361 #ifdef __cplusplus
17362 extern "C"
17363 #endif
17364 char gethostbyname ();
17366 main ()
17368 return gethostbyname ();
17370 return 0;
17372 _ACEOF
17373 for ac_lib in '' nsl; do
17374 if test -z "$ac_lib"; then
17375 ac_res="none required"
17376 else
17377 ac_res=-l$ac_lib
17378 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17380 rm -f conftest.$ac_objext conftest$ac_exeext
17381 if { (ac_try="$ac_link"
17382 case "(($ac_try" in
17383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17384 *) ac_try_echo=$ac_try;;
17385 esac
17386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17387 (eval "$ac_link") 2>conftest.er1
17388 ac_status=$?
17389 grep -v '^ *+' conftest.er1 >conftest.err
17390 rm -f conftest.er1
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } && {
17394 test -z "$ac_c_werror_flag" ||
17395 test ! -s conftest.err
17396 } && test -s conftest$ac_exeext &&
17397 $as_test_x conftest$ac_exeext; then
17398 ac_cv_search_gethostbyname=$ac_res
17399 else
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.$ac_ext >&5
17406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17407 conftest$ac_exeext
17408 if test "${ac_cv_search_gethostbyname+set}" = set; then
17409 break
17411 done
17412 if test "${ac_cv_search_gethostbyname+set}" = set; then
17414 else
17415 ac_cv_search_gethostbyname=no
17417 rm conftest.$ac_ext
17418 LIBS=$ac_func_search_save_LIBS
17420 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17421 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17422 ac_res=$ac_cv_search_gethostbyname
17423 if test "$ac_res" != no; then
17424 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17429 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17430 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17431 if test "${ac_cv_search_connect+set}" = set; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17433 else
17434 ac_func_search_save_LIBS=$LIBS
17435 cat >conftest.$ac_ext <<_ACEOF
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17442 /* Override any GCC internal prototype to avoid an error.
17443 Use char because int might match the return type of a GCC
17444 builtin and then its argument prototype would still apply. */
17445 #ifdef __cplusplus
17446 extern "C"
17447 #endif
17448 char connect ();
17450 main ()
17452 return connect ();
17454 return 0;
17456 _ACEOF
17457 for ac_lib in '' socket; do
17458 if test -z "$ac_lib"; then
17459 ac_res="none required"
17460 else
17461 ac_res=-l$ac_lib
17462 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17464 rm -f conftest.$ac_objext conftest$ac_exeext
17465 if { (ac_try="$ac_link"
17466 case "(($ac_try" in
17467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17468 *) ac_try_echo=$ac_try;;
17469 esac
17470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17471 (eval "$ac_link") 2>conftest.er1
17472 ac_status=$?
17473 grep -v '^ *+' conftest.er1 >conftest.err
17474 rm -f conftest.er1
17475 cat conftest.err >&5
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); } && {
17478 test -z "$ac_c_werror_flag" ||
17479 test ! -s conftest.err
17480 } && test -s conftest$ac_exeext &&
17481 $as_test_x conftest$ac_exeext; then
17482 ac_cv_search_connect=$ac_res
17483 else
17484 echo "$as_me: failed program was:" >&5
17485 sed 's/^/| /' conftest.$ac_ext >&5
17490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17491 conftest$ac_exeext
17492 if test "${ac_cv_search_connect+set}" = set; then
17493 break
17495 done
17496 if test "${ac_cv_search_connect+set}" = set; then
17498 else
17499 ac_cv_search_connect=no
17501 rm conftest.$ac_ext
17502 LIBS=$ac_func_search_save_LIBS
17504 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17505 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17506 ac_res=$ac_cv_search_connect
17507 if test "$ac_res" != no; then
17508 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17513 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17514 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17515 if test "${ac_cv_search_inet_aton+set}" = set; then
17516 echo $ECHO_N "(cached) $ECHO_C" >&6
17517 else
17518 ac_func_search_save_LIBS=$LIBS
17519 cat >conftest.$ac_ext <<_ACEOF
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17526 /* Override any GCC internal prototype to avoid an error.
17527 Use char because int might match the return type of a GCC
17528 builtin and then its argument prototype would still apply. */
17529 #ifdef __cplusplus
17530 extern "C"
17531 #endif
17532 char inet_aton ();
17534 main ()
17536 return inet_aton ();
17538 return 0;
17540 _ACEOF
17541 for ac_lib in '' resolv; do
17542 if test -z "$ac_lib"; then
17543 ac_res="none required"
17544 else
17545 ac_res=-l$ac_lib
17546 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17548 rm -f conftest.$ac_objext conftest$ac_exeext
17549 if { (ac_try="$ac_link"
17550 case "(($ac_try" in
17551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17552 *) ac_try_echo=$ac_try;;
17553 esac
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_link") 2>conftest.er1
17556 ac_status=$?
17557 grep -v '^ *+' conftest.er1 >conftest.err
17558 rm -f conftest.er1
17559 cat conftest.err >&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } && {
17562 test -z "$ac_c_werror_flag" ||
17563 test ! -s conftest.err
17564 } && test -s conftest$ac_exeext &&
17565 $as_test_x conftest$ac_exeext; then
17566 ac_cv_search_inet_aton=$ac_res
17567 else
17568 echo "$as_me: failed program was:" >&5
17569 sed 's/^/| /' conftest.$ac_ext >&5
17574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17575 conftest$ac_exeext
17576 if test "${ac_cv_search_inet_aton+set}" = set; then
17577 break
17579 done
17580 if test "${ac_cv_search_inet_aton+set}" = set; then
17582 else
17583 ac_cv_search_inet_aton=no
17585 rm conftest.$ac_ext
17586 LIBS=$ac_func_search_save_LIBS
17588 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17589 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17590 ac_res=$ac_cv_search_inet_aton
17591 if test "$ac_res" != no; then
17592 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17605 for ac_func in \
17606 getaddrinfo \
17607 getnameinfo \
17608 getnetbyname \
17609 getprotobyname \
17610 getprotobynumber \
17611 getservbyport \
17612 inet_network \
17613 sendmsg \
17616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17617 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17619 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17620 echo $ECHO_N "(cached) $ECHO_C" >&6
17621 else
17622 cat >conftest.$ac_ext <<_ACEOF
17623 /* confdefs.h. */
17624 _ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17630 #define $ac_func innocuous_$ac_func
17632 /* System header to define __stub macros and hopefully few prototypes,
17633 which can conflict with char $ac_func (); below.
17634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17635 <limits.h> exists even on freestanding compilers. */
17637 #ifdef __STDC__
17638 # include <limits.h>
17639 #else
17640 # include <assert.h>
17641 #endif
17643 #undef $ac_func
17645 /* Override any GCC internal prototype to avoid an error.
17646 Use char because int might match the return type of a GCC
17647 builtin and then its argument prototype would still apply. */
17648 #ifdef __cplusplus
17649 extern "C"
17650 #endif
17651 char $ac_func ();
17652 /* The GNU C library defines this for functions which it implements
17653 to always fail with ENOSYS. Some functions are actually named
17654 something starting with __ and the normal name is an alias. */
17655 #if defined __stub_$ac_func || defined __stub___$ac_func
17656 choke me
17657 #endif
17660 main ()
17662 return $ac_func ();
17664 return 0;
17666 _ACEOF
17667 rm -f conftest.$ac_objext conftest$ac_exeext
17668 if { (ac_try="$ac_link"
17669 case "(($ac_try" in
17670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17671 *) ac_try_echo=$ac_try;;
17672 esac
17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_link") 2>conftest.er1
17675 ac_status=$?
17676 grep -v '^ *+' conftest.er1 >conftest.err
17677 rm -f conftest.er1
17678 cat conftest.err >&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } && {
17681 test -z "$ac_c_werror_flag" ||
17682 test ! -s conftest.err
17683 } && test -s conftest$ac_exeext &&
17684 $as_test_x conftest$ac_exeext; then
17685 eval "$as_ac_var=yes"
17686 else
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17690 eval "$as_ac_var=no"
17693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17694 conftest$ac_exeext conftest.$ac_ext
17696 ac_res=`eval echo '${'$as_ac_var'}'`
17697 { echo "$as_me:$LINENO: result: $ac_res" >&5
17698 echo "${ECHO_T}$ac_res" >&6; }
17699 if test `eval echo '${'$as_ac_var'}'` = yes; then
17700 cat >>confdefs.h <<_ACEOF
17701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17702 _ACEOF
17705 done
17709 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17710 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17711 if test "${ac_cv_c_const+set}" = set; then
17712 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 else
17714 cat >conftest.$ac_ext <<_ACEOF
17715 /* confdefs.h. */
17716 _ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17722 main ()
17724 /* FIXME: Include the comments suggested by Paul. */
17725 #ifndef __cplusplus
17726 /* Ultrix mips cc rejects this. */
17727 typedef int charset[2];
17728 const charset cs;
17729 /* SunOS 4.1.1 cc rejects this. */
17730 char const *const *pcpcc;
17731 char **ppc;
17732 /* NEC SVR4.0.2 mips cc rejects this. */
17733 struct point {int x, y;};
17734 static struct point const zero = {0,0};
17735 /* AIX XL C 1.02.0.0 rejects this.
17736 It does not let you subtract one const X* pointer from another in
17737 an arm of an if-expression whose if-part is not a constant
17738 expression */
17739 const char *g = "string";
17740 pcpcc = &g + (g ? g-g : 0);
17741 /* HPUX 7.0 cc rejects these. */
17742 ++pcpcc;
17743 ppc = (char**) pcpcc;
17744 pcpcc = (char const *const *) ppc;
17745 { /* SCO 3.2v4 cc rejects this. */
17746 char *t;
17747 char const *s = 0 ? (char *) 0 : (char const *) 0;
17749 *t++ = 0;
17750 if (s) return 0;
17752 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17753 int x[] = {25, 17};
17754 const int *foo = &x[0];
17755 ++foo;
17757 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17758 typedef const int *iptr;
17759 iptr p = 0;
17760 ++p;
17762 { /* AIX XL C 1.02.0.0 rejects this saying
17763 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17764 struct s { int j; const int *ap[3]; };
17765 struct s *b; b->j = 5;
17767 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17768 const int foo = 10;
17769 if (!foo) return 0;
17771 return !cs[0] && !zero.x;
17772 #endif
17775 return 0;
17777 _ACEOF
17778 rm -f conftest.$ac_objext
17779 if { (ac_try="$ac_compile"
17780 case "(($ac_try" in
17781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17782 *) ac_try_echo=$ac_try;;
17783 esac
17784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17785 (eval "$ac_compile") 2>conftest.er1
17786 ac_status=$?
17787 grep -v '^ *+' conftest.er1 >conftest.err
17788 rm -f conftest.er1
17789 cat conftest.err >&5
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); } && {
17792 test -z "$ac_c_werror_flag" ||
17793 test ! -s conftest.err
17794 } && test -s conftest.$ac_objext; then
17795 ac_cv_c_const=yes
17796 else
17797 echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17800 ac_cv_c_const=no
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17806 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17807 if test $ac_cv_c_const = no; then
17809 cat >>confdefs.h <<\_ACEOF
17810 #define const
17811 _ACEOF
17815 { echo "$as_me:$LINENO: checking for inline" >&5
17816 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17817 if test "${ac_cv_c_inline+set}" = set; then
17818 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 else
17820 ac_cv_c_inline=no
17821 for ac_kw in inline __inline__ __inline; do
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #ifndef __cplusplus
17829 typedef int foo_t;
17830 static $ac_kw foo_t static_foo () {return 0; }
17831 $ac_kw foo_t foo () {return 0; }
17832 #endif
17834 _ACEOF
17835 rm -f conftest.$ac_objext
17836 if { (ac_try="$ac_compile"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17839 *) ac_try_echo=$ac_try;;
17840 esac
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_compile") 2>conftest.er1
17843 ac_status=$?
17844 grep -v '^ *+' conftest.er1 >conftest.err
17845 rm -f conftest.er1
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_c_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest.$ac_objext; then
17852 ac_cv_c_inline=$ac_kw
17853 else
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.$ac_ext >&5
17860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17861 test "$ac_cv_c_inline" != no && break
17862 done
17865 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17866 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17869 case $ac_cv_c_inline in
17870 inline | yes) ;;
17872 case $ac_cv_c_inline in
17873 no) ac_val=;;
17874 *) ac_val=$ac_cv_c_inline;;
17875 esac
17876 cat >>confdefs.h <<_ACEOF
17877 #ifndef __cplusplus
17878 #define inline $ac_val
17879 #endif
17880 _ACEOF
17882 esac
17884 { echo "$as_me:$LINENO: checking for mode_t" >&5
17885 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17886 if test "${ac_cv_type_mode_t+set}" = set; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 else
17889 cat >conftest.$ac_ext <<_ACEOF
17890 /* confdefs.h. */
17891 _ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895 $ac_includes_default
17896 typedef mode_t ac__type_new_;
17898 main ()
17900 if ((ac__type_new_ *) 0)
17901 return 0;
17902 if (sizeof (ac__type_new_))
17903 return 0;
17905 return 0;
17907 _ACEOF
17908 rm -f conftest.$ac_objext
17909 if { (ac_try="$ac_compile"
17910 case "(($ac_try" in
17911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17912 *) ac_try_echo=$ac_try;;
17913 esac
17914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17915 (eval "$ac_compile") 2>conftest.er1
17916 ac_status=$?
17917 grep -v '^ *+' conftest.er1 >conftest.err
17918 rm -f conftest.er1
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } && {
17922 test -z "$ac_c_werror_flag" ||
17923 test ! -s conftest.err
17924 } && test -s conftest.$ac_objext; then
17925 ac_cv_type_mode_t=yes
17926 else
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.$ac_ext >&5
17930 ac_cv_type_mode_t=no
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17935 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17936 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17937 if test $ac_cv_type_mode_t = yes; then
17939 cat >>confdefs.h <<_ACEOF
17940 #define HAVE_MODE_T 1
17941 _ACEOF
17945 { echo "$as_me:$LINENO: checking for off_t" >&5
17946 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17947 if test "${ac_cv_type_off_t+set}" = set; then
17948 echo $ECHO_N "(cached) $ECHO_C" >&6
17949 else
17950 cat >conftest.$ac_ext <<_ACEOF
17951 /* confdefs.h. */
17952 _ACEOF
17953 cat confdefs.h >>conftest.$ac_ext
17954 cat >>conftest.$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17956 $ac_includes_default
17957 typedef off_t ac__type_new_;
17959 main ()
17961 if ((ac__type_new_ *) 0)
17962 return 0;
17963 if (sizeof (ac__type_new_))
17964 return 0;
17966 return 0;
17968 _ACEOF
17969 rm -f conftest.$ac_objext
17970 if { (ac_try="$ac_compile"
17971 case "(($ac_try" in
17972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17973 *) ac_try_echo=$ac_try;;
17974 esac
17975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17976 (eval "$ac_compile") 2>conftest.er1
17977 ac_status=$?
17978 grep -v '^ *+' conftest.er1 >conftest.err
17979 rm -f conftest.er1
17980 cat conftest.err >&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); } && {
17983 test -z "$ac_c_werror_flag" ||
17984 test ! -s conftest.err
17985 } && test -s conftest.$ac_objext; then
17986 ac_cv_type_off_t=yes
17987 else
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17991 ac_cv_type_off_t=no
17994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17996 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17997 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17998 if test $ac_cv_type_off_t = yes; then
18000 cat >>confdefs.h <<_ACEOF
18001 #define HAVE_OFF_T 1
18002 _ACEOF
18006 { echo "$as_me:$LINENO: checking for pid_t" >&5
18007 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
18008 if test "${ac_cv_type_pid_t+set}" = set; then
18009 echo $ECHO_N "(cached) $ECHO_C" >&6
18010 else
18011 cat >conftest.$ac_ext <<_ACEOF
18012 /* confdefs.h. */
18013 _ACEOF
18014 cat confdefs.h >>conftest.$ac_ext
18015 cat >>conftest.$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017 $ac_includes_default
18018 typedef pid_t ac__type_new_;
18020 main ()
18022 if ((ac__type_new_ *) 0)
18023 return 0;
18024 if (sizeof (ac__type_new_))
18025 return 0;
18027 return 0;
18029 _ACEOF
18030 rm -f conftest.$ac_objext
18031 if { (ac_try="$ac_compile"
18032 case "(($ac_try" in
18033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18034 *) ac_try_echo=$ac_try;;
18035 esac
18036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18037 (eval "$ac_compile") 2>conftest.er1
18038 ac_status=$?
18039 grep -v '^ *+' conftest.er1 >conftest.err
18040 rm -f conftest.er1
18041 cat conftest.err >&5
18042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043 (exit $ac_status); } && {
18044 test -z "$ac_c_werror_flag" ||
18045 test ! -s conftest.err
18046 } && test -s conftest.$ac_objext; then
18047 ac_cv_type_pid_t=yes
18048 else
18049 echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.$ac_ext >&5
18052 ac_cv_type_pid_t=no
18055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18057 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18058 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18059 if test $ac_cv_type_pid_t = yes; then
18061 cat >>confdefs.h <<_ACEOF
18062 #define HAVE_PID_T 1
18063 _ACEOF
18067 { echo "$as_me:$LINENO: checking for size_t" >&5
18068 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18069 if test "${ac_cv_type_size_t+set}" = set; then
18070 echo $ECHO_N "(cached) $ECHO_C" >&6
18071 else
18072 cat >conftest.$ac_ext <<_ACEOF
18073 /* confdefs.h. */
18074 _ACEOF
18075 cat confdefs.h >>conftest.$ac_ext
18076 cat >>conftest.$ac_ext <<_ACEOF
18077 /* end confdefs.h. */
18078 $ac_includes_default
18079 typedef size_t ac__type_new_;
18081 main ()
18083 if ((ac__type_new_ *) 0)
18084 return 0;
18085 if (sizeof (ac__type_new_))
18086 return 0;
18088 return 0;
18090 _ACEOF
18091 rm -f conftest.$ac_objext
18092 if { (ac_try="$ac_compile"
18093 case "(($ac_try" in
18094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18095 *) ac_try_echo=$ac_try;;
18096 esac
18097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18098 (eval "$ac_compile") 2>conftest.er1
18099 ac_status=$?
18100 grep -v '^ *+' conftest.er1 >conftest.err
18101 rm -f conftest.er1
18102 cat conftest.err >&5
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); } && {
18105 test -z "$ac_c_werror_flag" ||
18106 test ! -s conftest.err
18107 } && test -s conftest.$ac_objext; then
18108 ac_cv_type_size_t=yes
18109 else
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18113 ac_cv_type_size_t=no
18116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18118 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18119 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18120 if test $ac_cv_type_size_t = yes; then
18122 cat >>confdefs.h <<_ACEOF
18123 #define HAVE_SIZE_T 1
18124 _ACEOF
18128 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18129 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18130 if test "${ac_cv_type_ssize_t+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18132 else
18133 cat >conftest.$ac_ext <<_ACEOF
18134 /* confdefs.h. */
18135 _ACEOF
18136 cat confdefs.h >>conftest.$ac_ext
18137 cat >>conftest.$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 $ac_includes_default
18140 typedef ssize_t ac__type_new_;
18142 main ()
18144 if ((ac__type_new_ *) 0)
18145 return 0;
18146 if (sizeof (ac__type_new_))
18147 return 0;
18149 return 0;
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18157 esac
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_compile") 2>conftest.er1
18160 ac_status=$?
18161 grep -v '^ *+' conftest.er1 >conftest.err
18162 rm -f conftest.er1
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } && {
18166 test -z "$ac_c_werror_flag" ||
18167 test ! -s conftest.err
18168 } && test -s conftest.$ac_objext; then
18169 ac_cv_type_ssize_t=yes
18170 else
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18174 ac_cv_type_ssize_t=no
18177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18179 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18180 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18181 if test $ac_cv_type_ssize_t = yes; then
18183 cat >>confdefs.h <<_ACEOF
18184 #define HAVE_SSIZE_T 1
18185 _ACEOF
18189 { echo "$as_me:$LINENO: checking for long long" >&5
18190 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18191 if test "${ac_cv_type_long_long+set}" = set; then
18192 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 else
18194 cat >conftest.$ac_ext <<_ACEOF
18195 /* confdefs.h. */
18196 _ACEOF
18197 cat confdefs.h >>conftest.$ac_ext
18198 cat >>conftest.$ac_ext <<_ACEOF
18199 /* end confdefs.h. */
18200 $ac_includes_default
18201 typedef long long ac__type_new_;
18203 main ()
18205 if ((ac__type_new_ *) 0)
18206 return 0;
18207 if (sizeof (ac__type_new_))
18208 return 0;
18210 return 0;
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (ac_try="$ac_compile"
18215 case "(($ac_try" in
18216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18217 *) ac_try_echo=$ac_try;;
18218 esac
18219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18220 (eval "$ac_compile") 2>conftest.er1
18221 ac_status=$?
18222 grep -v '^ *+' conftest.er1 >conftest.err
18223 rm -f conftest.er1
18224 cat conftest.err >&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); } && {
18227 test -z "$ac_c_werror_flag" ||
18228 test ! -s conftest.err
18229 } && test -s conftest.$ac_objext; then
18230 ac_cv_type_long_long=yes
18231 else
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18235 ac_cv_type_long_long=no
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18240 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18241 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18242 if test $ac_cv_type_long_long = yes; then
18244 cat >>confdefs.h <<_ACEOF
18245 #define HAVE_LONG_LONG 1
18246 _ACEOF
18250 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18251 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18252 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 else
18255 cat >conftest.$ac_ext <<_ACEOF
18256 /* confdefs.h. */
18257 _ACEOF
18258 cat confdefs.h >>conftest.$ac_ext
18259 cat >>conftest.$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18261 $ac_includes_default
18262 typedef fsblkcnt_t ac__type_new_;
18264 main ()
18266 if ((ac__type_new_ *) 0)
18267 return 0;
18268 if (sizeof (ac__type_new_))
18269 return 0;
18271 return 0;
18273 _ACEOF
18274 rm -f conftest.$ac_objext
18275 if { (ac_try="$ac_compile"
18276 case "(($ac_try" in
18277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18278 *) ac_try_echo=$ac_try;;
18279 esac
18280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18281 (eval "$ac_compile") 2>conftest.er1
18282 ac_status=$?
18283 grep -v '^ *+' conftest.er1 >conftest.err
18284 rm -f conftest.er1
18285 cat conftest.err >&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); } && {
18288 test -z "$ac_c_werror_flag" ||
18289 test ! -s conftest.err
18290 } && test -s conftest.$ac_objext; then
18291 ac_cv_type_fsblkcnt_t=yes
18292 else
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.$ac_ext >&5
18296 ac_cv_type_fsblkcnt_t=no
18299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18301 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18302 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18303 if test $ac_cv_type_fsblkcnt_t = yes; then
18305 cat >>confdefs.h <<_ACEOF
18306 #define HAVE_FSBLKCNT_T 1
18307 _ACEOF
18311 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18312 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18313 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18314 echo $ECHO_N "(cached) $ECHO_C" >&6
18315 else
18316 cat >conftest.$ac_ext <<_ACEOF
18317 /* confdefs.h. */
18318 _ACEOF
18319 cat confdefs.h >>conftest.$ac_ext
18320 cat >>conftest.$ac_ext <<_ACEOF
18321 /* end confdefs.h. */
18322 $ac_includes_default
18323 typedef fsfilcnt_t ac__type_new_;
18325 main ()
18327 if ((ac__type_new_ *) 0)
18328 return 0;
18329 if (sizeof (ac__type_new_))
18330 return 0;
18332 return 0;
18334 _ACEOF
18335 rm -f conftest.$ac_objext
18336 if { (ac_try="$ac_compile"
18337 case "(($ac_try" in
18338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18339 *) ac_try_echo=$ac_try;;
18340 esac
18341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18342 (eval "$ac_compile") 2>conftest.er1
18343 ac_status=$?
18344 grep -v '^ *+' conftest.er1 >conftest.err
18345 rm -f conftest.er1
18346 cat conftest.err >&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } && {
18349 test -z "$ac_c_werror_flag" ||
18350 test ! -s conftest.err
18351 } && test -s conftest.$ac_objext; then
18352 ac_cv_type_fsfilcnt_t=yes
18353 else
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.$ac_ext >&5
18357 ac_cv_type_fsfilcnt_t=no
18360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18362 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18363 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18364 if test $ac_cv_type_fsfilcnt_t = yes; then
18366 cat >>confdefs.h <<_ACEOF
18367 #define HAVE_FSFILCNT_T 1
18368 _ACEOF
18373 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18374 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18375 if test "${ac_cv_type_sigset_t+set}" = set; then
18376 echo $ECHO_N "(cached) $ECHO_C" >&6
18377 else
18378 cat >conftest.$ac_ext <<_ACEOF
18379 /* confdefs.h. */
18380 _ACEOF
18381 cat confdefs.h >>conftest.$ac_ext
18382 cat >>conftest.$ac_ext <<_ACEOF
18383 /* end confdefs.h. */
18384 #include <signal.h>
18386 typedef sigset_t ac__type_new_;
18388 main ()
18390 if ((ac__type_new_ *) 0)
18391 return 0;
18392 if (sizeof (ac__type_new_))
18393 return 0;
18395 return 0;
18397 _ACEOF
18398 rm -f conftest.$ac_objext
18399 if { (ac_try="$ac_compile"
18400 case "(($ac_try" in
18401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18403 esac
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_compile") 2>conftest.er1
18406 ac_status=$?
18407 grep -v '^ *+' conftest.er1 >conftest.err
18408 rm -f conftest.er1
18409 cat conftest.err >&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } && {
18412 test -z "$ac_c_werror_flag" ||
18413 test ! -s conftest.err
18414 } && test -s conftest.$ac_objext; then
18415 ac_cv_type_sigset_t=yes
18416 else
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18420 ac_cv_type_sigset_t=no
18423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18426 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18427 if test $ac_cv_type_sigset_t = yes; then
18429 cat >>confdefs.h <<_ACEOF
18430 #define HAVE_SIGSET_T 1
18431 _ACEOF
18436 { echo "$as_me:$LINENO: checking for request_sense" >&5
18437 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18438 if test "${ac_cv_type_request_sense+set}" = set; then
18439 echo $ECHO_N "(cached) $ECHO_C" >&6
18440 else
18441 cat >conftest.$ac_ext <<_ACEOF
18442 /* confdefs.h. */
18443 _ACEOF
18444 cat confdefs.h >>conftest.$ac_ext
18445 cat >>conftest.$ac_ext <<_ACEOF
18446 /* end confdefs.h. */
18447 #include <linux/cdrom.h>
18449 typedef request_sense ac__type_new_;
18451 main ()
18453 if ((ac__type_new_ *) 0)
18454 return 0;
18455 if (sizeof (ac__type_new_))
18456 return 0;
18458 return 0;
18460 _ACEOF
18461 rm -f conftest.$ac_objext
18462 if { (ac_try="$ac_compile"
18463 case "(($ac_try" in
18464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18465 *) ac_try_echo=$ac_try;;
18466 esac
18467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18468 (eval "$ac_compile") 2>conftest.er1
18469 ac_status=$?
18470 grep -v '^ *+' conftest.er1 >conftest.err
18471 rm -f conftest.er1
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } && {
18475 test -z "$ac_c_werror_flag" ||
18476 test ! -s conftest.err
18477 } && test -s conftest.$ac_objext; then
18478 ac_cv_type_request_sense=yes
18479 else
18480 echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.$ac_ext >&5
18483 ac_cv_type_request_sense=no
18486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18489 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18490 if test $ac_cv_type_request_sense = yes; then
18492 cat >>confdefs.h <<_ACEOF
18493 #define HAVE_REQUEST_SENSE 1
18494 _ACEOF
18500 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18501 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18502 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18503 echo $ECHO_N "(cached) $ECHO_C" >&6
18504 else
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 #ifdef HAVE_LINUX_INPUT_H
18512 #include <linux/input.h>
18513 #endif
18516 main ()
18518 static struct ff_effect ac_aggr;
18519 if (ac_aggr.direction)
18520 return 0;
18522 return 0;
18524 _ACEOF
18525 rm -f conftest.$ac_objext
18526 if { (ac_try="$ac_compile"
18527 case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18530 esac
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_compile") 2>conftest.er1
18533 ac_status=$?
18534 grep -v '^ *+' conftest.er1 >conftest.err
18535 rm -f conftest.er1
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } && {
18539 test -z "$ac_c_werror_flag" ||
18540 test ! -s conftest.err
18541 } && test -s conftest.$ac_objext; then
18542 ac_cv_member_struct_ff_effect_direction=yes
18543 else
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18547 cat >conftest.$ac_ext <<_ACEOF
18548 /* confdefs.h. */
18549 _ACEOF
18550 cat confdefs.h >>conftest.$ac_ext
18551 cat >>conftest.$ac_ext <<_ACEOF
18552 /* end confdefs.h. */
18553 #ifdef HAVE_LINUX_INPUT_H
18554 #include <linux/input.h>
18555 #endif
18558 main ()
18560 static struct ff_effect ac_aggr;
18561 if (sizeof ac_aggr.direction)
18562 return 0;
18564 return 0;
18566 _ACEOF
18567 rm -f conftest.$ac_objext
18568 if { (ac_try="$ac_compile"
18569 case "(($ac_try" in
18570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18571 *) ac_try_echo=$ac_try;;
18572 esac
18573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18574 (eval "$ac_compile") 2>conftest.er1
18575 ac_status=$?
18576 grep -v '^ *+' conftest.er1 >conftest.err
18577 rm -f conftest.er1
18578 cat conftest.err >&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); } && {
18581 test -z "$ac_c_werror_flag" ||
18582 test ! -s conftest.err
18583 } && test -s conftest.$ac_objext; then
18584 ac_cv_member_struct_ff_effect_direction=yes
18585 else
18586 echo "$as_me: failed program was:" >&5
18587 sed 's/^/| /' conftest.$ac_ext >&5
18589 ac_cv_member_struct_ff_effect_direction=no
18592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18597 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18598 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18599 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18601 cat >>confdefs.h <<_ACEOF
18602 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18603 _ACEOF
18609 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18610 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18611 if test "${wine_cv_have_sigaddset+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18613 else
18614 cat >conftest.$ac_ext <<_ACEOF
18615 /* confdefs.h. */
18616 _ACEOF
18617 cat confdefs.h >>conftest.$ac_ext
18618 cat >>conftest.$ac_ext <<_ACEOF
18619 /* end confdefs.h. */
18620 #include <signal.h>
18622 main ()
18624 sigset_t set; sigaddset(&set,SIGTERM);
18626 return 0;
18628 _ACEOF
18629 rm -f conftest.$ac_objext conftest$ac_exeext
18630 if { (ac_try="$ac_link"
18631 case "(($ac_try" in
18632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18633 *) ac_try_echo=$ac_try;;
18634 esac
18635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18636 (eval "$ac_link") 2>conftest.er1
18637 ac_status=$?
18638 grep -v '^ *+' conftest.er1 >conftest.err
18639 rm -f conftest.er1
18640 cat conftest.err >&5
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); } && {
18643 test -z "$ac_c_werror_flag" ||
18644 test ! -s conftest.err
18645 } && test -s conftest$ac_exeext &&
18646 $as_test_x conftest$ac_exeext; then
18647 wine_cv_have_sigaddset=yes
18648 else
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18652 wine_cv_have_sigaddset=no
18655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18656 conftest$ac_exeext conftest.$ac_ext
18658 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18659 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18660 if test "$wine_cv_have_sigaddset" = "yes"
18661 then
18663 cat >>confdefs.h <<\_ACEOF
18664 #define HAVE_SIGADDSET 1
18665 _ACEOF
18670 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18671 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18672 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18673 echo $ECHO_N "(cached) $ECHO_C" >&6
18674 else
18675 cat >conftest.$ac_ext <<_ACEOF
18676 /* confdefs.h. */
18677 _ACEOF
18678 cat confdefs.h >>conftest.$ac_ext
18679 cat >>conftest.$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18681 #include <netdb.h>
18683 main ()
18686 char *name=0;
18687 struct hostent he;
18688 struct hostent *result;
18689 char *buf=0;
18690 int bufsize=0;
18691 int res,errnr;
18692 char *addr=0;
18693 int addrlen=0;
18694 int addrtype=0;
18695 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18696 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18699 return 0;
18701 _ACEOF
18702 rm -f conftest.$ac_objext conftest$ac_exeext
18703 if { (ac_try="$ac_link"
18704 case "(($ac_try" in
18705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18706 *) ac_try_echo=$ac_try;;
18707 esac
18708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18709 (eval "$ac_link") 2>conftest.er1
18710 ac_status=$?
18711 grep -v '^ *+' conftest.er1 >conftest.err
18712 rm -f conftest.er1
18713 cat conftest.err >&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } && {
18716 test -z "$ac_c_werror_flag" ||
18717 test ! -s conftest.err
18718 } && test -s conftest$ac_exeext &&
18719 $as_test_x conftest$ac_exeext; then
18720 wine_cv_linux_gethostbyname_r_6=yes
18721 else
18722 echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.$ac_ext >&5
18725 wine_cv_linux_gethostbyname_r_6=no
18729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18730 conftest$ac_exeext conftest.$ac_ext
18733 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18734 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18735 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18736 then
18738 cat >>confdefs.h <<\_ACEOF
18739 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18740 _ACEOF
18744 if test "$ac_cv_header_linux_joystick_h" = "yes"
18745 then
18746 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18747 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18748 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18749 echo $ECHO_N "(cached) $ECHO_C" >&6
18750 else
18751 cat >conftest.$ac_ext <<_ACEOF
18752 /* confdefs.h. */
18753 _ACEOF
18754 cat confdefs.h >>conftest.$ac_ext
18755 cat >>conftest.$ac_ext <<_ACEOF
18756 /* end confdefs.h. */
18758 #include <sys/ioctl.h>
18759 #include <sys/types.h>
18760 #include <linux/joystick.h>
18762 struct js_event blub;
18763 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18764 #error "no 2.2 header"
18765 #endif
18768 main ()
18770 /*empty*/
18772 return 0;
18774 _ACEOF
18775 rm -f conftest.$ac_objext
18776 if { (ac_try="$ac_compile"
18777 case "(($ac_try" in
18778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18779 *) ac_try_echo=$ac_try;;
18780 esac
18781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18782 (eval "$ac_compile") 2>conftest.er1
18783 ac_status=$?
18784 grep -v '^ *+' conftest.er1 >conftest.err
18785 rm -f conftest.er1
18786 cat conftest.err >&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } && {
18789 test -z "$ac_c_werror_flag" ||
18790 test ! -s conftest.err
18791 } && test -s conftest.$ac_objext; then
18792 wine_cv_linux_joystick_22_api=yes
18793 else
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18797 wine_cv_linux_joystick_22_api=no
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18803 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18804 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18805 if test "$wine_cv_linux_joystick_22_api" = "yes"
18806 then
18808 cat >>confdefs.h <<\_ACEOF
18809 #define HAVE_LINUX_22_JOYSTICK_API 1
18810 _ACEOF
18816 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18817 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18818 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18820 else
18821 cat >conftest.$ac_ext <<_ACEOF
18822 /* confdefs.h. */
18823 _ACEOF
18824 cat confdefs.h >>conftest.$ac_ext
18825 cat >>conftest.$ac_ext <<_ACEOF
18826 /* end confdefs.h. */
18827 #include <sys/types.h>
18828 #ifdef HAVE_SYS_PARAM_H
18829 # include <sys/param.h>
18830 #endif
18831 #ifdef HAVE_SYS_MOUNT_H
18832 # include <sys/mount.h>
18833 #endif
18834 #ifdef HAVE_SYS_VFS_H
18835 # include <sys/vfs.h>
18836 #endif
18837 #ifdef HAVE_SYS_STATFS_H
18838 # include <sys/statfs.h>
18839 #endif
18842 main ()
18844 static struct statfs ac_aggr;
18845 if (ac_aggr.f_bfree)
18846 return 0;
18848 return 0;
18850 _ACEOF
18851 rm -f conftest.$ac_objext
18852 if { (ac_try="$ac_compile"
18853 case "(($ac_try" in
18854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18855 *) ac_try_echo=$ac_try;;
18856 esac
18857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_compile") 2>conftest.er1
18859 ac_status=$?
18860 grep -v '^ *+' conftest.er1 >conftest.err
18861 rm -f conftest.er1
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } && {
18865 test -z "$ac_c_werror_flag" ||
18866 test ! -s conftest.err
18867 } && test -s conftest.$ac_objext; then
18868 ac_cv_member_struct_statfs_f_bfree=yes
18869 else
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18873 cat >conftest.$ac_ext <<_ACEOF
18874 /* confdefs.h. */
18875 _ACEOF
18876 cat confdefs.h >>conftest.$ac_ext
18877 cat >>conftest.$ac_ext <<_ACEOF
18878 /* end confdefs.h. */
18879 #include <sys/types.h>
18880 #ifdef HAVE_SYS_PARAM_H
18881 # include <sys/param.h>
18882 #endif
18883 #ifdef HAVE_SYS_MOUNT_H
18884 # include <sys/mount.h>
18885 #endif
18886 #ifdef HAVE_SYS_VFS_H
18887 # include <sys/vfs.h>
18888 #endif
18889 #ifdef HAVE_SYS_STATFS_H
18890 # include <sys/statfs.h>
18891 #endif
18894 main ()
18896 static struct statfs ac_aggr;
18897 if (sizeof ac_aggr.f_bfree)
18898 return 0;
18900 return 0;
18902 _ACEOF
18903 rm -f conftest.$ac_objext
18904 if { (ac_try="$ac_compile"
18905 case "(($ac_try" in
18906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18907 *) ac_try_echo=$ac_try;;
18908 esac
18909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18910 (eval "$ac_compile") 2>conftest.er1
18911 ac_status=$?
18912 grep -v '^ *+' conftest.er1 >conftest.err
18913 rm -f conftest.er1
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } && {
18917 test -z "$ac_c_werror_flag" ||
18918 test ! -s conftest.err
18919 } && test -s conftest.$ac_objext; then
18920 ac_cv_member_struct_statfs_f_bfree=yes
18921 else
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.$ac_ext >&5
18925 ac_cv_member_struct_statfs_f_bfree=no
18928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18933 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18934 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18935 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_STRUCT_STATFS_F_BFREE 1
18939 _ACEOF
18943 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18944 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18945 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18946 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 else
18948 cat >conftest.$ac_ext <<_ACEOF
18949 /* confdefs.h. */
18950 _ACEOF
18951 cat confdefs.h >>conftest.$ac_ext
18952 cat >>conftest.$ac_ext <<_ACEOF
18953 /* end confdefs.h. */
18954 #include <sys/types.h>
18955 #ifdef HAVE_SYS_PARAM_H
18956 # include <sys/param.h>
18957 #endif
18958 #ifdef HAVE_SYS_MOUNT_H
18959 # include <sys/mount.h>
18960 #endif
18961 #ifdef HAVE_SYS_VFS_H
18962 # include <sys/vfs.h>
18963 #endif
18964 #ifdef HAVE_SYS_STATFS_H
18965 # include <sys/statfs.h>
18966 #endif
18969 main ()
18971 static struct statfs ac_aggr;
18972 if (ac_aggr.f_bavail)
18973 return 0;
18975 return 0;
18977 _ACEOF
18978 rm -f conftest.$ac_objext
18979 if { (ac_try="$ac_compile"
18980 case "(($ac_try" in
18981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18982 *) ac_try_echo=$ac_try;;
18983 esac
18984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18985 (eval "$ac_compile") 2>conftest.er1
18986 ac_status=$?
18987 grep -v '^ *+' conftest.er1 >conftest.err
18988 rm -f conftest.er1
18989 cat conftest.err >&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } && {
18992 test -z "$ac_c_werror_flag" ||
18993 test ! -s conftest.err
18994 } && test -s conftest.$ac_objext; then
18995 ac_cv_member_struct_statfs_f_bavail=yes
18996 else
18997 echo "$as_me: failed program was:" >&5
18998 sed 's/^/| /' conftest.$ac_ext >&5
19000 cat >conftest.$ac_ext <<_ACEOF
19001 /* confdefs.h. */
19002 _ACEOF
19003 cat confdefs.h >>conftest.$ac_ext
19004 cat >>conftest.$ac_ext <<_ACEOF
19005 /* end confdefs.h. */
19006 #include <sys/types.h>
19007 #ifdef HAVE_SYS_PARAM_H
19008 # include <sys/param.h>
19009 #endif
19010 #ifdef HAVE_SYS_MOUNT_H
19011 # include <sys/mount.h>
19012 #endif
19013 #ifdef HAVE_SYS_VFS_H
19014 # include <sys/vfs.h>
19015 #endif
19016 #ifdef HAVE_SYS_STATFS_H
19017 # include <sys/statfs.h>
19018 #endif
19021 main ()
19023 static struct statfs ac_aggr;
19024 if (sizeof ac_aggr.f_bavail)
19025 return 0;
19027 return 0;
19029 _ACEOF
19030 rm -f conftest.$ac_objext
19031 if { (ac_try="$ac_compile"
19032 case "(($ac_try" in
19033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19034 *) ac_try_echo=$ac_try;;
19035 esac
19036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19037 (eval "$ac_compile") 2>conftest.er1
19038 ac_status=$?
19039 grep -v '^ *+' conftest.er1 >conftest.err
19040 rm -f conftest.er1
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } && {
19044 test -z "$ac_c_werror_flag" ||
19045 test ! -s conftest.err
19046 } && test -s conftest.$ac_objext; then
19047 ac_cv_member_struct_statfs_f_bavail=yes
19048 else
19049 echo "$as_me: failed program was:" >&5
19050 sed 's/^/| /' conftest.$ac_ext >&5
19052 ac_cv_member_struct_statfs_f_bavail=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19060 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19061 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19062 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19066 _ACEOF
19070 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19071 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19072 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19073 echo $ECHO_N "(cached) $ECHO_C" >&6
19074 else
19075 cat >conftest.$ac_ext <<_ACEOF
19076 /* confdefs.h. */
19077 _ACEOF
19078 cat confdefs.h >>conftest.$ac_ext
19079 cat >>conftest.$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081 #include <sys/types.h>
19082 #ifdef HAVE_SYS_PARAM_H
19083 # include <sys/param.h>
19084 #endif
19085 #ifdef HAVE_SYS_MOUNT_H
19086 # include <sys/mount.h>
19087 #endif
19088 #ifdef HAVE_SYS_VFS_H
19089 # include <sys/vfs.h>
19090 #endif
19091 #ifdef HAVE_SYS_STATFS_H
19092 # include <sys/statfs.h>
19093 #endif
19096 main ()
19098 static struct statfs ac_aggr;
19099 if (ac_aggr.f_frsize)
19100 return 0;
19102 return 0;
19104 _ACEOF
19105 rm -f conftest.$ac_objext
19106 if { (ac_try="$ac_compile"
19107 case "(($ac_try" in
19108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19109 *) ac_try_echo=$ac_try;;
19110 esac
19111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19112 (eval "$ac_compile") 2>conftest.er1
19113 ac_status=$?
19114 grep -v '^ *+' conftest.er1 >conftest.err
19115 rm -f conftest.er1
19116 cat conftest.err >&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } && {
19119 test -z "$ac_c_werror_flag" ||
19120 test ! -s conftest.err
19121 } && test -s conftest.$ac_objext; then
19122 ac_cv_member_struct_statfs_f_frsize=yes
19123 else
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.$ac_ext >&5
19127 cat >conftest.$ac_ext <<_ACEOF
19128 /* confdefs.h. */
19129 _ACEOF
19130 cat confdefs.h >>conftest.$ac_ext
19131 cat >>conftest.$ac_ext <<_ACEOF
19132 /* end confdefs.h. */
19133 #include <sys/types.h>
19134 #ifdef HAVE_SYS_PARAM_H
19135 # include <sys/param.h>
19136 #endif
19137 #ifdef HAVE_SYS_MOUNT_H
19138 # include <sys/mount.h>
19139 #endif
19140 #ifdef HAVE_SYS_VFS_H
19141 # include <sys/vfs.h>
19142 #endif
19143 #ifdef HAVE_SYS_STATFS_H
19144 # include <sys/statfs.h>
19145 #endif
19148 main ()
19150 static struct statfs ac_aggr;
19151 if (sizeof ac_aggr.f_frsize)
19152 return 0;
19154 return 0;
19156 _ACEOF
19157 rm -f conftest.$ac_objext
19158 if { (ac_try="$ac_compile"
19159 case "(($ac_try" in
19160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19161 *) ac_try_echo=$ac_try;;
19162 esac
19163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19164 (eval "$ac_compile") 2>conftest.er1
19165 ac_status=$?
19166 grep -v '^ *+' conftest.er1 >conftest.err
19167 rm -f conftest.er1
19168 cat conftest.err >&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); } && {
19171 test -z "$ac_c_werror_flag" ||
19172 test ! -s conftest.err
19173 } && test -s conftest.$ac_objext; then
19174 ac_cv_member_struct_statfs_f_frsize=yes
19175 else
19176 echo "$as_me: failed program was:" >&5
19177 sed 's/^/| /' conftest.$ac_ext >&5
19179 ac_cv_member_struct_statfs_f_frsize=no
19182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19188 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19189 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19193 _ACEOF
19197 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19198 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19199 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19200 echo $ECHO_N "(cached) $ECHO_C" >&6
19201 else
19202 cat >conftest.$ac_ext <<_ACEOF
19203 /* confdefs.h. */
19204 _ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 #include <sys/types.h>
19209 #ifdef HAVE_SYS_PARAM_H
19210 # include <sys/param.h>
19211 #endif
19212 #ifdef HAVE_SYS_MOUNT_H
19213 # include <sys/mount.h>
19214 #endif
19215 #ifdef HAVE_SYS_VFS_H
19216 # include <sys/vfs.h>
19217 #endif
19218 #ifdef HAVE_SYS_STATFS_H
19219 # include <sys/statfs.h>
19220 #endif
19223 main ()
19225 static struct statfs ac_aggr;
19226 if (ac_aggr.f_ffree)
19227 return 0;
19229 return 0;
19231 _ACEOF
19232 rm -f conftest.$ac_objext
19233 if { (ac_try="$ac_compile"
19234 case "(($ac_try" in
19235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19236 *) ac_try_echo=$ac_try;;
19237 esac
19238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19239 (eval "$ac_compile") 2>conftest.er1
19240 ac_status=$?
19241 grep -v '^ *+' conftest.er1 >conftest.err
19242 rm -f conftest.er1
19243 cat conftest.err >&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); } && {
19246 test -z "$ac_c_werror_flag" ||
19247 test ! -s conftest.err
19248 } && test -s conftest.$ac_objext; then
19249 ac_cv_member_struct_statfs_f_ffree=yes
19250 else
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19254 cat >conftest.$ac_ext <<_ACEOF
19255 /* confdefs.h. */
19256 _ACEOF
19257 cat confdefs.h >>conftest.$ac_ext
19258 cat >>conftest.$ac_ext <<_ACEOF
19259 /* end confdefs.h. */
19260 #include <sys/types.h>
19261 #ifdef HAVE_SYS_PARAM_H
19262 # include <sys/param.h>
19263 #endif
19264 #ifdef HAVE_SYS_MOUNT_H
19265 # include <sys/mount.h>
19266 #endif
19267 #ifdef HAVE_SYS_VFS_H
19268 # include <sys/vfs.h>
19269 #endif
19270 #ifdef HAVE_SYS_STATFS_H
19271 # include <sys/statfs.h>
19272 #endif
19275 main ()
19277 static struct statfs ac_aggr;
19278 if (sizeof ac_aggr.f_ffree)
19279 return 0;
19281 return 0;
19283 _ACEOF
19284 rm -f conftest.$ac_objext
19285 if { (ac_try="$ac_compile"
19286 case "(($ac_try" in
19287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19288 *) ac_try_echo=$ac_try;;
19289 esac
19290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19291 (eval "$ac_compile") 2>conftest.er1
19292 ac_status=$?
19293 grep -v '^ *+' conftest.er1 >conftest.err
19294 rm -f conftest.er1
19295 cat conftest.err >&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } && {
19298 test -z "$ac_c_werror_flag" ||
19299 test ! -s conftest.err
19300 } && test -s conftest.$ac_objext; then
19301 ac_cv_member_struct_statfs_f_ffree=yes
19302 else
19303 echo "$as_me: failed program was:" >&5
19304 sed 's/^/| /' conftest.$ac_ext >&5
19306 ac_cv_member_struct_statfs_f_ffree=no
19309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19315 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19316 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19318 cat >>confdefs.h <<_ACEOF
19319 #define HAVE_STRUCT_STATFS_F_FFREE 1
19320 _ACEOF
19324 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19325 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19326 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19328 else
19329 cat >conftest.$ac_ext <<_ACEOF
19330 /* confdefs.h. */
19331 _ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 #include <sys/types.h>
19336 #ifdef HAVE_SYS_PARAM_H
19337 # include <sys/param.h>
19338 #endif
19339 #ifdef HAVE_SYS_MOUNT_H
19340 # include <sys/mount.h>
19341 #endif
19342 #ifdef HAVE_SYS_VFS_H
19343 # include <sys/vfs.h>
19344 #endif
19345 #ifdef HAVE_SYS_STATFS_H
19346 # include <sys/statfs.h>
19347 #endif
19350 main ()
19352 static struct statfs ac_aggr;
19353 if (ac_aggr.f_favail)
19354 return 0;
19356 return 0;
19358 _ACEOF
19359 rm -f conftest.$ac_objext
19360 if { (ac_try="$ac_compile"
19361 case "(($ac_try" in
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19363 *) ac_try_echo=$ac_try;;
19364 esac
19365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19366 (eval "$ac_compile") 2>conftest.er1
19367 ac_status=$?
19368 grep -v '^ *+' conftest.er1 >conftest.err
19369 rm -f conftest.er1
19370 cat conftest.err >&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); } && {
19373 test -z "$ac_c_werror_flag" ||
19374 test ! -s conftest.err
19375 } && test -s conftest.$ac_objext; then
19376 ac_cv_member_struct_statfs_f_favail=yes
19377 else
19378 echo "$as_me: failed program was:" >&5
19379 sed 's/^/| /' conftest.$ac_ext >&5
19381 cat >conftest.$ac_ext <<_ACEOF
19382 /* confdefs.h. */
19383 _ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387 #include <sys/types.h>
19388 #ifdef HAVE_SYS_PARAM_H
19389 # include <sys/param.h>
19390 #endif
19391 #ifdef HAVE_SYS_MOUNT_H
19392 # include <sys/mount.h>
19393 #endif
19394 #ifdef HAVE_SYS_VFS_H
19395 # include <sys/vfs.h>
19396 #endif
19397 #ifdef HAVE_SYS_STATFS_H
19398 # include <sys/statfs.h>
19399 #endif
19402 main ()
19404 static struct statfs ac_aggr;
19405 if (sizeof ac_aggr.f_favail)
19406 return 0;
19408 return 0;
19410 _ACEOF
19411 rm -f conftest.$ac_objext
19412 if { (ac_try="$ac_compile"
19413 case "(($ac_try" in
19414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19415 *) ac_try_echo=$ac_try;;
19416 esac
19417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19418 (eval "$ac_compile") 2>conftest.er1
19419 ac_status=$?
19420 grep -v '^ *+' conftest.er1 >conftest.err
19421 rm -f conftest.er1
19422 cat conftest.err >&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); } && {
19425 test -z "$ac_c_werror_flag" ||
19426 test ! -s conftest.err
19427 } && test -s conftest.$ac_objext; then
19428 ac_cv_member_struct_statfs_f_favail=yes
19429 else
19430 echo "$as_me: failed program was:" >&5
19431 sed 's/^/| /' conftest.$ac_ext >&5
19433 ac_cv_member_struct_statfs_f_favail=no
19436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19441 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19442 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19443 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19445 cat >>confdefs.h <<_ACEOF
19446 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19447 _ACEOF
19451 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19452 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19453 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19454 echo $ECHO_N "(cached) $ECHO_C" >&6
19455 else
19456 cat >conftest.$ac_ext <<_ACEOF
19457 /* confdefs.h. */
19458 _ACEOF
19459 cat confdefs.h >>conftest.$ac_ext
19460 cat >>conftest.$ac_ext <<_ACEOF
19461 /* end confdefs.h. */
19462 #include <sys/types.h>
19463 #ifdef HAVE_SYS_PARAM_H
19464 # include <sys/param.h>
19465 #endif
19466 #ifdef HAVE_SYS_MOUNT_H
19467 # include <sys/mount.h>
19468 #endif
19469 #ifdef HAVE_SYS_VFS_H
19470 # include <sys/vfs.h>
19471 #endif
19472 #ifdef HAVE_SYS_STATFS_H
19473 # include <sys/statfs.h>
19474 #endif
19477 main ()
19479 static struct statfs ac_aggr;
19480 if (ac_aggr.f_namelen)
19481 return 0;
19483 return 0;
19485 _ACEOF
19486 rm -f conftest.$ac_objext
19487 if { (ac_try="$ac_compile"
19488 case "(($ac_try" in
19489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19490 *) ac_try_echo=$ac_try;;
19491 esac
19492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19493 (eval "$ac_compile") 2>conftest.er1
19494 ac_status=$?
19495 grep -v '^ *+' conftest.er1 >conftest.err
19496 rm -f conftest.er1
19497 cat conftest.err >&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); } && {
19500 test -z "$ac_c_werror_flag" ||
19501 test ! -s conftest.err
19502 } && test -s conftest.$ac_objext; then
19503 ac_cv_member_struct_statfs_f_namelen=yes
19504 else
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19508 cat >conftest.$ac_ext <<_ACEOF
19509 /* confdefs.h. */
19510 _ACEOF
19511 cat confdefs.h >>conftest.$ac_ext
19512 cat >>conftest.$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 #include <sys/types.h>
19515 #ifdef HAVE_SYS_PARAM_H
19516 # include <sys/param.h>
19517 #endif
19518 #ifdef HAVE_SYS_MOUNT_H
19519 # include <sys/mount.h>
19520 #endif
19521 #ifdef HAVE_SYS_VFS_H
19522 # include <sys/vfs.h>
19523 #endif
19524 #ifdef HAVE_SYS_STATFS_H
19525 # include <sys/statfs.h>
19526 #endif
19529 main ()
19531 static struct statfs ac_aggr;
19532 if (sizeof ac_aggr.f_namelen)
19533 return 0;
19535 return 0;
19537 _ACEOF
19538 rm -f conftest.$ac_objext
19539 if { (ac_try="$ac_compile"
19540 case "(($ac_try" in
19541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19542 *) ac_try_echo=$ac_try;;
19543 esac
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19545 (eval "$ac_compile") 2>conftest.er1
19546 ac_status=$?
19547 grep -v '^ *+' conftest.er1 >conftest.err
19548 rm -f conftest.er1
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } && {
19552 test -z "$ac_c_werror_flag" ||
19553 test ! -s conftest.err
19554 } && test -s conftest.$ac_objext; then
19555 ac_cv_member_struct_statfs_f_namelen=yes
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19560 ac_cv_member_struct_statfs_f_namelen=no
19563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19568 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19569 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19570 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19572 cat >>confdefs.h <<_ACEOF
19573 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19574 _ACEOF
19580 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19581 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19582 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19583 echo $ECHO_N "(cached) $ECHO_C" >&6
19584 else
19585 cat >conftest.$ac_ext <<_ACEOF
19586 /* confdefs.h. */
19587 _ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 #ifdef HAVE_SYS_STATVFS_H
19592 #include <sys/statvfs.h>
19593 #endif
19596 main ()
19598 static struct statvfs ac_aggr;
19599 if (ac_aggr.f_blocks)
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_statvfs_f_blocks=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 #ifdef HAVE_SYS_STATVFS_H
19634 #include <sys/statvfs.h>
19635 #endif
19638 main ()
19640 static struct statvfs ac_aggr;
19641 if (sizeof ac_aggr.f_blocks)
19642 return 0;
19644 return 0;
19646 _ACEOF
19647 rm -f conftest.$ac_objext
19648 if { (ac_try="$ac_compile"
19649 case "(($ac_try" in
19650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19651 *) ac_try_echo=$ac_try;;
19652 esac
19653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19654 (eval "$ac_compile") 2>conftest.er1
19655 ac_status=$?
19656 grep -v '^ *+' conftest.er1 >conftest.err
19657 rm -f conftest.er1
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } && {
19661 test -z "$ac_c_werror_flag" ||
19662 test ! -s conftest.err
19663 } && test -s conftest.$ac_objext; then
19664 ac_cv_member_struct_statvfs_f_blocks=yes
19665 else
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19669 ac_cv_member_struct_statvfs_f_blocks=no
19672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19677 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19678 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19679 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19681 cat >>confdefs.h <<_ACEOF
19682 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19683 _ACEOF
19689 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19690 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19691 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19692 echo $ECHO_N "(cached) $ECHO_C" >&6
19693 else
19694 cat >conftest.$ac_ext <<_ACEOF
19695 /* confdefs.h. */
19696 _ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700 #include <sys/types.h>
19701 #ifdef HAVE_SYS_SOCKET_H
19702 # include <sys/socket.h>
19703 #endif
19704 #ifdef HAVE_SYS_UN_H
19705 # include <sys/un.h>
19706 #endif
19709 main ()
19711 static struct msghdr ac_aggr;
19712 if (ac_aggr.msg_accrights)
19713 return 0;
19715 return 0;
19717 _ACEOF
19718 rm -f conftest.$ac_objext
19719 if { (ac_try="$ac_compile"
19720 case "(($ac_try" in
19721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19722 *) ac_try_echo=$ac_try;;
19723 esac
19724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19725 (eval "$ac_compile") 2>conftest.er1
19726 ac_status=$?
19727 grep -v '^ *+' conftest.er1 >conftest.err
19728 rm -f conftest.er1
19729 cat conftest.err >&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); } && {
19732 test -z "$ac_c_werror_flag" ||
19733 test ! -s conftest.err
19734 } && test -s conftest.$ac_objext; then
19735 ac_cv_member_struct_msghdr_msg_accrights=yes
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19740 cat >conftest.$ac_ext <<_ACEOF
19741 /* confdefs.h. */
19742 _ACEOF
19743 cat confdefs.h >>conftest.$ac_ext
19744 cat >>conftest.$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 #include <sys/types.h>
19747 #ifdef HAVE_SYS_SOCKET_H
19748 # include <sys/socket.h>
19749 #endif
19750 #ifdef HAVE_SYS_UN_H
19751 # include <sys/un.h>
19752 #endif
19755 main ()
19757 static struct msghdr ac_aggr;
19758 if (sizeof ac_aggr.msg_accrights)
19759 return 0;
19761 return 0;
19763 _ACEOF
19764 rm -f conftest.$ac_objext
19765 if { (ac_try="$ac_compile"
19766 case "(($ac_try" in
19767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19768 *) ac_try_echo=$ac_try;;
19769 esac
19770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19771 (eval "$ac_compile") 2>conftest.er1
19772 ac_status=$?
19773 grep -v '^ *+' conftest.er1 >conftest.err
19774 rm -f conftest.er1
19775 cat conftest.err >&5
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); } && {
19778 test -z "$ac_c_werror_flag" ||
19779 test ! -s conftest.err
19780 } && test -s conftest.$ac_objext; then
19781 ac_cv_member_struct_msghdr_msg_accrights=yes
19782 else
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.$ac_ext >&5
19786 ac_cv_member_struct_msghdr_msg_accrights=no
19789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19794 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19795 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19796 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19798 cat >>confdefs.h <<_ACEOF
19799 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19800 _ACEOF
19804 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19805 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19806 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19807 echo $ECHO_N "(cached) $ECHO_C" >&6
19808 else
19809 cat >conftest.$ac_ext <<_ACEOF
19810 /* confdefs.h. */
19811 _ACEOF
19812 cat confdefs.h >>conftest.$ac_ext
19813 cat >>conftest.$ac_ext <<_ACEOF
19814 /* end confdefs.h. */
19815 #include <sys/types.h>
19816 #ifdef HAVE_SYS_SOCKET_H
19817 # include <sys/socket.h>
19818 #endif
19819 #ifdef HAVE_SYS_UN_H
19820 # include <sys/un.h>
19821 #endif
19824 main ()
19826 static struct sockaddr ac_aggr;
19827 if (ac_aggr.sa_len)
19828 return 0;
19830 return 0;
19832 _ACEOF
19833 rm -f conftest.$ac_objext
19834 if { (ac_try="$ac_compile"
19835 case "(($ac_try" in
19836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19837 *) ac_try_echo=$ac_try;;
19838 esac
19839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19840 (eval "$ac_compile") 2>conftest.er1
19841 ac_status=$?
19842 grep -v '^ *+' conftest.er1 >conftest.err
19843 rm -f conftest.er1
19844 cat conftest.err >&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); } && {
19847 test -z "$ac_c_werror_flag" ||
19848 test ! -s conftest.err
19849 } && test -s conftest.$ac_objext; then
19850 ac_cv_member_struct_sockaddr_sa_len=yes
19851 else
19852 echo "$as_me: failed program was:" >&5
19853 sed 's/^/| /' conftest.$ac_ext >&5
19855 cat >conftest.$ac_ext <<_ACEOF
19856 /* confdefs.h. */
19857 _ACEOF
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 #include <sys/types.h>
19862 #ifdef HAVE_SYS_SOCKET_H
19863 # include <sys/socket.h>
19864 #endif
19865 #ifdef HAVE_SYS_UN_H
19866 # include <sys/un.h>
19867 #endif
19870 main ()
19872 static struct sockaddr ac_aggr;
19873 if (sizeof ac_aggr.sa_len)
19874 return 0;
19876 return 0;
19878 _ACEOF
19879 rm -f conftest.$ac_objext
19880 if { (ac_try="$ac_compile"
19881 case "(($ac_try" in
19882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19883 *) ac_try_echo=$ac_try;;
19884 esac
19885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19886 (eval "$ac_compile") 2>conftest.er1
19887 ac_status=$?
19888 grep -v '^ *+' conftest.er1 >conftest.err
19889 rm -f conftest.er1
19890 cat conftest.err >&5
19891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892 (exit $ac_status); } && {
19893 test -z "$ac_c_werror_flag" ||
19894 test ! -s conftest.err
19895 } && test -s conftest.$ac_objext; then
19896 ac_cv_member_struct_sockaddr_sa_len=yes
19897 else
19898 echo "$as_me: failed program was:" >&5
19899 sed 's/^/| /' conftest.$ac_ext >&5
19901 ac_cv_member_struct_sockaddr_sa_len=no
19904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19909 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19910 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19911 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19913 cat >>confdefs.h <<_ACEOF
19914 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19915 _ACEOF
19919 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19920 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19921 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 else
19924 cat >conftest.$ac_ext <<_ACEOF
19925 /* confdefs.h. */
19926 _ACEOF
19927 cat confdefs.h >>conftest.$ac_ext
19928 cat >>conftest.$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 #include <sys/types.h>
19931 #ifdef HAVE_SYS_SOCKET_H
19932 # include <sys/socket.h>
19933 #endif
19934 #ifdef HAVE_SYS_UN_H
19935 # include <sys/un.h>
19936 #endif
19939 main ()
19941 static struct sockaddr_un ac_aggr;
19942 if (ac_aggr.sun_len)
19943 return 0;
19945 return 0;
19947 _ACEOF
19948 rm -f conftest.$ac_objext
19949 if { (ac_try="$ac_compile"
19950 case "(($ac_try" in
19951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19952 *) ac_try_echo=$ac_try;;
19953 esac
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_compile") 2>conftest.er1
19956 ac_status=$?
19957 grep -v '^ *+' conftest.er1 >conftest.err
19958 rm -f conftest.er1
19959 cat conftest.err >&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } && {
19962 test -z "$ac_c_werror_flag" ||
19963 test ! -s conftest.err
19964 } && test -s conftest.$ac_objext; then
19965 ac_cv_member_struct_sockaddr_un_sun_len=yes
19966 else
19967 echo "$as_me: failed program was:" >&5
19968 sed 's/^/| /' conftest.$ac_ext >&5
19970 cat >conftest.$ac_ext <<_ACEOF
19971 /* confdefs.h. */
19972 _ACEOF
19973 cat confdefs.h >>conftest.$ac_ext
19974 cat >>conftest.$ac_ext <<_ACEOF
19975 /* end confdefs.h. */
19976 #include <sys/types.h>
19977 #ifdef HAVE_SYS_SOCKET_H
19978 # include <sys/socket.h>
19979 #endif
19980 #ifdef HAVE_SYS_UN_H
19981 # include <sys/un.h>
19982 #endif
19985 main ()
19987 static struct sockaddr_un ac_aggr;
19988 if (sizeof ac_aggr.sun_len)
19989 return 0;
19991 return 0;
19993 _ACEOF
19994 rm -f conftest.$ac_objext
19995 if { (ac_try="$ac_compile"
19996 case "(($ac_try" in
19997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19998 *) ac_try_echo=$ac_try;;
19999 esac
20000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20001 (eval "$ac_compile") 2>conftest.er1
20002 ac_status=$?
20003 grep -v '^ *+' conftest.er1 >conftest.err
20004 rm -f conftest.er1
20005 cat conftest.err >&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); } && {
20008 test -z "$ac_c_werror_flag" ||
20009 test ! -s conftest.err
20010 } && test -s conftest.$ac_objext; then
20011 ac_cv_member_struct_sockaddr_un_sun_len=yes
20012 else
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20016 ac_cv_member_struct_sockaddr_un_sun_len=no
20019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20024 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20025 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20026 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20028 cat >>confdefs.h <<_ACEOF
20029 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20030 _ACEOF
20036 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20037 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20038 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20039 echo $ECHO_N "(cached) $ECHO_C" >&6
20040 else
20041 cat >conftest.$ac_ext <<_ACEOF
20042 /* confdefs.h. */
20043 _ACEOF
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20047 #include <sys/types.h>
20048 #ifdef HAVE_SCSI_SG_H
20049 #include <scsi/sg.h>
20050 #endif
20053 main ()
20055 static scsireq_t ac_aggr;
20056 if (ac_aggr.cmd)
20057 return 0;
20059 return 0;
20061 _ACEOF
20062 rm -f conftest.$ac_objext
20063 if { (ac_try="$ac_compile"
20064 case "(($ac_try" in
20065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20066 *) ac_try_echo=$ac_try;;
20067 esac
20068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20069 (eval "$ac_compile") 2>conftest.er1
20070 ac_status=$?
20071 grep -v '^ *+' conftest.er1 >conftest.err
20072 rm -f conftest.er1
20073 cat conftest.err >&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } && {
20076 test -z "$ac_c_werror_flag" ||
20077 test ! -s conftest.err
20078 } && test -s conftest.$ac_objext; then
20079 ac_cv_member_scsireq_t_cmd=yes
20080 else
20081 echo "$as_me: failed program was:" >&5
20082 sed 's/^/| /' conftest.$ac_ext >&5
20084 cat >conftest.$ac_ext <<_ACEOF
20085 /* confdefs.h. */
20086 _ACEOF
20087 cat confdefs.h >>conftest.$ac_ext
20088 cat >>conftest.$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 #include <sys/types.h>
20091 #ifdef HAVE_SCSI_SG_H
20092 #include <scsi/sg.h>
20093 #endif
20096 main ()
20098 static scsireq_t ac_aggr;
20099 if (sizeof ac_aggr.cmd)
20100 return 0;
20102 return 0;
20104 _ACEOF
20105 rm -f conftest.$ac_objext
20106 if { (ac_try="$ac_compile"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20110 esac
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_compile") 2>conftest.er1
20113 ac_status=$?
20114 grep -v '^ *+' conftest.er1 >conftest.err
20115 rm -f conftest.er1
20116 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } && {
20119 test -z "$ac_c_werror_flag" ||
20120 test ! -s conftest.err
20121 } && test -s conftest.$ac_objext; then
20122 ac_cv_member_scsireq_t_cmd=yes
20123 else
20124 echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.$ac_ext >&5
20127 ac_cv_member_scsireq_t_cmd=no
20130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20135 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20136 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20137 if test $ac_cv_member_scsireq_t_cmd = yes; then
20139 cat >>confdefs.h <<_ACEOF
20140 #define HAVE_SCSIREQ_T_CMD 1
20141 _ACEOF
20145 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20146 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20147 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20148 echo $ECHO_N "(cached) $ECHO_C" >&6
20149 else
20150 cat >conftest.$ac_ext <<_ACEOF
20151 /* confdefs.h. */
20152 _ACEOF
20153 cat confdefs.h >>conftest.$ac_ext
20154 cat >>conftest.$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20156 #include <sys/types.h>
20157 #ifdef HAVE_SCSI_SG_H
20158 #include <scsi/sg.h>
20159 #endif
20162 main ()
20164 static sg_io_hdr_t ac_aggr;
20165 if (ac_aggr.interface_id)
20166 return 0;
20168 return 0;
20170 _ACEOF
20171 rm -f conftest.$ac_objext
20172 if { (ac_try="$ac_compile"
20173 case "(($ac_try" in
20174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20175 *) ac_try_echo=$ac_try;;
20176 esac
20177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_compile") 2>conftest.er1
20179 ac_status=$?
20180 grep -v '^ *+' conftest.er1 >conftest.err
20181 rm -f conftest.er1
20182 cat conftest.err >&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); } && {
20185 test -z "$ac_c_werror_flag" ||
20186 test ! -s conftest.err
20187 } && test -s conftest.$ac_objext; then
20188 ac_cv_member_sg_io_hdr_t_interface_id=yes
20189 else
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.$ac_ext >&5
20193 cat >conftest.$ac_ext <<_ACEOF
20194 /* confdefs.h. */
20195 _ACEOF
20196 cat confdefs.h >>conftest.$ac_ext
20197 cat >>conftest.$ac_ext <<_ACEOF
20198 /* end confdefs.h. */
20199 #include <sys/types.h>
20200 #ifdef HAVE_SCSI_SG_H
20201 #include <scsi/sg.h>
20202 #endif
20205 main ()
20207 static sg_io_hdr_t ac_aggr;
20208 if (sizeof ac_aggr.interface_id)
20209 return 0;
20211 return 0;
20213 _ACEOF
20214 rm -f conftest.$ac_objext
20215 if { (ac_try="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20219 esac
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20222 ac_status=$?
20223 grep -v '^ *+' conftest.er1 >conftest.err
20224 rm -f conftest.er1
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20231 ac_cv_member_sg_io_hdr_t_interface_id=yes
20232 else
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20236 ac_cv_member_sg_io_hdr_t_interface_id=no
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20245 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20246 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20248 cat >>confdefs.h <<_ACEOF
20249 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20250 _ACEOF
20256 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20257 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20258 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 else
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <signal.h>
20270 main ()
20272 static siginfo_t ac_aggr;
20273 if (ac_aggr.si_fd)
20274 return 0;
20276 return 0;
20278 _ACEOF
20279 rm -f conftest.$ac_objext
20280 if { (ac_try="$ac_compile"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20284 esac
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_compile") 2>conftest.er1
20287 ac_status=$?
20288 grep -v '^ *+' conftest.er1 >conftest.err
20289 rm -f conftest.er1
20290 cat conftest.err >&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } && {
20293 test -z "$ac_c_werror_flag" ||
20294 test ! -s conftest.err
20295 } && test -s conftest.$ac_objext; then
20296 ac_cv_member_siginfo_t_si_fd=yes
20297 else
20298 echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.$ac_ext >&5
20301 cat >conftest.$ac_ext <<_ACEOF
20302 /* confdefs.h. */
20303 _ACEOF
20304 cat confdefs.h >>conftest.$ac_ext
20305 cat >>conftest.$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 #include <signal.h>
20310 main ()
20312 static siginfo_t ac_aggr;
20313 if (sizeof ac_aggr.si_fd)
20314 return 0;
20316 return 0;
20318 _ACEOF
20319 rm -f conftest.$ac_objext
20320 if { (ac_try="$ac_compile"
20321 case "(($ac_try" in
20322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20323 *) ac_try_echo=$ac_try;;
20324 esac
20325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20326 (eval "$ac_compile") 2>conftest.er1
20327 ac_status=$?
20328 grep -v '^ *+' conftest.er1 >conftest.err
20329 rm -f conftest.er1
20330 cat conftest.err >&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } && {
20333 test -z "$ac_c_werror_flag" ||
20334 test ! -s conftest.err
20335 } && test -s conftest.$ac_objext; then
20336 ac_cv_member_siginfo_t_si_fd=yes
20337 else
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.$ac_ext >&5
20341 ac_cv_member_siginfo_t_si_fd=no
20344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20349 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20350 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20351 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20353 cat >>confdefs.h <<_ACEOF
20354 #define HAVE_SIGINFO_T_SI_FD 1
20355 _ACEOF
20361 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20362 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20363 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20364 echo $ECHO_N "(cached) $ECHO_C" >&6
20365 else
20366 cat >conftest.$ac_ext <<_ACEOF
20367 /* confdefs.h. */
20368 _ACEOF
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 #include <sys/types.h>
20373 #ifdef HAVE_SYS_MTIO_H
20374 #include <sys/mtio.h>
20375 #endif
20378 main ()
20380 static struct mtget ac_aggr;
20381 if (ac_aggr.mt_blksiz)
20382 return 0;
20384 return 0;
20386 _ACEOF
20387 rm -f conftest.$ac_objext
20388 if { (ac_try="$ac_compile"
20389 case "(($ac_try" in
20390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20391 *) ac_try_echo=$ac_try;;
20392 esac
20393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20394 (eval "$ac_compile") 2>conftest.er1
20395 ac_status=$?
20396 grep -v '^ *+' conftest.er1 >conftest.err
20397 rm -f conftest.er1
20398 cat conftest.err >&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } && {
20401 test -z "$ac_c_werror_flag" ||
20402 test ! -s conftest.err
20403 } && test -s conftest.$ac_objext; then
20404 ac_cv_member_struct_mtget_mt_blksiz=yes
20405 else
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.$ac_ext >&5
20409 cat >conftest.$ac_ext <<_ACEOF
20410 /* confdefs.h. */
20411 _ACEOF
20412 cat confdefs.h >>conftest.$ac_ext
20413 cat >>conftest.$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 #include <sys/types.h>
20416 #ifdef HAVE_SYS_MTIO_H
20417 #include <sys/mtio.h>
20418 #endif
20421 main ()
20423 static struct mtget ac_aggr;
20424 if (sizeof ac_aggr.mt_blksiz)
20425 return 0;
20427 return 0;
20429 _ACEOF
20430 rm -f conftest.$ac_objext
20431 if { (ac_try="$ac_compile"
20432 case "(($ac_try" in
20433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20434 *) ac_try_echo=$ac_try;;
20435 esac
20436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20437 (eval "$ac_compile") 2>conftest.er1
20438 ac_status=$?
20439 grep -v '^ *+' conftest.er1 >conftest.err
20440 rm -f conftest.er1
20441 cat conftest.err >&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } && {
20444 test -z "$ac_c_werror_flag" ||
20445 test ! -s conftest.err
20446 } && test -s conftest.$ac_objext; then
20447 ac_cv_member_struct_mtget_mt_blksiz=yes
20448 else
20449 echo "$as_me: failed program was:" >&5
20450 sed 's/^/| /' conftest.$ac_ext >&5
20452 ac_cv_member_struct_mtget_mt_blksiz=no
20455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20460 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20461 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20462 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20464 cat >>confdefs.h <<_ACEOF
20465 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20466 _ACEOF
20470 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20471 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20472 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20473 echo $ECHO_N "(cached) $ECHO_C" >&6
20474 else
20475 cat >conftest.$ac_ext <<_ACEOF
20476 /* confdefs.h. */
20477 _ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 #include <sys/types.h>
20482 #ifdef HAVE_SYS_MTIO_H
20483 #include <sys/mtio.h>
20484 #endif
20487 main ()
20489 static struct mtget ac_aggr;
20490 if (ac_aggr.mt_gstat)
20491 return 0;
20493 return 0;
20495 _ACEOF
20496 rm -f conftest.$ac_objext
20497 if { (ac_try="$ac_compile"
20498 case "(($ac_try" in
20499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20500 *) ac_try_echo=$ac_try;;
20501 esac
20502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20503 (eval "$ac_compile") 2>conftest.er1
20504 ac_status=$?
20505 grep -v '^ *+' conftest.er1 >conftest.err
20506 rm -f conftest.er1
20507 cat conftest.err >&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } && {
20510 test -z "$ac_c_werror_flag" ||
20511 test ! -s conftest.err
20512 } && test -s conftest.$ac_objext; then
20513 ac_cv_member_struct_mtget_mt_gstat=yes
20514 else
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.$ac_ext >&5
20518 cat >conftest.$ac_ext <<_ACEOF
20519 /* confdefs.h. */
20520 _ACEOF
20521 cat confdefs.h >>conftest.$ac_ext
20522 cat >>conftest.$ac_ext <<_ACEOF
20523 /* end confdefs.h. */
20524 #include <sys/types.h>
20525 #ifdef HAVE_SYS_MTIO_H
20526 #include <sys/mtio.h>
20527 #endif
20530 main ()
20532 static struct mtget ac_aggr;
20533 if (sizeof ac_aggr.mt_gstat)
20534 return 0;
20536 return 0;
20538 _ACEOF
20539 rm -f conftest.$ac_objext
20540 if { (ac_try="$ac_compile"
20541 case "(($ac_try" in
20542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20543 *) ac_try_echo=$ac_try;;
20544 esac
20545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20546 (eval "$ac_compile") 2>conftest.er1
20547 ac_status=$?
20548 grep -v '^ *+' conftest.er1 >conftest.err
20549 rm -f conftest.er1
20550 cat conftest.err >&5
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); } && {
20553 test -z "$ac_c_werror_flag" ||
20554 test ! -s conftest.err
20555 } && test -s conftest.$ac_objext; then
20556 ac_cv_member_struct_mtget_mt_gstat=yes
20557 else
20558 echo "$as_me: failed program was:" >&5
20559 sed 's/^/| /' conftest.$ac_ext >&5
20561 ac_cv_member_struct_mtget_mt_gstat=no
20564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20569 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20570 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20571 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20573 cat >>confdefs.h <<_ACEOF
20574 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20575 _ACEOF
20579 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20580 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20581 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20583 else
20584 cat >conftest.$ac_ext <<_ACEOF
20585 /* confdefs.h. */
20586 _ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 #include <sys/types.h>
20591 #ifdef HAVE_SYS_MTIO_H
20592 #include <sys/mtio.h>
20593 #endif
20596 main ()
20598 static struct mtget ac_aggr;
20599 if (ac_aggr.mt_blkno)
20600 return 0;
20602 return 0;
20604 _ACEOF
20605 rm -f conftest.$ac_objext
20606 if { (ac_try="$ac_compile"
20607 case "(($ac_try" in
20608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20609 *) ac_try_echo=$ac_try;;
20610 esac
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_compile") 2>conftest.er1
20613 ac_status=$?
20614 grep -v '^ *+' conftest.er1 >conftest.err
20615 rm -f conftest.er1
20616 cat conftest.err >&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } && {
20619 test -z "$ac_c_werror_flag" ||
20620 test ! -s conftest.err
20621 } && test -s conftest.$ac_objext; then
20622 ac_cv_member_struct_mtget_mt_blkno=yes
20623 else
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20627 cat >conftest.$ac_ext <<_ACEOF
20628 /* confdefs.h. */
20629 _ACEOF
20630 cat confdefs.h >>conftest.$ac_ext
20631 cat >>conftest.$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20633 #include <sys/types.h>
20634 #ifdef HAVE_SYS_MTIO_H
20635 #include <sys/mtio.h>
20636 #endif
20639 main ()
20641 static struct mtget ac_aggr;
20642 if (sizeof ac_aggr.mt_blkno)
20643 return 0;
20645 return 0;
20647 _ACEOF
20648 rm -f conftest.$ac_objext
20649 if { (ac_try="$ac_compile"
20650 case "(($ac_try" in
20651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20652 *) ac_try_echo=$ac_try;;
20653 esac
20654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20655 (eval "$ac_compile") 2>conftest.er1
20656 ac_status=$?
20657 grep -v '^ *+' conftest.er1 >conftest.err
20658 rm -f conftest.er1
20659 cat conftest.err >&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } && {
20662 test -z "$ac_c_werror_flag" ||
20663 test ! -s conftest.err
20664 } && test -s conftest.$ac_objext; then
20665 ac_cv_member_struct_mtget_mt_blkno=yes
20666 else
20667 echo "$as_me: failed program was:" >&5
20668 sed 's/^/| /' conftest.$ac_ext >&5
20670 ac_cv_member_struct_mtget_mt_blkno=no
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20678 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20679 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20680 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20682 cat >>confdefs.h <<_ACEOF
20683 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20684 _ACEOF
20690 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20691 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20692 if test "${ac_cv_member_struct_option_name+set}" = set; then
20693 echo $ECHO_N "(cached) $ECHO_C" >&6
20694 else
20695 cat >conftest.$ac_ext <<_ACEOF
20696 /* confdefs.h. */
20697 _ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 #ifdef HAVE_GETOPT_H
20702 #include <getopt.h>
20703 #endif
20706 main ()
20708 static struct option ac_aggr;
20709 if (ac_aggr.name)
20710 return 0;
20712 return 0;
20714 _ACEOF
20715 rm -f conftest.$ac_objext
20716 if { (ac_try="$ac_compile"
20717 case "(($ac_try" in
20718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20719 *) ac_try_echo=$ac_try;;
20720 esac
20721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20722 (eval "$ac_compile") 2>conftest.er1
20723 ac_status=$?
20724 grep -v '^ *+' conftest.er1 >conftest.err
20725 rm -f conftest.er1
20726 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && {
20729 test -z "$ac_c_werror_flag" ||
20730 test ! -s conftest.err
20731 } && test -s conftest.$ac_objext; then
20732 ac_cv_member_struct_option_name=yes
20733 else
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20737 cat >conftest.$ac_ext <<_ACEOF
20738 /* confdefs.h. */
20739 _ACEOF
20740 cat confdefs.h >>conftest.$ac_ext
20741 cat >>conftest.$ac_ext <<_ACEOF
20742 /* end confdefs.h. */
20743 #ifdef HAVE_GETOPT_H
20744 #include <getopt.h>
20745 #endif
20748 main ()
20750 static struct option ac_aggr;
20751 if (sizeof ac_aggr.name)
20752 return 0;
20754 return 0;
20756 _ACEOF
20757 rm -f conftest.$ac_objext
20758 if { (ac_try="$ac_compile"
20759 case "(($ac_try" in
20760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20761 *) ac_try_echo=$ac_try;;
20762 esac
20763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20764 (eval "$ac_compile") 2>conftest.er1
20765 ac_status=$?
20766 grep -v '^ *+' conftest.er1 >conftest.err
20767 rm -f conftest.er1
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } && {
20771 test -z "$ac_c_werror_flag" ||
20772 test ! -s conftest.err
20773 } && test -s conftest.$ac_objext; then
20774 ac_cv_member_struct_option_name=yes
20775 else
20776 echo "$as_me: failed program was:" >&5
20777 sed 's/^/| /' conftest.$ac_ext >&5
20779 ac_cv_member_struct_option_name=no
20782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20788 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20789 if test $ac_cv_member_struct_option_name = yes; then
20791 cat >>confdefs.h <<_ACEOF
20792 #define HAVE_STRUCT_OPTION_NAME 1
20793 _ACEOF
20799 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20800 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20801 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20802 echo $ECHO_N "(cached) $ECHO_C" >&6
20803 else
20804 cat >conftest.$ac_ext <<_ACEOF
20805 /* confdefs.h. */
20806 _ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20810 $ac_includes_default
20812 main ()
20814 static struct stat ac_aggr;
20815 if (ac_aggr.st_blocks)
20816 return 0;
20818 return 0;
20820 _ACEOF
20821 rm -f conftest.$ac_objext
20822 if { (ac_try="$ac_compile"
20823 case "(($ac_try" in
20824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20825 *) ac_try_echo=$ac_try;;
20826 esac
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20828 (eval "$ac_compile") 2>conftest.er1
20829 ac_status=$?
20830 grep -v '^ *+' conftest.er1 >conftest.err
20831 rm -f conftest.er1
20832 cat conftest.err >&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } && {
20835 test -z "$ac_c_werror_flag" ||
20836 test ! -s conftest.err
20837 } && test -s conftest.$ac_objext; then
20838 ac_cv_member_struct_stat_st_blocks=yes
20839 else
20840 echo "$as_me: failed program was:" >&5
20841 sed 's/^/| /' conftest.$ac_ext >&5
20843 cat >conftest.$ac_ext <<_ACEOF
20844 /* confdefs.h. */
20845 _ACEOF
20846 cat confdefs.h >>conftest.$ac_ext
20847 cat >>conftest.$ac_ext <<_ACEOF
20848 /* end confdefs.h. */
20849 $ac_includes_default
20851 main ()
20853 static struct stat ac_aggr;
20854 if (sizeof ac_aggr.st_blocks)
20855 return 0;
20857 return 0;
20859 _ACEOF
20860 rm -f conftest.$ac_objext
20861 if { (ac_try="$ac_compile"
20862 case "(($ac_try" in
20863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20864 *) ac_try_echo=$ac_try;;
20865 esac
20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20867 (eval "$ac_compile") 2>conftest.er1
20868 ac_status=$?
20869 grep -v '^ *+' conftest.er1 >conftest.err
20870 rm -f conftest.er1
20871 cat conftest.err >&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } && {
20874 test -z "$ac_c_werror_flag" ||
20875 test ! -s conftest.err
20876 } && test -s conftest.$ac_objext; then
20877 ac_cv_member_struct_stat_st_blocks=yes
20878 else
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20882 ac_cv_member_struct_stat_st_blocks=no
20885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20890 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20891 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20892 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20894 cat >>confdefs.h <<_ACEOF
20895 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20896 _ACEOF
20902 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20903 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20904 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20905 echo $ECHO_N "(cached) $ECHO_C" >&6
20906 else
20907 cat >conftest.$ac_ext <<_ACEOF
20908 /* confdefs.h. */
20909 _ACEOF
20910 cat confdefs.h >>conftest.$ac_ext
20911 cat >>conftest.$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20913 #ifdef HAVE_SYS_TYPES_H
20914 #include <sys/types.h>
20915 #endif
20916 #ifdef HAVE_NETINET_IN_H
20917 #include <netinet/in.h>
20918 #endif
20921 main ()
20923 static struct sockaddr_in6 ac_aggr;
20924 if (ac_aggr.sin6_scope_id)
20925 return 0;
20927 return 0;
20929 _ACEOF
20930 rm -f conftest.$ac_objext
20931 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
20947 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20948 else
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20952 cat >conftest.$ac_ext <<_ACEOF
20953 /* confdefs.h. */
20954 _ACEOF
20955 cat confdefs.h >>conftest.$ac_ext
20956 cat >>conftest.$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 #ifdef HAVE_SYS_TYPES_H
20959 #include <sys/types.h>
20960 #endif
20961 #ifdef HAVE_NETINET_IN_H
20962 #include <netinet/in.h>
20963 #endif
20966 main ()
20968 static struct sockaddr_in6 ac_aggr;
20969 if (sizeof ac_aggr.sin6_scope_id)
20970 return 0;
20972 return 0;
20974 _ACEOF
20975 rm -f conftest.$ac_objext
20976 if { (ac_try="$ac_compile"
20977 case "(($ac_try" in
20978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20979 *) ac_try_echo=$ac_try;;
20980 esac
20981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20982 (eval "$ac_compile") 2>conftest.er1
20983 ac_status=$?
20984 grep -v '^ *+' conftest.er1 >conftest.err
20985 rm -f conftest.er1
20986 cat conftest.err >&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); } && {
20989 test -z "$ac_c_werror_flag" ||
20990 test ! -s conftest.err
20991 } && test -s conftest.$ac_objext; then
20992 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20993 else
20994 echo "$as_me: failed program was:" >&5
20995 sed 's/^/| /' conftest.$ac_ext >&5
20997 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
21000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21005 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
21006 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
21007 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
21009 cat >>confdefs.h <<_ACEOF
21010 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
21011 _ACEOF
21017 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
21018 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21019 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21020 echo $ECHO_N "(cached) $ECHO_C" >&6
21021 else
21022 cat >conftest.$ac_ext <<_ACEOF
21023 /* confdefs.h. */
21024 _ACEOF
21025 cat confdefs.h >>conftest.$ac_ext
21026 cat >>conftest.$ac_ext <<_ACEOF
21027 /* end confdefs.h. */
21028 #ifdef HAVE_SYS_TYPES_H
21029 #include <sys/types.h>
21030 #endif
21031 #ifdef HAVE_NETINET_IN_H
21032 # include <netinet/in.h>
21033 #endif
21034 #ifdef HAVE_ARPA_NAMESER_H
21035 # include <arpa/nameser.h>
21036 #endif
21039 main ()
21041 static ns_msg ac_aggr;
21042 if (ac_aggr._msg_ptr)
21043 return 0;
21045 return 0;
21047 _ACEOF
21048 rm -f conftest.$ac_objext
21049 if { (ac_try="$ac_compile"
21050 case "(($ac_try" in
21051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21052 *) ac_try_echo=$ac_try;;
21053 esac
21054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21055 (eval "$ac_compile") 2>conftest.er1
21056 ac_status=$?
21057 grep -v '^ *+' conftest.er1 >conftest.err
21058 rm -f conftest.er1
21059 cat conftest.err >&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } && {
21062 test -z "$ac_c_werror_flag" ||
21063 test ! -s conftest.err
21064 } && test -s conftest.$ac_objext; then
21065 ac_cv_member_ns_msg__msg_ptr=yes
21066 else
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21070 cat >conftest.$ac_ext <<_ACEOF
21071 /* confdefs.h. */
21072 _ACEOF
21073 cat confdefs.h >>conftest.$ac_ext
21074 cat >>conftest.$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076 #ifdef HAVE_SYS_TYPES_H
21077 #include <sys/types.h>
21078 #endif
21079 #ifdef HAVE_NETINET_IN_H
21080 # include <netinet/in.h>
21081 #endif
21082 #ifdef HAVE_ARPA_NAMESER_H
21083 # include <arpa/nameser.h>
21084 #endif
21087 main ()
21089 static ns_msg ac_aggr;
21090 if (sizeof ac_aggr._msg_ptr)
21091 return 0;
21093 return 0;
21095 _ACEOF
21096 rm -f conftest.$ac_objext
21097 if { (ac_try="$ac_compile"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21101 esac
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_compile") 2>conftest.er1
21104 ac_status=$?
21105 grep -v '^ *+' conftest.er1 >conftest.err
21106 rm -f conftest.er1
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && {
21110 test -z "$ac_c_werror_flag" ||
21111 test ! -s conftest.err
21112 } && test -s conftest.$ac_objext; then
21113 ac_cv_member_ns_msg__msg_ptr=yes
21114 else
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21118 ac_cv_member_ns_msg__msg_ptr=no
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21126 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21127 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21128 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21130 cat >>confdefs.h <<_ACEOF
21131 #define HAVE_NS_MSG__MSG_PTR 1
21132 _ACEOF
21138 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21139 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21140 if test "${ac_cv_have_timezone+set}" = set; then
21141 echo $ECHO_N "(cached) $ECHO_C" >&6
21142 else
21143 cat >conftest.$ac_ext <<_ACEOF
21144 /* confdefs.h. */
21145 _ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 #include <time.h>
21151 main ()
21153 timezone = 1
21155 return 0;
21157 _ACEOF
21158 rm -f conftest.$ac_objext conftest$ac_exeext
21159 if { (ac_try="$ac_link"
21160 case "(($ac_try" in
21161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21162 *) ac_try_echo=$ac_try;;
21163 esac
21164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21165 (eval "$ac_link") 2>conftest.er1
21166 ac_status=$?
21167 grep -v '^ *+' conftest.er1 >conftest.err
21168 rm -f conftest.er1
21169 cat conftest.err >&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } && {
21172 test -z "$ac_c_werror_flag" ||
21173 test ! -s conftest.err
21174 } && test -s conftest$ac_exeext &&
21175 $as_test_x conftest$ac_exeext; then
21176 ac_cv_have_timezone="yes"
21177 else
21178 echo "$as_me: failed program was:" >&5
21179 sed 's/^/| /' conftest.$ac_ext >&5
21181 ac_cv_have_timezone="no"
21184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21185 conftest$ac_exeext conftest.$ac_ext
21187 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21188 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21189 if test "$ac_cv_have_timezone" = "yes"
21190 then
21192 cat >>confdefs.h <<\_ACEOF
21193 #define HAVE_TIMEZONE 1
21194 _ACEOF
21197 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21198 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21199 if test "${ac_cv_have_daylight+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 else
21202 cat >conftest.$ac_ext <<_ACEOF
21203 /* confdefs.h. */
21204 _ACEOF
21205 cat confdefs.h >>conftest.$ac_ext
21206 cat >>conftest.$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21208 #include <time.h>
21210 main ()
21212 daylight = 1
21214 return 0;
21216 _ACEOF
21217 rm -f conftest.$ac_objext conftest$ac_exeext
21218 if { (ac_try="$ac_link"
21219 case "(($ac_try" in
21220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21221 *) ac_try_echo=$ac_try;;
21222 esac
21223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21224 (eval "$ac_link") 2>conftest.er1
21225 ac_status=$?
21226 grep -v '^ *+' conftest.er1 >conftest.err
21227 rm -f conftest.er1
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } && {
21231 test -z "$ac_c_werror_flag" ||
21232 test ! -s conftest.err
21233 } && test -s conftest$ac_exeext &&
21234 $as_test_x conftest$ac_exeext; then
21235 ac_cv_have_daylight="yes"
21236 else
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.$ac_ext >&5
21240 ac_cv_have_daylight="no"
21243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21244 conftest$ac_exeext conftest.$ac_ext
21246 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21247 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21248 if test "$ac_cv_have_daylight" = "yes"
21249 then
21251 cat >>confdefs.h <<\_ACEOF
21252 #define HAVE_DAYLIGHT 1
21253 _ACEOF
21258 case $host_cpu in
21259 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21260 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21261 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21263 else
21264 cat >conftest.$ac_ext <<_ACEOF
21265 /* confdefs.h. */
21266 _ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 #ifndef __i386__
21272 #endif
21273 _ACEOF
21274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21275 $EGREP "yes" >/dev/null 2>&1; then
21276 ac_cv_cpp_def___i386__=yes
21277 else
21278 ac_cv_cpp_def___i386__=no
21280 rm -f conftest*
21283 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21284 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21285 if test $ac_cv_cpp_def___i386__ = yes; then
21286 CFLAGS="$CFLAGS -D__i386__"
21287 LINTFLAGS="$LINTFLAGS -D__i386__"
21290 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21291 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21292 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 else
21295 cat >conftest.$ac_ext <<_ACEOF
21296 /* confdefs.h. */
21297 _ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21301 #ifndef __x86_64__
21303 #endif
21304 _ACEOF
21305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21306 $EGREP "yes" >/dev/null 2>&1; then
21307 ac_cv_cpp_def___x86_64__=yes
21308 else
21309 ac_cv_cpp_def___x86_64__=no
21311 rm -f conftest*
21314 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21315 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21316 if test $ac_cv_cpp_def___x86_64__ = yes; then
21317 CFLAGS="$CFLAGS -D__x86_64__"
21318 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21321 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21322 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21323 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21324 echo $ECHO_N "(cached) $ECHO_C" >&6
21325 else
21326 cat >conftest.$ac_ext <<_ACEOF
21327 /* confdefs.h. */
21328 _ACEOF
21329 cat confdefs.h >>conftest.$ac_ext
21330 cat >>conftest.$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21332 #ifndef __ALPHA__
21334 #endif
21335 _ACEOF
21336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21337 $EGREP "yes" >/dev/null 2>&1; then
21338 ac_cv_cpp_def___ALPHA__=yes
21339 else
21340 ac_cv_cpp_def___ALPHA__=no
21342 rm -f conftest*
21345 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21346 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21347 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21348 CFLAGS="$CFLAGS -D__ALPHA__"
21349 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21352 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21353 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21354 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21355 echo $ECHO_N "(cached) $ECHO_C" >&6
21356 else
21357 cat >conftest.$ac_ext <<_ACEOF
21358 /* confdefs.h. */
21359 _ACEOF
21360 cat confdefs.h >>conftest.$ac_ext
21361 cat >>conftest.$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21363 #ifndef __sparc__
21365 #endif
21366 _ACEOF
21367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21368 $EGREP "yes" >/dev/null 2>&1; then
21369 ac_cv_cpp_def___sparc__=yes
21370 else
21371 ac_cv_cpp_def___sparc__=no
21373 rm -f conftest*
21376 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21377 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21378 if test $ac_cv_cpp_def___sparc__ = yes; then
21379 CFLAGS="$CFLAGS -D__sparc__"
21380 LINTFLAGS="$LINTFLAGS -D__sparc__"
21383 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21384 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21385 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 else
21388 cat >conftest.$ac_ext <<_ACEOF
21389 /* confdefs.h. */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394 #ifndef __powerpc__
21396 #endif
21397 _ACEOF
21398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21399 $EGREP "yes" >/dev/null 2>&1; then
21400 ac_cv_cpp_def___powerpc__=yes
21401 else
21402 ac_cv_cpp_def___powerpc__=no
21404 rm -f conftest*
21407 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21408 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21409 if test $ac_cv_cpp_def___powerpc__ = yes; then
21410 CFLAGS="$CFLAGS -D__powerpc__"
21411 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21414 esac
21416 case $host_vendor in
21417 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21418 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21419 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21421 else
21422 cat >conftest.$ac_ext <<_ACEOF
21423 /* confdefs.h. */
21424 _ACEOF
21425 cat confdefs.h >>conftest.$ac_ext
21426 cat >>conftest.$ac_ext <<_ACEOF
21427 /* end confdefs.h. */
21428 #ifndef __sun__
21430 #endif
21431 _ACEOF
21432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21433 $EGREP "yes" >/dev/null 2>&1; then
21434 ac_cv_cpp_def___sun__=yes
21435 else
21436 ac_cv_cpp_def___sun__=no
21438 rm -f conftest*
21441 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21442 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21443 if test $ac_cv_cpp_def___sun__ = yes; then
21444 CFLAGS="$CFLAGS -D__sun__"
21445 LINTFLAGS="$LINTFLAGS -D__sun__"
21448 esac
21451 DEPENDENCIES="### Dependencies:
21453 .INIT: Makefile
21454 .BEGIN: Makefile
21455 Makefile: dummy
21456 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21458 \$(OBJS): \$(IDL_GEN_HEADERS)
21459 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21460 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21461 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21467 ac_config_commands="$ac_config_commands include/stamp-h"
21470 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21472 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21474 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21476 ac_config_commands="$ac_config_commands dlls/user32/resources"
21478 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21480 ac_config_commands="$ac_config_commands include/wine"
21483 MAKE_RULES=Make.rules
21486 MAKE_DLL_RULES=dlls/Makedll.rules
21489 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21492 MAKE_TEST_RULES=dlls/Maketest.rules
21495 MAKE_PROG_RULES=programs/Makeprog.rules
21498 ac_config_files="$ac_config_files Make.rules"
21500 ac_config_files="$ac_config_files dlls/Makedll.rules"
21502 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21504 ac_config_files="$ac_config_files dlls/Maketest.rules"
21506 ac_config_files="$ac_config_files programs/Makeprog.rules"
21508 ac_config_files="$ac_config_files Makefile"
21510 ac_config_files="$ac_config_files dlls/Makefile"
21512 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21514 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21516 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21518 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21520 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21522 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21524 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21526 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21528 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21530 ac_config_files="$ac_config_files dlls/atl/Makefile"
21532 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21534 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21536 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21538 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21540 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21542 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21544 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21546 ac_config_files="$ac_config_files dlls/cards/Makefile"
21548 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21550 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21552 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21554 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21556 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21558 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21560 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21562 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21564 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21566 ac_config_files="$ac_config_files dlls/credui/Makefile"
21568 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21570 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21572 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21574 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21576 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21578 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21580 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21582 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21584 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21586 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21588 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21590 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21592 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21594 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21596 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21598 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21600 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21602 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21604 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21606 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21608 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21610 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21612 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21614 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21616 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21618 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21620 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21622 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21624 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21626 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21628 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21630 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21632 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21634 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21636 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21638 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21640 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21642 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21644 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21646 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21648 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21650 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21652 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21654 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21656 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21658 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21660 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21662 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21664 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21666 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21668 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21670 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21672 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21674 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21676 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21678 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21680 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21682 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21684 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21686 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21688 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21690 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21692 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21694 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21696 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21698 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21700 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21702 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21704 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21706 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21708 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21710 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21712 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21714 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21716 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21718 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21720 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21722 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21724 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21726 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21728 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21730 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21732 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21734 ac_config_files="$ac_config_files dlls/hal/Makefile"
21736 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21738 ac_config_files="$ac_config_files dlls/hid/Makefile"
21740 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21742 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21744 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21746 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21748 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21750 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21752 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21754 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21756 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21758 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21760 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21762 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21764 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21766 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21768 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21770 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21772 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21774 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21776 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21778 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21780 ac_config_files="$ac_config_files dlls/itss/Makefile"
21782 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21784 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21786 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21788 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21790 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21792 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21794 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21796 ac_config_files="$ac_config_files dlls/localui/Makefile"
21798 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21800 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21802 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21804 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21806 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21808 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21810 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21812 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21814 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21816 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21818 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21820 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21822 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21824 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21826 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21828 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21830 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21832 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21834 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21836 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21838 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21840 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21842 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21844 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21846 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21848 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21850 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21852 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21854 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21856 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21858 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21860 ac_config_files="$ac_config_files dlls/msi/Makefile"
21862 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21864 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21866 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21868 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21870 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21872 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21874 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21876 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21878 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21880 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21882 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21884 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21886 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21888 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21890 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21892 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21894 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21896 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21898 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21900 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21902 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21904 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21906 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21908 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21910 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21912 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21914 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21916 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21918 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21920 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21922 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21924 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21926 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21928 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21930 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21932 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21934 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21936 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21938 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21940 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21942 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21944 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21946 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21948 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21950 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21952 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21954 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21956 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21958 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21960 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21962 ac_config_files="$ac_config_files dlls/printui/Makefile"
21964 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21966 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21968 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21970 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21972 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21974 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21976 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21978 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21980 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21982 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21984 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21986 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21988 ac_config_files="$ac_config_files dlls/query/Makefile"
21990 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21992 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21994 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21996 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21998 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22000 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22002 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22004 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22006 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22008 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22010 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22012 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22014 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22016 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22018 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22020 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22022 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22024 ac_config_files="$ac_config_files dlls/security/Makefile"
22026 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22028 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22030 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22032 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22034 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22036 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22038 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22040 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22042 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22044 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22046 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22048 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22050 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22052 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22054 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22056 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22058 ac_config_files="$ac_config_files dlls/slc/Makefile"
22060 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22062 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22064 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22066 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22068 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22070 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22072 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22074 ac_config_files="$ac_config_files dlls/sti/Makefile"
22076 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22078 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22080 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22082 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22084 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22086 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22088 ac_config_files="$ac_config_files dlls/url/Makefile"
22090 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22092 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22094 ac_config_files="$ac_config_files dlls/user32/Makefile"
22096 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22098 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22100 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22102 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22104 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22106 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22108 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22110 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22112 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22114 ac_config_files="$ac_config_files dlls/version/Makefile"
22116 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22118 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22120 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22122 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22124 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22126 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22128 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22130 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22132 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22134 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22136 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22138 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22140 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22142 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22144 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22146 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22148 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22150 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22152 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22154 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22156 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22158 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22160 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22162 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22164 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22166 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22168 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22170 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22172 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22174 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22176 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22178 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22180 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22182 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22184 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22186 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22188 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22190 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22192 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22194 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22196 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22198 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22200 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22202 ac_config_files="$ac_config_files documentation/Makefile"
22204 ac_config_files="$ac_config_files fonts/Makefile"
22206 ac_config_files="$ac_config_files include/Makefile"
22208 ac_config_files="$ac_config_files libs/Makefile"
22210 ac_config_files="$ac_config_files libs/port/Makefile"
22212 ac_config_files="$ac_config_files libs/wine/Makefile"
22214 ac_config_files="$ac_config_files libs/wpp/Makefile"
22216 ac_config_files="$ac_config_files loader/Makefile"
22218 ac_config_files="$ac_config_files programs/Makefile"
22220 ac_config_files="$ac_config_files programs/clock/Makefile"
22222 ac_config_files="$ac_config_files programs/cmd/Makefile"
22224 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22226 ac_config_files="$ac_config_files programs/control/Makefile"
22228 ac_config_files="$ac_config_files programs/eject/Makefile"
22230 ac_config_files="$ac_config_files programs/expand/Makefile"
22232 ac_config_files="$ac_config_files programs/explorer/Makefile"
22234 ac_config_files="$ac_config_files programs/hh/Makefile"
22236 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22238 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22240 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22242 ac_config_files="$ac_config_files programs/net/Makefile"
22244 ac_config_files="$ac_config_files programs/notepad/Makefile"
22246 ac_config_files="$ac_config_files programs/oleview/Makefile"
22248 ac_config_files="$ac_config_files programs/progman/Makefile"
22250 ac_config_files="$ac_config_files programs/reg/Makefile"
22252 ac_config_files="$ac_config_files programs/regedit/Makefile"
22254 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22256 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22258 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22260 ac_config_files="$ac_config_files programs/secedit/Makefile"
22262 ac_config_files="$ac_config_files programs/services/Makefile"
22264 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22266 ac_config_files="$ac_config_files programs/start/Makefile"
22268 ac_config_files="$ac_config_files programs/svchost/Makefile"
22270 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22272 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22274 ac_config_files="$ac_config_files programs/view/Makefile"
22276 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22278 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22280 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22282 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22284 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22286 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22288 ac_config_files="$ac_config_files programs/winefile/Makefile"
22290 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22292 ac_config_files="$ac_config_files programs/winemine/Makefile"
22294 ac_config_files="$ac_config_files programs/winepath/Makefile"
22296 ac_config_files="$ac_config_files programs/winetest/Makefile"
22298 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22300 ac_config_files="$ac_config_files programs/winhelp/Makefile"
22302 ac_config_files="$ac_config_files programs/winver/Makefile"
22304 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22306 ac_config_files="$ac_config_files programs/write/Makefile"
22308 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22310 ac_config_files="$ac_config_files server/Makefile"
22312 ac_config_files="$ac_config_files tools/Makefile"
22314 ac_config_files="$ac_config_files tools/widl/Makefile"
22316 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22318 ac_config_files="$ac_config_files tools/winedump/Makefile"
22320 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22322 ac_config_files="$ac_config_files tools/wmc/Makefile"
22324 ac_config_files="$ac_config_files tools/wrc/Makefile"
22327 cat >confcache <<\_ACEOF
22328 # This file is a shell script that caches the results of configure
22329 # tests run on this system so they can be shared between configure
22330 # scripts and configure runs, see configure's option --config-cache.
22331 # It is not useful on other systems. If it contains results you don't
22332 # want to keep, you may remove or edit it.
22334 # config.status only pays attention to the cache file if you give it
22335 # the --recheck option to rerun configure.
22337 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22338 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22339 # following values.
22341 _ACEOF
22343 # The following way of writing the cache mishandles newlines in values,
22344 # but we know of no workaround that is simple, portable, and efficient.
22345 # So, we kill variables containing newlines.
22346 # Ultrix sh set writes to stderr and can't be redirected directly,
22347 # and sets the high bit in the cache file unless we assign to the vars.
22349 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22350 eval ac_val=\$$ac_var
22351 case $ac_val in #(
22352 *${as_nl}*)
22353 case $ac_var in #(
22354 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22355 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22356 esac
22357 case $ac_var in #(
22358 _ | IFS | as_nl) ;; #(
22359 *) $as_unset $ac_var ;;
22360 esac ;;
22361 esac
22362 done
22364 (set) 2>&1 |
22365 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22366 *${as_nl}ac_space=\ *)
22367 # `set' does not quote correctly, so add quotes (double-quote
22368 # substitution turns \\\\ into \\, and sed turns \\ into \).
22369 sed -n \
22370 "s/'/'\\\\''/g;
22371 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22372 ;; #(
22374 # `set' quotes correctly as required by POSIX, so do not add quotes.
22375 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22377 esac |
22378 sort
22380 sed '
22381 /^ac_cv_env_/b end
22382 t clear
22383 :clear
22384 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22385 t end
22386 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22387 :end' >>confcache
22388 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22389 if test -w "$cache_file"; then
22390 test "x$cache_file" != "x/dev/null" &&
22391 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22392 echo "$as_me: updating cache $cache_file" >&6;}
22393 cat confcache >$cache_file
22394 else
22395 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22396 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22399 rm -f confcache
22401 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22402 # Let make expand exec_prefix.
22403 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22405 DEFS=-DHAVE_CONFIG_H
22407 ac_libobjs=
22408 ac_ltlibobjs=
22409 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22410 # 1. Remove the extension, and $U if already installed.
22411 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22412 ac_i=`echo "$ac_i" | sed "$ac_script"`
22413 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22414 # will be set to the directory where LIBOBJS objects are built.
22415 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22416 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22417 done
22418 LIBOBJS=$ac_libobjs
22420 LTLIBOBJS=$ac_ltlibobjs
22424 : ${CONFIG_STATUS=./config.status}
22425 ac_clean_files_save=$ac_clean_files
22426 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22427 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22428 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22429 cat >$CONFIG_STATUS <<_ACEOF
22430 #! $SHELL
22431 # Generated by $as_me.
22432 # Run this file to recreate the current configuration.
22433 # Compiler output produced by configure, useful for debugging
22434 # configure, is in config.log if it exists.
22436 debug=false
22437 ac_cs_recheck=false
22438 ac_cs_silent=false
22439 SHELL=\${CONFIG_SHELL-$SHELL}
22440 _ACEOF
22442 cat >>$CONFIG_STATUS <<\_ACEOF
22443 ## --------------------- ##
22444 ## M4sh Initialization. ##
22445 ## --------------------- ##
22447 # Be more Bourne compatible
22448 DUALCASE=1; export DUALCASE # for MKS sh
22449 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22450 emulate sh
22451 NULLCMD=:
22452 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22453 # is contrary to our usage. Disable this feature.
22454 alias -g '${1+"$@"}'='"$@"'
22455 setopt NO_GLOB_SUBST
22456 else
22457 case `(set -o) 2>/dev/null` in
22458 *posix*) set -o posix ;;
22459 esac
22466 # PATH needs CR
22467 # Avoid depending upon Character Ranges.
22468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22471 as_cr_digits='0123456789'
22472 as_cr_alnum=$as_cr_Letters$as_cr_digits
22474 # The user is always right.
22475 if test "${PATH_SEPARATOR+set}" != set; then
22476 echo "#! /bin/sh" >conf$$.sh
22477 echo "exit 0" >>conf$$.sh
22478 chmod +x conf$$.sh
22479 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22480 PATH_SEPARATOR=';'
22481 else
22482 PATH_SEPARATOR=:
22484 rm -f conf$$.sh
22487 # Support unset when possible.
22488 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22489 as_unset=unset
22490 else
22491 as_unset=false
22495 # IFS
22496 # We need space, tab and new line, in precisely that order. Quoting is
22497 # there to prevent editors from complaining about space-tab.
22498 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22499 # splitting by setting IFS to empty value.)
22500 as_nl='
22502 IFS=" "" $as_nl"
22504 # Find who we are. Look in the path if we contain no directory separator.
22505 case $0 in
22506 *[\\/]* ) as_myself=$0 ;;
22507 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22508 for as_dir in $PATH
22510 IFS=$as_save_IFS
22511 test -z "$as_dir" && as_dir=.
22512 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22513 done
22514 IFS=$as_save_IFS
22517 esac
22518 # We did not find ourselves, most probably we were run as `sh COMMAND'
22519 # in which case we are not to be found in the path.
22520 if test "x$as_myself" = x; then
22521 as_myself=$0
22523 if test ! -f "$as_myself"; then
22524 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22525 { (exit 1); exit 1; }
22528 # Work around bugs in pre-3.0 UWIN ksh.
22529 for as_var in ENV MAIL MAILPATH
22530 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22531 done
22532 PS1='$ '
22533 PS2='> '
22534 PS4='+ '
22536 # NLS nuisances.
22537 for as_var in \
22538 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22539 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22540 LC_TELEPHONE LC_TIME
22542 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22543 eval $as_var=C; export $as_var
22544 else
22545 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22547 done
22549 # Required to use basename.
22550 if expr a : '\(a\)' >/dev/null 2>&1 &&
22551 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22552 as_expr=expr
22553 else
22554 as_expr=false
22557 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22558 as_basename=basename
22559 else
22560 as_basename=false
22564 # Name of the executable.
22565 as_me=`$as_basename -- "$0" ||
22566 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22567 X"$0" : 'X\(//\)$' \| \
22568 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22569 echo X/"$0" |
22570 sed '/^.*\/\([^/][^/]*\)\/*$/{
22571 s//\1/
22574 /^X\/\(\/\/\)$/{
22575 s//\1/
22578 /^X\/\(\/\).*/{
22579 s//\1/
22582 s/.*/./; q'`
22584 # CDPATH.
22585 $as_unset CDPATH
22589 as_lineno_1=$LINENO
22590 as_lineno_2=$LINENO
22591 test "x$as_lineno_1" != "x$as_lineno_2" &&
22592 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22594 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22595 # uniformly replaced by the line number. The first 'sed' inserts a
22596 # line-number line after each line using $LINENO; the second 'sed'
22597 # does the real work. The second script uses 'N' to pair each
22598 # line-number line with the line containing $LINENO, and appends
22599 # trailing '-' during substitution so that $LINENO is not a special
22600 # case at line end.
22601 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22602 # scripts with optimization help from Paolo Bonzini. Blame Lee
22603 # E. McMahon (1931-1989) for sed's syntax. :-)
22604 sed -n '
22606 /[$]LINENO/=
22607 ' <$as_myself |
22608 sed '
22609 s/[$]LINENO.*/&-/
22610 t lineno
22612 :lineno
22614 :loop
22615 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22616 t loop
22617 s/-\n.*//
22618 ' >$as_me.lineno &&
22619 chmod +x "$as_me.lineno" ||
22620 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22621 { (exit 1); exit 1; }; }
22623 # Don't try to exec as it changes $[0], causing all sort of problems
22624 # (the dirname of $[0] is not the place where we might find the
22625 # original and so on. Autoconf is especially sensitive to this).
22626 . "./$as_me.lineno"
22627 # Exit status is that of the last command.
22628 exit
22632 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22633 as_dirname=dirname
22634 else
22635 as_dirname=false
22638 ECHO_C= ECHO_N= ECHO_T=
22639 case `echo -n x` in
22640 -n*)
22641 case `echo 'x\c'` in
22642 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22643 *) ECHO_C='\c';;
22644 esac;;
22646 ECHO_N='-n';;
22647 esac
22649 if expr a : '\(a\)' >/dev/null 2>&1 &&
22650 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22651 as_expr=expr
22652 else
22653 as_expr=false
22656 rm -f conf$$ conf$$.exe conf$$.file
22657 if test -d conf$$.dir; then
22658 rm -f conf$$.dir/conf$$.file
22659 else
22660 rm -f conf$$.dir
22661 mkdir conf$$.dir
22663 echo >conf$$.file
22664 if ln -s conf$$.file conf$$ 2>/dev/null; then
22665 as_ln_s='ln -s'
22666 # ... but there are two gotchas:
22667 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22668 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22669 # In both cases, we have to default to `cp -p'.
22670 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22671 as_ln_s='cp -p'
22672 elif ln conf$$.file conf$$ 2>/dev/null; then
22673 as_ln_s=ln
22674 else
22675 as_ln_s='cp -p'
22677 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22678 rmdir conf$$.dir 2>/dev/null
22680 if mkdir -p . 2>/dev/null; then
22681 as_mkdir_p=:
22682 else
22683 test -d ./-p && rmdir ./-p
22684 as_mkdir_p=false
22687 if test -x / >/dev/null 2>&1; then
22688 as_test_x='test -x'
22689 else
22690 if ls -dL / >/dev/null 2>&1; then
22691 as_ls_L_option=L
22692 else
22693 as_ls_L_option=
22695 as_test_x='
22696 eval sh -c '\''
22697 if test -d "$1"; then
22698 test -d "$1/.";
22699 else
22700 case $1 in
22701 -*)set "./$1";;
22702 esac;
22703 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22704 ???[sx]*):;;*)false;;esac;fi
22705 '\'' sh
22708 as_executable_p=$as_test_x
22710 # Sed expression to map a string onto a valid CPP name.
22711 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22713 # Sed expression to map a string onto a valid variable name.
22714 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22717 exec 6>&1
22719 # Save the log message, to keep $[0] and so on meaningful, and to
22720 # report actual input values of CONFIG_FILES etc. instead of their
22721 # values after options handling.
22722 ac_log="
22723 This file was extended by Wine $as_me 0.9.60, which was
22724 generated by GNU Autoconf 2.61. Invocation command line was
22726 CONFIG_FILES = $CONFIG_FILES
22727 CONFIG_HEADERS = $CONFIG_HEADERS
22728 CONFIG_LINKS = $CONFIG_LINKS
22729 CONFIG_COMMANDS = $CONFIG_COMMANDS
22730 $ $0 $@
22732 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22735 _ACEOF
22737 cat >>$CONFIG_STATUS <<_ACEOF
22738 # Files that config.status was made for.
22739 config_files="$ac_config_files"
22740 config_headers="$ac_config_headers"
22741 config_commands="$ac_config_commands"
22743 _ACEOF
22745 cat >>$CONFIG_STATUS <<\_ACEOF
22746 ac_cs_usage="\
22747 \`$as_me' instantiates files from templates according to the
22748 current configuration.
22750 Usage: $0 [OPTIONS] [FILE]...
22752 -h, --help print this help, then exit
22753 -V, --version print version number and configuration settings, then exit
22754 -q, --quiet do not print progress messages
22755 -d, --debug don't remove temporary files
22756 --recheck update $as_me by reconfiguring in the same conditions
22757 --file=FILE[:TEMPLATE]
22758 instantiate the configuration file FILE
22759 --header=FILE[:TEMPLATE]
22760 instantiate the configuration header FILE
22762 Configuration files:
22763 $config_files
22765 Configuration headers:
22766 $config_headers
22768 Configuration commands:
22769 $config_commands
22771 Report bugs to <bug-autoconf@gnu.org>."
22773 _ACEOF
22774 cat >>$CONFIG_STATUS <<_ACEOF
22775 ac_cs_version="\\
22776 Wine config.status 0.9.60
22777 configured by $0, generated by GNU Autoconf 2.61,
22778 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22780 Copyright (C) 2006 Free Software Foundation, Inc.
22781 This config.status script is free software; the Free Software Foundation
22782 gives unlimited permission to copy, distribute and modify it."
22784 ac_pwd='$ac_pwd'
22785 srcdir='$srcdir'
22786 INSTALL='$INSTALL'
22787 _ACEOF
22789 cat >>$CONFIG_STATUS <<\_ACEOF
22790 # If no file are specified by the user, then we need to provide default
22791 # value. By we need to know if files were specified by the user.
22792 ac_need_defaults=:
22793 while test $# != 0
22795 case $1 in
22796 --*=*)
22797 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22798 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22799 ac_shift=:
22802 ac_option=$1
22803 ac_optarg=$2
22804 ac_shift=shift
22806 esac
22808 case $ac_option in
22809 # Handling of the options.
22810 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22811 ac_cs_recheck=: ;;
22812 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22813 echo "$ac_cs_version"; exit ;;
22814 --debug | --debu | --deb | --de | --d | -d )
22815 debug=: ;;
22816 --file | --fil | --fi | --f )
22817 $ac_shift
22818 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22819 ac_need_defaults=false;;
22820 --header | --heade | --head | --hea )
22821 $ac_shift
22822 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22823 ac_need_defaults=false;;
22824 --he | --h)
22825 # Conflict between --help and --header
22826 { echo "$as_me: error: ambiguous option: $1
22827 Try \`$0 --help' for more information." >&2
22828 { (exit 1); exit 1; }; };;
22829 --help | --hel | -h )
22830 echo "$ac_cs_usage"; exit ;;
22831 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22832 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22833 ac_cs_silent=: ;;
22835 # This is an error.
22836 -*) { echo "$as_me: error: unrecognized option: $1
22837 Try \`$0 --help' for more information." >&2
22838 { (exit 1); exit 1; }; } ;;
22840 *) ac_config_targets="$ac_config_targets $1"
22841 ac_need_defaults=false ;;
22843 esac
22844 shift
22845 done
22847 ac_configure_extra_args=
22849 if $ac_cs_silent; then
22850 exec 6>/dev/null
22851 ac_configure_extra_args="$ac_configure_extra_args --silent"
22854 _ACEOF
22855 cat >>$CONFIG_STATUS <<_ACEOF
22856 if \$ac_cs_recheck; then
22857 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22858 CONFIG_SHELL=$SHELL
22859 export CONFIG_SHELL
22860 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22863 _ACEOF
22864 cat >>$CONFIG_STATUS <<\_ACEOF
22865 exec 5>>config.log
22867 echo
22868 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22869 ## Running $as_me. ##
22870 _ASBOX
22871 echo "$ac_log"
22872 } >&5
22874 _ACEOF
22875 cat >>$CONFIG_STATUS <<_ACEOF
22876 _ACEOF
22878 cat >>$CONFIG_STATUS <<\_ACEOF
22880 # Handling of arguments.
22881 for ac_config_target in $ac_config_targets
22883 case $ac_config_target in
22884 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22885 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22886 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22887 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22888 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22889 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22890 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22891 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22892 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22893 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22894 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22895 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22896 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22897 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22898 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22899 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22900 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22901 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22902 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22903 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22904 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22905 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22906 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22907 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22908 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22909 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22910 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22911 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22912 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22913 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22914 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22915 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22916 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22917 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22918 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22919 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22920 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22921 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22922 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22923 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22924 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22925 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22926 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22927 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22928 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22929 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22930 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22931 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22932 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22933 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22934 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22935 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22936 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22937 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22938 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22939 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22940 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22941 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22942 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22943 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22944 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22945 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22946 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22947 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22948 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22949 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22950 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22951 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22952 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22953 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22954 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22955 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22956 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22957 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22958 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22959 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22960 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22961 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22962 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
22963 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22964 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22965 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22966 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22967 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22968 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22969 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22970 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22971 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22972 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22973 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22974 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22975 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22976 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22977 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22978 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22979 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22980 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22981 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22982 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22983 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22984 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22985 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22986 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22987 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22988 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22989 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22990 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22991 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22992 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22993 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22994 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22995 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22996 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22997 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22998 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22999 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23000 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23001 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23002 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23003 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23004 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23005 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23006 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23007 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23008 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23009 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23010 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23011 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23012 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23013 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23014 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23015 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23016 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23017 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23018 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23019 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23020 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23021 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23022 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23023 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23024 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23025 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23026 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23027 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23028 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23029 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23030 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23031 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23032 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23033 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23034 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23035 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23036 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23037 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23038 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23039 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23040 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23041 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23042 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23043 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23044 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23045 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23046 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23047 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23048 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23049 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23050 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23051 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23052 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23053 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23054 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23055 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23056 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23057 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23058 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23059 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23060 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23061 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23062 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23063 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23064 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23065 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23066 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23067 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23068 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23069 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23070 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23071 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23072 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23073 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23074 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23075 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23076 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23077 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23078 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23079 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23080 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23081 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23082 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23083 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23084 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23085 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23086 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23087 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23088 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23089 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23090 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23091 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23092 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23093 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23094 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23095 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23096 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23097 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23098 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23099 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23100 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23101 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23102 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23103 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23104 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23105 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23106 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23107 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23108 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23109 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23110 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23111 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23112 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23113 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23114 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23115 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23116 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23117 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23118 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23119 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23120 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23121 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23122 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23123 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23124 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23125 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23126 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23127 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23128 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23129 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23130 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23131 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23132 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23133 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23134 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23135 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23136 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23137 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23138 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23139 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23140 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23141 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23142 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23143 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23144 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23145 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23146 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23147 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23148 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23149 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23150 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23151 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23152 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23153 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23154 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23155 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23156 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23157 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23158 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23159 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23160 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23161 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23162 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23163 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23164 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23165 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23166 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23167 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23168 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23169 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23170 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23171 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23172 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23173 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23174 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23175 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23176 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23177 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23178 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23179 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23180 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23181 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23182 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23183 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23184 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23185 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23186 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23187 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23188 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23189 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23190 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23191 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23192 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23193 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23194 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23195 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23196 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23197 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23198 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23199 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23200 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23201 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23202 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23203 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23204 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23205 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23206 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23207 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23208 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23209 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23210 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23211 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23212 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23213 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23214 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23215 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23216 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23217 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23218 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23219 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23220 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23221 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23222 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23223 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23224 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23225 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23226 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23227 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23228 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23229 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23230 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23231 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23232 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23233 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23234 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23235 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23236 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23237 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23238 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23239 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23240 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23241 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23242 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23243 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23244 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23245 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23246 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23247 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23248 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23249 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23250 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23251 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23252 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23253 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23254 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23255 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23256 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23257 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23258 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23259 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23260 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23261 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23262 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23263 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23264 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23265 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23266 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23267 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23268 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23269 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23270 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23271 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23272 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23273 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23274 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23275 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23276 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23277 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23278 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23279 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23280 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23281 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23282 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23283 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23284 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23285 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23286 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23287 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23288 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23289 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23290 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23291 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23292 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23293 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
23294 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23295 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23296 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23297 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23298 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23299 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23300 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23301 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23302 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23303 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23304 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23305 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23307 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23308 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23309 { (exit 1); exit 1; }; };;
23310 esac
23311 done
23314 # If the user did not use the arguments to specify the items to instantiate,
23315 # then the envvar interface is used. Set only those that are not.
23316 # We use the long form for the default assignment because of an extremely
23317 # bizarre bug on SunOS 4.1.3.
23318 if $ac_need_defaults; then
23319 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23320 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23321 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23324 # Have a temporary directory for convenience. Make it in the build tree
23325 # simply because there is no reason against having it here, and in addition,
23326 # creating and moving files from /tmp can sometimes cause problems.
23327 # Hook for its removal unless debugging.
23328 # Note that there is a small window in which the directory will not be cleaned:
23329 # after its creation but before its name has been assigned to `$tmp'.
23330 $debug ||
23332 tmp=
23333 trap 'exit_status=$?
23334 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23336 trap '{ (exit 1); exit 1; }' 1 2 13 15
23338 # Create a (secure) tmp directory for tmp files.
23341 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23342 test -n "$tmp" && test -d "$tmp"
23343 } ||
23345 tmp=./conf$$-$RANDOM
23346 (umask 077 && mkdir "$tmp")
23347 } ||
23349 echo "$me: cannot create a temporary directory in ." >&2
23350 { (exit 1); exit 1; }
23354 # Set up the sed scripts for CONFIG_FILES section.
23357 # No need to generate the scripts if there are no CONFIG_FILES.
23358 # This happens for instance when ./config.status config.h
23359 if test -n "$CONFIG_FILES"; then
23361 _ACEOF
23363 # Create sed commands to just substitute file output variables.
23365 # Remaining file output variables are in a fragment that also has non-file
23366 # output varibles.
23370 ac_delim='%!_!# '
23371 for ac_last_try in false false false false false :; do
23372 cat >conf$$subs.sed <<_ACEOF
23373 SHELL!$SHELL$ac_delim
23374 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23375 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23376 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23377 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23378 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23379 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23380 exec_prefix!$exec_prefix$ac_delim
23381 prefix!$prefix$ac_delim
23382 program_transform_name!$program_transform_name$ac_delim
23383 bindir!$bindir$ac_delim
23384 sbindir!$sbindir$ac_delim
23385 libexecdir!$libexecdir$ac_delim
23386 datarootdir!$datarootdir$ac_delim
23387 datadir!$datadir$ac_delim
23388 sysconfdir!$sysconfdir$ac_delim
23389 sharedstatedir!$sharedstatedir$ac_delim
23390 localstatedir!$localstatedir$ac_delim
23391 includedir!$includedir$ac_delim
23392 oldincludedir!$oldincludedir$ac_delim
23393 docdir!$docdir$ac_delim
23394 infodir!$infodir$ac_delim
23395 htmldir!$htmldir$ac_delim
23396 dvidir!$dvidir$ac_delim
23397 pdfdir!$pdfdir$ac_delim
23398 psdir!$psdir$ac_delim
23399 libdir!$libdir$ac_delim
23400 localedir!$localedir$ac_delim
23401 mandir!$mandir$ac_delim
23402 DEFS!$DEFS$ac_delim
23403 ECHO_C!$ECHO_C$ac_delim
23404 ECHO_N!$ECHO_N$ac_delim
23405 ECHO_T!$ECHO_T$ac_delim
23406 LIBS!$LIBS$ac_delim
23407 build_alias!$build_alias$ac_delim
23408 host_alias!$host_alias$ac_delim
23409 target_alias!$target_alias$ac_delim
23410 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23411 build!$build$ac_delim
23412 build_cpu!$build_cpu$ac_delim
23413 build_vendor!$build_vendor$ac_delim
23414 build_os!$build_os$ac_delim
23415 host!$host$ac_delim
23416 host_cpu!$host_cpu$ac_delim
23417 host_vendor!$host_vendor$ac_delim
23418 host_os!$host_os$ac_delim
23419 WIN16_FILES!$WIN16_FILES$ac_delim
23420 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23421 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23422 WINETEST!$WINETEST$ac_delim
23423 SET_MAKE!$SET_MAKE$ac_delim
23424 CC!$CC$ac_delim
23425 CFLAGS!$CFLAGS$ac_delim
23426 LDFLAGS!$LDFLAGS$ac_delim
23427 CPPFLAGS!$CPPFLAGS$ac_delim
23428 ac_ct_CC!$ac_ct_CC$ac_delim
23429 EXEEXT!$EXEEXT$ac_delim
23430 OBJEXT!$OBJEXT$ac_delim
23431 CXX!$CXX$ac_delim
23432 CXXFLAGS!$CXXFLAGS$ac_delim
23433 ac_ct_CXX!$ac_ct_CXX$ac_delim
23434 CPPBIN!$CPPBIN$ac_delim
23435 TOOLSDIR!$TOOLSDIR$ac_delim
23436 XMKMF!$XMKMF$ac_delim
23437 CPP!$CPP$ac_delim
23438 X_CFLAGS!$X_CFLAGS$ac_delim
23439 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23440 X_LIBS!$X_LIBS$ac_delim
23441 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23442 FLEX!$FLEX$ac_delim
23443 BISON!$BISON$ac_delim
23444 AS!$AS$ac_delim
23445 ac_ct_AS!$ac_ct_AS$ac_delim
23446 LD!$LD$ac_delim
23447 AR!$AR$ac_delim
23448 ARFLAGS!$ARFLAGS$ac_delim
23449 RANLIB!$RANLIB$ac_delim
23450 STRIP!$STRIP$ac_delim
23451 WINDRES!$WINDRES$ac_delim
23452 LN_S!$LN_S$ac_delim
23453 LN!$LN$ac_delim
23454 GREP!$GREP$ac_delim
23455 _ACEOF
23457 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23458 break
23459 elif $ac_last_try; then
23460 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23461 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23462 { (exit 1); exit 1; }; }
23463 else
23464 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23466 done
23468 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23469 if test -n "$ac_eof"; then
23470 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23471 ac_eof=`expr $ac_eof + 1`
23474 cat >>$CONFIG_STATUS <<_ACEOF
23475 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23476 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23477 /^[ ]*@MAKE_RULES@[ ]*$/{
23478 r $MAKE_RULES
23481 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23482 r $MAKE_DLL_RULES
23485 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23486 r $MAKE_IMPLIB_RULES
23489 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23490 r $MAKE_TEST_RULES
23493 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23494 r $MAKE_PROG_RULES
23497 _ACEOF
23498 sed '
23499 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23500 s/^/s,@/; s/!/@,|#_!!_#|/
23503 s/'"$ac_delim"'$/,g/; t
23504 s/$/\\/; p
23505 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23506 ' >>$CONFIG_STATUS <conf$$subs.sed
23507 rm -f conf$$subs.sed
23508 cat >>$CONFIG_STATUS <<_ACEOF
23509 CEOF$ac_eof
23510 _ACEOF
23513 ac_delim='%!_!# '
23514 for ac_last_try in false false false false false :; do
23515 cat >conf$$subs.sed <<_ACEOF
23516 EGREP!$EGREP$ac_delim
23517 LDCONFIG!$LDCONFIG$ac_delim
23518 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23519 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23520 INSTALL_DATA!$INSTALL_DATA$ac_delim
23521 LINT!$LINT$ac_delim
23522 LINTFLAGS!$LINTFLAGS$ac_delim
23523 FONTFORGE!$FONTFORGE$ac_delim
23524 PKG_CONFIG!$PKG_CONFIG$ac_delim
23525 RSVG!$RSVG$ac_delim
23526 ICOTOOL!$ICOTOOL$ac_delim
23527 PRELINK!$PRELINK$ac_delim
23528 LIBPTHREAD!$LIBPTHREAD$ac_delim
23529 XLIB!$XLIB$ac_delim
23530 XFILES!$XFILES$ac_delim
23531 OPENGLFILES!$OPENGLFILES$ac_delim
23532 GLU32FILES!$GLU32FILES$ac_delim
23533 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23534 QUARTZFILES!$QUARTZFILES$ac_delim
23535 DLLEXT!$DLLEXT$ac_delim
23536 DLLFLAGS!$DLLFLAGS$ac_delim
23537 LDSHARED!$LDSHARED$ac_delim
23538 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23539 LIBEXT!$LIBEXT$ac_delim
23540 IMPLIBEXT!$IMPLIBEXT$ac_delim
23541 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23542 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23543 LDD!$LDD$ac_delim
23544 DLLTOOL!$DLLTOOL$ac_delim
23545 DLLWRAP!$DLLWRAP$ac_delim
23546 MINGWAR!$MINGWAR$ac_delim
23547 SECURITYLIB!$SECURITYLIB$ac_delim
23548 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23549 IOKITLIB!$IOKITLIB$ac_delim
23550 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23551 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23552 COREAUDIO!$COREAUDIO$ac_delim
23553 CARBONLIB!$CARBONLIB$ac_delim
23554 CROSSTEST!$CROSSTEST$ac_delim
23555 CROSSCC!$CROSSCC$ac_delim
23556 CROSSWINDRES!$CROSSWINDRES$ac_delim
23557 NASLIBS!$NASLIBS$ac_delim
23558 XML2LIBS!$XML2LIBS$ac_delim
23559 XML2INCL!$XML2INCL$ac_delim
23560 XSLTLIBS!$XSLTLIBS$ac_delim
23561 XSLTINCL!$XSLTINCL$ac_delim
23562 HALINCL!$HALINCL$ac_delim
23563 sane_devel!$sane_devel$ac_delim
23564 SANEINCL!$SANEINCL$ac_delim
23565 gphoto2_devel!$gphoto2_devel$ac_delim
23566 gphoto2port_devel!$gphoto2port_devel$ac_delim
23567 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23568 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23569 RESOLVLIBS!$RESOLVLIBS$ac_delim
23570 LCMSLIBS!$LCMSLIBS$ac_delim
23571 LDAPLIBS!$LDAPLIBS$ac_delim
23572 ft_devel!$ft_devel$ac_delim
23573 FREETYPELIBS!$FREETYPELIBS$ac_delim
23574 FREETYPEINCL!$FREETYPEINCL$ac_delim
23575 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23576 ESDCONFIG!$ESDCONFIG$ac_delim
23577 ESDLIBS!$ESDLIBS$ac_delim
23578 ESDINCL!$ESDINCL$ac_delim
23579 ALSALIBS!$ALSALIBS$ac_delim
23580 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23581 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23582 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23583 BUILTINFLAG!$BUILTINFLAG$ac_delim
23584 LDPATH!$LDPATH$ac_delim
23585 CRTLIBS!$CRTLIBS$ac_delim
23586 SOCKETLIBS!$SOCKETLIBS$ac_delim
23587 MAIN_BINARY!$MAIN_BINARY$ac_delim
23588 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23589 LIBDL!$LIBDL$ac_delim
23590 LIBPOLL!$LIBPOLL$ac_delim
23591 DEPENDENCIES!$DEPENDENCIES$ac_delim
23592 LIBOBJS!$LIBOBJS$ac_delim
23593 LTLIBOBJS!$LTLIBOBJS$ac_delim
23594 _ACEOF
23596 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
23597 break
23598 elif $ac_last_try; then
23599 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23600 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23601 { (exit 1); exit 1; }; }
23602 else
23603 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23605 done
23607 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23608 if test -n "$ac_eof"; then
23609 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23610 ac_eof=`expr $ac_eof + 1`
23613 cat >>$CONFIG_STATUS <<_ACEOF
23614 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23616 _ACEOF
23617 sed '
23618 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23619 s/^/s,@/; s/!/@,|#_!!_#|/
23622 s/'"$ac_delim"'$/,g/; t
23623 s/$/\\/; p
23624 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23625 ' >>$CONFIG_STATUS <conf$$subs.sed
23626 rm -f conf$$subs.sed
23627 cat >>$CONFIG_STATUS <<_ACEOF
23628 :end
23629 s/|#_!!_#|//g
23630 CEOF$ac_eof
23631 _ACEOF
23634 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23635 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23636 # trailing colons and then remove the whole line if VPATH becomes empty
23637 # (actually we leave an empty line to preserve line numbers).
23638 if test "x$srcdir" = x.; then
23639 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23640 s/:*\$(srcdir):*/:/
23641 s/:*\${srcdir}:*/:/
23642 s/:*@srcdir@:*/:/
23643 s/^\([^=]*=[ ]*\):*/\1/
23644 s/:*$//
23645 s/^[^=]*=[ ]*$//
23649 cat >>$CONFIG_STATUS <<\_ACEOF
23650 fi # test -n "$CONFIG_FILES"
23653 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23655 case $ac_tag in
23656 :[FHLC]) ac_mode=$ac_tag; continue;;
23657 esac
23658 case $ac_mode$ac_tag in
23659 :[FHL]*:*);;
23660 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23661 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23662 { (exit 1); exit 1; }; };;
23663 :[FH]-) ac_tag=-:-;;
23664 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23665 esac
23666 ac_save_IFS=$IFS
23667 IFS=:
23668 set x $ac_tag
23669 IFS=$ac_save_IFS
23670 shift
23671 ac_file=$1
23672 shift
23674 case $ac_mode in
23675 :L) ac_source=$1;;
23676 :[FH])
23677 ac_file_inputs=
23678 for ac_f
23680 case $ac_f in
23681 -) ac_f="$tmp/stdin";;
23682 *) # Look for the file first in the build tree, then in the source tree
23683 # (if the path is not absolute). The absolute path cannot be DOS-style,
23684 # because $ac_f cannot contain `:'.
23685 test -f "$ac_f" ||
23686 case $ac_f in
23687 [\\/$]*) false;;
23688 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23689 esac ||
23690 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23691 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23692 { (exit 1); exit 1; }; };;
23693 esac
23694 ac_file_inputs="$ac_file_inputs $ac_f"
23695 done
23697 # Let's still pretend it is `configure' which instantiates (i.e., don't
23698 # use $as_me), people would be surprised to read:
23699 # /* config.h. Generated by config.status. */
23700 configure_input="Generated from "`IFS=:
23701 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23702 if test x"$ac_file" != x-; then
23703 configure_input="$ac_file. $configure_input"
23704 { echo "$as_me:$LINENO: creating $ac_file" >&5
23705 echo "$as_me: creating $ac_file" >&6;}
23708 case $ac_tag in
23709 *:-:* | *:-) cat >"$tmp/stdin";;
23710 esac
23712 esac
23714 ac_dir=`$as_dirname -- "$ac_file" ||
23715 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23716 X"$ac_file" : 'X\(//\)[^/]' \| \
23717 X"$ac_file" : 'X\(//\)$' \| \
23718 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23719 echo X"$ac_file" |
23720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23721 s//\1/
23724 /^X\(\/\/\)[^/].*/{
23725 s//\1/
23728 /^X\(\/\/\)$/{
23729 s//\1/
23732 /^X\(\/\).*/{
23733 s//\1/
23736 s/.*/./; q'`
23737 { as_dir="$ac_dir"
23738 case $as_dir in #(
23739 -*) as_dir=./$as_dir;;
23740 esac
23741 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23742 as_dirs=
23743 while :; do
23744 case $as_dir in #(
23745 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23746 *) as_qdir=$as_dir;;
23747 esac
23748 as_dirs="'$as_qdir' $as_dirs"
23749 as_dir=`$as_dirname -- "$as_dir" ||
23750 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23751 X"$as_dir" : 'X\(//\)[^/]' \| \
23752 X"$as_dir" : 'X\(//\)$' \| \
23753 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23754 echo X"$as_dir" |
23755 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23756 s//\1/
23759 /^X\(\/\/\)[^/].*/{
23760 s//\1/
23763 /^X\(\/\/\)$/{
23764 s//\1/
23767 /^X\(\/\).*/{
23768 s//\1/
23771 s/.*/./; q'`
23772 test -d "$as_dir" && break
23773 done
23774 test -z "$as_dirs" || eval "mkdir $as_dirs"
23775 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23776 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23777 { (exit 1); exit 1; }; }; }
23778 ac_builddir=.
23780 case "$ac_dir" in
23781 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23783 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23784 # A ".." for each directory in $ac_dir_suffix.
23785 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23786 case $ac_top_builddir_sub in
23787 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23788 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23789 esac ;;
23790 esac
23791 ac_abs_top_builddir=$ac_pwd
23792 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23793 # for backward compatibility:
23794 ac_top_builddir=$ac_top_build_prefix
23796 case $srcdir in
23797 .) # We are building in place.
23798 ac_srcdir=.
23799 ac_top_srcdir=$ac_top_builddir_sub
23800 ac_abs_top_srcdir=$ac_pwd ;;
23801 [\\/]* | ?:[\\/]* ) # Absolute name.
23802 ac_srcdir=$srcdir$ac_dir_suffix;
23803 ac_top_srcdir=$srcdir
23804 ac_abs_top_srcdir=$srcdir ;;
23805 *) # Relative name.
23806 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23807 ac_top_srcdir=$ac_top_build_prefix$srcdir
23808 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23809 esac
23810 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23813 case $ac_mode in
23816 # CONFIG_FILE
23819 case $INSTALL in
23820 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23821 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23822 esac
23823 _ACEOF
23825 cat >>$CONFIG_STATUS <<\_ACEOF
23826 # If the template does not know about datarootdir, expand it.
23827 # FIXME: This hack should be removed a few years after 2.60.
23828 ac_datarootdir_hack=; ac_datarootdir_seen=
23830 case `sed -n '/datarootdir/ {
23834 /@datadir@/p
23835 /@docdir@/p
23836 /@infodir@/p
23837 /@localedir@/p
23838 /@mandir@/p
23839 ' $ac_file_inputs` in
23840 *datarootdir*) ac_datarootdir_seen=yes;;
23841 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23842 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23843 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23844 _ACEOF
23845 cat >>$CONFIG_STATUS <<_ACEOF
23846 ac_datarootdir_hack='
23847 s&@datadir@&$datadir&g
23848 s&@docdir@&$docdir&g
23849 s&@infodir@&$infodir&g
23850 s&@localedir@&$localedir&g
23851 s&@mandir@&$mandir&g
23852 s&\\\${datarootdir}&$datarootdir&g' ;;
23853 esac
23854 _ACEOF
23856 # Neutralize VPATH when `$srcdir' = `.'.
23857 # Shell code in configure.ac might set extrasub.
23858 # FIXME: do we really want to maintain this feature?
23859 cat >>$CONFIG_STATUS <<_ACEOF
23860 sed "$ac_vpsub
23861 $extrasub
23862 _ACEOF
23863 cat >>$CONFIG_STATUS <<\_ACEOF
23865 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23866 s&@configure_input@&$configure_input&;t t
23867 s&@top_builddir@&$ac_top_builddir_sub&;t t
23868 s&@srcdir@&$ac_srcdir&;t t
23869 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23870 s&@top_srcdir@&$ac_top_srcdir&;t t
23871 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23872 s&@builddir@&$ac_builddir&;t t
23873 s&@abs_builddir@&$ac_abs_builddir&;t t
23874 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23875 s&@INSTALL@&$ac_INSTALL&;t t
23876 $ac_datarootdir_hack
23877 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23879 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23880 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23881 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23882 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23883 which seems to be undefined. Please make sure it is defined." >&5
23884 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23885 which seems to be undefined. Please make sure it is defined." >&2;}
23887 rm -f "$tmp/stdin"
23888 case $ac_file in
23889 -) cat "$tmp/out"; rm -f "$tmp/out";;
23890 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23891 esac
23895 # CONFIG_HEADER
23897 _ACEOF
23899 # Transform confdefs.h into a sed script `conftest.defines', that
23900 # substitutes the proper values into config.h.in to produce config.h.
23901 rm -f conftest.defines conftest.tail
23902 # First, append a space to every undef/define line, to ease matching.
23903 echo 's/$/ /' >conftest.defines
23904 # Then, protect against being on the right side of a sed subst, or in
23905 # an unquoted here document, in config.status. If some macros were
23906 # called several times there might be several #defines for the same
23907 # symbol, which is useless. But do not sort them, since the last
23908 # AC_DEFINE must be honored.
23909 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23910 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23911 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23912 # PARAMS is the parameter list in the macro definition--in most cases, it's
23913 # just an empty string.
23914 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23915 ac_dB='\\)[ (].*,\\1define\\2'
23916 ac_dC=' '
23917 ac_dD=' ,'
23919 uniq confdefs.h |
23920 sed -n '
23921 t rset
23922 :rset
23923 s/^[ ]*#[ ]*define[ ][ ]*//
23924 t ok
23927 s/[\\&,]/\\&/g
23928 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23929 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23930 ' >>conftest.defines
23932 # Remove the space that was appended to ease matching.
23933 # Then replace #undef with comments. This is necessary, for
23934 # example, in the case of _POSIX_SOURCE, which is predefined and required
23935 # on some systems where configure will not decide to define it.
23936 # (The regexp can be short, since the line contains either #define or #undef.)
23937 echo 's/ $//
23938 s,^[ #]*u.*,/* & */,' >>conftest.defines
23940 # Break up conftest.defines:
23941 ac_max_sed_lines=50
23943 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23944 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23945 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23946 # et cetera.
23947 ac_in='$ac_file_inputs'
23948 ac_out='"$tmp/out1"'
23949 ac_nxt='"$tmp/out2"'
23951 while :
23953 # Write a here document:
23954 cat >>$CONFIG_STATUS <<_ACEOF
23955 # First, check the format of the line:
23956 cat >"\$tmp/defines.sed" <<\\CEOF
23957 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23958 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23960 :def
23961 _ACEOF
23962 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23963 echo 'CEOF
23964 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23965 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23966 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23967 grep . conftest.tail >/dev/null || break
23968 rm -f conftest.defines
23969 mv conftest.tail conftest.defines
23970 done
23971 rm -f conftest.defines conftest.tail
23973 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23974 cat >>$CONFIG_STATUS <<\_ACEOF
23975 if test x"$ac_file" != x-; then
23976 echo "/* $configure_input */" >"$tmp/config.h"
23977 cat "$ac_result" >>"$tmp/config.h"
23978 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23979 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23980 echo "$as_me: $ac_file is unchanged" >&6;}
23981 else
23982 rm -f $ac_file
23983 mv "$tmp/config.h" $ac_file
23985 else
23986 echo "/* $configure_input */"
23987 cat "$ac_result"
23989 rm -f "$tmp/out12"
23992 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23993 echo "$as_me: executing $ac_file commands" >&6;}
23995 esac
23998 case $ac_file$ac_mode in
23999 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24000 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24001 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24002 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24003 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24004 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24005 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24006 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24007 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24008 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24009 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24010 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24011 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24013 esac
24014 done # for ac_tag
24017 { (exit 0); exit 0; }
24018 _ACEOF
24019 chmod +x $CONFIG_STATUS
24020 ac_clean_files=$ac_clean_files_save
24023 # configure is writing to config.log, and then calls config.status.
24024 # config.status does its own redirection, appending to config.log.
24025 # Unfortunately, on DOS this fails, as config.log is still kept open
24026 # by configure, so config.status won't be able to write to it; its
24027 # output is simply discarded. So we exec the FD to /dev/null,
24028 # effectively closing config.log, so it can be properly (re)opened and
24029 # appended to by config.status. When coming back to configure, we
24030 # need to make the FD available again.
24031 if test "$no_create" != yes; then
24032 ac_cs_success=:
24033 ac_config_status_args=
24034 test "$silent" = yes &&
24035 ac_config_status_args="$ac_config_status_args --quiet"
24036 exec 5>/dev/null
24037 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24038 exec 5>>config.log
24039 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24040 # would make configure fail if this is the last instruction.
24041 $ac_cs_success || { (exit 1); exit 1; }
24045 if test "$no_create" = "yes"
24046 then
24047 exit 0
24050 ac_save_IFS="$IFS"
24051 IFS="|"
24052 if test "x$wine_notices != "x; then
24053 echo >&6
24054 for msg in $wine_notices; do
24055 if test -n "$msg"; then
24056 { echo "$as_me:$LINENO: $msg" >&5
24057 echo "$as_me: $msg" >&6;}
24059 done
24061 for msg in $wine_warnings; do
24062 if test -n "$msg"; then
24063 echo >&2
24064 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24065 echo "$as_me: WARNING: $msg" >&2;}
24067 done
24068 IFS="$ac_save_IFS"
24070 echo "
24071 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24072 " >&6