winex11: Pass the display as parameter to a few more functions instead of using threa...
[wine/multimedia.git] / configure
blob11d49adc952fc65ade2039c0dfbb4ca387342829
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='1.0'
578 PACKAGE_STRING='Wine 1.0'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 SET_MAKE
668 CFLAGS
669 LDFLAGS
670 CPPFLAGS
671 ac_ct_CC
672 EXEEXT
673 OBJEXT
675 CXXFLAGS
676 ac_ct_CXX
677 CPPBIN
678 TOOLSDIR
679 XMKMF
681 X_CFLAGS
682 X_PRE_LIBS
683 X_LIBS
684 X_EXTRA_LIBS
685 FLEX
686 BISON
688 ac_ct_AS
691 ARFLAGS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 RSVG
708 ICOTOOL
709 PRELINK
710 LIBPTHREAD
711 XLIB
712 XFILES
713 OPENGLFILES
714 GLU32FILES
715 OPENGL_LIBS
716 QUARTZFILES
717 DLLEXT
718 DLLFLAGS
719 LDSHARED
720 LDDLLFLAGS
721 LIBEXT
722 IMPLIBEXT
723 LDRPATH_INSTALL
724 LDRPATH_LOCAL
726 DLLTOOL
727 DLLWRAP
728 MINGWAR
729 SECURITYLIB
730 COREFOUNDATIONLIB
731 IOKITLIB
732 LDEXECFLAGS
733 DISKARBITRATIONLIB
734 COREAUDIO
735 CARBONLIB
736 CROSSTEST
737 CROSSCC
738 CROSSWINDRES
739 NASLIBS
740 XML2LIBS
741 XML2INCL
742 XSLTLIBS
743 XSLTINCL
744 HALINCL
745 sane_devel
746 SANEINCL
747 gphoto2_devel
748 gphoto2port_devel
749 GPHOTO2LIBS
750 GPHOTO2INCL
751 RESOLVLIBS
752 LCMSLIBS
753 LDAPLIBS
754 ft_devel
755 FREETYPELIBS
756 FREETYPEINCL
757 FONTSSUBDIRS
758 ESDCONFIG
759 ESDLIBS
760 ESDINCL
761 ALSALIBS
762 AUDIOIOLIBS
763 FONTCONFIGINCL
764 EXTRACFLAGS
765 BUILTINFLAG
766 LDPATH
767 CRTLIBS
768 SOCKETLIBS
769 MAIN_BINARY
770 EXTRA_BINARIES
771 LIBDL
772 LIBPOLL
773 DEPENDENCIES
774 LIBOBJS
775 LTLIBOBJS'
776 ac_subst_files='MAKE_RULES
777 MAKE_DLL_RULES
778 MAKE_IMPLIB_RULES
779 MAKE_TEST_RULES
780 MAKE_PROG_RULES'
781 ac_precious_vars='build_alias
782 host_alias
783 target_alias
785 CFLAGS
786 LDFLAGS
787 LIBS
788 CPPFLAGS
790 CXXFLAGS
792 XMKMF
793 CPP'
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
842 ac_prev=
843 ac_dashdash=
844 for ac_option
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
849 ac_prev=
850 continue
853 case $ac_option in
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 *) ac_optarg=yes ;;
856 esac
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
862 ac_dashdash=yes ;;
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
865 ac_prev=bindir ;;
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 bindir=$ac_optarg ;;
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
881 --config-cache | -C)
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
885 ac_prev=datadir ;;
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
906 ac_prev=docdir ;;
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 docdir=$ac_optarg ;;
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 ac_prev=dvidir ;;
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 dvidir=$ac_optarg ;;
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
935 with_gas=yes ;;
937 -help | --help | --hel | --he | -h)
938 ac_init_help=long ;;
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 ac_prev=htmldir ;;
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 | --ht=*)
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
963 ac_prev=infodir ;;
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
968 ac_prev=libdir ;;
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 libdir=$ac_optarg ;;
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
980 ac_prev=localedir ;;
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992 ac_prev=mandir ;;
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 mandir=$ac_optarg ;;
996 -nfp | --nfp | --nf)
997 # Obsolete; use --without-fp.
998 with_fp=no ;;
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1002 no_create=yes ;;
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 no_recursion=yes ;;
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018 ac_prev=prefix ;;
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054 ac_prev=pdfdir ;;
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1059 ac_prev=psdir ;;
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 psdir=$ac_optarg ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 silent=yes ;;
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068 ac_prev=sbindir ;;
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070 | --sbi=* | --sb=*)
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1076 | --sha | --sh)
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081 | --sha=* | --sh=*)
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1085 ac_prev=site ;;
1086 -site=* | --site=* | --sit=*)
1087 site=$ac_optarg ;;
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090 ac_prev=srcdir ;;
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 verbose=yes ;;
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1112 -with-* | --with-*)
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1130 --x)
1131 # Obsolete; use --with-x.
1132 with_x=yes ;;
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1153 *=*)
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 esac
1171 done
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1186 case $ac_val in
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189 esac
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1192 done
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1208 cross_compiling=yes
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 echo X"$0" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 s//\1/
1242 /^X\(\/\/\)[^/].*/{
1243 s//\1/
1246 /^X\(\/\/\)$/{
1247 s//\1/
1250 /^X\(\/\).*/{
1251 s//\1/
1254 s/.*/./; q'`
1255 srcdir=$ac_confdir
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 srcdir=..
1259 else
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 ac_abs_confdir=`(
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1271 pwd)`
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 srcdir=.
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1279 case $srcdir in
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 esac
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 done
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1295 cat <<_ACEOF
1296 \`configure' configures Wine 1.0 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1305 Configuration:
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 [PREFIX]
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1349 _ACEOF
1351 cat <<\_ACEOF
1353 X features:
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1357 System types:
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1360 _ACEOF
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 1.0:";;
1366 esac
1367 cat <<\_ACEOF
1369 Optional Features:
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1374 binaries)
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1378 Optional Packages:
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-alsa do not use the Alsa sound support
1382 --without-audioio do not use the AudioIO sound support
1383 --without-capi do not use CAPI (ISDN support)
1384 --without-cms do not use CMS (color management support)
1385 --without-coreaudio do not use the CoreAudio sound support
1386 --without-cups do not use CUPS
1387 --without-curses do not use (n)curses
1388 --without-esd do not use the EsounD sound support
1389 --without-fontconfig do not use fontconfig
1390 --without-freetype do not use the FreeType library
1391 --without-gphoto do not use gphoto (Digital Camera support)
1392 --without-glu do not use the GLU library
1393 --without-hal do not use HAL (dynamic device support)
1394 --without-jack do not use the Jack sound support
1395 --without-jpeg do not use JPEG
1396 --without-ldap do not use LDAP
1397 --without-nas do not use the NAS sound support
1398 --without-opengl do not use OpenGL
1399 --without-openssl do not use OpenSSL
1400 --without-oss do not use the OSS sound support
1401 --without-png do not use PNG
1402 --without-sane do not use SANE (scanner support)
1403 --without-xcomposite do not use the Xcomposite extension
1404 --without-xcursor do not use the Xcursor extension
1405 --without-xinerama do not use Xinerama (multi-monitor support)
1406 --without-xinput do not use the Xinput extension
1407 --without-xml do not use XML
1408 --without-xrandr do not use Xrandr (resolution changes)
1409 --without-xrender do not use the Xrender extension
1410 --without-xshape do not use the Xshape extension
1411 --without-xshm do not use XShm (shared memory extension)
1412 --without-xslt do not use XSLT
1413 --without-xvidmode do not use XFree video mode extension
1414 --with-wine-tools=DIR use Wine tools from directory DIR
1415 --with-x use the X Window System
1417 Some influential environment variables:
1418 CC C compiler command
1419 CFLAGS C compiler flags
1420 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1421 nonstandard directory <lib dir>
1422 LIBS libraries to pass to the linker, e.g. -l<library>
1423 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1424 you have headers in a nonstandard directory <include dir>
1425 CXX C++ compiler command
1426 CXXFLAGS C++ compiler flags
1427 XMKMF Path to xmkmf, Makefile generator for X Window System
1428 CPP C preprocessor
1430 Use these variables to override the choices made by `configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1433 Report bugs to <wine-devel@winehq.org>.
1434 _ACEOF
1435 ac_status=$?
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" || continue
1442 ac_builddir=.
1444 case "$ac_dir" in
1445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1448 # A ".." for each directory in $ac_dir_suffix.
1449 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1450 case $ac_top_builddir_sub in
1451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 esac ;;
1454 esac
1455 ac_abs_top_builddir=$ac_pwd
1456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir=$ac_top_build_prefix
1460 case $srcdir in
1461 .) # We are building in place.
1462 ac_srcdir=.
1463 ac_top_srcdir=$ac_top_builddir_sub
1464 ac_abs_top_srcdir=$ac_pwd ;;
1465 [\\/]* | ?:[\\/]* ) # Absolute name.
1466 ac_srcdir=$srcdir$ac_dir_suffix;
1467 ac_top_srcdir=$srcdir
1468 ac_abs_top_srcdir=$srcdir ;;
1469 *) # Relative name.
1470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471 ac_top_srcdir=$ac_top_build_prefix$srcdir
1472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1473 esac
1474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1476 cd "$ac_dir" || { ac_status=$?; continue; }
1477 # Check for guested configure.
1478 if test -f "$ac_srcdir/configure.gnu"; then
1479 echo &&
1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481 elif test -f "$ac_srcdir/configure"; then
1482 echo &&
1483 $SHELL "$ac_srcdir/configure" --help=recursive
1484 else
1485 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1486 fi || ac_status=$?
1487 cd "$ac_pwd" || { ac_status=$?; break; }
1488 done
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1493 cat <<\_ACEOF
1494 Wine configure 1.0
1495 generated by GNU Autoconf 2.61
1497 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1498 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1501 _ACEOF
1502 exit
1504 cat >config.log <<_ACEOF
1505 This file contains any messages produced by compilers while
1506 running configure, to aid debugging if configure makes a mistake.
1508 It was created by Wine $as_me 1.0, which was
1509 generated by GNU Autoconf 2.61. Invocation command line was
1511 $ $0 $@
1513 _ACEOF
1514 exec 5>>config.log
1516 cat <<_ASUNAME
1517 ## --------- ##
1518 ## Platform. ##
1519 ## --------- ##
1521 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1522 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1523 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1524 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1525 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1527 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1528 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1530 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1531 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1532 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1533 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1534 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1535 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1536 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1538 _ASUNAME
1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1541 for as_dir in $PATH
1543 IFS=$as_save_IFS
1544 test -z "$as_dir" && as_dir=.
1545 echo "PATH: $as_dir"
1546 done
1547 IFS=$as_save_IFS
1549 } >&5
1551 cat >&5 <<_ACEOF
1554 ## ----------- ##
1555 ## Core tests. ##
1556 ## ----------- ##
1558 _ACEOF
1561 # Keep a trace of the command line.
1562 # Strip out --no-create and --no-recursion so they do not pile up.
1563 # Strip out --silent because we don't want to record it for future runs.
1564 # Also quote any args containing shell meta-characters.
1565 # Make two passes to allow for proper duplicate-argument suppression.
1566 ac_configure_args=
1567 ac_configure_args0=
1568 ac_configure_args1=
1569 ac_must_keep_next=false
1570 for ac_pass in 1 2
1572 for ac_arg
1574 case $ac_arg in
1575 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1576 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1577 | -silent | --silent | --silen | --sile | --sil)
1578 continue ;;
1579 *\'*)
1580 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1581 esac
1582 case $ac_pass in
1583 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1585 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1586 if test $ac_must_keep_next = true; then
1587 ac_must_keep_next=false # Got value, back to normal.
1588 else
1589 case $ac_arg in
1590 *=* | --config-cache | -C | -disable-* | --disable-* \
1591 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1592 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1593 | -with-* | --with-* | -without-* | --without-* | --x)
1594 case "$ac_configure_args0 " in
1595 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1596 esac
1598 -* ) ac_must_keep_next=true ;;
1599 esac
1601 ac_configure_args="$ac_configure_args '$ac_arg'"
1603 esac
1604 done
1605 done
1606 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1607 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1609 # When interrupted or exit'd, cleanup temporary files, and complete
1610 # config.log. We remove comments because anyway the quotes in there
1611 # would cause problems or look ugly.
1612 # WARNING: Use '\'' to represent an apostrophe within the trap.
1613 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1614 trap 'exit_status=$?
1615 # Save into config.log some information that might help in debugging.
1617 echo
1619 cat <<\_ASBOX
1620 ## ---------------- ##
1621 ## Cache variables. ##
1622 ## ---------------- ##
1623 _ASBOX
1624 echo
1625 # The following way of writing the cache mishandles newlines in values,
1627 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1628 eval ac_val=\$$ac_var
1629 case $ac_val in #(
1630 *${as_nl}*)
1631 case $ac_var in #(
1632 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1633 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1634 esac
1635 case $ac_var in #(
1636 _ | IFS | as_nl) ;; #(
1637 *) $as_unset $ac_var ;;
1638 esac ;;
1639 esac
1640 done
1641 (set) 2>&1 |
1642 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1643 *${as_nl}ac_space=\ *)
1644 sed -n \
1645 "s/'\''/'\''\\\\'\'''\''/g;
1646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1647 ;; #(
1649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1651 esac |
1652 sort
1654 echo
1656 cat <<\_ASBOX
1657 ## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##
1660 _ASBOX
1661 echo
1662 for ac_var in $ac_subst_vars
1664 eval ac_val=\$$ac_var
1665 case $ac_val in
1666 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667 esac
1668 echo "$ac_var='\''$ac_val'\''"
1669 done | sort
1670 echo
1672 if test -n "$ac_subst_files"; then
1673 cat <<\_ASBOX
1674 ## ------------------- ##
1675 ## File substitutions. ##
1676 ## ------------------- ##
1677 _ASBOX
1678 echo
1679 for ac_var in $ac_subst_files
1681 eval ac_val=\$$ac_var
1682 case $ac_val in
1683 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1684 esac
1685 echo "$ac_var='\''$ac_val'\''"
1686 done | sort
1687 echo
1690 if test -s confdefs.h; then
1691 cat <<\_ASBOX
1692 ## ----------- ##
1693 ## confdefs.h. ##
1694 ## ----------- ##
1695 _ASBOX
1696 echo
1697 cat confdefs.h
1698 echo
1700 test "$ac_signal" != 0 &&
1701 echo "$as_me: caught signal $ac_signal"
1702 echo "$as_me: exit $exit_status"
1703 } >&5
1704 rm -f core *.core core.conftest.* &&
1705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1706 exit $exit_status
1708 for ac_signal in 1 2 13 15; do
1709 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1710 done
1711 ac_signal=0
1713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1714 rm -f -r conftest* confdefs.h
1716 # Predefined preprocessor variables.
1718 cat >>confdefs.h <<_ACEOF
1719 #define PACKAGE_NAME "$PACKAGE_NAME"
1720 _ACEOF
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1725 _ACEOF
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1730 _ACEOF
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_STRING "$PACKAGE_STRING"
1735 _ACEOF
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1740 _ACEOF
1743 # Let the site file select an alternate cache file if it wants to.
1744 # Prefer explicitly selected file to automatically selected ones.
1745 if test -n "$CONFIG_SITE"; then
1746 set x "$CONFIG_SITE"
1747 elif test "x$prefix" != xNONE; then
1748 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1749 else
1750 set x "$ac_default_prefix/share/config.site" \
1751 "$ac_default_prefix/etc/config.site"
1753 shift
1754 for ac_site_file
1756 if test -r "$ac_site_file"; then
1757 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1758 echo "$as_me: loading site script $ac_site_file" >&6;}
1759 sed 's/^/| /' "$ac_site_file" >&5
1760 . "$ac_site_file"
1762 done
1764 if test -r "$cache_file"; then
1765 # Some versions of bash will fail to source /dev/null (special
1766 # files actually), so we avoid doing that.
1767 if test -f "$cache_file"; then
1768 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1769 echo "$as_me: loading cache $cache_file" >&6;}
1770 case $cache_file in
1771 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1772 *) . "./$cache_file";;
1773 esac
1775 else
1776 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1777 echo "$as_me: creating cache $cache_file" >&6;}
1778 >$cache_file
1781 # Check that the precious variables saved in the cache have kept the same
1782 # value.
1783 ac_cache_corrupted=false
1784 for ac_var in $ac_precious_vars; do
1785 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1786 eval ac_new_set=\$ac_env_${ac_var}_set
1787 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1788 eval ac_new_val=\$ac_env_${ac_var}_value
1789 case $ac_old_set,$ac_new_set in
1790 set,)
1791 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1792 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1794 ,set)
1795 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1796 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1797 ac_cache_corrupted=: ;;
1798 ,);;
1800 if test "x$ac_old_val" != "x$ac_new_val"; then
1801 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1802 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1803 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1804 echo "$as_me: former value: $ac_old_val" >&2;}
1805 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1806 echo "$as_me: current value: $ac_new_val" >&2;}
1807 ac_cache_corrupted=:
1808 fi;;
1809 esac
1810 # Pass precious variables to config.status.
1811 if test "$ac_new_set" = set; then
1812 case $ac_new_val in
1813 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1814 *) ac_arg=$ac_var=$ac_new_val ;;
1815 esac
1816 case " $ac_configure_args " in
1817 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1818 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1819 esac
1821 done
1822 if $ac_cache_corrupted; then
1823 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1824 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1825 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1826 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1827 { (exit 1); exit 1; }; }
1854 ac_ext=c
1855 ac_cpp='$CPP $CPPFLAGS'
1856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1862 ac_config_headers="$ac_config_headers include/config.h"
1864 ac_aux_dir=
1865 for ac_dir in tools "$srcdir"/tools; do
1866 if test -f "$ac_dir/install-sh"; then
1867 ac_aux_dir=$ac_dir
1868 ac_install_sh="$ac_aux_dir/install-sh -c"
1869 break
1870 elif test -f "$ac_dir/install.sh"; then
1871 ac_aux_dir=$ac_dir
1872 ac_install_sh="$ac_aux_dir/install.sh -c"
1873 break
1874 elif test -f "$ac_dir/shtool"; then
1875 ac_aux_dir=$ac_dir
1876 ac_install_sh="$ac_aux_dir/shtool install -c"
1877 break
1879 done
1880 if test -z "$ac_aux_dir"; then
1881 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1882 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1883 { (exit 1); exit 1; }; }
1886 # These three variables are undocumented and unsupported,
1887 # and are intended to be withdrawn in a future Autoconf release.
1888 # They can cause serious problems if a builder's source tree is in a directory
1889 # whose full name contains unusual characters.
1890 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1891 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1892 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1897 # Check whether --enable-win16 was given.
1898 if test "${enable_win16+set}" = set; then
1899 enableval=$enable_win16;
1902 # Check whether --enable-win64 was given.
1903 if test "${enable_win64+set}" = set; then
1904 enableval=$enable_win64;
1907 # Check whether --enable-maintainer-mode was given.
1908 if test "${enable_maintainer_mode+set}" = set; then
1909 enableval=$enable_maintainer_mode;
1910 else
1911 MAINTAINER_MODE=\#
1917 # Check whether --with-alsa was given.
1918 if test "${with_alsa+set}" = set; then
1919 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1923 # Check whether --with-audioio was given.
1924 if test "${with_audioio+set}" = set; then
1925 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1929 # Check whether --with-capi was given.
1930 if test "${with_capi+set}" = set; then
1931 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1935 # Check whether --with-cms was given.
1936 if test "${with_cms+set}" = set; then
1937 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1941 # Check whether --with-coreaudio was given.
1942 if test "${with_coreaudio+set}" = set; then
1943 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1947 # Check whether --with-cups was given.
1948 if test "${with_cups+set}" = set; then
1949 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1953 # Check whether --with-curses was given.
1954 if test "${with_curses+set}" = set; then
1955 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1959 # Check whether --with-esd was given.
1960 if test "${with_esd+set}" = set; then
1961 withval=$with_esd;
1965 # Check whether --with-fontconfig was given.
1966 if test "${with_fontconfig+set}" = set; then
1967 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1971 # Check whether --with-freetype was given.
1972 if test "${with_freetype+set}" = set; then
1973 withval=$with_freetype;
1977 # Check whether --with-gphoto was given.
1978 if test "${with_gphoto+set}" = set; then
1979 withval=$with_gphoto;
1983 # Check whether --with-glu was given.
1984 if test "${with_glu+set}" = set; then
1985 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1989 # Check whether --with-hal was given.
1990 if test "${with_hal+set}" = set; then
1991 withval=$with_hal;
1995 # Check whether --with-jack was given.
1996 if test "${with_jack+set}" = set; then
1997 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2001 # Check whether --with-jpeg was given.
2002 if test "${with_jpeg+set}" = set; then
2003 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2007 # Check whether --with-ldap was given.
2008 if test "${with_ldap+set}" = set; then
2009 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2013 # Check whether --with-nas was given.
2014 if test "${with_nas+set}" = set; then
2015 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2019 # Check whether --with-opengl was given.
2020 if test "${with_opengl+set}" = set; then
2021 withval=$with_opengl;
2025 # Check whether --with-openssl was given.
2026 if test "${with_openssl+set}" = set; then
2027 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2031 # Check whether --with-oss was given.
2032 if test "${with_oss+set}" = set; then
2033 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
2037 # Check whether --with-png was given.
2038 if test "${with_png+set}" = set; then
2039 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2043 # Check whether --with-sane was given.
2044 if test "${with_sane+set}" = set; then
2045 withval=$with_sane;
2049 # Check whether --with-xcomposite was given.
2050 if test "${with_xcomposite+set}" = set; then
2051 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2055 # Check whether --with-xcursor was given.
2056 if test "${with_xcursor+set}" = set; then
2057 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2061 # Check whether --with-xinerama was given.
2062 if test "${with_xinerama+set}" = set; then
2063 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2067 # Check whether --with-xinput was given.
2068 if test "${with_xinput+set}" = set; then
2069 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2073 # Check whether --with-xml was given.
2074 if test "${with_xml+set}" = set; then
2075 withval=$with_xml;
2079 # Check whether --with-xrandr was given.
2080 if test "${with_xrandr+set}" = set; then
2081 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2085 # Check whether --with-xrender was given.
2086 if test "${with_xrender+set}" = set; then
2087 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2091 # Check whether --with-xshape was given.
2092 if test "${with_xshape+set}" = set; then
2093 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2097 # Check whether --with-xshm was given.
2098 if test "${with_xshm+set}" = set; then
2099 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2103 # Check whether --with-xslt was given.
2104 if test "${with_xslt+set}" = set; then
2105 withval=$with_xslt;
2109 # Check whether --with-xvidmode was given.
2110 if test "${with_xvidmode+set}" = set; then
2111 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2116 # Check whether --with-wine-tools was given.
2117 if test "${with_wine_tools+set}" = set; then
2118 withval=$with_wine_tools;
2122 # Make sure we can run config.sub.
2123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2124 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2125 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2126 { (exit 1); exit 1; }; }
2128 { echo "$as_me:$LINENO: checking build system type" >&5
2129 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2130 if test "${ac_cv_build+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133 ac_build_alias=$build_alias
2134 test "x$ac_build_alias" = x &&
2135 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2136 test "x$ac_build_alias" = x &&
2137 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2138 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2139 { (exit 1); exit 1; }; }
2140 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2141 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2142 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2143 { (exit 1); exit 1; }; }
2146 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2147 echo "${ECHO_T}$ac_cv_build" >&6; }
2148 case $ac_cv_build in
2149 *-*-*) ;;
2150 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2151 echo "$as_me: error: invalid value of canonical build" >&2;}
2152 { (exit 1); exit 1; }; };;
2153 esac
2154 build=$ac_cv_build
2155 ac_save_IFS=$IFS; IFS='-'
2156 set x $ac_cv_build
2157 shift
2158 build_cpu=$1
2159 build_vendor=$2
2160 shift; shift
2161 # Remember, the first character of IFS is used to create $*,
2162 # except with old shells:
2163 build_os=$*
2164 IFS=$ac_save_IFS
2165 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2168 { echo "$as_me:$LINENO: checking host system type" >&5
2169 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2170 if test "${ac_cv_host+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 else
2173 if test "x$host_alias" = x; then
2174 ac_cv_host=$ac_cv_build
2175 else
2176 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2177 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2178 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2179 { (exit 1); exit 1; }; }
2183 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2184 echo "${ECHO_T}$ac_cv_host" >&6; }
2185 case $ac_cv_host in
2186 *-*-*) ;;
2187 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2188 echo "$as_me: error: invalid value of canonical host" >&2;}
2189 { (exit 1); exit 1; }; };;
2190 esac
2191 host=$ac_cv_host
2192 ac_save_IFS=$IFS; IFS='-'
2193 set x $ac_cv_host
2194 shift
2195 host_cpu=$1
2196 host_vendor=$2
2197 shift; shift
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2200 host_os=$*
2201 IFS=$ac_save_IFS
2202 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2205 case $host in
2206 x86_64*linux*)
2207 if test "x$enable_win64" != "xyes"
2208 then
2209 test -n "$CC" || CC="gcc -m32"
2210 test -n "$CXX"|| CXX="g++ -m32"
2211 test -n "$LD" || LD="ld -m elf_i386"
2212 test -n "$AS" || AS="as --32"
2213 host_cpu="i386"
2216 esac
2218 case $host_cpu in
2219 *i[3456789]86*)
2220 if test "x$enable_win16" != "xno"
2221 then
2222 enable_win16="yes"
2225 esac
2227 WIN16_FILES="\$(WIN16_FILES)"
2229 WIN16_INSTALL="\$(WIN16_INSTALL)"
2231 if test "x$enable_win16" != "xyes"
2232 then
2233 WIN16_FILES=""
2234 WIN16_INSTALL=""
2237 case "$srcdir" in
2238 .) ;;
2239 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2240 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2241 You need to run 'make distclean' in the source tree first." >&5
2242 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2243 You need to run 'make distclean' in the source tree first." >&2;}
2244 { (exit 1); exit 1; }; }
2245 fi ;;
2246 esac
2249 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2250 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2251 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2252 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 else
2255 cat >conftest.make <<\_ACEOF
2256 SHELL = /bin/sh
2257 all:
2258 @echo '@@@%%%=$(MAKE)=@@@%%%'
2259 _ACEOF
2260 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2261 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2262 *@@@%%%=?*=@@@%%%*)
2263 eval ac_cv_prog_make_${ac_make}_set=yes;;
2265 eval ac_cv_prog_make_${ac_make}_set=no;;
2266 esac
2267 rm -f conftest.make
2269 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2270 { echo "$as_me:$LINENO: result: yes" >&5
2271 echo "${ECHO_T}yes" >&6; }
2272 SET_MAKE=
2273 else
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2276 SET_MAKE="MAKE=${MAKE-make}"
2279 ac_ext=c
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2284 if test -n "$ac_tool_prefix"; then
2285 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 if test -n "$CC"; then
2293 ac_cv_prog_CC="$CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2298 IFS=$as_save_IFS
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 break 2
2306 done
2307 done
2308 IFS=$as_save_IFS
2312 CC=$ac_cv_prog_CC
2313 if test -n "$CC"; then
2314 { echo "$as_me:$LINENO: result: $CC" >&5
2315 echo "${ECHO_T}$CC" >&6; }
2316 else
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2323 if test -z "$ac_cv_prog_CC"; then
2324 ac_ct_CC=$CC
2325 # Extract the first word of "gcc", so it can be a program name with args.
2326 set dummy gcc; ac_word=$2
2327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 else
2332 if test -n "$ac_ct_CC"; then
2333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2334 else
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 for as_dir in $PATH
2338 IFS=$as_save_IFS
2339 test -z "$as_dir" && as_dir=.
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342 ac_cv_prog_ac_ct_CC="gcc"
2343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 break 2
2346 done
2347 done
2348 IFS=$as_save_IFS
2352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2353 if test -n "$ac_ct_CC"; then
2354 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2355 echo "${ECHO_T}$ac_ct_CC" >&6; }
2356 else
2357 { echo "$as_me:$LINENO: result: no" >&5
2358 echo "${ECHO_T}no" >&6; }
2361 if test "x$ac_ct_CC" = x; then
2362 CC=""
2363 else
2364 case $cross_compiling:$ac_tool_warned in
2365 yes:)
2366 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2367 whose name does not start with the host triplet. If you think this
2368 configuration is useful to you, please write to autoconf@gnu.org." >&5
2369 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2370 whose name does not start with the host triplet. If you think this
2371 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2372 ac_tool_warned=yes ;;
2373 esac
2374 CC=$ac_ct_CC
2376 else
2377 CC="$ac_cv_prog_CC"
2380 if test -z "$CC"; then
2381 if test -n "$ac_tool_prefix"; then
2382 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2383 set dummy ${ac_tool_prefix}cc; ac_word=$2
2384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2386 if test "${ac_cv_prog_CC+set}" = set; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 else
2389 if test -n "$CC"; then
2390 ac_cv_prog_CC="$CC" # Let the user override the test.
2391 else
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 for as_dir in $PATH
2395 IFS=$as_save_IFS
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399 ac_cv_prog_CC="${ac_tool_prefix}cc"
2400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 break 2
2403 done
2404 done
2405 IFS=$as_save_IFS
2409 CC=$ac_cv_prog_CC
2410 if test -n "$CC"; then
2411 { echo "$as_me:$LINENO: result: $CC" >&5
2412 echo "${ECHO_T}$CC" >&6; }
2413 else
2414 { echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6; }
2421 if test -z "$CC"; then
2422 # Extract the first word of "cc", so it can be a program name with args.
2423 set dummy cc; ac_word=$2
2424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 else
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC="$CC" # Let the user override the test.
2431 else
2432 ac_prog_rejected=no
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 for as_dir in $PATH
2436 IFS=$as_save_IFS
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2441 ac_prog_rejected=yes
2442 continue
2444 ac_cv_prog_CC="cc"
2445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 break 2
2448 done
2449 done
2450 IFS=$as_save_IFS
2452 if test $ac_prog_rejected = yes; then
2453 # We found a bogon in the path, so make sure we never use it.
2454 set dummy $ac_cv_prog_CC
2455 shift
2456 if test $# != 0; then
2457 # We chose a different compiler from the bogus one.
2458 # However, it has the same basename, so the bogon will be chosen
2459 # first if we set CC to just the basename; use the full file name.
2460 shift
2461 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2466 CC=$ac_cv_prog_CC
2467 if test -n "$CC"; then
2468 { echo "$as_me:$LINENO: result: $CC" >&5
2469 echo "${ECHO_T}$CC" >&6; }
2470 else
2471 { echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6; }
2477 if test -z "$CC"; then
2478 if test -n "$ac_tool_prefix"; then
2479 for ac_prog in cl.exe
2481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 else
2488 if test -n "$CC"; then
2489 ac_cv_prog_CC="$CC" # Let the user override the test.
2490 else
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 for as_dir in $PATH
2494 IFS=$as_save_IFS
2495 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 break 2
2502 done
2503 done
2504 IFS=$as_save_IFS
2508 CC=$ac_cv_prog_CC
2509 if test -n "$CC"; then
2510 { echo "$as_me:$LINENO: result: $CC" >&5
2511 echo "${ECHO_T}$CC" >&6; }
2512 else
2513 { echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6; }
2518 test -n "$CC" && break
2519 done
2521 if test -z "$CC"; then
2522 ac_ct_CC=$CC
2523 for ac_prog in cl.exe
2525 # Extract the first word of "$ac_prog", so it can be a program name with args.
2526 set dummy $ac_prog; ac_word=$2
2527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 else
2532 if test -n "$ac_ct_CC"; then
2533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2534 else
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2538 IFS=$as_save_IFS
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_ac_ct_CC="$ac_prog"
2543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 break 2
2546 done
2547 done
2548 IFS=$as_save_IFS
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6; }
2556 else
2557 { echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6; }
2562 test -n "$ac_ct_CC" && break
2563 done
2565 if test "x$ac_ct_CC" = x; then
2566 CC=""
2567 else
2568 case $cross_compiling:$ac_tool_warned in
2569 yes:)
2570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2571 whose name does not start with the host triplet. If you think this
2572 configuration is useful to you, please write to autoconf@gnu.org." >&5
2573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2574 whose name does not start with the host triplet. If you think this
2575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2576 ac_tool_warned=yes ;;
2577 esac
2578 CC=$ac_ct_CC
2585 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: no acceptable C compiler found in \$PATH
2588 See \`config.log' for more details." >&2;}
2589 { (exit 1); exit 1; }; }
2591 # Provide some information about the compiler.
2592 echo "$as_me:$LINENO: checking for C compiler version" >&5
2593 ac_compiler=`set X $ac_compile; echo $2`
2594 { (ac_try="$ac_compiler --version >&5"
2595 case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598 esac
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_compiler --version >&5") 2>&5
2601 ac_status=$?
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }
2604 { (ac_try="$ac_compiler -v >&5"
2605 case "(($ac_try" in
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2608 esac
2609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2610 (eval "$ac_compiler -v >&5") 2>&5
2611 ac_status=$?
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }
2614 { (ac_try="$ac_compiler -V >&5"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compiler -V >&5") 2>&5
2621 ac_status=$?
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }
2625 cat >conftest.$ac_ext <<_ACEOF
2626 /* confdefs.h. */
2627 _ACEOF
2628 cat confdefs.h >>conftest.$ac_ext
2629 cat >>conftest.$ac_ext <<_ACEOF
2630 /* end confdefs.h. */
2633 main ()
2637 return 0;
2639 _ACEOF
2640 ac_clean_files_save=$ac_clean_files
2641 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2642 # Try to create an executable without -o first, disregard a.out.
2643 # It will help us diagnose broken compilers, and finding out an intuition
2644 # of exeext.
2645 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2646 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2647 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2649 # List of possible output files, starting from the most likely.
2650 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2651 # only as a last resort. b.out is created by i960 compilers.
2652 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2654 # The IRIX 6 linker writes into existing files which may not be
2655 # executable, retaining their permissions. Remove them first so a
2656 # subsequent execution test works.
2657 ac_rmfiles=
2658 for ac_file in $ac_files
2660 case $ac_file in
2661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2662 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2663 esac
2664 done
2665 rm -f $ac_rmfiles
2667 if { (ac_try="$ac_link_default"
2668 case "(($ac_try" in
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2671 esac
2672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673 (eval "$ac_link_default") 2>&5
2674 ac_status=$?
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; then
2677 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2678 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2679 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2680 # so that the user can short-circuit this test for compilers unknown to
2681 # Autoconf.
2682 for ac_file in $ac_files ''
2684 test -f "$ac_file" || continue
2685 case $ac_file in
2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2688 [ab].out )
2689 # We found the default executable, but exeext='' is most
2690 # certainly right.
2691 break;;
2692 *.* )
2693 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2694 then :; else
2695 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2697 # We set ac_cv_exeext here because the later test for it is not
2698 # safe: cross compilers may not add the suffix if given an `-o'
2699 # argument, so we may need to know it at that point already.
2700 # Even if this section looks crufty: it has the advantage of
2701 # actually working.
2702 break;;
2704 break;;
2705 esac
2706 done
2707 test "$ac_cv_exeext" = no && ac_cv_exeext=
2709 else
2710 ac_file=''
2713 { echo "$as_me:$LINENO: result: $ac_file" >&5
2714 echo "${ECHO_T}$ac_file" >&6; }
2715 if test -z "$ac_file"; then
2716 echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.$ac_ext >&5
2719 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&5
2721 echo "$as_me: error: C compiler cannot create executables
2722 See \`config.log' for more details." >&2;}
2723 { (exit 77); exit 77; }; }
2726 ac_exeext=$ac_cv_exeext
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2731 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2733 # If not cross compiling, check that we can run a simple program.
2734 if test "$cross_compiling" != yes; then
2735 if { ac_try='./$ac_file'
2736 { (case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2739 esac
2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741 (eval "$ac_try") 2>&5
2742 ac_status=$?
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2745 cross_compiling=no
2746 else
2747 if test "$cross_compiling" = maybe; then
2748 cross_compiling=yes
2749 else
2750 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2751 If you meant to cross compile, use \`--host'.
2752 See \`config.log' for more details." >&5
2753 echo "$as_me: error: cannot run C compiled programs.
2754 If you meant to cross compile, use \`--host'.
2755 See \`config.log' for more details." >&2;}
2756 { (exit 1); exit 1; }; }
2760 { echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6; }
2763 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2764 ac_clean_files=$ac_clean_files_save
2765 # Check that the compiler produces executables we can run. If not, either
2766 # the compiler is broken, or we cross compile.
2767 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2768 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2769 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2770 echo "${ECHO_T}$cross_compiling" >&6; }
2772 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2773 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2774 if { (ac_try="$ac_link"
2775 case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778 esac
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_link") 2>&5
2781 ac_status=$?
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; then
2784 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2785 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2786 # work properly (i.e., refer to `conftest.exe'), while it won't with
2787 # `rm'.
2788 for ac_file in conftest.exe conftest conftest.*; do
2789 test -f "$ac_file" || continue
2790 case $ac_file in
2791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2792 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2793 break;;
2794 * ) break;;
2795 esac
2796 done
2797 else
2798 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2799 See \`config.log' for more details." >&5
2800 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2801 See \`config.log' for more details." >&2;}
2802 { (exit 1); exit 1; }; }
2805 rm -f conftest$ac_cv_exeext
2806 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2807 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2809 rm -f conftest.$ac_ext
2810 EXEEXT=$ac_cv_exeext
2811 ac_exeext=$EXEEXT
2812 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2813 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2814 if test "${ac_cv_objext+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 else
2817 cat >conftest.$ac_ext <<_ACEOF
2818 /* confdefs.h. */
2819 _ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2825 main ()
2829 return 0;
2831 _ACEOF
2832 rm -f conftest.o conftest.obj
2833 if { (ac_try="$ac_compile"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_compile") 2>&5
2840 ac_status=$?
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; then
2843 for ac_file in conftest.o conftest.obj conftest.*; do
2844 test -f "$ac_file" || continue;
2845 case $ac_file in
2846 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2847 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2848 break;;
2849 esac
2850 done
2851 else
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2855 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2856 See \`config.log' for more details." >&5
2857 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2858 See \`config.log' for more details." >&2;}
2859 { (exit 1); exit 1; }; }
2862 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2864 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2865 echo "${ECHO_T}$ac_cv_objext" >&6; }
2866 OBJEXT=$ac_cv_objext
2867 ac_objext=$OBJEXT
2868 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2869 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2870 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 else
2873 cat >conftest.$ac_ext <<_ACEOF
2874 /* confdefs.h. */
2875 _ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2881 main ()
2883 #ifndef __GNUC__
2884 choke me
2885 #endif
2888 return 0;
2890 _ACEOF
2891 rm -f conftest.$ac_objext
2892 if { (ac_try="$ac_compile"
2893 case "(($ac_try" in
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2896 esac
2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898 (eval "$ac_compile") 2>conftest.er1
2899 ac_status=$?
2900 grep -v '^ *+' conftest.er1 >conftest.err
2901 rm -f conftest.er1
2902 cat conftest.err >&5
2903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); } && {
2905 test -z "$ac_c_werror_flag" ||
2906 test ! -s conftest.err
2907 } && test -s conftest.$ac_objext; then
2908 ac_compiler_gnu=yes
2909 else
2910 echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.$ac_ext >&5
2913 ac_compiler_gnu=no
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2920 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2921 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2922 GCC=`test $ac_compiler_gnu = yes && echo yes`
2923 ac_test_CFLAGS=${CFLAGS+set}
2924 ac_save_CFLAGS=$CFLAGS
2925 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2926 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2927 if test "${ac_cv_prog_cc_g+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 else
2930 ac_save_c_werror_flag=$ac_c_werror_flag
2931 ac_c_werror_flag=yes
2932 ac_cv_prog_cc_g=no
2933 CFLAGS="-g"
2934 cat >conftest.$ac_ext <<_ACEOF
2935 /* confdefs.h. */
2936 _ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2942 main ()
2946 return 0;
2948 _ACEOF
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2951 case "(($ac_try" in
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2954 esac
2955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2957 ac_status=$?
2958 grep -v '^ *+' conftest.er1 >conftest.err
2959 rm -f conftest.er1
2960 cat conftest.err >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); } && {
2963 test -z "$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 } && test -s conftest.$ac_objext; then
2966 ac_cv_prog_cc_g=yes
2967 else
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2971 CFLAGS=""
2972 cat >conftest.$ac_ext <<_ACEOF
2973 /* confdefs.h. */
2974 _ACEOF
2975 cat confdefs.h >>conftest.$ac_ext
2976 cat >>conftest.$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2980 main ()
2984 return 0;
2986 _ACEOF
2987 rm -f conftest.$ac_objext
2988 if { (ac_try="$ac_compile"
2989 case "(($ac_try" in
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2992 esac
2993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2994 (eval "$ac_compile") 2>conftest.er1
2995 ac_status=$?
2996 grep -v '^ *+' conftest.er1 >conftest.err
2997 rm -f conftest.er1
2998 cat conftest.err >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } && {
3001 test -z "$ac_c_werror_flag" ||
3002 test ! -s conftest.err
3003 } && test -s conftest.$ac_objext; then
3005 else
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3009 ac_c_werror_flag=$ac_save_c_werror_flag
3010 CFLAGS="-g"
3011 cat >conftest.$ac_ext <<_ACEOF
3012 /* confdefs.h. */
3013 _ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3019 main ()
3023 return 0;
3025 _ACEOF
3026 rm -f conftest.$ac_objext
3027 if { (ac_try="$ac_compile"
3028 case "(($ac_try" in
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3031 esac
3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033 (eval "$ac_compile") 2>conftest.er1
3034 ac_status=$?
3035 grep -v '^ *+' conftest.er1 >conftest.err
3036 rm -f conftest.er1
3037 cat conftest.err >&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); } && {
3040 test -z "$ac_c_werror_flag" ||
3041 test ! -s conftest.err
3042 } && test -s conftest.$ac_objext; then
3043 ac_cv_prog_cc_g=yes
3044 else
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 ac_c_werror_flag=$ac_save_c_werror_flag
3060 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3062 if test "$ac_test_CFLAGS" = set; then
3063 CFLAGS=$ac_save_CFLAGS
3064 elif test $ac_cv_prog_cc_g = yes; then
3065 if test "$GCC" = yes; then
3066 CFLAGS="-g -O2"
3067 else
3068 CFLAGS="-g"
3070 else
3071 if test "$GCC" = yes; then
3072 CFLAGS="-O2"
3073 else
3074 CFLAGS=
3077 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3078 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3079 if test "${ac_cv_prog_cc_c89+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 else
3082 ac_cv_prog_cc_c89=no
3083 ac_save_CC=$CC
3084 cat >conftest.$ac_ext <<_ACEOF
3085 /* confdefs.h. */
3086 _ACEOF
3087 cat confdefs.h >>conftest.$ac_ext
3088 cat >>conftest.$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3090 #include <stdarg.h>
3091 #include <stdio.h>
3092 #include <sys/types.h>
3093 #include <sys/stat.h>
3094 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3095 struct buf { int x; };
3096 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3097 static char *e (p, i)
3098 char **p;
3099 int i;
3101 return p[i];
3103 static char *f (char * (*g) (char **, int), char **p, ...)
3105 char *s;
3106 va_list v;
3107 va_start (v,p);
3108 s = g (p, va_arg (v,int));
3109 va_end (v);
3110 return s;
3113 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3114 function prototypes and stuff, but not '\xHH' hex character constants.
3115 These don't provoke an error unfortunately, instead are silently treated
3116 as 'x'. The following induces an error, until -std is added to get
3117 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3118 array size at least. It's necessary to write '\x00'==0 to get something
3119 that's true only with -std. */
3120 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3122 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3123 inside strings and character constants. */
3124 #define FOO(x) 'x'
3125 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3127 int test (int i, double x);
3128 struct s1 {int (*f) (int a);};
3129 struct s2 {int (*f) (double a);};
3130 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3131 int argc;
3132 char **argv;
3134 main ()
3136 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3138 return 0;
3140 _ACEOF
3141 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3142 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3144 CC="$ac_save_CC $ac_arg"
3145 rm -f conftest.$ac_objext
3146 if { (ac_try="$ac_compile"
3147 case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150 esac
3151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compile") 2>conftest.er1
3153 ac_status=$?
3154 grep -v '^ *+' conftest.er1 >conftest.err
3155 rm -f conftest.er1
3156 cat conftest.err >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } && {
3159 test -z "$ac_c_werror_flag" ||
3160 test ! -s conftest.err
3161 } && test -s conftest.$ac_objext; then
3162 ac_cv_prog_cc_c89=$ac_arg
3163 else
3164 echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3170 rm -f core conftest.err conftest.$ac_objext
3171 test "x$ac_cv_prog_cc_c89" != "xno" && break
3172 done
3173 rm -f conftest.$ac_ext
3174 CC=$ac_save_CC
3177 # AC_CACHE_VAL
3178 case "x$ac_cv_prog_cc_c89" in
3180 { echo "$as_me:$LINENO: result: none needed" >&5
3181 echo "${ECHO_T}none needed" >&6; } ;;
3182 xno)
3183 { echo "$as_me:$LINENO: result: unsupported" >&5
3184 echo "${ECHO_T}unsupported" >&6; } ;;
3186 CC="$CC $ac_cv_prog_cc_c89"
3187 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3188 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3189 esac
3192 ac_ext=c
3193 ac_cpp='$CPP $CPPFLAGS'
3194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3198 ac_ext=cpp
3199 ac_cpp='$CXXCPP $CPPFLAGS'
3200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3203 if test -z "$CXX"; then
3204 if test -n "$CCC"; then
3205 CXX=$CCC
3206 else
3207 if test -n "$ac_tool_prefix"; then
3208 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3214 if test "${ac_cv_prog_CXX+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 else
3217 if test -n "$CXX"; then
3218 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3219 else
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 for as_dir in $PATH
3223 IFS=$as_save_IFS
3224 test -z "$as_dir" && as_dir=.
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3227 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 break 2
3231 done
3232 done
3233 IFS=$as_save_IFS
3237 CXX=$ac_cv_prog_CXX
3238 if test -n "$CXX"; then
3239 { echo "$as_me:$LINENO: result: $CXX" >&5
3240 echo "${ECHO_T}$CXX" >&6; }
3241 else
3242 { echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6; }
3247 test -n "$CXX" && break
3248 done
3250 if test -z "$CXX"; then
3251 ac_ct_CXX=$CXX
3252 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3254 # Extract the first word of "$ac_prog", so it can be a program name with args.
3255 set dummy $ac_prog; ac_word=$2
3256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3258 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 else
3261 if test -n "$ac_ct_CXX"; then
3262 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3263 else
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH
3267 IFS=$as_save_IFS
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271 ac_cv_prog_ac_ct_CXX="$ac_prog"
3272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 break 2
3275 done
3276 done
3277 IFS=$as_save_IFS
3281 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3282 if test -n "$ac_ct_CXX"; then
3283 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3284 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3285 else
3286 { echo "$as_me:$LINENO: result: no" >&5
3287 echo "${ECHO_T}no" >&6; }
3291 test -n "$ac_ct_CXX" && break
3292 done
3294 if test "x$ac_ct_CXX" = x; then
3295 CXX="g++"
3296 else
3297 case $cross_compiling:$ac_tool_warned in
3298 yes:)
3299 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3300 whose name does not start with the host triplet. If you think this
3301 configuration is useful to you, please write to autoconf@gnu.org." >&5
3302 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3303 whose name does not start with the host triplet. If you think this
3304 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3305 ac_tool_warned=yes ;;
3306 esac
3307 CXX=$ac_ct_CXX
3313 # Provide some information about the compiler.
3314 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3315 ac_compiler=`set X $ac_compile; echo $2`
3316 { (ac_try="$ac_compiler --version >&5"
3317 case "(($ac_try" in
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3320 esac
3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322 (eval "$ac_compiler --version >&5") 2>&5
3323 ac_status=$?
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); }
3326 { (ac_try="$ac_compiler -v >&5"
3327 case "(($ac_try" in
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3330 esac
3331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3332 (eval "$ac_compiler -v >&5") 2>&5
3333 ac_status=$?
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }
3336 { (ac_try="$ac_compiler -V >&5"
3337 case "(($ac_try" in
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3340 esac
3341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3342 (eval "$ac_compiler -V >&5") 2>&5
3343 ac_status=$?
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }
3347 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3348 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3349 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 else
3352 cat >conftest.$ac_ext <<_ACEOF
3353 /* confdefs.h. */
3354 _ACEOF
3355 cat confdefs.h >>conftest.$ac_ext
3356 cat >>conftest.$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3360 main ()
3362 #ifndef __GNUC__
3363 choke me
3364 #endif
3367 return 0;
3369 _ACEOF
3370 rm -f conftest.$ac_objext
3371 if { (ac_try="$ac_compile"
3372 case "(($ac_try" in
3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3375 esac
3376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3377 (eval "$ac_compile") 2>conftest.er1
3378 ac_status=$?
3379 grep -v '^ *+' conftest.er1 >conftest.err
3380 rm -f conftest.er1
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } && {
3384 test -z "$ac_cxx_werror_flag" ||
3385 test ! -s conftest.err
3386 } && test -s conftest.$ac_objext; then
3387 ac_compiler_gnu=yes
3388 else
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3392 ac_compiler_gnu=no
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3399 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3400 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3401 GXX=`test $ac_compiler_gnu = yes && echo yes`
3402 ac_test_CXXFLAGS=${CXXFLAGS+set}
3403 ac_save_CXXFLAGS=$CXXFLAGS
3404 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3405 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3406 if test "${ac_cv_prog_cxx_g+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 else
3409 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3410 ac_cxx_werror_flag=yes
3411 ac_cv_prog_cxx_g=no
3412 CXXFLAGS="-g"
3413 cat >conftest.$ac_ext <<_ACEOF
3414 /* confdefs.h. */
3415 _ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3421 main ()
3425 return 0;
3427 _ACEOF
3428 rm -f conftest.$ac_objext
3429 if { (ac_try="$ac_compile"
3430 case "(($ac_try" in
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3433 esac
3434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3435 (eval "$ac_compile") 2>conftest.er1
3436 ac_status=$?
3437 grep -v '^ *+' conftest.er1 >conftest.err
3438 rm -f conftest.er1
3439 cat conftest.err >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } && {
3442 test -z "$ac_cxx_werror_flag" ||
3443 test ! -s conftest.err
3444 } && test -s conftest.$ac_objext; then
3445 ac_cv_prog_cxx_g=yes
3446 else
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3450 CXXFLAGS=""
3451 cat >conftest.$ac_ext <<_ACEOF
3452 /* confdefs.h. */
3453 _ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3459 main ()
3463 return 0;
3465 _ACEOF
3466 rm -f conftest.$ac_objext
3467 if { (ac_try="$ac_compile"
3468 case "(($ac_try" in
3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3471 esac
3472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3473 (eval "$ac_compile") 2>conftest.er1
3474 ac_status=$?
3475 grep -v '^ *+' conftest.er1 >conftest.err
3476 rm -f conftest.er1
3477 cat conftest.err >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } && {
3480 test -z "$ac_cxx_werror_flag" ||
3481 test ! -s conftest.err
3482 } && test -s conftest.$ac_objext; then
3484 else
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3488 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3489 CXXFLAGS="-g"
3490 cat >conftest.$ac_ext <<_ACEOF
3491 /* confdefs.h. */
3492 _ACEOF
3493 cat confdefs.h >>conftest.$ac_ext
3494 cat >>conftest.$ac_ext <<_ACEOF
3495 /* end confdefs.h. */
3498 main ()
3502 return 0;
3504 _ACEOF
3505 rm -f conftest.$ac_objext
3506 if { (ac_try="$ac_compile"
3507 case "(($ac_try" in
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3510 esac
3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3512 (eval "$ac_compile") 2>conftest.er1
3513 ac_status=$?
3514 grep -v '^ *+' conftest.er1 >conftest.err
3515 rm -f conftest.er1
3516 cat conftest.err >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } && {
3519 test -z "$ac_cxx_werror_flag" ||
3520 test ! -s conftest.err
3521 } && test -s conftest.$ac_objext; then
3522 ac_cv_prog_cxx_g=yes
3523 else
3524 echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3539 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3540 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3541 if test "$ac_test_CXXFLAGS" = set; then
3542 CXXFLAGS=$ac_save_CXXFLAGS
3543 elif test $ac_cv_prog_cxx_g = yes; then
3544 if test "$GXX" = yes; then
3545 CXXFLAGS="-g -O2"
3546 else
3547 CXXFLAGS="-g"
3549 else
3550 if test "$GXX" = yes; then
3551 CXXFLAGS="-O2"
3552 else
3553 CXXFLAGS=
3556 ac_ext=c
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3564 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3567 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 else
3570 if test -n "$CPPBIN"; then
3571 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3572 else
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 for as_dir in $PATH
3576 IFS=$as_save_IFS
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 break 2
3584 done
3585 done
3586 IFS=$as_save_IFS
3590 CPPBIN=$ac_cv_prog_CPPBIN
3591 if test -n "$CPPBIN"; then
3592 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3593 echo "${ECHO_T}$CPPBIN" >&6; }
3594 else
3595 { echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6; }
3601 if test -z "$ac_cv_prog_CPPBIN"; then
3602 ac_ct_CPPBIN=$CPPBIN
3603 # Extract the first word of "cpp", so it can be a program name with args.
3604 set dummy cpp; ac_word=$2
3605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3607 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 else
3610 if test -n "$ac_ct_CPPBIN"; then
3611 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620 ac_cv_prog_ac_ct_CPPBIN="cpp"
3621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3624 done
3625 done
3626 IFS=$as_save_IFS
3630 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3631 if test -n "$ac_ct_CPPBIN"; then
3632 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3633 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3634 else
3635 { echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6; }
3639 if test "x$ac_ct_CPPBIN" = x; then
3640 CPPBIN="cpp"
3641 else
3642 case $cross_compiling:$ac_tool_warned in
3643 yes:)
3644 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3645 whose name does not start with the host triplet. If you think this
3646 configuration is useful to you, please write to autoconf@gnu.org." >&5
3647 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3648 whose name does not start with the host triplet. If you think this
3649 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3650 ac_tool_warned=yes ;;
3651 esac
3652 CPPBIN=$ac_ct_CPPBIN
3654 else
3655 CPPBIN="$ac_cv_prog_CPPBIN"
3659 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3660 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3661 if test "${wine_cv_toolsdir+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 else
3664 if test -z "$with_wine_tools"; then
3665 if test "$cross_compiling" = "yes"; then
3666 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3667 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3668 { (exit 1); exit 1; }; }
3669 else
3670 wine_cv_toolsdir="\$(TOPOBJDIR)"
3672 elif test -d "$with_wine_tools/tools/winebuild"; then
3673 case $with_wine_tools in
3674 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3675 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3676 esac
3677 else
3678 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3679 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3680 { (exit 1); exit 1; }; }
3683 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3684 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3685 TOOLSDIR=$wine_cv_toolsdir
3689 ac_ext=c
3690 ac_cpp='$CPP $CPPFLAGS'
3691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3695 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3696 # On Suns, sometimes $CPP names a directory.
3697 if test -n "$CPP" && test -d "$CPP"; then
3698 CPP=
3700 if test -z "$CPP"; then
3701 if test "${ac_cv_prog_CPP+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 else
3704 # Double quotes because CPP needs to be expanded
3705 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3707 ac_preproc_ok=false
3708 for ac_c_preproc_warn_flag in '' yes
3710 # Use a header file that comes with gcc, so configuring glibc
3711 # with a fresh cross-compiler works.
3712 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713 # <limits.h> exists even on freestanding compilers.
3714 # On the NeXT, cc -E runs the code through the compiler's parser,
3715 # not just through cpp. "Syntax error" is here to catch this case.
3716 cat >conftest.$ac_ext <<_ACEOF
3717 /* confdefs.h. */
3718 _ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3722 #ifdef __STDC__
3723 # include <limits.h>
3724 #else
3725 # include <assert.h>
3726 #endif
3727 Syntax error
3728 _ACEOF
3729 if { (ac_try="$ac_cpp conftest.$ac_ext"
3730 case "(($ac_try" in
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3733 esac
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3736 ac_status=$?
3737 grep -v '^ *+' conftest.er1 >conftest.err
3738 rm -f conftest.er1
3739 cat conftest.err >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } >/dev/null && {
3742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3743 test ! -s conftest.err
3744 }; then
3746 else
3747 echo "$as_me: failed program was:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3750 # Broken: fails on valid input.
3751 continue
3754 rm -f conftest.err conftest.$ac_ext
3756 # OK, works on sane cases. Now check whether nonexistent headers
3757 # can be detected and how.
3758 cat >conftest.$ac_ext <<_ACEOF
3759 /* confdefs.h. */
3760 _ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 #include <ac_nonexistent.h>
3765 _ACEOF
3766 if { (ac_try="$ac_cpp conftest.$ac_ext"
3767 case "(($ac_try" in
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3770 esac
3771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3773 ac_status=$?
3774 grep -v '^ *+' conftest.er1 >conftest.err
3775 rm -f conftest.er1
3776 cat conftest.err >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } >/dev/null && {
3779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3780 test ! -s conftest.err
3781 }; then
3782 # Broken: success on invalid input.
3783 continue
3784 else
3785 echo "$as_me: failed program was:" >&5
3786 sed 's/^/| /' conftest.$ac_ext >&5
3788 # Passes both tests.
3789 ac_preproc_ok=:
3790 break
3793 rm -f conftest.err conftest.$ac_ext
3795 done
3796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3797 rm -f conftest.err conftest.$ac_ext
3798 if $ac_preproc_ok; then
3799 break
3802 done
3803 ac_cv_prog_CPP=$CPP
3806 CPP=$ac_cv_prog_CPP
3807 else
3808 ac_cv_prog_CPP=$CPP
3810 { echo "$as_me:$LINENO: result: $CPP" >&5
3811 echo "${ECHO_T}$CPP" >&6; }
3812 ac_preproc_ok=false
3813 for ac_c_preproc_warn_flag in '' yes
3815 # Use a header file that comes with gcc, so configuring glibc
3816 # with a fresh cross-compiler works.
3817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3818 # <limits.h> exists even on freestanding compilers.
3819 # On the NeXT, cc -E runs the code through the compiler's parser,
3820 # not just through cpp. "Syntax error" is here to catch this case.
3821 cat >conftest.$ac_ext <<_ACEOF
3822 /* confdefs.h. */
3823 _ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3827 #ifdef __STDC__
3828 # include <limits.h>
3829 #else
3830 # include <assert.h>
3831 #endif
3832 Syntax error
3833 _ACEOF
3834 if { (ac_try="$ac_cpp conftest.$ac_ext"
3835 case "(($ac_try" in
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3838 esac
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3841 ac_status=$?
3842 grep -v '^ *+' conftest.er1 >conftest.err
3843 rm -f conftest.er1
3844 cat conftest.err >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } >/dev/null && {
3847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3848 test ! -s conftest.err
3849 }; then
3851 else
3852 echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3855 # Broken: fails on valid input.
3856 continue
3859 rm -f conftest.err conftest.$ac_ext
3861 # OK, works on sane cases. Now check whether nonexistent headers
3862 # can be detected and how.
3863 cat >conftest.$ac_ext <<_ACEOF
3864 /* confdefs.h. */
3865 _ACEOF
3866 cat confdefs.h >>conftest.$ac_ext
3867 cat >>conftest.$ac_ext <<_ACEOF
3868 /* end confdefs.h. */
3869 #include <ac_nonexistent.h>
3870 _ACEOF
3871 if { (ac_try="$ac_cpp conftest.$ac_ext"
3872 case "(($ac_try" in
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3875 esac
3876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3878 ac_status=$?
3879 grep -v '^ *+' conftest.er1 >conftest.err
3880 rm -f conftest.er1
3881 cat conftest.err >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); } >/dev/null && {
3884 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3885 test ! -s conftest.err
3886 }; then
3887 # Broken: success on invalid input.
3888 continue
3889 else
3890 echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3893 # Passes both tests.
3894 ac_preproc_ok=:
3895 break
3898 rm -f conftest.err conftest.$ac_ext
3900 done
3901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3902 rm -f conftest.err conftest.$ac_ext
3903 if $ac_preproc_ok; then
3905 else
3906 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3907 See \`config.log' for more details." >&5
3908 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3909 See \`config.log' for more details." >&2;}
3910 { (exit 1); exit 1; }; }
3913 ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 { echo "$as_me:$LINENO: checking for X" >&5
3921 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3924 # Check whether --with-x was given.
3925 if test "${with_x+set}" = set; then
3926 withval=$with_x;
3929 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3930 if test "x$with_x" = xno; then
3931 # The user explicitly disabled X.
3932 have_x=disabled
3933 else
3934 case $x_includes,$x_libraries in #(
3935 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3936 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3937 { (exit 1); exit 1; }; };; #(
3938 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 else
3941 # One or both of the vars are not set, and there is no cached value.
3942 ac_x_includes=no ac_x_libraries=no
3943 rm -f -r conftest.dir
3944 if mkdir conftest.dir; then
3945 cd conftest.dir
3946 cat >Imakefile <<'_ACEOF'
3947 incroot:
3948 @echo incroot='${INCROOT}'
3949 usrlibdir:
3950 @echo usrlibdir='${USRLIBDIR}'
3951 libdir:
3952 @echo libdir='${LIBDIR}'
3953 _ACEOF
3954 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3955 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3956 for ac_var in incroot usrlibdir libdir; do
3957 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3958 done
3959 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3960 for ac_extension in a so sl; do
3961 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3962 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3963 ac_im_usrlibdir=$ac_im_libdir; break
3965 done
3966 # Screen out bogus values from the imake configuration. They are
3967 # bogus both because they are the default anyway, and because
3968 # using them would break gcc on systems where it needs fixed includes.
3969 case $ac_im_incroot in
3970 /usr/include) ac_x_includes= ;;
3971 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3972 esac
3973 case $ac_im_usrlibdir in
3974 /usr/lib | /lib) ;;
3975 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3976 esac
3978 cd ..
3979 rm -f -r conftest.dir
3982 # Standard set of common directories for X headers.
3983 # Check X11 before X11Rn because it is often a symlink to the current release.
3984 ac_x_header_dirs='
3985 /usr/X11/include
3986 /usr/X11R6/include
3987 /usr/X11R5/include
3988 /usr/X11R4/include
3990 /usr/include/X11
3991 /usr/include/X11R6
3992 /usr/include/X11R5
3993 /usr/include/X11R4
3995 /usr/local/X11/include
3996 /usr/local/X11R6/include
3997 /usr/local/X11R5/include
3998 /usr/local/X11R4/include
4000 /usr/local/include/X11
4001 /usr/local/include/X11R6
4002 /usr/local/include/X11R5
4003 /usr/local/include/X11R4
4005 /usr/X386/include
4006 /usr/x386/include
4007 /usr/XFree86/include/X11
4009 /usr/include
4010 /usr/local/include
4011 /usr/unsupported/include
4012 /usr/athena/include
4013 /usr/local/x11r5/include
4014 /usr/lpp/Xamples/include
4016 /usr/openwin/include
4017 /usr/openwin/share/include'
4019 if test "$ac_x_includes" = no; then
4020 # Guess where to find include files, by looking for Xlib.h.
4021 # First, try using that file with no special directory specified.
4022 cat >conftest.$ac_ext <<_ACEOF
4023 /* confdefs.h. */
4024 _ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4028 #include <X11/Xlib.h>
4029 _ACEOF
4030 if { (ac_try="$ac_cpp conftest.$ac_ext"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4037 ac_status=$?
4038 grep -v '^ *+' conftest.er1 >conftest.err
4039 rm -f conftest.er1
4040 cat conftest.err >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); } >/dev/null && {
4043 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4044 test ! -s conftest.err
4045 }; then
4046 # We can compile using X headers with no special include directory.
4047 ac_x_includes=
4048 else
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4052 for ac_dir in $ac_x_header_dirs; do
4053 if test -r "$ac_dir/X11/Xlib.h"; then
4054 ac_x_includes=$ac_dir
4055 break
4057 done
4060 rm -f conftest.err conftest.$ac_ext
4061 fi # $ac_x_includes = no
4063 if test "$ac_x_libraries" = no; then
4064 # Check for the libraries.
4065 # See if we find them without any special options.
4066 # Don't add to $LIBS permanently.
4067 ac_save_LIBS=$LIBS
4068 LIBS="-lX11 $LIBS"
4069 cat >conftest.$ac_ext <<_ACEOF
4070 /* confdefs.h. */
4071 _ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4075 #include <X11/Xlib.h>
4077 main ()
4079 XrmInitialize ()
4081 return 0;
4083 _ACEOF
4084 rm -f conftest.$ac_objext conftest$ac_exeext
4085 if { (ac_try="$ac_link"
4086 case "(($ac_try" in
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4089 esac
4090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4091 (eval "$ac_link") 2>conftest.er1
4092 ac_status=$?
4093 grep -v '^ *+' conftest.er1 >conftest.err
4094 rm -f conftest.er1
4095 cat conftest.err >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } && {
4098 test -z "$ac_c_werror_flag" ||
4099 test ! -s conftest.err
4100 } && test -s conftest$ac_exeext &&
4101 $as_test_x conftest$ac_exeext; then
4102 LIBS=$ac_save_LIBS
4103 # We can link X programs with no special library path.
4104 ac_x_libraries=
4105 else
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4109 LIBS=$ac_save_LIBS
4110 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4112 # Don't even attempt the hair of trying to link an X program!
4113 for ac_extension in a so sl; do
4114 if test -r "$ac_dir/libX11.$ac_extension"; then
4115 ac_x_libraries=$ac_dir
4116 break 2
4118 done
4119 done
4122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4123 conftest$ac_exeext conftest.$ac_ext
4124 fi # $ac_x_libraries = no
4126 case $ac_x_includes,$ac_x_libraries in #(
4127 no,* | *,no | *\'*)
4128 # Didn't find X, or a directory has "'" in its name.
4129 ac_cv_have_x="have_x=no";; #(
4131 # Record where we found X for the cache.
4132 ac_cv_have_x="have_x=yes\
4133 ac_x_includes='$ac_x_includes'\
4134 ac_x_libraries='$ac_x_libraries'"
4135 esac
4137 ;; #(
4138 *) have_x=yes;;
4139 esac
4140 eval "$ac_cv_have_x"
4141 fi # $with_x != no
4143 if test "$have_x" != yes; then
4144 { echo "$as_me:$LINENO: result: $have_x" >&5
4145 echo "${ECHO_T}$have_x" >&6; }
4146 no_x=yes
4147 else
4148 # If each of the values was on the command line, it overrides each guess.
4149 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4150 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4151 # Update the cache value to reflect the command line values.
4152 ac_cv_have_x="have_x=yes\
4153 ac_x_includes='$x_includes'\
4154 ac_x_libraries='$x_libraries'"
4155 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4156 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4159 if test "$no_x" = yes; then
4160 # Not all programs may use this symbol, but it does not hurt to define it.
4162 cat >>confdefs.h <<\_ACEOF
4163 #define X_DISPLAY_MISSING 1
4164 _ACEOF
4166 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4167 else
4168 if test -n "$x_includes"; then
4169 X_CFLAGS="$X_CFLAGS -I$x_includes"
4172 # It would also be nice to do this for all -L options, not just this one.
4173 if test -n "$x_libraries"; then
4174 X_LIBS="$X_LIBS -L$x_libraries"
4175 # For Solaris; some versions of Sun CC require a space after -R and
4176 # others require no space. Words are not sufficient . . . .
4177 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4178 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4179 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4180 ac_xsave_c_werror_flag=$ac_c_werror_flag
4181 ac_c_werror_flag=yes
4182 cat >conftest.$ac_ext <<_ACEOF
4183 /* confdefs.h. */
4184 _ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 rm -f conftest.$ac_objext conftest$ac_exeext
4198 if { (ac_try="$ac_link"
4199 case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202 esac
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_link") 2>conftest.er1
4205 ac_status=$?
4206 grep -v '^ *+' conftest.er1 >conftest.err
4207 rm -f conftest.er1
4208 cat conftest.err >&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } && {
4211 test -z "$ac_c_werror_flag" ||
4212 test ! -s conftest.err
4213 } && test -s conftest$ac_exeext &&
4214 $as_test_x conftest$ac_exeext; then
4215 { echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6; }
4217 X_LIBS="$X_LIBS -R$x_libraries"
4218 else
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.$ac_ext >&5
4222 LIBS="$ac_xsave_LIBS -R $x_libraries"
4223 cat >conftest.$ac_ext <<_ACEOF
4224 /* confdefs.h. */
4225 _ACEOF
4226 cat confdefs.h >>conftest.$ac_ext
4227 cat >>conftest.$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4231 main ()
4235 return 0;
4237 _ACEOF
4238 rm -f conftest.$ac_objext conftest$ac_exeext
4239 if { (ac_try="$ac_link"
4240 case "(($ac_try" in
4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4243 esac
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 (eval "$ac_link") 2>conftest.er1
4246 ac_status=$?
4247 grep -v '^ *+' conftest.er1 >conftest.err
4248 rm -f conftest.er1
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } && {
4252 test -z "$ac_c_werror_flag" ||
4253 test ! -s conftest.err
4254 } && test -s conftest$ac_exeext &&
4255 $as_test_x conftest$ac_exeext; then
4256 { echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6; }
4258 X_LIBS="$X_LIBS -R $x_libraries"
4259 else
4260 echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4263 { echo "$as_me:$LINENO: result: neither works" >&5
4264 echo "${ECHO_T}neither works" >&6; }
4267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4268 conftest$ac_exeext conftest.$ac_ext
4271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4272 conftest$ac_exeext conftest.$ac_ext
4273 ac_c_werror_flag=$ac_xsave_c_werror_flag
4274 LIBS=$ac_xsave_LIBS
4277 # Check for system-dependent libraries X programs must link with.
4278 # Do this before checking for the system-independent R6 libraries
4279 # (-lICE), since we may need -lsocket or whatever for X linking.
4281 if test "$ISC" = yes; then
4282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4283 else
4284 # Martyn Johnson says this is needed for Ultrix, if the X
4285 # libraries were built with DECnet support. And Karl Berry says
4286 # the Alpha needs dnet_stub (dnet does not exist).
4287 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4288 cat >conftest.$ac_ext <<_ACEOF
4289 /* confdefs.h. */
4290 _ACEOF
4291 cat confdefs.h >>conftest.$ac_ext
4292 cat >>conftest.$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4295 /* Override any GCC internal prototype to avoid an error.
4296 Use char because int might match the return type of a GCC
4297 builtin and then its argument prototype would still apply. */
4298 #ifdef __cplusplus
4299 extern "C"
4300 #endif
4301 char XOpenDisplay ();
4303 main ()
4305 return XOpenDisplay ();
4307 return 0;
4309 _ACEOF
4310 rm -f conftest.$ac_objext conftest$ac_exeext
4311 if { (ac_try="$ac_link"
4312 case "(($ac_try" in
4313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4315 esac
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4318 ac_status=$?
4319 grep -v '^ *+' conftest.er1 >conftest.err
4320 rm -f conftest.er1
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest$ac_exeext &&
4327 $as_test_x conftest$ac_exeext; then
4329 else
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4334 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4335 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4337 else
4338 ac_check_lib_save_LIBS=$LIBS
4339 LIBS="-ldnet $LIBS"
4340 cat >conftest.$ac_ext <<_ACEOF
4341 /* confdefs.h. */
4342 _ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4347 /* Override any GCC internal prototype to avoid an error.
4348 Use char because int might match the return type of a GCC
4349 builtin and then its argument prototype would still apply. */
4350 #ifdef __cplusplus
4351 extern "C"
4352 #endif
4353 char dnet_ntoa ();
4355 main ()
4357 return dnet_ntoa ();
4359 return 0;
4361 _ACEOF
4362 rm -f conftest.$ac_objext conftest$ac_exeext
4363 if { (ac_try="$ac_link"
4364 case "(($ac_try" in
4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4367 esac
4368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4369 (eval "$ac_link") 2>conftest.er1
4370 ac_status=$?
4371 grep -v '^ *+' conftest.er1 >conftest.err
4372 rm -f conftest.er1
4373 cat conftest.err >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } && {
4376 test -z "$ac_c_werror_flag" ||
4377 test ! -s conftest.err
4378 } && test -s conftest$ac_exeext &&
4379 $as_test_x conftest$ac_exeext; then
4380 ac_cv_lib_dnet_dnet_ntoa=yes
4381 else
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4385 ac_cv_lib_dnet_dnet_ntoa=no
4388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4389 conftest$ac_exeext conftest.$ac_ext
4390 LIBS=$ac_check_lib_save_LIBS
4392 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4393 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4394 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4395 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4398 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4399 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4400 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4401 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 else
4404 ac_check_lib_save_LIBS=$LIBS
4405 LIBS="-ldnet_stub $LIBS"
4406 cat >conftest.$ac_ext <<_ACEOF
4407 /* confdefs.h. */
4408 _ACEOF
4409 cat confdefs.h >>conftest.$ac_ext
4410 cat >>conftest.$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4413 /* Override any GCC internal prototype to avoid an error.
4414 Use char because int might match the return type of a GCC
4415 builtin and then its argument prototype would still apply. */
4416 #ifdef __cplusplus
4417 extern "C"
4418 #endif
4419 char dnet_ntoa ();
4421 main ()
4423 return dnet_ntoa ();
4425 return 0;
4427 _ACEOF
4428 rm -f conftest.$ac_objext conftest$ac_exeext
4429 if { (ac_try="$ac_link"
4430 case "(($ac_try" in
4431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4432 *) ac_try_echo=$ac_try;;
4433 esac
4434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4435 (eval "$ac_link") 2>conftest.er1
4436 ac_status=$?
4437 grep -v '^ *+' conftest.er1 >conftest.err
4438 rm -f conftest.er1
4439 cat conftest.err >&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } && {
4442 test -z "$ac_c_werror_flag" ||
4443 test ! -s conftest.err
4444 } && test -s conftest$ac_exeext &&
4445 $as_test_x conftest$ac_exeext; then
4446 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4447 else
4448 echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.$ac_ext >&5
4451 ac_cv_lib_dnet_stub_dnet_ntoa=no
4454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4455 conftest$ac_exeext conftest.$ac_ext
4456 LIBS=$ac_check_lib_save_LIBS
4458 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4459 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4460 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4461 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4468 conftest$ac_exeext conftest.$ac_ext
4469 LIBS="$ac_xsave_LIBS"
4471 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4472 # to get the SysV transport functions.
4473 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4474 # needs -lnsl.
4475 # The nsl library prevents programs from opening the X display
4476 # on Irix 5.2, according to T.E. Dickey.
4477 # The functions gethostbyname, getservbyname, and inet_addr are
4478 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4479 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4480 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4481 if test "${ac_cv_func_gethostbyname+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 else
4484 cat >conftest.$ac_ext <<_ACEOF
4485 /* confdefs.h. */
4486 _ACEOF
4487 cat confdefs.h >>conftest.$ac_ext
4488 cat >>conftest.$ac_ext <<_ACEOF
4489 /* end confdefs.h. */
4490 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4492 #define gethostbyname innocuous_gethostbyname
4494 /* System header to define __stub macros and hopefully few prototypes,
4495 which can conflict with char gethostbyname (); below.
4496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4497 <limits.h> exists even on freestanding compilers. */
4499 #ifdef __STDC__
4500 # include <limits.h>
4501 #else
4502 # include <assert.h>
4503 #endif
4505 #undef gethostbyname
4507 /* Override any GCC internal prototype to avoid an error.
4508 Use char because int might match the return type of a GCC
4509 builtin and then its argument prototype would still apply. */
4510 #ifdef __cplusplus
4511 extern "C"
4512 #endif
4513 char gethostbyname ();
4514 /* The GNU C library defines this for functions which it implements
4515 to always fail with ENOSYS. Some functions are actually named
4516 something starting with __ and the normal name is an alias. */
4517 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4518 choke me
4519 #endif
4522 main ()
4524 return gethostbyname ();
4526 return 0;
4528 _ACEOF
4529 rm -f conftest.$ac_objext conftest$ac_exeext
4530 if { (ac_try="$ac_link"
4531 case "(($ac_try" in
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4534 esac
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_link") 2>conftest.er1
4537 ac_status=$?
4538 grep -v '^ *+' conftest.er1 >conftest.err
4539 rm -f conftest.er1
4540 cat conftest.err >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } && {
4543 test -z "$ac_c_werror_flag" ||
4544 test ! -s conftest.err
4545 } && test -s conftest$ac_exeext &&
4546 $as_test_x conftest$ac_exeext; then
4547 ac_cv_func_gethostbyname=yes
4548 else
4549 echo "$as_me: failed program was:" >&5
4550 sed 's/^/| /' conftest.$ac_ext >&5
4552 ac_cv_func_gethostbyname=no
4555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4556 conftest$ac_exeext conftest.$ac_ext
4558 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4559 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4561 if test $ac_cv_func_gethostbyname = no; then
4562 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4563 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4564 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 else
4567 ac_check_lib_save_LIBS=$LIBS
4568 LIBS="-lnsl $LIBS"
4569 cat >conftest.$ac_ext <<_ACEOF
4570 /* confdefs.h. */
4571 _ACEOF
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4576 /* Override any GCC internal prototype to avoid an error.
4577 Use char because int might match the return type of a GCC
4578 builtin and then its argument prototype would still apply. */
4579 #ifdef __cplusplus
4580 extern "C"
4581 #endif
4582 char gethostbyname ();
4584 main ()
4586 return gethostbyname ();
4588 return 0;
4590 _ACEOF
4591 rm -f conftest.$ac_objext conftest$ac_exeext
4592 if { (ac_try="$ac_link"
4593 case "(($ac_try" in
4594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4595 *) ac_try_echo=$ac_try;;
4596 esac
4597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4598 (eval "$ac_link") 2>conftest.er1
4599 ac_status=$?
4600 grep -v '^ *+' conftest.er1 >conftest.err
4601 rm -f conftest.er1
4602 cat conftest.err >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } && {
4605 test -z "$ac_c_werror_flag" ||
4606 test ! -s conftest.err
4607 } && test -s conftest$ac_exeext &&
4608 $as_test_x conftest$ac_exeext; then
4609 ac_cv_lib_nsl_gethostbyname=yes
4610 else
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.$ac_ext >&5
4614 ac_cv_lib_nsl_gethostbyname=no
4617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4618 conftest$ac_exeext conftest.$ac_ext
4619 LIBS=$ac_check_lib_save_LIBS
4621 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4622 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4623 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4624 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4627 if test $ac_cv_lib_nsl_gethostbyname = no; then
4628 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4629 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4630 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 else
4633 ac_check_lib_save_LIBS=$LIBS
4634 LIBS="-lbsd $LIBS"
4635 cat >conftest.$ac_ext <<_ACEOF
4636 /* confdefs.h. */
4637 _ACEOF
4638 cat confdefs.h >>conftest.$ac_ext
4639 cat >>conftest.$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4645 #ifdef __cplusplus
4646 extern "C"
4647 #endif
4648 char gethostbyname ();
4650 main ()
4652 return gethostbyname ();
4654 return 0;
4656 _ACEOF
4657 rm -f conftest.$ac_objext conftest$ac_exeext
4658 if { (ac_try="$ac_link"
4659 case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_link") 2>conftest.er1
4665 ac_status=$?
4666 grep -v '^ *+' conftest.er1 >conftest.err
4667 rm -f conftest.er1
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && {
4671 test -z "$ac_c_werror_flag" ||
4672 test ! -s conftest.err
4673 } && test -s conftest$ac_exeext &&
4674 $as_test_x conftest$ac_exeext; then
4675 ac_cv_lib_bsd_gethostbyname=yes
4676 else
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 ac_cv_lib_bsd_gethostbyname=no
4683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4684 conftest$ac_exeext conftest.$ac_ext
4685 LIBS=$ac_check_lib_save_LIBS
4687 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4688 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4689 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4690 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4696 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4697 # socket/setsockopt and other routines are undefined under SCO ODT
4698 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4699 # on later versions), says Simon Leinen: it contains gethostby*
4700 # variants that don't use the name server (or something). -lsocket
4701 # must be given before -lnsl if both are needed. We assume that
4702 # if connect needs -lnsl, so does gethostbyname.
4703 { echo "$as_me:$LINENO: checking for connect" >&5
4704 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4705 if test "${ac_cv_func_connect+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 else
4708 cat >conftest.$ac_ext <<_ACEOF
4709 /* confdefs.h. */
4710 _ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4714 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4716 #define connect innocuous_connect
4718 /* System header to define __stub macros and hopefully few prototypes,
4719 which can conflict with char connect (); below.
4720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4721 <limits.h> exists even on freestanding compilers. */
4723 #ifdef __STDC__
4724 # include <limits.h>
4725 #else
4726 # include <assert.h>
4727 #endif
4729 #undef connect
4731 /* Override any GCC internal prototype to avoid an error.
4732 Use char because int might match the return type of a GCC
4733 builtin and then its argument prototype would still apply. */
4734 #ifdef __cplusplus
4735 extern "C"
4736 #endif
4737 char connect ();
4738 /* The GNU C library defines this for functions which it implements
4739 to always fail with ENOSYS. Some functions are actually named
4740 something starting with __ and the normal name is an alias. */
4741 #if defined __stub_connect || defined __stub___connect
4742 choke me
4743 #endif
4746 main ()
4748 return connect ();
4750 return 0;
4752 _ACEOF
4753 rm -f conftest.$ac_objext conftest$ac_exeext
4754 if { (ac_try="$ac_link"
4755 case "(($ac_try" in
4756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4758 esac
4759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4760 (eval "$ac_link") 2>conftest.er1
4761 ac_status=$?
4762 grep -v '^ *+' conftest.er1 >conftest.err
4763 rm -f conftest.er1
4764 cat conftest.err >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } && {
4767 test -z "$ac_c_werror_flag" ||
4768 test ! -s conftest.err
4769 } && test -s conftest$ac_exeext &&
4770 $as_test_x conftest$ac_exeext; then
4771 ac_cv_func_connect=yes
4772 else
4773 echo "$as_me: failed program was:" >&5
4774 sed 's/^/| /' conftest.$ac_ext >&5
4776 ac_cv_func_connect=no
4779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4780 conftest$ac_exeext conftest.$ac_ext
4782 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4783 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4785 if test $ac_cv_func_connect = no; then
4786 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4787 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4788 if test "${ac_cv_lib_socket_connect+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 else
4791 ac_check_lib_save_LIBS=$LIBS
4792 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4793 cat >conftest.$ac_ext <<_ACEOF
4794 /* confdefs.h. */
4795 _ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4800 /* Override any GCC internal prototype to avoid an error.
4801 Use char because int might match the return type of a GCC
4802 builtin and then its argument prototype would still apply. */
4803 #ifdef __cplusplus
4804 extern "C"
4805 #endif
4806 char connect ();
4808 main ()
4810 return connect ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4817 case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820 esac
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_lib_socket_connect=yes
4834 else
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_lib_socket_connect=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4843 LIBS=$ac_check_lib_save_LIBS
4845 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4846 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4847 if test $ac_cv_lib_socket_connect = yes; then
4848 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4853 # Guillermo Gomez says -lposix is necessary on A/UX.
4854 { echo "$as_me:$LINENO: checking for remove" >&5
4855 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4856 if test "${ac_cv_func_remove+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859 cat >conftest.$ac_ext <<_ACEOF
4860 /* confdefs.h. */
4861 _ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4867 #define remove innocuous_remove
4869 /* System header to define __stub macros and hopefully few prototypes,
4870 which can conflict with char remove (); below.
4871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4872 <limits.h> exists even on freestanding compilers. */
4874 #ifdef __STDC__
4875 # include <limits.h>
4876 #else
4877 # include <assert.h>
4878 #endif
4880 #undef remove
4882 /* Override any GCC internal prototype to avoid an error.
4883 Use char because int might match the return type of a GCC
4884 builtin and then its argument prototype would still apply. */
4885 #ifdef __cplusplus
4886 extern "C"
4887 #endif
4888 char remove ();
4889 /* The GNU C library defines this for functions which it implements
4890 to always fail with ENOSYS. Some functions are actually named
4891 something starting with __ and the normal name is an alias. */
4892 #if defined __stub_remove || defined __stub___remove
4893 choke me
4894 #endif
4897 main ()
4899 return remove ();
4901 return 0;
4903 _ACEOF
4904 rm -f conftest.$ac_objext conftest$ac_exeext
4905 if { (ac_try="$ac_link"
4906 case "(($ac_try" in
4907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4908 *) ac_try_echo=$ac_try;;
4909 esac
4910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4911 (eval "$ac_link") 2>conftest.er1
4912 ac_status=$?
4913 grep -v '^ *+' conftest.er1 >conftest.err
4914 rm -f conftest.er1
4915 cat conftest.err >&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } && {
4918 test -z "$ac_c_werror_flag" ||
4919 test ! -s conftest.err
4920 } && test -s conftest$ac_exeext &&
4921 $as_test_x conftest$ac_exeext; then
4922 ac_cv_func_remove=yes
4923 else
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.$ac_ext >&5
4927 ac_cv_func_remove=no
4930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4931 conftest$ac_exeext conftest.$ac_ext
4933 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4934 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4936 if test $ac_cv_func_remove = no; then
4937 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4938 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4939 if test "${ac_cv_lib_posix_remove+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4941 else
4942 ac_check_lib_save_LIBS=$LIBS
4943 LIBS="-lposix $LIBS"
4944 cat >conftest.$ac_ext <<_ACEOF
4945 /* confdefs.h. */
4946 _ACEOF
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4951 /* Override any GCC internal prototype to avoid an error.
4952 Use char because int might match the return type of a GCC
4953 builtin and then its argument prototype would still apply. */
4954 #ifdef __cplusplus
4955 extern "C"
4956 #endif
4957 char remove ();
4959 main ()
4961 return remove ();
4963 return 0;
4965 _ACEOF
4966 rm -f conftest.$ac_objext conftest$ac_exeext
4967 if { (ac_try="$ac_link"
4968 case "(($ac_try" in
4969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970 *) ac_try_echo=$ac_try;;
4971 esac
4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4973 (eval "$ac_link") 2>conftest.er1
4974 ac_status=$?
4975 grep -v '^ *+' conftest.er1 >conftest.err
4976 rm -f conftest.er1
4977 cat conftest.err >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && {
4980 test -z "$ac_c_werror_flag" ||
4981 test ! -s conftest.err
4982 } && test -s conftest$ac_exeext &&
4983 $as_test_x conftest$ac_exeext; then
4984 ac_cv_lib_posix_remove=yes
4985 else
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4989 ac_cv_lib_posix_remove=no
4992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4993 conftest$ac_exeext conftest.$ac_ext
4994 LIBS=$ac_check_lib_save_LIBS
4996 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4997 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4998 if test $ac_cv_lib_posix_remove = yes; then
4999 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5004 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5005 { echo "$as_me:$LINENO: checking for shmat" >&5
5006 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5007 if test "${ac_cv_func_shmat+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 else
5010 cat >conftest.$ac_ext <<_ACEOF
5011 /* confdefs.h. */
5012 _ACEOF
5013 cat confdefs.h >>conftest.$ac_ext
5014 cat >>conftest.$ac_ext <<_ACEOF
5015 /* end confdefs.h. */
5016 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5018 #define shmat innocuous_shmat
5020 /* System header to define __stub macros and hopefully few prototypes,
5021 which can conflict with char shmat (); below.
5022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5023 <limits.h> exists even on freestanding compilers. */
5025 #ifdef __STDC__
5026 # include <limits.h>
5027 #else
5028 # include <assert.h>
5029 #endif
5031 #undef shmat
5033 /* Override any GCC internal prototype to avoid an error.
5034 Use char because int might match the return type of a GCC
5035 builtin and then its argument prototype would still apply. */
5036 #ifdef __cplusplus
5037 extern "C"
5038 #endif
5039 char shmat ();
5040 /* The GNU C library defines this for functions which it implements
5041 to always fail with ENOSYS. Some functions are actually named
5042 something starting with __ and the normal name is an alias. */
5043 #if defined __stub_shmat || defined __stub___shmat
5044 choke me
5045 #endif
5048 main ()
5050 return shmat ();
5052 return 0;
5054 _ACEOF
5055 rm -f conftest.$ac_objext conftest$ac_exeext
5056 if { (ac_try="$ac_link"
5057 case "(($ac_try" in
5058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5059 *) ac_try_echo=$ac_try;;
5060 esac
5061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5062 (eval "$ac_link") 2>conftest.er1
5063 ac_status=$?
5064 grep -v '^ *+' conftest.er1 >conftest.err
5065 rm -f conftest.er1
5066 cat conftest.err >&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); } && {
5069 test -z "$ac_c_werror_flag" ||
5070 test ! -s conftest.err
5071 } && test -s conftest$ac_exeext &&
5072 $as_test_x conftest$ac_exeext; then
5073 ac_cv_func_shmat=yes
5074 else
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.$ac_ext >&5
5078 ac_cv_func_shmat=no
5081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5082 conftest$ac_exeext conftest.$ac_ext
5084 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5085 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5087 if test $ac_cv_func_shmat = no; then
5088 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5089 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5090 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 else
5093 ac_check_lib_save_LIBS=$LIBS
5094 LIBS="-lipc $LIBS"
5095 cat >conftest.$ac_ext <<_ACEOF
5096 /* confdefs.h. */
5097 _ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5102 /* Override any GCC internal prototype to avoid an error.
5103 Use char because int might match the return type of a GCC
5104 builtin and then its argument prototype would still apply. */
5105 #ifdef __cplusplus
5106 extern "C"
5107 #endif
5108 char shmat ();
5110 main ()
5112 return shmat ();
5114 return 0;
5116 _ACEOF
5117 rm -f conftest.$ac_objext conftest$ac_exeext
5118 if { (ac_try="$ac_link"
5119 case "(($ac_try" in
5120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5122 esac
5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5124 (eval "$ac_link") 2>conftest.er1
5125 ac_status=$?
5126 grep -v '^ *+' conftest.er1 >conftest.err
5127 rm -f conftest.er1
5128 cat conftest.err >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } && {
5131 test -z "$ac_c_werror_flag" ||
5132 test ! -s conftest.err
5133 } && test -s conftest$ac_exeext &&
5134 $as_test_x conftest$ac_exeext; then
5135 ac_cv_lib_ipc_shmat=yes
5136 else
5137 echo "$as_me: failed program was:" >&5
5138 sed 's/^/| /' conftest.$ac_ext >&5
5140 ac_cv_lib_ipc_shmat=no
5143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5144 conftest$ac_exeext conftest.$ac_ext
5145 LIBS=$ac_check_lib_save_LIBS
5147 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5148 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5149 if test $ac_cv_lib_ipc_shmat = yes; then
5150 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5156 # Check for libraries that X11R6 Xt/Xaw programs need.
5157 ac_save_LDFLAGS=$LDFLAGS
5158 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5159 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5160 # check for ICE first), but we must link in the order -lSM -lICE or
5161 # we get undefined symbols. So assume we have SM if we have ICE.
5162 # These have to be linked with before -lX11, unlike the other
5163 # libraries we check for below, so use a different variable.
5164 # John Interrante, Karl Berry
5165 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5166 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5167 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 else
5170 ac_check_lib_save_LIBS=$LIBS
5171 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5172 cat >conftest.$ac_ext <<_ACEOF
5173 /* confdefs.h. */
5174 _ACEOF
5175 cat confdefs.h >>conftest.$ac_ext
5176 cat >>conftest.$ac_ext <<_ACEOF
5177 /* end confdefs.h. */
5179 /* Override any GCC internal prototype to avoid an error.
5180 Use char because int might match the return type of a GCC
5181 builtin and then its argument prototype would still apply. */
5182 #ifdef __cplusplus
5183 extern "C"
5184 #endif
5185 char IceConnectionNumber ();
5187 main ()
5189 return IceConnectionNumber ();
5191 return 0;
5193 _ACEOF
5194 rm -f conftest.$ac_objext conftest$ac_exeext
5195 if { (ac_try="$ac_link"
5196 case "(($ac_try" in
5197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5198 *) ac_try_echo=$ac_try;;
5199 esac
5200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201 (eval "$ac_link") 2>conftest.er1
5202 ac_status=$?
5203 grep -v '^ *+' conftest.er1 >conftest.err
5204 rm -f conftest.er1
5205 cat conftest.err >&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } && {
5208 test -z "$ac_c_werror_flag" ||
5209 test ! -s conftest.err
5210 } && test -s conftest$ac_exeext &&
5211 $as_test_x conftest$ac_exeext; then
5212 ac_cv_lib_ICE_IceConnectionNumber=yes
5213 else
5214 echo "$as_me: failed program was:" >&5
5215 sed 's/^/| /' conftest.$ac_ext >&5
5217 ac_cv_lib_ICE_IceConnectionNumber=no
5220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5221 conftest$ac_exeext conftest.$ac_ext
5222 LIBS=$ac_check_lib_save_LIBS
5224 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5225 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5226 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5227 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5230 LDFLAGS=$ac_save_LDFLAGS
5235 for ac_prog in flex
5237 # Extract the first word of "$ac_prog", so it can be a program name with args.
5238 set dummy $ac_prog; ac_word=$2
5239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5241 if test "${ac_cv_prog_FLEX+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 else
5244 if test -n "$FLEX"; then
5245 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_FLEX="$ac_prog"
5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 FLEX=$ac_cv_prog_FLEX
5265 if test -n "$FLEX"; then
5266 { echo "$as_me:$LINENO: result: $FLEX" >&5
5267 echo "${ECHO_T}$FLEX" >&6; }
5268 else
5269 { echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6; }
5274 test -n "$FLEX" && break
5275 done
5276 test -n "$FLEX" || FLEX="none"
5278 if test "$FLEX" = "none"
5279 then
5280 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5281 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5282 { (exit 1); exit 1; }; }
5285 for ac_prog in bison
5287 # Extract the first word of "$ac_prog", so it can be a program name with args.
5288 set dummy $ac_prog; ac_word=$2
5289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5291 if test "${ac_cv_prog_BISON+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 else
5294 if test -n "$BISON"; then
5295 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5296 else
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH
5300 IFS=$as_save_IFS
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304 ac_cv_prog_BISON="$ac_prog"
5305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 break 2
5308 done
5309 done
5310 IFS=$as_save_IFS
5314 BISON=$ac_cv_prog_BISON
5315 if test -n "$BISON"; then
5316 { echo "$as_me:$LINENO: result: $BISON" >&5
5317 echo "${ECHO_T}$BISON" >&6; }
5318 else
5319 { echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6; }
5324 test -n "$BISON" && break
5325 done
5326 test -n "$BISON" || BISON="none"
5328 if test "$BISON" = "none"
5329 then
5330 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5331 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5332 { (exit 1); exit 1; }; }
5335 if test -n "$ac_tool_prefix"; then
5336 for ac_prog in gas as
5338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_AS+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 else
5345 if test -n "$AS"; then
5346 ac_cv_prog_AS="$AS" # Let the user override the test.
5347 else
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH
5351 IFS=$as_save_IFS
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 break 2
5359 done
5360 done
5361 IFS=$as_save_IFS
5365 AS=$ac_cv_prog_AS
5366 if test -n "$AS"; then
5367 { echo "$as_me:$LINENO: result: $AS" >&5
5368 echo "${ECHO_T}$AS" >&6; }
5369 else
5370 { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5375 test -n "$AS" && break
5376 done
5378 if test -z "$AS"; then
5379 ac_ct_AS=$AS
5380 for ac_prog in gas as
5382 # Extract the first word of "$ac_prog", so it can be a program name with args.
5383 set dummy $ac_prog; ac_word=$2
5384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5386 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 else
5389 if test -n "$ac_ct_AS"; then
5390 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5391 else
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 for as_dir in $PATH
5395 IFS=$as_save_IFS
5396 test -z "$as_dir" && as_dir=.
5397 for ac_exec_ext in '' $ac_executable_extensions; do
5398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399 ac_cv_prog_ac_ct_AS="$ac_prog"
5400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5401 break 2
5403 done
5404 done
5405 IFS=$as_save_IFS
5409 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5410 if test -n "$ac_ct_AS"; then
5411 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5412 echo "${ECHO_T}$ac_ct_AS" >&6; }
5413 else
5414 { echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6; }
5419 test -n "$ac_ct_AS" && break
5420 done
5422 if test "x$ac_ct_AS" = x; then
5423 AS="as"
5424 else
5425 case $cross_compiling:$ac_tool_warned in
5426 yes:)
5427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5428 whose name does not start with the host triplet. If you think this
5429 configuration is useful to you, please write to autoconf@gnu.org." >&5
5430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5431 whose name does not start with the host triplet. If you think this
5432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5433 ac_tool_warned=yes ;;
5434 esac
5435 AS=$ac_ct_AS
5439 if test -n "$ac_tool_prefix"; then
5440 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5441 set dummy ${ac_tool_prefix}ld; ac_word=$2
5442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5444 if test "${ac_cv_prog_LD+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 else
5447 if test -n "$LD"; then
5448 ac_cv_prog_LD="$LD" # Let the user override the test.
5449 else
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 for as_dir in $PATH
5453 IFS=$as_save_IFS
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5457 ac_cv_prog_LD="${ac_tool_prefix}ld"
5458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 break 2
5461 done
5462 done
5463 IFS=$as_save_IFS
5467 LD=$ac_cv_prog_LD
5468 if test -n "$LD"; then
5469 { echo "$as_me:$LINENO: result: $LD" >&5
5470 echo "${ECHO_T}$LD" >&6; }
5471 else
5472 { echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6; }
5478 if test -z "$ac_cv_prog_LD"; then
5479 ac_ct_LD=$LD
5480 # Extract the first word of "ld", so it can be a program name with args.
5481 set dummy ld; ac_word=$2
5482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5484 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 else
5487 if test -n "$ac_ct_LD"; then
5488 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5489 else
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 for as_dir in $PATH
5493 IFS=$as_save_IFS
5494 test -z "$as_dir" && as_dir=.
5495 for ac_exec_ext in '' $ac_executable_extensions; do
5496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5497 ac_cv_prog_ac_ct_LD="ld"
5498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 break 2
5501 done
5502 done
5503 IFS=$as_save_IFS
5507 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5508 if test -n "$ac_ct_LD"; then
5509 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5510 echo "${ECHO_T}$ac_ct_LD" >&6; }
5511 else
5512 { echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6; }
5516 if test "x$ac_ct_LD" = x; then
5517 LD="ld"
5518 else
5519 case $cross_compiling:$ac_tool_warned in
5520 yes:)
5521 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5522 whose name does not start with the host triplet. If you think this
5523 configuration is useful to you, please write to autoconf@gnu.org." >&5
5524 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5525 whose name does not start with the host triplet. If you think this
5526 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5527 ac_tool_warned=yes ;;
5528 esac
5529 LD=$ac_ct_LD
5531 else
5532 LD="$ac_cv_prog_LD"
5535 if test -n "$ac_tool_prefix"; then
5536 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5537 set dummy ${ac_tool_prefix}ar; ac_word=$2
5538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5540 if test "${ac_cv_prog_AR+set}" = set; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5542 else
5543 if test -n "$AR"; then
5544 ac_cv_prog_AR="$AR" # Let the user override the test.
5545 else
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 for as_dir in $PATH
5549 IFS=$as_save_IFS
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5553 ac_cv_prog_AR="${ac_tool_prefix}ar"
5554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 break 2
5557 done
5558 done
5559 IFS=$as_save_IFS
5563 AR=$ac_cv_prog_AR
5564 if test -n "$AR"; then
5565 { echo "$as_me:$LINENO: result: $AR" >&5
5566 echo "${ECHO_T}$AR" >&6; }
5567 else
5568 { echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6; }
5574 if test -z "$ac_cv_prog_AR"; then
5575 ac_ct_AR=$AR
5576 # Extract the first word of "ar", so it can be a program name with args.
5577 set dummy ar; ac_word=$2
5578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5580 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5581 echo $ECHO_N "(cached) $ECHO_C" >&6
5582 else
5583 if test -n "$ac_ct_AR"; then
5584 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5585 else
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 for as_dir in $PATH
5589 IFS=$as_save_IFS
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593 ac_cv_prog_ac_ct_AR="ar"
5594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 break 2
5597 done
5598 done
5599 IFS=$as_save_IFS
5603 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5604 if test -n "$ac_ct_AR"; then
5605 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5606 echo "${ECHO_T}$ac_ct_AR" >&6; }
5607 else
5608 { echo "$as_me:$LINENO: result: no" >&5
5609 echo "${ECHO_T}no" >&6; }
5612 if test "x$ac_ct_AR" = x; then
5613 AR="ar"
5614 else
5615 case $cross_compiling:$ac_tool_warned in
5616 yes:)
5617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5618 whose name does not start with the host triplet. If you think this
5619 configuration is useful to you, please write to autoconf@gnu.org." >&5
5620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5621 whose name does not start with the host triplet. If you think this
5622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5623 ac_tool_warned=yes ;;
5624 esac
5625 AR=$ac_ct_AR
5627 else
5628 AR="$ac_cv_prog_AR"
5631 ARFLAGS=rc
5633 if test -n "$ac_tool_prefix"; then
5634 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5635 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5638 if test "${ac_cv_prog_RANLIB+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 else
5641 if test -n "$RANLIB"; then
5642 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 break 2
5655 done
5656 done
5657 IFS=$as_save_IFS
5661 RANLIB=$ac_cv_prog_RANLIB
5662 if test -n "$RANLIB"; then
5663 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5664 echo "${ECHO_T}$RANLIB" >&6; }
5665 else
5666 { echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6; }
5672 if test -z "$ac_cv_prog_RANLIB"; then
5673 ac_ct_RANLIB=$RANLIB
5674 # Extract the first word of "ranlib", so it can be a program name with args.
5675 set dummy ranlib; ac_word=$2
5676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5678 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 else
5681 if test -n "$ac_ct_RANLIB"; then
5682 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691 ac_cv_prog_ac_ct_RANLIB="ranlib"
5692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5702 if test -n "$ac_ct_RANLIB"; then
5703 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5704 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5705 else
5706 { echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6; }
5710 if test "x$ac_ct_RANLIB" = x; then
5711 RANLIB=":"
5712 else
5713 case $cross_compiling:$ac_tool_warned in
5714 yes:)
5715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5716 whose name does not start with the host triplet. If you think this
5717 configuration is useful to you, please write to autoconf@gnu.org." >&5
5718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5719 whose name does not start with the host triplet. If you think this
5720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5721 ac_tool_warned=yes ;;
5722 esac
5723 RANLIB=$ac_ct_RANLIB
5725 else
5726 RANLIB="$ac_cv_prog_RANLIB"
5729 if test -n "$ac_tool_prefix"; then
5730 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5731 set dummy ${ac_tool_prefix}strip; ac_word=$2
5732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5734 if test "${ac_cv_prog_STRIP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 else
5737 if test -n "$STRIP"; then
5738 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 break 2
5751 done
5752 done
5753 IFS=$as_save_IFS
5757 STRIP=$ac_cv_prog_STRIP
5758 if test -n "$STRIP"; then
5759 { echo "$as_me:$LINENO: result: $STRIP" >&5
5760 echo "${ECHO_T}$STRIP" >&6; }
5761 else
5762 { echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6; }
5768 if test -z "$ac_cv_prog_STRIP"; then
5769 ac_ct_STRIP=$STRIP
5770 # Extract the first word of "strip", so it can be a program name with args.
5771 set dummy strip; ac_word=$2
5772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5774 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 else
5777 if test -n "$ac_ct_STRIP"; then
5778 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5783 IFS=$as_save_IFS
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5787 ac_cv_prog_ac_ct_STRIP="strip"
5788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 break 2
5791 done
5792 done
5793 IFS=$as_save_IFS
5797 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5798 if test -n "$ac_ct_STRIP"; then
5799 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5800 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5801 else
5802 { echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6; }
5806 if test "x$ac_ct_STRIP" = x; then
5807 STRIP="strip"
5808 else
5809 case $cross_compiling:$ac_tool_warned in
5810 yes:)
5811 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5812 whose name does not start with the host triplet. If you think this
5813 configuration is useful to you, please write to autoconf@gnu.org." >&5
5814 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5815 whose name does not start with the host triplet. If you think this
5816 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5817 ac_tool_warned=yes ;;
5818 esac
5819 STRIP=$ac_ct_STRIP
5821 else
5822 STRIP="$ac_cv_prog_STRIP"
5825 if test -n "$ac_tool_prefix"; then
5826 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5827 set dummy ${ac_tool_prefix}windres; ac_word=$2
5828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5830 if test "${ac_cv_prog_WINDRES+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5832 else
5833 if test -n "$WINDRES"; then
5834 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5835 else
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH
5839 IFS=$as_save_IFS
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 break 2
5847 done
5848 done
5849 IFS=$as_save_IFS
5853 WINDRES=$ac_cv_prog_WINDRES
5854 if test -n "$WINDRES"; then
5855 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5856 echo "${ECHO_T}$WINDRES" >&6; }
5857 else
5858 { echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6; }
5864 if test -z "$ac_cv_prog_WINDRES"; then
5865 ac_ct_WINDRES=$WINDRES
5866 # Extract the first word of "windres", so it can be a program name with args.
5867 set dummy windres; ac_word=$2
5868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 else
5873 if test -n "$ac_ct_WINDRES"; then
5874 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_ac_ct_WINDRES="windres"
5884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5894 if test -n "$ac_ct_WINDRES"; then
5895 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5897 else
5898 { echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6; }
5902 if test "x$ac_ct_WINDRES" = x; then
5903 WINDRES="false"
5904 else
5905 case $cross_compiling:$ac_tool_warned in
5906 yes:)
5907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5908 whose name does not start with the host triplet. If you think this
5909 configuration is useful to you, please write to autoconf@gnu.org." >&5
5910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5911 whose name does not start with the host triplet. If you think this
5912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5913 ac_tool_warned=yes ;;
5914 esac
5915 WINDRES=$ac_ct_WINDRES
5917 else
5918 WINDRES="$ac_cv_prog_WINDRES"
5921 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5922 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5923 LN_S=$as_ln_s
5924 if test "$LN_S" = "ln -s"; then
5925 { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5927 else
5928 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5929 echo "${ECHO_T}no, using $LN_S" >&6; }
5932 { echo "$as_me:$LINENO: checking whether ln works" >&5
5933 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5934 rm -f conf$$ conf$$.file
5935 echo >conf$$.file
5936 if ln conf$$.file conf$$ 2>/dev/null; then
5937 LN=ln
5939 { echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6; }
5941 else
5942 LN="cp -p"
5944 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5945 echo "${ECHO_T}no, using $LN" >&6; }
5947 rm -f conf$$ conf$$.file
5948 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5949 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5950 if test "${ac_cv_path_GREP+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 else
5953 # Extract the first word of "grep ggrep" to use in msg output
5954 if test -z "$GREP"; then
5955 set dummy grep ggrep; ac_prog_name=$2
5956 if test "${ac_cv_path_GREP+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 else
5959 ac_path_GREP_found=false
5960 # Loop through the user's path and test for each of PROGNAME-LIST
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5964 IFS=$as_save_IFS
5965 test -z "$as_dir" && as_dir=.
5966 for ac_prog in grep ggrep; do
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5969 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5970 # Check for GNU ac_path_GREP and select it if it is found.
5971 # Check for GNU $ac_path_GREP
5972 case `"$ac_path_GREP" --version 2>&1` in
5973 *GNU*)
5974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5976 ac_count=0
5977 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5978 while :
5980 cat "conftest.in" "conftest.in" >"conftest.tmp"
5981 mv "conftest.tmp" "conftest.in"
5982 cp "conftest.in" "conftest.nl"
5983 echo 'GREP' >> "conftest.nl"
5984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5986 ac_count=`expr $ac_count + 1`
5987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5988 # Best one so far, save it but keep looking for a better one
5989 ac_cv_path_GREP="$ac_path_GREP"
5990 ac_path_GREP_max=$ac_count
5992 # 10*(2^10) chars as input seems more than enough
5993 test $ac_count -gt 10 && break
5994 done
5995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5996 esac
5999 $ac_path_GREP_found && break 3
6000 done
6001 done
6003 done
6004 IFS=$as_save_IFS
6009 GREP="$ac_cv_path_GREP"
6010 if test -z "$GREP"; then
6011 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6012 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6013 { (exit 1); exit 1; }; }
6016 else
6017 ac_cv_path_GREP=$GREP
6022 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6023 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6024 GREP="$ac_cv_path_GREP"
6027 { echo "$as_me:$LINENO: checking for egrep" >&5
6028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6029 if test "${ac_cv_path_EGREP+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6031 else
6032 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6033 then ac_cv_path_EGREP="$GREP -E"
6034 else
6035 # Extract the first word of "egrep" to use in msg output
6036 if test -z "$EGREP"; then
6037 set dummy egrep; ac_prog_name=$2
6038 if test "${ac_cv_path_EGREP+set}" = set; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6040 else
6041 ac_path_EGREP_found=false
6042 # Loop through the user's path and test for each of PROGNAME-LIST
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6046 IFS=$as_save_IFS
6047 test -z "$as_dir" && as_dir=.
6048 for ac_prog in egrep; do
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6051 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6052 # Check for GNU ac_path_EGREP and select it if it is found.
6053 # Check for GNU $ac_path_EGREP
6054 case `"$ac_path_EGREP" --version 2>&1` in
6055 *GNU*)
6056 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6058 ac_count=0
6059 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6060 while :
6062 cat "conftest.in" "conftest.in" >"conftest.tmp"
6063 mv "conftest.tmp" "conftest.in"
6064 cp "conftest.in" "conftest.nl"
6065 echo 'EGREP' >> "conftest.nl"
6066 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6067 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6068 ac_count=`expr $ac_count + 1`
6069 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6070 # Best one so far, save it but keep looking for a better one
6071 ac_cv_path_EGREP="$ac_path_EGREP"
6072 ac_path_EGREP_max=$ac_count
6074 # 10*(2^10) chars as input seems more than enough
6075 test $ac_count -gt 10 && break
6076 done
6077 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6078 esac
6081 $ac_path_EGREP_found && break 3
6082 done
6083 done
6085 done
6086 IFS=$as_save_IFS
6091 EGREP="$ac_cv_path_EGREP"
6092 if test -z "$EGREP"; then
6093 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6094 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6095 { (exit 1); exit 1; }; }
6098 else
6099 ac_cv_path_EGREP=$EGREP
6105 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6106 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6107 EGREP="$ac_cv_path_EGREP"
6110 # Extract the first word of "ldconfig", so it can be a program name with args.
6111 set dummy ldconfig; ac_word=$2
6112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6114 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 else
6117 case $LDCONFIG in
6118 [\\/]* | ?:[\\/]*)
6119 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in /sbin /usr/sbin $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6137 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6139 esac
6141 LDCONFIG=$ac_cv_path_LDCONFIG
6142 if test -n "$LDCONFIG"; then
6143 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6144 echo "${ECHO_T}$LDCONFIG" >&6; }
6145 else
6146 { echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6; }
6151 # Find a good install program. We prefer a C program (faster),
6152 # so one script is as good as another. But avoid the broken or
6153 # incompatible versions:
6154 # SysV /etc/install, /usr/sbin/install
6155 # SunOS /usr/etc/install
6156 # IRIX /sbin/install
6157 # AIX /bin/install
6158 # AmigaOS /C/install, which installs bootblocks on floppy discs
6159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6162 # OS/2's system install, which has a completely different semantic
6163 # ./install, which can be erroneously created by make from ./install.sh.
6164 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6165 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6166 if test -z "$INSTALL"; then
6167 if test "${ac_cv_path_install+set}" = set; then
6168 echo $ECHO_N "(cached) $ECHO_C" >&6
6169 else
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 for as_dir in $PATH
6173 IFS=$as_save_IFS
6174 test -z "$as_dir" && as_dir=.
6175 # Account for people who put trailing slashes in PATH elements.
6176 case $as_dir/ in
6177 ./ | .// | /cC/* | \
6178 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6179 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6180 /usr/ucb/* ) ;;
6182 # OSF1 and SCO ODT 3.0 have their own names for install.
6183 # Don't use installbsd from OSF since it installs stuff as root
6184 # by default.
6185 for ac_prog in ginstall scoinst install; do
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6188 if test $ac_prog = install &&
6189 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6190 # AIX install. It has an incompatible calling convention.
6192 elif test $ac_prog = install &&
6193 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6194 # program-specific install script used by HP pwplus--don't use.
6196 else
6197 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6198 break 3
6201 done
6202 done
6204 esac
6205 done
6206 IFS=$as_save_IFS
6210 if test "${ac_cv_path_install+set}" = set; then
6211 INSTALL=$ac_cv_path_install
6212 else
6213 # As a last resort, use the slow shell script. Don't cache a
6214 # value for INSTALL within a source directory, because that will
6215 # break other packages using the cache if that directory is
6216 # removed, or if the value is a relative name.
6217 INSTALL=$ac_install_sh
6220 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6221 echo "${ECHO_T}$INSTALL" >&6; }
6223 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6224 # It thinks the first close brace ends the variable substitution.
6225 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6227 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6229 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6231 case "$INSTALL" in
6232 [\\/$]* | ?:[\\/]* ) ;;
6233 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6234 esac
6236 for ac_prog in lclint lint
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_LINT+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245 if test -n "$LINT"; then
6246 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_LINT="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6261 IFS=$as_save_IFS
6265 LINT=$ac_cv_prog_LINT
6266 if test -n "$LINT"; then
6267 { echo "$as_me:$LINENO: result: $LINT" >&5
6268 echo "${ECHO_T}$LINT" >&6; }
6269 else
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6275 test -n "$LINT" && break
6276 done
6278 if test "$LINT" = "lint"
6279 then
6280 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6285 for ac_prog in fontforge
6287 # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy $ac_prog; ac_word=$2
6289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6291 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 else
6294 if test -n "$FONTFORGE"; then
6295 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6296 else
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 for as_dir in $PATH
6300 IFS=$as_save_IFS
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_FONTFORGE="$ac_prog"
6305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 break 2
6308 done
6309 done
6310 IFS=$as_save_IFS
6314 FONTFORGE=$ac_cv_prog_FONTFORGE
6315 if test -n "$FONTFORGE"; then
6316 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6317 echo "${ECHO_T}$FONTFORGE" >&6; }
6318 else
6319 { echo "$as_me:$LINENO: result: no" >&5
6320 echo "${ECHO_T}no" >&6; }
6324 test -n "$FONTFORGE" && break
6325 done
6326 test -n "$FONTFORGE" || FONTFORGE="false"
6328 for ac_prog in pkg-config
6330 # Extract the first word of "$ac_prog", so it can be a program name with args.
6331 set dummy $ac_prog; ac_word=$2
6332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6334 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 else
6337 if test -n "$PKG_CONFIG"; then
6338 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6339 else
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347 ac_cv_prog_PKG_CONFIG="$ac_prog"
6348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 break 2
6351 done
6352 done
6353 IFS=$as_save_IFS
6357 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6358 if test -n "$PKG_CONFIG"; then
6359 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6360 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6361 else
6362 { echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6; }
6367 test -n "$PKG_CONFIG" && break
6368 done
6369 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6371 for ac_prog in rsvg
6373 # Extract the first word of "$ac_prog", so it can be a program name with args.
6374 set dummy $ac_prog; ac_word=$2
6375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6377 if test "${ac_cv_prog_RSVG+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 else
6380 if test -n "$RSVG"; then
6381 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6382 else
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 for as_dir in $PATH
6386 IFS=$as_save_IFS
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_prog_RSVG="$ac_prog"
6391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 break 2
6394 done
6395 done
6396 IFS=$as_save_IFS
6400 RSVG=$ac_cv_prog_RSVG
6401 if test -n "$RSVG"; then
6402 { echo "$as_me:$LINENO: result: $RSVG" >&5
6403 echo "${ECHO_T}$RSVG" >&6; }
6404 else
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6410 test -n "$RSVG" && break
6411 done
6412 test -n "$RSVG" || RSVG="false"
6414 for ac_prog in icotool
6416 # Extract the first word of "$ac_prog", so it can be a program name with args.
6417 set dummy $ac_prog; ac_word=$2
6418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6420 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6421 echo $ECHO_N "(cached) $ECHO_C" >&6
6422 else
6423 if test -n "$ICOTOOL"; then
6424 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6425 else
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 for as_dir in $PATH
6429 IFS=$as_save_IFS
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433 ac_cv_prog_ICOTOOL="$ac_prog"
6434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6435 break 2
6437 done
6438 done
6439 IFS=$as_save_IFS
6443 ICOTOOL=$ac_cv_prog_ICOTOOL
6444 if test -n "$ICOTOOL"; then
6445 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6446 echo "${ECHO_T}$ICOTOOL" >&6; }
6447 else
6448 { echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6; }
6453 test -n "$ICOTOOL" && break
6454 done
6455 test -n "$ICOTOOL" || ICOTOOL="false"
6458 if test "${enable_maintainer_mode+set}" = set
6459 then
6460 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6461 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6462 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6465 case $host_cpu in
6466 *i[3456789]86*)
6467 # Extract the first word of "prelink", so it can be a program name with args.
6468 set dummy prelink; ac_word=$2
6469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6471 if test "${ac_cv_path_PRELINK+set}" = set; then
6472 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 else
6474 case $PRELINK in
6475 [\\/]* | ?:[\\/]*)
6476 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 for as_dir in /sbin /usr/sbin $PATH
6482 IFS=$as_save_IFS
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 break 2
6490 done
6491 done
6492 IFS=$as_save_IFS
6494 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6496 esac
6498 PRELINK=$ac_cv_path_PRELINK
6499 if test -n "$PRELINK"; then
6500 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6501 echo "${ECHO_T}$PRELINK" >&6; }
6502 else
6503 { echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6; }
6509 esac
6513 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6514 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6515 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 else
6518 ac_check_lib_save_LIBS=$LIBS
6519 LIBS="-li386 $LIBS"
6520 cat >conftest.$ac_ext <<_ACEOF
6521 /* confdefs.h. */
6522 _ACEOF
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6527 /* Override any GCC internal prototype to avoid an error.
6528 Use char because int might match the return type of a GCC
6529 builtin and then its argument prototype would still apply. */
6530 #ifdef __cplusplus
6531 extern "C"
6532 #endif
6533 char i386_set_ldt ();
6535 main ()
6537 return i386_set_ldt ();
6539 return 0;
6541 _ACEOF
6542 rm -f conftest.$ac_objext conftest$ac_exeext
6543 if { (ac_try="$ac_link"
6544 case "(($ac_try" in
6545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6546 *) ac_try_echo=$ac_try;;
6547 esac
6548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6549 (eval "$ac_link") 2>conftest.er1
6550 ac_status=$?
6551 grep -v '^ *+' conftest.er1 >conftest.err
6552 rm -f conftest.er1
6553 cat conftest.err >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } && {
6556 test -z "$ac_c_werror_flag" ||
6557 test ! -s conftest.err
6558 } && test -s conftest$ac_exeext &&
6559 $as_test_x conftest$ac_exeext; then
6560 ac_cv_lib_i386_i386_set_ldt=yes
6561 else
6562 echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.$ac_ext >&5
6565 ac_cv_lib_i386_i386_set_ldt=no
6568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6569 conftest$ac_exeext conftest.$ac_ext
6570 LIBS=$ac_check_lib_save_LIBS
6572 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6573 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6574 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6575 cat >>confdefs.h <<_ACEOF
6576 #define HAVE_LIBI386 1
6577 _ACEOF
6579 LIBS="-li386 $LIBS"
6584 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6585 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6586 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 else
6589 ac_check_lib_save_LIBS=$LIBS
6590 LIBS="-lossaudio $LIBS"
6591 cat >conftest.$ac_ext <<_ACEOF
6592 /* confdefs.h. */
6593 _ACEOF
6594 cat confdefs.h >>conftest.$ac_ext
6595 cat >>conftest.$ac_ext <<_ACEOF
6596 /* end confdefs.h. */
6598 /* Override any GCC internal prototype to avoid an error.
6599 Use char because int might match the return type of a GCC
6600 builtin and then its argument prototype would still apply. */
6601 #ifdef __cplusplus
6602 extern "C"
6603 #endif
6604 char _oss_ioctl ();
6606 main ()
6608 return _oss_ioctl ();
6610 return 0;
6612 _ACEOF
6613 rm -f conftest.$ac_objext conftest$ac_exeext
6614 if { (ac_try="$ac_link"
6615 case "(($ac_try" in
6616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6617 *) ac_try_echo=$ac_try;;
6618 esac
6619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6620 (eval "$ac_link") 2>conftest.er1
6621 ac_status=$?
6622 grep -v '^ *+' conftest.er1 >conftest.err
6623 rm -f conftest.er1
6624 cat conftest.err >&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } && {
6627 test -z "$ac_c_werror_flag" ||
6628 test ! -s conftest.err
6629 } && test -s conftest$ac_exeext &&
6630 $as_test_x conftest$ac_exeext; then
6631 ac_cv_lib_ossaudio__oss_ioctl=yes
6632 else
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6636 ac_cv_lib_ossaudio__oss_ioctl=no
6639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6640 conftest$ac_exeext conftest.$ac_ext
6641 LIBS=$ac_check_lib_save_LIBS
6643 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6644 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6645 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6646 cat >>confdefs.h <<_ACEOF
6647 #define HAVE_LIBOSSAUDIO 1
6648 _ACEOF
6650 LIBS="-lossaudio $LIBS"
6654 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6655 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6656 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6658 else
6659 ac_check_lib_save_LIBS=$LIBS
6660 LIBS="-lpthread $LIBS"
6661 cat >conftest.$ac_ext <<_ACEOF
6662 /* confdefs.h. */
6663 _ACEOF
6664 cat confdefs.h >>conftest.$ac_ext
6665 cat >>conftest.$ac_ext <<_ACEOF
6666 /* end confdefs.h. */
6668 /* Override any GCC internal prototype to avoid an error.
6669 Use char because int might match the return type of a GCC
6670 builtin and then its argument prototype would still apply. */
6671 #ifdef __cplusplus
6672 extern "C"
6673 #endif
6674 char pthread_create ();
6676 main ()
6678 return pthread_create ();
6680 return 0;
6682 _ACEOF
6683 rm -f conftest.$ac_objext conftest$ac_exeext
6684 if { (ac_try="$ac_link"
6685 case "(($ac_try" in
6686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6687 *) ac_try_echo=$ac_try;;
6688 esac
6689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6690 (eval "$ac_link") 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } && {
6697 test -z "$ac_c_werror_flag" ||
6698 test ! -s conftest.err
6699 } && test -s conftest$ac_exeext &&
6700 $as_test_x conftest$ac_exeext; then
6701 ac_cv_lib_pthread_pthread_create=yes
6702 else
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6706 ac_cv_lib_pthread_pthread_create=no
6709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6710 conftest$ac_exeext conftest.$ac_ext
6711 LIBS=$ac_check_lib_save_LIBS
6713 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6714 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6715 if test $ac_cv_lib_pthread_pthread_create = yes; then
6716 LIBPTHREAD="-lpthread"
6721 XLIB=""
6723 XFILES=""
6725 OPENGLFILES=""
6727 GLU32FILES=""
6729 OPENGL_LIBS=""
6731 QUARTZFILES=""
6735 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6736 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6737 if test "${ac_cv_header_stdc+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 else
6740 cat >conftest.$ac_ext <<_ACEOF
6741 /* confdefs.h. */
6742 _ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6746 #include <stdlib.h>
6747 #include <stdarg.h>
6748 #include <string.h>
6749 #include <float.h>
6752 main ()
6756 return 0;
6758 _ACEOF
6759 rm -f conftest.$ac_objext
6760 if { (ac_try="$ac_compile"
6761 case "(($ac_try" in
6762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763 *) ac_try_echo=$ac_try;;
6764 esac
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_compile") 2>conftest.er1
6767 ac_status=$?
6768 grep -v '^ *+' conftest.er1 >conftest.err
6769 rm -f conftest.er1
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && {
6773 test -z "$ac_c_werror_flag" ||
6774 test ! -s conftest.err
6775 } && test -s conftest.$ac_objext; then
6776 ac_cv_header_stdc=yes
6777 else
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.$ac_ext >&5
6781 ac_cv_header_stdc=no
6784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6786 if test $ac_cv_header_stdc = yes; then
6787 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6788 cat >conftest.$ac_ext <<_ACEOF
6789 /* confdefs.h. */
6790 _ACEOF
6791 cat confdefs.h >>conftest.$ac_ext
6792 cat >>conftest.$ac_ext <<_ACEOF
6793 /* end confdefs.h. */
6794 #include <string.h>
6796 _ACEOF
6797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6798 $EGREP "memchr" >/dev/null 2>&1; then
6800 else
6801 ac_cv_header_stdc=no
6803 rm -f conftest*
6807 if test $ac_cv_header_stdc = yes; then
6808 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6809 cat >conftest.$ac_ext <<_ACEOF
6810 /* confdefs.h. */
6811 _ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6815 #include <stdlib.h>
6817 _ACEOF
6818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6819 $EGREP "free" >/dev/null 2>&1; then
6821 else
6822 ac_cv_header_stdc=no
6824 rm -f conftest*
6828 if test $ac_cv_header_stdc = yes; then
6829 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6830 if test "$cross_compiling" = yes; then
6832 else
6833 cat >conftest.$ac_ext <<_ACEOF
6834 /* confdefs.h. */
6835 _ACEOF
6836 cat confdefs.h >>conftest.$ac_ext
6837 cat >>conftest.$ac_ext <<_ACEOF
6838 /* end confdefs.h. */
6839 #include <ctype.h>
6840 #include <stdlib.h>
6841 #if ((' ' & 0x0FF) == 0x020)
6842 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6843 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6844 #else
6845 # define ISLOWER(c) \
6846 (('a' <= (c) && (c) <= 'i') \
6847 || ('j' <= (c) && (c) <= 'r') \
6848 || ('s' <= (c) && (c) <= 'z'))
6849 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6850 #endif
6852 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6854 main ()
6856 int i;
6857 for (i = 0; i < 256; i++)
6858 if (XOR (islower (i), ISLOWER (i))
6859 || toupper (i) != TOUPPER (i))
6860 return 2;
6861 return 0;
6863 _ACEOF
6864 rm -f conftest$ac_exeext
6865 if { (ac_try="$ac_link"
6866 case "(($ac_try" in
6867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6868 *) ac_try_echo=$ac_try;;
6869 esac
6870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6871 (eval "$ac_link") 2>&5
6872 ac_status=$?
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6875 { (case "(($ac_try" in
6876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6877 *) ac_try_echo=$ac_try;;
6878 esac
6879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6880 (eval "$ac_try") 2>&5
6881 ac_status=$?
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; }; then
6885 else
6886 echo "$as_me: program exited with status $ac_status" >&5
6887 echo "$as_me: failed program was:" >&5
6888 sed 's/^/| /' conftest.$ac_ext >&5
6890 ( exit $ac_status )
6891 ac_cv_header_stdc=no
6893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6899 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6900 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6901 if test $ac_cv_header_stdc = yes; then
6903 cat >>confdefs.h <<\_ACEOF
6904 #define STDC_HEADERS 1
6905 _ACEOF
6909 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6919 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6920 inttypes.h stdint.h unistd.h
6922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6923 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 else
6928 cat >conftest.$ac_ext <<_ACEOF
6929 /* confdefs.h. */
6930 _ACEOF
6931 cat confdefs.h >>conftest.$ac_ext
6932 cat >>conftest.$ac_ext <<_ACEOF
6933 /* end confdefs.h. */
6934 $ac_includes_default
6936 #include <$ac_header>
6937 _ACEOF
6938 rm -f conftest.$ac_objext
6939 if { (ac_try="$ac_compile"
6940 case "(($ac_try" in
6941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6942 *) ac_try_echo=$ac_try;;
6943 esac
6944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6945 (eval "$ac_compile") 2>conftest.er1
6946 ac_status=$?
6947 grep -v '^ *+' conftest.er1 >conftest.err
6948 rm -f conftest.er1
6949 cat conftest.err >&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); } && {
6952 test -z "$ac_c_werror_flag" ||
6953 test ! -s conftest.err
6954 } && test -s conftest.$ac_objext; then
6955 eval "$as_ac_Header=yes"
6956 else
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6960 eval "$as_ac_Header=no"
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6965 ac_res=`eval echo '${'$as_ac_Header'}'`
6966 { echo "$as_me:$LINENO: result: $ac_res" >&5
6967 echo "${ECHO_T}$ac_res" >&6; }
6968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6969 cat >>confdefs.h <<_ACEOF
6970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6971 _ACEOF
6975 done
7092 for ac_header in \
7093 AudioUnit/AudioUnit.h \
7094 Carbon/Carbon.h \
7095 CoreAudio/CoreAudio.h \
7096 DiskArbitration/DiskArbitration.h \
7097 IOKit/IOKitLib.h \
7098 alias.h \
7099 alsa/asoundlib.h \
7100 arpa/inet.h \
7101 arpa/nameser.h \
7102 asm/types.h \
7103 capi20.h \
7104 cups/cups.h \
7105 curses.h \
7106 direct.h \
7107 dlfcn.h \
7108 elf.h \
7109 float.h \
7110 fontconfig/fontconfig.h \
7111 getopt.h \
7112 ieeefp.h \
7113 io.h \
7114 jack/jack.h \
7115 jpeglib.h \
7116 lber.h \
7117 lcms.h \
7118 lcms/lcms.h \
7119 ldap.h \
7120 libaudioio.h \
7121 link.h \
7122 linux/cdrom.h \
7123 linux/compiler.h \
7124 linux/hdreg.h \
7125 linux/input.h \
7126 linux/ioctl.h \
7127 linux/joystick.h \
7128 linux/major.h \
7129 linux/param.h \
7130 linux/serial.h \
7131 linux/ucdrom.h \
7132 mach/mach.h \
7133 mach/machine.h \
7134 machine/cpu.h \
7135 machine/limits.h \
7136 machine/soundcard.h \
7137 mntent.h \
7138 ncurses.h \
7139 netdb.h \
7140 netinet/if_ether.h \
7141 netinet/in.h \
7142 netinet/in_systm.h \
7143 netinet/ip_icmp.h \
7144 netinet/tcp.h \
7145 netinet/tcp_fsm.h \
7146 netinet/udp.h \
7147 openssl/err.h \
7148 openssl/ssl.h \
7149 png.h \
7150 poll.h \
7151 process.h \
7152 pthread.h \
7153 pwd.h \
7154 regex.h \
7155 sched.h \
7156 scsi/scsi.h \
7157 scsi/scsi_ioctl.h \
7158 scsi/sg.h \
7159 soundcard.h \
7160 stdint.h \
7161 strings.h \
7162 sys/asoundlib.h \
7163 sys/cdio.h \
7164 sys/elf32.h \
7165 sys/epoll.h \
7166 sys/errno.h \
7167 sys/event.h \
7168 sys/exec_elf.h \
7169 sys/filio.h \
7170 sys/ioctl.h \
7171 sys/ipc.h \
7172 sys/limits.h \
7173 sys/link.h \
7174 sys/lwp.h \
7175 sys/mman.h \
7176 sys/modem.h \
7177 sys/msg.h \
7178 sys/mtio.h \
7179 sys/param.h \
7180 sys/poll.h \
7181 sys/prctl.h \
7182 sys/ptrace.h \
7183 sys/reg.h \
7184 sys/resource.h \
7185 sys/scsiio.h \
7186 sys/shm.h \
7187 sys/signal.h \
7188 sys/socket.h \
7189 sys/socketvar.h \
7190 sys/sockio.h \
7191 sys/soundcard.h \
7192 sys/statvfs.h \
7193 sys/strtio.h \
7194 sys/syscall.h \
7195 sys/sysctl.h \
7196 sys/time.h \
7197 sys/times.h \
7198 sys/uio.h \
7199 sys/un.h \
7200 sys/vm86.h \
7201 sys/wait.h \
7202 syscall.h \
7203 termios.h \
7204 unistd.h \
7205 utime.h \
7206 valgrind/memcheck.h
7209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7211 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7214 echo $ECHO_N "(cached) $ECHO_C" >&6
7216 ac_res=`eval echo '${'$as_ac_Header'}'`
7217 { echo "$as_me:$LINENO: result: $ac_res" >&5
7218 echo "${ECHO_T}$ac_res" >&6; }
7219 else
7220 # Is the header compilable?
7221 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7223 cat >conftest.$ac_ext <<_ACEOF
7224 /* confdefs.h. */
7225 _ACEOF
7226 cat confdefs.h >>conftest.$ac_ext
7227 cat >>conftest.$ac_ext <<_ACEOF
7228 /* end confdefs.h. */
7229 $ac_includes_default
7230 #include <$ac_header>
7231 _ACEOF
7232 rm -f conftest.$ac_objext
7233 if { (ac_try="$ac_compile"
7234 case "(($ac_try" in
7235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7236 *) ac_try_echo=$ac_try;;
7237 esac
7238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7239 (eval "$ac_compile") 2>conftest.er1
7240 ac_status=$?
7241 grep -v '^ *+' conftest.er1 >conftest.err
7242 rm -f conftest.er1
7243 cat conftest.err >&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); } && {
7246 test -z "$ac_c_werror_flag" ||
7247 test ! -s conftest.err
7248 } && test -s conftest.$ac_objext; then
7249 ac_header_compiler=yes
7250 else
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.$ac_ext >&5
7254 ac_header_compiler=no
7257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7258 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7259 echo "${ECHO_T}$ac_header_compiler" >&6; }
7261 # Is the header present?
7262 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7264 cat >conftest.$ac_ext <<_ACEOF
7265 /* confdefs.h. */
7266 _ACEOF
7267 cat confdefs.h >>conftest.$ac_ext
7268 cat >>conftest.$ac_ext <<_ACEOF
7269 /* end confdefs.h. */
7270 #include <$ac_header>
7271 _ACEOF
7272 if { (ac_try="$ac_cpp conftest.$ac_ext"
7273 case "(($ac_try" in
7274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7275 *) ac_try_echo=$ac_try;;
7276 esac
7277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7279 ac_status=$?
7280 grep -v '^ *+' conftest.er1 >conftest.err
7281 rm -f conftest.er1
7282 cat conftest.err >&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } >/dev/null && {
7285 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7286 test ! -s conftest.err
7287 }; then
7288 ac_header_preproc=yes
7289 else
7290 echo "$as_me: failed program was:" >&5
7291 sed 's/^/| /' conftest.$ac_ext >&5
7293 ac_header_preproc=no
7296 rm -f conftest.err conftest.$ac_ext
7297 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7298 echo "${ECHO_T}$ac_header_preproc" >&6; }
7300 # So? What about this header?
7301 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7302 yes:no: )
7303 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7304 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7305 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7306 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7307 ac_header_preproc=yes
7309 no:yes:* )
7310 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7311 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7312 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7313 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7314 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7315 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7316 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7317 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7319 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7320 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7321 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7322 ( cat <<\_ASBOX
7323 ## ------------------------------------ ##
7324 ## Report this to wine-devel@winehq.org ##
7325 ## ------------------------------------ ##
7326 _ASBOX
7327 ) | sed "s/^/$as_me: WARNING: /" >&2
7329 esac
7330 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7333 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 else
7335 eval "$as_ac_Header=\$ac_header_preproc"
7337 ac_res=`eval echo '${'$as_ac_Header'}'`
7338 { echo "$as_me:$LINENO: result: $ac_res" >&5
7339 echo "${ECHO_T}$ac_res" >&6; }
7342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7343 cat >>confdefs.h <<_ACEOF
7344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7345 _ACEOF
7349 done
7351 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7352 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7353 if test "${ac_cv_header_stat_broken+set}" = set; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 else
7356 cat >conftest.$ac_ext <<_ACEOF
7357 /* confdefs.h. */
7358 _ACEOF
7359 cat confdefs.h >>conftest.$ac_ext
7360 cat >>conftest.$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7362 #include <sys/types.h>
7363 #include <sys/stat.h>
7365 #if defined S_ISBLK && defined S_IFDIR
7366 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7367 #endif
7369 #if defined S_ISBLK && defined S_IFCHR
7370 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7371 #endif
7373 #if defined S_ISLNK && defined S_IFREG
7374 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7375 #endif
7377 #if defined S_ISSOCK && defined S_IFREG
7378 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7379 #endif
7381 _ACEOF
7382 rm -f conftest.$ac_objext
7383 if { (ac_try="$ac_compile"
7384 case "(($ac_try" in
7385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7386 *) ac_try_echo=$ac_try;;
7387 esac
7388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7389 (eval "$ac_compile") 2>conftest.er1
7390 ac_status=$?
7391 grep -v '^ *+' conftest.er1 >conftest.err
7392 rm -f conftest.er1
7393 cat conftest.err >&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } && {
7396 test -z "$ac_c_werror_flag" ||
7397 test ! -s conftest.err
7398 } && test -s conftest.$ac_objext; then
7399 ac_cv_header_stat_broken=no
7400 else
7401 echo "$as_me: failed program was:" >&5
7402 sed 's/^/| /' conftest.$ac_ext >&5
7404 ac_cv_header_stat_broken=yes
7407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7409 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7410 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7411 if test $ac_cv_header_stat_broken = yes; then
7413 cat >>confdefs.h <<\_ACEOF
7414 #define STAT_MACROS_BROKEN 1
7415 _ACEOF
7425 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7432 else
7433 cat >conftest.$ac_ext <<_ACEOF
7434 /* confdefs.h. */
7435 _ACEOF
7436 cat confdefs.h >>conftest.$ac_ext
7437 cat >>conftest.$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7439 #include <sys/types.h>
7440 #ifdef HAVE_SYS_PARAM_H
7441 # include <sys/param.h>
7442 #endif
7444 #include <$ac_header>
7445 _ACEOF
7446 rm -f conftest.$ac_objext
7447 if { (ac_try="$ac_compile"
7448 case "(($ac_try" in
7449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7450 *) ac_try_echo=$ac_try;;
7451 esac
7452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7453 (eval "$ac_compile") 2>conftest.er1
7454 ac_status=$?
7455 grep -v '^ *+' conftest.er1 >conftest.err
7456 rm -f conftest.er1
7457 cat conftest.err >&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); } && {
7460 test -z "$ac_c_werror_flag" ||
7461 test ! -s conftest.err
7462 } && test -s conftest.$ac_objext; then
7463 eval "$as_ac_Header=yes"
7464 else
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.$ac_ext >&5
7468 eval "$as_ac_Header=no"
7471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7473 ac_res=`eval echo '${'$as_ac_Header'}'`
7474 { echo "$as_me:$LINENO: result: $ac_res" >&5
7475 echo "${ECHO_T}$ac_res" >&6; }
7476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7477 cat >>confdefs.h <<_ACEOF
7478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7479 _ACEOF
7483 done
7494 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
7496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7497 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7499 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7500 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 else
7502 cat >conftest.$ac_ext <<_ACEOF
7503 /* confdefs.h. */
7504 _ACEOF
7505 cat confdefs.h >>conftest.$ac_ext
7506 cat >>conftest.$ac_ext <<_ACEOF
7507 /* end confdefs.h. */
7508 #include <sys/types.h>
7509 #ifdef HAVE_SYS_SOCKET_H
7510 # include <sys/socket.h>
7511 #endif
7512 #ifdef HAVE_SYS_SOCKETVAR_H
7513 # include <sys/socketvar.h>
7514 #endif
7515 #ifdef HAVE_NETINET_IN_H
7516 # include <netinet/in.h>
7517 #endif
7519 #include <$ac_header>
7520 _ACEOF
7521 rm -f conftest.$ac_objext
7522 if { (ac_try="$ac_compile"
7523 case "(($ac_try" in
7524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7525 *) ac_try_echo=$ac_try;;
7526 esac
7527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7528 (eval "$ac_compile") 2>conftest.er1
7529 ac_status=$?
7530 grep -v '^ *+' conftest.er1 >conftest.err
7531 rm -f conftest.er1
7532 cat conftest.err >&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); } && {
7535 test -z "$ac_c_werror_flag" ||
7536 test ! -s conftest.err
7537 } && test -s conftest.$ac_objext; then
7538 eval "$as_ac_Header=yes"
7539 else
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.$ac_ext >&5
7543 eval "$as_ac_Header=no"
7546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7548 ac_res=`eval echo '${'$as_ac_Header'}'`
7549 { echo "$as_me:$LINENO: result: $ac_res" >&5
7550 echo "${ECHO_T}$ac_res" >&6; }
7551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7552 cat >>confdefs.h <<_ACEOF
7553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7554 _ACEOF
7558 done
7565 for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_timer.h
7567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7568 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7570 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7571 echo $ECHO_N "(cached) $ECHO_C" >&6
7572 else
7573 cat >conftest.$ac_ext <<_ACEOF
7574 /* confdefs.h. */
7575 _ACEOF
7576 cat confdefs.h >>conftest.$ac_ext
7577 cat >>conftest.$ac_ext <<_ACEOF
7578 /* end confdefs.h. */
7579 #include <sys/types.h>
7580 #ifdef HAVE_ALIAS_H
7581 # include <alias.h>
7582 #endif
7583 #ifdef HAVE_SYS_SOCKET_H
7584 # include <sys/socket.h>
7585 #endif
7586 #ifdef HAVE_SYS_SOCKETVAR_H
7587 # include <sys/socketvar.h>
7588 #endif
7589 #ifdef HAVE_NETINET_IN_H
7590 # include <netinet/in.h>
7591 #endif
7592 #ifdef HAVE_NETINET_IP_VAR_H
7593 # include <netinet/ip_var.h>
7594 #endif
7595 #ifdef HAVE_NETINET_IP_ICMP_H
7596 # include <netinet/ip_icmp.h>
7597 #endif
7598 #ifdef HAVE_NETINET_UDP_H
7599 # include <netinet/udp.h>
7600 #endif
7601 #ifdef HAVE_NETINET_TCP_H
7602 # include <netinet/tcp.h>
7603 #endif
7605 #include <$ac_header>
7606 _ACEOF
7607 rm -f conftest.$ac_objext
7608 if { (ac_try="$ac_compile"
7609 case "(($ac_try" in
7610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7611 *) ac_try_echo=$ac_try;;
7612 esac
7613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7614 (eval "$ac_compile") 2>conftest.er1
7615 ac_status=$?
7616 grep -v '^ *+' conftest.er1 >conftest.err
7617 rm -f conftest.er1
7618 cat conftest.err >&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); } && {
7621 test -z "$ac_c_werror_flag" ||
7622 test ! -s conftest.err
7623 } && test -s conftest.$ac_objext; then
7624 eval "$as_ac_Header=yes"
7625 else
7626 echo "$as_me: failed program was:" >&5
7627 sed 's/^/| /' conftest.$ac_ext >&5
7629 eval "$as_ac_Header=no"
7632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7634 ac_res=`eval echo '${'$as_ac_Header'}'`
7635 { echo "$as_me:$LINENO: result: $ac_res" >&5
7636 echo "${ECHO_T}$ac_res" >&6; }
7637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7638 cat >>confdefs.h <<_ACEOF
7639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7640 _ACEOF
7644 done
7648 for ac_header in linux/ipx.h
7650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7651 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7653 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7654 echo $ECHO_N "(cached) $ECHO_C" >&6
7655 else
7656 cat >conftest.$ac_ext <<_ACEOF
7657 /* confdefs.h. */
7658 _ACEOF
7659 cat confdefs.h >>conftest.$ac_ext
7660 cat >>conftest.$ac_ext <<_ACEOF
7661 /* end confdefs.h. */
7662 #include <sys/types.h>
7663 #ifdef HAVE_ASM_TYPES_H
7664 # include <asm/types.h>
7665 #endif
7666 #ifdef HAVE_SYS_SOCKET_H
7667 # include <sys/socket.h>
7668 #endif
7670 #include <$ac_header>
7671 _ACEOF
7672 rm -f conftest.$ac_objext
7673 if { (ac_try="$ac_compile"
7674 case "(($ac_try" in
7675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7676 *) ac_try_echo=$ac_try;;
7677 esac
7678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7679 (eval "$ac_compile") 2>conftest.er1
7680 ac_status=$?
7681 grep -v '^ *+' conftest.er1 >conftest.err
7682 rm -f conftest.er1
7683 cat conftest.err >&5
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); } && {
7686 test -z "$ac_c_werror_flag" ||
7687 test ! -s conftest.err
7688 } && test -s conftest.$ac_objext; then
7689 eval "$as_ac_Header=yes"
7690 else
7691 echo "$as_me: failed program was:" >&5
7692 sed 's/^/| /' conftest.$ac_ext >&5
7694 eval "$as_ac_Header=no"
7697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7699 ac_res=`eval echo '${'$as_ac_Header'}'`
7700 { echo "$as_me:$LINENO: result: $ac_res" >&5
7701 echo "${ECHO_T}$ac_res" >&6; }
7702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7703 cat >>confdefs.h <<_ACEOF
7704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7705 _ACEOF
7709 done
7713 for ac_header in resolv.h
7715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7716 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7719 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 else
7721 cat >conftest.$ac_ext <<_ACEOF
7722 /* confdefs.h. */
7723 _ACEOF
7724 cat confdefs.h >>conftest.$ac_ext
7725 cat >>conftest.$ac_ext <<_ACEOF
7726 /* end confdefs.h. */
7727 #include <sys/types.h>
7728 #ifdef HAVE_SYS_SOCKET_H
7729 # include <sys/socket.h>
7730 #endif
7731 #ifdef HAVE_NETINET_IN_H
7732 # include <netinet/in.h>
7733 #endif
7734 #ifdef HAVE_ARPA_NAMESER_H
7735 # include <arpa/nameser.h>
7736 #endif
7738 #include <$ac_header>
7739 _ACEOF
7740 rm -f conftest.$ac_objext
7741 if { (ac_try="$ac_compile"
7742 case "(($ac_try" in
7743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7744 *) ac_try_echo=$ac_try;;
7745 esac
7746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7747 (eval "$ac_compile") 2>conftest.er1
7748 ac_status=$?
7749 grep -v '^ *+' conftest.er1 >conftest.err
7750 rm -f conftest.er1
7751 cat conftest.err >&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); } && {
7754 test -z "$ac_c_werror_flag" ||
7755 test ! -s conftest.err
7756 } && test -s conftest.$ac_objext; then
7757 eval "$as_ac_Header=yes"
7758 else
7759 echo "$as_me: failed program was:" >&5
7760 sed 's/^/| /' conftest.$ac_ext >&5
7762 eval "$as_ac_Header=no"
7765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7767 ac_res=`eval echo '${'$as_ac_Header'}'`
7768 { echo "$as_me:$LINENO: result: $ac_res" >&5
7769 echo "${ECHO_T}$ac_res" >&6; }
7770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7771 cat >>confdefs.h <<_ACEOF
7772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7773 _ACEOF
7777 done
7781 for ac_header in ucontext.h
7783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7784 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7787 echo $ECHO_N "(cached) $ECHO_C" >&6
7788 else
7789 cat >conftest.$ac_ext <<_ACEOF
7790 /* confdefs.h. */
7791 _ACEOF
7792 cat confdefs.h >>conftest.$ac_ext
7793 cat >>conftest.$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7795 #include <signal.h>
7797 #include <$ac_header>
7798 _ACEOF
7799 rm -f conftest.$ac_objext
7800 if { (ac_try="$ac_compile"
7801 case "(($ac_try" in
7802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7803 *) ac_try_echo=$ac_try;;
7804 esac
7805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7806 (eval "$ac_compile") 2>conftest.er1
7807 ac_status=$?
7808 grep -v '^ *+' conftest.er1 >conftest.err
7809 rm -f conftest.er1
7810 cat conftest.err >&5
7811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812 (exit $ac_status); } && {
7813 test -z "$ac_c_werror_flag" ||
7814 test ! -s conftest.err
7815 } && test -s conftest.$ac_objext; then
7816 eval "$as_ac_Header=yes"
7817 else
7818 echo "$as_me: failed program was:" >&5
7819 sed 's/^/| /' conftest.$ac_ext >&5
7821 eval "$as_ac_Header=no"
7824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7826 ac_res=`eval echo '${'$as_ac_Header'}'`
7827 { echo "$as_me:$LINENO: result: $ac_res" >&5
7828 echo "${ECHO_T}$ac_res" >&6; }
7829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7830 cat >>confdefs.h <<_ACEOF
7831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7832 _ACEOF
7836 done
7840 for ac_header in sys/thr.h
7842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7843 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 else
7848 cat >conftest.$ac_ext <<_ACEOF
7849 /* confdefs.h. */
7850 _ACEOF
7851 cat confdefs.h >>conftest.$ac_ext
7852 cat >>conftest.$ac_ext <<_ACEOF
7853 /* end confdefs.h. */
7854 #include <sys/types.h>
7855 #ifdef HAVE_UCONTEXT_H
7856 #include <ucontext.h>
7857 #endif
7859 #include <$ac_header>
7860 _ACEOF
7861 rm -f conftest.$ac_objext
7862 if { (ac_try="$ac_compile"
7863 case "(($ac_try" in
7864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7865 *) ac_try_echo=$ac_try;;
7866 esac
7867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7868 (eval "$ac_compile") 2>conftest.er1
7869 ac_status=$?
7870 grep -v '^ *+' conftest.er1 >conftest.err
7871 rm -f conftest.er1
7872 cat conftest.err >&5
7873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 (exit $ac_status); } && {
7875 test -z "$ac_c_werror_flag" ||
7876 test ! -s conftest.err
7877 } && test -s conftest.$ac_objext; then
7878 eval "$as_ac_Header=yes"
7879 else
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.$ac_ext >&5
7883 eval "$as_ac_Header=no"
7886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7888 ac_res=`eval echo '${'$as_ac_Header'}'`
7889 { echo "$as_me:$LINENO: result: $ac_res" >&5
7890 echo "${ECHO_T}$ac_res" >&6; }
7891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7892 cat >>confdefs.h <<_ACEOF
7893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7894 _ACEOF
7898 done
7902 for ac_header in pthread_np.h
7904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7905 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7908 echo $ECHO_N "(cached) $ECHO_C" >&6
7909 else
7910 cat >conftest.$ac_ext <<_ACEOF
7911 /* confdefs.h. */
7912 _ACEOF
7913 cat confdefs.h >>conftest.$ac_ext
7914 cat >>conftest.$ac_ext <<_ACEOF
7915 /* end confdefs.h. */
7916 #ifdef HAVE_PTHREAD_H
7917 #include <pthread.h>
7918 #endif
7920 #include <$ac_header>
7921 _ACEOF
7922 rm -f conftest.$ac_objext
7923 if { (ac_try="$ac_compile"
7924 case "(($ac_try" in
7925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7926 *) ac_try_echo=$ac_try;;
7927 esac
7928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7929 (eval "$ac_compile") 2>conftest.er1
7930 ac_status=$?
7931 grep -v '^ *+' conftest.er1 >conftest.err
7932 rm -f conftest.er1
7933 cat conftest.err >&5
7934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 (exit $ac_status); } && {
7936 test -z "$ac_c_werror_flag" ||
7937 test ! -s conftest.err
7938 } && test -s conftest.$ac_objext; then
7939 eval "$as_ac_Header=yes"
7940 else
7941 echo "$as_me: failed program was:" >&5
7942 sed 's/^/| /' conftest.$ac_ext >&5
7944 eval "$as_ac_Header=no"
7947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7949 ac_res=`eval echo '${'$as_ac_Header'}'`
7950 { echo "$as_me:$LINENO: result: $ac_res" >&5
7951 echo "${ECHO_T}$ac_res" >&6; }
7952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7953 cat >>confdefs.h <<_ACEOF
7954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7955 _ACEOF
7959 done
7963 for ac_header in linux/videodev.h
7965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7966 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7968 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7969 echo $ECHO_N "(cached) $ECHO_C" >&6
7970 else
7971 cat >conftest.$ac_ext <<_ACEOF
7972 /* confdefs.h. */
7973 _ACEOF
7974 cat confdefs.h >>conftest.$ac_ext
7975 cat >>conftest.$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7977 #ifdef HAVE_SYS_TIME_H
7978 #include <sys/time.h>
7979 #endif
7980 #include <sys/types.h>
7981 #ifdef HAVE_ASM_TYPES_H
7982 #include <asm/types.h>
7983 #endif
7985 #include <$ac_header>
7986 _ACEOF
7987 rm -f conftest.$ac_objext
7988 if { (ac_try="$ac_compile"
7989 case "(($ac_try" in
7990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7991 *) ac_try_echo=$ac_try;;
7992 esac
7993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7994 (eval "$ac_compile") 2>conftest.er1
7995 ac_status=$?
7996 grep -v '^ *+' conftest.er1 >conftest.err
7997 rm -f conftest.er1
7998 cat conftest.err >&5
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); } && {
8001 test -z "$ac_c_werror_flag" ||
8002 test ! -s conftest.err
8003 } && test -s conftest.$ac_objext; then
8004 eval "$as_ac_Header=yes"
8005 else
8006 echo "$as_me: failed program was:" >&5
8007 sed 's/^/| /' conftest.$ac_ext >&5
8009 eval "$as_ac_Header=no"
8012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8014 ac_res=`eval echo '${'$as_ac_Header'}'`
8015 { echo "$as_me:$LINENO: result: $ac_res" >&5
8016 echo "${ECHO_T}$ac_res" >&6; }
8017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8018 cat >>confdefs.h <<_ACEOF
8019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8020 _ACEOF
8024 done
8028 for ac_header in linux/capi.h
8030 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8031 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8033 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8034 echo $ECHO_N "(cached) $ECHO_C" >&6
8035 else
8036 cat >conftest.$ac_ext <<_ACEOF
8037 /* confdefs.h. */
8038 _ACEOF
8039 cat confdefs.h >>conftest.$ac_ext
8040 cat >>conftest.$ac_ext <<_ACEOF
8041 /* end confdefs.h. */
8042 #define __user
8044 #include <$ac_header>
8045 _ACEOF
8046 rm -f conftest.$ac_objext
8047 if { (ac_try="$ac_compile"
8048 case "(($ac_try" in
8049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8050 *) ac_try_echo=$ac_try;;
8051 esac
8052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8053 (eval "$ac_compile") 2>conftest.er1
8054 ac_status=$?
8055 grep -v '^ *+' conftest.er1 >conftest.err
8056 rm -f conftest.er1
8057 cat conftest.err >&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); } && {
8060 test -z "$ac_c_werror_flag" ||
8061 test ! -s conftest.err
8062 } && test -s conftest.$ac_objext; then
8063 eval "$as_ac_Header=yes"
8064 else
8065 echo "$as_me: failed program was:" >&5
8066 sed 's/^/| /' conftest.$ac_ext >&5
8068 eval "$as_ac_Header=no"
8071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8073 ac_res=`eval echo '${'$as_ac_Header'}'`
8074 { echo "$as_me:$LINENO: result: $ac_res" >&5
8075 echo "${ECHO_T}$ac_res" >&6; }
8076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8077 cat >>confdefs.h <<_ACEOF
8078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8079 _ACEOF
8083 done
8087 DLLEXT=""
8089 DLLFLAGS="-D_REENTRANT"
8091 LDSHARED=""
8093 LDDLLFLAGS=""
8095 LIBEXT="so"
8097 IMPLIBEXT="def"
8099 LDRPATH_INSTALL=""
8101 LDRPATH_LOCAL=""
8103 # Extract the first word of "ldd", so it can be a program name with args.
8104 set dummy ldd; ac_word=$2
8105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8107 if test "${ac_cv_path_LDD+set}" = set; then
8108 echo $ECHO_N "(cached) $ECHO_C" >&6
8109 else
8110 case $LDD in
8111 [\\/]* | ?:[\\/]*)
8112 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8116 as_dummy="/sbin:/usr/sbin:$PATH"
8117 for as_dir in $as_dummy
8119 IFS=$as_save_IFS
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8123 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8125 break 2
8127 done
8128 done
8129 IFS=$as_save_IFS
8131 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8133 esac
8135 LDD=$ac_cv_path_LDD
8136 if test -n "$LDD"; then
8137 { echo "$as_me:$LINENO: result: $LDD" >&5
8138 echo "${ECHO_T}$LDD" >&6; }
8139 else
8140 { echo "$as_me:$LINENO: result: no" >&5
8141 echo "${ECHO_T}no" >&6; }
8146 case $host_os in
8147 cygwin*|mingw32*)
8148 if test -n "$ac_tool_prefix"; then
8149 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8150 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8153 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8154 echo $ECHO_N "(cached) $ECHO_C" >&6
8155 else
8156 if test -n "$DLLTOOL"; then
8157 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8158 else
8159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8160 for as_dir in $PATH
8162 IFS=$as_save_IFS
8163 test -z "$as_dir" && as_dir=.
8164 for ac_exec_ext in '' $ac_executable_extensions; do
8165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8166 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8168 break 2
8170 done
8171 done
8172 IFS=$as_save_IFS
8176 DLLTOOL=$ac_cv_prog_DLLTOOL
8177 if test -n "$DLLTOOL"; then
8178 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8179 echo "${ECHO_T}$DLLTOOL" >&6; }
8180 else
8181 { echo "$as_me:$LINENO: result: no" >&5
8182 echo "${ECHO_T}no" >&6; }
8187 if test -z "$ac_cv_prog_DLLTOOL"; then
8188 ac_ct_DLLTOOL=$DLLTOOL
8189 # Extract the first word of "dlltool", so it can be a program name with args.
8190 set dummy dlltool; ac_word=$2
8191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8193 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8194 echo $ECHO_N "(cached) $ECHO_C" >&6
8195 else
8196 if test -n "$ac_ct_DLLTOOL"; then
8197 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8198 else
8199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8200 for as_dir in $PATH
8202 IFS=$as_save_IFS
8203 test -z "$as_dir" && as_dir=.
8204 for ac_exec_ext in '' $ac_executable_extensions; do
8205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8206 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8208 break 2
8210 done
8211 done
8212 IFS=$as_save_IFS
8216 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8217 if test -n "$ac_ct_DLLTOOL"; then
8218 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8219 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8220 else
8221 { echo "$as_me:$LINENO: result: no" >&5
8222 echo "${ECHO_T}no" >&6; }
8225 if test "x$ac_ct_DLLTOOL" = x; then
8226 DLLTOOL="false"
8227 else
8228 case $cross_compiling:$ac_tool_warned in
8229 yes:)
8230 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8231 whose name does not start with the host triplet. If you think this
8232 configuration is useful to you, please write to autoconf@gnu.org." >&5
8233 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8234 whose name does not start with the host triplet. If you think this
8235 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8236 ac_tool_warned=yes ;;
8237 esac
8238 DLLTOOL=$ac_ct_DLLTOOL
8240 else
8241 DLLTOOL="$ac_cv_prog_DLLTOOL"
8244 if test -n "$ac_tool_prefix"; then
8245 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8246 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8249 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8250 echo $ECHO_N "(cached) $ECHO_C" >&6
8251 else
8252 if test -n "$DLLWRAP"; then
8253 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8254 else
8255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8256 for as_dir in $PATH
8258 IFS=$as_save_IFS
8259 test -z "$as_dir" && as_dir=.
8260 for ac_exec_ext in '' $ac_executable_extensions; do
8261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8262 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8264 break 2
8266 done
8267 done
8268 IFS=$as_save_IFS
8272 DLLWRAP=$ac_cv_prog_DLLWRAP
8273 if test -n "$DLLWRAP"; then
8274 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8275 echo "${ECHO_T}$DLLWRAP" >&6; }
8276 else
8277 { echo "$as_me:$LINENO: result: no" >&5
8278 echo "${ECHO_T}no" >&6; }
8283 if test -z "$ac_cv_prog_DLLWRAP"; then
8284 ac_ct_DLLWRAP=$DLLWRAP
8285 # Extract the first word of "dllwrap", so it can be a program name with args.
8286 set dummy dllwrap; ac_word=$2
8287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8289 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8290 echo $ECHO_N "(cached) $ECHO_C" >&6
8291 else
8292 if test -n "$ac_ct_DLLWRAP"; then
8293 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8294 else
8295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8296 for as_dir in $PATH
8298 IFS=$as_save_IFS
8299 test -z "$as_dir" && as_dir=.
8300 for ac_exec_ext in '' $ac_executable_extensions; do
8301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8302 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8304 break 2
8306 done
8307 done
8308 IFS=$as_save_IFS
8312 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8313 if test -n "$ac_ct_DLLWRAP"; then
8314 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8315 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8316 else
8317 { echo "$as_me:$LINENO: result: no" >&5
8318 echo "${ECHO_T}no" >&6; }
8321 if test "x$ac_ct_DLLWRAP" = x; then
8322 DLLWRAP="false"
8323 else
8324 case $cross_compiling:$ac_tool_warned in
8325 yes:)
8326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8327 whose name does not start with the host triplet. If you think this
8328 configuration is useful to you, please write to autoconf@gnu.org." >&5
8329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8330 whose name does not start with the host triplet. If you think this
8331 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8332 ac_tool_warned=yes ;;
8333 esac
8334 DLLWRAP=$ac_ct_DLLWRAP
8336 else
8337 DLLWRAP="$ac_cv_prog_DLLWRAP"
8340 if test -n "$ac_tool_prefix"; then
8341 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8342 set dummy ${ac_tool_prefix}ar; ac_word=$2
8343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8345 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 else
8348 if test -n "$MINGWAR"; then
8349 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8350 else
8351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8352 for as_dir in $PATH
8354 IFS=$as_save_IFS
8355 test -z "$as_dir" && as_dir=.
8356 for ac_exec_ext in '' $ac_executable_extensions; do
8357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8358 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8360 break 2
8362 done
8363 done
8364 IFS=$as_save_IFS
8368 MINGWAR=$ac_cv_prog_MINGWAR
8369 if test -n "$MINGWAR"; then
8370 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8371 echo "${ECHO_T}$MINGWAR" >&6; }
8372 else
8373 { echo "$as_me:$LINENO: result: no" >&5
8374 echo "${ECHO_T}no" >&6; }
8379 if test -z "$ac_cv_prog_MINGWAR"; then
8380 ac_ct_MINGWAR=$MINGWAR
8381 # Extract the first word of "ar", so it can be a program name with args.
8382 set dummy ar; ac_word=$2
8383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8385 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8386 echo $ECHO_N "(cached) $ECHO_C" >&6
8387 else
8388 if test -n "$ac_ct_MINGWAR"; then
8389 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8390 else
8391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8392 for as_dir in $PATH
8394 IFS=$as_save_IFS
8395 test -z "$as_dir" && as_dir=.
8396 for ac_exec_ext in '' $ac_executable_extensions; do
8397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8398 ac_cv_prog_ac_ct_MINGWAR="ar"
8399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8400 break 2
8402 done
8403 done
8404 IFS=$as_save_IFS
8408 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8409 if test -n "$ac_ct_MINGWAR"; then
8410 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8411 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8412 else
8413 { echo "$as_me:$LINENO: result: no" >&5
8414 echo "${ECHO_T}no" >&6; }
8417 if test "x$ac_ct_MINGWAR" = x; then
8418 MINGWAR="false"
8419 else
8420 case $cross_compiling:$ac_tool_warned in
8421 yes:)
8422 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8423 whose name does not start with the host triplet. If you think this
8424 configuration is useful to you, please write to autoconf@gnu.org." >&5
8425 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8426 whose name does not start with the host triplet. If you think this
8427 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8428 ac_tool_warned=yes ;;
8429 esac
8430 MINGWAR=$ac_ct_MINGWAR
8432 else
8433 MINGWAR="$ac_cv_prog_MINGWAR"
8436 if test "$DLLWRAP" = "false"; then
8437 LIBEXT="a"
8438 else
8439 LIBEXT="dll"
8441 IMPLIBEXT="a"
8442 WIN16_FILES=""
8443 WIN16_INSTALL=""
8445 darwin*|macosx*)
8446 DLLEXT=".so"
8447 LIBEXT="dylib"
8448 DLLFLAGS="$DLLFLAGS -fPIC"
8449 LDDLLFLAGS="-bundle -multiply_defined suppress"
8450 LIBWINE_LDFLAGS="-multiply_defined suppress"
8451 LDSHARED="\$(CC) -dynamiclib"
8452 STRIP="$STRIP -x"
8453 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8454 SECURITYLIB="-framework Security -framework CoreFoundation"
8456 COREFOUNDATIONLIB="-framework CoreFoundation"
8458 IOKITLIB="-framework IOKit -framework CoreFoundation"
8460 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8462 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8463 then
8464 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8467 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8468 then
8469 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8472 case $host_cpu in
8473 *powerpc*)
8474 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8475 esac
8476 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8477 then
8478 CARBONLIB="-framework Carbon"
8480 QUARTZFILES='$(QUARTZFILES)'
8484 DLLFLAGS="$DLLFLAGS -fPIC"
8485 DLLEXT=".so"
8486 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8487 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8488 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8490 else
8491 ac_wine_try_cflags_saved=$CFLAGS
8492 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8493 cat >conftest.$ac_ext <<_ACEOF
8494 void myfunc() {}
8495 _ACEOF
8496 rm -f conftest.$ac_objext conftest$ac_exeext
8497 if { (ac_try="$ac_link"
8498 case "(($ac_try" in
8499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8500 *) ac_try_echo=$ac_try;;
8501 esac
8502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8503 (eval "$ac_link") 2>conftest.er1
8504 ac_status=$?
8505 grep -v '^ *+' conftest.er1 >conftest.err
8506 rm -f conftest.er1
8507 cat conftest.err >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); } && {
8510 test -z "$ac_c_werror_flag" ||
8511 test ! -s conftest.err
8512 } && test -s conftest$ac_exeext &&
8513 $as_test_x conftest$ac_exeext; then
8514 ac_cv_c_dll_gnuelf="yes"
8515 else
8516 echo "$as_me: failed program was:" >&5
8517 sed 's/^/| /' conftest.$ac_ext >&5
8519 ac_cv_c_dll_gnuelf="no"
8522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8523 conftest$ac_exeext conftest.$ac_ext
8524 CFLAGS=$ac_wine_try_cflags_saved
8526 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8527 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8528 if test "$ac_cv_c_dll_gnuelf" = "yes"
8529 then
8530 LDSHARED="\$(CC) -shared"
8531 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8532 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8533 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8534 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8535 echo $ECHO_N "(cached) $ECHO_C" >&6
8536 else
8537 ac_wine_try_cflags_saved=$CFLAGS
8538 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8539 cat >conftest.$ac_ext <<_ACEOF
8540 /* confdefs.h. */
8541 _ACEOF
8542 cat confdefs.h >>conftest.$ac_ext
8543 cat >>conftest.$ac_ext <<_ACEOF
8544 /* end confdefs.h. */
8547 main ()
8551 return 0;
8553 _ACEOF
8554 rm -f conftest.$ac_objext conftest$ac_exeext
8555 if { (ac_try="$ac_link"
8556 case "(($ac_try" in
8557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8558 *) ac_try_echo=$ac_try;;
8559 esac
8560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8561 (eval "$ac_link") 2>conftest.er1
8562 ac_status=$?
8563 grep -v '^ *+' conftest.er1 >conftest.err
8564 rm -f conftest.er1
8565 cat conftest.err >&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); } && {
8568 test -z "$ac_c_werror_flag" ||
8569 test ! -s conftest.err
8570 } && test -s conftest$ac_exeext &&
8571 $as_test_x conftest$ac_exeext; then
8572 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8573 else
8574 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.$ac_ext >&5
8577 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8581 conftest$ac_exeext conftest.$ac_ext
8582 CFLAGS=$ac_wine_try_cflags_saved
8584 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8585 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8586 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8587 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8588 else
8589 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8590 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8591 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8592 echo $ECHO_N "(cached) $ECHO_C" >&6
8593 else
8594 ac_wine_try_cflags_saved=$CFLAGS
8595 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8596 cat >conftest.$ac_ext <<_ACEOF
8597 /* confdefs.h. */
8598 _ACEOF
8599 cat confdefs.h >>conftest.$ac_ext
8600 cat >>conftest.$ac_ext <<_ACEOF
8601 /* end confdefs.h. */
8604 main ()
8608 return 0;
8610 _ACEOF
8611 rm -f conftest.$ac_objext conftest$ac_exeext
8612 if { (ac_try="$ac_link"
8613 case "(($ac_try" in
8614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8615 *) ac_try_echo=$ac_try;;
8616 esac
8617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8618 (eval "$ac_link") 2>conftest.er1
8619 ac_status=$?
8620 grep -v '^ *+' conftest.er1 >conftest.err
8621 rm -f conftest.er1
8622 cat conftest.err >&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); } && {
8625 test -z "$ac_c_werror_flag" ||
8626 test ! -s conftest.err
8627 } && test -s conftest$ac_exeext &&
8628 $as_test_x conftest$ac_exeext; then
8629 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8630 else
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8634 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8638 conftest$ac_exeext conftest.$ac_ext
8639 CFLAGS=$ac_wine_try_cflags_saved
8641 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8642 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8643 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8644 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8650 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8651 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8652 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8653 echo $ECHO_N "(cached) $ECHO_C" >&6
8654 else
8655 ac_wine_try_cflags_saved=$CFLAGS
8656 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8657 cat >conftest.$ac_ext <<_ACEOF
8658 /* confdefs.h. */
8659 _ACEOF
8660 cat confdefs.h >>conftest.$ac_ext
8661 cat >>conftest.$ac_ext <<_ACEOF
8662 /* end confdefs.h. */
8665 main ()
8669 return 0;
8671 _ACEOF
8672 rm -f conftest.$ac_objext conftest$ac_exeext
8673 if { (ac_try="$ac_link"
8674 case "(($ac_try" in
8675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8676 *) ac_try_echo=$ac_try;;
8677 esac
8678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8679 (eval "$ac_link") 2>conftest.er1
8680 ac_status=$?
8681 grep -v '^ *+' conftest.er1 >conftest.err
8682 rm -f conftest.er1
8683 cat conftest.err >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); } && {
8686 test -z "$ac_c_werror_flag" ||
8687 test ! -s conftest.err
8688 } && test -s conftest$ac_exeext &&
8689 $as_test_x conftest$ac_exeext; then
8690 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8691 else
8692 echo "$as_me: failed program was:" >&5
8693 sed 's/^/| /' conftest.$ac_ext >&5
8695 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8699 conftest$ac_exeext conftest.$ac_ext
8700 CFLAGS=$ac_wine_try_cflags_saved
8702 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8703 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8704 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8705 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8709 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8710 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8711 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8712 echo $ECHO_N "(cached) $ECHO_C" >&6
8713 else
8714 ac_wine_try_cflags_saved=$CFLAGS
8715 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8716 cat >conftest.$ac_ext <<_ACEOF
8717 /* confdefs.h. */
8718 _ACEOF
8719 cat confdefs.h >>conftest.$ac_ext
8720 cat >>conftest.$ac_ext <<_ACEOF
8721 /* end confdefs.h. */
8724 main ()
8728 return 0;
8730 _ACEOF
8731 rm -f conftest.$ac_objext conftest$ac_exeext
8732 if { (ac_try="$ac_link"
8733 case "(($ac_try" in
8734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8735 *) ac_try_echo=$ac_try;;
8736 esac
8737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8738 (eval "$ac_link") 2>conftest.er1
8739 ac_status=$?
8740 grep -v '^ *+' conftest.er1 >conftest.err
8741 rm -f conftest.er1
8742 cat conftest.err >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); } && {
8745 test -z "$ac_c_werror_flag" ||
8746 test ! -s conftest.err
8747 } && test -s conftest$ac_exeext &&
8748 $as_test_x conftest$ac_exeext; then
8749 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8750 else
8751 echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.$ac_ext >&5
8754 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8758 conftest$ac_exeext conftest.$ac_ext
8759 CFLAGS=$ac_wine_try_cflags_saved
8761 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8762 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8763 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8764 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8768 echo '{ global: *; };' >conftest.map
8769 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8770 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8771 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8772 echo $ECHO_N "(cached) $ECHO_C" >&6
8773 else
8774 ac_wine_try_cflags_saved=$CFLAGS
8775 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8776 cat >conftest.$ac_ext <<_ACEOF
8777 /* confdefs.h. */
8778 _ACEOF
8779 cat confdefs.h >>conftest.$ac_ext
8780 cat >>conftest.$ac_ext <<_ACEOF
8781 /* end confdefs.h. */
8784 main ()
8788 return 0;
8790 _ACEOF
8791 rm -f conftest.$ac_objext conftest$ac_exeext
8792 if { (ac_try="$ac_link"
8793 case "(($ac_try" in
8794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8795 *) ac_try_echo=$ac_try;;
8796 esac
8797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8798 (eval "$ac_link") 2>conftest.er1
8799 ac_status=$?
8800 grep -v '^ *+' conftest.er1 >conftest.err
8801 rm -f conftest.er1
8802 cat conftest.err >&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); } && {
8805 test -z "$ac_c_werror_flag" ||
8806 test ! -s conftest.err
8807 } && test -s conftest$ac_exeext &&
8808 $as_test_x conftest$ac_exeext; then
8809 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8810 else
8811 echo "$as_me: failed program was:" >&5
8812 sed 's/^/| /' conftest.$ac_ext >&5
8814 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8818 conftest$ac_exeext conftest.$ac_ext
8819 CFLAGS=$ac_wine_try_cflags_saved
8821 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8822 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8823 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8824 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8827 rm -f conftest.map
8829 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8830 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8831 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8832 echo $ECHO_N "(cached) $ECHO_C" >&6
8833 else
8834 ac_wine_try_cflags_saved=$CFLAGS
8835 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8836 cat >conftest.$ac_ext <<_ACEOF
8837 /* confdefs.h. */
8838 _ACEOF
8839 cat confdefs.h >>conftest.$ac_ext
8840 cat >>conftest.$ac_ext <<_ACEOF
8841 /* end confdefs.h. */
8844 main ()
8848 return 0;
8850 _ACEOF
8851 rm -f conftest.$ac_objext conftest$ac_exeext
8852 if { (ac_try="$ac_link"
8853 case "(($ac_try" in
8854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8855 *) ac_try_echo=$ac_try;;
8856 esac
8857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8858 (eval "$ac_link") 2>conftest.er1
8859 ac_status=$?
8860 grep -v '^ *+' conftest.er1 >conftest.err
8861 rm -f conftest.er1
8862 cat conftest.err >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } && {
8865 test -z "$ac_c_werror_flag" ||
8866 test ! -s conftest.err
8867 } && test -s conftest$ac_exeext &&
8868 $as_test_x conftest$ac_exeext; then
8869 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8870 else
8871 echo "$as_me: failed program was:" >&5
8872 sed 's/^/| /' conftest.$ac_ext >&5
8874 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8878 conftest$ac_exeext conftest.$ac_ext
8879 CFLAGS=$ac_wine_try_cflags_saved
8881 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8882 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8883 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8884 LDEXECFLAGS="-Wl,--export-dynamic"
8889 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8890 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8891 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8893 echo $ECHO_N "(cached) $ECHO_C" >&6
8894 else
8895 ac_wine_try_cflags_saved=$CFLAGS
8896 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8897 cat >conftest.$ac_ext <<_ACEOF
8898 /* confdefs.h. */
8899 _ACEOF
8900 cat confdefs.h >>conftest.$ac_ext
8901 cat >>conftest.$ac_ext <<_ACEOF
8902 /* end confdefs.h. */
8905 main ()
8909 return 0;
8911 _ACEOF
8912 rm -f conftest.$ac_objext conftest$ac_exeext
8913 if { (ac_try="$ac_link"
8914 case "(($ac_try" in
8915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8916 *) ac_try_echo=$ac_try;;
8917 esac
8918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8919 (eval "$ac_link") 2>conftest.er1
8920 ac_status=$?
8921 grep -v '^ *+' conftest.er1 >conftest.err
8922 rm -f conftest.er1
8923 cat conftest.err >&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); } && {
8926 test -z "$ac_c_werror_flag" ||
8927 test ! -s conftest.err
8928 } && test -s conftest$ac_exeext &&
8929 $as_test_x conftest$ac_exeext; then
8930 eval "$as_ac_var=yes"
8931 else
8932 echo "$as_me: failed program was:" >&5
8933 sed 's/^/| /' conftest.$ac_ext >&5
8935 eval "$as_ac_var=no"
8938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8939 conftest$ac_exeext conftest.$ac_ext
8940 CFLAGS=$ac_wine_try_cflags_saved
8942 ac_res=`eval echo '${'$as_ac_var'}'`
8943 { echo "$as_me:$LINENO: result: $ac_res" >&5
8944 echo "${ECHO_T}$ac_res" >&6; }
8945 if test `eval echo '${'$as_ac_var'}'` = yes; then
8946 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8947 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8948 else
8949 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8950 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8951 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8952 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8953 echo $ECHO_N "(cached) $ECHO_C" >&6
8954 else
8955 ac_wine_try_cflags_saved=$CFLAGS
8956 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8957 cat >conftest.$ac_ext <<_ACEOF
8958 /* confdefs.h. */
8959 _ACEOF
8960 cat confdefs.h >>conftest.$ac_ext
8961 cat >>conftest.$ac_ext <<_ACEOF
8962 /* end confdefs.h. */
8965 main ()
8969 return 0;
8971 _ACEOF
8972 rm -f conftest.$ac_objext conftest$ac_exeext
8973 if { (ac_try="$ac_link"
8974 case "(($ac_try" in
8975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8976 *) ac_try_echo=$ac_try;;
8977 esac
8978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8979 (eval "$ac_link") 2>conftest.er1
8980 ac_status=$?
8981 grep -v '^ *+' conftest.er1 >conftest.err
8982 rm -f conftest.er1
8983 cat conftest.err >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); } && {
8986 test -z "$ac_c_werror_flag" ||
8987 test ! -s conftest.err
8988 } && test -s conftest$ac_exeext &&
8989 $as_test_x conftest$ac_exeext; then
8990 eval "$as_ac_var=yes"
8991 else
8992 echo "$as_me: failed program was:" >&5
8993 sed 's/^/| /' conftest.$ac_ext >&5
8995 eval "$as_ac_var=no"
8998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8999 conftest$ac_exeext conftest.$ac_ext
9000 CFLAGS=$ac_wine_try_cflags_saved
9002 ac_res=`eval echo '${'$as_ac_var'}'`
9003 { echo "$as_me:$LINENO: result: $ac_res" >&5
9004 echo "${ECHO_T}$ac_res" >&6; }
9005 if test `eval echo '${'$as_ac_var'}'` = yes; then
9006 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9007 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9013 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9014 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9015 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9016 echo $ECHO_N "(cached) $ECHO_C" >&6
9017 else
9018 ac_wine_try_cflags_saved=$CFLAGS
9019 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9020 cat >conftest.$ac_ext <<_ACEOF
9021 /* confdefs.h. */
9022 _ACEOF
9023 cat confdefs.h >>conftest.$ac_ext
9024 cat >>conftest.$ac_ext <<_ACEOF
9025 /* end confdefs.h. */
9028 main ()
9032 return 0;
9034 _ACEOF
9035 rm -f conftest.$ac_objext conftest$ac_exeext
9036 if { (ac_try="$ac_link"
9037 case "(($ac_try" in
9038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9039 *) ac_try_echo=$ac_try;;
9040 esac
9041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9042 (eval "$ac_link") 2>conftest.er1
9043 ac_status=$?
9044 grep -v '^ *+' conftest.er1 >conftest.err
9045 rm -f conftest.er1
9046 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && {
9049 test -z "$ac_c_werror_flag" ||
9050 test ! -s conftest.err
9051 } && test -s conftest$ac_exeext &&
9052 $as_test_x conftest$ac_exeext; then
9053 ac_cv_cflags__Wl___enable_new_dtags=yes
9054 else
9055 echo "$as_me: failed program was:" >&5
9056 sed 's/^/| /' conftest.$ac_ext >&5
9058 ac_cv_cflags__Wl___enable_new_dtags=no
9061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9062 conftest$ac_exeext conftest.$ac_ext
9063 CFLAGS=$ac_wine_try_cflags_saved
9065 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9066 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9067 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9068 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9072 case $host_cpu in
9073 *i[3456789]86* | x86_64)
9074 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9075 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9076 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9077 echo $ECHO_N "(cached) $ECHO_C" >&6
9078 else
9079 ac_wine_try_cflags_saved=$CFLAGS
9080 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9081 cat >conftest.$ac_ext <<_ACEOF
9082 /* confdefs.h. */
9083 _ACEOF
9084 cat confdefs.h >>conftest.$ac_ext
9085 cat >>conftest.$ac_ext <<_ACEOF
9086 /* end confdefs.h. */
9089 main ()
9093 return 0;
9095 _ACEOF
9096 rm -f conftest.$ac_objext conftest$ac_exeext
9097 if { (ac_try="$ac_link"
9098 case "(($ac_try" in
9099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9100 *) ac_try_echo=$ac_try;;
9101 esac
9102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9103 (eval "$ac_link") 2>conftest.er1
9104 ac_status=$?
9105 grep -v '^ *+' conftest.er1 >conftest.err
9106 rm -f conftest.er1
9107 cat conftest.err >&5
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9109 (exit $ac_status); } && {
9110 test -z "$ac_c_werror_flag" ||
9111 test ! -s conftest.err
9112 } && test -s conftest$ac_exeext &&
9113 $as_test_x conftest$ac_exeext; then
9114 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9115 else
9116 echo "$as_me: failed program was:" >&5
9117 sed 's/^/| /' conftest.$ac_ext >&5
9119 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9123 conftest$ac_exeext conftest.$ac_ext
9124 CFLAGS=$ac_wine_try_cflags_saved
9126 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9127 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9128 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9129 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9133 esac
9135 else
9136 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9137 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9138 if test "${ac_cv_c_dll_unixware+set}" = set; then
9139 echo $ECHO_N "(cached) $ECHO_C" >&6
9140 else
9141 ac_wine_try_cflags_saved=$CFLAGS
9142 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9143 cat >conftest.$ac_ext <<_ACEOF
9144 void myfunc() {}
9145 _ACEOF
9146 rm -f conftest.$ac_objext conftest$ac_exeext
9147 if { (ac_try="$ac_link"
9148 case "(($ac_try" in
9149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9150 *) ac_try_echo=$ac_try;;
9151 esac
9152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9153 (eval "$ac_link") 2>conftest.er1
9154 ac_status=$?
9155 grep -v '^ *+' conftest.er1 >conftest.err
9156 rm -f conftest.er1
9157 cat conftest.err >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); } && {
9160 test -z "$ac_c_werror_flag" ||
9161 test ! -s conftest.err
9162 } && test -s conftest$ac_exeext &&
9163 $as_test_x conftest$ac_exeext; then
9164 ac_cv_c_dll_unixware="yes"
9165 else
9166 echo "$as_me: failed program was:" >&5
9167 sed 's/^/| /' conftest.$ac_ext >&5
9169 ac_cv_c_dll_unixware="no"
9172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9173 conftest$ac_exeext conftest.$ac_ext
9174 CFLAGS=$ac_wine_try_cflags_saved
9176 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9177 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9178 if test "$ac_cv_c_dll_unixware" = "yes"
9179 then
9180 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9181 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9183 else
9184 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9185 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9186 if test "${ac_cv_c_dll_hpux+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9188 else
9189 ac_wine_try_cflags_saved=$CFLAGS
9190 CFLAGS="$CFLAGS -shared"
9191 cat >conftest.$ac_ext <<_ACEOF
9192 void myfunc() {}
9193 _ACEOF
9194 rm -f conftest.$ac_objext conftest$ac_exeext
9195 if { (ac_try="$ac_link"
9196 case "(($ac_try" in
9197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9198 *) ac_try_echo=$ac_try;;
9199 esac
9200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9201 (eval "$ac_link") 2>conftest.er1
9202 ac_status=$?
9203 grep -v '^ *+' conftest.er1 >conftest.err
9204 rm -f conftest.er1
9205 cat conftest.err >&5
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9207 (exit $ac_status); } && {
9208 test -z "$ac_c_werror_flag" ||
9209 test ! -s conftest.err
9210 } && test -s conftest$ac_exeext &&
9211 $as_test_x conftest$ac_exeext; then
9212 ac_cv_c_dll_hpux="yes"
9213 else
9214 echo "$as_me: failed program was:" >&5
9215 sed 's/^/| /' conftest.$ac_ext >&5
9217 ac_cv_c_dll_hpux="no"
9220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9221 conftest$ac_exeext conftest.$ac_ext
9222 CFLAGS=$ac_wine_try_cflags_saved
9224 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9225 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9226 if test "$ac_cv_c_dll_hpux" = "yes"
9227 then
9228 LIBEXT="sl"
9229 DLLEXT=".sl"
9230 LDDLLFLAGS="-shared -fPIC"
9231 LDSHARED="\$(CC) -shared"
9236 CROSSTEST=""
9238 if test "$cross_compiling" = "no"
9239 then
9240 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9242 # Extract the first word of "$ac_prog", so it can be a program name with args.
9243 set dummy $ac_prog; ac_word=$2
9244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9246 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9247 echo $ECHO_N "(cached) $ECHO_C" >&6
9248 else
9249 if test -n "$CROSSCC"; then
9250 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9251 else
9252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9253 for as_dir in $PATH
9255 IFS=$as_save_IFS
9256 test -z "$as_dir" && as_dir=.
9257 for ac_exec_ext in '' $ac_executable_extensions; do
9258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9259 ac_cv_prog_CROSSCC="$ac_prog"
9260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9261 break 2
9263 done
9264 done
9265 IFS=$as_save_IFS
9269 CROSSCC=$ac_cv_prog_CROSSCC
9270 if test -n "$CROSSCC"; then
9271 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9272 echo "${ECHO_T}$CROSSCC" >&6; }
9273 else
9274 { echo "$as_me:$LINENO: result: no" >&5
9275 echo "${ECHO_T}no" >&6; }
9279 test -n "$CROSSCC" && break
9280 done
9281 test -n "$CROSSCC" || CROSSCC="false"
9283 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9285 # Extract the first word of "$ac_prog", so it can be a program name with args.
9286 set dummy $ac_prog; ac_word=$2
9287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9289 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9290 echo $ECHO_N "(cached) $ECHO_C" >&6
9291 else
9292 if test -n "$DLLTOOL"; then
9293 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9294 else
9295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9296 for as_dir in $PATH
9298 IFS=$as_save_IFS
9299 test -z "$as_dir" && as_dir=.
9300 for ac_exec_ext in '' $ac_executable_extensions; do
9301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9302 ac_cv_prog_DLLTOOL="$ac_prog"
9303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9304 break 2
9306 done
9307 done
9308 IFS=$as_save_IFS
9312 DLLTOOL=$ac_cv_prog_DLLTOOL
9313 if test -n "$DLLTOOL"; then
9314 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9315 echo "${ECHO_T}$DLLTOOL" >&6; }
9316 else
9317 { echo "$as_me:$LINENO: result: no" >&5
9318 echo "${ECHO_T}no" >&6; }
9322 test -n "$DLLTOOL" && break
9323 done
9324 test -n "$DLLTOOL" || DLLTOOL="false"
9326 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9328 # Extract the first word of "$ac_prog", so it can be a program name with args.
9329 set dummy $ac_prog; ac_word=$2
9330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9332 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9333 echo $ECHO_N "(cached) $ECHO_C" >&6
9334 else
9335 if test -n "$CROSSWINDRES"; then
9336 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9337 else
9338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9339 for as_dir in $PATH
9341 IFS=$as_save_IFS
9342 test -z "$as_dir" && as_dir=.
9343 for ac_exec_ext in '' $ac_executable_extensions; do
9344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9345 ac_cv_prog_CROSSWINDRES="$ac_prog"
9346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9347 break 2
9349 done
9350 done
9351 IFS=$as_save_IFS
9355 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9356 if test -n "$CROSSWINDRES"; then
9357 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9358 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9359 else
9360 { echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6; }
9365 test -n "$CROSSWINDRES" && break
9366 done
9367 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9369 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9371 # Extract the first word of "$ac_prog", so it can be a program name with args.
9372 set dummy $ac_prog; ac_word=$2
9373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9375 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9377 else
9378 if test -n "$MINGWAR"; then
9379 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9380 else
9381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9382 for as_dir in $PATH
9384 IFS=$as_save_IFS
9385 test -z "$as_dir" && as_dir=.
9386 for ac_exec_ext in '' $ac_executable_extensions; do
9387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9388 ac_cv_prog_MINGWAR="$ac_prog"
9389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9390 break 2
9392 done
9393 done
9394 IFS=$as_save_IFS
9398 MINGWAR=$ac_cv_prog_MINGWAR
9399 if test -n "$MINGWAR"; then
9400 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9401 echo "${ECHO_T}$MINGWAR" >&6; }
9402 else
9403 { echo "$as_me:$LINENO: result: no" >&5
9404 echo "${ECHO_T}no" >&6; }
9408 test -n "$MINGWAR" && break
9409 done
9410 test -n "$MINGWAR" || MINGWAR="false"
9412 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9415 esac
9417 if test "$LIBEXT" = "a"; then
9418 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9419 It is currently not possible to build Wine without shared library
9420 (.so) support to allow transparent switch between .so and .dll files.
9421 If you are using Linux, you will need a newer binutils.
9422 " >&5
9423 echo "$as_me: error: could not find a way to build shared libraries.
9424 It is currently not possible to build Wine without shared library
9425 (.so) support to allow transparent switch between .so and .dll files.
9426 If you are using Linux, you will need a newer binutils.
9427 " >&2;}
9428 { (exit 1); exit 1; }; }
9432 if test "$have_x" = "yes"
9433 then
9434 XLIB="-lXext -lX11"
9435 ac_save_CPPFLAGS="$CPPFLAGS"
9436 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9438 { echo "$as_me:$LINENO: checking for -lX11" >&5
9439 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9440 if test "${ac_cv_lib_soname_X11+set}" = set; then
9441 echo $ECHO_N "(cached) $ECHO_C" >&6
9442 else
9443 ac_check_soname_save_LIBS=$LIBS
9444 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9445 cat >conftest.$ac_ext <<_ACEOF
9446 /* confdefs.h. */
9447 _ACEOF
9448 cat confdefs.h >>conftest.$ac_ext
9449 cat >>conftest.$ac_ext <<_ACEOF
9450 /* end confdefs.h. */
9452 /* Override any GCC internal prototype to avoid an error.
9453 Use char because int might match the return type of a GCC
9454 builtin and then its argument prototype would still apply. */
9455 #ifdef __cplusplus
9456 extern "C"
9457 #endif
9458 char XCreateWindow ();
9460 main ()
9462 return XCreateWindow ();
9464 return 0;
9466 _ACEOF
9467 rm -f conftest.$ac_objext conftest$ac_exeext
9468 if { (ac_try="$ac_link"
9469 case "(($ac_try" in
9470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9471 *) ac_try_echo=$ac_try;;
9472 esac
9473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9474 (eval "$ac_link") 2>conftest.er1
9475 ac_status=$?
9476 grep -v '^ *+' conftest.er1 >conftest.err
9477 rm -f conftest.er1
9478 cat conftest.err >&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); } && {
9481 test -z "$ac_c_werror_flag" ||
9482 test ! -s conftest.err
9483 } && test -s conftest$ac_exeext &&
9484 $as_test_x conftest$ac_exeext; then
9485 case "$LIBEXT" in
9486 dll) ;;
9487 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'` ;;
9488 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9489 esac
9490 else
9491 echo "$as_me: failed program was:" >&5
9492 sed 's/^/| /' conftest.$ac_ext >&5
9497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9498 conftest$ac_exeext conftest.$ac_ext
9499 LIBS=$ac_check_soname_save_LIBS
9501 if test "x$ac_cv_lib_soname_X11" = "x"; then
9502 { echo "$as_me:$LINENO: result: not found" >&5
9503 echo "${ECHO_T}not found" >&6; }
9505 else
9506 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9507 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9509 cat >>confdefs.h <<_ACEOF
9510 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9511 _ACEOF
9516 { echo "$as_me:$LINENO: checking for -lXext" >&5
9517 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9518 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9519 echo $ECHO_N "(cached) $ECHO_C" >&6
9520 else
9521 ac_check_soname_save_LIBS=$LIBS
9522 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9523 cat >conftest.$ac_ext <<_ACEOF
9524 /* confdefs.h. */
9525 _ACEOF
9526 cat confdefs.h >>conftest.$ac_ext
9527 cat >>conftest.$ac_ext <<_ACEOF
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9533 #ifdef __cplusplus
9534 extern "C"
9535 #endif
9536 char XextCreateExtension ();
9538 main ()
9540 return XextCreateExtension ();
9542 return 0;
9544 _ACEOF
9545 rm -f conftest.$ac_objext conftest$ac_exeext
9546 if { (ac_try="$ac_link"
9547 case "(($ac_try" in
9548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9549 *) ac_try_echo=$ac_try;;
9550 esac
9551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9552 (eval "$ac_link") 2>conftest.er1
9553 ac_status=$?
9554 grep -v '^ *+' conftest.er1 >conftest.err
9555 rm -f conftest.er1
9556 cat conftest.err >&5
9557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9558 (exit $ac_status); } && {
9559 test -z "$ac_c_werror_flag" ||
9560 test ! -s conftest.err
9561 } && test -s conftest$ac_exeext &&
9562 $as_test_x conftest$ac_exeext; then
9563 case "$LIBEXT" in
9564 dll) ;;
9565 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'` ;;
9566 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9567 esac
9568 else
9569 echo "$as_me: failed program was:" >&5
9570 sed 's/^/| /' conftest.$ac_ext >&5
9575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9576 conftest$ac_exeext conftest.$ac_ext
9577 LIBS=$ac_check_soname_save_LIBS
9579 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9580 { echo "$as_me:$LINENO: result: not found" >&5
9581 echo "${ECHO_T}not found" >&6; }
9583 else
9584 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9585 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9587 cat >>confdefs.h <<_ACEOF
9588 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9589 _ACEOF
9607 for ac_header in X11/Xlib.h \
9608 X11/XKBlib.h \
9609 X11/Xutil.h \
9610 X11/Xcursor/Xcursor.h \
9611 X11/extensions/shape.h \
9612 X11/extensions/XInput.h \
9613 X11/extensions/XShm.h \
9614 X11/extensions/Xcomposite.h \
9615 X11/extensions/Xinerama.h \
9616 X11/extensions/Xrandr.h \
9617 X11/extensions/Xrender.h \
9618 X11/extensions/xf86vmode.h
9620 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9624 echo $ECHO_N "(cached) $ECHO_C" >&6
9625 else
9626 cat >conftest.$ac_ext <<_ACEOF
9627 /* confdefs.h. */
9628 _ACEOF
9629 cat confdefs.h >>conftest.$ac_ext
9630 cat >>conftest.$ac_ext <<_ACEOF
9631 /* end confdefs.h. */
9632 #ifdef HAVE_X11_XLIB_H
9633 # include <X11/Xlib.h>
9634 #endif
9635 #ifdef HAVE_X11_XUTIL_H
9636 # include <X11/Xutil.h>
9637 #endif
9639 #include <$ac_header>
9640 _ACEOF
9641 rm -f conftest.$ac_objext
9642 if { (ac_try="$ac_compile"
9643 case "(($ac_try" in
9644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9645 *) ac_try_echo=$ac_try;;
9646 esac
9647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9648 (eval "$ac_compile") 2>conftest.er1
9649 ac_status=$?
9650 grep -v '^ *+' conftest.er1 >conftest.err
9651 rm -f conftest.er1
9652 cat conftest.err >&5
9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9654 (exit $ac_status); } && {
9655 test -z "$ac_c_werror_flag" ||
9656 test ! -s conftest.err
9657 } && test -s conftest.$ac_objext; then
9658 eval "$as_ac_Header=yes"
9659 else
9660 echo "$as_me: failed program was:" >&5
9661 sed 's/^/| /' conftest.$ac_ext >&5
9663 eval "$as_ac_Header=no"
9666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9668 ac_res=`eval echo '${'$as_ac_Header'}'`
9669 { echo "$as_me:$LINENO: result: $ac_res" >&5
9670 echo "${ECHO_T}$ac_res" >&6; }
9671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9672 cat >>confdefs.h <<_ACEOF
9673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9674 _ACEOF
9678 done
9681 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9682 then
9683 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9684 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9685 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9686 echo $ECHO_N "(cached) $ECHO_C" >&6
9687 else
9688 ac_check_lib_save_LIBS=$LIBS
9689 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9690 cat >conftest.$ac_ext <<_ACEOF
9691 /* confdefs.h. */
9692 _ACEOF
9693 cat confdefs.h >>conftest.$ac_ext
9694 cat >>conftest.$ac_ext <<_ACEOF
9695 /* end confdefs.h. */
9697 /* Override any GCC internal prototype to avoid an error.
9698 Use char because int might match the return type of a GCC
9699 builtin and then its argument prototype would still apply. */
9700 #ifdef __cplusplus
9701 extern "C"
9702 #endif
9703 char XkbQueryExtension ();
9705 main ()
9707 return XkbQueryExtension ();
9709 return 0;
9711 _ACEOF
9712 rm -f conftest.$ac_objext conftest$ac_exeext
9713 if { (ac_try="$ac_link"
9714 case "(($ac_try" in
9715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9716 *) ac_try_echo=$ac_try;;
9717 esac
9718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9719 (eval "$ac_link") 2>conftest.er1
9720 ac_status=$?
9721 grep -v '^ *+' conftest.er1 >conftest.err
9722 rm -f conftest.er1
9723 cat conftest.err >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 (exit $ac_status); } && {
9726 test -z "$ac_c_werror_flag" ||
9727 test ! -s conftest.err
9728 } && test -s conftest$ac_exeext &&
9729 $as_test_x conftest$ac_exeext; then
9730 ac_cv_lib_X11_XkbQueryExtension=yes
9731 else
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.$ac_ext >&5
9735 ac_cv_lib_X11_XkbQueryExtension=no
9738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9739 conftest$ac_exeext conftest.$ac_ext
9740 LIBS=$ac_check_lib_save_LIBS
9742 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9743 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9744 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9746 cat >>confdefs.h <<\_ACEOF
9747 #define HAVE_XKB 1
9748 _ACEOF
9754 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9755 then
9756 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9757 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9758 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9759 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 else
9761 ac_check_soname_save_LIBS=$LIBS
9762 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9763 cat >conftest.$ac_ext <<_ACEOF
9764 /* confdefs.h. */
9765 _ACEOF
9766 cat confdefs.h >>conftest.$ac_ext
9767 cat >>conftest.$ac_ext <<_ACEOF
9768 /* end confdefs.h. */
9770 /* Override any GCC internal prototype to avoid an error.
9771 Use char because int might match the return type of a GCC
9772 builtin and then its argument prototype would still apply. */
9773 #ifdef __cplusplus
9774 extern "C"
9775 #endif
9776 char XcursorImageLoadCursor ();
9778 main ()
9780 return XcursorImageLoadCursor ();
9782 return 0;
9784 _ACEOF
9785 rm -f conftest.$ac_objext conftest$ac_exeext
9786 if { (ac_try="$ac_link"
9787 case "(($ac_try" in
9788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9789 *) ac_try_echo=$ac_try;;
9790 esac
9791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9792 (eval "$ac_link") 2>conftest.er1
9793 ac_status=$?
9794 grep -v '^ *+' conftest.er1 >conftest.err
9795 rm -f conftest.er1
9796 cat conftest.err >&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } && {
9799 test -z "$ac_c_werror_flag" ||
9800 test ! -s conftest.err
9801 } && test -s conftest$ac_exeext &&
9802 $as_test_x conftest$ac_exeext; then
9803 case "$LIBEXT" in
9804 dll) ;;
9805 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'` ;;
9806 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9807 esac
9808 else
9809 echo "$as_me: failed program was:" >&5
9810 sed 's/^/| /' conftest.$ac_ext >&5
9815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9816 conftest$ac_exeext conftest.$ac_ext
9817 LIBS=$ac_check_soname_save_LIBS
9819 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9820 { echo "$as_me:$LINENO: result: not found" >&5
9821 echo "${ECHO_T}not found" >&6; }
9823 else
9824 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9825 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9827 cat >>confdefs.h <<_ACEOF
9828 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9829 _ACEOF
9835 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9836 case "x$with_xcursor" in
9837 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9838 xno) ;;
9839 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9840 This is an error since --with-xcursor was requested." >&5
9841 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9842 This is an error since --with-xcursor was requested." >&2;}
9843 { (exit 1); exit 1; }; } ;;
9844 esac
9848 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9849 then
9850 { echo "$as_me:$LINENO: checking for -lXi" >&5
9851 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9852 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9853 echo $ECHO_N "(cached) $ECHO_C" >&6
9854 else
9855 ac_check_soname_save_LIBS=$LIBS
9856 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9857 cat >conftest.$ac_ext <<_ACEOF
9858 /* confdefs.h. */
9859 _ACEOF
9860 cat confdefs.h >>conftest.$ac_ext
9861 cat >>conftest.$ac_ext <<_ACEOF
9862 /* end confdefs.h. */
9864 /* Override any GCC internal prototype to avoid an error.
9865 Use char because int might match the return type of a GCC
9866 builtin and then its argument prototype would still apply. */
9867 #ifdef __cplusplus
9868 extern "C"
9869 #endif
9870 char XOpenDevice ();
9872 main ()
9874 return XOpenDevice ();
9876 return 0;
9878 _ACEOF
9879 rm -f conftest.$ac_objext conftest$ac_exeext
9880 if { (ac_try="$ac_link"
9881 case "(($ac_try" in
9882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9883 *) ac_try_echo=$ac_try;;
9884 esac
9885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9886 (eval "$ac_link") 2>conftest.er1
9887 ac_status=$?
9888 grep -v '^ *+' conftest.er1 >conftest.err
9889 rm -f conftest.er1
9890 cat conftest.err >&5
9891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9892 (exit $ac_status); } && {
9893 test -z "$ac_c_werror_flag" ||
9894 test ! -s conftest.err
9895 } && test -s conftest$ac_exeext &&
9896 $as_test_x conftest$ac_exeext; then
9897 case "$LIBEXT" in
9898 dll) ;;
9899 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'` ;;
9900 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9901 esac
9902 else
9903 echo "$as_me: failed program was:" >&5
9904 sed 's/^/| /' conftest.$ac_ext >&5
9909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9910 conftest$ac_exeext conftest.$ac_ext
9911 LIBS=$ac_check_soname_save_LIBS
9913 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9914 { echo "$as_me:$LINENO: result: not found" >&5
9915 echo "${ECHO_T}not found" >&6; }
9917 else
9918 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9919 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9921 cat >>confdefs.h <<_ACEOF
9922 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9923 _ACEOF
9929 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9930 case "x$with_xinput" in
9931 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9932 xno) ;;
9933 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9934 This is an error since --with-xinput was requested." >&5
9935 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9936 This is an error since --with-xinput was requested." >&2;}
9937 { (exit 1); exit 1; }; } ;;
9938 esac
9942 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9943 then
9944 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9945 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9946 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9947 echo $ECHO_N "(cached) $ECHO_C" >&6
9948 else
9949 ac_check_lib_save_LIBS=$LIBS
9950 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9951 cat >conftest.$ac_ext <<_ACEOF
9952 /* confdefs.h. */
9953 _ACEOF
9954 cat confdefs.h >>conftest.$ac_ext
9955 cat >>conftest.$ac_ext <<_ACEOF
9956 /* end confdefs.h. */
9958 /* Override any GCC internal prototype to avoid an error.
9959 Use char because int might match the return type of a GCC
9960 builtin and then its argument prototype would still apply. */
9961 #ifdef __cplusplus
9962 extern "C"
9963 #endif
9964 char XShmQueryExtension ();
9966 main ()
9968 return XShmQueryExtension ();
9970 return 0;
9972 _ACEOF
9973 rm -f conftest.$ac_objext conftest$ac_exeext
9974 if { (ac_try="$ac_link"
9975 case "(($ac_try" in
9976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9977 *) ac_try_echo=$ac_try;;
9978 esac
9979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9980 (eval "$ac_link") 2>conftest.er1
9981 ac_status=$?
9982 grep -v '^ *+' conftest.er1 >conftest.err
9983 rm -f conftest.er1
9984 cat conftest.err >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); } && {
9987 test -z "$ac_c_werror_flag" ||
9988 test ! -s conftest.err
9989 } && test -s conftest$ac_exeext &&
9990 $as_test_x conftest$ac_exeext; then
9991 ac_cv_lib_Xext_XShmQueryExtension=yes
9992 else
9993 echo "$as_me: failed program was:" >&5
9994 sed 's/^/| /' conftest.$ac_ext >&5
9996 ac_cv_lib_Xext_XShmQueryExtension=no
9999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10000 conftest$ac_exeext conftest.$ac_ext
10001 LIBS=$ac_check_lib_save_LIBS
10003 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10004 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10005 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10007 cat >>confdefs.h <<\_ACEOF
10008 #define HAVE_LIBXXSHM 1
10009 _ACEOF
10014 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10015 case "x$with_xshm" in
10016 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10017 xno) ;;
10018 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10019 This is an error since --with-xshm was requested." >&5
10020 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10021 This is an error since --with-xshm was requested." >&2;}
10022 { (exit 1); exit 1; }; } ;;
10023 esac
10027 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10028 then
10029 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10030 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10031 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10033 else
10034 ac_check_lib_save_LIBS=$LIBS
10035 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10036 cat >conftest.$ac_ext <<_ACEOF
10037 /* confdefs.h. */
10038 _ACEOF
10039 cat confdefs.h >>conftest.$ac_ext
10040 cat >>conftest.$ac_ext <<_ACEOF
10041 /* end confdefs.h. */
10043 /* Override any GCC internal prototype to avoid an error.
10044 Use char because int might match the return type of a GCC
10045 builtin and then its argument prototype would still apply. */
10046 #ifdef __cplusplus
10047 extern "C"
10048 #endif
10049 char XShapeQueryExtension ();
10051 main ()
10053 return XShapeQueryExtension ();
10055 return 0;
10057 _ACEOF
10058 rm -f conftest.$ac_objext conftest$ac_exeext
10059 if { (ac_try="$ac_link"
10060 case "(($ac_try" in
10061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10062 *) ac_try_echo=$ac_try;;
10063 esac
10064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10065 (eval "$ac_link") 2>conftest.er1
10066 ac_status=$?
10067 grep -v '^ *+' conftest.er1 >conftest.err
10068 rm -f conftest.er1
10069 cat conftest.err >&5
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); } && {
10072 test -z "$ac_c_werror_flag" ||
10073 test ! -s conftest.err
10074 } && test -s conftest$ac_exeext &&
10075 $as_test_x conftest$ac_exeext; then
10076 ac_cv_lib_Xext_XShapeQueryExtension=yes
10077 else
10078 echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.$ac_ext >&5
10081 ac_cv_lib_Xext_XShapeQueryExtension=no
10084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_lib_save_LIBS
10088 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10089 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10090 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10092 cat >>confdefs.h <<\_ACEOF
10093 #define HAVE_LIBXSHAPE 1
10094 _ACEOF
10099 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10100 case "x$with_xshape" in
10101 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10102 xno) ;;
10103 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10104 This is an error since --with-xshape was requested." >&5
10105 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10106 This is an error since --with-xshape was requested." >&2;}
10107 { (exit 1); exit 1; }; } ;;
10108 esac
10112 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10113 then
10114 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10115 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10116 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10117 echo $ECHO_N "(cached) $ECHO_C" >&6
10118 else
10119 ac_check_lib_save_LIBS=$LIBS
10120 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10121 cat >conftest.$ac_ext <<_ACEOF
10122 /* confdefs.h. */
10123 _ACEOF
10124 cat confdefs.h >>conftest.$ac_ext
10125 cat >>conftest.$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10128 /* Override any GCC internal prototype to avoid an error.
10129 Use char because int might match the return type of a GCC
10130 builtin and then its argument prototype would still apply. */
10131 #ifdef __cplusplus
10132 extern "C"
10133 #endif
10134 char XF86VidModeQueryExtension ();
10136 main ()
10138 return XF86VidModeQueryExtension ();
10140 return 0;
10142 _ACEOF
10143 rm -f conftest.$ac_objext conftest$ac_exeext
10144 if { (ac_try="$ac_link"
10145 case "(($ac_try" in
10146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10147 *) ac_try_echo=$ac_try;;
10148 esac
10149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10150 (eval "$ac_link") 2>conftest.er1
10151 ac_status=$?
10152 grep -v '^ *+' conftest.er1 >conftest.err
10153 rm -f conftest.er1
10154 cat conftest.err >&5
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); } && {
10157 test -z "$ac_c_werror_flag" ||
10158 test ! -s conftest.err
10159 } && test -s conftest$ac_exeext &&
10160 $as_test_x conftest$ac_exeext; then
10161 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10162 else
10163 echo "$as_me: failed program was:" >&5
10164 sed 's/^/| /' conftest.$ac_ext >&5
10166 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10170 conftest$ac_exeext conftest.$ac_ext
10171 LIBS=$ac_check_lib_save_LIBS
10173 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10174 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10175 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10177 cat >>confdefs.h <<\_ACEOF
10178 #define HAVE_LIBXXF86VM 1
10179 _ACEOF
10181 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10186 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10187 case "x$with_xvidmode" in
10188 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10189 xno) ;;
10190 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10191 This is an error since --with-xvidmode was requested." >&5
10192 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10193 This is an error since --with-xvidmode was requested." >&2;}
10194 { (exit 1); exit 1; }; } ;;
10195 esac
10199 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"
10200 then
10201 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10202 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10203 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10205 else
10206 ac_check_soname_save_LIBS=$LIBS
10207 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10208 cat >conftest.$ac_ext <<_ACEOF
10209 /* confdefs.h. */
10210 _ACEOF
10211 cat confdefs.h >>conftest.$ac_ext
10212 cat >>conftest.$ac_ext <<_ACEOF
10213 /* end confdefs.h. */
10215 /* Override any GCC internal prototype to avoid an error.
10216 Use char because int might match the return type of a GCC
10217 builtin and then its argument prototype would still apply. */
10218 #ifdef __cplusplus
10219 extern "C"
10220 #endif
10221 char XRenderQueryExtension ();
10223 main ()
10225 return XRenderQueryExtension ();
10227 return 0;
10229 _ACEOF
10230 rm -f conftest.$ac_objext conftest$ac_exeext
10231 if { (ac_try="$ac_link"
10232 case "(($ac_try" in
10233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10234 *) ac_try_echo=$ac_try;;
10235 esac
10236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10237 (eval "$ac_link") 2>conftest.er1
10238 ac_status=$?
10239 grep -v '^ *+' conftest.er1 >conftest.err
10240 rm -f conftest.er1
10241 cat conftest.err >&5
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); } && {
10244 test -z "$ac_c_werror_flag" ||
10245 test ! -s conftest.err
10246 } && test -s conftest$ac_exeext &&
10247 $as_test_x conftest$ac_exeext; then
10248 case "$LIBEXT" in
10249 dll) ;;
10250 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'` ;;
10251 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10252 esac
10253 else
10254 echo "$as_me: failed program was:" >&5
10255 sed 's/^/| /' conftest.$ac_ext >&5
10260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10261 conftest$ac_exeext conftest.$ac_ext
10262 LIBS=$ac_check_soname_save_LIBS
10264 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10265 { echo "$as_me:$LINENO: result: not found" >&5
10266 echo "${ECHO_T}not found" >&6; }
10268 else
10269 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10270 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10272 cat >>confdefs.h <<_ACEOF
10273 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10274 _ACEOF
10276 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10277 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10278 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10279 echo $ECHO_N "(cached) $ECHO_C" >&6
10280 else
10281 ac_check_lib_save_LIBS=$LIBS
10282 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10283 cat >conftest.$ac_ext <<_ACEOF
10284 /* confdefs.h. */
10285 _ACEOF
10286 cat confdefs.h >>conftest.$ac_ext
10287 cat >>conftest.$ac_ext <<_ACEOF
10288 /* end confdefs.h. */
10290 /* Override any GCC internal prototype to avoid an error.
10291 Use char because int might match the return type of a GCC
10292 builtin and then its argument prototype would still apply. */
10293 #ifdef __cplusplus
10294 extern "C"
10295 #endif
10296 char XRenderSetPictureTransform ();
10298 main ()
10300 return XRenderSetPictureTransform ();
10302 return 0;
10304 _ACEOF
10305 rm -f conftest.$ac_objext conftest$ac_exeext
10306 if { (ac_try="$ac_link"
10307 case "(($ac_try" in
10308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10309 *) ac_try_echo=$ac_try;;
10310 esac
10311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10312 (eval "$ac_link") 2>conftest.er1
10313 ac_status=$?
10314 grep -v '^ *+' conftest.er1 >conftest.err
10315 rm -f conftest.er1
10316 cat conftest.err >&5
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); } && {
10319 test -z "$ac_c_werror_flag" ||
10320 test ! -s conftest.err
10321 } && test -s conftest$ac_exeext &&
10322 $as_test_x conftest$ac_exeext; then
10323 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10324 else
10325 echo "$as_me: failed program was:" >&5
10326 sed 's/^/| /' conftest.$ac_ext >&5
10328 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10332 conftest$ac_exeext conftest.$ac_ext
10333 LIBS=$ac_check_lib_save_LIBS
10335 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10336 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10337 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10339 cat >>confdefs.h <<\_ACEOF
10340 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10341 _ACEOF
10349 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10350 case "x$with_xrender" in
10351 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10352 xno) ;;
10353 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10354 This is an error since --with-xrender was requested." >&5
10355 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10356 This is an error since --with-xrender was requested." >&2;}
10357 { (exit 1); exit 1; }; } ;;
10358 esac
10362 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10363 then
10364 cat >conftest.$ac_ext <<_ACEOF
10365 /* confdefs.h. */
10366 _ACEOF
10367 cat confdefs.h >>conftest.$ac_ext
10368 cat >>conftest.$ac_ext <<_ACEOF
10369 /* end confdefs.h. */
10370 #include <X11/Xlib.h>
10371 #include <X11/extensions/Xrandr.h>
10373 main ()
10375 static typeof(XRRSetScreenConfigAndRate) * func;
10377 return 0;
10379 _ACEOF
10380 rm -f conftest.$ac_objext
10381 if { (ac_try="$ac_compile"
10382 case "(($ac_try" in
10383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10384 *) ac_try_echo=$ac_try;;
10385 esac
10386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10387 (eval "$ac_compile") 2>conftest.er1
10388 ac_status=$?
10389 grep -v '^ *+' conftest.er1 >conftest.err
10390 rm -f conftest.er1
10391 cat conftest.err >&5
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); } && {
10394 test -z "$ac_c_werror_flag" ||
10395 test ! -s conftest.err
10396 } && test -s conftest.$ac_objext; then
10397 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10398 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10399 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10400 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 else
10402 ac_check_soname_save_LIBS=$LIBS
10403 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10404 cat >conftest.$ac_ext <<_ACEOF
10405 /* confdefs.h. */
10406 _ACEOF
10407 cat confdefs.h >>conftest.$ac_ext
10408 cat >>conftest.$ac_ext <<_ACEOF
10409 /* end confdefs.h. */
10411 /* Override any GCC internal prototype to avoid an error.
10412 Use char because int might match the return type of a GCC
10413 builtin and then its argument prototype would still apply. */
10414 #ifdef __cplusplus
10415 extern "C"
10416 #endif
10417 char XRRQueryExtension ();
10419 main ()
10421 return XRRQueryExtension ();
10423 return 0;
10425 _ACEOF
10426 rm -f conftest.$ac_objext conftest$ac_exeext
10427 if { (ac_try="$ac_link"
10428 case "(($ac_try" in
10429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10430 *) ac_try_echo=$ac_try;;
10431 esac
10432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10433 (eval "$ac_link") 2>conftest.er1
10434 ac_status=$?
10435 grep -v '^ *+' conftest.er1 >conftest.err
10436 rm -f conftest.er1
10437 cat conftest.err >&5
10438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); } && {
10440 test -z "$ac_c_werror_flag" ||
10441 test ! -s conftest.err
10442 } && test -s conftest$ac_exeext &&
10443 $as_test_x conftest$ac_exeext; then
10444 case "$LIBEXT" in
10445 dll) ;;
10446 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'` ;;
10447 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10448 esac
10449 else
10450 echo "$as_me: failed program was:" >&5
10451 sed 's/^/| /' conftest.$ac_ext >&5
10456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10457 conftest$ac_exeext conftest.$ac_ext
10458 LIBS=$ac_check_soname_save_LIBS
10460 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10461 { echo "$as_me:$LINENO: result: not found" >&5
10462 echo "${ECHO_T}not found" >&6; }
10464 else
10465 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10466 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10468 cat >>confdefs.h <<_ACEOF
10469 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10470 _ACEOF
10475 else
10476 echo "$as_me: failed program was:" >&5
10477 sed 's/^/| /' conftest.$ac_ext >&5
10482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10484 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10485 case "x$with_xrandr" in
10486 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10487 xno) ;;
10488 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10489 This is an error since --with-xrandr was requested." >&5
10490 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10491 This is an error since --with-xrandr was requested." >&2;}
10492 { (exit 1); exit 1; }; } ;;
10493 esac
10497 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10498 then
10499 cat >conftest.$ac_ext <<_ACEOF
10500 /* confdefs.h. */
10501 _ACEOF
10502 cat confdefs.h >>conftest.$ac_ext
10503 cat >>conftest.$ac_ext <<_ACEOF
10504 /* end confdefs.h. */
10505 #include <X11/Xlib.h>
10506 #include <X11/extensions/Xinerama.h>
10508 main ()
10510 static typeof(XineramaQueryScreens) * func;
10512 return 0;
10514 _ACEOF
10515 rm -f conftest.$ac_objext
10516 if { (ac_try="$ac_compile"
10517 case "(($ac_try" in
10518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10519 *) ac_try_echo=$ac_try;;
10520 esac
10521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10522 (eval "$ac_compile") 2>conftest.er1
10523 ac_status=$?
10524 grep -v '^ *+' conftest.er1 >conftest.err
10525 rm -f conftest.er1
10526 cat conftest.err >&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } && {
10529 test -z "$ac_c_werror_flag" ||
10530 test ! -s conftest.err
10531 } && test -s conftest.$ac_objext; then
10532 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10533 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10534 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10536 else
10537 ac_check_soname_save_LIBS=$LIBS
10538 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10539 cat >conftest.$ac_ext <<_ACEOF
10540 /* confdefs.h. */
10541 _ACEOF
10542 cat confdefs.h >>conftest.$ac_ext
10543 cat >>conftest.$ac_ext <<_ACEOF
10544 /* end confdefs.h. */
10546 /* Override any GCC internal prototype to avoid an error.
10547 Use char because int might match the return type of a GCC
10548 builtin and then its argument prototype would still apply. */
10549 #ifdef __cplusplus
10550 extern "C"
10551 #endif
10552 char XineramaQueryScreens ();
10554 main ()
10556 return XineramaQueryScreens ();
10558 return 0;
10560 _ACEOF
10561 rm -f conftest.$ac_objext conftest$ac_exeext
10562 if { (ac_try="$ac_link"
10563 case "(($ac_try" in
10564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10565 *) ac_try_echo=$ac_try;;
10566 esac
10567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10568 (eval "$ac_link") 2>conftest.er1
10569 ac_status=$?
10570 grep -v '^ *+' conftest.er1 >conftest.err
10571 rm -f conftest.er1
10572 cat conftest.err >&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); } && {
10575 test -z "$ac_c_werror_flag" ||
10576 test ! -s conftest.err
10577 } && test -s conftest$ac_exeext &&
10578 $as_test_x conftest$ac_exeext; then
10579 case "$LIBEXT" in
10580 dll) ;;
10581 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'` ;;
10582 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10583 esac
10584 else
10585 echo "$as_me: failed program was:" >&5
10586 sed 's/^/| /' conftest.$ac_ext >&5
10591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10592 conftest$ac_exeext conftest.$ac_ext
10593 LIBS=$ac_check_soname_save_LIBS
10595 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10596 { echo "$as_me:$LINENO: result: not found" >&5
10597 echo "${ECHO_T}not found" >&6; }
10599 else
10600 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10601 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10603 cat >>confdefs.h <<_ACEOF
10604 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10605 _ACEOF
10610 else
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.$ac_ext >&5
10617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10619 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10620 case "x$with_xinerama" in
10621 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10622 xno) ;;
10623 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10624 This is an error since --with-xinerama was requested." >&5
10625 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10626 This is an error since --with-xinerama was requested." >&2;}
10627 { (exit 1); exit 1; }; } ;;
10628 esac
10632 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10633 then
10634 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10635 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10636 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10637 echo $ECHO_N "(cached) $ECHO_C" >&6
10638 else
10639 ac_check_soname_save_LIBS=$LIBS
10640 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10641 cat >conftest.$ac_ext <<_ACEOF
10642 /* confdefs.h. */
10643 _ACEOF
10644 cat confdefs.h >>conftest.$ac_ext
10645 cat >>conftest.$ac_ext <<_ACEOF
10646 /* end confdefs.h. */
10648 /* Override any GCC internal prototype to avoid an error.
10649 Use char because int might match the return type of a GCC
10650 builtin and then its argument prototype would still apply. */
10651 #ifdef __cplusplus
10652 extern "C"
10653 #endif
10654 char XCompositeRedirectWindow ();
10656 main ()
10658 return XCompositeRedirectWindow ();
10660 return 0;
10662 _ACEOF
10663 rm -f conftest.$ac_objext conftest$ac_exeext
10664 if { (ac_try="$ac_link"
10665 case "(($ac_try" in
10666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10667 *) ac_try_echo=$ac_try;;
10668 esac
10669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10670 (eval "$ac_link") 2>conftest.er1
10671 ac_status=$?
10672 grep -v '^ *+' conftest.er1 >conftest.err
10673 rm -f conftest.er1
10674 cat conftest.err >&5
10675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676 (exit $ac_status); } && {
10677 test -z "$ac_c_werror_flag" ||
10678 test ! -s conftest.err
10679 } && test -s conftest$ac_exeext &&
10680 $as_test_x conftest$ac_exeext; then
10681 case "$LIBEXT" in
10682 dll) ;;
10683 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'` ;;
10684 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10685 esac
10686 else
10687 echo "$as_me: failed program was:" >&5
10688 sed 's/^/| /' conftest.$ac_ext >&5
10693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10694 conftest$ac_exeext conftest.$ac_ext
10695 LIBS=$ac_check_soname_save_LIBS
10697 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10698 { echo "$as_me:$LINENO: result: not found" >&5
10699 echo "${ECHO_T}not found" >&6; }
10701 else
10702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10703 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10705 cat >>confdefs.h <<_ACEOF
10706 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10707 _ACEOF
10713 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10714 case "x$with_xcomposite" in
10715 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10716 xno) ;;
10717 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10718 This is an error since --with-xcomposite was requested." >&5
10719 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10720 This is an error since --with-xcomposite was requested." >&2;}
10721 { (exit 1); exit 1; }; } ;;
10722 esac
10726 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10727 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10728 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 else
10731 cat >conftest.$ac_ext <<_ACEOF
10732 /* confdefs.h. */
10733 _ACEOF
10734 cat confdefs.h >>conftest.$ac_ext
10735 cat >>conftest.$ac_ext <<_ACEOF
10736 /* end confdefs.h. */
10737 #ifdef HAVE_X11_XLIB_H
10738 #include <X11/Xlib.h>
10739 #endif
10742 main ()
10744 static XICCallback ac_aggr;
10745 if (ac_aggr.callback)
10746 return 0;
10748 return 0;
10750 _ACEOF
10751 rm -f conftest.$ac_objext
10752 if { (ac_try="$ac_compile"
10753 case "(($ac_try" in
10754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10755 *) ac_try_echo=$ac_try;;
10756 esac
10757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10758 (eval "$ac_compile") 2>conftest.er1
10759 ac_status=$?
10760 grep -v '^ *+' conftest.er1 >conftest.err
10761 rm -f conftest.er1
10762 cat conftest.err >&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); } && {
10765 test -z "$ac_c_werror_flag" ||
10766 test ! -s conftest.err
10767 } && test -s conftest.$ac_objext; then
10768 ac_cv_member_XICCallback_callback=yes
10769 else
10770 echo "$as_me: failed program was:" >&5
10771 sed 's/^/| /' conftest.$ac_ext >&5
10773 cat >conftest.$ac_ext <<_ACEOF
10774 /* confdefs.h. */
10775 _ACEOF
10776 cat confdefs.h >>conftest.$ac_ext
10777 cat >>conftest.$ac_ext <<_ACEOF
10778 /* end confdefs.h. */
10779 #ifdef HAVE_X11_XLIB_H
10780 #include <X11/Xlib.h>
10781 #endif
10784 main ()
10786 static XICCallback ac_aggr;
10787 if (sizeof ac_aggr.callback)
10788 return 0;
10790 return 0;
10792 _ACEOF
10793 rm -f conftest.$ac_objext
10794 if { (ac_try="$ac_compile"
10795 case "(($ac_try" in
10796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10797 *) ac_try_echo=$ac_try;;
10798 esac
10799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10800 (eval "$ac_compile") 2>conftest.er1
10801 ac_status=$?
10802 grep -v '^ *+' conftest.er1 >conftest.err
10803 rm -f conftest.er1
10804 cat conftest.err >&5
10805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10806 (exit $ac_status); } && {
10807 test -z "$ac_c_werror_flag" ||
10808 test ! -s conftest.err
10809 } && test -s conftest.$ac_objext; then
10810 ac_cv_member_XICCallback_callback=yes
10811 else
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.$ac_ext >&5
10815 ac_cv_member_XICCallback_callback=no
10818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10823 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10824 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10825 if test $ac_cv_member_XICCallback_callback = yes; then
10827 cat >>confdefs.h <<_ACEOF
10828 #define HAVE_XICCALLBACK_CALLBACK 1
10829 _ACEOF
10836 opengl_msg=""
10837 if test "x$with_opengl" != "xno"
10838 then
10843 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10846 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10849 echo $ECHO_N "(cached) $ECHO_C" >&6
10850 else
10851 cat >conftest.$ac_ext <<_ACEOF
10852 /* confdefs.h. */
10853 _ACEOF
10854 cat confdefs.h >>conftest.$ac_ext
10855 cat >>conftest.$ac_ext <<_ACEOF
10856 /* end confdefs.h. */
10857 #ifdef HAVE_GL_GLX_H
10858 # include <GL/glx.h>
10859 #endif
10861 #include <$ac_header>
10862 _ACEOF
10863 rm -f conftest.$ac_objext
10864 if { (ac_try="$ac_compile"
10865 case "(($ac_try" in
10866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10867 *) ac_try_echo=$ac_try;;
10868 esac
10869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10870 (eval "$ac_compile") 2>conftest.er1
10871 ac_status=$?
10872 grep -v '^ *+' conftest.er1 >conftest.err
10873 rm -f conftest.er1
10874 cat conftest.err >&5
10875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10876 (exit $ac_status); } && {
10877 test -z "$ac_c_werror_flag" ||
10878 test ! -s conftest.err
10879 } && test -s conftest.$ac_objext; then
10880 eval "$as_ac_Header=yes"
10881 else
10882 echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.$ac_ext >&5
10885 eval "$as_ac_Header=no"
10888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10890 ac_res=`eval echo '${'$as_ac_Header'}'`
10891 { echo "$as_me:$LINENO: result: $ac_res" >&5
10892 echo "${ECHO_T}$ac_res" >&6; }
10893 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10894 cat >>confdefs.h <<_ACEOF
10895 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10896 _ACEOF
10900 done
10902 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10903 then
10904 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10905 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10906 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10907 echo $ECHO_N "(cached) $ECHO_C" >&6
10908 else
10909 cat >conftest.$ac_ext <<_ACEOF
10910 /* confdefs.h. */
10911 _ACEOF
10912 cat confdefs.h >>conftest.$ac_ext
10913 cat >>conftest.$ac_ext <<_ACEOF
10914 /* end confdefs.h. */
10915 #include <GL/gl.h>
10917 main ()
10919 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10921 return 0;
10923 _ACEOF
10924 rm -f conftest.$ac_objext
10925 if { (ac_try="$ac_compile"
10926 case "(($ac_try" in
10927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10928 *) ac_try_echo=$ac_try;;
10929 esac
10930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10931 (eval "$ac_compile") 2>conftest.er1
10932 ac_status=$?
10933 grep -v '^ *+' conftest.er1 >conftest.err
10934 rm -f conftest.er1
10935 cat conftest.err >&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); } && {
10938 test -z "$ac_c_werror_flag" ||
10939 test ! -s conftest.err
10940 } && test -s conftest.$ac_objext; then
10941 wine_cv_opengl_header_version_OK="yes"
10942 else
10943 echo "$as_me: failed program was:" >&5
10944 sed 's/^/| /' conftest.$ac_ext >&5
10946 wine_cv_opengl_header_version_OK="no"
10949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10951 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10952 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10954 if test "$wine_cv_opengl_header_version_OK" = "yes"
10955 then
10956 { echo "$as_me:$LINENO: checking for -lGL" >&5
10957 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10958 if test "${ac_cv_lib_soname_GL+set}" = set; then
10959 echo $ECHO_N "(cached) $ECHO_C" >&6
10960 else
10961 ac_check_soname_save_LIBS=$LIBS
10962 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10963 cat >conftest.$ac_ext <<_ACEOF
10964 /* confdefs.h. */
10965 _ACEOF
10966 cat confdefs.h >>conftest.$ac_ext
10967 cat >>conftest.$ac_ext <<_ACEOF
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10973 #ifdef __cplusplus
10974 extern "C"
10975 #endif
10976 char glXCreateContext ();
10978 main ()
10980 return glXCreateContext ();
10982 return 0;
10984 _ACEOF
10985 rm -f conftest.$ac_objext conftest$ac_exeext
10986 if { (ac_try="$ac_link"
10987 case "(($ac_try" in
10988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10989 *) ac_try_echo=$ac_try;;
10990 esac
10991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10992 (eval "$ac_link") 2>conftest.er1
10993 ac_status=$?
10994 grep -v '^ *+' conftest.er1 >conftest.err
10995 rm -f conftest.er1
10996 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } && {
10999 test -z "$ac_c_werror_flag" ||
11000 test ! -s conftest.err
11001 } && test -s conftest$ac_exeext &&
11002 $as_test_x conftest$ac_exeext; then
11003 case "$LIBEXT" in
11004 dll) ;;
11005 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'` ;;
11006 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11007 esac
11008 else
11009 echo "$as_me: failed program was:" >&5
11010 sed 's/^/| /' conftest.$ac_ext >&5
11015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11016 conftest$ac_exeext conftest.$ac_ext
11017 LIBS=$ac_check_soname_save_LIBS
11019 if test "x$ac_cv_lib_soname_GL" = "x"; then
11020 { echo "$as_me:$LINENO: result: not found" >&5
11021 echo "${ECHO_T}not found" >&6; }
11022 { echo "$as_me:$LINENO: checking for -lGL" >&5
11023 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11024 if test "${ac_cv_lib_soname_GL+set}" = set; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 else
11027 ac_check_soname_save_LIBS=$LIBS
11028 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"
11029 cat >conftest.$ac_ext <<_ACEOF
11030 /* confdefs.h. */
11031 _ACEOF
11032 cat confdefs.h >>conftest.$ac_ext
11033 cat >>conftest.$ac_ext <<_ACEOF
11034 /* end confdefs.h. */
11036 /* Override any GCC internal prototype to avoid an error.
11037 Use char because int might match the return type of a GCC
11038 builtin and then its argument prototype would still apply. */
11039 #ifdef __cplusplus
11040 extern "C"
11041 #endif
11042 char glXCreateContext ();
11044 main ()
11046 return glXCreateContext ();
11048 return 0;
11050 _ACEOF
11051 rm -f conftest.$ac_objext conftest$ac_exeext
11052 if { (ac_try="$ac_link"
11053 case "(($ac_try" in
11054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11055 *) ac_try_echo=$ac_try;;
11056 esac
11057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11058 (eval "$ac_link") 2>conftest.er1
11059 ac_status=$?
11060 grep -v '^ *+' conftest.er1 >conftest.err
11061 rm -f conftest.er1
11062 cat conftest.err >&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } && {
11065 test -z "$ac_c_werror_flag" ||
11066 test ! -s conftest.err
11067 } && test -s conftest$ac_exeext &&
11068 $as_test_x conftest$ac_exeext; then
11069 case "$LIBEXT" in
11070 dll) ;;
11071 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'` ;;
11072 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11073 esac
11074 else
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.$ac_ext >&5
11081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_soname_save_LIBS
11085 if test "x$ac_cv_lib_soname_GL" = "x"; then
11086 { echo "$as_me:$LINENO: result: not found" >&5
11087 echo "${ECHO_T}not found" >&6; }
11088 if test -f /usr/X11R6/lib/libGL.a
11089 then
11090 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11091 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11092 else
11093 opengl_msg="No OpenGL library found on this system."
11095 else
11096 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11097 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11099 cat >>confdefs.h <<_ACEOF
11100 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11101 _ACEOF
11103 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"
11104 OPENGLFILES='$(OPENGLFILES)'
11106 cat >>confdefs.h <<\_ACEOF
11107 #define HAVE_OPENGL 1
11108 _ACEOF
11112 else
11113 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11114 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11116 cat >>confdefs.h <<_ACEOF
11117 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11118 _ACEOF
11120 OPENGL_LIBS="-lGL"
11121 OPENGLFILES='$(OPENGLFILES)'
11123 cat >>confdefs.h <<\_ACEOF
11124 #define HAVE_OPENGL 1
11125 _ACEOF
11129 if test "$ac_cv_header_GL_glu_h" = "yes"
11130 then
11131 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11132 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11133 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11134 echo $ECHO_N "(cached) $ECHO_C" >&6
11135 else
11136 ac_check_soname_save_LIBS=$LIBS
11137 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11138 cat >conftest.$ac_ext <<_ACEOF
11139 /* confdefs.h. */
11140 _ACEOF
11141 cat confdefs.h >>conftest.$ac_ext
11142 cat >>conftest.$ac_ext <<_ACEOF
11143 /* end confdefs.h. */
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char gluLookAt ();
11153 main ()
11155 return gluLookAt ();
11157 return 0;
11159 _ACEOF
11160 rm -f conftest.$ac_objext conftest$ac_exeext
11161 if { (ac_try="$ac_link"
11162 case "(($ac_try" in
11163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11164 *) ac_try_echo=$ac_try;;
11165 esac
11166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11167 (eval "$ac_link") 2>conftest.er1
11168 ac_status=$?
11169 grep -v '^ *+' conftest.er1 >conftest.err
11170 rm -f conftest.er1
11171 cat conftest.err >&5
11172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11173 (exit $ac_status); } && {
11174 test -z "$ac_c_werror_flag" ||
11175 test ! -s conftest.err
11176 } && test -s conftest$ac_exeext &&
11177 $as_test_x conftest$ac_exeext; then
11178 case "$LIBEXT" in
11179 dll) ;;
11180 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11181 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11182 esac
11183 else
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11191 conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_soname_save_LIBS
11194 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11195 { echo "$as_me:$LINENO: result: not found" >&5
11196 echo "${ECHO_T}not found" >&6; }
11198 else
11199 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11200 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11202 cat >>confdefs.h <<_ACEOF
11203 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11204 _ACEOF
11206 GLU32FILES='$(GLU32FILES)'
11210 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11211 case "x$with_glu" in
11212 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11213 xno) ;;
11214 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11215 This is an error since --with-glu was requested." >&5
11216 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11217 This is an error since --with-glu was requested." >&2;}
11218 { (exit 1); exit 1; }; } ;;
11219 esac
11222 else
11223 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11225 else
11226 opengl_msg="OpenGL development headers not found."
11229 if test -n "$opengl_msg"; then
11230 case "x$with_opengl" in
11231 x) wine_warnings="$wine_warnings|$opengl_msg
11232 OpenGL and Direct3D won't be supported." ;;
11233 xno) ;;
11234 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11235 OpenGL and Direct3D won't be supported.
11236 This is an error since --with-opengl was requested." >&5
11237 echo "$as_me: error: $opengl_msg
11238 OpenGL and Direct3D won't be supported.
11239 This is an error since --with-opengl was requested." >&2;}
11240 { (exit 1); exit 1; }; } ;;
11241 esac
11245 NASLIBS=""
11248 for ac_header in audio/audiolib.h
11250 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11255 echo $ECHO_N "(cached) $ECHO_C" >&6
11257 ac_res=`eval echo '${'$as_ac_Header'}'`
11258 { echo "$as_me:$LINENO: result: $ac_res" >&5
11259 echo "${ECHO_T}$ac_res" >&6; }
11260 else
11261 # Is the header compilable?
11262 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11263 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
11271 #include <$ac_header>
11272 _ACEOF
11273 rm -f conftest.$ac_objext
11274 if { (ac_try="$ac_compile"
11275 case "(($ac_try" in
11276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11277 *) ac_try_echo=$ac_try;;
11278 esac
11279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11280 (eval "$ac_compile") 2>conftest.er1
11281 ac_status=$?
11282 grep -v '^ *+' conftest.er1 >conftest.err
11283 rm -f conftest.er1
11284 cat conftest.err >&5
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); } && {
11287 test -z "$ac_c_werror_flag" ||
11288 test ! -s conftest.err
11289 } && test -s conftest.$ac_objext; then
11290 ac_header_compiler=yes
11291 else
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.$ac_ext >&5
11295 ac_header_compiler=no
11298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11299 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11300 echo "${ECHO_T}$ac_header_compiler" >&6; }
11302 # Is the header present?
11303 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11304 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11305 cat >conftest.$ac_ext <<_ACEOF
11306 /* confdefs.h. */
11307 _ACEOF
11308 cat confdefs.h >>conftest.$ac_ext
11309 cat >>conftest.$ac_ext <<_ACEOF
11310 /* end confdefs.h. */
11311 #include <$ac_header>
11312 _ACEOF
11313 if { (ac_try="$ac_cpp conftest.$ac_ext"
11314 case "(($ac_try" in
11315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11316 *) ac_try_echo=$ac_try;;
11317 esac
11318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11319 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11320 ac_status=$?
11321 grep -v '^ *+' conftest.er1 >conftest.err
11322 rm -f conftest.er1
11323 cat conftest.err >&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); } >/dev/null && {
11326 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11327 test ! -s conftest.err
11328 }; then
11329 ac_header_preproc=yes
11330 else
11331 echo "$as_me: failed program was:" >&5
11332 sed 's/^/| /' conftest.$ac_ext >&5
11334 ac_header_preproc=no
11337 rm -f conftest.err conftest.$ac_ext
11338 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11339 echo "${ECHO_T}$ac_header_preproc" >&6; }
11341 # So? What about this header?
11342 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11343 yes:no: )
11344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11347 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11348 ac_header_preproc=yes
11350 no:yes:* )
11351 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11352 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11353 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11354 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11355 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11356 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11357 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11358 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11360 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11361 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11362 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11363 ( cat <<\_ASBOX
11364 ## ------------------------------------ ##
11365 ## Report this to wine-devel@winehq.org ##
11366 ## ------------------------------------ ##
11367 _ASBOX
11368 ) | sed "s/^/$as_me: WARNING: /" >&2
11370 esac
11371 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11374 echo $ECHO_N "(cached) $ECHO_C" >&6
11375 else
11376 eval "$as_ac_Header=\$ac_header_preproc"
11378 ac_res=`eval echo '${'$as_ac_Header'}'`
11379 { echo "$as_me:$LINENO: result: $ac_res" >&5
11380 echo "${ECHO_T}$ac_res" >&6; }
11383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11384 cat >>confdefs.h <<_ACEOF
11385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11386 _ACEOF
11388 for ac_header in audio/soundlib.h
11390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11391 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11394 echo $ECHO_N "(cached) $ECHO_C" >&6
11395 else
11396 cat >conftest.$ac_ext <<_ACEOF
11397 /* confdefs.h. */
11398 _ACEOF
11399 cat confdefs.h >>conftest.$ac_ext
11400 cat >>conftest.$ac_ext <<_ACEOF
11401 /* end confdefs.h. */
11402 #include <audio/audiolib.h>
11404 #include <$ac_header>
11405 _ACEOF
11406 rm -f conftest.$ac_objext
11407 if { (ac_try="$ac_compile"
11408 case "(($ac_try" in
11409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11410 *) ac_try_echo=$ac_try;;
11411 esac
11412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11413 (eval "$ac_compile") 2>conftest.er1
11414 ac_status=$?
11415 grep -v '^ *+' conftest.er1 >conftest.err
11416 rm -f conftest.er1
11417 cat conftest.err >&5
11418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); } && {
11420 test -z "$ac_c_werror_flag" ||
11421 test ! -s conftest.err
11422 } && test -s conftest.$ac_objext; then
11423 eval "$as_ac_Header=yes"
11424 else
11425 echo "$as_me: failed program was:" >&5
11426 sed 's/^/| /' conftest.$ac_ext >&5
11428 eval "$as_ac_Header=no"
11431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11433 ac_res=`eval echo '${'$as_ac_Header'}'`
11434 { echo "$as_me:$LINENO: result: $ac_res" >&5
11435 echo "${ECHO_T}$ac_res" >&6; }
11436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11437 cat >>confdefs.h <<_ACEOF
11438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11439 _ACEOF
11443 done
11445 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11446 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11447 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11448 echo $ECHO_N "(cached) $ECHO_C" >&6
11449 else
11450 ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11452 cat >conftest.$ac_ext <<_ACEOF
11453 /* confdefs.h. */
11454 _ACEOF
11455 cat confdefs.h >>conftest.$ac_ext
11456 cat >>conftest.$ac_ext <<_ACEOF
11457 /* end confdefs.h. */
11459 /* Override any GCC internal prototype to avoid an error.
11460 Use char because int might match the return type of a GCC
11461 builtin and then its argument prototype would still apply. */
11462 #ifdef __cplusplus
11463 extern "C"
11464 #endif
11465 char AuCreateFlow ();
11467 main ()
11469 return AuCreateFlow ();
11471 return 0;
11473 _ACEOF
11474 rm -f conftest.$ac_objext conftest$ac_exeext
11475 if { (ac_try="$ac_link"
11476 case "(($ac_try" in
11477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11478 *) ac_try_echo=$ac_try;;
11479 esac
11480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11481 (eval "$ac_link") 2>conftest.er1
11482 ac_status=$?
11483 grep -v '^ *+' conftest.er1 >conftest.err
11484 rm -f conftest.er1
11485 cat conftest.err >&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); } && {
11488 test -z "$ac_c_werror_flag" ||
11489 test ! -s conftest.err
11490 } && test -s conftest$ac_exeext &&
11491 $as_test_x conftest$ac_exeext; then
11492 ac_cv_lib_audio_AuCreateFlow=yes
11493 else
11494 echo "$as_me: failed program was:" >&5
11495 sed 's/^/| /' conftest.$ac_ext >&5
11497 ac_cv_lib_audio_AuCreateFlow=no
11500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11501 conftest$ac_exeext conftest.$ac_ext
11502 LIBS=$ac_check_lib_save_LIBS
11504 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11505 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11506 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11508 cat >>confdefs.h <<\_ACEOF
11509 #define HAVE_NAS 1
11510 _ACEOF
11512 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11513 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11514 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11515 echo $ECHO_N "(cached) $ECHO_C" >&6
11516 else
11517 ac_check_lib_save_LIBS=$LIBS
11518 LIBS="-lXau $X_LIBS $LIBS"
11519 cat >conftest.$ac_ext <<_ACEOF
11520 /* confdefs.h. */
11521 _ACEOF
11522 cat confdefs.h >>conftest.$ac_ext
11523 cat >>conftest.$ac_ext <<_ACEOF
11524 /* end confdefs.h. */
11526 /* Override any GCC internal prototype to avoid an error.
11527 Use char because int might match the return type of a GCC
11528 builtin and then its argument prototype would still apply. */
11529 #ifdef __cplusplus
11530 extern "C"
11531 #endif
11532 char XauGetBestAuthByAddr ();
11534 main ()
11536 return XauGetBestAuthByAddr ();
11538 return 0;
11540 _ACEOF
11541 rm -f conftest.$ac_objext conftest$ac_exeext
11542 if { (ac_try="$ac_link"
11543 case "(($ac_try" in
11544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11545 *) ac_try_echo=$ac_try;;
11546 esac
11547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11548 (eval "$ac_link") 2>conftest.er1
11549 ac_status=$?
11550 grep -v '^ *+' conftest.er1 >conftest.err
11551 rm -f conftest.er1
11552 cat conftest.err >&5
11553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11554 (exit $ac_status); } && {
11555 test -z "$ac_c_werror_flag" ||
11556 test ! -s conftest.err
11557 } && test -s conftest$ac_exeext &&
11558 $as_test_x conftest$ac_exeext; then
11559 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11560 else
11561 echo "$as_me: failed program was:" >&5
11562 sed 's/^/| /' conftest.$ac_ext >&5
11564 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11568 conftest$ac_exeext conftest.$ac_ext
11569 LIBS=$ac_check_lib_save_LIBS
11571 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11572 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11573 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11574 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11575 else
11576 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11584 done
11587 CPPFLAGS="$ac_save_CPPFLAGS"
11588 XFILES='$(XFILES)'
11589 else
11590 XLIB=""
11591 X_CFLAGS=""
11592 X_LIBS=""
11594 if test "x$XLIB" = "x"; then
11595 case "x$with_x" in
11596 xno) ;;
11597 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11598 without X support, which probably isn't what you want. You will need to install
11599 development packages of Xlib/Xfree86 at the very least.
11600 Use the --without-x option if you really want this." >&5
11601 echo "$as_me: error: X development files not found. Wine will be built
11602 without X support, which probably isn't what you want. You will need to install
11603 development packages of Xlib/Xfree86 at the very least.
11604 Use the --without-x option if you really want this." >&2;}
11605 { (exit 1); exit 1; }; } ;;
11606 esac
11611 XML2LIBS=""
11613 XML2INCL=""
11615 XSLTLIBS=""
11617 XSLTINCL=""
11619 if test "x$with_xml" != "xno"
11620 then
11621 ac_save_CPPFLAGS="$CPPFLAGS"
11622 if test "$PKG_CONFIG" != "false"
11623 then
11624 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11625 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11626 else
11627 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11628 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11630 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11632 for ac_header in libxml/parser.h
11634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11636 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11638 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11639 echo $ECHO_N "(cached) $ECHO_C" >&6
11641 ac_res=`eval echo '${'$as_ac_Header'}'`
11642 { echo "$as_me:$LINENO: result: $ac_res" >&5
11643 echo "${ECHO_T}$ac_res" >&6; }
11644 else
11645 # Is the header compilable?
11646 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11648 cat >conftest.$ac_ext <<_ACEOF
11649 /* confdefs.h. */
11650 _ACEOF
11651 cat confdefs.h >>conftest.$ac_ext
11652 cat >>conftest.$ac_ext <<_ACEOF
11653 /* end confdefs.h. */
11654 $ac_includes_default
11655 #include <$ac_header>
11656 _ACEOF
11657 rm -f conftest.$ac_objext
11658 if { (ac_try="$ac_compile"
11659 case "(($ac_try" in
11660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11661 *) ac_try_echo=$ac_try;;
11662 esac
11663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11664 (eval "$ac_compile") 2>conftest.er1
11665 ac_status=$?
11666 grep -v '^ *+' conftest.er1 >conftest.err
11667 rm -f conftest.er1
11668 cat conftest.err >&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); } && {
11671 test -z "$ac_c_werror_flag" ||
11672 test ! -s conftest.err
11673 } && test -s conftest.$ac_objext; then
11674 ac_header_compiler=yes
11675 else
11676 echo "$as_me: failed program was:" >&5
11677 sed 's/^/| /' conftest.$ac_ext >&5
11679 ac_header_compiler=no
11682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11683 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11684 echo "${ECHO_T}$ac_header_compiler" >&6; }
11686 # Is the header present?
11687 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11689 cat >conftest.$ac_ext <<_ACEOF
11690 /* confdefs.h. */
11691 _ACEOF
11692 cat confdefs.h >>conftest.$ac_ext
11693 cat >>conftest.$ac_ext <<_ACEOF
11694 /* end confdefs.h. */
11695 #include <$ac_header>
11696 _ACEOF
11697 if { (ac_try="$ac_cpp conftest.$ac_ext"
11698 case "(($ac_try" in
11699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11700 *) ac_try_echo=$ac_try;;
11701 esac
11702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11704 ac_status=$?
11705 grep -v '^ *+' conftest.er1 >conftest.err
11706 rm -f conftest.er1
11707 cat conftest.err >&5
11708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); } >/dev/null && {
11710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11711 test ! -s conftest.err
11712 }; then
11713 ac_header_preproc=yes
11714 else
11715 echo "$as_me: failed program was:" >&5
11716 sed 's/^/| /' conftest.$ac_ext >&5
11718 ac_header_preproc=no
11721 rm -f conftest.err conftest.$ac_ext
11722 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11723 echo "${ECHO_T}$ac_header_preproc" >&6; }
11725 # So? What about this header?
11726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11727 yes:no: )
11728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11731 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11732 ac_header_preproc=yes
11734 no:yes:* )
11735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11736 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11738 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11739 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11740 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11741 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11742 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11745 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11746 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11747 ( cat <<\_ASBOX
11748 ## ------------------------------------ ##
11749 ## Report this to wine-devel@winehq.org ##
11750 ## ------------------------------------ ##
11751 _ASBOX
11752 ) | sed "s/^/$as_me: WARNING: /" >&2
11754 esac
11755 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11757 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 else
11760 eval "$as_ac_Header=\$ac_header_preproc"
11762 ac_res=`eval echo '${'$as_ac_Header'}'`
11763 { echo "$as_me:$LINENO: result: $ac_res" >&5
11764 echo "${ECHO_T}$ac_res" >&6; }
11767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11768 cat >>confdefs.h <<_ACEOF
11769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11770 _ACEOF
11771 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11772 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11773 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11774 echo $ECHO_N "(cached) $ECHO_C" >&6
11775 else
11776 ac_check_lib_save_LIBS=$LIBS
11777 LIBS="-lxml2 $ac_xml_libs $LIBS"
11778 cat >conftest.$ac_ext <<_ACEOF
11779 /* confdefs.h. */
11780 _ACEOF
11781 cat confdefs.h >>conftest.$ac_ext
11782 cat >>conftest.$ac_ext <<_ACEOF
11783 /* end confdefs.h. */
11785 /* Override any GCC internal prototype to avoid an error.
11786 Use char because int might match the return type of a GCC
11787 builtin and then its argument prototype would still apply. */
11788 #ifdef __cplusplus
11789 extern "C"
11790 #endif
11791 char xmlParseMemory ();
11793 main ()
11795 return xmlParseMemory ();
11797 return 0;
11799 _ACEOF
11800 rm -f conftest.$ac_objext conftest$ac_exeext
11801 if { (ac_try="$ac_link"
11802 case "(($ac_try" in
11803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11804 *) ac_try_echo=$ac_try;;
11805 esac
11806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11807 (eval "$ac_link") 2>conftest.er1
11808 ac_status=$?
11809 grep -v '^ *+' conftest.er1 >conftest.err
11810 rm -f conftest.er1
11811 cat conftest.err >&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } && {
11814 test -z "$ac_c_werror_flag" ||
11815 test ! -s conftest.err
11816 } && test -s conftest$ac_exeext &&
11817 $as_test_x conftest$ac_exeext; then
11818 ac_cv_lib_xml2_xmlParseMemory=yes
11819 else
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.$ac_ext >&5
11823 ac_cv_lib_xml2_xmlParseMemory=no
11826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_lib_save_LIBS
11830 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11831 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11832 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11834 cat >>confdefs.h <<\_ACEOF
11835 #define HAVE_LIBXML2 1
11836 _ACEOF
11838 XML2LIBS="$ac_xml_libs"
11839 XML2INCL="$ac_xml_cflags"
11842 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11843 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11844 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11845 echo $ECHO_N "(cached) $ECHO_C" >&6
11846 else
11847 ac_check_lib_save_LIBS=$LIBS
11848 LIBS="-lxml2 $ac_xml_libs $LIBS"
11849 cat >conftest.$ac_ext <<_ACEOF
11850 /* confdefs.h. */
11851 _ACEOF
11852 cat confdefs.h >>conftest.$ac_ext
11853 cat >>conftest.$ac_ext <<_ACEOF
11854 /* end confdefs.h. */
11856 /* Override any GCC internal prototype to avoid an error.
11857 Use char because int might match the return type of a GCC
11858 builtin and then its argument prototype would still apply. */
11859 #ifdef __cplusplus
11860 extern "C"
11861 #endif
11862 char xmlReadMemory ();
11864 main ()
11866 return xmlReadMemory ();
11868 return 0;
11870 _ACEOF
11871 rm -f conftest.$ac_objext conftest$ac_exeext
11872 if { (ac_try="$ac_link"
11873 case "(($ac_try" in
11874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11875 *) ac_try_echo=$ac_try;;
11876 esac
11877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11878 (eval "$ac_link") 2>conftest.er1
11879 ac_status=$?
11880 grep -v '^ *+' conftest.er1 >conftest.err
11881 rm -f conftest.er1
11882 cat conftest.err >&5
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); } && {
11885 test -z "$ac_c_werror_flag" ||
11886 test ! -s conftest.err
11887 } && test -s conftest$ac_exeext &&
11888 $as_test_x conftest$ac_exeext; then
11889 ac_cv_lib_xml2_xmlReadMemory=yes
11890 else
11891 echo "$as_me: failed program was:" >&5
11892 sed 's/^/| /' conftest.$ac_ext >&5
11894 ac_cv_lib_xml2_xmlReadMemory=no
11897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_lib_save_LIBS
11901 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11902 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11903 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11905 cat >>confdefs.h <<\_ACEOF
11906 #define HAVE_XMLREADMEMORY 1
11907 _ACEOF
11911 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11912 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11913 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11914 echo $ECHO_N "(cached) $ECHO_C" >&6
11915 else
11916 ac_check_lib_save_LIBS=$LIBS
11917 LIBS="-lxml2 $ac_xml_libs $LIBS"
11918 cat >conftest.$ac_ext <<_ACEOF
11919 /* confdefs.h. */
11920 _ACEOF
11921 cat confdefs.h >>conftest.$ac_ext
11922 cat >>conftest.$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11925 /* Override any GCC internal prototype to avoid an error.
11926 Use char because int might match the return type of a GCC
11927 builtin and then its argument prototype would still apply. */
11928 #ifdef __cplusplus
11929 extern "C"
11930 #endif
11931 char xmlNewDocPI ();
11933 main ()
11935 return xmlNewDocPI ();
11937 return 0;
11939 _ACEOF
11940 rm -f conftest.$ac_objext conftest$ac_exeext
11941 if { (ac_try="$ac_link"
11942 case "(($ac_try" in
11943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11944 *) ac_try_echo=$ac_try;;
11945 esac
11946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11947 (eval "$ac_link") 2>conftest.er1
11948 ac_status=$?
11949 grep -v '^ *+' conftest.er1 >conftest.err
11950 rm -f conftest.er1
11951 cat conftest.err >&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } && {
11954 test -z "$ac_c_werror_flag" ||
11955 test ! -s conftest.err
11956 } && test -s conftest$ac_exeext &&
11957 $as_test_x conftest$ac_exeext; then
11958 ac_cv_lib_xml2_xmlNewDocPI=yes
11959 else
11960 echo "$as_me: failed program was:" >&5
11961 sed 's/^/| /' conftest.$ac_ext >&5
11963 ac_cv_lib_xml2_xmlNewDocPI=no
11966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11967 conftest$ac_exeext conftest.$ac_ext
11968 LIBS=$ac_check_lib_save_LIBS
11970 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11971 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11972 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11974 cat >>confdefs.h <<\_ACEOF
11975 #define HAVE_XMLNEWDOCPI 1
11976 _ACEOF
11983 done
11985 CPPFLAGS="$ac_save_CPPFLAGS"
11987 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11988 case "x$with_xml" in
11989 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
11990 xno) ;;
11991 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11992 This is an error since --with-xml was requested." >&5
11993 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11994 This is an error since --with-xml was requested." >&2;}
11995 { (exit 1); exit 1; }; } ;;
11996 esac
12000 if test "x$with_xslt" != "xno"
12001 then
12002 if test "$PKG_CONFIG" != "false"
12003 then
12004 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12005 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12006 else
12007 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12008 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12010 ac_save_CPPFLAGS="$CPPFLAGS"
12011 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
12014 for ac_header in libxslt/pattern.h libxslt/transform.h
12016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12017 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12018 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12019 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12020 echo $ECHO_N "(cached) $ECHO_C" >&6
12021 else
12022 cat >conftest.$ac_ext <<_ACEOF
12023 /* confdefs.h. */
12024 _ACEOF
12025 cat confdefs.h >>conftest.$ac_ext
12026 cat >>conftest.$ac_ext <<_ACEOF
12027 /* end confdefs.h. */
12028 #ifdef HAVE_LIBXSLT_PATTERN_H
12029 # include <libxslt/pattern.h>
12030 #endif
12032 #include <$ac_header>
12033 _ACEOF
12034 rm -f conftest.$ac_objext
12035 if { (ac_try="$ac_compile"
12036 case "(($ac_try" in
12037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12038 *) ac_try_echo=$ac_try;;
12039 esac
12040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12041 (eval "$ac_compile") 2>conftest.er1
12042 ac_status=$?
12043 grep -v '^ *+' conftest.er1 >conftest.err
12044 rm -f conftest.er1
12045 cat conftest.err >&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); } && {
12048 test -z "$ac_c_werror_flag" ||
12049 test ! -s conftest.err
12050 } && test -s conftest.$ac_objext; then
12051 eval "$as_ac_Header=yes"
12052 else
12053 echo "$as_me: failed program was:" >&5
12054 sed 's/^/| /' conftest.$ac_ext >&5
12056 eval "$as_ac_Header=no"
12059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12061 ac_res=`eval echo '${'$as_ac_Header'}'`
12062 { echo "$as_me:$LINENO: result: $ac_res" >&5
12063 echo "${ECHO_T}$ac_res" >&6; }
12064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12065 cat >>confdefs.h <<_ACEOF
12066 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12067 _ACEOF
12071 done
12073 CPPFLAGS="$ac_save_CPPFLAGS"
12074 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12075 then
12076 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12077 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12078 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12079 echo $ECHO_N "(cached) $ECHO_C" >&6
12080 else
12081 ac_check_lib_save_LIBS=$LIBS
12082 LIBS="-lxslt $ac_xslt_libs $LIBS"
12083 cat >conftest.$ac_ext <<_ACEOF
12084 /* confdefs.h. */
12085 _ACEOF
12086 cat confdefs.h >>conftest.$ac_ext
12087 cat >>conftest.$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12093 #ifdef __cplusplus
12094 extern "C"
12095 #endif
12096 char xsltCompilePattern ();
12098 main ()
12100 return xsltCompilePattern ();
12102 return 0;
12104 _ACEOF
12105 rm -f conftest.$ac_objext conftest$ac_exeext
12106 if { (ac_try="$ac_link"
12107 case "(($ac_try" in
12108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12109 *) ac_try_echo=$ac_try;;
12110 esac
12111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12112 (eval "$ac_link") 2>conftest.er1
12113 ac_status=$?
12114 grep -v '^ *+' conftest.er1 >conftest.err
12115 rm -f conftest.er1
12116 cat conftest.err >&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); } && {
12119 test -z "$ac_c_werror_flag" ||
12120 test ! -s conftest.err
12121 } && test -s conftest$ac_exeext &&
12122 $as_test_x conftest$ac_exeext; then
12123 ac_cv_lib_xslt_xsltCompilePattern=yes
12124 else
12125 echo "$as_me: failed program was:" >&5
12126 sed 's/^/| /' conftest.$ac_ext >&5
12128 ac_cv_lib_xslt_xsltCompilePattern=no
12131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12132 conftest$ac_exeext conftest.$ac_ext
12133 LIBS=$ac_check_lib_save_LIBS
12135 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12136 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12137 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12139 cat >>confdefs.h <<\_ACEOF
12140 #define HAVE_LIBXSLT 1
12141 _ACEOF
12143 XSLTLIBS="$ac_xslt_libs"
12144 XSLTINCL="$ac_xslt_cflags"
12145 ac_save_LIBS="$LIBS"
12146 LIBS="$LIBS $ac_xslt_libs"
12148 for ac_func in xsltInit
12150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12151 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12153 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 else
12156 cat >conftest.$ac_ext <<_ACEOF
12157 /* confdefs.h. */
12158 _ACEOF
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12164 #define $ac_func innocuous_$ac_func
12166 /* System header to define __stub macros and hopefully few prototypes,
12167 which can conflict with char $ac_func (); below.
12168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12169 <limits.h> exists even on freestanding compilers. */
12171 #ifdef __STDC__
12172 # include <limits.h>
12173 #else
12174 # include <assert.h>
12175 #endif
12177 #undef $ac_func
12179 /* Override any GCC internal prototype to avoid an error.
12180 Use char because int might match the return type of a GCC
12181 builtin and then its argument prototype would still apply. */
12182 #ifdef __cplusplus
12183 extern "C"
12184 #endif
12185 char $ac_func ();
12186 /* The GNU C library defines this for functions which it implements
12187 to always fail with ENOSYS. Some functions are actually named
12188 something starting with __ and the normal name is an alias. */
12189 #if defined __stub_$ac_func || defined __stub___$ac_func
12190 choke me
12191 #endif
12194 main ()
12196 return $ac_func ();
12198 return 0;
12200 _ACEOF
12201 rm -f conftest.$ac_objext conftest$ac_exeext
12202 if { (ac_try="$ac_link"
12203 case "(($ac_try" in
12204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12205 *) ac_try_echo=$ac_try;;
12206 esac
12207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12208 (eval "$ac_link") 2>conftest.er1
12209 ac_status=$?
12210 grep -v '^ *+' conftest.er1 >conftest.err
12211 rm -f conftest.er1
12212 cat conftest.err >&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } && {
12215 test -z "$ac_c_werror_flag" ||
12216 test ! -s conftest.err
12217 } && test -s conftest$ac_exeext &&
12218 $as_test_x conftest$ac_exeext; then
12219 eval "$as_ac_var=yes"
12220 else
12221 echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.$ac_ext >&5
12224 eval "$as_ac_var=no"
12227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12228 conftest$ac_exeext conftest.$ac_ext
12230 ac_res=`eval echo '${'$as_ac_var'}'`
12231 { echo "$as_me:$LINENO: result: $ac_res" >&5
12232 echo "${ECHO_T}$ac_res" >&6; }
12233 if test `eval echo '${'$as_ac_var'}'` = yes; then
12234 cat >>confdefs.h <<_ACEOF
12235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12236 _ACEOF
12239 done
12241 LIBS="$ac_save_LIBS"
12246 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12247 case "x$with_xslt" in
12248 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12249 xno) ;;
12250 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12251 This is an error since --with-xslt was requested." >&5
12252 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12253 This is an error since --with-xslt was requested." >&2;}
12254 { (exit 1); exit 1; }; } ;;
12255 esac
12259 HALINCL=""
12261 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12262 then
12263 ac_save_CPPFLAGS="$CPPFLAGS"
12264 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12265 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12266 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12269 for ac_header in dbus/dbus.h hal/libhal.h
12271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12273 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12275 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12276 echo $ECHO_N "(cached) $ECHO_C" >&6
12278 ac_res=`eval echo '${'$as_ac_Header'}'`
12279 { echo "$as_me:$LINENO: result: $ac_res" >&5
12280 echo "${ECHO_T}$ac_res" >&6; }
12281 else
12282 # Is the header compilable?
12283 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12285 cat >conftest.$ac_ext <<_ACEOF
12286 /* confdefs.h. */
12287 _ACEOF
12288 cat confdefs.h >>conftest.$ac_ext
12289 cat >>conftest.$ac_ext <<_ACEOF
12290 /* end confdefs.h. */
12291 $ac_includes_default
12292 #include <$ac_header>
12293 _ACEOF
12294 rm -f conftest.$ac_objext
12295 if { (ac_try="$ac_compile"
12296 case "(($ac_try" in
12297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12298 *) ac_try_echo=$ac_try;;
12299 esac
12300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12301 (eval "$ac_compile") 2>conftest.er1
12302 ac_status=$?
12303 grep -v '^ *+' conftest.er1 >conftest.err
12304 rm -f conftest.er1
12305 cat conftest.err >&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); } && {
12308 test -z "$ac_c_werror_flag" ||
12309 test ! -s conftest.err
12310 } && test -s conftest.$ac_objext; then
12311 ac_header_compiler=yes
12312 else
12313 echo "$as_me: failed program was:" >&5
12314 sed 's/^/| /' conftest.$ac_ext >&5
12316 ac_header_compiler=no
12319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12320 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12321 echo "${ECHO_T}$ac_header_compiler" >&6; }
12323 # Is the header present?
12324 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12326 cat >conftest.$ac_ext <<_ACEOF
12327 /* confdefs.h. */
12328 _ACEOF
12329 cat confdefs.h >>conftest.$ac_ext
12330 cat >>conftest.$ac_ext <<_ACEOF
12331 /* end confdefs.h. */
12332 #include <$ac_header>
12333 _ACEOF
12334 if { (ac_try="$ac_cpp conftest.$ac_ext"
12335 case "(($ac_try" in
12336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12337 *) ac_try_echo=$ac_try;;
12338 esac
12339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12341 ac_status=$?
12342 grep -v '^ *+' conftest.er1 >conftest.err
12343 rm -f conftest.er1
12344 cat conftest.err >&5
12345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346 (exit $ac_status); } >/dev/null && {
12347 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12348 test ! -s conftest.err
12349 }; then
12350 ac_header_preproc=yes
12351 else
12352 echo "$as_me: failed program was:" >&5
12353 sed 's/^/| /' conftest.$ac_ext >&5
12355 ac_header_preproc=no
12358 rm -f conftest.err conftest.$ac_ext
12359 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12360 echo "${ECHO_T}$ac_header_preproc" >&6; }
12362 # So? What about this header?
12363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12364 yes:no: )
12365 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12366 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12368 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12369 ac_header_preproc=yes
12371 no:yes:* )
12372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12376 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12377 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12378 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12379 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12381 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12382 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12383 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12384 ( cat <<\_ASBOX
12385 ## ------------------------------------ ##
12386 ## Report this to wine-devel@winehq.org ##
12387 ## ------------------------------------ ##
12388 _ASBOX
12389 ) | sed "s/^/$as_me: WARNING: /" >&2
12391 esac
12392 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 else
12397 eval "$as_ac_Header=\$ac_header_preproc"
12399 ac_res=`eval echo '${'$as_ac_Header'}'`
12400 { echo "$as_me:$LINENO: result: $ac_res" >&5
12401 echo "${ECHO_T}$ac_res" >&6; }
12404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12405 cat >>confdefs.h <<_ACEOF
12406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12407 _ACEOF
12411 done
12413 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12414 then
12415 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12416 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12417 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12418 echo $ECHO_N "(cached) $ECHO_C" >&6
12419 else
12420 ac_check_lib_save_LIBS=$LIBS
12421 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12422 cat >conftest.$ac_ext <<_ACEOF
12423 /* confdefs.h. */
12424 _ACEOF
12425 cat confdefs.h >>conftest.$ac_ext
12426 cat >>conftest.$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12429 /* Override any GCC internal prototype to avoid an error.
12430 Use char because int might match the return type of a GCC
12431 builtin and then its argument prototype would still apply. */
12432 #ifdef __cplusplus
12433 extern "C"
12434 #endif
12435 char dbus_connection_close ();
12437 main ()
12439 return dbus_connection_close ();
12441 return 0;
12443 _ACEOF
12444 rm -f conftest.$ac_objext conftest$ac_exeext
12445 if { (ac_try="$ac_link"
12446 case "(($ac_try" in
12447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12448 *) ac_try_echo=$ac_try;;
12449 esac
12450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12451 (eval "$ac_link") 2>conftest.er1
12452 ac_status=$?
12453 grep -v '^ *+' conftest.er1 >conftest.err
12454 rm -f conftest.er1
12455 cat conftest.err >&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); } && {
12458 test -z "$ac_c_werror_flag" ||
12459 test ! -s conftest.err
12460 } && test -s conftest$ac_exeext &&
12461 $as_test_x conftest$ac_exeext; then
12462 ac_cv_lib_dbus_1_dbus_connection_close=yes
12463 else
12464 echo "$as_me: failed program was:" >&5
12465 sed 's/^/| /' conftest.$ac_ext >&5
12467 ac_cv_lib_dbus_1_dbus_connection_close=no
12470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12471 conftest$ac_exeext conftest.$ac_ext
12472 LIBS=$ac_check_lib_save_LIBS
12474 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12475 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12476 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12477 { echo "$as_me:$LINENO: checking for -lhal" >&5
12478 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12479 if test "${ac_cv_lib_soname_hal+set}" = set; then
12480 echo $ECHO_N "(cached) $ECHO_C" >&6
12481 else
12482 ac_check_soname_save_LIBS=$LIBS
12483 LIBS="-lhal $ac_hal_libs $LIBS"
12484 cat >conftest.$ac_ext <<_ACEOF
12485 /* confdefs.h. */
12486 _ACEOF
12487 cat confdefs.h >>conftest.$ac_ext
12488 cat >>conftest.$ac_ext <<_ACEOF
12489 /* end confdefs.h. */
12491 /* Override any GCC internal prototype to avoid an error.
12492 Use char because int might match the return type of a GCC
12493 builtin and then its argument prototype would still apply. */
12494 #ifdef __cplusplus
12495 extern "C"
12496 #endif
12497 char libhal_ctx_new ();
12499 main ()
12501 return libhal_ctx_new ();
12503 return 0;
12505 _ACEOF
12506 rm -f conftest.$ac_objext conftest$ac_exeext
12507 if { (ac_try="$ac_link"
12508 case "(($ac_try" in
12509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12510 *) ac_try_echo=$ac_try;;
12511 esac
12512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12513 (eval "$ac_link") 2>conftest.er1
12514 ac_status=$?
12515 grep -v '^ *+' conftest.er1 >conftest.err
12516 rm -f conftest.er1
12517 cat conftest.err >&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); } && {
12520 test -z "$ac_c_werror_flag" ||
12521 test ! -s conftest.err
12522 } && test -s conftest$ac_exeext &&
12523 $as_test_x conftest$ac_exeext; then
12524 case "$LIBEXT" in
12525 dll) ;;
12526 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'` ;;
12527 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12528 esac
12529 else
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.$ac_ext >&5
12536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12537 conftest$ac_exeext conftest.$ac_ext
12538 LIBS=$ac_check_soname_save_LIBS
12540 if test "x$ac_cv_lib_soname_hal" = "x"; then
12541 { echo "$as_me:$LINENO: result: not found" >&5
12542 echo "${ECHO_T}not found" >&6; }
12544 else
12545 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12546 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12548 cat >>confdefs.h <<_ACEOF
12549 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12550 _ACEOF
12552 HALINCL="$ac_hal_cflags"
12558 CPPFLAGS="$ac_save_CPPFLAGS"
12560 if test "x$ac_cv_lib_soname_hal" = "x"; then
12561 case "x$with_hal" in
12562 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12563 xno) ;;
12564 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12565 This is an error since --with-hal was requested." >&5
12566 echo "$as_me: error: libhal development files not found, no dynamic device support.
12567 This is an error since --with-hal was requested." >&2;}
12568 { (exit 1); exit 1; }; } ;;
12569 esac
12573 CURSESLIBS=""
12574 if test "$ac_cv_header_ncurses_h" = "yes"
12575 then
12576 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12577 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12578 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12579 echo $ECHO_N "(cached) $ECHO_C" >&6
12580 else
12581 ac_check_soname_save_LIBS=$LIBS
12582 LIBS="-lncurses $LIBS"
12583 cat >conftest.$ac_ext <<_ACEOF
12584 /* confdefs.h. */
12585 _ACEOF
12586 cat confdefs.h >>conftest.$ac_ext
12587 cat >>conftest.$ac_ext <<_ACEOF
12588 /* end confdefs.h. */
12590 /* Override any GCC internal prototype to avoid an error.
12591 Use char because int might match the return type of a GCC
12592 builtin and then its argument prototype would still apply. */
12593 #ifdef __cplusplus
12594 extern "C"
12595 #endif
12596 char waddch ();
12598 main ()
12600 return waddch ();
12602 return 0;
12604 _ACEOF
12605 rm -f conftest.$ac_objext conftest$ac_exeext
12606 if { (ac_try="$ac_link"
12607 case "(($ac_try" in
12608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12609 *) ac_try_echo=$ac_try;;
12610 esac
12611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12612 (eval "$ac_link") 2>conftest.er1
12613 ac_status=$?
12614 grep -v '^ *+' conftest.er1 >conftest.err
12615 rm -f conftest.er1
12616 cat conftest.err >&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } && {
12619 test -z "$ac_c_werror_flag" ||
12620 test ! -s conftest.err
12621 } && test -s conftest$ac_exeext &&
12622 $as_test_x conftest$ac_exeext; then
12623 case "$LIBEXT" in
12624 dll) ;;
12625 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'` ;;
12626 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12627 esac
12628 else
12629 echo "$as_me: failed program was:" >&5
12630 sed 's/^/| /' conftest.$ac_ext >&5
12635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12636 conftest$ac_exeext conftest.$ac_ext
12637 LIBS=$ac_check_soname_save_LIBS
12639 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12640 { echo "$as_me:$LINENO: result: not found" >&5
12641 echo "${ECHO_T}not found" >&6; }
12643 else
12644 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12645 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12647 cat >>confdefs.h <<_ACEOF
12648 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12649 _ACEOF
12651 CURSESLIBS="-lncurses"
12654 elif test "$ac_cv_header_curses_h" = "yes"
12655 then
12656 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12657 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12658 if test "${ac_cv_lib_soname_curses+set}" = set; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12660 else
12661 ac_check_soname_save_LIBS=$LIBS
12662 LIBS="-lcurses $LIBS"
12663 cat >conftest.$ac_ext <<_ACEOF
12664 /* confdefs.h. */
12665 _ACEOF
12666 cat confdefs.h >>conftest.$ac_ext
12667 cat >>conftest.$ac_ext <<_ACEOF
12668 /* end confdefs.h. */
12670 /* Override any GCC internal prototype to avoid an error.
12671 Use char because int might match the return type of a GCC
12672 builtin and then its argument prototype would still apply. */
12673 #ifdef __cplusplus
12674 extern "C"
12675 #endif
12676 char waddch ();
12678 main ()
12680 return waddch ();
12682 return 0;
12684 _ACEOF
12685 rm -f conftest.$ac_objext conftest$ac_exeext
12686 if { (ac_try="$ac_link"
12687 case "(($ac_try" in
12688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12689 *) ac_try_echo=$ac_try;;
12690 esac
12691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12692 (eval "$ac_link") 2>conftest.er1
12693 ac_status=$?
12694 grep -v '^ *+' conftest.er1 >conftest.err
12695 rm -f conftest.er1
12696 cat conftest.err >&5
12697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12698 (exit $ac_status); } && {
12699 test -z "$ac_c_werror_flag" ||
12700 test ! -s conftest.err
12701 } && test -s conftest$ac_exeext &&
12702 $as_test_x conftest$ac_exeext; then
12703 case "$LIBEXT" in
12704 dll) ;;
12705 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'` ;;
12706 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12707 esac
12708 else
12709 echo "$as_me: failed program was:" >&5
12710 sed 's/^/| /' conftest.$ac_ext >&5
12715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12716 conftest$ac_exeext conftest.$ac_ext
12717 LIBS=$ac_check_soname_save_LIBS
12719 if test "x$ac_cv_lib_soname_curses" = "x"; then
12720 { echo "$as_me:$LINENO: result: not found" >&5
12721 echo "${ECHO_T}not found" >&6; }
12723 else
12724 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12725 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12727 cat >>confdefs.h <<_ACEOF
12728 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12729 _ACEOF
12731 CURSESLIBS="-lcurses"
12735 ac_save_LIBS="$LIBS"
12736 LIBS="$LIBS $CURSESLIBS"
12738 for ac_func in mousemask
12740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12743 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12745 else
12746 cat >conftest.$ac_ext <<_ACEOF
12747 /* confdefs.h. */
12748 _ACEOF
12749 cat confdefs.h >>conftest.$ac_ext
12750 cat >>conftest.$ac_ext <<_ACEOF
12751 /* end confdefs.h. */
12752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12754 #define $ac_func innocuous_$ac_func
12756 /* System header to define __stub macros and hopefully few prototypes,
12757 which can conflict with char $ac_func (); below.
12758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12759 <limits.h> exists even on freestanding compilers. */
12761 #ifdef __STDC__
12762 # include <limits.h>
12763 #else
12764 # include <assert.h>
12765 #endif
12767 #undef $ac_func
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 char $ac_func ();
12776 /* The GNU C library defines this for functions which it implements
12777 to always fail with ENOSYS. Some functions are actually named
12778 something starting with __ and the normal name is an alias. */
12779 #if defined __stub_$ac_func || defined __stub___$ac_func
12780 choke me
12781 #endif
12784 main ()
12786 return $ac_func ();
12788 return 0;
12790 _ACEOF
12791 rm -f conftest.$ac_objext conftest$ac_exeext
12792 if { (ac_try="$ac_link"
12793 case "(($ac_try" in
12794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12795 *) ac_try_echo=$ac_try;;
12796 esac
12797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12798 (eval "$ac_link") 2>conftest.er1
12799 ac_status=$?
12800 grep -v '^ *+' conftest.er1 >conftest.err
12801 rm -f conftest.er1
12802 cat conftest.err >&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); } && {
12805 test -z "$ac_c_werror_flag" ||
12806 test ! -s conftest.err
12807 } && test -s conftest$ac_exeext &&
12808 $as_test_x conftest$ac_exeext; then
12809 eval "$as_ac_var=yes"
12810 else
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5
12814 eval "$as_ac_var=no"
12817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12818 conftest$ac_exeext conftest.$ac_ext
12820 ac_res=`eval echo '${'$as_ac_var'}'`
12821 { echo "$as_me:$LINENO: result: $ac_res" >&5
12822 echo "${ECHO_T}$ac_res" >&6; }
12823 if test `eval echo '${'$as_ac_var'}'` = yes; then
12824 cat >>confdefs.h <<_ACEOF
12825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12826 _ACEOF
12829 done
12831 LIBS="$ac_save_LIBS"
12832 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12833 case "x$with_curses" in
12834 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12835 xno) ;;
12836 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12837 This is an error since --with-curses was requested." >&5
12838 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12839 This is an error since --with-curses was requested." >&2;}
12840 { (exit 1); exit 1; }; } ;;
12841 esac
12845 # Extract the first word of "sane-config", so it can be a program name with args.
12846 set dummy sane-config; ac_word=$2
12847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12849 if test "${ac_cv_prog_sane_devel+set}" = set; then
12850 echo $ECHO_N "(cached) $ECHO_C" >&6
12851 else
12852 if test -n "$sane_devel"; then
12853 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12854 else
12855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12856 for as_dir in $PATH
12858 IFS=$as_save_IFS
12859 test -z "$as_dir" && as_dir=.
12860 for ac_exec_ext in '' $ac_executable_extensions; do
12861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12862 ac_cv_prog_sane_devel="sane-config"
12863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12864 break 2
12866 done
12867 done
12868 IFS=$as_save_IFS
12870 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12873 sane_devel=$ac_cv_prog_sane_devel
12874 if test -n "$sane_devel"; then
12875 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12876 echo "${ECHO_T}$sane_devel" >&6; }
12877 else
12878 { echo "$as_me:$LINENO: result: no" >&5
12879 echo "${ECHO_T}no" >&6; }
12883 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12884 then
12885 ac_sane_incl="`$sane_devel --cflags`"
12886 ac_save_CPPFLAGS="$CPPFLAGS"
12887 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12888 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12889 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12890 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12891 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12892 echo $ECHO_N "(cached) $ECHO_C" >&6
12894 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12895 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12896 else
12897 # Is the header compilable?
12898 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12899 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12900 cat >conftest.$ac_ext <<_ACEOF
12901 /* confdefs.h. */
12902 _ACEOF
12903 cat confdefs.h >>conftest.$ac_ext
12904 cat >>conftest.$ac_ext <<_ACEOF
12905 /* end confdefs.h. */
12906 $ac_includes_default
12907 #include <sane/sane.h>
12908 _ACEOF
12909 rm -f conftest.$ac_objext
12910 if { (ac_try="$ac_compile"
12911 case "(($ac_try" in
12912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12913 *) ac_try_echo=$ac_try;;
12914 esac
12915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12916 (eval "$ac_compile") 2>conftest.er1
12917 ac_status=$?
12918 grep -v '^ *+' conftest.er1 >conftest.err
12919 rm -f conftest.er1
12920 cat conftest.err >&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); } && {
12923 test -z "$ac_c_werror_flag" ||
12924 test ! -s conftest.err
12925 } && test -s conftest.$ac_objext; then
12926 ac_header_compiler=yes
12927 else
12928 echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.$ac_ext >&5
12931 ac_header_compiler=no
12934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12936 echo "${ECHO_T}$ac_header_compiler" >&6; }
12938 # Is the header present?
12939 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12940 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12941 cat >conftest.$ac_ext <<_ACEOF
12942 /* confdefs.h. */
12943 _ACEOF
12944 cat confdefs.h >>conftest.$ac_ext
12945 cat >>conftest.$ac_ext <<_ACEOF
12946 /* end confdefs.h. */
12947 #include <sane/sane.h>
12948 _ACEOF
12949 if { (ac_try="$ac_cpp conftest.$ac_ext"
12950 case "(($ac_try" in
12951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12952 *) ac_try_echo=$ac_try;;
12953 esac
12954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12956 ac_status=$?
12957 grep -v '^ *+' conftest.er1 >conftest.err
12958 rm -f conftest.er1
12959 cat conftest.err >&5
12960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961 (exit $ac_status); } >/dev/null && {
12962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12963 test ! -s conftest.err
12964 }; then
12965 ac_header_preproc=yes
12966 else
12967 echo "$as_me: failed program was:" >&5
12968 sed 's/^/| /' conftest.$ac_ext >&5
12970 ac_header_preproc=no
12973 rm -f conftest.err conftest.$ac_ext
12974 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12975 echo "${ECHO_T}$ac_header_preproc" >&6; }
12977 # So? What about this header?
12978 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12979 yes:no: )
12980 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12981 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12982 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12983 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12984 ac_header_preproc=yes
12986 no:yes:* )
12987 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12988 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12989 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12990 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12991 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12992 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12993 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12994 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12995 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12996 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12997 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12998 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12999 ( cat <<\_ASBOX
13000 ## ------------------------------------ ##
13001 ## Report this to wine-devel@winehq.org ##
13002 ## ------------------------------------ ##
13003 _ASBOX
13004 ) | sed "s/^/$as_me: WARNING: /" >&2
13006 esac
13007 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13008 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13009 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13010 echo $ECHO_N "(cached) $ECHO_C" >&6
13011 else
13012 ac_cv_header_sane_sane_h=$ac_header_preproc
13014 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13015 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13018 if test $ac_cv_header_sane_sane_h = yes; then
13019 { echo "$as_me:$LINENO: checking for -lsane" >&5
13020 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13021 if test "${ac_cv_lib_soname_sane+set}" = set; then
13022 echo $ECHO_N "(cached) $ECHO_C" >&6
13023 else
13024 ac_check_soname_save_LIBS=$LIBS
13025 LIBS="-lsane $LIBS"
13026 cat >conftest.$ac_ext <<_ACEOF
13027 /* confdefs.h. */
13028 _ACEOF
13029 cat confdefs.h >>conftest.$ac_ext
13030 cat >>conftest.$ac_ext <<_ACEOF
13031 /* end confdefs.h. */
13033 /* Override any GCC internal prototype to avoid an error.
13034 Use char because int might match the return type of a GCC
13035 builtin and then its argument prototype would still apply. */
13036 #ifdef __cplusplus
13037 extern "C"
13038 #endif
13039 char sane_init ();
13041 main ()
13043 return sane_init ();
13045 return 0;
13047 _ACEOF
13048 rm -f conftest.$ac_objext conftest$ac_exeext
13049 if { (ac_try="$ac_link"
13050 case "(($ac_try" in
13051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13052 *) ac_try_echo=$ac_try;;
13053 esac
13054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13055 (eval "$ac_link") 2>conftest.er1
13056 ac_status=$?
13057 grep -v '^ *+' conftest.er1 >conftest.err
13058 rm -f conftest.er1
13059 cat conftest.err >&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } && {
13062 test -z "$ac_c_werror_flag" ||
13063 test ! -s conftest.err
13064 } && test -s conftest$ac_exeext &&
13065 $as_test_x conftest$ac_exeext; then
13066 case "$LIBEXT" in
13067 dll) ;;
13068 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'` ;;
13069 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13070 esac
13071 else
13072 echo "$as_me: failed program was:" >&5
13073 sed 's/^/| /' conftest.$ac_ext >&5
13078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13079 conftest$ac_exeext conftest.$ac_ext
13080 LIBS=$ac_check_soname_save_LIBS
13082 if test "x$ac_cv_lib_soname_sane" = "x"; then
13083 { echo "$as_me:$LINENO: result: not found" >&5
13084 echo "${ECHO_T}not found" >&6; }
13086 else
13087 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13088 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13090 cat >>confdefs.h <<_ACEOF
13091 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13092 _ACEOF
13094 SANEINCL="$ac_sane_incl"
13101 CPPFLAGS="$ac_save_CPPFLAGS"
13103 if test "x$ac_cv_lib_soname_sane" = "x"; then
13104 case "x$with_sane" in
13105 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13106 xno) ;;
13107 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13108 This is an error since --with-sane was requested." >&5
13109 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13110 This is an error since --with-sane was requested." >&2;}
13111 { (exit 1); exit 1; }; } ;;
13112 esac
13116 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13117 set dummy gphoto2-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_gphoto2_devel+set}" = set; then
13121 echo $ECHO_N "(cached) $ECHO_C" >&6
13122 else
13123 if test -n "$gphoto2_devel"; then
13124 ac_cv_prog_gphoto2_devel="$gphoto2_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_gphoto2_devel="gphoto2-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_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13144 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13145 if test -n "$gphoto2_devel"; then
13146 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13147 echo "${ECHO_T}$gphoto2_devel" >&6; }
13148 else
13149 { echo "$as_me:$LINENO: result: no" >&5
13150 echo "${ECHO_T}no" >&6; }
13154 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13155 set dummy gphoto2-port-config; ac_word=$2
13156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13158 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13159 echo $ECHO_N "(cached) $ECHO_C" >&6
13160 else
13161 if test -n "$gphoto2port_devel"; then
13162 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13163 else
13164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13165 for as_dir in $PATH
13167 IFS=$as_save_IFS
13168 test -z "$as_dir" && as_dir=.
13169 for ac_exec_ext in '' $ac_executable_extensions; do
13170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13171 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13173 break 2
13175 done
13176 done
13177 IFS=$as_save_IFS
13179 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13182 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13183 if test -n "$gphoto2port_devel"; then
13184 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13185 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13186 else
13187 { echo "$as_me:$LINENO: result: no" >&5
13188 echo "${ECHO_T}no" >&6; }
13192 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13193 then
13194 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13195 ac_gphoto2_libs=""
13196 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13198 case "$i" in
13199 -L/usr/lib|-L/usr/lib64) ;;
13200 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13201 esac
13202 done
13203 ac_save_CPPFLAGS="$CPPFLAGS"
13204 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13205 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13206 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13207 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13208 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13209 echo $ECHO_N "(cached) $ECHO_C" >&6
13211 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13212 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13213 else
13214 # Is the header compilable?
13215 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13216 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13217 cat >conftest.$ac_ext <<_ACEOF
13218 /* confdefs.h. */
13219 _ACEOF
13220 cat confdefs.h >>conftest.$ac_ext
13221 cat >>conftest.$ac_ext <<_ACEOF
13222 /* end confdefs.h. */
13223 $ac_includes_default
13224 #include <gphoto2-camera.h>
13225 _ACEOF
13226 rm -f conftest.$ac_objext
13227 if { (ac_try="$ac_compile"
13228 case "(($ac_try" in
13229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13230 *) ac_try_echo=$ac_try;;
13231 esac
13232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13233 (eval "$ac_compile") 2>conftest.er1
13234 ac_status=$?
13235 grep -v '^ *+' conftest.er1 >conftest.err
13236 rm -f conftest.er1
13237 cat conftest.err >&5
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); } && {
13240 test -z "$ac_c_werror_flag" ||
13241 test ! -s conftest.err
13242 } && test -s conftest.$ac_objext; then
13243 ac_header_compiler=yes
13244 else
13245 echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.$ac_ext >&5
13248 ac_header_compiler=no
13251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13252 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13253 echo "${ECHO_T}$ac_header_compiler" >&6; }
13255 # Is the header present?
13256 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13257 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13258 cat >conftest.$ac_ext <<_ACEOF
13259 /* confdefs.h. */
13260 _ACEOF
13261 cat confdefs.h >>conftest.$ac_ext
13262 cat >>conftest.$ac_ext <<_ACEOF
13263 /* end confdefs.h. */
13264 #include <gphoto2-camera.h>
13265 _ACEOF
13266 if { (ac_try="$ac_cpp conftest.$ac_ext"
13267 case "(($ac_try" in
13268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13269 *) ac_try_echo=$ac_try;;
13270 esac
13271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13272 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13273 ac_status=$?
13274 grep -v '^ *+' conftest.er1 >conftest.err
13275 rm -f conftest.er1
13276 cat conftest.err >&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); } >/dev/null && {
13279 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13280 test ! -s conftest.err
13281 }; then
13282 ac_header_preproc=yes
13283 else
13284 echo "$as_me: failed program was:" >&5
13285 sed 's/^/| /' conftest.$ac_ext >&5
13287 ac_header_preproc=no
13290 rm -f conftest.err conftest.$ac_ext
13291 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13292 echo "${ECHO_T}$ac_header_preproc" >&6; }
13294 # So? What about this header?
13295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13296 yes:no: )
13297 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13298 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13299 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13300 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13301 ac_header_preproc=yes
13303 no:yes:* )
13304 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13305 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13306 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13307 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13308 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13309 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13310 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13311 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13312 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13313 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13314 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13315 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13316 ( cat <<\_ASBOX
13317 ## ------------------------------------ ##
13318 ## Report this to wine-devel@winehq.org ##
13319 ## ------------------------------------ ##
13320 _ASBOX
13321 ) | sed "s/^/$as_me: WARNING: /" >&2
13323 esac
13324 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13325 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13326 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13327 echo $ECHO_N "(cached) $ECHO_C" >&6
13328 else
13329 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13331 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13332 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13335 if test $ac_cv_header_gphoto2_camera_h = yes; then
13336 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13337 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13338 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13339 echo $ECHO_N "(cached) $ECHO_C" >&6
13340 else
13341 ac_check_lib_save_LIBS=$LIBS
13342 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13343 cat >conftest.$ac_ext <<_ACEOF
13344 /* confdefs.h. */
13345 _ACEOF
13346 cat confdefs.h >>conftest.$ac_ext
13347 cat >>conftest.$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13350 /* Override any GCC internal prototype to avoid an error.
13351 Use char because int might match the return type of a GCC
13352 builtin and then its argument prototype would still apply. */
13353 #ifdef __cplusplus
13354 extern "C"
13355 #endif
13356 char gp_camera_new ();
13358 main ()
13360 return gp_camera_new ();
13362 return 0;
13364 _ACEOF
13365 rm -f conftest.$ac_objext conftest$ac_exeext
13366 if { (ac_try="$ac_link"
13367 case "(($ac_try" in
13368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13369 *) ac_try_echo=$ac_try;;
13370 esac
13371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13372 (eval "$ac_link") 2>conftest.er1
13373 ac_status=$?
13374 grep -v '^ *+' conftest.er1 >conftest.err
13375 rm -f conftest.er1
13376 cat conftest.err >&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } && {
13379 test -z "$ac_c_werror_flag" ||
13380 test ! -s conftest.err
13381 } && test -s conftest$ac_exeext &&
13382 $as_test_x conftest$ac_exeext; then
13383 ac_cv_lib_gphoto2_gp_camera_new=yes
13384 else
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.$ac_ext >&5
13388 ac_cv_lib_gphoto2_gp_camera_new=no
13391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13392 conftest$ac_exeext conftest.$ac_ext
13393 LIBS=$ac_check_lib_save_LIBS
13395 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13396 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13397 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13399 cat >>confdefs.h <<\_ACEOF
13400 #define HAVE_GPHOTO2 1
13401 _ACEOF
13403 GPHOTO2LIBS="$ac_gphoto2_libs"
13405 GPHOTO2INCL="$ac_gphoto2_incl"
13412 CPPFLAGS="$ac_save_CPPFLAGS"
13414 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13415 case "x$with_gphoto" in
13416 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13417 xno) ;;
13418 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13419 This is an error since --with-gphoto was requested." >&5
13420 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13421 This is an error since --with-gphoto was requested." >&2;}
13422 { (exit 1); exit 1; }; } ;;
13423 esac
13428 RESOLVLIBS=""
13430 if test "$ac_cv_header_resolv_h" = "yes"
13431 then
13432 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13433 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13434 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13435 echo $ECHO_N "(cached) $ECHO_C" >&6
13436 else
13437 ac_check_lib_save_LIBS=$LIBS
13438 LIBS="-lresolv $LIBS"
13439 cat >conftest.$ac_ext <<_ACEOF
13440 /* confdefs.h. */
13441 _ACEOF
13442 cat confdefs.h >>conftest.$ac_ext
13443 cat >>conftest.$ac_ext <<_ACEOF
13444 /* end confdefs.h. */
13446 /* Override any GCC internal prototype to avoid an error.
13447 Use char because int might match the return type of a GCC
13448 builtin and then its argument prototype would still apply. */
13449 #ifdef __cplusplus
13450 extern "C"
13451 #endif
13452 char res_query ();
13454 main ()
13456 return res_query ();
13458 return 0;
13460 _ACEOF
13461 rm -f conftest.$ac_objext conftest$ac_exeext
13462 if { (ac_try="$ac_link"
13463 case "(($ac_try" in
13464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13465 *) ac_try_echo=$ac_try;;
13466 esac
13467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13468 (eval "$ac_link") 2>conftest.er1
13469 ac_status=$?
13470 grep -v '^ *+' conftest.er1 >conftest.err
13471 rm -f conftest.er1
13472 cat conftest.err >&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); } && {
13475 test -z "$ac_c_werror_flag" ||
13476 test ! -s conftest.err
13477 } && test -s conftest$ac_exeext &&
13478 $as_test_x conftest$ac_exeext; then
13479 ac_cv_lib_resolv_res_query=yes
13480 else
13481 echo "$as_me: failed program was:" >&5
13482 sed 's/^/| /' conftest.$ac_ext >&5
13484 ac_cv_lib_resolv_res_query=no
13487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13488 conftest$ac_exeext conftest.$ac_ext
13489 LIBS=$ac_check_lib_save_LIBS
13491 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13492 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13493 if test $ac_cv_lib_resolv_res_query = yes; then
13495 cat >>confdefs.h <<\_ACEOF
13496 #define HAVE_RESOLV 1
13497 _ACEOF
13499 RESOLVLIBS="-lresolv"
13504 LCMSLIBS=""
13506 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13507 then
13508 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13509 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13510 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13511 echo $ECHO_N "(cached) $ECHO_C" >&6
13512 else
13513 ac_check_lib_save_LIBS=$LIBS
13514 LIBS="-llcms $LIBS"
13515 cat >conftest.$ac_ext <<_ACEOF
13516 /* confdefs.h. */
13517 _ACEOF
13518 cat confdefs.h >>conftest.$ac_ext
13519 cat >>conftest.$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13522 /* Override any GCC internal prototype to avoid an error.
13523 Use char because int might match the return type of a GCC
13524 builtin and then its argument prototype would still apply. */
13525 #ifdef __cplusplus
13526 extern "C"
13527 #endif
13528 char cmsOpenProfileFromFile ();
13530 main ()
13532 return cmsOpenProfileFromFile ();
13534 return 0;
13536 _ACEOF
13537 rm -f conftest.$ac_objext conftest$ac_exeext
13538 if { (ac_try="$ac_link"
13539 case "(($ac_try" in
13540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13541 *) ac_try_echo=$ac_try;;
13542 esac
13543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13544 (eval "$ac_link") 2>conftest.er1
13545 ac_status=$?
13546 grep -v '^ *+' conftest.er1 >conftest.err
13547 rm -f conftest.er1
13548 cat conftest.err >&5
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); } && {
13551 test -z "$ac_c_werror_flag" ||
13552 test ! -s conftest.err
13553 } && test -s conftest$ac_exeext &&
13554 $as_test_x conftest$ac_exeext; then
13555 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13556 else
13557 echo "$as_me: failed program was:" >&5
13558 sed 's/^/| /' conftest.$ac_ext >&5
13560 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13564 conftest$ac_exeext conftest.$ac_ext
13565 LIBS=$ac_check_lib_save_LIBS
13567 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13568 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13569 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13571 cat >>confdefs.h <<\_ACEOF
13572 #define HAVE_LCMS 1
13573 _ACEOF
13575 LCMSLIBS="-llcms"
13579 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13580 case "x$with_cms" in
13581 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13582 xno) ;;
13583 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13584 This is an error since --with-cms was requested." >&5
13585 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13586 This is an error since --with-cms was requested." >&2;}
13587 { (exit 1); exit 1; }; } ;;
13588 esac
13592 LDAPLIBS=""
13594 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13595 then
13596 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13597 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13598 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13599 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 else
13601 ac_check_lib_save_LIBS=$LIBS
13602 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13603 cat >conftest.$ac_ext <<_ACEOF
13604 /* confdefs.h. */
13605 _ACEOF
13606 cat confdefs.h >>conftest.$ac_ext
13607 cat >>conftest.$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13610 /* Override any GCC internal prototype to avoid an error.
13611 Use char because int might match the return type of a GCC
13612 builtin and then its argument prototype would still apply. */
13613 #ifdef __cplusplus
13614 extern "C"
13615 #endif
13616 char ldap_initialize ();
13618 main ()
13620 return ldap_initialize ();
13622 return 0;
13624 _ACEOF
13625 rm -f conftest.$ac_objext conftest$ac_exeext
13626 if { (ac_try="$ac_link"
13627 case "(($ac_try" in
13628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13629 *) ac_try_echo=$ac_try;;
13630 esac
13631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13632 (eval "$ac_link") 2>conftest.er1
13633 ac_status=$?
13634 grep -v '^ *+' conftest.er1 >conftest.err
13635 rm -f conftest.er1
13636 cat conftest.err >&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } && {
13639 test -z "$ac_c_werror_flag" ||
13640 test ! -s conftest.err
13641 } && test -s conftest$ac_exeext &&
13642 $as_test_x conftest$ac_exeext; then
13643 ac_cv_lib_ldap_r_ldap_initialize=yes
13644 else
13645 echo "$as_me: failed program was:" >&5
13646 sed 's/^/| /' conftest.$ac_ext >&5
13648 ac_cv_lib_ldap_r_ldap_initialize=no
13651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13652 conftest$ac_exeext conftest.$ac_ext
13653 LIBS=$ac_check_lib_save_LIBS
13655 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13656 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13657 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13658 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13659 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13660 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13661 echo $ECHO_N "(cached) $ECHO_C" >&6
13662 else
13663 ac_check_lib_save_LIBS=$LIBS
13664 LIBS="-llber $LIBPTHREAD $LIBS"
13665 cat >conftest.$ac_ext <<_ACEOF
13666 /* confdefs.h. */
13667 _ACEOF
13668 cat confdefs.h >>conftest.$ac_ext
13669 cat >>conftest.$ac_ext <<_ACEOF
13670 /* end confdefs.h. */
13672 /* Override any GCC internal prototype to avoid an error.
13673 Use char because int might match the return type of a GCC
13674 builtin and then its argument prototype would still apply. */
13675 #ifdef __cplusplus
13676 extern "C"
13677 #endif
13678 char ber_init ();
13680 main ()
13682 return ber_init ();
13684 return 0;
13686 _ACEOF
13687 rm -f conftest.$ac_objext conftest$ac_exeext
13688 if { (ac_try="$ac_link"
13689 case "(($ac_try" in
13690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13691 *) ac_try_echo=$ac_try;;
13692 esac
13693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13694 (eval "$ac_link") 2>conftest.er1
13695 ac_status=$?
13696 grep -v '^ *+' conftest.er1 >conftest.err
13697 rm -f conftest.er1
13698 cat conftest.err >&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); } && {
13701 test -z "$ac_c_werror_flag" ||
13702 test ! -s conftest.err
13703 } && test -s conftest$ac_exeext &&
13704 $as_test_x conftest$ac_exeext; then
13705 ac_cv_lib_lber_ber_init=yes
13706 else
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13710 ac_cv_lib_lber_ber_init=no
13713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13714 conftest$ac_exeext conftest.$ac_ext
13715 LIBS=$ac_check_lib_save_LIBS
13717 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13718 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13719 if test $ac_cv_lib_lber_ber_init = yes; then
13721 cat >>confdefs.h <<\_ACEOF
13722 #define HAVE_LDAP 1
13723 _ACEOF
13725 LDAPLIBS="-lldap_r -llber"
13730 ac_wine_check_funcs_save_LIBS="$LIBS"
13731 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13740 for ac_func in \
13741 ldap_count_references \
13742 ldap_first_reference \
13743 ldap_next_reference \
13744 ldap_parse_reference \
13745 ldap_parse_sort_control \
13746 ldap_parse_sortresponse_control \
13747 ldap_parse_vlv_control \
13748 ldap_parse_vlvresponse_control
13750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13754 echo $ECHO_N "(cached) $ECHO_C" >&6
13755 else
13756 cat >conftest.$ac_ext <<_ACEOF
13757 /* confdefs.h. */
13758 _ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13764 #define $ac_func innocuous_$ac_func
13766 /* System header to define __stub macros and hopefully few prototypes,
13767 which can conflict with char $ac_func (); below.
13768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13769 <limits.h> exists even on freestanding compilers. */
13771 #ifdef __STDC__
13772 # include <limits.h>
13773 #else
13774 # include <assert.h>
13775 #endif
13777 #undef $ac_func
13779 /* Override any GCC internal prototype to avoid an error.
13780 Use char because int might match the return type of a GCC
13781 builtin and then its argument prototype would still apply. */
13782 #ifdef __cplusplus
13783 extern "C"
13784 #endif
13785 char $ac_func ();
13786 /* The GNU C library defines this for functions which it implements
13787 to always fail with ENOSYS. Some functions are actually named
13788 something starting with __ and the normal name is an alias. */
13789 #if defined __stub_$ac_func || defined __stub___$ac_func
13790 choke me
13791 #endif
13794 main ()
13796 return $ac_func ();
13798 return 0;
13800 _ACEOF
13801 rm -f conftest.$ac_objext conftest$ac_exeext
13802 if { (ac_try="$ac_link"
13803 case "(($ac_try" in
13804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13805 *) ac_try_echo=$ac_try;;
13806 esac
13807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13808 (eval "$ac_link") 2>conftest.er1
13809 ac_status=$?
13810 grep -v '^ *+' conftest.er1 >conftest.err
13811 rm -f conftest.er1
13812 cat conftest.err >&5
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } && {
13815 test -z "$ac_c_werror_flag" ||
13816 test ! -s conftest.err
13817 } && test -s conftest$ac_exeext &&
13818 $as_test_x conftest$ac_exeext; then
13819 eval "$as_ac_var=yes"
13820 else
13821 echo "$as_me: failed program was:" >&5
13822 sed 's/^/| /' conftest.$ac_ext >&5
13824 eval "$as_ac_var=no"
13827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13828 conftest$ac_exeext conftest.$ac_ext
13830 ac_res=`eval echo '${'$as_ac_var'}'`
13831 { echo "$as_me:$LINENO: result: $ac_res" >&5
13832 echo "${ECHO_T}$ac_res" >&6; }
13833 if test `eval echo '${'$as_ac_var'}'` = yes; then
13834 cat >>confdefs.h <<_ACEOF
13835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13836 _ACEOF
13839 done
13841 LIBS="$ac_wine_check_funcs_save_LIBS"
13843 if test "x$LDAPLIBS" = "x"; then
13844 case "x$with_ldap" in
13845 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13846 xno) ;;
13847 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13848 This is an error since --with-ldap was requested." >&5
13849 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13850 This is an error since --with-ldap was requested." >&2;}
13851 { (exit 1); exit 1; }; } ;;
13852 esac
13856 for ac_prog in freetype-config freetype2-config
13858 # Extract the first word of "$ac_prog", so it can be a program name with args.
13859 set dummy $ac_prog; ac_word=$2
13860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13862 if test "${ac_cv_prog_ft_devel+set}" = set; then
13863 echo $ECHO_N "(cached) $ECHO_C" >&6
13864 else
13865 if test -n "$ft_devel"; then
13866 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13867 else
13868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13869 for as_dir in $PATH
13871 IFS=$as_save_IFS
13872 test -z "$as_dir" && as_dir=.
13873 for ac_exec_ext in '' $ac_executable_extensions; do
13874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13875 ac_cv_prog_ft_devel="$ac_prog"
13876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13877 break 2
13879 done
13880 done
13881 IFS=$as_save_IFS
13885 ft_devel=$ac_cv_prog_ft_devel
13886 if test -n "$ft_devel"; then
13887 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13888 echo "${ECHO_T}$ft_devel" >&6; }
13889 else
13890 { echo "$as_me:$LINENO: result: no" >&5
13891 echo "${ECHO_T}no" >&6; }
13895 test -n "$ft_devel" && break
13896 done
13897 test -n "$ft_devel" || ft_devel="false"
13899 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13900 then
13901 ac_freetype_libs=`$ft_devel --libs`
13902 ac_freetype_incl=`$ft_devel --cflags`
13903 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13904 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13905 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13906 echo $ECHO_N "(cached) $ECHO_C" >&6
13907 else
13908 ac_check_soname_save_LIBS=$LIBS
13909 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13910 cat >conftest.$ac_ext <<_ACEOF
13911 /* confdefs.h. */
13912 _ACEOF
13913 cat confdefs.h >>conftest.$ac_ext
13914 cat >>conftest.$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13917 /* Override any GCC internal prototype to avoid an error.
13918 Use char because int might match the return type of a GCC
13919 builtin and then its argument prototype would still apply. */
13920 #ifdef __cplusplus
13921 extern "C"
13922 #endif
13923 char FT_Init_FreeType ();
13925 main ()
13927 return FT_Init_FreeType ();
13929 return 0;
13931 _ACEOF
13932 rm -f conftest.$ac_objext conftest$ac_exeext
13933 if { (ac_try="$ac_link"
13934 case "(($ac_try" in
13935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13936 *) ac_try_echo=$ac_try;;
13937 esac
13938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13939 (eval "$ac_link") 2>conftest.er1
13940 ac_status=$?
13941 grep -v '^ *+' conftest.er1 >conftest.err
13942 rm -f conftest.er1
13943 cat conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); } && {
13946 test -z "$ac_c_werror_flag" ||
13947 test ! -s conftest.err
13948 } && test -s conftest$ac_exeext &&
13949 $as_test_x conftest$ac_exeext; then
13950 case "$LIBEXT" in
13951 dll) ;;
13952 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'` ;;
13953 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13954 esac
13955 else
13956 echo "$as_me: failed program was:" >&5
13957 sed 's/^/| /' conftest.$ac_ext >&5
13962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13963 conftest$ac_exeext conftest.$ac_ext
13964 LIBS=$ac_check_soname_save_LIBS
13966 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13967 { echo "$as_me:$LINENO: result: not found" >&5
13968 echo "${ECHO_T}not found" >&6; }
13969 ft_lib=no
13970 else
13971 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13972 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13974 cat >>confdefs.h <<_ACEOF
13975 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13976 _ACEOF
13978 ft_lib=yes
13981 if test "$ft_lib" = "yes"
13982 then
13983 ac_save_CPPFLAGS="$CPPFLAGS"
13984 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13997 for ac_header in ft2build.h \
13998 freetype/freetype.h \
13999 freetype/ftglyph.h \
14000 freetype/fttypes.h \
14001 freetype/tttables.h \
14002 freetype/ftnames.h \
14003 freetype/ftsnames.h \
14004 freetype/ttnameid.h \
14005 freetype/ftoutln.h \
14006 freetype/ftwinfnt.h \
14007 freetype/ftmodapi.h \
14008 freetype/internal/sfnt.h
14010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14011 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14014 echo $ECHO_N "(cached) $ECHO_C" >&6
14015 else
14016 cat >conftest.$ac_ext <<_ACEOF
14017 /* confdefs.h. */
14018 _ACEOF
14019 cat confdefs.h >>conftest.$ac_ext
14020 cat >>conftest.$ac_ext <<_ACEOF
14021 /* end confdefs.h. */
14022 #ifdef HAVE_FT2BUILD_H
14023 # include <ft2build.h>
14024 #endif
14026 #include <$ac_header>
14027 _ACEOF
14028 rm -f conftest.$ac_objext
14029 if { (ac_try="$ac_compile"
14030 case "(($ac_try" in
14031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14032 *) ac_try_echo=$ac_try;;
14033 esac
14034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14035 (eval "$ac_compile") 2>conftest.er1
14036 ac_status=$?
14037 grep -v '^ *+' conftest.er1 >conftest.err
14038 rm -f conftest.er1
14039 cat conftest.err >&5
14040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14041 (exit $ac_status); } && {
14042 test -z "$ac_c_werror_flag" ||
14043 test ! -s conftest.err
14044 } && test -s conftest.$ac_objext; then
14045 eval "$as_ac_Header=yes"
14046 else
14047 echo "$as_me: failed program was:" >&5
14048 sed 's/^/| /' conftest.$ac_ext >&5
14050 eval "$as_ac_Header=no"
14053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14055 ac_res=`eval echo '${'$as_ac_Header'}'`
14056 { echo "$as_me:$LINENO: result: $ac_res" >&5
14057 echo "${ECHO_T}$ac_res" >&6; }
14058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14059 cat >>confdefs.h <<_ACEOF
14060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14061 _ACEOF
14065 done
14067 cat >conftest.$ac_ext <<_ACEOF
14068 /* confdefs.h. */
14069 _ACEOF
14070 cat confdefs.h >>conftest.$ac_ext
14071 cat >>conftest.$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14073 #include <ft2build.h>
14074 #include <freetype/fttrigon.h>
14075 _ACEOF
14076 if { (ac_try="$ac_cpp conftest.$ac_ext"
14077 case "(($ac_try" in
14078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14079 *) ac_try_echo=$ac_try;;
14080 esac
14081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14082 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14083 ac_status=$?
14084 grep -v '^ *+' conftest.er1 >conftest.err
14085 rm -f conftest.er1
14086 cat conftest.err >&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); } >/dev/null && {
14089 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14090 test ! -s conftest.err
14091 }; then
14093 cat >>confdefs.h <<\_ACEOF
14094 #define HAVE_FREETYPE_FTTRIGON_H 1
14095 _ACEOF
14097 wine_cv_fttrigon=yes
14098 else
14099 echo "$as_me: failed program was:" >&5
14100 sed 's/^/| /' conftest.$ac_ext >&5
14102 wine_cv_fttrigon=no
14105 rm -f conftest.err conftest.$ac_ext
14106 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14107 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14108 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14110 else
14111 cat >conftest.$ac_ext <<_ACEOF
14112 /* confdefs.h. */
14113 _ACEOF
14114 cat confdefs.h >>conftest.$ac_ext
14115 cat >>conftest.$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14117 #include <freetype/ftmodapi.h>
14119 typedef FT_TrueTypeEngineType ac__type_new_;
14121 main ()
14123 if ((ac__type_new_ *) 0)
14124 return 0;
14125 if (sizeof (ac__type_new_))
14126 return 0;
14128 return 0;
14130 _ACEOF
14131 rm -f conftest.$ac_objext
14132 if { (ac_try="$ac_compile"
14133 case "(($ac_try" in
14134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14135 *) ac_try_echo=$ac_try;;
14136 esac
14137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14138 (eval "$ac_compile") 2>conftest.er1
14139 ac_status=$?
14140 grep -v '^ *+' conftest.er1 >conftest.err
14141 rm -f conftest.er1
14142 cat conftest.err >&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); } && {
14145 test -z "$ac_c_werror_flag" ||
14146 test ! -s conftest.err
14147 } && test -s conftest.$ac_objext; then
14148 ac_cv_type_FT_TrueTypeEngineType=yes
14149 else
14150 echo "$as_me: failed program was:" >&5
14151 sed 's/^/| /' conftest.$ac_ext >&5
14153 ac_cv_type_FT_TrueTypeEngineType=no
14156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14158 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14159 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14160 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14162 cat >>confdefs.h <<_ACEOF
14163 #define HAVE_FT_TRUETYPEENGINETYPE 1
14164 _ACEOF
14169 ac_save_CFLAGS="$CFLAGS"
14170 CFLAGS="$CFLAGS $ac_freetype_libs"
14172 for ac_func in FT_Load_Sfnt_Table
14174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14175 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14177 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14178 echo $ECHO_N "(cached) $ECHO_C" >&6
14179 else
14180 cat >conftest.$ac_ext <<_ACEOF
14181 /* confdefs.h. */
14182 _ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14188 #define $ac_func innocuous_$ac_func
14190 /* System header to define __stub macros and hopefully few prototypes,
14191 which can conflict with char $ac_func (); below.
14192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14193 <limits.h> exists even on freestanding compilers. */
14195 #ifdef __STDC__
14196 # include <limits.h>
14197 #else
14198 # include <assert.h>
14199 #endif
14201 #undef $ac_func
14203 /* Override any GCC internal prototype to avoid an error.
14204 Use char because int might match the return type of a GCC
14205 builtin and then its argument prototype would still apply. */
14206 #ifdef __cplusplus
14207 extern "C"
14208 #endif
14209 char $ac_func ();
14210 /* The GNU C library defines this for functions which it implements
14211 to always fail with ENOSYS. Some functions are actually named
14212 something starting with __ and the normal name is an alias. */
14213 #if defined __stub_$ac_func || defined __stub___$ac_func
14214 choke me
14215 #endif
14218 main ()
14220 return $ac_func ();
14222 return 0;
14224 _ACEOF
14225 rm -f conftest.$ac_objext conftest$ac_exeext
14226 if { (ac_try="$ac_link"
14227 case "(($ac_try" in
14228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14229 *) ac_try_echo=$ac_try;;
14230 esac
14231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14232 (eval "$ac_link") 2>conftest.er1
14233 ac_status=$?
14234 grep -v '^ *+' conftest.er1 >conftest.err
14235 rm -f conftest.er1
14236 cat conftest.err >&5
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); } && {
14239 test -z "$ac_c_werror_flag" ||
14240 test ! -s conftest.err
14241 } && test -s conftest$ac_exeext &&
14242 $as_test_x conftest$ac_exeext; then
14243 eval "$as_ac_var=yes"
14244 else
14245 echo "$as_me: failed program was:" >&5
14246 sed 's/^/| /' conftest.$ac_ext >&5
14248 eval "$as_ac_var=no"
14251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14252 conftest$ac_exeext conftest.$ac_ext
14254 ac_res=`eval echo '${'$as_ac_var'}'`
14255 { echo "$as_me:$LINENO: result: $ac_res" >&5
14256 echo "${ECHO_T}$ac_res" >&6; }
14257 if test `eval echo '${'$as_ac_var'}'` = yes; then
14258 cat >>confdefs.h <<_ACEOF
14259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14260 _ACEOF
14263 done
14265 CFLAGS="$ac_save_CFLAGS"
14266 CPPFLAGS="$ac_save_CPPFLAGS"
14267 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14268 then
14270 cat >>confdefs.h <<\_ACEOF
14271 #define HAVE_FREETYPE 1
14272 _ACEOF
14274 FREETYPELIBS="$ac_freetype_libs"
14276 FREETYPEINCL="$ac_freetype_incl"
14278 FONTSSUBDIRS="fonts"
14283 if test "x$FREETYPELIBS" = "x"; then
14284 case "x$with_freetype" in
14285 xno) ;;
14286 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14287 Fonts will not be built. Dialog text may be invisible or unaligned.
14288 Use the --without-freetype option if you really want this." >&5
14289 echo "$as_me: error: FreeType development files not found.
14290 Fonts will not be built. Dialog text may be invisible or unaligned.
14291 Use the --without-freetype option if you really want this." >&2;}
14292 { (exit 1); exit 1; }; } ;;
14293 esac
14297 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14298 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14299 if test "${ac_cv_c_ppdev+set}" = set; then
14300 echo $ECHO_N "(cached) $ECHO_C" >&6
14301 else
14302 cat >conftest.$ac_ext <<_ACEOF
14303 /* confdefs.h. */
14304 _ACEOF
14305 cat confdefs.h >>conftest.$ac_ext
14306 cat >>conftest.$ac_ext <<_ACEOF
14307 /* end confdefs.h. */
14308 #include <linux/ppdev.h>
14310 main ()
14312 ioctl (1,PPCLAIM,0)
14314 return 0;
14316 _ACEOF
14317 rm -f conftest.$ac_objext
14318 if { (ac_try="$ac_compile"
14319 case "(($ac_try" in
14320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14321 *) ac_try_echo=$ac_try;;
14322 esac
14323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14324 (eval "$ac_compile") 2>conftest.er1
14325 ac_status=$?
14326 grep -v '^ *+' conftest.er1 >conftest.err
14327 rm -f conftest.er1
14328 cat conftest.err >&5
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14330 (exit $ac_status); } && {
14331 test -z "$ac_c_werror_flag" ||
14332 test ! -s conftest.err
14333 } && test -s conftest.$ac_objext; then
14334 ac_cv_c_ppdev="yes"
14335 else
14336 echo "$as_me: failed program was:" >&5
14337 sed 's/^/| /' conftest.$ac_ext >&5
14339 ac_cv_c_ppdev="no"
14342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14344 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14345 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14346 if test "$ac_cv_c_ppdev" = "yes"
14347 then
14349 cat >>confdefs.h <<\_ACEOF
14350 #define HAVE_PPDEV 1
14351 _ACEOF
14355 { echo "$as_me:$LINENO: checking for va_copy" >&5
14356 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14357 if test "${ac_cv_c_va_copy+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 else
14360 cat >conftest.$ac_ext <<_ACEOF
14361 /* confdefs.h. */
14362 _ACEOF
14363 cat confdefs.h >>conftest.$ac_ext
14364 cat >>conftest.$ac_ext <<_ACEOF
14365 /* end confdefs.h. */
14366 #include <stdarg.h>
14368 main ()
14370 va_list ap1, ap2; va_copy(ap1,ap2);
14372 return 0;
14374 _ACEOF
14375 rm -f conftest.$ac_objext conftest$ac_exeext
14376 if { (ac_try="$ac_link"
14377 case "(($ac_try" in
14378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14379 *) ac_try_echo=$ac_try;;
14380 esac
14381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14382 (eval "$ac_link") 2>conftest.er1
14383 ac_status=$?
14384 grep -v '^ *+' conftest.er1 >conftest.err
14385 rm -f conftest.er1
14386 cat conftest.err >&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); } && {
14389 test -z "$ac_c_werror_flag" ||
14390 test ! -s conftest.err
14391 } && test -s conftest$ac_exeext &&
14392 $as_test_x conftest$ac_exeext; then
14393 ac_cv_c_va_copy="yes"
14394 else
14395 echo "$as_me: failed program was:" >&5
14396 sed 's/^/| /' conftest.$ac_ext >&5
14398 ac_cv_c_va_copy="no"
14401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14402 conftest$ac_exeext conftest.$ac_ext
14405 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14406 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14407 if test "$ac_cv_c_va_copy" = "yes"
14408 then
14410 cat >>confdefs.h <<\_ACEOF
14411 #define HAVE_VA_COPY 1
14412 _ACEOF
14415 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14416 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14417 if test "${ac_cv_c___va_copy+set}" = set; then
14418 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 else
14420 cat >conftest.$ac_ext <<_ACEOF
14421 /* confdefs.h. */
14422 _ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426 #include <stdarg.h>
14428 main ()
14430 va_list ap1, ap2; __va_copy(ap1,ap2);
14432 return 0;
14434 _ACEOF
14435 rm -f conftest.$ac_objext conftest$ac_exeext
14436 if { (ac_try="$ac_link"
14437 case "(($ac_try" in
14438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14439 *) ac_try_echo=$ac_try;;
14440 esac
14441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14442 (eval "$ac_link") 2>conftest.er1
14443 ac_status=$?
14444 grep -v '^ *+' conftest.er1 >conftest.err
14445 rm -f conftest.er1
14446 cat conftest.err >&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); } && {
14449 test -z "$ac_c_werror_flag" ||
14450 test ! -s conftest.err
14451 } && test -s conftest$ac_exeext &&
14452 $as_test_x conftest$ac_exeext; then
14453 ac_cv_c___va_copy="yes"
14454 else
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.$ac_ext >&5
14458 ac_cv_c___va_copy="no"
14461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14462 conftest$ac_exeext conftest.$ac_ext
14465 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14466 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14467 if test "$ac_cv_c___va_copy" = "yes"
14468 then
14470 cat >>confdefs.h <<\_ACEOF
14471 #define HAVE___VA_COPY 1
14472 _ACEOF
14476 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14477 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14478 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 else
14481 cat >conftest.$ac_ext <<_ACEOF
14482 /* confdefs.h. */
14483 _ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487 #define _GNU_SOURCE
14488 #include <pthread.h>
14490 typedef pthread_rwlock_t ac__type_new_;
14492 main ()
14494 if ((ac__type_new_ *) 0)
14495 return 0;
14496 if (sizeof (ac__type_new_))
14497 return 0;
14499 return 0;
14501 _ACEOF
14502 rm -f conftest.$ac_objext
14503 if { (ac_try="$ac_compile"
14504 case "(($ac_try" in
14505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14506 *) ac_try_echo=$ac_try;;
14507 esac
14508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14509 (eval "$ac_compile") 2>conftest.er1
14510 ac_status=$?
14511 grep -v '^ *+' conftest.er1 >conftest.err
14512 rm -f conftest.er1
14513 cat conftest.err >&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } && {
14516 test -z "$ac_c_werror_flag" ||
14517 test ! -s conftest.err
14518 } && test -s conftest.$ac_objext; then
14519 ac_cv_type_pthread_rwlock_t=yes
14520 else
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14524 ac_cv_type_pthread_rwlock_t=no
14527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14529 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14530 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14531 if test $ac_cv_type_pthread_rwlock_t = yes; then
14533 cat >>confdefs.h <<_ACEOF
14534 #define HAVE_PTHREAD_RWLOCK_T 1
14535 _ACEOF
14539 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14540 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14541 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 else
14544 cat >conftest.$ac_ext <<_ACEOF
14545 /* confdefs.h. */
14546 _ACEOF
14547 cat confdefs.h >>conftest.$ac_ext
14548 cat >>conftest.$ac_ext <<_ACEOF
14549 /* end confdefs.h. */
14550 #define _GNU_SOURCE
14551 #include <pthread.h>
14553 typedef pthread_rwlockattr_t ac__type_new_;
14555 main ()
14557 if ((ac__type_new_ *) 0)
14558 return 0;
14559 if (sizeof (ac__type_new_))
14560 return 0;
14562 return 0;
14564 _ACEOF
14565 rm -f conftest.$ac_objext
14566 if { (ac_try="$ac_compile"
14567 case "(($ac_try" in
14568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14569 *) ac_try_echo=$ac_try;;
14570 esac
14571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14572 (eval "$ac_compile") 2>conftest.er1
14573 ac_status=$?
14574 grep -v '^ *+' conftest.er1 >conftest.err
14575 rm -f conftest.er1
14576 cat conftest.err >&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); } && {
14579 test -z "$ac_c_werror_flag" ||
14580 test ! -s conftest.err
14581 } && test -s conftest.$ac_objext; then
14582 ac_cv_type_pthread_rwlockattr_t=yes
14583 else
14584 echo "$as_me: failed program was:" >&5
14585 sed 's/^/| /' conftest.$ac_ext >&5
14587 ac_cv_type_pthread_rwlockattr_t=no
14590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14592 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14593 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14594 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14596 cat >>confdefs.h <<_ACEOF
14597 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14598 _ACEOF
14604 ac_wine_check_funcs_save_LIBS="$LIBS"
14605 LIBS="$LIBS $LIBPTHREAD"
14610 for ac_func in \
14611 pthread_attr_get_np \
14612 pthread_getattr_np \
14613 pthread_get_stackaddr_np \
14614 pthread_get_stacksize_np
14616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14617 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14619 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 else
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14630 #define $ac_func innocuous_$ac_func
14632 /* System header to define __stub macros and hopefully few prototypes,
14633 which can conflict with char $ac_func (); below.
14634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14635 <limits.h> exists even on freestanding compilers. */
14637 #ifdef __STDC__
14638 # include <limits.h>
14639 #else
14640 # include <assert.h>
14641 #endif
14643 #undef $ac_func
14645 /* Override any GCC internal prototype to avoid an error.
14646 Use char because int might match the return type of a GCC
14647 builtin and then its argument prototype would still apply. */
14648 #ifdef __cplusplus
14649 extern "C"
14650 #endif
14651 char $ac_func ();
14652 /* The GNU C library defines this for functions which it implements
14653 to always fail with ENOSYS. Some functions are actually named
14654 something starting with __ and the normal name is an alias. */
14655 #if defined __stub_$ac_func || defined __stub___$ac_func
14656 choke me
14657 #endif
14660 main ()
14662 return $ac_func ();
14664 return 0;
14666 _ACEOF
14667 rm -f conftest.$ac_objext conftest$ac_exeext
14668 if { (ac_try="$ac_link"
14669 case "(($ac_try" in
14670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14671 *) ac_try_echo=$ac_try;;
14672 esac
14673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14674 (eval "$ac_link") 2>conftest.er1
14675 ac_status=$?
14676 grep -v '^ *+' conftest.er1 >conftest.err
14677 rm -f conftest.er1
14678 cat conftest.err >&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); } && {
14681 test -z "$ac_c_werror_flag" ||
14682 test ! -s conftest.err
14683 } && test -s conftest$ac_exeext &&
14684 $as_test_x conftest$ac_exeext; then
14685 eval "$as_ac_var=yes"
14686 else
14687 echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.$ac_ext >&5
14690 eval "$as_ac_var=no"
14693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14694 conftest$ac_exeext conftest.$ac_ext
14696 ac_res=`eval echo '${'$as_ac_var'}'`
14697 { echo "$as_me:$LINENO: result: $ac_res" >&5
14698 echo "${ECHO_T}$ac_res" >&6; }
14699 if test `eval echo '${'$as_ac_var'}'` = yes; then
14700 cat >>confdefs.h <<_ACEOF
14701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14702 _ACEOF
14705 done
14707 LIBS="$ac_wine_check_funcs_save_LIBS"
14709 # Extract the first word of "esd-config", so it can be a program name with args.
14710 set dummy esd-config; ac_word=$2
14711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14713 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 else
14716 case $ESDCONFIG in
14717 [\\/]* | ?:[\\/]*)
14718 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14722 for as_dir in $PATH
14724 IFS=$as_save_IFS
14725 test -z "$as_dir" && as_dir=.
14726 for ac_exec_ext in '' $ac_executable_extensions; do
14727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14728 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14730 break 2
14732 done
14733 done
14734 IFS=$as_save_IFS
14737 esac
14739 ESDCONFIG=$ac_cv_path_ESDCONFIG
14740 if test -n "$ESDCONFIG"; then
14741 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14742 echo "${ECHO_T}$ESDCONFIG" >&6; }
14743 else
14744 { echo "$as_me:$LINENO: result: no" >&5
14745 echo "${ECHO_T}no" >&6; }
14749 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14750 then
14751 ESD_CFLAGS=""
14752 for i in `$ESDCONFIG --cflags`
14754 case "$i" in
14755 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14756 esac
14757 done
14758 ESD_LIBS=`$ESDCONFIG --libs`
14759 save_CFLAGS="$CFLAGS"
14760 CFLAGS="$CFLAGS $ESD_CFLAGS"
14761 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14762 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14763 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14765 else
14766 ac_check_lib_save_LIBS=$LIBS
14767 LIBS="-lesd $LIBS"
14768 cat >conftest.$ac_ext <<_ACEOF
14769 /* confdefs.h. */
14770 _ACEOF
14771 cat confdefs.h >>conftest.$ac_ext
14772 cat >>conftest.$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14775 /* Override any GCC internal prototype to avoid an error.
14776 Use char because int might match the return type of a GCC
14777 builtin and then its argument prototype would still apply. */
14778 #ifdef __cplusplus
14779 extern "C"
14780 #endif
14781 char esd_open_sound ();
14783 main ()
14785 return esd_open_sound ();
14787 return 0;
14789 _ACEOF
14790 rm -f conftest.$ac_objext conftest$ac_exeext
14791 if { (ac_try="$ac_link"
14792 case "(($ac_try" in
14793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14794 *) ac_try_echo=$ac_try;;
14795 esac
14796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14797 (eval "$ac_link") 2>conftest.er1
14798 ac_status=$?
14799 grep -v '^ *+' conftest.er1 >conftest.err
14800 rm -f conftest.er1
14801 cat conftest.err >&5
14802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14803 (exit $ac_status); } && {
14804 test -z "$ac_c_werror_flag" ||
14805 test ! -s conftest.err
14806 } && test -s conftest$ac_exeext &&
14807 $as_test_x conftest$ac_exeext; then
14808 ac_cv_lib_esd_esd_open_sound=yes
14809 else
14810 echo "$as_me: failed program was:" >&5
14811 sed 's/^/| /' conftest.$ac_ext >&5
14813 ac_cv_lib_esd_esd_open_sound=no
14816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14817 conftest$ac_exeext conftest.$ac_ext
14818 LIBS=$ac_check_lib_save_LIBS
14820 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14821 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14822 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14823 ESDLIBS=$ESD_LIBS
14825 ESDINCL=$ESD_CFLAGS
14828 cat >>confdefs.h <<\_ACEOF
14829 #define HAVE_ESD 1
14830 _ACEOF
14834 CFLAGS="$save_CFLAGS"
14837 ALSALIBS=""
14839 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14840 then
14841 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14842 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14843 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14844 echo $ECHO_N "(cached) $ECHO_C" >&6
14845 else
14846 ac_check_lib_save_LIBS=$LIBS
14847 LIBS="-lasound $LIBS"
14848 cat >conftest.$ac_ext <<_ACEOF
14849 /* confdefs.h. */
14850 _ACEOF
14851 cat confdefs.h >>conftest.$ac_ext
14852 cat >>conftest.$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14858 #ifdef __cplusplus
14859 extern "C"
14860 #endif
14861 char snd_pcm_hw_params_get_access ();
14863 main ()
14865 return snd_pcm_hw_params_get_access ();
14867 return 0;
14869 _ACEOF
14870 rm -f conftest.$ac_objext conftest$ac_exeext
14871 if { (ac_try="$ac_link"
14872 case "(($ac_try" in
14873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14874 *) ac_try_echo=$ac_try;;
14875 esac
14876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14877 (eval "$ac_link") 2>conftest.er1
14878 ac_status=$?
14879 grep -v '^ *+' conftest.er1 >conftest.err
14880 rm -f conftest.er1
14881 cat conftest.err >&5
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); } && {
14884 test -z "$ac_c_werror_flag" ||
14885 test ! -s conftest.err
14886 } && test -s conftest$ac_exeext &&
14887 $as_test_x conftest$ac_exeext; then
14888 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14889 else
14890 echo "$as_me: failed program was:" >&5
14891 sed 's/^/| /' conftest.$ac_ext >&5
14893 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14897 conftest$ac_exeext conftest.$ac_ext
14898 LIBS=$ac_check_lib_save_LIBS
14900 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14901 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14902 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14903 cat >conftest.$ac_ext <<_ACEOF
14904 /* confdefs.h. */
14905 _ACEOF
14906 cat confdefs.h >>conftest.$ac_ext
14907 cat >>conftest.$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 #ifdef HAVE_ALSA_ASOUNDLIB_H
14910 #include <alsa/asoundlib.h>
14911 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14912 #include <sys/asoundlib.h>
14913 #endif
14915 main ()
14917 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14919 return 0;
14921 _ACEOF
14922 rm -f conftest.$ac_objext
14923 if { (ac_try="$ac_compile"
14924 case "(($ac_try" in
14925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14926 *) ac_try_echo=$ac_try;;
14927 esac
14928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14929 (eval "$ac_compile") 2>conftest.er1
14930 ac_status=$?
14931 grep -v '^ *+' conftest.er1 >conftest.err
14932 rm -f conftest.er1
14933 cat conftest.err >&5
14934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14935 (exit $ac_status); } && {
14936 test -z "$ac_c_werror_flag" ||
14937 test ! -s conftest.err
14938 } && test -s conftest.$ac_objext; then
14940 cat >>confdefs.h <<\_ACEOF
14941 #define HAVE_ALSA 1
14942 _ACEOF
14944 ALSALIBS="-lasound"
14945 else
14946 echo "$as_me: failed program was:" >&5
14947 sed 's/^/| /' conftest.$ac_ext >&5
14952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14957 AUDIOIOLIBS=""
14959 if test "$ac_cv_header_libaudioio_h" = "yes"
14960 then
14961 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14962 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14963 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14964 echo $ECHO_N "(cached) $ECHO_C" >&6
14965 else
14966 ac_check_lib_save_LIBS=$LIBS
14967 LIBS="-laudioio $LIBS"
14968 cat >conftest.$ac_ext <<_ACEOF
14969 /* confdefs.h. */
14970 _ACEOF
14971 cat confdefs.h >>conftest.$ac_ext
14972 cat >>conftest.$ac_ext <<_ACEOF
14973 /* end confdefs.h. */
14975 /* Override any GCC internal prototype to avoid an error.
14976 Use char because int might match the return type of a GCC
14977 builtin and then its argument prototype would still apply. */
14978 #ifdef __cplusplus
14979 extern "C"
14980 #endif
14981 char AudioIOGetVersion ();
14983 main ()
14985 return AudioIOGetVersion ();
14987 return 0;
14989 _ACEOF
14990 rm -f conftest.$ac_objext conftest$ac_exeext
14991 if { (ac_try="$ac_link"
14992 case "(($ac_try" in
14993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14994 *) ac_try_echo=$ac_try;;
14995 esac
14996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14997 (eval "$ac_link") 2>conftest.er1
14998 ac_status=$?
14999 grep -v '^ *+' conftest.er1 >conftest.err
15000 rm -f conftest.er1
15001 cat conftest.err >&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } && {
15004 test -z "$ac_c_werror_flag" ||
15005 test ! -s conftest.err
15006 } && test -s conftest$ac_exeext &&
15007 $as_test_x conftest$ac_exeext; then
15008 ac_cv_lib_audioio_AudioIOGetVersion=yes
15009 else
15010 echo "$as_me: failed program was:" >&5
15011 sed 's/^/| /' conftest.$ac_ext >&5
15013 ac_cv_lib_audioio_AudioIOGetVersion=no
15016 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15017 conftest$ac_exeext conftest.$ac_ext
15018 LIBS=$ac_check_lib_save_LIBS
15020 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15021 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15022 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15023 AUDIOIOLIBS="-laudioio"
15025 cat >>confdefs.h <<\_ACEOF
15026 #define HAVE_LIBAUDIOIO 1
15027 _ACEOF
15034 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15035 then
15036 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15037 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15038 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15040 else
15041 ac_check_soname_save_LIBS=$LIBS
15042 LIBS="-lcapi20 $LIBS"
15043 cat >conftest.$ac_ext <<_ACEOF
15044 /* confdefs.h. */
15045 _ACEOF
15046 cat confdefs.h >>conftest.$ac_ext
15047 cat >>conftest.$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15053 #ifdef __cplusplus
15054 extern "C"
15055 #endif
15056 char capi20_register ();
15058 main ()
15060 return capi20_register ();
15062 return 0;
15064 _ACEOF
15065 rm -f conftest.$ac_objext conftest$ac_exeext
15066 if { (ac_try="$ac_link"
15067 case "(($ac_try" in
15068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15069 *) ac_try_echo=$ac_try;;
15070 esac
15071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15072 (eval "$ac_link") 2>conftest.er1
15073 ac_status=$?
15074 grep -v '^ *+' conftest.er1 >conftest.err
15075 rm -f conftest.er1
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } && {
15079 test -z "$ac_c_werror_flag" ||
15080 test ! -s conftest.err
15081 } && test -s conftest$ac_exeext &&
15082 $as_test_x conftest$ac_exeext; then
15083 case "$LIBEXT" in
15084 dll) ;;
15085 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'` ;;
15086 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15087 esac
15088 else
15089 echo "$as_me: failed program was:" >&5
15090 sed 's/^/| /' conftest.$ac_ext >&5
15095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15096 conftest$ac_exeext conftest.$ac_ext
15097 LIBS=$ac_check_soname_save_LIBS
15099 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15100 { echo "$as_me:$LINENO: result: not found" >&5
15101 echo "${ECHO_T}not found" >&6; }
15103 else
15104 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15105 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15107 cat >>confdefs.h <<_ACEOF
15108 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15109 _ACEOF
15115 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15116 case "x$with_capi" in
15117 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15118 xno) ;;
15119 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15120 This is an error since --with-capi was requested." >&5
15121 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15122 This is an error since --with-capi was requested." >&2;}
15123 { (exit 1); exit 1; }; } ;;
15124 esac
15128 if test "$ac_cv_header_cups_cups_h" = "yes"
15129 then
15130 { echo "$as_me:$LINENO: checking for -lcups" >&5
15131 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15132 if test "${ac_cv_lib_soname_cups+set}" = set; then
15133 echo $ECHO_N "(cached) $ECHO_C" >&6
15134 else
15135 ac_check_soname_save_LIBS=$LIBS
15136 LIBS="-lcups $LIBS"
15137 cat >conftest.$ac_ext <<_ACEOF
15138 /* confdefs.h. */
15139 _ACEOF
15140 cat confdefs.h >>conftest.$ac_ext
15141 cat >>conftest.$ac_ext <<_ACEOF
15142 /* end confdefs.h. */
15144 /* Override any GCC internal prototype to avoid an error.
15145 Use char because int might match the return type of a GCC
15146 builtin and then its argument prototype would still apply. */
15147 #ifdef __cplusplus
15148 extern "C"
15149 #endif
15150 char cupsGetDefault ();
15152 main ()
15154 return cupsGetDefault ();
15156 return 0;
15158 _ACEOF
15159 rm -f conftest.$ac_objext conftest$ac_exeext
15160 if { (ac_try="$ac_link"
15161 case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15163 *) ac_try_echo=$ac_try;;
15164 esac
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_link") 2>conftest.er1
15167 ac_status=$?
15168 grep -v '^ *+' conftest.er1 >conftest.err
15169 rm -f conftest.er1
15170 cat conftest.err >&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && {
15173 test -z "$ac_c_werror_flag" ||
15174 test ! -s conftest.err
15175 } && test -s conftest$ac_exeext &&
15176 $as_test_x conftest$ac_exeext; then
15177 case "$LIBEXT" in
15178 dll) ;;
15179 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'` ;;
15180 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15181 esac
15182 else
15183 echo "$as_me: failed program was:" >&5
15184 sed 's/^/| /' conftest.$ac_ext >&5
15189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15190 conftest$ac_exeext conftest.$ac_ext
15191 LIBS=$ac_check_soname_save_LIBS
15193 if test "x$ac_cv_lib_soname_cups" = "x"; then
15194 { echo "$as_me:$LINENO: result: not found" >&5
15195 echo "${ECHO_T}not found" >&6; }
15197 else
15198 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15199 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15201 cat >>confdefs.h <<_ACEOF
15202 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15203 _ACEOF
15209 if test "x$ac_cv_lib_soname_cups" = "x"; then
15210 case "x$with_cups" in
15211 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15212 xno) ;;
15213 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15214 This is an error since --with-cups was requested." >&5
15215 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15216 This is an error since --with-cups was requested." >&2;}
15217 { (exit 1); exit 1; }; } ;;
15218 esac
15222 if test "$ac_cv_header_jack_jack_h" = "yes"
15223 then
15224 { echo "$as_me:$LINENO: checking for -ljack" >&5
15225 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15226 if test "${ac_cv_lib_soname_jack+set}" = set; then
15227 echo $ECHO_N "(cached) $ECHO_C" >&6
15228 else
15229 ac_check_soname_save_LIBS=$LIBS
15230 LIBS="-ljack $LIBS"
15231 cat >conftest.$ac_ext <<_ACEOF
15232 /* confdefs.h. */
15233 _ACEOF
15234 cat confdefs.h >>conftest.$ac_ext
15235 cat >>conftest.$ac_ext <<_ACEOF
15236 /* end confdefs.h. */
15238 /* Override any GCC internal prototype to avoid an error.
15239 Use char because int might match the return type of a GCC
15240 builtin and then its argument prototype would still apply. */
15241 #ifdef __cplusplus
15242 extern "C"
15243 #endif
15244 char jack_client_new ();
15246 main ()
15248 return jack_client_new ();
15250 return 0;
15252 _ACEOF
15253 rm -f conftest.$ac_objext conftest$ac_exeext
15254 if { (ac_try="$ac_link"
15255 case "(($ac_try" in
15256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15257 *) ac_try_echo=$ac_try;;
15258 esac
15259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15260 (eval "$ac_link") 2>conftest.er1
15261 ac_status=$?
15262 grep -v '^ *+' conftest.er1 >conftest.err
15263 rm -f conftest.er1
15264 cat conftest.err >&5
15265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15266 (exit $ac_status); } && {
15267 test -z "$ac_c_werror_flag" ||
15268 test ! -s conftest.err
15269 } && test -s conftest$ac_exeext &&
15270 $as_test_x conftest$ac_exeext; then
15271 case "$LIBEXT" in
15272 dll) ;;
15273 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'` ;;
15274 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15275 esac
15276 else
15277 echo "$as_me: failed program was:" >&5
15278 sed 's/^/| /' conftest.$ac_ext >&5
15283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15284 conftest$ac_exeext conftest.$ac_ext
15285 LIBS=$ac_check_soname_save_LIBS
15287 if test "x$ac_cv_lib_soname_jack" = "x"; then
15288 { echo "$as_me:$LINENO: result: not found" >&5
15289 echo "${ECHO_T}not found" >&6; }
15291 else
15292 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15293 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15295 cat >>confdefs.h <<_ACEOF
15296 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15297 _ACEOF
15304 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15305 then
15306 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15307 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15308 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15309 echo $ECHO_N "(cached) $ECHO_C" >&6
15310 else
15311 ac_check_soname_save_LIBS=$LIBS
15312 LIBS="-lfontconfig $LIBS"
15313 cat >conftest.$ac_ext <<_ACEOF
15314 /* confdefs.h. */
15315 _ACEOF
15316 cat confdefs.h >>conftest.$ac_ext
15317 cat >>conftest.$ac_ext <<_ACEOF
15318 /* end confdefs.h. */
15320 /* Override any GCC internal prototype to avoid an error.
15321 Use char because int might match the return type of a GCC
15322 builtin and then its argument prototype would still apply. */
15323 #ifdef __cplusplus
15324 extern "C"
15325 #endif
15326 char FcInit ();
15328 main ()
15330 return FcInit ();
15332 return 0;
15334 _ACEOF
15335 rm -f conftest.$ac_objext conftest$ac_exeext
15336 if { (ac_try="$ac_link"
15337 case "(($ac_try" in
15338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15339 *) ac_try_echo=$ac_try;;
15340 esac
15341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15342 (eval "$ac_link") 2>conftest.er1
15343 ac_status=$?
15344 grep -v '^ *+' conftest.er1 >conftest.err
15345 rm -f conftest.er1
15346 cat conftest.err >&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); } && {
15349 test -z "$ac_c_werror_flag" ||
15350 test ! -s conftest.err
15351 } && test -s conftest$ac_exeext &&
15352 $as_test_x conftest$ac_exeext; then
15353 case "$LIBEXT" in
15354 dll) ;;
15355 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'` ;;
15356 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15357 esac
15358 else
15359 echo "$as_me: failed program was:" >&5
15360 sed 's/^/| /' conftest.$ac_ext >&5
15365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15366 conftest$ac_exeext conftest.$ac_ext
15367 LIBS=$ac_check_soname_save_LIBS
15369 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15370 { echo "$as_me:$LINENO: result: not found" >&5
15371 echo "${ECHO_T}not found" >&6; }
15373 else
15374 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15375 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15377 cat >>confdefs.h <<_ACEOF
15378 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15379 _ACEOF
15384 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15385 then
15386 ac_save_CPPFLAGS="$CPPFLAGS"
15387 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15388 $as_unset ac_cv_header_fontconfig_fontconfig_h
15390 for ac_header in fontconfig/fontconfig.h
15392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15399 ac_res=`eval echo '${'$as_ac_Header'}'`
15400 { echo "$as_me:$LINENO: result: $ac_res" >&5
15401 echo "${ECHO_T}$ac_res" >&6; }
15402 else
15403 # Is the header compilable?
15404 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15406 cat >conftest.$ac_ext <<_ACEOF
15407 /* confdefs.h. */
15408 _ACEOF
15409 cat confdefs.h >>conftest.$ac_ext
15410 cat >>conftest.$ac_ext <<_ACEOF
15411 /* end confdefs.h. */
15412 $ac_includes_default
15413 #include <$ac_header>
15414 _ACEOF
15415 rm -f conftest.$ac_objext
15416 if { (ac_try="$ac_compile"
15417 case "(($ac_try" in
15418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15419 *) ac_try_echo=$ac_try;;
15420 esac
15421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15422 (eval "$ac_compile") 2>conftest.er1
15423 ac_status=$?
15424 grep -v '^ *+' conftest.er1 >conftest.err
15425 rm -f conftest.er1
15426 cat conftest.err >&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); } && {
15429 test -z "$ac_c_werror_flag" ||
15430 test ! -s conftest.err
15431 } && test -s conftest.$ac_objext; then
15432 ac_header_compiler=yes
15433 else
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.$ac_ext >&5
15437 ac_header_compiler=no
15440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15441 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15442 echo "${ECHO_T}$ac_header_compiler" >&6; }
15444 # Is the header present?
15445 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15447 cat >conftest.$ac_ext <<_ACEOF
15448 /* confdefs.h. */
15449 _ACEOF
15450 cat confdefs.h >>conftest.$ac_ext
15451 cat >>conftest.$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15453 #include <$ac_header>
15454 _ACEOF
15455 if { (ac_try="$ac_cpp conftest.$ac_ext"
15456 case "(($ac_try" in
15457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15458 *) ac_try_echo=$ac_try;;
15459 esac
15460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15462 ac_status=$?
15463 grep -v '^ *+' conftest.er1 >conftest.err
15464 rm -f conftest.er1
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } >/dev/null && {
15468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15469 test ! -s conftest.err
15470 }; then
15471 ac_header_preproc=yes
15472 else
15473 echo "$as_me: failed program was:" >&5
15474 sed 's/^/| /' conftest.$ac_ext >&5
15476 ac_header_preproc=no
15479 rm -f conftest.err conftest.$ac_ext
15480 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15481 echo "${ECHO_T}$ac_header_preproc" >&6; }
15483 # So? What about this header?
15484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15485 yes:no: )
15486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15489 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15490 ac_header_preproc=yes
15492 no:yes:* )
15493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15497 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15498 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15499 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15500 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15502 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15503 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15504 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15505 ( cat <<\_ASBOX
15506 ## ------------------------------------ ##
15507 ## Report this to wine-devel@winehq.org ##
15508 ## ------------------------------------ ##
15509 _ASBOX
15510 ) | sed "s/^/$as_me: WARNING: /" >&2
15512 esac
15513 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15516 echo $ECHO_N "(cached) $ECHO_C" >&6
15517 else
15518 eval "$as_ac_Header=\$ac_header_preproc"
15520 ac_res=`eval echo '${'$as_ac_Header'}'`
15521 { echo "$as_me:$LINENO: result: $ac_res" >&5
15522 echo "${ECHO_T}$ac_res" >&6; }
15525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15526 cat >>confdefs.h <<_ACEOF
15527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15528 _ACEOF
15532 done
15534 CPPFLAGS="$ac_save_CPPFLAGS"
15535 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15536 then
15537 FONTCONFIGINCL="$X_CFLAGS"
15539 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15540 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15541 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15543 else
15544 ac_check_soname_save_LIBS=$LIBS
15545 LIBS="-lfontconfig $X_LIBS $LIBS"
15546 cat >conftest.$ac_ext <<_ACEOF
15547 /* confdefs.h. */
15548 _ACEOF
15549 cat confdefs.h >>conftest.$ac_ext
15550 cat >>conftest.$ac_ext <<_ACEOF
15551 /* end confdefs.h. */
15553 /* Override any GCC internal prototype to avoid an error.
15554 Use char because int might match the return type of a GCC
15555 builtin and then its argument prototype would still apply. */
15556 #ifdef __cplusplus
15557 extern "C"
15558 #endif
15559 char FcInit ();
15561 main ()
15563 return FcInit ();
15565 return 0;
15567 _ACEOF
15568 rm -f conftest.$ac_objext conftest$ac_exeext
15569 if { (ac_try="$ac_link"
15570 case "(($ac_try" in
15571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15572 *) ac_try_echo=$ac_try;;
15573 esac
15574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15575 (eval "$ac_link") 2>conftest.er1
15576 ac_status=$?
15577 grep -v '^ *+' conftest.er1 >conftest.err
15578 rm -f conftest.er1
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } && {
15582 test -z "$ac_c_werror_flag" ||
15583 test ! -s conftest.err
15584 } && test -s conftest$ac_exeext &&
15585 $as_test_x conftest$ac_exeext; then
15586 case "$LIBEXT" in
15587 dll) ;;
15588 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'` ;;
15589 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15590 esac
15591 else
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.$ac_ext >&5
15598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15599 conftest$ac_exeext conftest.$ac_ext
15600 LIBS=$ac_check_soname_save_LIBS
15602 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15603 { echo "$as_me:$LINENO: result: not found" >&5
15604 echo "${ECHO_T}not found" >&6; }
15606 else
15607 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15608 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15610 cat >>confdefs.h <<_ACEOF
15611 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15612 _ACEOF
15619 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15620 case "x$with_fontconfig" in
15621 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15622 xno) ;;
15623 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15624 This is an error since --with-fontconfig was requested." >&5
15625 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15626 This is an error since --with-fontconfig was requested." >&2;}
15627 { (exit 1); exit 1; }; } ;;
15628 esac
15632 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15633 then
15634 { echo "$as_me:$LINENO: checking for -lssl" >&5
15635 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15636 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15637 echo $ECHO_N "(cached) $ECHO_C" >&6
15638 else
15639 ac_check_soname_save_LIBS=$LIBS
15640 LIBS="-lssl $LIBS"
15641 cat >conftest.$ac_ext <<_ACEOF
15642 /* confdefs.h. */
15643 _ACEOF
15644 cat confdefs.h >>conftest.$ac_ext
15645 cat >>conftest.$ac_ext <<_ACEOF
15646 /* end confdefs.h. */
15648 /* Override any GCC internal prototype to avoid an error.
15649 Use char because int might match the return type of a GCC
15650 builtin and then its argument prototype would still apply. */
15651 #ifdef __cplusplus
15652 extern "C"
15653 #endif
15654 char SSL_library_init ();
15656 main ()
15658 return SSL_library_init ();
15660 return 0;
15662 _ACEOF
15663 rm -f conftest.$ac_objext conftest$ac_exeext
15664 if { (ac_try="$ac_link"
15665 case "(($ac_try" in
15666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15667 *) ac_try_echo=$ac_try;;
15668 esac
15669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15670 (eval "$ac_link") 2>conftest.er1
15671 ac_status=$?
15672 grep -v '^ *+' conftest.er1 >conftest.err
15673 rm -f conftest.er1
15674 cat conftest.err >&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } && {
15677 test -z "$ac_c_werror_flag" ||
15678 test ! -s conftest.err
15679 } && test -s conftest$ac_exeext &&
15680 $as_test_x conftest$ac_exeext; then
15681 case "$LIBEXT" in
15682 dll) ;;
15683 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'` ;;
15684 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15685 esac
15686 else
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.$ac_ext >&5
15693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15694 conftest$ac_exeext conftest.$ac_ext
15695 LIBS=$ac_check_soname_save_LIBS
15697 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15698 { echo "$as_me:$LINENO: result: not found" >&5
15699 echo "${ECHO_T}not found" >&6; }
15701 else
15702 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15703 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15705 cat >>confdefs.h <<_ACEOF
15706 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15707 _ACEOF
15712 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15713 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15714 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15716 else
15717 ac_check_soname_save_LIBS=$LIBS
15718 LIBS="-lcrypto $LIBS"
15719 cat >conftest.$ac_ext <<_ACEOF
15720 /* confdefs.h. */
15721 _ACEOF
15722 cat confdefs.h >>conftest.$ac_ext
15723 cat >>conftest.$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15729 #ifdef __cplusplus
15730 extern "C"
15731 #endif
15732 char BIO_new_socket ();
15734 main ()
15736 return BIO_new_socket ();
15738 return 0;
15740 _ACEOF
15741 rm -f conftest.$ac_objext conftest$ac_exeext
15742 if { (ac_try="$ac_link"
15743 case "(($ac_try" in
15744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15745 *) ac_try_echo=$ac_try;;
15746 esac
15747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15748 (eval "$ac_link") 2>conftest.er1
15749 ac_status=$?
15750 grep -v '^ *+' conftest.er1 >conftest.err
15751 rm -f conftest.er1
15752 cat conftest.err >&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } && {
15755 test -z "$ac_c_werror_flag" ||
15756 test ! -s conftest.err
15757 } && test -s conftest$ac_exeext &&
15758 $as_test_x conftest$ac_exeext; then
15759 case "$LIBEXT" in
15760 dll) ;;
15761 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'` ;;
15762 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15763 esac
15764 else
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.$ac_ext >&5
15771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15772 conftest$ac_exeext conftest.$ac_ext
15773 LIBS=$ac_check_soname_save_LIBS
15775 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15776 { echo "$as_me:$LINENO: result: not found" >&5
15777 echo "${ECHO_T}not found" >&6; }
15779 else
15780 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15781 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15783 cat >>confdefs.h <<_ACEOF
15784 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15785 _ACEOF
15791 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15792 case "x$with_openssl" in
15793 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15794 xno) ;;
15795 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15796 This is an error since --with-openssl was requested." >&5
15797 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15798 This is an error since --with-openssl was requested." >&2;}
15799 { (exit 1); exit 1; }; } ;;
15800 esac
15804 if test "$ac_cv_header_jpeglib_h" = "yes"
15805 then
15806 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15807 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15808 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15809 echo $ECHO_N "(cached) $ECHO_C" >&6
15810 else
15811 ac_check_soname_save_LIBS=$LIBS
15812 LIBS="-ljpeg $LIBS"
15813 cat >conftest.$ac_ext <<_ACEOF
15814 /* confdefs.h. */
15815 _ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15820 /* Override any GCC internal prototype to avoid an error.
15821 Use char because int might match the return type of a GCC
15822 builtin and then its argument prototype would still apply. */
15823 #ifdef __cplusplus
15824 extern "C"
15825 #endif
15826 char jpeg_start_decompress ();
15828 main ()
15830 return jpeg_start_decompress ();
15832 return 0;
15834 _ACEOF
15835 rm -f conftest.$ac_objext conftest$ac_exeext
15836 if { (ac_try="$ac_link"
15837 case "(($ac_try" in
15838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15839 *) ac_try_echo=$ac_try;;
15840 esac
15841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15842 (eval "$ac_link") 2>conftest.er1
15843 ac_status=$?
15844 grep -v '^ *+' conftest.er1 >conftest.err
15845 rm -f conftest.er1
15846 cat conftest.err >&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); } && {
15849 test -z "$ac_c_werror_flag" ||
15850 test ! -s conftest.err
15851 } && test -s conftest$ac_exeext &&
15852 $as_test_x conftest$ac_exeext; then
15853 case "$LIBEXT" in
15854 dll) ;;
15855 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'` ;;
15856 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15857 esac
15858 else
15859 echo "$as_me: failed program was:" >&5
15860 sed 's/^/| /' conftest.$ac_ext >&5
15865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15866 conftest$ac_exeext conftest.$ac_ext
15867 LIBS=$ac_check_soname_save_LIBS
15869 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15870 { echo "$as_me:$LINENO: result: not found" >&5
15871 echo "${ECHO_T}not found" >&6; }
15873 else
15874 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15875 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15877 cat >>confdefs.h <<_ACEOF
15878 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15879 _ACEOF
15885 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15886 case "x$with_jpeg" in
15887 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15888 xno) ;;
15889 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15890 This is an error since --with-jpeg was requested." >&5
15891 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15892 This is an error since --with-jpeg was requested." >&2;}
15893 { (exit 1); exit 1; }; } ;;
15894 esac
15898 if test "$ac_cv_header_png_h" = "yes"
15899 then
15900 { echo "$as_me:$LINENO: checking for -lpng" >&5
15901 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15902 if test "${ac_cv_lib_soname_png+set}" = set; then
15903 echo $ECHO_N "(cached) $ECHO_C" >&6
15904 else
15905 ac_check_soname_save_LIBS=$LIBS
15906 LIBS="-lpng $LIBS"
15907 cat >conftest.$ac_ext <<_ACEOF
15908 /* confdefs.h. */
15909 _ACEOF
15910 cat confdefs.h >>conftest.$ac_ext
15911 cat >>conftest.$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15914 /* Override any GCC internal prototype to avoid an error.
15915 Use char because int might match the return type of a GCC
15916 builtin and then its argument prototype would still apply. */
15917 #ifdef __cplusplus
15918 extern "C"
15919 #endif
15920 char png_create_read_struct ();
15922 main ()
15924 return png_create_read_struct ();
15926 return 0;
15928 _ACEOF
15929 rm -f conftest.$ac_objext conftest$ac_exeext
15930 if { (ac_try="$ac_link"
15931 case "(($ac_try" in
15932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15933 *) ac_try_echo=$ac_try;;
15934 esac
15935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15936 (eval "$ac_link") 2>conftest.er1
15937 ac_status=$?
15938 grep -v '^ *+' conftest.er1 >conftest.err
15939 rm -f conftest.er1
15940 cat conftest.err >&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } && {
15943 test -z "$ac_c_werror_flag" ||
15944 test ! -s conftest.err
15945 } && test -s conftest$ac_exeext &&
15946 $as_test_x conftest$ac_exeext; then
15947 case "$LIBEXT" in
15948 dll) ;;
15949 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'` ;;
15950 *) 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'` ;;
15951 esac
15952 else
15953 echo "$as_me: failed program was:" >&5
15954 sed 's/^/| /' conftest.$ac_ext >&5
15959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15960 conftest$ac_exeext conftest.$ac_ext
15961 LIBS=$ac_check_soname_save_LIBS
15963 if test "x$ac_cv_lib_soname_png" = "x"; then
15964 { echo "$as_me:$LINENO: result: not found" >&5
15965 echo "${ECHO_T}not found" >&6; }
15967 else
15968 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15969 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15971 cat >>confdefs.h <<_ACEOF
15972 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15973 _ACEOF
15979 if test "x$ac_cv_lib_soname_png" = "x"; then
15980 case "x$with_png" in
15981 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
15982 xno) ;;
15983 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15984 This is an error since --with-png was requested." >&5
15985 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15986 This is an error since --with-png was requested." >&2;}
15987 { (exit 1); exit 1; }; } ;;
15988 esac
15992 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15993 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15994 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15995 echo $ECHO_N "(cached) $ECHO_C" >&6
15996 else
15997 ac_check_soname_save_LIBS=$LIBS
15998 LIBS="-lodbc $LIBS"
15999 cat >conftest.$ac_ext <<_ACEOF
16000 /* confdefs.h. */
16001 _ACEOF
16002 cat confdefs.h >>conftest.$ac_ext
16003 cat >>conftest.$ac_ext <<_ACEOF
16004 /* end confdefs.h. */
16006 /* Override any GCC internal prototype to avoid an error.
16007 Use char because int might match the return type of a GCC
16008 builtin and then its argument prototype would still apply. */
16009 #ifdef __cplusplus
16010 extern "C"
16011 #endif
16012 char SQLConnect ();
16014 main ()
16016 return SQLConnect ();
16018 return 0;
16020 _ACEOF
16021 rm -f conftest.$ac_objext conftest$ac_exeext
16022 if { (ac_try="$ac_link"
16023 case "(($ac_try" in
16024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16025 *) ac_try_echo=$ac_try;;
16026 esac
16027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16028 (eval "$ac_link") 2>conftest.er1
16029 ac_status=$?
16030 grep -v '^ *+' conftest.er1 >conftest.err
16031 rm -f conftest.er1
16032 cat conftest.err >&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); } && {
16035 test -z "$ac_c_werror_flag" ||
16036 test ! -s conftest.err
16037 } && test -s conftest$ac_exeext &&
16038 $as_test_x conftest$ac_exeext; then
16039 case "$LIBEXT" in
16040 dll) ;;
16041 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'` ;;
16042 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16043 esac
16044 else
16045 echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.$ac_ext >&5
16051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16052 conftest$ac_exeext conftest.$ac_ext
16053 LIBS=$ac_check_soname_save_LIBS
16055 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16056 { echo "$as_me:$LINENO: result: not found" >&5
16057 echo "${ECHO_T}not found" >&6; }
16058 cat >>confdefs.h <<_ACEOF
16059 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16060 _ACEOF
16062 else
16063 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16064 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16066 cat >>confdefs.h <<_ACEOF
16067 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16068 _ACEOF
16074 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16075 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16076 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16077 "$ac_cv_header_soundcard_h" != "yes" -a \
16078 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16079 then
16080 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16084 EXTRACFLAGS=""
16086 if test "x${GCC}" = "xyes"
16087 then
16088 EXTRACFLAGS="-Wall -pipe"
16090 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16091 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16092 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16094 else
16095 if test "$cross_compiling" = yes; then
16096 ac_cv_c_gcc_strength_bug="yes"
16097 else
16098 cat >conftest.$ac_ext <<_ACEOF
16099 /* confdefs.h. */
16100 _ACEOF
16101 cat confdefs.h >>conftest.$ac_ext
16102 cat >>conftest.$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 int L[4] = {0,1,2,3};
16106 main ()
16108 static int Array[3];
16109 unsigned int B = 3;
16110 int i;
16111 for(i=0; i<B; i++) Array[i] = i - 3;
16112 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16113 L[i] = 4;
16114 exit( Array[1] != -2 || L[2] != 3)
16116 return 0;
16118 _ACEOF
16119 rm -f conftest$ac_exeext
16120 if { (ac_try="$ac_link"
16121 case "(($ac_try" in
16122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16123 *) ac_try_echo=$ac_try;;
16124 esac
16125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16126 (eval "$ac_link") 2>&5
16127 ac_status=$?
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16130 { (case "(($ac_try" in
16131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16132 *) ac_try_echo=$ac_try;;
16133 esac
16134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16135 (eval "$ac_try") 2>&5
16136 ac_status=$?
16137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16138 (exit $ac_status); }; }; then
16139 ac_cv_c_gcc_strength_bug="no"
16140 else
16141 echo "$as_me: program exited with status $ac_status" >&5
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16145 ( exit $ac_status )
16146 ac_cv_c_gcc_strength_bug="yes"
16148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16153 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16154 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16155 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16156 then
16157 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16161 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16162 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16163 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16164 echo $ECHO_N "(cached) $ECHO_C" >&6
16165 else
16166 ac_wine_try_cflags_saved=$CFLAGS
16167 CFLAGS="$CFLAGS -fshort-wchar"
16168 cat >conftest.$ac_ext <<_ACEOF
16169 /* confdefs.h. */
16170 _ACEOF
16171 cat confdefs.h >>conftest.$ac_ext
16172 cat >>conftest.$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16176 main ()
16180 return 0;
16182 _ACEOF
16183 rm -f conftest.$ac_objext conftest$ac_exeext
16184 if { (ac_try="$ac_link"
16185 case "(($ac_try" in
16186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16187 *) ac_try_echo=$ac_try;;
16188 esac
16189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16190 (eval "$ac_link") 2>conftest.er1
16191 ac_status=$?
16192 grep -v '^ *+' conftest.er1 >conftest.err
16193 rm -f conftest.er1
16194 cat conftest.err >&5
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); } && {
16197 test -z "$ac_c_werror_flag" ||
16198 test ! -s conftest.err
16199 } && test -s conftest$ac_exeext &&
16200 $as_test_x conftest$ac_exeext; then
16201 ac_cv_cflags__fshort_wchar=yes
16202 else
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.$ac_ext >&5
16206 ac_cv_cflags__fshort_wchar=no
16209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16210 conftest$ac_exeext conftest.$ac_ext
16211 CFLAGS=$ac_wine_try_cflags_saved
16213 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16214 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16215 if test $ac_cv_cflags__fshort_wchar = yes; then
16217 cat >>confdefs.h <<\_ACEOF
16218 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16219 _ACEOF
16223 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16224 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16225 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16226 echo $ECHO_N "(cached) $ECHO_C" >&6
16227 else
16228 ac_wine_try_cflags_saved=$CFLAGS
16229 CFLAGS="$CFLAGS -fno-strict-aliasing"
16230 cat >conftest.$ac_ext <<_ACEOF
16231 /* confdefs.h. */
16232 _ACEOF
16233 cat confdefs.h >>conftest.$ac_ext
16234 cat >>conftest.$ac_ext <<_ACEOF
16235 /* end confdefs.h. */
16238 main ()
16242 return 0;
16244 _ACEOF
16245 rm -f conftest.$ac_objext conftest$ac_exeext
16246 if { (ac_try="$ac_link"
16247 case "(($ac_try" in
16248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16249 *) ac_try_echo=$ac_try;;
16250 esac
16251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16252 (eval "$ac_link") 2>conftest.er1
16253 ac_status=$?
16254 grep -v '^ *+' conftest.er1 >conftest.err
16255 rm -f conftest.er1
16256 cat conftest.err >&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); } && {
16259 test -z "$ac_c_werror_flag" ||
16260 test ! -s conftest.err
16261 } && test -s conftest$ac_exeext &&
16262 $as_test_x conftest$ac_exeext; then
16263 ac_cv_cflags__fno_strict_aliasing=yes
16264 else
16265 echo "$as_me: failed program was:" >&5
16266 sed 's/^/| /' conftest.$ac_ext >&5
16268 ac_cv_cflags__fno_strict_aliasing=no
16271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16272 conftest$ac_exeext conftest.$ac_ext
16273 CFLAGS=$ac_wine_try_cflags_saved
16275 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16276 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16277 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16278 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16281 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16282 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16283 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16284 echo $ECHO_N "(cached) $ECHO_C" >&6
16285 else
16286 ac_wine_try_cflags_saved=$CFLAGS
16287 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16288 cat >conftest.$ac_ext <<_ACEOF
16289 /* confdefs.h. */
16290 _ACEOF
16291 cat confdefs.h >>conftest.$ac_ext
16292 cat >>conftest.$ac_ext <<_ACEOF
16293 /* end confdefs.h. */
16296 main ()
16300 return 0;
16302 _ACEOF
16303 rm -f conftest.$ac_objext conftest$ac_exeext
16304 if { (ac_try="$ac_link"
16305 case "(($ac_try" in
16306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16307 *) ac_try_echo=$ac_try;;
16308 esac
16309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16310 (eval "$ac_link") 2>conftest.er1
16311 ac_status=$?
16312 grep -v '^ *+' conftest.er1 >conftest.err
16313 rm -f conftest.er1
16314 cat conftest.err >&5
16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16316 (exit $ac_status); } && {
16317 test -z "$ac_c_werror_flag" ||
16318 test ! -s conftest.err
16319 } && test -s conftest$ac_exeext &&
16320 $as_test_x conftest$ac_exeext; then
16321 ac_cv_cflags__Wdeclaration_after_statement=yes
16322 else
16323 echo "$as_me: failed program was:" >&5
16324 sed 's/^/| /' conftest.$ac_ext >&5
16326 ac_cv_cflags__Wdeclaration_after_statement=no
16329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16330 conftest$ac_exeext conftest.$ac_ext
16331 CFLAGS=$ac_wine_try_cflags_saved
16333 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16334 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16335 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16336 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16339 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16340 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16341 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 else
16344 ac_wine_try_cflags_saved=$CFLAGS
16345 CFLAGS="$CFLAGS -Wwrite-strings"
16346 cat >conftest.$ac_ext <<_ACEOF
16347 /* confdefs.h. */
16348 _ACEOF
16349 cat confdefs.h >>conftest.$ac_ext
16350 cat >>conftest.$ac_ext <<_ACEOF
16351 /* end confdefs.h. */
16354 main ()
16358 return 0;
16360 _ACEOF
16361 rm -f conftest.$ac_objext conftest$ac_exeext
16362 if { (ac_try="$ac_link"
16363 case "(($ac_try" in
16364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16365 *) ac_try_echo=$ac_try;;
16366 esac
16367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16368 (eval "$ac_link") 2>conftest.er1
16369 ac_status=$?
16370 grep -v '^ *+' conftest.er1 >conftest.err
16371 rm -f conftest.er1
16372 cat conftest.err >&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } && {
16375 test -z "$ac_c_werror_flag" ||
16376 test ! -s conftest.err
16377 } && test -s conftest$ac_exeext &&
16378 $as_test_x conftest$ac_exeext; then
16379 ac_cv_cflags__Wwrite_strings=yes
16380 else
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16384 ac_cv_cflags__Wwrite_strings=no
16387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16388 conftest$ac_exeext conftest.$ac_ext
16389 CFLAGS=$ac_wine_try_cflags_saved
16391 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16392 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16393 if test $ac_cv_cflags__Wwrite_strings = yes; then
16394 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16397 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16398 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16399 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 ac_wine_try_cflags_saved=$CFLAGS
16403 CFLAGS="$CFLAGS -Wtype-limits"
16404 cat >conftest.$ac_ext <<_ACEOF
16405 /* confdefs.h. */
16406 _ACEOF
16407 cat confdefs.h >>conftest.$ac_ext
16408 cat >>conftest.$ac_ext <<_ACEOF
16409 /* end confdefs.h. */
16412 main ()
16416 return 0;
16418 _ACEOF
16419 rm -f conftest.$ac_objext conftest$ac_exeext
16420 if { (ac_try="$ac_link"
16421 case "(($ac_try" in
16422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16423 *) ac_try_echo=$ac_try;;
16424 esac
16425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16426 (eval "$ac_link") 2>conftest.er1
16427 ac_status=$?
16428 grep -v '^ *+' conftest.er1 >conftest.err
16429 rm -f conftest.er1
16430 cat conftest.err >&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); } && {
16433 test -z "$ac_c_werror_flag" ||
16434 test ! -s conftest.err
16435 } && test -s conftest$ac_exeext &&
16436 $as_test_x conftest$ac_exeext; then
16437 ac_cv_cflags__Wtype_limits=yes
16438 else
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16442 ac_cv_cflags__Wtype_limits=no
16445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16446 conftest$ac_exeext conftest.$ac_ext
16447 CFLAGS=$ac_wine_try_cflags_saved
16449 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16450 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16451 if test $ac_cv_cflags__Wtype_limits = yes; then
16452 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16456 saved_CFLAGS="$CFLAGS"
16457 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16458 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16459 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16460 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16461 echo $ECHO_N "(cached) $ECHO_C" >&6
16462 else
16463 cat >conftest.$ac_ext <<_ACEOF
16464 /* confdefs.h. */
16465 _ACEOF
16466 cat confdefs.h >>conftest.$ac_ext
16467 cat >>conftest.$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 #include <string.h>
16471 main ()
16475 return 0;
16477 _ACEOF
16478 rm -f conftest.$ac_objext
16479 if { (ac_try="$ac_compile"
16480 case "(($ac_try" in
16481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16482 *) ac_try_echo=$ac_try;;
16483 esac
16484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16485 (eval "$ac_compile") 2>conftest.er1
16486 ac_status=$?
16487 grep -v '^ *+' conftest.er1 >conftest.err
16488 rm -f conftest.er1
16489 cat conftest.err >&5
16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16491 (exit $ac_status); } && {
16492 test -z "$ac_c_werror_flag" ||
16493 test ! -s conftest.err
16494 } && test -s conftest.$ac_objext; then
16495 ac_cv_c_string_h_warnings=no
16496 else
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16500 ac_cv_c_string_h_warnings=yes
16503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16505 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16506 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16507 CFLAGS="$saved_CFLAGS"
16508 if test "$ac_cv_c_string_h_warnings" = "no"
16509 then
16510 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16513 BUILTINFLAG=""
16515 saved_CFLAGS="$CFLAGS"
16516 CFLAGS="$CFLAGS -Werror"
16517 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16518 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16519 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16520 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 else
16522 cat >conftest.$ac_ext <<_ACEOF
16523 /* confdefs.h. */
16524 _ACEOF
16525 cat confdefs.h >>conftest.$ac_ext
16526 cat >>conftest.$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16530 main ()
16532 int iswlower(unsigned short);
16534 return 0;
16536 _ACEOF
16537 rm -f conftest.$ac_objext
16538 if { (ac_try="$ac_compile"
16539 case "(($ac_try" in
16540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16541 *) ac_try_echo=$ac_try;;
16542 esac
16543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16544 (eval "$ac_compile") 2>conftest.er1
16545 ac_status=$?
16546 grep -v '^ *+' conftest.er1 >conftest.err
16547 rm -f conftest.er1
16548 cat conftest.err >&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } && {
16551 test -z "$ac_c_werror_flag" ||
16552 test ! -s conftest.err
16553 } && test -s conftest.$ac_objext; then
16554 ac_cv_c_builtin_wchar_ctype=no
16555 else
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16559 ac_cv_c_builtin_wchar_ctype=yes
16562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16564 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16565 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16566 CFLAGS="$saved_CFLAGS"
16567 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16568 then
16569 BUILTINFLAG="-fno-builtin"
16574 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16575 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16576 if test "${ac_cv_asm_func_def+set}" = set; then
16577 echo $ECHO_N "(cached) $ECHO_C" >&6
16578 else
16579 cat >conftest.$ac_ext <<_ACEOF
16580 /* confdefs.h. */
16581 _ACEOF
16582 cat confdefs.h >>conftest.$ac_ext
16583 cat >>conftest.$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16587 main ()
16589 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16591 return 0;
16593 _ACEOF
16594 rm -f conftest.$ac_objext conftest$ac_exeext
16595 if { (ac_try="$ac_link"
16596 case "(($ac_try" in
16597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16598 *) ac_try_echo=$ac_try;;
16599 esac
16600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16601 (eval "$ac_link") 2>conftest.er1
16602 ac_status=$?
16603 grep -v '^ *+' conftest.er1 >conftest.err
16604 rm -f conftest.er1
16605 cat conftest.err >&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); } && {
16608 test -z "$ac_c_werror_flag" ||
16609 test ! -s conftest.err
16610 } && test -s conftest$ac_exeext &&
16611 $as_test_x conftest$ac_exeext; then
16612 ac_cv_asm_func_def=".def"
16613 else
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.$ac_ext >&5
16617 cat >conftest.$ac_ext <<_ACEOF
16618 /* confdefs.h. */
16619 _ACEOF
16620 cat confdefs.h >>conftest.$ac_ext
16621 cat >>conftest.$ac_ext <<_ACEOF
16622 /* end confdefs.h. */
16625 main ()
16627 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16629 return 0;
16631 _ACEOF
16632 rm -f conftest.$ac_objext conftest$ac_exeext
16633 if { (ac_try="$ac_link"
16634 case "(($ac_try" in
16635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16636 *) ac_try_echo=$ac_try;;
16637 esac
16638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16639 (eval "$ac_link") 2>conftest.er1
16640 ac_status=$?
16641 grep -v '^ *+' conftest.er1 >conftest.err
16642 rm -f conftest.er1
16643 cat conftest.err >&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); } && {
16646 test -z "$ac_c_werror_flag" ||
16647 test ! -s conftest.err
16648 } && test -s conftest$ac_exeext &&
16649 $as_test_x conftest$ac_exeext; then
16650 ac_cv_asm_func_def=".type @function"
16651 else
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16655 cat >conftest.$ac_ext <<_ACEOF
16656 /* confdefs.h. */
16657 _ACEOF
16658 cat confdefs.h >>conftest.$ac_ext
16659 cat >>conftest.$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16663 main ()
16665 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16667 return 0;
16669 _ACEOF
16670 rm -f conftest.$ac_objext conftest$ac_exeext
16671 if { (ac_try="$ac_link"
16672 case "(($ac_try" in
16673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16674 *) ac_try_echo=$ac_try;;
16675 esac
16676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16677 (eval "$ac_link") 2>conftest.er1
16678 ac_status=$?
16679 grep -v '^ *+' conftest.er1 >conftest.err
16680 rm -f conftest.er1
16681 cat conftest.err >&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } && {
16684 test -z "$ac_c_werror_flag" ||
16685 test ! -s conftest.err
16686 } && test -s conftest$ac_exeext &&
16687 $as_test_x conftest$ac_exeext; then
16688 ac_cv_asm_func_def=".type 2"
16689 else
16690 echo "$as_me: failed program was:" >&5
16691 sed 's/^/| /' conftest.$ac_ext >&5
16693 ac_cv_asm_func_def="unknown"
16696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16697 conftest$ac_exeext conftest.$ac_ext
16700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16701 conftest$ac_exeext conftest.$ac_ext
16704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16705 conftest$ac_exeext conftest.$ac_ext
16707 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16708 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16712 case "$ac_cv_asm_func_def" in
16713 ".def")
16714 cat >>confdefs.h <<\_ACEOF
16715 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16716 _ACEOF
16718 ".type @function")
16719 cat >>confdefs.h <<\_ACEOF
16720 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16721 _ACEOF
16723 ".type 2")
16724 cat >>confdefs.h <<\_ACEOF
16725 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16726 _ACEOF
16729 cat >>confdefs.h <<\_ACEOF
16730 #define __ASM_FUNC(name) ""
16731 _ACEOF
16733 esac
16736 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16737 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16738 if test "${ac_cv_c_extern_prefix+set}" = set; then
16739 echo $ECHO_N "(cached) $ECHO_C" >&6
16740 else
16741 cat >conftest.$ac_ext <<_ACEOF
16742 /* confdefs.h. */
16743 _ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 extern int ac_test;
16749 main ()
16751 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16753 return 0;
16755 _ACEOF
16756 rm -f conftest.$ac_objext conftest$ac_exeext
16757 if { (ac_try="$ac_link"
16758 case "(($ac_try" in
16759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16760 *) ac_try_echo=$ac_try;;
16761 esac
16762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16763 (eval "$ac_link") 2>conftest.er1
16764 ac_status=$?
16765 grep -v '^ *+' conftest.er1 >conftest.err
16766 rm -f conftest.er1
16767 cat conftest.err >&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } && {
16770 test -z "$ac_c_werror_flag" ||
16771 test ! -s conftest.err
16772 } && test -s conftest$ac_exeext &&
16773 $as_test_x conftest$ac_exeext; then
16774 ac_cv_c_extern_prefix="yes"
16775 else
16776 echo "$as_me: failed program was:" >&5
16777 sed 's/^/| /' conftest.$ac_ext >&5
16779 ac_cv_c_extern_prefix="no"
16782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16783 conftest$ac_exeext conftest.$ac_ext
16785 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16786 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16790 if test "$ac_cv_c_extern_prefix" = "yes"
16791 then
16792 cat >>confdefs.h <<\_ACEOF
16793 #define __ASM_NAME(name) "_" name
16794 _ACEOF
16796 else
16797 cat >>confdefs.h <<\_ACEOF
16798 #define __ASM_NAME(name) name
16799 _ACEOF
16804 LDPATH=""
16806 case $build_os in
16807 cygwin*|mingw32*)
16808 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16810 darwin*|macosx*)
16812 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16813 then
16814 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16818 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16820 esac
16822 case $host_os in
16823 mingw32*)
16824 CRTLIBS="-lmsvcrt"
16826 SOCKETLIBS="-lws2_32"
16829 esac
16831 MAIN_BINARY="wine-pthread"
16832 case $host_cpu in
16833 *i[3456789]86*)
16834 case $host_os in
16835 linux* | k*bsd*-gnu)
16836 MAIN_BINARY="wine-glibc"
16838 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16840 freebsd*)
16841 MAIN_BINARY="wine-freebsd"
16843 EXTRA_BINARIES="wine-pthread"
16845 esac
16847 esac
16919 for ac_func in \
16920 _pclose \
16921 _popen \
16922 _snprintf \
16923 _spawnvp \
16924 _strdup \
16925 _stricmp \
16926 _strnicmp \
16927 _strtoi64 \
16928 _strtoui64 \
16929 _vsnprintf \
16930 asctime_r \
16931 chsize \
16932 clone \
16933 dlopen \
16934 epoll_create \
16935 ffs \
16936 finite \
16937 fork \
16938 fpclass \
16939 fstatfs \
16940 fstatvfs \
16941 ftruncate \
16942 futimes \
16943 futimesat \
16944 getdirentries \
16945 getopt_long \
16946 getpagesize \
16947 getpwuid \
16948 gettid \
16949 gettimeofday \
16950 getuid \
16951 inet_pton \
16952 kqueue \
16953 lstat \
16954 memmove \
16955 mmap \
16956 pclose \
16957 poll \
16958 popen \
16959 prctl \
16960 pread \
16961 pwrite \
16962 readlink \
16963 rfork \
16964 sched_yield \
16965 select \
16966 setproctitle \
16967 setrlimit \
16968 settimeofday \
16969 sigaltstack \
16970 sigprocmask \
16971 snprintf \
16972 spawnvp \
16973 statfs \
16974 statvfs \
16975 strcasecmp \
16976 strdup \
16977 strerror \
16978 strncasecmp \
16979 strtold \
16980 strtoll \
16981 strtoull \
16982 tcgetattr \
16983 thr_kill2 \
16984 timegm \
16985 usleep \
16986 vsnprintf \
16987 wait4 \
16988 waitpid \
16991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16992 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16994 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16995 echo $ECHO_N "(cached) $ECHO_C" >&6
16996 else
16997 cat >conftest.$ac_ext <<_ACEOF
16998 /* confdefs.h. */
16999 _ACEOF
17000 cat confdefs.h >>conftest.$ac_ext
17001 cat >>conftest.$ac_ext <<_ACEOF
17002 /* end confdefs.h. */
17003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17005 #define $ac_func innocuous_$ac_func
17007 /* System header to define __stub macros and hopefully few prototypes,
17008 which can conflict with char $ac_func (); below.
17009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17010 <limits.h> exists even on freestanding compilers. */
17012 #ifdef __STDC__
17013 # include <limits.h>
17014 #else
17015 # include <assert.h>
17016 #endif
17018 #undef $ac_func
17020 /* Override any GCC internal prototype to avoid an error.
17021 Use char because int might match the return type of a GCC
17022 builtin and then its argument prototype would still apply. */
17023 #ifdef __cplusplus
17024 extern "C"
17025 #endif
17026 char $ac_func ();
17027 /* The GNU C library defines this for functions which it implements
17028 to always fail with ENOSYS. Some functions are actually named
17029 something starting with __ and the normal name is an alias. */
17030 #if defined __stub_$ac_func || defined __stub___$ac_func
17031 choke me
17032 #endif
17035 main ()
17037 return $ac_func ();
17039 return 0;
17041 _ACEOF
17042 rm -f conftest.$ac_objext conftest$ac_exeext
17043 if { (ac_try="$ac_link"
17044 case "(($ac_try" in
17045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17046 *) ac_try_echo=$ac_try;;
17047 esac
17048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17049 (eval "$ac_link") 2>conftest.er1
17050 ac_status=$?
17051 grep -v '^ *+' conftest.er1 >conftest.err
17052 rm -f conftest.er1
17053 cat conftest.err >&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } && {
17056 test -z "$ac_c_werror_flag" ||
17057 test ! -s conftest.err
17058 } && test -s conftest$ac_exeext &&
17059 $as_test_x conftest$ac_exeext; then
17060 eval "$as_ac_var=yes"
17061 else
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17065 eval "$as_ac_var=no"
17068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17069 conftest$ac_exeext conftest.$ac_ext
17071 ac_res=`eval echo '${'$as_ac_var'}'`
17072 { echo "$as_me:$LINENO: result: $ac_res" >&5
17073 echo "${ECHO_T}$ac_res" >&6; }
17074 if test `eval echo '${'$as_ac_var'}'` = yes; then
17075 cat >>confdefs.h <<_ACEOF
17076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17077 _ACEOF
17080 done
17083 if test "$ac_cv_func_dlopen" = no
17084 then
17085 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17086 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17087 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17088 echo $ECHO_N "(cached) $ECHO_C" >&6
17089 else
17090 ac_check_lib_save_LIBS=$LIBS
17091 LIBS="-ldl $LIBS"
17092 cat >conftest.$ac_ext <<_ACEOF
17093 /* confdefs.h. */
17094 _ACEOF
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17099 /* Override any GCC internal prototype to avoid an error.
17100 Use char because int might match the return type of a GCC
17101 builtin and then its argument prototype would still apply. */
17102 #ifdef __cplusplus
17103 extern "C"
17104 #endif
17105 char dlopen ();
17107 main ()
17109 return dlopen ();
17111 return 0;
17113 _ACEOF
17114 rm -f conftest.$ac_objext conftest$ac_exeext
17115 if { (ac_try="$ac_link"
17116 case "(($ac_try" in
17117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17118 *) ac_try_echo=$ac_try;;
17119 esac
17120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17121 (eval "$ac_link") 2>conftest.er1
17122 ac_status=$?
17123 grep -v '^ *+' conftest.er1 >conftest.err
17124 rm -f conftest.er1
17125 cat conftest.err >&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); } && {
17128 test -z "$ac_c_werror_flag" ||
17129 test ! -s conftest.err
17130 } && test -s conftest$ac_exeext &&
17131 $as_test_x conftest$ac_exeext; then
17132 ac_cv_lib_dl_dlopen=yes
17133 else
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.$ac_ext >&5
17137 ac_cv_lib_dl_dlopen=no
17140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17141 conftest$ac_exeext conftest.$ac_ext
17142 LIBS=$ac_check_lib_save_LIBS
17144 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17145 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17146 if test $ac_cv_lib_dl_dlopen = yes; then
17147 cat >>confdefs.h <<\_ACEOF
17148 #define HAVE_DLOPEN 1
17149 _ACEOF
17150 LIBDL="-ldl"
17155 ac_wine_check_funcs_save_LIBS="$LIBS"
17156 LIBS="$LIBS $LIBDL"
17158 for ac_func in dladdr
17160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17164 echo $ECHO_N "(cached) $ECHO_C" >&6
17165 else
17166 cat >conftest.$ac_ext <<_ACEOF
17167 /* confdefs.h. */
17168 _ACEOF
17169 cat confdefs.h >>conftest.$ac_ext
17170 cat >>conftest.$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17174 #define $ac_func innocuous_$ac_func
17176 /* System header to define __stub macros and hopefully few prototypes,
17177 which can conflict with char $ac_func (); below.
17178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17179 <limits.h> exists even on freestanding compilers. */
17181 #ifdef __STDC__
17182 # include <limits.h>
17183 #else
17184 # include <assert.h>
17185 #endif
17187 #undef $ac_func
17189 /* Override any GCC internal prototype to avoid an error.
17190 Use char because int might match the return type of a GCC
17191 builtin and then its argument prototype would still apply. */
17192 #ifdef __cplusplus
17193 extern "C"
17194 #endif
17195 char $ac_func ();
17196 /* The GNU C library defines this for functions which it implements
17197 to always fail with ENOSYS. Some functions are actually named
17198 something starting with __ and the normal name is an alias. */
17199 #if defined __stub_$ac_func || defined __stub___$ac_func
17200 choke me
17201 #endif
17204 main ()
17206 return $ac_func ();
17208 return 0;
17210 _ACEOF
17211 rm -f conftest.$ac_objext conftest$ac_exeext
17212 if { (ac_try="$ac_link"
17213 case "(($ac_try" in
17214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17215 *) ac_try_echo=$ac_try;;
17216 esac
17217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17218 (eval "$ac_link") 2>conftest.er1
17219 ac_status=$?
17220 grep -v '^ *+' conftest.er1 >conftest.err
17221 rm -f conftest.er1
17222 cat conftest.err >&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } && {
17225 test -z "$ac_c_werror_flag" ||
17226 test ! -s conftest.err
17227 } && test -s conftest$ac_exeext &&
17228 $as_test_x conftest$ac_exeext; then
17229 eval "$as_ac_var=yes"
17230 else
17231 echo "$as_me: failed program was:" >&5
17232 sed 's/^/| /' conftest.$ac_ext >&5
17234 eval "$as_ac_var=no"
17237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17238 conftest$ac_exeext conftest.$ac_ext
17240 ac_res=`eval echo '${'$as_ac_var'}'`
17241 { echo "$as_me:$LINENO: result: $ac_res" >&5
17242 echo "${ECHO_T}$ac_res" >&6; }
17243 if test `eval echo '${'$as_ac_var'}'` = yes; then
17244 cat >>confdefs.h <<_ACEOF
17245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17246 _ACEOF
17249 done
17251 LIBS="$ac_wine_check_funcs_save_LIBS"
17253 if test "$ac_cv_func_poll" = no
17254 then
17255 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17256 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17257 if test "${ac_cv_lib_poll_poll+set}" = set; then
17258 echo $ECHO_N "(cached) $ECHO_C" >&6
17259 else
17260 ac_check_lib_save_LIBS=$LIBS
17261 LIBS="-lpoll $LIBS"
17262 cat >conftest.$ac_ext <<_ACEOF
17263 /* confdefs.h. */
17264 _ACEOF
17265 cat confdefs.h >>conftest.$ac_ext
17266 cat >>conftest.$ac_ext <<_ACEOF
17267 /* end confdefs.h. */
17269 /* Override any GCC internal prototype to avoid an error.
17270 Use char because int might match the return type of a GCC
17271 builtin and then its argument prototype would still apply. */
17272 #ifdef __cplusplus
17273 extern "C"
17274 #endif
17275 char poll ();
17277 main ()
17279 return poll ();
17281 return 0;
17283 _ACEOF
17284 rm -f conftest.$ac_objext conftest$ac_exeext
17285 if { (ac_try="$ac_link"
17286 case "(($ac_try" in
17287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17288 *) ac_try_echo=$ac_try;;
17289 esac
17290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17291 (eval "$ac_link") 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } && {
17298 test -z "$ac_c_werror_flag" ||
17299 test ! -s conftest.err
17300 } && test -s conftest$ac_exeext &&
17301 $as_test_x conftest$ac_exeext; then
17302 ac_cv_lib_poll_poll=yes
17303 else
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17307 ac_cv_lib_poll_poll=no
17310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17311 conftest$ac_exeext conftest.$ac_ext
17312 LIBS=$ac_check_lib_save_LIBS
17314 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17315 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17316 if test $ac_cv_lib_poll_poll = yes; then
17317 cat >>confdefs.h <<\_ACEOF
17318 #define HAVE_POLL 1
17319 _ACEOF
17320 LIBPOLL="-lpoll"
17326 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17327 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17328 if test "${ac_cv_search_gethostbyname+set}" = set; then
17329 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 else
17331 ac_func_search_save_LIBS=$LIBS
17332 cat >conftest.$ac_ext <<_ACEOF
17333 /* confdefs.h. */
17334 _ACEOF
17335 cat confdefs.h >>conftest.$ac_ext
17336 cat >>conftest.$ac_ext <<_ACEOF
17337 /* end confdefs.h. */
17339 /* Override any GCC internal prototype to avoid an error.
17340 Use char because int might match the return type of a GCC
17341 builtin and then its argument prototype would still apply. */
17342 #ifdef __cplusplus
17343 extern "C"
17344 #endif
17345 char gethostbyname ();
17347 main ()
17349 return gethostbyname ();
17351 return 0;
17353 _ACEOF
17354 for ac_lib in '' nsl; do
17355 if test -z "$ac_lib"; then
17356 ac_res="none required"
17357 else
17358 ac_res=-l$ac_lib
17359 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17361 rm -f conftest.$ac_objext conftest$ac_exeext
17362 if { (ac_try="$ac_link"
17363 case "(($ac_try" in
17364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17365 *) ac_try_echo=$ac_try;;
17366 esac
17367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17368 (eval "$ac_link") 2>conftest.er1
17369 ac_status=$?
17370 grep -v '^ *+' conftest.er1 >conftest.err
17371 rm -f conftest.er1
17372 cat conftest.err >&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); } && {
17375 test -z "$ac_c_werror_flag" ||
17376 test ! -s conftest.err
17377 } && test -s conftest$ac_exeext &&
17378 $as_test_x conftest$ac_exeext; then
17379 ac_cv_search_gethostbyname=$ac_res
17380 else
17381 echo "$as_me: failed program was:" >&5
17382 sed 's/^/| /' conftest.$ac_ext >&5
17387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17388 conftest$ac_exeext
17389 if test "${ac_cv_search_gethostbyname+set}" = set; then
17390 break
17392 done
17393 if test "${ac_cv_search_gethostbyname+set}" = set; then
17395 else
17396 ac_cv_search_gethostbyname=no
17398 rm conftest.$ac_ext
17399 LIBS=$ac_func_search_save_LIBS
17401 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17402 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17403 ac_res=$ac_cv_search_gethostbyname
17404 if test "$ac_res" != no; then
17405 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17410 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17411 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17412 if test "${ac_cv_search_connect+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 else
17415 ac_func_search_save_LIBS=$LIBS
17416 cat >conftest.$ac_ext <<_ACEOF
17417 /* confdefs.h. */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17423 /* Override any GCC internal prototype to avoid an error.
17424 Use char because int might match the return type of a GCC
17425 builtin and then its argument prototype would still apply. */
17426 #ifdef __cplusplus
17427 extern "C"
17428 #endif
17429 char connect ();
17431 main ()
17433 return connect ();
17435 return 0;
17437 _ACEOF
17438 for ac_lib in '' socket; do
17439 if test -z "$ac_lib"; then
17440 ac_res="none required"
17441 else
17442 ac_res=-l$ac_lib
17443 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17445 rm -f conftest.$ac_objext conftest$ac_exeext
17446 if { (ac_try="$ac_link"
17447 case "(($ac_try" in
17448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17449 *) ac_try_echo=$ac_try;;
17450 esac
17451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17452 (eval "$ac_link") 2>conftest.er1
17453 ac_status=$?
17454 grep -v '^ *+' conftest.er1 >conftest.err
17455 rm -f conftest.er1
17456 cat conftest.err >&5
17457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17458 (exit $ac_status); } && {
17459 test -z "$ac_c_werror_flag" ||
17460 test ! -s conftest.err
17461 } && test -s conftest$ac_exeext &&
17462 $as_test_x conftest$ac_exeext; then
17463 ac_cv_search_connect=$ac_res
17464 else
17465 echo "$as_me: failed program was:" >&5
17466 sed 's/^/| /' conftest.$ac_ext >&5
17471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17472 conftest$ac_exeext
17473 if test "${ac_cv_search_connect+set}" = set; then
17474 break
17476 done
17477 if test "${ac_cv_search_connect+set}" = set; then
17479 else
17480 ac_cv_search_connect=no
17482 rm conftest.$ac_ext
17483 LIBS=$ac_func_search_save_LIBS
17485 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17486 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17487 ac_res=$ac_cv_search_connect
17488 if test "$ac_res" != no; then
17489 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17494 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17495 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17496 if test "${ac_cv_search_inet_aton+set}" = set; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 else
17499 ac_func_search_save_LIBS=$LIBS
17500 cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h. */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17507 /* Override any GCC internal prototype to avoid an error.
17508 Use char because int might match the return type of a GCC
17509 builtin and then its argument prototype would still apply. */
17510 #ifdef __cplusplus
17511 extern "C"
17512 #endif
17513 char inet_aton ();
17515 main ()
17517 return inet_aton ();
17519 return 0;
17521 _ACEOF
17522 for ac_lib in '' resolv; do
17523 if test -z "$ac_lib"; then
17524 ac_res="none required"
17525 else
17526 ac_res=-l$ac_lib
17527 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17529 rm -f conftest.$ac_objext conftest$ac_exeext
17530 if { (ac_try="$ac_link"
17531 case "(($ac_try" in
17532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17533 *) ac_try_echo=$ac_try;;
17534 esac
17535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17536 (eval "$ac_link") 2>conftest.er1
17537 ac_status=$?
17538 grep -v '^ *+' conftest.er1 >conftest.err
17539 rm -f conftest.er1
17540 cat conftest.err >&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } && {
17543 test -z "$ac_c_werror_flag" ||
17544 test ! -s conftest.err
17545 } && test -s conftest$ac_exeext &&
17546 $as_test_x conftest$ac_exeext; then
17547 ac_cv_search_inet_aton=$ac_res
17548 else
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.$ac_ext >&5
17555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17556 conftest$ac_exeext
17557 if test "${ac_cv_search_inet_aton+set}" = set; then
17558 break
17560 done
17561 if test "${ac_cv_search_inet_aton+set}" = set; then
17563 else
17564 ac_cv_search_inet_aton=no
17566 rm conftest.$ac_ext
17567 LIBS=$ac_func_search_save_LIBS
17569 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17570 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17571 ac_res=$ac_cv_search_inet_aton
17572 if test "$ac_res" != no; then
17573 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17586 for ac_func in \
17587 getaddrinfo \
17588 getnameinfo \
17589 getnetbyname \
17590 getprotobyname \
17591 getprotobynumber \
17592 getservbyport \
17593 inet_network \
17594 sendmsg \
17597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17598 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17600 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17601 echo $ECHO_N "(cached) $ECHO_C" >&6
17602 else
17603 cat >conftest.$ac_ext <<_ACEOF
17604 /* confdefs.h. */
17605 _ACEOF
17606 cat confdefs.h >>conftest.$ac_ext
17607 cat >>conftest.$ac_ext <<_ACEOF
17608 /* end confdefs.h. */
17609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17611 #define $ac_func innocuous_$ac_func
17613 /* System header to define __stub macros and hopefully few prototypes,
17614 which can conflict with char $ac_func (); below.
17615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17616 <limits.h> exists even on freestanding compilers. */
17618 #ifdef __STDC__
17619 # include <limits.h>
17620 #else
17621 # include <assert.h>
17622 #endif
17624 #undef $ac_func
17626 /* Override any GCC internal prototype to avoid an error.
17627 Use char because int might match the return type of a GCC
17628 builtin and then its argument prototype would still apply. */
17629 #ifdef __cplusplus
17630 extern "C"
17631 #endif
17632 char $ac_func ();
17633 /* The GNU C library defines this for functions which it implements
17634 to always fail with ENOSYS. Some functions are actually named
17635 something starting with __ and the normal name is an alias. */
17636 #if defined __stub_$ac_func || defined __stub___$ac_func
17637 choke me
17638 #endif
17641 main ()
17643 return $ac_func ();
17645 return 0;
17647 _ACEOF
17648 rm -f conftest.$ac_objext conftest$ac_exeext
17649 if { (ac_try="$ac_link"
17650 case "(($ac_try" in
17651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17652 *) ac_try_echo=$ac_try;;
17653 esac
17654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17655 (eval "$ac_link") 2>conftest.er1
17656 ac_status=$?
17657 grep -v '^ *+' conftest.er1 >conftest.err
17658 rm -f conftest.er1
17659 cat conftest.err >&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } && {
17662 test -z "$ac_c_werror_flag" ||
17663 test ! -s conftest.err
17664 } && test -s conftest$ac_exeext &&
17665 $as_test_x conftest$ac_exeext; then
17666 eval "$as_ac_var=yes"
17667 else
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.$ac_ext >&5
17671 eval "$as_ac_var=no"
17674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17675 conftest$ac_exeext conftest.$ac_ext
17677 ac_res=`eval echo '${'$as_ac_var'}'`
17678 { echo "$as_me:$LINENO: result: $ac_res" >&5
17679 echo "${ECHO_T}$ac_res" >&6; }
17680 if test `eval echo '${'$as_ac_var'}'` = yes; then
17681 cat >>confdefs.h <<_ACEOF
17682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17683 _ACEOF
17686 done
17690 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17691 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17692 if test "${ac_cv_c_const+set}" = set; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 else
17695 cat >conftest.$ac_ext <<_ACEOF
17696 /* confdefs.h. */
17697 _ACEOF
17698 cat confdefs.h >>conftest.$ac_ext
17699 cat >>conftest.$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17703 main ()
17705 /* FIXME: Include the comments suggested by Paul. */
17706 #ifndef __cplusplus
17707 /* Ultrix mips cc rejects this. */
17708 typedef int charset[2];
17709 const charset cs;
17710 /* SunOS 4.1.1 cc rejects this. */
17711 char const *const *pcpcc;
17712 char **ppc;
17713 /* NEC SVR4.0.2 mips cc rejects this. */
17714 struct point {int x, y;};
17715 static struct point const zero = {0,0};
17716 /* AIX XL C 1.02.0.0 rejects this.
17717 It does not let you subtract one const X* pointer from another in
17718 an arm of an if-expression whose if-part is not a constant
17719 expression */
17720 const char *g = "string";
17721 pcpcc = &g + (g ? g-g : 0);
17722 /* HPUX 7.0 cc rejects these. */
17723 ++pcpcc;
17724 ppc = (char**) pcpcc;
17725 pcpcc = (char const *const *) ppc;
17726 { /* SCO 3.2v4 cc rejects this. */
17727 char *t;
17728 char const *s = 0 ? (char *) 0 : (char const *) 0;
17730 *t++ = 0;
17731 if (s) return 0;
17733 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17734 int x[] = {25, 17};
17735 const int *foo = &x[0];
17736 ++foo;
17738 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17739 typedef const int *iptr;
17740 iptr p = 0;
17741 ++p;
17743 { /* AIX XL C 1.02.0.0 rejects this saying
17744 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17745 struct s { int j; const int *ap[3]; };
17746 struct s *b; b->j = 5;
17748 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17749 const int foo = 10;
17750 if (!foo) return 0;
17752 return !cs[0] && !zero.x;
17753 #endif
17756 return 0;
17758 _ACEOF
17759 rm -f conftest.$ac_objext
17760 if { (ac_try="$ac_compile"
17761 case "(($ac_try" in
17762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17763 *) ac_try_echo=$ac_try;;
17764 esac
17765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17766 (eval "$ac_compile") 2>conftest.er1
17767 ac_status=$?
17768 grep -v '^ *+' conftest.er1 >conftest.err
17769 rm -f conftest.er1
17770 cat conftest.err >&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } && {
17773 test -z "$ac_c_werror_flag" ||
17774 test ! -s conftest.err
17775 } && test -s conftest.$ac_objext; then
17776 ac_cv_c_const=yes
17777 else
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.$ac_ext >&5
17781 ac_cv_c_const=no
17784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17787 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17788 if test $ac_cv_c_const = no; then
17790 cat >>confdefs.h <<\_ACEOF
17791 #define const
17792 _ACEOF
17796 { echo "$as_me:$LINENO: checking for inline" >&5
17797 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17798 if test "${ac_cv_c_inline+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 else
17801 ac_cv_c_inline=no
17802 for ac_kw in inline __inline__ __inline; do
17803 cat >conftest.$ac_ext <<_ACEOF
17804 /* confdefs.h. */
17805 _ACEOF
17806 cat confdefs.h >>conftest.$ac_ext
17807 cat >>conftest.$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17809 #ifndef __cplusplus
17810 typedef int foo_t;
17811 static $ac_kw foo_t static_foo () {return 0; }
17812 $ac_kw foo_t foo () {return 0; }
17813 #endif
17815 _ACEOF
17816 rm -f conftest.$ac_objext
17817 if { (ac_try="$ac_compile"
17818 case "(($ac_try" in
17819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17820 *) ac_try_echo=$ac_try;;
17821 esac
17822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17823 (eval "$ac_compile") 2>conftest.er1
17824 ac_status=$?
17825 grep -v '^ *+' conftest.er1 >conftest.err
17826 rm -f conftest.er1
17827 cat conftest.err >&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); } && {
17830 test -z "$ac_c_werror_flag" ||
17831 test ! -s conftest.err
17832 } && test -s conftest.$ac_objext; then
17833 ac_cv_c_inline=$ac_kw
17834 else
17835 echo "$as_me: failed program was:" >&5
17836 sed 's/^/| /' conftest.$ac_ext >&5
17841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17842 test "$ac_cv_c_inline" != no && break
17843 done
17846 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17847 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17850 case $ac_cv_c_inline in
17851 inline | yes) ;;
17853 case $ac_cv_c_inline in
17854 no) ac_val=;;
17855 *) ac_val=$ac_cv_c_inline;;
17856 esac
17857 cat >>confdefs.h <<_ACEOF
17858 #ifndef __cplusplus
17859 #define inline $ac_val
17860 #endif
17861 _ACEOF
17863 esac
17865 { echo "$as_me:$LINENO: checking for mode_t" >&5
17866 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17867 if test "${ac_cv_type_mode_t+set}" = set; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17869 else
17870 cat >conftest.$ac_ext <<_ACEOF
17871 /* confdefs.h. */
17872 _ACEOF
17873 cat confdefs.h >>conftest.$ac_ext
17874 cat >>conftest.$ac_ext <<_ACEOF
17875 /* end confdefs.h. */
17876 $ac_includes_default
17877 typedef mode_t ac__type_new_;
17879 main ()
17881 if ((ac__type_new_ *) 0)
17882 return 0;
17883 if (sizeof (ac__type_new_))
17884 return 0;
17886 return 0;
17888 _ACEOF
17889 rm -f conftest.$ac_objext
17890 if { (ac_try="$ac_compile"
17891 case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17893 *) ac_try_echo=$ac_try;;
17894 esac
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_compile") 2>conftest.er1
17897 ac_status=$?
17898 grep -v '^ *+' conftest.er1 >conftest.err
17899 rm -f conftest.er1
17900 cat conftest.err >&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); } && {
17903 test -z "$ac_c_werror_flag" ||
17904 test ! -s conftest.err
17905 } && test -s conftest.$ac_objext; then
17906 ac_cv_type_mode_t=yes
17907 else
17908 echo "$as_me: failed program was:" >&5
17909 sed 's/^/| /' conftest.$ac_ext >&5
17911 ac_cv_type_mode_t=no
17914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17916 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17917 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17918 if test $ac_cv_type_mode_t = yes; then
17920 cat >>confdefs.h <<_ACEOF
17921 #define HAVE_MODE_T 1
17922 _ACEOF
17926 { echo "$as_me:$LINENO: checking for off_t" >&5
17927 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17928 if test "${ac_cv_type_off_t+set}" = set; then
17929 echo $ECHO_N "(cached) $ECHO_C" >&6
17930 else
17931 cat >conftest.$ac_ext <<_ACEOF
17932 /* confdefs.h. */
17933 _ACEOF
17934 cat confdefs.h >>conftest.$ac_ext
17935 cat >>conftest.$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17937 $ac_includes_default
17938 typedef off_t ac__type_new_;
17940 main ()
17942 if ((ac__type_new_ *) 0)
17943 return 0;
17944 if (sizeof (ac__type_new_))
17945 return 0;
17947 return 0;
17949 _ACEOF
17950 rm -f conftest.$ac_objext
17951 if { (ac_try="$ac_compile"
17952 case "(($ac_try" in
17953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17954 *) ac_try_echo=$ac_try;;
17955 esac
17956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17957 (eval "$ac_compile") 2>conftest.er1
17958 ac_status=$?
17959 grep -v '^ *+' conftest.er1 >conftest.err
17960 rm -f conftest.er1
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } && {
17964 test -z "$ac_c_werror_flag" ||
17965 test ! -s conftest.err
17966 } && test -s conftest.$ac_objext; then
17967 ac_cv_type_off_t=yes
17968 else
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17972 ac_cv_type_off_t=no
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17978 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17979 if test $ac_cv_type_off_t = yes; then
17981 cat >>confdefs.h <<_ACEOF
17982 #define HAVE_OFF_T 1
17983 _ACEOF
17987 { echo "$as_me:$LINENO: checking for pid_t" >&5
17988 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17989 if test "${ac_cv_type_pid_t+set}" = set; then
17990 echo $ECHO_N "(cached) $ECHO_C" >&6
17991 else
17992 cat >conftest.$ac_ext <<_ACEOF
17993 /* confdefs.h. */
17994 _ACEOF
17995 cat confdefs.h >>conftest.$ac_ext
17996 cat >>conftest.$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 $ac_includes_default
17999 typedef pid_t ac__type_new_;
18001 main ()
18003 if ((ac__type_new_ *) 0)
18004 return 0;
18005 if (sizeof (ac__type_new_))
18006 return 0;
18008 return 0;
18010 _ACEOF
18011 rm -f conftest.$ac_objext
18012 if { (ac_try="$ac_compile"
18013 case "(($ac_try" in
18014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18015 *) ac_try_echo=$ac_try;;
18016 esac
18017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18018 (eval "$ac_compile") 2>conftest.er1
18019 ac_status=$?
18020 grep -v '^ *+' conftest.er1 >conftest.err
18021 rm -f conftest.er1
18022 cat conftest.err >&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); } && {
18025 test -z "$ac_c_werror_flag" ||
18026 test ! -s conftest.err
18027 } && test -s conftest.$ac_objext; then
18028 ac_cv_type_pid_t=yes
18029 else
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.$ac_ext >&5
18033 ac_cv_type_pid_t=no
18036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18038 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18039 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18040 if test $ac_cv_type_pid_t = yes; then
18042 cat >>confdefs.h <<_ACEOF
18043 #define HAVE_PID_T 1
18044 _ACEOF
18048 { echo "$as_me:$LINENO: checking for size_t" >&5
18049 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18050 if test "${ac_cv_type_size_t+set}" = set; then
18051 echo $ECHO_N "(cached) $ECHO_C" >&6
18052 else
18053 cat >conftest.$ac_ext <<_ACEOF
18054 /* confdefs.h. */
18055 _ACEOF
18056 cat confdefs.h >>conftest.$ac_ext
18057 cat >>conftest.$ac_ext <<_ACEOF
18058 /* end confdefs.h. */
18059 $ac_includes_default
18060 typedef size_t ac__type_new_;
18062 main ()
18064 if ((ac__type_new_ *) 0)
18065 return 0;
18066 if (sizeof (ac__type_new_))
18067 return 0;
18069 return 0;
18071 _ACEOF
18072 rm -f conftest.$ac_objext
18073 if { (ac_try="$ac_compile"
18074 case "(($ac_try" in
18075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18076 *) ac_try_echo=$ac_try;;
18077 esac
18078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18079 (eval "$ac_compile") 2>conftest.er1
18080 ac_status=$?
18081 grep -v '^ *+' conftest.er1 >conftest.err
18082 rm -f conftest.er1
18083 cat conftest.err >&5
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); } && {
18086 test -z "$ac_c_werror_flag" ||
18087 test ! -s conftest.err
18088 } && test -s conftest.$ac_objext; then
18089 ac_cv_type_size_t=yes
18090 else
18091 echo "$as_me: failed program was:" >&5
18092 sed 's/^/| /' conftest.$ac_ext >&5
18094 ac_cv_type_size_t=no
18097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18100 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18101 if test $ac_cv_type_size_t = yes; then
18103 cat >>confdefs.h <<_ACEOF
18104 #define HAVE_SIZE_T 1
18105 _ACEOF
18109 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18110 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18111 if test "${ac_cv_type_ssize_t+set}" = set; then
18112 echo $ECHO_N "(cached) $ECHO_C" >&6
18113 else
18114 cat >conftest.$ac_ext <<_ACEOF
18115 /* confdefs.h. */
18116 _ACEOF
18117 cat confdefs.h >>conftest.$ac_ext
18118 cat >>conftest.$ac_ext <<_ACEOF
18119 /* end confdefs.h. */
18120 $ac_includes_default
18121 typedef ssize_t ac__type_new_;
18123 main ()
18125 if ((ac__type_new_ *) 0)
18126 return 0;
18127 if (sizeof (ac__type_new_))
18128 return 0;
18130 return 0;
18132 _ACEOF
18133 rm -f conftest.$ac_objext
18134 if { (ac_try="$ac_compile"
18135 case "(($ac_try" in
18136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18137 *) ac_try_echo=$ac_try;;
18138 esac
18139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18140 (eval "$ac_compile") 2>conftest.er1
18141 ac_status=$?
18142 grep -v '^ *+' conftest.er1 >conftest.err
18143 rm -f conftest.er1
18144 cat conftest.err >&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } && {
18147 test -z "$ac_c_werror_flag" ||
18148 test ! -s conftest.err
18149 } && test -s conftest.$ac_objext; then
18150 ac_cv_type_ssize_t=yes
18151 else
18152 echo "$as_me: failed program was:" >&5
18153 sed 's/^/| /' conftest.$ac_ext >&5
18155 ac_cv_type_ssize_t=no
18158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18161 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18162 if test $ac_cv_type_ssize_t = yes; then
18164 cat >>confdefs.h <<_ACEOF
18165 #define HAVE_SSIZE_T 1
18166 _ACEOF
18170 { echo "$as_me:$LINENO: checking for long long" >&5
18171 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18172 if test "${ac_cv_type_long_long+set}" = set; then
18173 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 else
18175 cat >conftest.$ac_ext <<_ACEOF
18176 /* confdefs.h. */
18177 _ACEOF
18178 cat confdefs.h >>conftest.$ac_ext
18179 cat >>conftest.$ac_ext <<_ACEOF
18180 /* end confdefs.h. */
18181 $ac_includes_default
18182 typedef long long ac__type_new_;
18184 main ()
18186 if ((ac__type_new_ *) 0)
18187 return 0;
18188 if (sizeof (ac__type_new_))
18189 return 0;
18191 return 0;
18193 _ACEOF
18194 rm -f conftest.$ac_objext
18195 if { (ac_try="$ac_compile"
18196 case "(($ac_try" in
18197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18198 *) ac_try_echo=$ac_try;;
18199 esac
18200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18201 (eval "$ac_compile") 2>conftest.er1
18202 ac_status=$?
18203 grep -v '^ *+' conftest.er1 >conftest.err
18204 rm -f conftest.er1
18205 cat conftest.err >&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } && {
18208 test -z "$ac_c_werror_flag" ||
18209 test ! -s conftest.err
18210 } && test -s conftest.$ac_objext; then
18211 ac_cv_type_long_long=yes
18212 else
18213 echo "$as_me: failed program was:" >&5
18214 sed 's/^/| /' conftest.$ac_ext >&5
18216 ac_cv_type_long_long=no
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18221 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18222 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18223 if test $ac_cv_type_long_long = yes; then
18225 cat >>confdefs.h <<_ACEOF
18226 #define HAVE_LONG_LONG 1
18227 _ACEOF
18231 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18232 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18233 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18234 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 else
18236 cat >conftest.$ac_ext <<_ACEOF
18237 /* confdefs.h. */
18238 _ACEOF
18239 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 $ac_includes_default
18243 typedef fsblkcnt_t ac__type_new_;
18245 main ()
18247 if ((ac__type_new_ *) 0)
18248 return 0;
18249 if (sizeof (ac__type_new_))
18250 return 0;
18252 return 0;
18254 _ACEOF
18255 rm -f conftest.$ac_objext
18256 if { (ac_try="$ac_compile"
18257 case "(($ac_try" in
18258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18259 *) ac_try_echo=$ac_try;;
18260 esac
18261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18262 (eval "$ac_compile") 2>conftest.er1
18263 ac_status=$?
18264 grep -v '^ *+' conftest.er1 >conftest.err
18265 rm -f conftest.er1
18266 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } && {
18269 test -z "$ac_c_werror_flag" ||
18270 test ! -s conftest.err
18271 } && test -s conftest.$ac_objext; then
18272 ac_cv_type_fsblkcnt_t=yes
18273 else
18274 echo "$as_me: failed program was:" >&5
18275 sed 's/^/| /' conftest.$ac_ext >&5
18277 ac_cv_type_fsblkcnt_t=no
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18282 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18283 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18284 if test $ac_cv_type_fsblkcnt_t = yes; then
18286 cat >>confdefs.h <<_ACEOF
18287 #define HAVE_FSBLKCNT_T 1
18288 _ACEOF
18292 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18293 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18294 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18295 echo $ECHO_N "(cached) $ECHO_C" >&6
18296 else
18297 cat >conftest.$ac_ext <<_ACEOF
18298 /* confdefs.h. */
18299 _ACEOF
18300 cat confdefs.h >>conftest.$ac_ext
18301 cat >>conftest.$ac_ext <<_ACEOF
18302 /* end confdefs.h. */
18303 $ac_includes_default
18304 typedef fsfilcnt_t ac__type_new_;
18306 main ()
18308 if ((ac__type_new_ *) 0)
18309 return 0;
18310 if (sizeof (ac__type_new_))
18311 return 0;
18313 return 0;
18315 _ACEOF
18316 rm -f conftest.$ac_objext
18317 if { (ac_try="$ac_compile"
18318 case "(($ac_try" in
18319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18320 *) ac_try_echo=$ac_try;;
18321 esac
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_compile") 2>conftest.er1
18324 ac_status=$?
18325 grep -v '^ *+' conftest.er1 >conftest.err
18326 rm -f conftest.er1
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_c_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest.$ac_objext; then
18333 ac_cv_type_fsfilcnt_t=yes
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 ac_cv_type_fsfilcnt_t=no
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18344 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18345 if test $ac_cv_type_fsfilcnt_t = yes; then
18347 cat >>confdefs.h <<_ACEOF
18348 #define HAVE_FSFILCNT_T 1
18349 _ACEOF
18354 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18355 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18356 if test "${ac_cv_type_sigset_t+set}" = set; then
18357 echo $ECHO_N "(cached) $ECHO_C" >&6
18358 else
18359 cat >conftest.$ac_ext <<_ACEOF
18360 /* confdefs.h. */
18361 _ACEOF
18362 cat confdefs.h >>conftest.$ac_ext
18363 cat >>conftest.$ac_ext <<_ACEOF
18364 /* end confdefs.h. */
18365 #include <signal.h>
18367 typedef sigset_t ac__type_new_;
18369 main ()
18371 if ((ac__type_new_ *) 0)
18372 return 0;
18373 if (sizeof (ac__type_new_))
18374 return 0;
18376 return 0;
18378 _ACEOF
18379 rm -f conftest.$ac_objext
18380 if { (ac_try="$ac_compile"
18381 case "(($ac_try" in
18382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18383 *) ac_try_echo=$ac_try;;
18384 esac
18385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18386 (eval "$ac_compile") 2>conftest.er1
18387 ac_status=$?
18388 grep -v '^ *+' conftest.er1 >conftest.err
18389 rm -f conftest.er1
18390 cat conftest.err >&5
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); } && {
18393 test -z "$ac_c_werror_flag" ||
18394 test ! -s conftest.err
18395 } && test -s conftest.$ac_objext; then
18396 ac_cv_type_sigset_t=yes
18397 else
18398 echo "$as_me: failed program was:" >&5
18399 sed 's/^/| /' conftest.$ac_ext >&5
18401 ac_cv_type_sigset_t=no
18404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18406 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18407 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18408 if test $ac_cv_type_sigset_t = yes; then
18410 cat >>confdefs.h <<_ACEOF
18411 #define HAVE_SIGSET_T 1
18412 _ACEOF
18417 { echo "$as_me:$LINENO: checking for request_sense" >&5
18418 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18419 if test "${ac_cv_type_request_sense+set}" = set; then
18420 echo $ECHO_N "(cached) $ECHO_C" >&6
18421 else
18422 cat >conftest.$ac_ext <<_ACEOF
18423 /* confdefs.h. */
18424 _ACEOF
18425 cat confdefs.h >>conftest.$ac_ext
18426 cat >>conftest.$ac_ext <<_ACEOF
18427 /* end confdefs.h. */
18428 #include <linux/cdrom.h>
18430 typedef request_sense ac__type_new_;
18432 main ()
18434 if ((ac__type_new_ *) 0)
18435 return 0;
18436 if (sizeof (ac__type_new_))
18437 return 0;
18439 return 0;
18441 _ACEOF
18442 rm -f conftest.$ac_objext
18443 if { (ac_try="$ac_compile"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18447 esac
18448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_compile") 2>conftest.er1
18450 ac_status=$?
18451 grep -v '^ *+' conftest.er1 >conftest.err
18452 rm -f conftest.er1
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } && {
18456 test -z "$ac_c_werror_flag" ||
18457 test ! -s conftest.err
18458 } && test -s conftest.$ac_objext; then
18459 ac_cv_type_request_sense=yes
18460 else
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18464 ac_cv_type_request_sense=no
18467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18469 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18470 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18471 if test $ac_cv_type_request_sense = yes; then
18473 cat >>confdefs.h <<_ACEOF
18474 #define HAVE_REQUEST_SENSE 1
18475 _ACEOF
18481 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18482 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18483 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18484 echo $ECHO_N "(cached) $ECHO_C" >&6
18485 else
18486 cat >conftest.$ac_ext <<_ACEOF
18487 /* confdefs.h. */
18488 _ACEOF
18489 cat confdefs.h >>conftest.$ac_ext
18490 cat >>conftest.$ac_ext <<_ACEOF
18491 /* end confdefs.h. */
18492 #ifdef HAVE_LINUX_INPUT_H
18493 #include <linux/input.h>
18494 #endif
18497 main ()
18499 static struct ff_effect ac_aggr;
18500 if (ac_aggr.direction)
18501 return 0;
18503 return 0;
18505 _ACEOF
18506 rm -f conftest.$ac_objext
18507 if { (ac_try="$ac_compile"
18508 case "(($ac_try" in
18509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18510 *) ac_try_echo=$ac_try;;
18511 esac
18512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18513 (eval "$ac_compile") 2>conftest.er1
18514 ac_status=$?
18515 grep -v '^ *+' conftest.er1 >conftest.err
18516 rm -f conftest.er1
18517 cat conftest.err >&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); } && {
18520 test -z "$ac_c_werror_flag" ||
18521 test ! -s conftest.err
18522 } && test -s conftest.$ac_objext; then
18523 ac_cv_member_struct_ff_effect_direction=yes
18524 else
18525 echo "$as_me: failed program was:" >&5
18526 sed 's/^/| /' conftest.$ac_ext >&5
18528 cat >conftest.$ac_ext <<_ACEOF
18529 /* confdefs.h. */
18530 _ACEOF
18531 cat confdefs.h >>conftest.$ac_ext
18532 cat >>conftest.$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 #ifdef HAVE_LINUX_INPUT_H
18535 #include <linux/input.h>
18536 #endif
18539 main ()
18541 static struct ff_effect ac_aggr;
18542 if (sizeof ac_aggr.direction)
18543 return 0;
18545 return 0;
18547 _ACEOF
18548 rm -f conftest.$ac_objext
18549 if { (ac_try="$ac_compile"
18550 case "(($ac_try" in
18551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18552 *) ac_try_echo=$ac_try;;
18553 esac
18554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18555 (eval "$ac_compile") 2>conftest.er1
18556 ac_status=$?
18557 grep -v '^ *+' conftest.er1 >conftest.err
18558 rm -f conftest.er1
18559 cat conftest.err >&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } && {
18562 test -z "$ac_c_werror_flag" ||
18563 test ! -s conftest.err
18564 } && test -s conftest.$ac_objext; then
18565 ac_cv_member_struct_ff_effect_direction=yes
18566 else
18567 echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.$ac_ext >&5
18570 ac_cv_member_struct_ff_effect_direction=no
18573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18578 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18579 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18580 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18582 cat >>confdefs.h <<_ACEOF
18583 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18584 _ACEOF
18590 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18591 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18592 if test "${wine_cv_have_sigaddset+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18594 else
18595 cat >conftest.$ac_ext <<_ACEOF
18596 /* confdefs.h. */
18597 _ACEOF
18598 cat confdefs.h >>conftest.$ac_ext
18599 cat >>conftest.$ac_ext <<_ACEOF
18600 /* end confdefs.h. */
18601 #include <signal.h>
18603 main ()
18605 sigset_t set; sigaddset(&set,SIGTERM);
18607 return 0;
18609 _ACEOF
18610 rm -f conftest.$ac_objext conftest$ac_exeext
18611 if { (ac_try="$ac_link"
18612 case "(($ac_try" in
18613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18614 *) ac_try_echo=$ac_try;;
18615 esac
18616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18617 (eval "$ac_link") 2>conftest.er1
18618 ac_status=$?
18619 grep -v '^ *+' conftest.er1 >conftest.err
18620 rm -f conftest.er1
18621 cat conftest.err >&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } && {
18624 test -z "$ac_c_werror_flag" ||
18625 test ! -s conftest.err
18626 } && test -s conftest$ac_exeext &&
18627 $as_test_x conftest$ac_exeext; then
18628 wine_cv_have_sigaddset=yes
18629 else
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18633 wine_cv_have_sigaddset=no
18636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18637 conftest$ac_exeext conftest.$ac_ext
18639 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18640 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18641 if test "$wine_cv_have_sigaddset" = "yes"
18642 then
18644 cat >>confdefs.h <<\_ACEOF
18645 #define HAVE_SIGADDSET 1
18646 _ACEOF
18651 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18652 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18653 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18655 else
18656 cat >conftest.$ac_ext <<_ACEOF
18657 /* confdefs.h. */
18658 _ACEOF
18659 cat confdefs.h >>conftest.$ac_ext
18660 cat >>conftest.$ac_ext <<_ACEOF
18661 /* end confdefs.h. */
18662 #include <netdb.h>
18664 main ()
18667 char *name=0;
18668 struct hostent he;
18669 struct hostent *result;
18670 char *buf=0;
18671 int bufsize=0;
18672 int res,errnr;
18673 char *addr=0;
18674 int addrlen=0;
18675 int addrtype=0;
18676 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18677 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18680 return 0;
18682 _ACEOF
18683 rm -f conftest.$ac_objext conftest$ac_exeext
18684 if { (ac_try="$ac_link"
18685 case "(($ac_try" in
18686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18687 *) ac_try_echo=$ac_try;;
18688 esac
18689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18690 (eval "$ac_link") 2>conftest.er1
18691 ac_status=$?
18692 grep -v '^ *+' conftest.er1 >conftest.err
18693 rm -f conftest.er1
18694 cat conftest.err >&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } && {
18697 test -z "$ac_c_werror_flag" ||
18698 test ! -s conftest.err
18699 } && test -s conftest$ac_exeext &&
18700 $as_test_x conftest$ac_exeext; then
18701 wine_cv_linux_gethostbyname_r_6=yes
18702 else
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.$ac_ext >&5
18706 wine_cv_linux_gethostbyname_r_6=no
18710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18711 conftest$ac_exeext conftest.$ac_ext
18714 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18715 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18716 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18717 then
18719 cat >>confdefs.h <<\_ACEOF
18720 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18721 _ACEOF
18725 if test "$ac_cv_header_linux_joystick_h" = "yes"
18726 then
18727 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18728 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18729 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18731 else
18732 cat >conftest.$ac_ext <<_ACEOF
18733 /* confdefs.h. */
18734 _ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18739 #include <sys/ioctl.h>
18740 #include <sys/types.h>
18741 #include <linux/joystick.h>
18743 struct js_event blub;
18744 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18745 #error "no 2.2 header"
18746 #endif
18749 main ()
18751 /*empty*/
18753 return 0;
18755 _ACEOF
18756 rm -f conftest.$ac_objext
18757 if { (ac_try="$ac_compile"
18758 case "(($ac_try" in
18759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18760 *) ac_try_echo=$ac_try;;
18761 esac
18762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18763 (eval "$ac_compile") 2>conftest.er1
18764 ac_status=$?
18765 grep -v '^ *+' conftest.er1 >conftest.err
18766 rm -f conftest.er1
18767 cat conftest.err >&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } && {
18770 test -z "$ac_c_werror_flag" ||
18771 test ! -s conftest.err
18772 } && test -s conftest.$ac_objext; then
18773 wine_cv_linux_joystick_22_api=yes
18774 else
18775 echo "$as_me: failed program was:" >&5
18776 sed 's/^/| /' conftest.$ac_ext >&5
18778 wine_cv_linux_joystick_22_api=no
18781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18784 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18785 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18786 if test "$wine_cv_linux_joystick_22_api" = "yes"
18787 then
18789 cat >>confdefs.h <<\_ACEOF
18790 #define HAVE_LINUX_22_JOYSTICK_API 1
18791 _ACEOF
18797 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18798 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18799 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 else
18802 cat >conftest.$ac_ext <<_ACEOF
18803 /* confdefs.h. */
18804 _ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 #include <sys/types.h>
18809 #ifdef HAVE_SYS_PARAM_H
18810 # include <sys/param.h>
18811 #endif
18812 #ifdef HAVE_SYS_MOUNT_H
18813 # include <sys/mount.h>
18814 #endif
18815 #ifdef HAVE_SYS_VFS_H
18816 # include <sys/vfs.h>
18817 #endif
18818 #ifdef HAVE_SYS_STATFS_H
18819 # include <sys/statfs.h>
18820 #endif
18823 main ()
18825 static struct statfs ac_aggr;
18826 if (ac_aggr.f_bfree)
18827 return 0;
18829 return 0;
18831 _ACEOF
18832 rm -f conftest.$ac_objext
18833 if { (ac_try="$ac_compile"
18834 case "(($ac_try" in
18835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18836 *) ac_try_echo=$ac_try;;
18837 esac
18838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18839 (eval "$ac_compile") 2>conftest.er1
18840 ac_status=$?
18841 grep -v '^ *+' conftest.er1 >conftest.err
18842 rm -f conftest.er1
18843 cat conftest.err >&5
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); } && {
18846 test -z "$ac_c_werror_flag" ||
18847 test ! -s conftest.err
18848 } && test -s conftest.$ac_objext; then
18849 ac_cv_member_struct_statfs_f_bfree=yes
18850 else
18851 echo "$as_me: failed program was:" >&5
18852 sed 's/^/| /' conftest.$ac_ext >&5
18854 cat >conftest.$ac_ext <<_ACEOF
18855 /* confdefs.h. */
18856 _ACEOF
18857 cat confdefs.h >>conftest.$ac_ext
18858 cat >>conftest.$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860 #include <sys/types.h>
18861 #ifdef HAVE_SYS_PARAM_H
18862 # include <sys/param.h>
18863 #endif
18864 #ifdef HAVE_SYS_MOUNT_H
18865 # include <sys/mount.h>
18866 #endif
18867 #ifdef HAVE_SYS_VFS_H
18868 # include <sys/vfs.h>
18869 #endif
18870 #ifdef HAVE_SYS_STATFS_H
18871 # include <sys/statfs.h>
18872 #endif
18875 main ()
18877 static struct statfs ac_aggr;
18878 if (sizeof ac_aggr.f_bfree)
18879 return 0;
18881 return 0;
18883 _ACEOF
18884 rm -f conftest.$ac_objext
18885 if { (ac_try="$ac_compile"
18886 case "(($ac_try" in
18887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18889 esac
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_compile") 2>conftest.er1
18892 ac_status=$?
18893 grep -v '^ *+' conftest.er1 >conftest.err
18894 rm -f conftest.er1
18895 cat conftest.err >&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } && {
18898 test -z "$ac_c_werror_flag" ||
18899 test ! -s conftest.err
18900 } && test -s conftest.$ac_objext; then
18901 ac_cv_member_struct_statfs_f_bfree=yes
18902 else
18903 echo "$as_me: failed program was:" >&5
18904 sed 's/^/| /' conftest.$ac_ext >&5
18906 ac_cv_member_struct_statfs_f_bfree=no
18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18915 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18916 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18918 cat >>confdefs.h <<_ACEOF
18919 #define HAVE_STRUCT_STATFS_F_BFREE 1
18920 _ACEOF
18924 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18925 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18926 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 else
18929 cat >conftest.$ac_ext <<_ACEOF
18930 /* confdefs.h. */
18931 _ACEOF
18932 cat confdefs.h >>conftest.$ac_ext
18933 cat >>conftest.$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18935 #include <sys/types.h>
18936 #ifdef HAVE_SYS_PARAM_H
18937 # include <sys/param.h>
18938 #endif
18939 #ifdef HAVE_SYS_MOUNT_H
18940 # include <sys/mount.h>
18941 #endif
18942 #ifdef HAVE_SYS_VFS_H
18943 # include <sys/vfs.h>
18944 #endif
18945 #ifdef HAVE_SYS_STATFS_H
18946 # include <sys/statfs.h>
18947 #endif
18950 main ()
18952 static struct statfs ac_aggr;
18953 if (ac_aggr.f_bavail)
18954 return 0;
18956 return 0;
18958 _ACEOF
18959 rm -f conftest.$ac_objext
18960 if { (ac_try="$ac_compile"
18961 case "(($ac_try" in
18962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18963 *) ac_try_echo=$ac_try;;
18964 esac
18965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18966 (eval "$ac_compile") 2>conftest.er1
18967 ac_status=$?
18968 grep -v '^ *+' conftest.er1 >conftest.err
18969 rm -f conftest.er1
18970 cat conftest.err >&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); } && {
18973 test -z "$ac_c_werror_flag" ||
18974 test ! -s conftest.err
18975 } && test -s conftest.$ac_objext; then
18976 ac_cv_member_struct_statfs_f_bavail=yes
18977 else
18978 echo "$as_me: failed program was:" >&5
18979 sed 's/^/| /' conftest.$ac_ext >&5
18981 cat >conftest.$ac_ext <<_ACEOF
18982 /* confdefs.h. */
18983 _ACEOF
18984 cat confdefs.h >>conftest.$ac_ext
18985 cat >>conftest.$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 #include <sys/types.h>
18988 #ifdef HAVE_SYS_PARAM_H
18989 # include <sys/param.h>
18990 #endif
18991 #ifdef HAVE_SYS_MOUNT_H
18992 # include <sys/mount.h>
18993 #endif
18994 #ifdef HAVE_SYS_VFS_H
18995 # include <sys/vfs.h>
18996 #endif
18997 #ifdef HAVE_SYS_STATFS_H
18998 # include <sys/statfs.h>
18999 #endif
19002 main ()
19004 static struct statfs ac_aggr;
19005 if (sizeof ac_aggr.f_bavail)
19006 return 0;
19008 return 0;
19010 _ACEOF
19011 rm -f conftest.$ac_objext
19012 if { (ac_try="$ac_compile"
19013 case "(($ac_try" in
19014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19015 *) ac_try_echo=$ac_try;;
19016 esac
19017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19018 (eval "$ac_compile") 2>conftest.er1
19019 ac_status=$?
19020 grep -v '^ *+' conftest.er1 >conftest.err
19021 rm -f conftest.er1
19022 cat conftest.err >&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); } && {
19025 test -z "$ac_c_werror_flag" ||
19026 test ! -s conftest.err
19027 } && test -s conftest.$ac_objext; then
19028 ac_cv_member_struct_statfs_f_bavail=yes
19029 else
19030 echo "$as_me: failed program was:" >&5
19031 sed 's/^/| /' conftest.$ac_ext >&5
19033 ac_cv_member_struct_statfs_f_bavail=no
19036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19041 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19042 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19043 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19045 cat >>confdefs.h <<_ACEOF
19046 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19047 _ACEOF
19051 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19052 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19053 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19054 echo $ECHO_N "(cached) $ECHO_C" >&6
19055 else
19056 cat >conftest.$ac_ext <<_ACEOF
19057 /* confdefs.h. */
19058 _ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 #include <sys/types.h>
19063 #ifdef HAVE_SYS_PARAM_H
19064 # include <sys/param.h>
19065 #endif
19066 #ifdef HAVE_SYS_MOUNT_H
19067 # include <sys/mount.h>
19068 #endif
19069 #ifdef HAVE_SYS_VFS_H
19070 # include <sys/vfs.h>
19071 #endif
19072 #ifdef HAVE_SYS_STATFS_H
19073 # include <sys/statfs.h>
19074 #endif
19077 main ()
19079 static struct statfs ac_aggr;
19080 if (ac_aggr.f_frsize)
19081 return 0;
19083 return 0;
19085 _ACEOF
19086 rm -f conftest.$ac_objext
19087 if { (ac_try="$ac_compile"
19088 case "(($ac_try" in
19089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19090 *) ac_try_echo=$ac_try;;
19091 esac
19092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19093 (eval "$ac_compile") 2>conftest.er1
19094 ac_status=$?
19095 grep -v '^ *+' conftest.er1 >conftest.err
19096 rm -f conftest.er1
19097 cat conftest.err >&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } && {
19100 test -z "$ac_c_werror_flag" ||
19101 test ! -s conftest.err
19102 } && test -s conftest.$ac_objext; then
19103 ac_cv_member_struct_statfs_f_frsize=yes
19104 else
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.$ac_ext >&5
19108 cat >conftest.$ac_ext <<_ACEOF
19109 /* confdefs.h. */
19110 _ACEOF
19111 cat confdefs.h >>conftest.$ac_ext
19112 cat >>conftest.$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19114 #include <sys/types.h>
19115 #ifdef HAVE_SYS_PARAM_H
19116 # include <sys/param.h>
19117 #endif
19118 #ifdef HAVE_SYS_MOUNT_H
19119 # include <sys/mount.h>
19120 #endif
19121 #ifdef HAVE_SYS_VFS_H
19122 # include <sys/vfs.h>
19123 #endif
19124 #ifdef HAVE_SYS_STATFS_H
19125 # include <sys/statfs.h>
19126 #endif
19129 main ()
19131 static struct statfs ac_aggr;
19132 if (sizeof ac_aggr.f_frsize)
19133 return 0;
19135 return 0;
19137 _ACEOF
19138 rm -f conftest.$ac_objext
19139 if { (ac_try="$ac_compile"
19140 case "(($ac_try" in
19141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19142 *) ac_try_echo=$ac_try;;
19143 esac
19144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19145 (eval "$ac_compile") 2>conftest.er1
19146 ac_status=$?
19147 grep -v '^ *+' conftest.er1 >conftest.err
19148 rm -f conftest.er1
19149 cat conftest.err >&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); } && {
19152 test -z "$ac_c_werror_flag" ||
19153 test ! -s conftest.err
19154 } && test -s conftest.$ac_objext; then
19155 ac_cv_member_struct_statfs_f_frsize=yes
19156 else
19157 echo "$as_me: failed program was:" >&5
19158 sed 's/^/| /' conftest.$ac_ext >&5
19160 ac_cv_member_struct_statfs_f_frsize=no
19163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19168 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19169 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19170 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19174 _ACEOF
19178 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19179 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19180 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19181 echo $ECHO_N "(cached) $ECHO_C" >&6
19182 else
19183 cat >conftest.$ac_ext <<_ACEOF
19184 /* confdefs.h. */
19185 _ACEOF
19186 cat confdefs.h >>conftest.$ac_ext
19187 cat >>conftest.$ac_ext <<_ACEOF
19188 /* end confdefs.h. */
19189 #include <sys/types.h>
19190 #ifdef HAVE_SYS_PARAM_H
19191 # include <sys/param.h>
19192 #endif
19193 #ifdef HAVE_SYS_MOUNT_H
19194 # include <sys/mount.h>
19195 #endif
19196 #ifdef HAVE_SYS_VFS_H
19197 # include <sys/vfs.h>
19198 #endif
19199 #ifdef HAVE_SYS_STATFS_H
19200 # include <sys/statfs.h>
19201 #endif
19204 main ()
19206 static struct statfs ac_aggr;
19207 if (ac_aggr.f_ffree)
19208 return 0;
19210 return 0;
19212 _ACEOF
19213 rm -f conftest.$ac_objext
19214 if { (ac_try="$ac_compile"
19215 case "(($ac_try" in
19216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19217 *) ac_try_echo=$ac_try;;
19218 esac
19219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19220 (eval "$ac_compile") 2>conftest.er1
19221 ac_status=$?
19222 grep -v '^ *+' conftest.er1 >conftest.err
19223 rm -f conftest.er1
19224 cat conftest.err >&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } && {
19227 test -z "$ac_c_werror_flag" ||
19228 test ! -s conftest.err
19229 } && test -s conftest.$ac_objext; then
19230 ac_cv_member_struct_statfs_f_ffree=yes
19231 else
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19235 cat >conftest.$ac_ext <<_ACEOF
19236 /* confdefs.h. */
19237 _ACEOF
19238 cat confdefs.h >>conftest.$ac_ext
19239 cat >>conftest.$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19241 #include <sys/types.h>
19242 #ifdef HAVE_SYS_PARAM_H
19243 # include <sys/param.h>
19244 #endif
19245 #ifdef HAVE_SYS_MOUNT_H
19246 # include <sys/mount.h>
19247 #endif
19248 #ifdef HAVE_SYS_VFS_H
19249 # include <sys/vfs.h>
19250 #endif
19251 #ifdef HAVE_SYS_STATFS_H
19252 # include <sys/statfs.h>
19253 #endif
19256 main ()
19258 static struct statfs ac_aggr;
19259 if (sizeof ac_aggr.f_ffree)
19260 return 0;
19262 return 0;
19264 _ACEOF
19265 rm -f conftest.$ac_objext
19266 if { (ac_try="$ac_compile"
19267 case "(($ac_try" in
19268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19269 *) ac_try_echo=$ac_try;;
19270 esac
19271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19272 (eval "$ac_compile") 2>conftest.er1
19273 ac_status=$?
19274 grep -v '^ *+' conftest.er1 >conftest.err
19275 rm -f conftest.er1
19276 cat conftest.err >&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } && {
19279 test -z "$ac_c_werror_flag" ||
19280 test ! -s conftest.err
19281 } && test -s conftest.$ac_objext; then
19282 ac_cv_member_struct_statfs_f_ffree=yes
19283 else
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.$ac_ext >&5
19287 ac_cv_member_struct_statfs_f_ffree=no
19290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19295 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19296 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19297 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19299 cat >>confdefs.h <<_ACEOF
19300 #define HAVE_STRUCT_STATFS_F_FFREE 1
19301 _ACEOF
19305 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19306 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19307 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 else
19310 cat >conftest.$ac_ext <<_ACEOF
19311 /* confdefs.h. */
19312 _ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 #include <sys/types.h>
19317 #ifdef HAVE_SYS_PARAM_H
19318 # include <sys/param.h>
19319 #endif
19320 #ifdef HAVE_SYS_MOUNT_H
19321 # include <sys/mount.h>
19322 #endif
19323 #ifdef HAVE_SYS_VFS_H
19324 # include <sys/vfs.h>
19325 #endif
19326 #ifdef HAVE_SYS_STATFS_H
19327 # include <sys/statfs.h>
19328 #endif
19331 main ()
19333 static struct statfs ac_aggr;
19334 if (ac_aggr.f_favail)
19335 return 0;
19337 return 0;
19339 _ACEOF
19340 rm -f conftest.$ac_objext
19341 if { (ac_try="$ac_compile"
19342 case "(($ac_try" in
19343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19344 *) ac_try_echo=$ac_try;;
19345 esac
19346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19347 (eval "$ac_compile") 2>conftest.er1
19348 ac_status=$?
19349 grep -v '^ *+' conftest.er1 >conftest.err
19350 rm -f conftest.er1
19351 cat conftest.err >&5
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); } && {
19354 test -z "$ac_c_werror_flag" ||
19355 test ! -s conftest.err
19356 } && test -s conftest.$ac_objext; then
19357 ac_cv_member_struct_statfs_f_favail=yes
19358 else
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19362 cat >conftest.$ac_ext <<_ACEOF
19363 /* confdefs.h. */
19364 _ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 #include <sys/types.h>
19369 #ifdef HAVE_SYS_PARAM_H
19370 # include <sys/param.h>
19371 #endif
19372 #ifdef HAVE_SYS_MOUNT_H
19373 # include <sys/mount.h>
19374 #endif
19375 #ifdef HAVE_SYS_VFS_H
19376 # include <sys/vfs.h>
19377 #endif
19378 #ifdef HAVE_SYS_STATFS_H
19379 # include <sys/statfs.h>
19380 #endif
19383 main ()
19385 static struct statfs ac_aggr;
19386 if (sizeof ac_aggr.f_favail)
19387 return 0;
19389 return 0;
19391 _ACEOF
19392 rm -f conftest.$ac_objext
19393 if { (ac_try="$ac_compile"
19394 case "(($ac_try" in
19395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19396 *) ac_try_echo=$ac_try;;
19397 esac
19398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19399 (eval "$ac_compile") 2>conftest.er1
19400 ac_status=$?
19401 grep -v '^ *+' conftest.er1 >conftest.err
19402 rm -f conftest.er1
19403 cat conftest.err >&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); } && {
19406 test -z "$ac_c_werror_flag" ||
19407 test ! -s conftest.err
19408 } && test -s conftest.$ac_objext; then
19409 ac_cv_member_struct_statfs_f_favail=yes
19410 else
19411 echo "$as_me: failed program was:" >&5
19412 sed 's/^/| /' conftest.$ac_ext >&5
19414 ac_cv_member_struct_statfs_f_favail=no
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19422 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19423 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19424 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19426 cat >>confdefs.h <<_ACEOF
19427 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19428 _ACEOF
19432 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19433 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19434 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19435 echo $ECHO_N "(cached) $ECHO_C" >&6
19436 else
19437 cat >conftest.$ac_ext <<_ACEOF
19438 /* confdefs.h. */
19439 _ACEOF
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19443 #include <sys/types.h>
19444 #ifdef HAVE_SYS_PARAM_H
19445 # include <sys/param.h>
19446 #endif
19447 #ifdef HAVE_SYS_MOUNT_H
19448 # include <sys/mount.h>
19449 #endif
19450 #ifdef HAVE_SYS_VFS_H
19451 # include <sys/vfs.h>
19452 #endif
19453 #ifdef HAVE_SYS_STATFS_H
19454 # include <sys/statfs.h>
19455 #endif
19458 main ()
19460 static struct statfs ac_aggr;
19461 if (ac_aggr.f_namelen)
19462 return 0;
19464 return 0;
19466 _ACEOF
19467 rm -f conftest.$ac_objext
19468 if { (ac_try="$ac_compile"
19469 case "(($ac_try" in
19470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19471 *) ac_try_echo=$ac_try;;
19472 esac
19473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19474 (eval "$ac_compile") 2>conftest.er1
19475 ac_status=$?
19476 grep -v '^ *+' conftest.er1 >conftest.err
19477 rm -f conftest.er1
19478 cat conftest.err >&5
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); } && {
19481 test -z "$ac_c_werror_flag" ||
19482 test ! -s conftest.err
19483 } && test -s conftest.$ac_objext; then
19484 ac_cv_member_struct_statfs_f_namelen=yes
19485 else
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19489 cat >conftest.$ac_ext <<_ACEOF
19490 /* confdefs.h. */
19491 _ACEOF
19492 cat confdefs.h >>conftest.$ac_ext
19493 cat >>conftest.$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19495 #include <sys/types.h>
19496 #ifdef HAVE_SYS_PARAM_H
19497 # include <sys/param.h>
19498 #endif
19499 #ifdef HAVE_SYS_MOUNT_H
19500 # include <sys/mount.h>
19501 #endif
19502 #ifdef HAVE_SYS_VFS_H
19503 # include <sys/vfs.h>
19504 #endif
19505 #ifdef HAVE_SYS_STATFS_H
19506 # include <sys/statfs.h>
19507 #endif
19510 main ()
19512 static struct statfs ac_aggr;
19513 if (sizeof ac_aggr.f_namelen)
19514 return 0;
19516 return 0;
19518 _ACEOF
19519 rm -f conftest.$ac_objext
19520 if { (ac_try="$ac_compile"
19521 case "(($ac_try" in
19522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19523 *) ac_try_echo=$ac_try;;
19524 esac
19525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19526 (eval "$ac_compile") 2>conftest.er1
19527 ac_status=$?
19528 grep -v '^ *+' conftest.er1 >conftest.err
19529 rm -f conftest.er1
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } && {
19533 test -z "$ac_c_werror_flag" ||
19534 test ! -s conftest.err
19535 } && test -s conftest.$ac_objext; then
19536 ac_cv_member_struct_statfs_f_namelen=yes
19537 else
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19541 ac_cv_member_struct_statfs_f_namelen=no
19544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19549 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19550 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19551 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19553 cat >>confdefs.h <<_ACEOF
19554 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19555 _ACEOF
19561 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19562 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19563 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19564 echo $ECHO_N "(cached) $ECHO_C" >&6
19565 else
19566 cat >conftest.$ac_ext <<_ACEOF
19567 /* confdefs.h. */
19568 _ACEOF
19569 cat confdefs.h >>conftest.$ac_ext
19570 cat >>conftest.$ac_ext <<_ACEOF
19571 /* end confdefs.h. */
19572 #ifdef HAVE_SYS_STATVFS_H
19573 #include <sys/statvfs.h>
19574 #endif
19577 main ()
19579 static struct statvfs ac_aggr;
19580 if (ac_aggr.f_blocks)
19581 return 0;
19583 return 0;
19585 _ACEOF
19586 rm -f conftest.$ac_objext
19587 if { (ac_try="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19591 esac
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19594 ac_status=$?
19595 grep -v '^ *+' conftest.er1 >conftest.err
19596 rm -f conftest.er1
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19603 ac_cv_member_struct_statvfs_f_blocks=yes
19604 else
19605 echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.$ac_ext >&5
19608 cat >conftest.$ac_ext <<_ACEOF
19609 /* confdefs.h. */
19610 _ACEOF
19611 cat confdefs.h >>conftest.$ac_ext
19612 cat >>conftest.$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 #ifdef HAVE_SYS_STATVFS_H
19615 #include <sys/statvfs.h>
19616 #endif
19619 main ()
19621 static struct statvfs ac_aggr;
19622 if (sizeof ac_aggr.f_blocks)
19623 return 0;
19625 return 0;
19627 _ACEOF
19628 rm -f conftest.$ac_objext
19629 if { (ac_try="$ac_compile"
19630 case "(($ac_try" in
19631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19632 *) ac_try_echo=$ac_try;;
19633 esac
19634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19635 (eval "$ac_compile") 2>conftest.er1
19636 ac_status=$?
19637 grep -v '^ *+' conftest.er1 >conftest.err
19638 rm -f conftest.er1
19639 cat conftest.err >&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } && {
19642 test -z "$ac_c_werror_flag" ||
19643 test ! -s conftest.err
19644 } && test -s conftest.$ac_objext; then
19645 ac_cv_member_struct_statvfs_f_blocks=yes
19646 else
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19650 ac_cv_member_struct_statvfs_f_blocks=no
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19658 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19659 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19660 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19662 cat >>confdefs.h <<_ACEOF
19663 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19664 _ACEOF
19670 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19671 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19672 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 else
19675 cat >conftest.$ac_ext <<_ACEOF
19676 /* confdefs.h. */
19677 _ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 #include <sys/types.h>
19682 #ifdef HAVE_SYS_SOCKET_H
19683 # include <sys/socket.h>
19684 #endif
19685 #ifdef HAVE_SYS_UN_H
19686 # include <sys/un.h>
19687 #endif
19690 main ()
19692 static struct msghdr ac_aggr;
19693 if (ac_aggr.msg_accrights)
19694 return 0;
19696 return 0;
19698 _ACEOF
19699 rm -f conftest.$ac_objext
19700 if { (ac_try="$ac_compile"
19701 case "(($ac_try" in
19702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19703 *) ac_try_echo=$ac_try;;
19704 esac
19705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19706 (eval "$ac_compile") 2>conftest.er1
19707 ac_status=$?
19708 grep -v '^ *+' conftest.er1 >conftest.err
19709 rm -f conftest.er1
19710 cat conftest.err >&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } && {
19713 test -z "$ac_c_werror_flag" ||
19714 test ! -s conftest.err
19715 } && test -s conftest.$ac_objext; then
19716 ac_cv_member_struct_msghdr_msg_accrights=yes
19717 else
19718 echo "$as_me: failed program was:" >&5
19719 sed 's/^/| /' conftest.$ac_ext >&5
19721 cat >conftest.$ac_ext <<_ACEOF
19722 /* confdefs.h. */
19723 _ACEOF
19724 cat confdefs.h >>conftest.$ac_ext
19725 cat >>conftest.$ac_ext <<_ACEOF
19726 /* end confdefs.h. */
19727 #include <sys/types.h>
19728 #ifdef HAVE_SYS_SOCKET_H
19729 # include <sys/socket.h>
19730 #endif
19731 #ifdef HAVE_SYS_UN_H
19732 # include <sys/un.h>
19733 #endif
19736 main ()
19738 static struct msghdr ac_aggr;
19739 if (sizeof ac_aggr.msg_accrights)
19740 return 0;
19742 return 0;
19744 _ACEOF
19745 rm -f conftest.$ac_objext
19746 if { (ac_try="$ac_compile"
19747 case "(($ac_try" in
19748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19749 *) ac_try_echo=$ac_try;;
19750 esac
19751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19752 (eval "$ac_compile") 2>conftest.er1
19753 ac_status=$?
19754 grep -v '^ *+' conftest.er1 >conftest.err
19755 rm -f conftest.er1
19756 cat conftest.err >&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } && {
19759 test -z "$ac_c_werror_flag" ||
19760 test ! -s conftest.err
19761 } && test -s conftest.$ac_objext; then
19762 ac_cv_member_struct_msghdr_msg_accrights=yes
19763 else
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19767 ac_cv_member_struct_msghdr_msg_accrights=no
19770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19775 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19776 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19777 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19779 cat >>confdefs.h <<_ACEOF
19780 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19781 _ACEOF
19785 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19786 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19787 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19789 else
19790 cat >conftest.$ac_ext <<_ACEOF
19791 /* confdefs.h. */
19792 _ACEOF
19793 cat confdefs.h >>conftest.$ac_ext
19794 cat >>conftest.$ac_ext <<_ACEOF
19795 /* end confdefs.h. */
19796 #include <sys/types.h>
19797 #ifdef HAVE_SYS_SOCKET_H
19798 # include <sys/socket.h>
19799 #endif
19800 #ifdef HAVE_SYS_UN_H
19801 # include <sys/un.h>
19802 #endif
19805 main ()
19807 static struct sockaddr ac_aggr;
19808 if (ac_aggr.sa_len)
19809 return 0;
19811 return 0;
19813 _ACEOF
19814 rm -f conftest.$ac_objext
19815 if { (ac_try="$ac_compile"
19816 case "(($ac_try" in
19817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19818 *) ac_try_echo=$ac_try;;
19819 esac
19820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19821 (eval "$ac_compile") 2>conftest.er1
19822 ac_status=$?
19823 grep -v '^ *+' conftest.er1 >conftest.err
19824 rm -f conftest.er1
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } && {
19828 test -z "$ac_c_werror_flag" ||
19829 test ! -s conftest.err
19830 } && test -s conftest.$ac_objext; then
19831 ac_cv_member_struct_sockaddr_sa_len=yes
19832 else
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.$ac_ext >&5
19836 cat >conftest.$ac_ext <<_ACEOF
19837 /* confdefs.h. */
19838 _ACEOF
19839 cat confdefs.h >>conftest.$ac_ext
19840 cat >>conftest.$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19842 #include <sys/types.h>
19843 #ifdef HAVE_SYS_SOCKET_H
19844 # include <sys/socket.h>
19845 #endif
19846 #ifdef HAVE_SYS_UN_H
19847 # include <sys/un.h>
19848 #endif
19851 main ()
19853 static struct sockaddr ac_aggr;
19854 if (sizeof ac_aggr.sa_len)
19855 return 0;
19857 return 0;
19859 _ACEOF
19860 rm -f conftest.$ac_objext
19861 if { (ac_try="$ac_compile"
19862 case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19865 esac
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_compile") 2>conftest.er1
19868 ac_status=$?
19869 grep -v '^ *+' conftest.er1 >conftest.err
19870 rm -f conftest.er1
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } && {
19874 test -z "$ac_c_werror_flag" ||
19875 test ! -s conftest.err
19876 } && test -s conftest.$ac_objext; then
19877 ac_cv_member_struct_sockaddr_sa_len=yes
19878 else
19879 echo "$as_me: failed program was:" >&5
19880 sed 's/^/| /' conftest.$ac_ext >&5
19882 ac_cv_member_struct_sockaddr_sa_len=no
19885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19891 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19892 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19894 cat >>confdefs.h <<_ACEOF
19895 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19896 _ACEOF
19900 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19901 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19902 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19903 echo $ECHO_N "(cached) $ECHO_C" >&6
19904 else
19905 cat >conftest.$ac_ext <<_ACEOF
19906 /* confdefs.h. */
19907 _ACEOF
19908 cat confdefs.h >>conftest.$ac_ext
19909 cat >>conftest.$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 #include <sys/types.h>
19912 #ifdef HAVE_SYS_SOCKET_H
19913 # include <sys/socket.h>
19914 #endif
19915 #ifdef HAVE_SYS_UN_H
19916 # include <sys/un.h>
19917 #endif
19920 main ()
19922 static struct sockaddr_un ac_aggr;
19923 if (ac_aggr.sun_len)
19924 return 0;
19926 return 0;
19928 _ACEOF
19929 rm -f conftest.$ac_objext
19930 if { (ac_try="$ac_compile"
19931 case "(($ac_try" in
19932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19933 *) ac_try_echo=$ac_try;;
19934 esac
19935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19936 (eval "$ac_compile") 2>conftest.er1
19937 ac_status=$?
19938 grep -v '^ *+' conftest.er1 >conftest.err
19939 rm -f conftest.er1
19940 cat conftest.err >&5
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); } && {
19943 test -z "$ac_c_werror_flag" ||
19944 test ! -s conftest.err
19945 } && test -s conftest.$ac_objext; then
19946 ac_cv_member_struct_sockaddr_un_sun_len=yes
19947 else
19948 echo "$as_me: failed program was:" >&5
19949 sed 's/^/| /' conftest.$ac_ext >&5
19951 cat >conftest.$ac_ext <<_ACEOF
19952 /* confdefs.h. */
19953 _ACEOF
19954 cat confdefs.h >>conftest.$ac_ext
19955 cat >>conftest.$ac_ext <<_ACEOF
19956 /* end confdefs.h. */
19957 #include <sys/types.h>
19958 #ifdef HAVE_SYS_SOCKET_H
19959 # include <sys/socket.h>
19960 #endif
19961 #ifdef HAVE_SYS_UN_H
19962 # include <sys/un.h>
19963 #endif
19966 main ()
19968 static struct sockaddr_un ac_aggr;
19969 if (sizeof ac_aggr.sun_len)
19970 return 0;
19972 return 0;
19974 _ACEOF
19975 rm -f conftest.$ac_objext
19976 if { (ac_try="$ac_compile"
19977 case "(($ac_try" in
19978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19979 *) ac_try_echo=$ac_try;;
19980 esac
19981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19982 (eval "$ac_compile") 2>conftest.er1
19983 ac_status=$?
19984 grep -v '^ *+' conftest.er1 >conftest.err
19985 rm -f conftest.er1
19986 cat conftest.err >&5
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); } && {
19989 test -z "$ac_c_werror_flag" ||
19990 test ! -s conftest.err
19991 } && test -s conftest.$ac_objext; then
19992 ac_cv_member_struct_sockaddr_un_sun_len=yes
19993 else
19994 echo "$as_me: failed program was:" >&5
19995 sed 's/^/| /' conftest.$ac_ext >&5
19997 ac_cv_member_struct_sockaddr_un_sun_len=no
20000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20005 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20006 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20007 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20009 cat >>confdefs.h <<_ACEOF
20010 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20011 _ACEOF
20017 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20018 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20019 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20020 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 else
20022 cat >conftest.$ac_ext <<_ACEOF
20023 /* confdefs.h. */
20024 _ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 #include <sys/types.h>
20029 #ifdef HAVE_SCSI_SG_H
20030 #include <scsi/sg.h>
20031 #endif
20034 main ()
20036 static scsireq_t ac_aggr;
20037 if (ac_aggr.cmd)
20038 return 0;
20040 return 0;
20042 _ACEOF
20043 rm -f conftest.$ac_objext
20044 if { (ac_try="$ac_compile"
20045 case "(($ac_try" in
20046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20047 *) ac_try_echo=$ac_try;;
20048 esac
20049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20050 (eval "$ac_compile") 2>conftest.er1
20051 ac_status=$?
20052 grep -v '^ *+' conftest.er1 >conftest.err
20053 rm -f conftest.er1
20054 cat conftest.err >&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } && {
20057 test -z "$ac_c_werror_flag" ||
20058 test ! -s conftest.err
20059 } && test -s conftest.$ac_objext; then
20060 ac_cv_member_scsireq_t_cmd=yes
20061 else
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20065 cat >conftest.$ac_ext <<_ACEOF
20066 /* confdefs.h. */
20067 _ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 #include <sys/types.h>
20072 #ifdef HAVE_SCSI_SG_H
20073 #include <scsi/sg.h>
20074 #endif
20077 main ()
20079 static scsireq_t ac_aggr;
20080 if (sizeof ac_aggr.cmd)
20081 return 0;
20083 return 0;
20085 _ACEOF
20086 rm -f conftest.$ac_objext
20087 if { (ac_try="$ac_compile"
20088 case "(($ac_try" in
20089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20090 *) ac_try_echo=$ac_try;;
20091 esac
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_compile") 2>conftest.er1
20094 ac_status=$?
20095 grep -v '^ *+' conftest.er1 >conftest.err
20096 rm -f conftest.er1
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest.$ac_objext; then
20103 ac_cv_member_scsireq_t_cmd=yes
20104 else
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20108 ac_cv_member_scsireq_t_cmd=no
20111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20116 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20117 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20118 if test $ac_cv_member_scsireq_t_cmd = yes; then
20120 cat >>confdefs.h <<_ACEOF
20121 #define HAVE_SCSIREQ_T_CMD 1
20122 _ACEOF
20126 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20127 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20128 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20130 else
20131 cat >conftest.$ac_ext <<_ACEOF
20132 /* confdefs.h. */
20133 _ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 #include <sys/types.h>
20138 #ifdef HAVE_SCSI_SG_H
20139 #include <scsi/sg.h>
20140 #endif
20143 main ()
20145 static sg_io_hdr_t ac_aggr;
20146 if (ac_aggr.interface_id)
20147 return 0;
20149 return 0;
20151 _ACEOF
20152 rm -f conftest.$ac_objext
20153 if { (ac_try="$ac_compile"
20154 case "(($ac_try" in
20155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20156 *) ac_try_echo=$ac_try;;
20157 esac
20158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20159 (eval "$ac_compile") 2>conftest.er1
20160 ac_status=$?
20161 grep -v '^ *+' conftest.er1 >conftest.err
20162 rm -f conftest.er1
20163 cat conftest.err >&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); } && {
20166 test -z "$ac_c_werror_flag" ||
20167 test ! -s conftest.err
20168 } && test -s conftest.$ac_objext; then
20169 ac_cv_member_sg_io_hdr_t_interface_id=yes
20170 else
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.$ac_ext >&5
20174 cat >conftest.$ac_ext <<_ACEOF
20175 /* confdefs.h. */
20176 _ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 #include <sys/types.h>
20181 #ifdef HAVE_SCSI_SG_H
20182 #include <scsi/sg.h>
20183 #endif
20186 main ()
20188 static sg_io_hdr_t ac_aggr;
20189 if (sizeof ac_aggr.interface_id)
20190 return 0;
20192 return 0;
20194 _ACEOF
20195 rm -f conftest.$ac_objext
20196 if { (ac_try="$ac_compile"
20197 case "(($ac_try" in
20198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20199 *) ac_try_echo=$ac_try;;
20200 esac
20201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20202 (eval "$ac_compile") 2>conftest.er1
20203 ac_status=$?
20204 grep -v '^ *+' conftest.er1 >conftest.err
20205 rm -f conftest.er1
20206 cat conftest.err >&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); } && {
20209 test -z "$ac_c_werror_flag" ||
20210 test ! -s conftest.err
20211 } && test -s conftest.$ac_objext; then
20212 ac_cv_member_sg_io_hdr_t_interface_id=yes
20213 else
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20217 ac_cv_member_sg_io_hdr_t_interface_id=no
20220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20226 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20227 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20229 cat >>confdefs.h <<_ACEOF
20230 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20231 _ACEOF
20237 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20238 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20239 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20240 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 else
20242 cat >conftest.$ac_ext <<_ACEOF
20243 /* confdefs.h. */
20244 _ACEOF
20245 cat confdefs.h >>conftest.$ac_ext
20246 cat >>conftest.$ac_ext <<_ACEOF
20247 /* end confdefs.h. */
20248 #include <signal.h>
20251 main ()
20253 static siginfo_t ac_aggr;
20254 if (ac_aggr.si_fd)
20255 return 0;
20257 return 0;
20259 _ACEOF
20260 rm -f conftest.$ac_objext
20261 if { (ac_try="$ac_compile"
20262 case "(($ac_try" in
20263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20264 *) ac_try_echo=$ac_try;;
20265 esac
20266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20267 (eval "$ac_compile") 2>conftest.er1
20268 ac_status=$?
20269 grep -v '^ *+' conftest.er1 >conftest.err
20270 rm -f conftest.er1
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } && {
20274 test -z "$ac_c_werror_flag" ||
20275 test ! -s conftest.err
20276 } && test -s conftest.$ac_objext; then
20277 ac_cv_member_siginfo_t_si_fd=yes
20278 else
20279 echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.$ac_ext >&5
20282 cat >conftest.$ac_ext <<_ACEOF
20283 /* confdefs.h. */
20284 _ACEOF
20285 cat confdefs.h >>conftest.$ac_ext
20286 cat >>conftest.$ac_ext <<_ACEOF
20287 /* end confdefs.h. */
20288 #include <signal.h>
20291 main ()
20293 static siginfo_t ac_aggr;
20294 if (sizeof ac_aggr.si_fd)
20295 return 0;
20297 return 0;
20299 _ACEOF
20300 rm -f conftest.$ac_objext
20301 if { (ac_try="$ac_compile"
20302 case "(($ac_try" in
20303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20304 *) ac_try_echo=$ac_try;;
20305 esac
20306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20307 (eval "$ac_compile") 2>conftest.er1
20308 ac_status=$?
20309 grep -v '^ *+' conftest.er1 >conftest.err
20310 rm -f conftest.er1
20311 cat conftest.err >&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } && {
20314 test -z "$ac_c_werror_flag" ||
20315 test ! -s conftest.err
20316 } && test -s conftest.$ac_objext; then
20317 ac_cv_member_siginfo_t_si_fd=yes
20318 else
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.$ac_ext >&5
20322 ac_cv_member_siginfo_t_si_fd=no
20325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20330 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20331 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20332 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20334 cat >>confdefs.h <<_ACEOF
20335 #define HAVE_SIGINFO_T_SI_FD 1
20336 _ACEOF
20342 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20343 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20344 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20345 echo $ECHO_N "(cached) $ECHO_C" >&6
20346 else
20347 cat >conftest.$ac_ext <<_ACEOF
20348 /* confdefs.h. */
20349 _ACEOF
20350 cat confdefs.h >>conftest.$ac_ext
20351 cat >>conftest.$ac_ext <<_ACEOF
20352 /* end confdefs.h. */
20353 #include <sys/types.h>
20354 #ifdef HAVE_SYS_MTIO_H
20355 #include <sys/mtio.h>
20356 #endif
20359 main ()
20361 static struct mtget ac_aggr;
20362 if (ac_aggr.mt_blksiz)
20363 return 0;
20365 return 0;
20367 _ACEOF
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20373 esac
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20376 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20385 ac_cv_member_struct_mtget_mt_blksiz=yes
20386 else
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.$ac_ext >&5
20390 cat >conftest.$ac_ext <<_ACEOF
20391 /* confdefs.h. */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 #include <sys/types.h>
20397 #ifdef HAVE_SYS_MTIO_H
20398 #include <sys/mtio.h>
20399 #endif
20402 main ()
20404 static struct mtget ac_aggr;
20405 if (sizeof ac_aggr.mt_blksiz)
20406 return 0;
20408 return 0;
20410 _ACEOF
20411 rm -f conftest.$ac_objext
20412 if { (ac_try="$ac_compile"
20413 case "(($ac_try" in
20414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20415 *) ac_try_echo=$ac_try;;
20416 esac
20417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20418 (eval "$ac_compile") 2>conftest.er1
20419 ac_status=$?
20420 grep -v '^ *+' conftest.er1 >conftest.err
20421 rm -f conftest.er1
20422 cat conftest.err >&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } && {
20425 test -z "$ac_c_werror_flag" ||
20426 test ! -s conftest.err
20427 } && test -s conftest.$ac_objext; then
20428 ac_cv_member_struct_mtget_mt_blksiz=yes
20429 else
20430 echo "$as_me: failed program was:" >&5
20431 sed 's/^/| /' conftest.$ac_ext >&5
20433 ac_cv_member_struct_mtget_mt_blksiz=no
20436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20441 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20442 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20443 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20445 cat >>confdefs.h <<_ACEOF
20446 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20447 _ACEOF
20451 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20452 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20453 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20454 echo $ECHO_N "(cached) $ECHO_C" >&6
20455 else
20456 cat >conftest.$ac_ext <<_ACEOF
20457 /* confdefs.h. */
20458 _ACEOF
20459 cat confdefs.h >>conftest.$ac_ext
20460 cat >>conftest.$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20462 #include <sys/types.h>
20463 #ifdef HAVE_SYS_MTIO_H
20464 #include <sys/mtio.h>
20465 #endif
20468 main ()
20470 static struct mtget ac_aggr;
20471 if (ac_aggr.mt_gstat)
20472 return 0;
20474 return 0;
20476 _ACEOF
20477 rm -f conftest.$ac_objext
20478 if { (ac_try="$ac_compile"
20479 case "(($ac_try" in
20480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20481 *) ac_try_echo=$ac_try;;
20482 esac
20483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20484 (eval "$ac_compile") 2>conftest.er1
20485 ac_status=$?
20486 grep -v '^ *+' conftest.er1 >conftest.err
20487 rm -f conftest.er1
20488 cat conftest.err >&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } && {
20491 test -z "$ac_c_werror_flag" ||
20492 test ! -s conftest.err
20493 } && test -s conftest.$ac_objext; then
20494 ac_cv_member_struct_mtget_mt_gstat=yes
20495 else
20496 echo "$as_me: failed program was:" >&5
20497 sed 's/^/| /' conftest.$ac_ext >&5
20499 cat >conftest.$ac_ext <<_ACEOF
20500 /* confdefs.h. */
20501 _ACEOF
20502 cat confdefs.h >>conftest.$ac_ext
20503 cat >>conftest.$ac_ext <<_ACEOF
20504 /* end confdefs.h. */
20505 #include <sys/types.h>
20506 #ifdef HAVE_SYS_MTIO_H
20507 #include <sys/mtio.h>
20508 #endif
20511 main ()
20513 static struct mtget ac_aggr;
20514 if (sizeof ac_aggr.mt_gstat)
20515 return 0;
20517 return 0;
20519 _ACEOF
20520 rm -f conftest.$ac_objext
20521 if { (ac_try="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20524 *) ac_try_echo=$ac_try;;
20525 esac
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20528 ac_status=$?
20529 grep -v '^ *+' conftest.er1 >conftest.err
20530 rm -f conftest.er1
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } && {
20534 test -z "$ac_c_werror_flag" ||
20535 test ! -s conftest.err
20536 } && test -s conftest.$ac_objext; then
20537 ac_cv_member_struct_mtget_mt_gstat=yes
20538 else
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 ac_cv_member_struct_mtget_mt_gstat=no
20545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20550 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20551 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20552 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20554 cat >>confdefs.h <<_ACEOF
20555 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20556 _ACEOF
20560 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20561 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20562 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 else
20565 cat >conftest.$ac_ext <<_ACEOF
20566 /* confdefs.h. */
20567 _ACEOF
20568 cat confdefs.h >>conftest.$ac_ext
20569 cat >>conftest.$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571 #include <sys/types.h>
20572 #ifdef HAVE_SYS_MTIO_H
20573 #include <sys/mtio.h>
20574 #endif
20577 main ()
20579 static struct mtget ac_aggr;
20580 if (ac_aggr.mt_blkno)
20581 return 0;
20583 return 0;
20585 _ACEOF
20586 rm -f conftest.$ac_objext
20587 if { (ac_try="$ac_compile"
20588 case "(($ac_try" in
20589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20590 *) ac_try_echo=$ac_try;;
20591 esac
20592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20593 (eval "$ac_compile") 2>conftest.er1
20594 ac_status=$?
20595 grep -v '^ *+' conftest.er1 >conftest.err
20596 rm -f conftest.er1
20597 cat conftest.err >&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); } && {
20600 test -z "$ac_c_werror_flag" ||
20601 test ! -s conftest.err
20602 } && test -s conftest.$ac_objext; then
20603 ac_cv_member_struct_mtget_mt_blkno=yes
20604 else
20605 echo "$as_me: failed program was:" >&5
20606 sed 's/^/| /' conftest.$ac_ext >&5
20608 cat >conftest.$ac_ext <<_ACEOF
20609 /* confdefs.h. */
20610 _ACEOF
20611 cat confdefs.h >>conftest.$ac_ext
20612 cat >>conftest.$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 #include <sys/types.h>
20615 #ifdef HAVE_SYS_MTIO_H
20616 #include <sys/mtio.h>
20617 #endif
20620 main ()
20622 static struct mtget ac_aggr;
20623 if (sizeof ac_aggr.mt_blkno)
20624 return 0;
20626 return 0;
20628 _ACEOF
20629 rm -f conftest.$ac_objext
20630 if { (ac_try="$ac_compile"
20631 case "(($ac_try" in
20632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20633 *) ac_try_echo=$ac_try;;
20634 esac
20635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20636 (eval "$ac_compile") 2>conftest.er1
20637 ac_status=$?
20638 grep -v '^ *+' conftest.er1 >conftest.err
20639 rm -f conftest.er1
20640 cat conftest.err >&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } && {
20643 test -z "$ac_c_werror_flag" ||
20644 test ! -s conftest.err
20645 } && test -s conftest.$ac_objext; then
20646 ac_cv_member_struct_mtget_mt_blkno=yes
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20651 ac_cv_member_struct_mtget_mt_blkno=no
20654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20659 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20660 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20661 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20663 cat >>confdefs.h <<_ACEOF
20664 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20665 _ACEOF
20671 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20672 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20673 if test "${ac_cv_member_struct_option_name+set}" = set; then
20674 echo $ECHO_N "(cached) $ECHO_C" >&6
20675 else
20676 cat >conftest.$ac_ext <<_ACEOF
20677 /* confdefs.h. */
20678 _ACEOF
20679 cat confdefs.h >>conftest.$ac_ext
20680 cat >>conftest.$ac_ext <<_ACEOF
20681 /* end confdefs.h. */
20682 #ifdef HAVE_GETOPT_H
20683 #include <getopt.h>
20684 #endif
20687 main ()
20689 static struct option ac_aggr;
20690 if (ac_aggr.name)
20691 return 0;
20693 return 0;
20695 _ACEOF
20696 rm -f conftest.$ac_objext
20697 if { (ac_try="$ac_compile"
20698 case "(($ac_try" in
20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20701 esac
20702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_compile") 2>conftest.er1
20704 ac_status=$?
20705 grep -v '^ *+' conftest.er1 >conftest.err
20706 rm -f conftest.er1
20707 cat conftest.err >&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); } && {
20710 test -z "$ac_c_werror_flag" ||
20711 test ! -s conftest.err
20712 } && test -s conftest.$ac_objext; then
20713 ac_cv_member_struct_option_name=yes
20714 else
20715 echo "$as_me: failed program was:" >&5
20716 sed 's/^/| /' conftest.$ac_ext >&5
20718 cat >conftest.$ac_ext <<_ACEOF
20719 /* confdefs.h. */
20720 _ACEOF
20721 cat confdefs.h >>conftest.$ac_ext
20722 cat >>conftest.$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20724 #ifdef HAVE_GETOPT_H
20725 #include <getopt.h>
20726 #endif
20729 main ()
20731 static struct option ac_aggr;
20732 if (sizeof ac_aggr.name)
20733 return 0;
20735 return 0;
20737 _ACEOF
20738 rm -f conftest.$ac_objext
20739 if { (ac_try="$ac_compile"
20740 case "(($ac_try" in
20741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20742 *) ac_try_echo=$ac_try;;
20743 esac
20744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20745 (eval "$ac_compile") 2>conftest.er1
20746 ac_status=$?
20747 grep -v '^ *+' conftest.er1 >conftest.err
20748 rm -f conftest.er1
20749 cat conftest.err >&5
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); } && {
20752 test -z "$ac_c_werror_flag" ||
20753 test ! -s conftest.err
20754 } && test -s conftest.$ac_objext; then
20755 ac_cv_member_struct_option_name=yes
20756 else
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20760 ac_cv_member_struct_option_name=no
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20768 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20769 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20770 if test $ac_cv_member_struct_option_name = yes; then
20772 cat >>confdefs.h <<_ACEOF
20773 #define HAVE_STRUCT_OPTION_NAME 1
20774 _ACEOF
20780 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20781 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20782 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20783 echo $ECHO_N "(cached) $ECHO_C" >&6
20784 else
20785 cat >conftest.$ac_ext <<_ACEOF
20786 /* confdefs.h. */
20787 _ACEOF
20788 cat confdefs.h >>conftest.$ac_ext
20789 cat >>conftest.$ac_ext <<_ACEOF
20790 /* end confdefs.h. */
20791 $ac_includes_default
20793 main ()
20795 static struct stat ac_aggr;
20796 if (ac_aggr.st_blocks)
20797 return 0;
20799 return 0;
20801 _ACEOF
20802 rm -f conftest.$ac_objext
20803 if { (ac_try="$ac_compile"
20804 case "(($ac_try" in
20805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20806 *) ac_try_echo=$ac_try;;
20807 esac
20808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20809 (eval "$ac_compile") 2>conftest.er1
20810 ac_status=$?
20811 grep -v '^ *+' conftest.er1 >conftest.err
20812 rm -f conftest.er1
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } && {
20816 test -z "$ac_c_werror_flag" ||
20817 test ! -s conftest.err
20818 } && test -s conftest.$ac_objext; then
20819 ac_cv_member_struct_stat_st_blocks=yes
20820 else
20821 echo "$as_me: failed program was:" >&5
20822 sed 's/^/| /' conftest.$ac_ext >&5
20824 cat >conftest.$ac_ext <<_ACEOF
20825 /* confdefs.h. */
20826 _ACEOF
20827 cat confdefs.h >>conftest.$ac_ext
20828 cat >>conftest.$ac_ext <<_ACEOF
20829 /* end confdefs.h. */
20830 $ac_includes_default
20832 main ()
20834 static struct stat ac_aggr;
20835 if (sizeof ac_aggr.st_blocks)
20836 return 0;
20838 return 0;
20840 _ACEOF
20841 rm -f conftest.$ac_objext
20842 if { (ac_try="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20846 esac
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } && {
20855 test -z "$ac_c_werror_flag" ||
20856 test ! -s conftest.err
20857 } && test -s conftest.$ac_objext; then
20858 ac_cv_member_struct_stat_st_blocks=yes
20859 else
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20863 ac_cv_member_struct_stat_st_blocks=no
20866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20871 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20872 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20873 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20875 cat >>confdefs.h <<_ACEOF
20876 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20877 _ACEOF
20883 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20884 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20885 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20886 echo $ECHO_N "(cached) $ECHO_C" >&6
20887 else
20888 cat >conftest.$ac_ext <<_ACEOF
20889 /* confdefs.h. */
20890 _ACEOF
20891 cat confdefs.h >>conftest.$ac_ext
20892 cat >>conftest.$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20894 #ifdef HAVE_SYS_TYPES_H
20895 #include <sys/types.h>
20896 #endif
20897 #ifdef HAVE_NETINET_IN_H
20898 #include <netinet/in.h>
20899 #endif
20902 main ()
20904 static struct sockaddr_in6 ac_aggr;
20905 if (ac_aggr.sin6_scope_id)
20906 return 0;
20908 return 0;
20910 _ACEOF
20911 rm -f conftest.$ac_objext
20912 if { (ac_try="$ac_compile"
20913 case "(($ac_try" in
20914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20915 *) ac_try_echo=$ac_try;;
20916 esac
20917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20918 (eval "$ac_compile") 2>conftest.er1
20919 ac_status=$?
20920 grep -v '^ *+' conftest.er1 >conftest.err
20921 rm -f conftest.er1
20922 cat conftest.err >&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } && {
20925 test -z "$ac_c_werror_flag" ||
20926 test ! -s conftest.err
20927 } && test -s conftest.$ac_objext; then
20928 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20929 else
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.$ac_ext >&5
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 #ifdef HAVE_SYS_TYPES_H
20940 #include <sys/types.h>
20941 #endif
20942 #ifdef HAVE_NETINET_IN_H
20943 #include <netinet/in.h>
20944 #endif
20947 main ()
20949 static struct sockaddr_in6 ac_aggr;
20950 if (sizeof ac_aggr.sin6_scope_id)
20951 return 0;
20953 return 0;
20955 _ACEOF
20956 rm -f conftest.$ac_objext
20957 if { (ac_try="$ac_compile"
20958 case "(($ac_try" in
20959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20960 *) ac_try_echo=$ac_try;;
20961 esac
20962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963 (eval "$ac_compile") 2>conftest.er1
20964 ac_status=$?
20965 grep -v '^ *+' conftest.er1 >conftest.err
20966 rm -f conftest.er1
20967 cat conftest.err >&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); } && {
20970 test -z "$ac_c_werror_flag" ||
20971 test ! -s conftest.err
20972 } && test -s conftest.$ac_objext; then
20973 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20974 else
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.$ac_ext >&5
20978 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20986 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20987 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20988 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20990 cat >>confdefs.h <<_ACEOF
20991 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20992 _ACEOF
20998 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20999 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
21000 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
21001 echo $ECHO_N "(cached) $ECHO_C" >&6
21002 else
21003 cat >conftest.$ac_ext <<_ACEOF
21004 /* confdefs.h. */
21005 _ACEOF
21006 cat confdefs.h >>conftest.$ac_ext
21007 cat >>conftest.$ac_ext <<_ACEOF
21008 /* end confdefs.h. */
21009 #ifdef HAVE_SYS_TYPES_H
21010 #include <sys/types.h>
21011 #endif
21012 #ifdef HAVE_NETINET_IN_H
21013 # include <netinet/in.h>
21014 #endif
21015 #ifdef HAVE_ARPA_NAMESER_H
21016 # include <arpa/nameser.h>
21017 #endif
21020 main ()
21022 static ns_msg ac_aggr;
21023 if (ac_aggr._msg_ptr)
21024 return 0;
21026 return 0;
21028 _ACEOF
21029 rm -f conftest.$ac_objext
21030 if { (ac_try="$ac_compile"
21031 case "(($ac_try" in
21032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21033 *) ac_try_echo=$ac_try;;
21034 esac
21035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21036 (eval "$ac_compile") 2>conftest.er1
21037 ac_status=$?
21038 grep -v '^ *+' conftest.er1 >conftest.err
21039 rm -f conftest.er1
21040 cat conftest.err >&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } && {
21043 test -z "$ac_c_werror_flag" ||
21044 test ! -s conftest.err
21045 } && test -s conftest.$ac_objext; then
21046 ac_cv_member_ns_msg__msg_ptr=yes
21047 else
21048 echo "$as_me: failed program was:" >&5
21049 sed 's/^/| /' conftest.$ac_ext >&5
21051 cat >conftest.$ac_ext <<_ACEOF
21052 /* confdefs.h. */
21053 _ACEOF
21054 cat confdefs.h >>conftest.$ac_ext
21055 cat >>conftest.$ac_ext <<_ACEOF
21056 /* end confdefs.h. */
21057 #ifdef HAVE_SYS_TYPES_H
21058 #include <sys/types.h>
21059 #endif
21060 #ifdef HAVE_NETINET_IN_H
21061 # include <netinet/in.h>
21062 #endif
21063 #ifdef HAVE_ARPA_NAMESER_H
21064 # include <arpa/nameser.h>
21065 #endif
21068 main ()
21070 static ns_msg ac_aggr;
21071 if (sizeof ac_aggr._msg_ptr)
21072 return 0;
21074 return 0;
21076 _ACEOF
21077 rm -f conftest.$ac_objext
21078 if { (ac_try="$ac_compile"
21079 case "(($ac_try" in
21080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21081 *) ac_try_echo=$ac_try;;
21082 esac
21083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21084 (eval "$ac_compile") 2>conftest.er1
21085 ac_status=$?
21086 grep -v '^ *+' conftest.er1 >conftest.err
21087 rm -f conftest.er1
21088 cat conftest.err >&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } && {
21091 test -z "$ac_c_werror_flag" ||
21092 test ! -s conftest.err
21093 } && test -s conftest.$ac_objext; then
21094 ac_cv_member_ns_msg__msg_ptr=yes
21095 else
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21099 ac_cv_member_ns_msg__msg_ptr=no
21102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21107 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21108 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21109 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21111 cat >>confdefs.h <<_ACEOF
21112 #define HAVE_NS_MSG__MSG_PTR 1
21113 _ACEOF
21119 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21120 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21121 if test "${ac_cv_have_timezone+set}" = set; then
21122 echo $ECHO_N "(cached) $ECHO_C" >&6
21123 else
21124 cat >conftest.$ac_ext <<_ACEOF
21125 /* confdefs.h. */
21126 _ACEOF
21127 cat confdefs.h >>conftest.$ac_ext
21128 cat >>conftest.$ac_ext <<_ACEOF
21129 /* end confdefs.h. */
21130 #include <time.h>
21132 main ()
21134 timezone = 1
21136 return 0;
21138 _ACEOF
21139 rm -f conftest.$ac_objext conftest$ac_exeext
21140 if { (ac_try="$ac_link"
21141 case "(($ac_try" in
21142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21143 *) ac_try_echo=$ac_try;;
21144 esac
21145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21146 (eval "$ac_link") 2>conftest.er1
21147 ac_status=$?
21148 grep -v '^ *+' conftest.er1 >conftest.err
21149 rm -f conftest.er1
21150 cat conftest.err >&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); } && {
21153 test -z "$ac_c_werror_flag" ||
21154 test ! -s conftest.err
21155 } && test -s conftest$ac_exeext &&
21156 $as_test_x conftest$ac_exeext; then
21157 ac_cv_have_timezone="yes"
21158 else
21159 echo "$as_me: failed program was:" >&5
21160 sed 's/^/| /' conftest.$ac_ext >&5
21162 ac_cv_have_timezone="no"
21165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21166 conftest$ac_exeext conftest.$ac_ext
21168 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21169 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21170 if test "$ac_cv_have_timezone" = "yes"
21171 then
21173 cat >>confdefs.h <<\_ACEOF
21174 #define HAVE_TIMEZONE 1
21175 _ACEOF
21178 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21179 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21180 if test "${ac_cv_have_daylight+set}" = set; then
21181 echo $ECHO_N "(cached) $ECHO_C" >&6
21182 else
21183 cat >conftest.$ac_ext <<_ACEOF
21184 /* confdefs.h. */
21185 _ACEOF
21186 cat confdefs.h >>conftest.$ac_ext
21187 cat >>conftest.$ac_ext <<_ACEOF
21188 /* end confdefs.h. */
21189 #include <time.h>
21191 main ()
21193 daylight = 1
21195 return 0;
21197 _ACEOF
21198 rm -f conftest.$ac_objext conftest$ac_exeext
21199 if { (ac_try="$ac_link"
21200 case "(($ac_try" in
21201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21202 *) ac_try_echo=$ac_try;;
21203 esac
21204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21205 (eval "$ac_link") 2>conftest.er1
21206 ac_status=$?
21207 grep -v '^ *+' conftest.er1 >conftest.err
21208 rm -f conftest.er1
21209 cat conftest.err >&5
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); } && {
21212 test -z "$ac_c_werror_flag" ||
21213 test ! -s conftest.err
21214 } && test -s conftest$ac_exeext &&
21215 $as_test_x conftest$ac_exeext; then
21216 ac_cv_have_daylight="yes"
21217 else
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21221 ac_cv_have_daylight="no"
21224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21225 conftest$ac_exeext conftest.$ac_ext
21227 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21228 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21229 if test "$ac_cv_have_daylight" = "yes"
21230 then
21232 cat >>confdefs.h <<\_ACEOF
21233 #define HAVE_DAYLIGHT 1
21234 _ACEOF
21238 { echo "$as_me:$LINENO: checking for isinf" >&5
21239 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21240 if test "${ac_cv_have_isinf+set}" = set; then
21241 echo $ECHO_N "(cached) $ECHO_C" >&6
21242 else
21243 cat >conftest.$ac_ext <<_ACEOF
21244 /* confdefs.h. */
21245 _ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249 #include <math.h>
21251 main ()
21253 float f = 0.0; isinf(f)
21255 return 0;
21257 _ACEOF
21258 rm -f conftest.$ac_objext conftest$ac_exeext
21259 if { (ac_try="$ac_link"
21260 case "(($ac_try" in
21261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21262 *) ac_try_echo=$ac_try;;
21263 esac
21264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21265 (eval "$ac_link") 2>conftest.er1
21266 ac_status=$?
21267 grep -v '^ *+' conftest.er1 >conftest.err
21268 rm -f conftest.er1
21269 cat conftest.err >&5
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } && {
21272 test -z "$ac_c_werror_flag" ||
21273 test ! -s conftest.err
21274 } && test -s conftest$ac_exeext &&
21275 $as_test_x conftest$ac_exeext; then
21276 ac_cv_have_isinf="yes"
21277 else
21278 echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.$ac_ext >&5
21281 ac_cv_have_isinf="no"
21284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21285 conftest$ac_exeext conftest.$ac_ext
21287 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21288 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21289 if test "$ac_cv_have_isinf" = "yes"
21290 then
21292 cat >>confdefs.h <<\_ACEOF
21293 #define HAVE_ISINF 1
21294 _ACEOF
21299 case $host_cpu in
21300 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21301 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21302 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21303 echo $ECHO_N "(cached) $ECHO_C" >&6
21304 else
21305 cat >conftest.$ac_ext <<_ACEOF
21306 /* confdefs.h. */
21307 _ACEOF
21308 cat confdefs.h >>conftest.$ac_ext
21309 cat >>conftest.$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 #ifndef __i386__
21313 #endif
21314 _ACEOF
21315 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21316 $EGREP "yes" >/dev/null 2>&1; then
21317 ac_cv_cpp_def___i386__=yes
21318 else
21319 ac_cv_cpp_def___i386__=no
21321 rm -f conftest*
21324 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21325 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21326 if test $ac_cv_cpp_def___i386__ = yes; then
21327 CFLAGS="$CFLAGS -D__i386__"
21328 LINTFLAGS="$LINTFLAGS -D__i386__"
21331 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21332 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21333 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21334 echo $ECHO_N "(cached) $ECHO_C" >&6
21335 else
21336 cat >conftest.$ac_ext <<_ACEOF
21337 /* confdefs.h. */
21338 _ACEOF
21339 cat confdefs.h >>conftest.$ac_ext
21340 cat >>conftest.$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 #ifndef __x86_64__
21344 #endif
21345 _ACEOF
21346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21347 $EGREP "yes" >/dev/null 2>&1; then
21348 ac_cv_cpp_def___x86_64__=yes
21349 else
21350 ac_cv_cpp_def___x86_64__=no
21352 rm -f conftest*
21355 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21356 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21357 if test $ac_cv_cpp_def___x86_64__ = yes; then
21358 CFLAGS="$CFLAGS -D__x86_64__"
21359 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21362 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21363 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21364 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21365 echo $ECHO_N "(cached) $ECHO_C" >&6
21366 else
21367 cat >conftest.$ac_ext <<_ACEOF
21368 /* confdefs.h. */
21369 _ACEOF
21370 cat confdefs.h >>conftest.$ac_ext
21371 cat >>conftest.$ac_ext <<_ACEOF
21372 /* end confdefs.h. */
21373 #ifndef __ALPHA__
21375 #endif
21376 _ACEOF
21377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21378 $EGREP "yes" >/dev/null 2>&1; then
21379 ac_cv_cpp_def___ALPHA__=yes
21380 else
21381 ac_cv_cpp_def___ALPHA__=no
21383 rm -f conftest*
21386 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21387 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21388 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21389 CFLAGS="$CFLAGS -D__ALPHA__"
21390 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21393 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21394 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21395 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21396 echo $ECHO_N "(cached) $ECHO_C" >&6
21397 else
21398 cat >conftest.$ac_ext <<_ACEOF
21399 /* confdefs.h. */
21400 _ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 #ifndef __sparc__
21406 #endif
21407 _ACEOF
21408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21409 $EGREP "yes" >/dev/null 2>&1; then
21410 ac_cv_cpp_def___sparc__=yes
21411 else
21412 ac_cv_cpp_def___sparc__=no
21414 rm -f conftest*
21417 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21418 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21419 if test $ac_cv_cpp_def___sparc__ = yes; then
21420 CFLAGS="$CFLAGS -D__sparc__"
21421 LINTFLAGS="$LINTFLAGS -D__sparc__"
21424 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21425 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21426 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21427 echo $ECHO_N "(cached) $ECHO_C" >&6
21428 else
21429 cat >conftest.$ac_ext <<_ACEOF
21430 /* confdefs.h. */
21431 _ACEOF
21432 cat confdefs.h >>conftest.$ac_ext
21433 cat >>conftest.$ac_ext <<_ACEOF
21434 /* end confdefs.h. */
21435 #ifndef __powerpc__
21437 #endif
21438 _ACEOF
21439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21440 $EGREP "yes" >/dev/null 2>&1; then
21441 ac_cv_cpp_def___powerpc__=yes
21442 else
21443 ac_cv_cpp_def___powerpc__=no
21445 rm -f conftest*
21448 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21449 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21450 if test $ac_cv_cpp_def___powerpc__ = yes; then
21451 CFLAGS="$CFLAGS -D__powerpc__"
21452 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21455 esac
21457 case $host_vendor in
21458 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21459 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21460 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 else
21463 cat >conftest.$ac_ext <<_ACEOF
21464 /* confdefs.h. */
21465 _ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 #ifndef __sun__
21471 #endif
21472 _ACEOF
21473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21474 $EGREP "yes" >/dev/null 2>&1; then
21475 ac_cv_cpp_def___sun__=yes
21476 else
21477 ac_cv_cpp_def___sun__=no
21479 rm -f conftest*
21482 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21483 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21484 if test $ac_cv_cpp_def___sun__ = yes; then
21485 CFLAGS="$CFLAGS -D__sun__"
21486 LINTFLAGS="$LINTFLAGS -D__sun__"
21489 esac
21492 DEPENDENCIES="### Dependencies:
21494 .INIT: Makefile
21495 .BEGIN: Makefile
21496 Makefile: dummy
21497 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21499 \$(OBJS): \$(IDL_GEN_HEADERS)
21500 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21501 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21502 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21503 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21509 ac_config_commands="$ac_config_commands include/stamp-h"
21512 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21514 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21516 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21518 ac_config_commands="$ac_config_commands dlls/user32/resources"
21520 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21522 ac_config_commands="$ac_config_commands include/wine"
21525 MAKE_RULES=Make.rules
21528 MAKE_DLL_RULES=dlls/Makedll.rules
21531 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21534 MAKE_TEST_RULES=dlls/Maketest.rules
21537 MAKE_PROG_RULES=programs/Makeprog.rules
21540 ac_config_files="$ac_config_files Make.rules"
21542 ac_config_files="$ac_config_files dlls/Makedll.rules"
21544 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21546 ac_config_files="$ac_config_files dlls/Maketest.rules"
21548 ac_config_files="$ac_config_files programs/Makeprog.rules"
21550 ac_config_files="$ac_config_files Makefile"
21552 ac_config_files="$ac_config_files dlls/Makefile"
21554 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21556 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21558 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21560 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21562 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21564 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21566 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21568 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21570 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21572 ac_config_files="$ac_config_files dlls/atl/Makefile"
21574 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21576 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21578 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21580 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21582 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21584 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21586 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21588 ac_config_files="$ac_config_files dlls/cards/Makefile"
21590 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21592 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21594 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21596 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21598 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21600 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21602 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21604 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21606 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21608 ac_config_files="$ac_config_files dlls/credui/Makefile"
21610 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21612 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21614 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21616 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21618 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21620 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21622 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21624 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21626 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21628 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21630 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21632 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21634 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21636 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21638 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21640 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21642 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21644 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21646 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21648 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21650 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21652 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21654 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21656 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21658 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21660 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21662 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21664 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21666 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21668 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21670 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21672 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21674 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21676 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21678 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21680 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21682 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21684 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21686 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21688 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21690 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21692 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21694 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21696 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21698 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21700 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21702 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21704 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21706 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21708 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21710 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21712 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21714 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21716 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21718 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21720 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21722 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21724 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21726 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21728 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21730 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21732 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21734 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21736 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21738 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21740 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21742 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21744 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21746 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21748 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21750 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21752 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21754 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21756 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21758 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21760 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21762 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21764 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21766 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21768 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21770 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21772 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21774 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21776 ac_config_files="$ac_config_files dlls/hal/Makefile"
21778 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21780 ac_config_files="$ac_config_files dlls/hid/Makefile"
21782 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21784 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21786 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21788 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21790 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21792 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21794 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21796 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21798 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21800 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21802 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21804 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21806 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
21808 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
21810 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21812 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21814 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21816 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21818 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21820 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21822 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21824 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21826 ac_config_files="$ac_config_files dlls/itss/Makefile"
21828 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21830 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21832 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21834 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21836 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21838 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21840 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21842 ac_config_files="$ac_config_files dlls/localui/Makefile"
21844 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21846 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21848 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21850 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21852 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21854 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21856 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21858 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21860 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21862 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21864 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21866 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21868 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21870 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21872 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21874 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21876 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21878 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21880 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21882 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21884 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21886 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21888 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21890 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21892 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21894 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21896 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21898 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21900 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21902 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21904 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21906 ac_config_files="$ac_config_files dlls/msi/Makefile"
21908 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21910 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21912 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21914 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21916 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21918 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21920 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21922 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21924 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21926 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21928 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21930 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21932 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21934 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21936 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21938 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21940 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21942 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21944 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21946 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21948 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21950 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21952 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21954 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21956 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21958 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21960 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21962 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21964 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21966 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21968 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21970 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21972 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21974 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21976 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21978 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21980 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21982 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21984 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21986 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21988 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21990 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21992 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21994 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21996 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21998 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
22000 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
22002 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22004 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22006 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22008 ac_config_files="$ac_config_files dlls/printui/Makefile"
22010 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22012 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22014 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22016 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22018 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22020 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22022 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22024 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22026 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22028 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22030 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22032 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22034 ac_config_files="$ac_config_files dlls/query/Makefile"
22036 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22038 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22040 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22042 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22044 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22046 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22048 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22050 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22052 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22054 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22056 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22058 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22060 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22062 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22064 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22066 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22068 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22070 ac_config_files="$ac_config_files dlls/security/Makefile"
22072 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22074 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22076 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22078 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22080 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22082 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22084 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22086 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22088 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22090 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22092 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22094 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22096 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22098 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22100 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22102 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22104 ac_config_files="$ac_config_files dlls/slc/Makefile"
22106 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22108 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22110 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22112 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22114 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22116 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22118 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22120 ac_config_files="$ac_config_files dlls/sti/Makefile"
22122 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22124 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22126 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22128 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22130 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22132 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22134 ac_config_files="$ac_config_files dlls/url/Makefile"
22136 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22138 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22140 ac_config_files="$ac_config_files dlls/user32/Makefile"
22142 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22144 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22146 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22148 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22150 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22152 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22154 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22156 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22158 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22160 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22162 ac_config_files="$ac_config_files dlls/version/Makefile"
22164 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22166 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22168 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22170 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22172 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22174 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22176 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22178 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22180 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22182 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22184 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22186 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22188 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22190 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22192 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22194 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22196 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22198 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22200 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22202 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22204 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22206 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22208 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22210 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22212 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22214 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22216 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22218 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22220 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22222 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22224 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22226 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22228 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22230 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22232 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22234 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22236 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22238 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22240 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22242 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22244 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22246 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22248 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22250 ac_config_files="$ac_config_files documentation/Makefile"
22252 ac_config_files="$ac_config_files fonts/Makefile"
22254 ac_config_files="$ac_config_files include/Makefile"
22256 ac_config_files="$ac_config_files libs/Makefile"
22258 ac_config_files="$ac_config_files libs/port/Makefile"
22260 ac_config_files="$ac_config_files libs/wine/Makefile"
22262 ac_config_files="$ac_config_files libs/wpp/Makefile"
22264 ac_config_files="$ac_config_files loader/Makefile"
22266 ac_config_files="$ac_config_files programs/Makefile"
22268 ac_config_files="$ac_config_files programs/clock/Makefile"
22270 ac_config_files="$ac_config_files programs/cmd/Makefile"
22272 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22274 ac_config_files="$ac_config_files programs/control/Makefile"
22276 ac_config_files="$ac_config_files programs/eject/Makefile"
22278 ac_config_files="$ac_config_files programs/expand/Makefile"
22280 ac_config_files="$ac_config_files programs/explorer/Makefile"
22282 ac_config_files="$ac_config_files programs/hh/Makefile"
22284 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22286 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22288 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22290 ac_config_files="$ac_config_files programs/net/Makefile"
22292 ac_config_files="$ac_config_files programs/notepad/Makefile"
22294 ac_config_files="$ac_config_files programs/oleview/Makefile"
22296 ac_config_files="$ac_config_files programs/progman/Makefile"
22298 ac_config_files="$ac_config_files programs/reg/Makefile"
22300 ac_config_files="$ac_config_files programs/regedit/Makefile"
22302 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22304 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22306 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22308 ac_config_files="$ac_config_files programs/secedit/Makefile"
22310 ac_config_files="$ac_config_files programs/services/Makefile"
22312 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22314 ac_config_files="$ac_config_files programs/start/Makefile"
22316 ac_config_files="$ac_config_files programs/svchost/Makefile"
22318 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22320 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22322 ac_config_files="$ac_config_files programs/view/Makefile"
22324 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22326 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22328 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22330 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22332 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22334 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22336 ac_config_files="$ac_config_files programs/winefile/Makefile"
22338 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22340 ac_config_files="$ac_config_files programs/winemine/Makefile"
22342 ac_config_files="$ac_config_files programs/winepath/Makefile"
22344 ac_config_files="$ac_config_files programs/winetest/Makefile"
22346 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22348 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22350 ac_config_files="$ac_config_files programs/winver/Makefile"
22352 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22354 ac_config_files="$ac_config_files programs/write/Makefile"
22356 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22358 ac_config_files="$ac_config_files server/Makefile"
22360 ac_config_files="$ac_config_files tools/Makefile"
22362 ac_config_files="$ac_config_files tools/widl/Makefile"
22364 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22366 ac_config_files="$ac_config_files tools/winedump/Makefile"
22368 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22370 ac_config_files="$ac_config_files tools/wmc/Makefile"
22372 ac_config_files="$ac_config_files tools/wrc/Makefile"
22375 cat >confcache <<\_ACEOF
22376 # This file is a shell script that caches the results of configure
22377 # tests run on this system so they can be shared between configure
22378 # scripts and configure runs, see configure's option --config-cache.
22379 # It is not useful on other systems. If it contains results you don't
22380 # want to keep, you may remove or edit it.
22382 # config.status only pays attention to the cache file if you give it
22383 # the --recheck option to rerun configure.
22385 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22386 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22387 # following values.
22389 _ACEOF
22391 # The following way of writing the cache mishandles newlines in values,
22392 # but we know of no workaround that is simple, portable, and efficient.
22393 # So, we kill variables containing newlines.
22394 # Ultrix sh set writes to stderr and can't be redirected directly,
22395 # and sets the high bit in the cache file unless we assign to the vars.
22397 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22398 eval ac_val=\$$ac_var
22399 case $ac_val in #(
22400 *${as_nl}*)
22401 case $ac_var in #(
22402 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22403 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22404 esac
22405 case $ac_var in #(
22406 _ | IFS | as_nl) ;; #(
22407 *) $as_unset $ac_var ;;
22408 esac ;;
22409 esac
22410 done
22412 (set) 2>&1 |
22413 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22414 *${as_nl}ac_space=\ *)
22415 # `set' does not quote correctly, so add quotes (double-quote
22416 # substitution turns \\\\ into \\, and sed turns \\ into \).
22417 sed -n \
22418 "s/'/'\\\\''/g;
22419 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22420 ;; #(
22422 # `set' quotes correctly as required by POSIX, so do not add quotes.
22423 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22425 esac |
22426 sort
22428 sed '
22429 /^ac_cv_env_/b end
22430 t clear
22431 :clear
22432 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22433 t end
22434 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22435 :end' >>confcache
22436 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22437 if test -w "$cache_file"; then
22438 test "x$cache_file" != "x/dev/null" &&
22439 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22440 echo "$as_me: updating cache $cache_file" >&6;}
22441 cat confcache >$cache_file
22442 else
22443 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22444 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22447 rm -f confcache
22449 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22450 # Let make expand exec_prefix.
22451 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22453 DEFS=-DHAVE_CONFIG_H
22455 ac_libobjs=
22456 ac_ltlibobjs=
22457 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22458 # 1. Remove the extension, and $U if already installed.
22459 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22460 ac_i=`echo "$ac_i" | sed "$ac_script"`
22461 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22462 # will be set to the directory where LIBOBJS objects are built.
22463 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22464 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22465 done
22466 LIBOBJS=$ac_libobjs
22468 LTLIBOBJS=$ac_ltlibobjs
22472 : ${CONFIG_STATUS=./config.status}
22473 ac_clean_files_save=$ac_clean_files
22474 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22475 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22476 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22477 cat >$CONFIG_STATUS <<_ACEOF
22478 #! $SHELL
22479 # Generated by $as_me.
22480 # Run this file to recreate the current configuration.
22481 # Compiler output produced by configure, useful for debugging
22482 # configure, is in config.log if it exists.
22484 debug=false
22485 ac_cs_recheck=false
22486 ac_cs_silent=false
22487 SHELL=\${CONFIG_SHELL-$SHELL}
22488 _ACEOF
22490 cat >>$CONFIG_STATUS <<\_ACEOF
22491 ## --------------------- ##
22492 ## M4sh Initialization. ##
22493 ## --------------------- ##
22495 # Be more Bourne compatible
22496 DUALCASE=1; export DUALCASE # for MKS sh
22497 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22498 emulate sh
22499 NULLCMD=:
22500 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22501 # is contrary to our usage. Disable this feature.
22502 alias -g '${1+"$@"}'='"$@"'
22503 setopt NO_GLOB_SUBST
22504 else
22505 case `(set -o) 2>/dev/null` in
22506 *posix*) set -o posix ;;
22507 esac
22514 # PATH needs CR
22515 # Avoid depending upon Character Ranges.
22516 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22517 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22518 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22519 as_cr_digits='0123456789'
22520 as_cr_alnum=$as_cr_Letters$as_cr_digits
22522 # The user is always right.
22523 if test "${PATH_SEPARATOR+set}" != set; then
22524 echo "#! /bin/sh" >conf$$.sh
22525 echo "exit 0" >>conf$$.sh
22526 chmod +x conf$$.sh
22527 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22528 PATH_SEPARATOR=';'
22529 else
22530 PATH_SEPARATOR=:
22532 rm -f conf$$.sh
22535 # Support unset when possible.
22536 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22537 as_unset=unset
22538 else
22539 as_unset=false
22543 # IFS
22544 # We need space, tab and new line, in precisely that order. Quoting is
22545 # there to prevent editors from complaining about space-tab.
22546 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22547 # splitting by setting IFS to empty value.)
22548 as_nl='
22550 IFS=" "" $as_nl"
22552 # Find who we are. Look in the path if we contain no directory separator.
22553 case $0 in
22554 *[\\/]* ) as_myself=$0 ;;
22555 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22556 for as_dir in $PATH
22558 IFS=$as_save_IFS
22559 test -z "$as_dir" && as_dir=.
22560 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22561 done
22562 IFS=$as_save_IFS
22565 esac
22566 # We did not find ourselves, most probably we were run as `sh COMMAND'
22567 # in which case we are not to be found in the path.
22568 if test "x$as_myself" = x; then
22569 as_myself=$0
22571 if test ! -f "$as_myself"; then
22572 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22573 { (exit 1); exit 1; }
22576 # Work around bugs in pre-3.0 UWIN ksh.
22577 for as_var in ENV MAIL MAILPATH
22578 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22579 done
22580 PS1='$ '
22581 PS2='> '
22582 PS4='+ '
22584 # NLS nuisances.
22585 for as_var in \
22586 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22587 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22588 LC_TELEPHONE LC_TIME
22590 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22591 eval $as_var=C; export $as_var
22592 else
22593 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22595 done
22597 # Required to use basename.
22598 if expr a : '\(a\)' >/dev/null 2>&1 &&
22599 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22600 as_expr=expr
22601 else
22602 as_expr=false
22605 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22606 as_basename=basename
22607 else
22608 as_basename=false
22612 # Name of the executable.
22613 as_me=`$as_basename -- "$0" ||
22614 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22615 X"$0" : 'X\(//\)$' \| \
22616 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22617 echo X/"$0" |
22618 sed '/^.*\/\([^/][^/]*\)\/*$/{
22619 s//\1/
22622 /^X\/\(\/\/\)$/{
22623 s//\1/
22626 /^X\/\(\/\).*/{
22627 s//\1/
22630 s/.*/./; q'`
22632 # CDPATH.
22633 $as_unset CDPATH
22637 as_lineno_1=$LINENO
22638 as_lineno_2=$LINENO
22639 test "x$as_lineno_1" != "x$as_lineno_2" &&
22640 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22642 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22643 # uniformly replaced by the line number. The first 'sed' inserts a
22644 # line-number line after each line using $LINENO; the second 'sed'
22645 # does the real work. The second script uses 'N' to pair each
22646 # line-number line with the line containing $LINENO, and appends
22647 # trailing '-' during substitution so that $LINENO is not a special
22648 # case at line end.
22649 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22650 # scripts with optimization help from Paolo Bonzini. Blame Lee
22651 # E. McMahon (1931-1989) for sed's syntax. :-)
22652 sed -n '
22654 /[$]LINENO/=
22655 ' <$as_myself |
22656 sed '
22657 s/[$]LINENO.*/&-/
22658 t lineno
22660 :lineno
22662 :loop
22663 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22664 t loop
22665 s/-\n.*//
22666 ' >$as_me.lineno &&
22667 chmod +x "$as_me.lineno" ||
22668 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22669 { (exit 1); exit 1; }; }
22671 # Don't try to exec as it changes $[0], causing all sort of problems
22672 # (the dirname of $[0] is not the place where we might find the
22673 # original and so on. Autoconf is especially sensitive to this).
22674 . "./$as_me.lineno"
22675 # Exit status is that of the last command.
22676 exit
22680 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22681 as_dirname=dirname
22682 else
22683 as_dirname=false
22686 ECHO_C= ECHO_N= ECHO_T=
22687 case `echo -n x` in
22688 -n*)
22689 case `echo 'x\c'` in
22690 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22691 *) ECHO_C='\c';;
22692 esac;;
22694 ECHO_N='-n';;
22695 esac
22697 if expr a : '\(a\)' >/dev/null 2>&1 &&
22698 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22699 as_expr=expr
22700 else
22701 as_expr=false
22704 rm -f conf$$ conf$$.exe conf$$.file
22705 if test -d conf$$.dir; then
22706 rm -f conf$$.dir/conf$$.file
22707 else
22708 rm -f conf$$.dir
22709 mkdir conf$$.dir
22711 echo >conf$$.file
22712 if ln -s conf$$.file conf$$ 2>/dev/null; then
22713 as_ln_s='ln -s'
22714 # ... but there are two gotchas:
22715 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22716 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22717 # In both cases, we have to default to `cp -p'.
22718 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22719 as_ln_s='cp -p'
22720 elif ln conf$$.file conf$$ 2>/dev/null; then
22721 as_ln_s=ln
22722 else
22723 as_ln_s='cp -p'
22725 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22726 rmdir conf$$.dir 2>/dev/null
22728 if mkdir -p . 2>/dev/null; then
22729 as_mkdir_p=:
22730 else
22731 test -d ./-p && rmdir ./-p
22732 as_mkdir_p=false
22735 if test -x / >/dev/null 2>&1; then
22736 as_test_x='test -x'
22737 else
22738 if ls -dL / >/dev/null 2>&1; then
22739 as_ls_L_option=L
22740 else
22741 as_ls_L_option=
22743 as_test_x='
22744 eval sh -c '\''
22745 if test -d "$1"; then
22746 test -d "$1/.";
22747 else
22748 case $1 in
22749 -*)set "./$1";;
22750 esac;
22751 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22752 ???[sx]*):;;*)false;;esac;fi
22753 '\'' sh
22756 as_executable_p=$as_test_x
22758 # Sed expression to map a string onto a valid CPP name.
22759 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22761 # Sed expression to map a string onto a valid variable name.
22762 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22765 exec 6>&1
22767 # Save the log message, to keep $[0] and so on meaningful, and to
22768 # report actual input values of CONFIG_FILES etc. instead of their
22769 # values after options handling.
22770 ac_log="
22771 This file was extended by Wine $as_me 1.0, which was
22772 generated by GNU Autoconf 2.61. Invocation command line was
22774 CONFIG_FILES = $CONFIG_FILES
22775 CONFIG_HEADERS = $CONFIG_HEADERS
22776 CONFIG_LINKS = $CONFIG_LINKS
22777 CONFIG_COMMANDS = $CONFIG_COMMANDS
22778 $ $0 $@
22780 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22783 _ACEOF
22785 cat >>$CONFIG_STATUS <<_ACEOF
22786 # Files that config.status was made for.
22787 config_files="$ac_config_files"
22788 config_headers="$ac_config_headers"
22789 config_commands="$ac_config_commands"
22791 _ACEOF
22793 cat >>$CONFIG_STATUS <<\_ACEOF
22794 ac_cs_usage="\
22795 \`$as_me' instantiates files from templates according to the
22796 current configuration.
22798 Usage: $0 [OPTIONS] [FILE]...
22800 -h, --help print this help, then exit
22801 -V, --version print version number and configuration settings, then exit
22802 -q, --quiet do not print progress messages
22803 -d, --debug don't remove temporary files
22804 --recheck update $as_me by reconfiguring in the same conditions
22805 --file=FILE[:TEMPLATE]
22806 instantiate the configuration file FILE
22807 --header=FILE[:TEMPLATE]
22808 instantiate the configuration header FILE
22810 Configuration files:
22811 $config_files
22813 Configuration headers:
22814 $config_headers
22816 Configuration commands:
22817 $config_commands
22819 Report bugs to <bug-autoconf@gnu.org>."
22821 _ACEOF
22822 cat >>$CONFIG_STATUS <<_ACEOF
22823 ac_cs_version="\\
22824 Wine config.status 1.0
22825 configured by $0, generated by GNU Autoconf 2.61,
22826 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22828 Copyright (C) 2006 Free Software Foundation, Inc.
22829 This config.status script is free software; the Free Software Foundation
22830 gives unlimited permission to copy, distribute and modify it."
22832 ac_pwd='$ac_pwd'
22833 srcdir='$srcdir'
22834 INSTALL='$INSTALL'
22835 _ACEOF
22837 cat >>$CONFIG_STATUS <<\_ACEOF
22838 # If no file are specified by the user, then we need to provide default
22839 # value. By we need to know if files were specified by the user.
22840 ac_need_defaults=:
22841 while test $# != 0
22843 case $1 in
22844 --*=*)
22845 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22846 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22847 ac_shift=:
22850 ac_option=$1
22851 ac_optarg=$2
22852 ac_shift=shift
22854 esac
22856 case $ac_option in
22857 # Handling of the options.
22858 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22859 ac_cs_recheck=: ;;
22860 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22861 echo "$ac_cs_version"; exit ;;
22862 --debug | --debu | --deb | --de | --d | -d )
22863 debug=: ;;
22864 --file | --fil | --fi | --f )
22865 $ac_shift
22866 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22867 ac_need_defaults=false;;
22868 --header | --heade | --head | --hea )
22869 $ac_shift
22870 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22871 ac_need_defaults=false;;
22872 --he | --h)
22873 # Conflict between --help and --header
22874 { echo "$as_me: error: ambiguous option: $1
22875 Try \`$0 --help' for more information." >&2
22876 { (exit 1); exit 1; }; };;
22877 --help | --hel | -h )
22878 echo "$ac_cs_usage"; exit ;;
22879 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22880 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22881 ac_cs_silent=: ;;
22883 # This is an error.
22884 -*) { echo "$as_me: error: unrecognized option: $1
22885 Try \`$0 --help' for more information." >&2
22886 { (exit 1); exit 1; }; } ;;
22888 *) ac_config_targets="$ac_config_targets $1"
22889 ac_need_defaults=false ;;
22891 esac
22892 shift
22893 done
22895 ac_configure_extra_args=
22897 if $ac_cs_silent; then
22898 exec 6>/dev/null
22899 ac_configure_extra_args="$ac_configure_extra_args --silent"
22902 _ACEOF
22903 cat >>$CONFIG_STATUS <<_ACEOF
22904 if \$ac_cs_recheck; then
22905 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22906 CONFIG_SHELL=$SHELL
22907 export CONFIG_SHELL
22908 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22911 _ACEOF
22912 cat >>$CONFIG_STATUS <<\_ACEOF
22913 exec 5>>config.log
22915 echo
22916 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22917 ## Running $as_me. ##
22918 _ASBOX
22919 echo "$ac_log"
22920 } >&5
22922 _ACEOF
22923 cat >>$CONFIG_STATUS <<_ACEOF
22924 _ACEOF
22926 cat >>$CONFIG_STATUS <<\_ACEOF
22928 # Handling of arguments.
22929 for ac_config_target in $ac_config_targets
22931 case $ac_config_target in
22932 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22933 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22934 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22935 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22936 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22937 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22938 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22939 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22940 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22941 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22942 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22943 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22944 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22945 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22946 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22947 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22948 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22949 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22950 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22951 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22952 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22953 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22954 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22955 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22956 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22957 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22958 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22959 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22960 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22961 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22962 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22963 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22964 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22965 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22966 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22967 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22968 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22969 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22970 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22971 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22972 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22973 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22974 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22975 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22976 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22977 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22978 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22979 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22980 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22981 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22982 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22983 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22984 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22985 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22986 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22987 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22988 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22989 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22990 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22991 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22992 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22993 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22994 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22995 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22996 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22997 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22998 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22999 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
23000 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
23001 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
23002 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23003 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23004 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23005 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23006 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23007 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23008 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23009 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23010 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23011 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23012 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23013 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23014 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23015 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23016 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23017 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23018 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23019 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23020 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23021 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23022 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23023 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23024 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23025 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23026 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23027 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23028 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23029 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23030 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23031 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23032 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23033 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23034 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23035 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23036 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23037 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23038 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23039 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23040 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23041 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23042 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23043 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23044 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23045 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23046 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23047 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23048 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23049 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23050 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23051 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23052 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23053 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23054 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23055 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23056 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23057 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23058 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23059 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23060 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23061 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23062 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23063 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23064 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23065 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23066 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23067 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23068 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23069 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23070 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23071 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23072 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23073 "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23074 "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23075 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23076 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23077 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23078 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23079 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23080 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23081 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23082 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23083 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23084 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23085 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23086 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23087 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23088 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23089 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23090 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23091 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23092 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23093 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23094 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23095 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23096 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23097 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23098 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23099 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23100 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23101 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23102 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23103 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23104 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23105 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23106 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23107 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23108 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23109 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23110 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23111 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23112 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23113 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23114 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23115 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23116 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23117 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23118 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23119 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23120 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23121 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23122 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23123 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23124 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23125 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23126 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23127 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23128 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23129 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23130 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23131 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23132 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23133 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23134 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23135 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23136 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23137 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23138 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23139 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23140 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23141 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23142 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23143 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23144 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23145 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23146 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23147 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23148 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23149 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23150 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23151 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23152 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23153 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23154 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23155 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23156 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23157 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23158 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23159 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23160 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23161 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23162 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23163 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23164 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23165 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23166 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23167 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23168 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23169 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23170 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23171 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23172 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23173 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23174 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23175 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23176 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23177 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23178 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23179 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23180 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23181 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23182 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23183 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23184 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23185 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23186 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23187 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23188 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23189 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23190 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23191 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23192 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23193 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23194 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23195 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23196 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23197 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23198 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23199 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23200 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23201 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23202 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23203 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23204 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23205 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23206 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23207 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23208 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23209 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23210 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23211 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23212 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23213 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23214 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23215 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23216 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23217 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23218 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23219 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23220 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23221 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23222 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23223 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23224 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23225 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23226 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23227 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23228 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23229 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23230 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23231 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23232 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23233 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23234 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23235 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23236 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23237 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23238 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23239 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23240 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23241 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23242 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23243 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23244 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23245 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23246 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23247 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23248 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23249 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23250 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23251 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23252 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23253 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23254 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23255 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23256 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23257 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23258 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23259 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23260 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23261 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23262 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23263 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23264 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23265 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23266 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23267 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23268 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23269 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23270 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23271 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23272 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23273 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23274 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23275 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23276 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23277 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23278 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23279 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23280 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23281 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23282 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23283 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23284 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23285 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23286 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23287 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23288 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23289 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23290 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23291 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23292 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23293 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23294 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23295 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23296 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23297 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23298 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23299 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23300 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23301 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23302 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23303 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23304 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23305 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23306 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23307 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23308 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23309 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23310 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23311 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23312 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23313 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23314 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23315 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23316 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23317 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23318 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23319 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23320 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23321 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23322 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23323 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23324 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23325 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23326 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23327 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23328 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23329 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23330 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23331 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23332 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23333 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23334 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23335 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23336 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23337 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23338 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23339 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23340 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23341 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23342 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23343 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23344 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23345 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23346 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23347 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23348 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23349 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23350 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23351 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23352 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23353 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23354 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23355 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23356 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23358 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23359 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23360 { (exit 1); exit 1; }; };;
23361 esac
23362 done
23365 # If the user did not use the arguments to specify the items to instantiate,
23366 # then the envvar interface is used. Set only those that are not.
23367 # We use the long form for the default assignment because of an extremely
23368 # bizarre bug on SunOS 4.1.3.
23369 if $ac_need_defaults; then
23370 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23371 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23372 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23375 # Have a temporary directory for convenience. Make it in the build tree
23376 # simply because there is no reason against having it here, and in addition,
23377 # creating and moving files from /tmp can sometimes cause problems.
23378 # Hook for its removal unless debugging.
23379 # Note that there is a small window in which the directory will not be cleaned:
23380 # after its creation but before its name has been assigned to `$tmp'.
23381 $debug ||
23383 tmp=
23384 trap 'exit_status=$?
23385 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23387 trap '{ (exit 1); exit 1; }' 1 2 13 15
23389 # Create a (secure) tmp directory for tmp files.
23392 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23393 test -n "$tmp" && test -d "$tmp"
23394 } ||
23396 tmp=./conf$$-$RANDOM
23397 (umask 077 && mkdir "$tmp")
23398 } ||
23400 echo "$me: cannot create a temporary directory in ." >&2
23401 { (exit 1); exit 1; }
23405 # Set up the sed scripts for CONFIG_FILES section.
23408 # No need to generate the scripts if there are no CONFIG_FILES.
23409 # This happens for instance when ./config.status config.h
23410 if test -n "$CONFIG_FILES"; then
23412 _ACEOF
23414 # Create sed commands to just substitute file output variables.
23416 # Remaining file output variables are in a fragment that also has non-file
23417 # output varibles.
23421 ac_delim='%!_!# '
23422 for ac_last_try in false false false false false :; do
23423 cat >conf$$subs.sed <<_ACEOF
23424 SHELL!$SHELL$ac_delim
23425 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23426 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23427 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23428 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23429 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23430 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23431 exec_prefix!$exec_prefix$ac_delim
23432 prefix!$prefix$ac_delim
23433 program_transform_name!$program_transform_name$ac_delim
23434 bindir!$bindir$ac_delim
23435 sbindir!$sbindir$ac_delim
23436 libexecdir!$libexecdir$ac_delim
23437 datarootdir!$datarootdir$ac_delim
23438 datadir!$datadir$ac_delim
23439 sysconfdir!$sysconfdir$ac_delim
23440 sharedstatedir!$sharedstatedir$ac_delim
23441 localstatedir!$localstatedir$ac_delim
23442 includedir!$includedir$ac_delim
23443 oldincludedir!$oldincludedir$ac_delim
23444 docdir!$docdir$ac_delim
23445 infodir!$infodir$ac_delim
23446 htmldir!$htmldir$ac_delim
23447 dvidir!$dvidir$ac_delim
23448 pdfdir!$pdfdir$ac_delim
23449 psdir!$psdir$ac_delim
23450 libdir!$libdir$ac_delim
23451 localedir!$localedir$ac_delim
23452 mandir!$mandir$ac_delim
23453 DEFS!$DEFS$ac_delim
23454 ECHO_C!$ECHO_C$ac_delim
23455 ECHO_N!$ECHO_N$ac_delim
23456 ECHO_T!$ECHO_T$ac_delim
23457 LIBS!$LIBS$ac_delim
23458 build_alias!$build_alias$ac_delim
23459 host_alias!$host_alias$ac_delim
23460 target_alias!$target_alias$ac_delim
23461 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23462 build!$build$ac_delim
23463 build_cpu!$build_cpu$ac_delim
23464 build_vendor!$build_vendor$ac_delim
23465 build_os!$build_os$ac_delim
23466 host!$host$ac_delim
23467 host_cpu!$host_cpu$ac_delim
23468 host_vendor!$host_vendor$ac_delim
23469 host_os!$host_os$ac_delim
23470 WIN16_FILES!$WIN16_FILES$ac_delim
23471 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23472 SET_MAKE!$SET_MAKE$ac_delim
23473 CC!$CC$ac_delim
23474 CFLAGS!$CFLAGS$ac_delim
23475 LDFLAGS!$LDFLAGS$ac_delim
23476 CPPFLAGS!$CPPFLAGS$ac_delim
23477 ac_ct_CC!$ac_ct_CC$ac_delim
23478 EXEEXT!$EXEEXT$ac_delim
23479 OBJEXT!$OBJEXT$ac_delim
23480 CXX!$CXX$ac_delim
23481 CXXFLAGS!$CXXFLAGS$ac_delim
23482 ac_ct_CXX!$ac_ct_CXX$ac_delim
23483 CPPBIN!$CPPBIN$ac_delim
23484 TOOLSDIR!$TOOLSDIR$ac_delim
23485 XMKMF!$XMKMF$ac_delim
23486 CPP!$CPP$ac_delim
23487 X_CFLAGS!$X_CFLAGS$ac_delim
23488 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23489 X_LIBS!$X_LIBS$ac_delim
23490 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23491 FLEX!$FLEX$ac_delim
23492 BISON!$BISON$ac_delim
23493 AS!$AS$ac_delim
23494 ac_ct_AS!$ac_ct_AS$ac_delim
23495 LD!$LD$ac_delim
23496 AR!$AR$ac_delim
23497 ARFLAGS!$ARFLAGS$ac_delim
23498 RANLIB!$RANLIB$ac_delim
23499 STRIP!$STRIP$ac_delim
23500 WINDRES!$WINDRES$ac_delim
23501 LN_S!$LN_S$ac_delim
23502 LN!$LN$ac_delim
23503 GREP!$GREP$ac_delim
23504 EGREP!$EGREP$ac_delim
23505 LDCONFIG!$LDCONFIG$ac_delim
23506 _ACEOF
23508 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23509 break
23510 elif $ac_last_try; then
23511 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23512 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23513 { (exit 1); exit 1; }; }
23514 else
23515 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23517 done
23519 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23520 if test -n "$ac_eof"; then
23521 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23522 ac_eof=`expr $ac_eof + 1`
23525 cat >>$CONFIG_STATUS <<_ACEOF
23526 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23527 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23528 /^[ ]*@MAKE_RULES@[ ]*$/{
23529 r $MAKE_RULES
23532 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23533 r $MAKE_DLL_RULES
23536 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23537 r $MAKE_IMPLIB_RULES
23540 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23541 r $MAKE_TEST_RULES
23544 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23545 r $MAKE_PROG_RULES
23548 _ACEOF
23549 sed '
23550 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23551 s/^/s,@/; s/!/@,|#_!!_#|/
23554 s/'"$ac_delim"'$/,g/; t
23555 s/$/\\/; p
23556 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23557 ' >>$CONFIG_STATUS <conf$$subs.sed
23558 rm -f conf$$subs.sed
23559 cat >>$CONFIG_STATUS <<_ACEOF
23560 CEOF$ac_eof
23561 _ACEOF
23564 ac_delim='%!_!# '
23565 for ac_last_try in false false false false false :; do
23566 cat >conf$$subs.sed <<_ACEOF
23567 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23568 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23569 INSTALL_DATA!$INSTALL_DATA$ac_delim
23570 LINT!$LINT$ac_delim
23571 LINTFLAGS!$LINTFLAGS$ac_delim
23572 FONTFORGE!$FONTFORGE$ac_delim
23573 PKG_CONFIG!$PKG_CONFIG$ac_delim
23574 RSVG!$RSVG$ac_delim
23575 ICOTOOL!$ICOTOOL$ac_delim
23576 PRELINK!$PRELINK$ac_delim
23577 LIBPTHREAD!$LIBPTHREAD$ac_delim
23578 XLIB!$XLIB$ac_delim
23579 XFILES!$XFILES$ac_delim
23580 OPENGLFILES!$OPENGLFILES$ac_delim
23581 GLU32FILES!$GLU32FILES$ac_delim
23582 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23583 QUARTZFILES!$QUARTZFILES$ac_delim
23584 DLLEXT!$DLLEXT$ac_delim
23585 DLLFLAGS!$DLLFLAGS$ac_delim
23586 LDSHARED!$LDSHARED$ac_delim
23587 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23588 LIBEXT!$LIBEXT$ac_delim
23589 IMPLIBEXT!$IMPLIBEXT$ac_delim
23590 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23591 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23592 LDD!$LDD$ac_delim
23593 DLLTOOL!$DLLTOOL$ac_delim
23594 DLLWRAP!$DLLWRAP$ac_delim
23595 MINGWAR!$MINGWAR$ac_delim
23596 SECURITYLIB!$SECURITYLIB$ac_delim
23597 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23598 IOKITLIB!$IOKITLIB$ac_delim
23599 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23600 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23601 COREAUDIO!$COREAUDIO$ac_delim
23602 CARBONLIB!$CARBONLIB$ac_delim
23603 CROSSTEST!$CROSSTEST$ac_delim
23604 CROSSCC!$CROSSCC$ac_delim
23605 CROSSWINDRES!$CROSSWINDRES$ac_delim
23606 NASLIBS!$NASLIBS$ac_delim
23607 XML2LIBS!$XML2LIBS$ac_delim
23608 XML2INCL!$XML2INCL$ac_delim
23609 XSLTLIBS!$XSLTLIBS$ac_delim
23610 XSLTINCL!$XSLTINCL$ac_delim
23611 HALINCL!$HALINCL$ac_delim
23612 sane_devel!$sane_devel$ac_delim
23613 SANEINCL!$SANEINCL$ac_delim
23614 gphoto2_devel!$gphoto2_devel$ac_delim
23615 gphoto2port_devel!$gphoto2port_devel$ac_delim
23616 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23617 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23618 RESOLVLIBS!$RESOLVLIBS$ac_delim
23619 LCMSLIBS!$LCMSLIBS$ac_delim
23620 LDAPLIBS!$LDAPLIBS$ac_delim
23621 ft_devel!$ft_devel$ac_delim
23622 FREETYPELIBS!$FREETYPELIBS$ac_delim
23623 FREETYPEINCL!$FREETYPEINCL$ac_delim
23624 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23625 ESDCONFIG!$ESDCONFIG$ac_delim
23626 ESDLIBS!$ESDLIBS$ac_delim
23627 ESDINCL!$ESDINCL$ac_delim
23628 ALSALIBS!$ALSALIBS$ac_delim
23629 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23630 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23631 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23632 BUILTINFLAG!$BUILTINFLAG$ac_delim
23633 LDPATH!$LDPATH$ac_delim
23634 CRTLIBS!$CRTLIBS$ac_delim
23635 SOCKETLIBS!$SOCKETLIBS$ac_delim
23636 MAIN_BINARY!$MAIN_BINARY$ac_delim
23637 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23638 LIBDL!$LIBDL$ac_delim
23639 LIBPOLL!$LIBPOLL$ac_delim
23640 DEPENDENCIES!$DEPENDENCIES$ac_delim
23641 LIBOBJS!$LIBOBJS$ac_delim
23642 LTLIBOBJS!$LTLIBOBJS$ac_delim
23643 _ACEOF
23645 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23646 break
23647 elif $ac_last_try; then
23648 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23649 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23650 { (exit 1); exit 1; }; }
23651 else
23652 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23654 done
23656 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23657 if test -n "$ac_eof"; then
23658 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23659 ac_eof=`expr $ac_eof + 1`
23662 cat >>$CONFIG_STATUS <<_ACEOF
23663 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23665 _ACEOF
23666 sed '
23667 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23668 s/^/s,@/; s/!/@,|#_!!_#|/
23671 s/'"$ac_delim"'$/,g/; t
23672 s/$/\\/; p
23673 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23674 ' >>$CONFIG_STATUS <conf$$subs.sed
23675 rm -f conf$$subs.sed
23676 cat >>$CONFIG_STATUS <<_ACEOF
23677 :end
23678 s/|#_!!_#|//g
23679 CEOF$ac_eof
23680 _ACEOF
23683 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23684 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23685 # trailing colons and then remove the whole line if VPATH becomes empty
23686 # (actually we leave an empty line to preserve line numbers).
23687 if test "x$srcdir" = x.; then
23688 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23689 s/:*\$(srcdir):*/:/
23690 s/:*\${srcdir}:*/:/
23691 s/:*@srcdir@:*/:/
23692 s/^\([^=]*=[ ]*\):*/\1/
23693 s/:*$//
23694 s/^[^=]*=[ ]*$//
23698 cat >>$CONFIG_STATUS <<\_ACEOF
23699 fi # test -n "$CONFIG_FILES"
23702 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23704 case $ac_tag in
23705 :[FHLC]) ac_mode=$ac_tag; continue;;
23706 esac
23707 case $ac_mode$ac_tag in
23708 :[FHL]*:*);;
23709 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23710 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23711 { (exit 1); exit 1; }; };;
23712 :[FH]-) ac_tag=-:-;;
23713 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23714 esac
23715 ac_save_IFS=$IFS
23716 IFS=:
23717 set x $ac_tag
23718 IFS=$ac_save_IFS
23719 shift
23720 ac_file=$1
23721 shift
23723 case $ac_mode in
23724 :L) ac_source=$1;;
23725 :[FH])
23726 ac_file_inputs=
23727 for ac_f
23729 case $ac_f in
23730 -) ac_f="$tmp/stdin";;
23731 *) # Look for the file first in the build tree, then in the source tree
23732 # (if the path is not absolute). The absolute path cannot be DOS-style,
23733 # because $ac_f cannot contain `:'.
23734 test -f "$ac_f" ||
23735 case $ac_f in
23736 [\\/$]*) false;;
23737 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23738 esac ||
23739 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23740 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23741 { (exit 1); exit 1; }; };;
23742 esac
23743 ac_file_inputs="$ac_file_inputs $ac_f"
23744 done
23746 # Let's still pretend it is `configure' which instantiates (i.e., don't
23747 # use $as_me), people would be surprised to read:
23748 # /* config.h. Generated by config.status. */
23749 configure_input="Generated from "`IFS=:
23750 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23751 if test x"$ac_file" != x-; then
23752 configure_input="$ac_file. $configure_input"
23753 { echo "$as_me:$LINENO: creating $ac_file" >&5
23754 echo "$as_me: creating $ac_file" >&6;}
23757 case $ac_tag in
23758 *:-:* | *:-) cat >"$tmp/stdin";;
23759 esac
23761 esac
23763 ac_dir=`$as_dirname -- "$ac_file" ||
23764 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23765 X"$ac_file" : 'X\(//\)[^/]' \| \
23766 X"$ac_file" : 'X\(//\)$' \| \
23767 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23768 echo X"$ac_file" |
23769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23770 s//\1/
23773 /^X\(\/\/\)[^/].*/{
23774 s//\1/
23777 /^X\(\/\/\)$/{
23778 s//\1/
23781 /^X\(\/\).*/{
23782 s//\1/
23785 s/.*/./; q'`
23786 { as_dir="$ac_dir"
23787 case $as_dir in #(
23788 -*) as_dir=./$as_dir;;
23789 esac
23790 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23791 as_dirs=
23792 while :; do
23793 case $as_dir in #(
23794 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23795 *) as_qdir=$as_dir;;
23796 esac
23797 as_dirs="'$as_qdir' $as_dirs"
23798 as_dir=`$as_dirname -- "$as_dir" ||
23799 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23800 X"$as_dir" : 'X\(//\)[^/]' \| \
23801 X"$as_dir" : 'X\(//\)$' \| \
23802 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23803 echo X"$as_dir" |
23804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23805 s//\1/
23808 /^X\(\/\/\)[^/].*/{
23809 s//\1/
23812 /^X\(\/\/\)$/{
23813 s//\1/
23816 /^X\(\/\).*/{
23817 s//\1/
23820 s/.*/./; q'`
23821 test -d "$as_dir" && break
23822 done
23823 test -z "$as_dirs" || eval "mkdir $as_dirs"
23824 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23825 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23826 { (exit 1); exit 1; }; }; }
23827 ac_builddir=.
23829 case "$ac_dir" in
23830 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23832 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23833 # A ".." for each directory in $ac_dir_suffix.
23834 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23835 case $ac_top_builddir_sub in
23836 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23837 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23838 esac ;;
23839 esac
23840 ac_abs_top_builddir=$ac_pwd
23841 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23842 # for backward compatibility:
23843 ac_top_builddir=$ac_top_build_prefix
23845 case $srcdir in
23846 .) # We are building in place.
23847 ac_srcdir=.
23848 ac_top_srcdir=$ac_top_builddir_sub
23849 ac_abs_top_srcdir=$ac_pwd ;;
23850 [\\/]* | ?:[\\/]* ) # Absolute name.
23851 ac_srcdir=$srcdir$ac_dir_suffix;
23852 ac_top_srcdir=$srcdir
23853 ac_abs_top_srcdir=$srcdir ;;
23854 *) # Relative name.
23855 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23856 ac_top_srcdir=$ac_top_build_prefix$srcdir
23857 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23858 esac
23859 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23862 case $ac_mode in
23865 # CONFIG_FILE
23868 case $INSTALL in
23869 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23870 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23871 esac
23872 _ACEOF
23874 cat >>$CONFIG_STATUS <<\_ACEOF
23875 # If the template does not know about datarootdir, expand it.
23876 # FIXME: This hack should be removed a few years after 2.60.
23877 ac_datarootdir_hack=; ac_datarootdir_seen=
23879 case `sed -n '/datarootdir/ {
23883 /@datadir@/p
23884 /@docdir@/p
23885 /@infodir@/p
23886 /@localedir@/p
23887 /@mandir@/p
23888 ' $ac_file_inputs` in
23889 *datarootdir*) ac_datarootdir_seen=yes;;
23890 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23891 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23892 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23893 _ACEOF
23894 cat >>$CONFIG_STATUS <<_ACEOF
23895 ac_datarootdir_hack='
23896 s&@datadir@&$datadir&g
23897 s&@docdir@&$docdir&g
23898 s&@infodir@&$infodir&g
23899 s&@localedir@&$localedir&g
23900 s&@mandir@&$mandir&g
23901 s&\\\${datarootdir}&$datarootdir&g' ;;
23902 esac
23903 _ACEOF
23905 # Neutralize VPATH when `$srcdir' = `.'.
23906 # Shell code in configure.ac might set extrasub.
23907 # FIXME: do we really want to maintain this feature?
23908 cat >>$CONFIG_STATUS <<_ACEOF
23909 sed "$ac_vpsub
23910 $extrasub
23911 _ACEOF
23912 cat >>$CONFIG_STATUS <<\_ACEOF
23914 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23915 s&@configure_input@&$configure_input&;t t
23916 s&@top_builddir@&$ac_top_builddir_sub&;t t
23917 s&@srcdir@&$ac_srcdir&;t t
23918 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23919 s&@top_srcdir@&$ac_top_srcdir&;t t
23920 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23921 s&@builddir@&$ac_builddir&;t t
23922 s&@abs_builddir@&$ac_abs_builddir&;t t
23923 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23924 s&@INSTALL@&$ac_INSTALL&;t t
23925 $ac_datarootdir_hack
23926 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23928 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23929 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23930 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23931 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23932 which seems to be undefined. Please make sure it is defined." >&5
23933 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23934 which seems to be undefined. Please make sure it is defined." >&2;}
23936 rm -f "$tmp/stdin"
23937 case $ac_file in
23938 -) cat "$tmp/out"; rm -f "$tmp/out";;
23939 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23940 esac
23944 # CONFIG_HEADER
23946 _ACEOF
23948 # Transform confdefs.h into a sed script `conftest.defines', that
23949 # substitutes the proper values into config.h.in to produce config.h.
23950 rm -f conftest.defines conftest.tail
23951 # First, append a space to every undef/define line, to ease matching.
23952 echo 's/$/ /' >conftest.defines
23953 # Then, protect against being on the right side of a sed subst, or in
23954 # an unquoted here document, in config.status. If some macros were
23955 # called several times there might be several #defines for the same
23956 # symbol, which is useless. But do not sort them, since the last
23957 # AC_DEFINE must be honored.
23958 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23959 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23960 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23961 # PARAMS is the parameter list in the macro definition--in most cases, it's
23962 # just an empty string.
23963 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23964 ac_dB='\\)[ (].*,\\1define\\2'
23965 ac_dC=' '
23966 ac_dD=' ,'
23968 uniq confdefs.h |
23969 sed -n '
23970 t rset
23971 :rset
23972 s/^[ ]*#[ ]*define[ ][ ]*//
23973 t ok
23976 s/[\\&,]/\\&/g
23977 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23978 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23979 ' >>conftest.defines
23981 # Remove the space that was appended to ease matching.
23982 # Then replace #undef with comments. This is necessary, for
23983 # example, in the case of _POSIX_SOURCE, which is predefined and required
23984 # on some systems where configure will not decide to define it.
23985 # (The regexp can be short, since the line contains either #define or #undef.)
23986 echo 's/ $//
23987 s,^[ #]*u.*,/* & */,' >>conftest.defines
23989 # Break up conftest.defines:
23990 ac_max_sed_lines=50
23992 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23993 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23994 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23995 # et cetera.
23996 ac_in='$ac_file_inputs'
23997 ac_out='"$tmp/out1"'
23998 ac_nxt='"$tmp/out2"'
24000 while :
24002 # Write a here document:
24003 cat >>$CONFIG_STATUS <<_ACEOF
24004 # First, check the format of the line:
24005 cat >"\$tmp/defines.sed" <<\\CEOF
24006 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
24007 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
24009 :def
24010 _ACEOF
24011 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24012 echo 'CEOF
24013 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24014 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24015 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24016 grep . conftest.tail >/dev/null || break
24017 rm -f conftest.defines
24018 mv conftest.tail conftest.defines
24019 done
24020 rm -f conftest.defines conftest.tail
24022 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24023 cat >>$CONFIG_STATUS <<\_ACEOF
24024 if test x"$ac_file" != x-; then
24025 echo "/* $configure_input */" >"$tmp/config.h"
24026 cat "$ac_result" >>"$tmp/config.h"
24027 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24028 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24029 echo "$as_me: $ac_file is unchanged" >&6;}
24030 else
24031 rm -f $ac_file
24032 mv "$tmp/config.h" $ac_file
24034 else
24035 echo "/* $configure_input */"
24036 cat "$ac_result"
24038 rm -f "$tmp/out12"
24041 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24042 echo "$as_me: executing $ac_file commands" >&6;}
24044 esac
24047 case $ac_file$ac_mode in
24048 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24049 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24050 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24051 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24052 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24053 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24054 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24055 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24056 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24057 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24058 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24059 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24060 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24062 esac
24063 done # for ac_tag
24066 { (exit 0); exit 0; }
24067 _ACEOF
24068 chmod +x $CONFIG_STATUS
24069 ac_clean_files=$ac_clean_files_save
24072 # configure is writing to config.log, and then calls config.status.
24073 # config.status does its own redirection, appending to config.log.
24074 # Unfortunately, on DOS this fails, as config.log is still kept open
24075 # by configure, so config.status won't be able to write to it; its
24076 # output is simply discarded. So we exec the FD to /dev/null,
24077 # effectively closing config.log, so it can be properly (re)opened and
24078 # appended to by config.status. When coming back to configure, we
24079 # need to make the FD available again.
24080 if test "$no_create" != yes; then
24081 ac_cs_success=:
24082 ac_config_status_args=
24083 test "$silent" = yes &&
24084 ac_config_status_args="$ac_config_status_args --quiet"
24085 exec 5>/dev/null
24086 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24087 exec 5>>config.log
24088 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24089 # would make configure fail if this is the last instruction.
24090 $ac_cs_success || { (exit 1); exit 1; }
24094 if test "$no_create" = "yes"
24095 then
24096 exit 0
24099 ac_save_IFS="$IFS"
24100 IFS="|"
24101 if test "x$wine_notices != "x; then
24102 echo >&6
24103 for msg in $wine_notices; do
24104 if test -n "$msg"; then
24105 { echo "$as_me:$LINENO: $msg" >&5
24106 echo "$as_me: $msg" >&6;}
24108 done
24110 for msg in $wine_warnings; do
24111 if test -n "$msg"; then
24112 echo >&2
24113 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24114 echo "$as_me: WARNING: $msg" >&2;}
24116 done
24117 IFS="$ac_save_IFS"
24119 echo "
24120 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24121 " >&6