push 34a0f1013258e43d821a6a6d3b89bc61745b8c72
[wine/hacks.git] / configure
blob07924377b00819b81b8174b1ce2e2657369f92da
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.48.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.48'
578 PACKAGE_STRING='Wine 0.9.48'
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 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 TESTSUBDIRS
666 WINETEST
667 SET_MAKE
669 CFLAGS
670 LDFLAGS
671 CPPFLAGS
672 ac_ct_CC
673 EXEEXT
674 OBJEXT
676 CXXFLAGS
677 ac_ct_CXX
678 CPPBIN
679 TOOLSDIR
680 XMKMF
682 X_CFLAGS
683 X_PRE_LIBS
684 X_LIBS
685 X_EXTRA_LIBS
686 FLEX
687 BISON
689 ac_ct_AS
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 PRELINK
708 LIBPTHREAD
709 XLIB
710 XFILES
711 OPENGLFILES
712 GLU32FILES
713 OPENGL_LIBS
714 QUARTZFILES
715 DLLEXT
716 DLLFLAGS
717 LDSHARED
718 LDDLLFLAGS
719 LIBEXT
720 IMPLIBEXT
721 LDRPATH_INSTALL
722 LDRPATH_LOCAL
724 DLLTOOL
725 DLLWRAP
726 MINGWAR
727 COREFOUNDATIONLIB
728 IOKITLIB
729 LDEXECFLAGS
730 DISKARBITRATIONLIB
731 COREAUDIO
732 CARBONLIB
733 CROSSTEST
734 CROSSCC
735 CROSSWINDRES
736 NASLIBS
737 XML2LIBS
738 XML2INCL
739 XSLTLIBS
740 XSLTINCL
741 HALINCL
742 sane_devel
743 SANEINCL
744 gphoto2_devel
745 gphoto2port_devel
746 GPHOTO2LIBS
747 GPHOTO2INCL
748 RESOLVLIBS
749 LCMSLIBS
750 LDAPLIBS
751 ft_devel
752 FREETYPELIBS
753 FREETYPEINCL
754 FONTSSUBDIRS
755 ESDCONFIG
756 ESDLIBS
757 ESDINCL
758 ALSALIBS
759 AUDIOIOLIBS
760 FONTCONFIGINCL
761 EXTRACFLAGS
762 BUILTINFLAG
763 LDPATH
764 CRTLIBS
765 SOCKETLIBS
766 MAIN_BINARY
767 EXTRA_BINARIES
768 LIBDL
769 LIBPOLL
770 DEPENDENCIES
771 LIBOBJS
772 LTLIBOBJS'
773 ac_subst_files='MAKE_RULES
774 MAKE_DLL_RULES
775 MAKE_IMPLIB_RULES
776 MAKE_TEST_RULES
777 MAKE_PROG_RULES'
778 ac_precious_vars='build_alias
779 host_alias
780 target_alias
782 CFLAGS
783 LDFLAGS
784 LIBS
785 CPPFLAGS
787 CXXFLAGS
789 XMKMF
790 CPP'
793 # Initialize some variables set by options.
794 ac_init_help=
795 ac_init_version=false
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
798 cache_file=/dev/null
799 exec_prefix=NONE
800 no_create=
801 no_recursion=
802 prefix=NONE
803 program_prefix=NONE
804 program_suffix=NONE
805 program_transform_name=s,x,x,
806 silent=
807 site=
808 srcdir=
809 verbose=
810 x_includes=NONE
811 x_libraries=NONE
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
831 htmldir='${docdir}'
832 dvidir='${docdir}'
833 pdfdir='${docdir}'
834 psdir='${docdir}'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
839 ac_prev=
840 ac_dashdash=
841 for ac_option
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\$ac_option
846 ac_prev=
847 continue
850 case $ac_option in
851 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
852 *) ac_optarg=yes ;;
853 esac
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
859 ac_dashdash=yes ;;
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
862 ac_prev=bindir ;;
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
864 bindir=$ac_optarg ;;
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
878 --config-cache | -C)
879 cache_file=config.cache ;;
881 -datadir | --datadir | --datadi | --datad)
882 ac_prev=datadir ;;
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
893 -disable-* | --disable-*)
894 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
897 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
898 { (exit 1); exit 1; }; }
899 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
900 eval enable_$ac_feature=no ;;
902 -docdir | --docdir | --docdi | --doc | --do)
903 ac_prev=docdir ;;
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
905 docdir=$ac_optarg ;;
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
908 ac_prev=dvidir ;;
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
910 dvidir=$ac_optarg ;;
912 -enable-* | --enable-*)
913 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
916 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
917 { (exit 1); exit 1; }; }
918 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
919 eval enable_$ac_feature=\$ac_optarg ;;
921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923 | --exec | --exe | --ex)
924 ac_prev=exec_prefix ;;
925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927 | --exec=* | --exe=* | --ex=*)
928 exec_prefix=$ac_optarg ;;
930 -gas | --gas | --ga | --g)
931 # Obsolete; use --with-gas.
932 with_gas=yes ;;
934 -help | --help | --hel | --he | -h)
935 ac_init_help=long ;;
936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937 ac_init_help=recursive ;;
938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939 ac_init_help=short ;;
941 -host | --host | --hos | --ho)
942 ac_prev=host_alias ;;
943 -host=* | --host=* | --hos=* | --ho=*)
944 host_alias=$ac_optarg ;;
946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
947 ac_prev=htmldir ;;
948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
949 | --ht=*)
950 htmldir=$ac_optarg ;;
952 -includedir | --includedir | --includedi | --included | --include \
953 | --includ | --inclu | --incl | --inc)
954 ac_prev=includedir ;;
955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956 | --includ=* | --inclu=* | --incl=* | --inc=*)
957 includedir=$ac_optarg ;;
959 -infodir | --infodir | --infodi | --infod | --info | --inf)
960 ac_prev=infodir ;;
961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962 infodir=$ac_optarg ;;
964 -libdir | --libdir | --libdi | --libd)
965 ac_prev=libdir ;;
966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
967 libdir=$ac_optarg ;;
969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970 | --libexe | --libex | --libe)
971 ac_prev=libexecdir ;;
972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973 | --libexe=* | --libex=* | --libe=*)
974 libexecdir=$ac_optarg ;;
976 -localedir | --localedir | --localedi | --localed | --locale)
977 ac_prev=localedir ;;
978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
979 localedir=$ac_optarg ;;
981 -localstatedir | --localstatedir | --localstatedi | --localstated \
982 | --localstate | --localstat | --localsta | --localst | --locals)
983 ac_prev=localstatedir ;;
984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986 localstatedir=$ac_optarg ;;
988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
989 ac_prev=mandir ;;
990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
991 mandir=$ac_optarg ;;
993 -nfp | --nfp | --nf)
994 # Obsolete; use --without-fp.
995 with_fp=no ;;
997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998 | --no-cr | --no-c | -n)
999 no_create=yes ;;
1001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003 no_recursion=yes ;;
1005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007 | --oldin | --oldi | --old | --ol | --o)
1008 ac_prev=oldincludedir ;;
1009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012 oldincludedir=$ac_optarg ;;
1014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1015 ac_prev=prefix ;;
1016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017 prefix=$ac_optarg ;;
1019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1020 | --program-pre | --program-pr | --program-p)
1021 ac_prev=program_prefix ;;
1022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024 program_prefix=$ac_optarg ;;
1026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1027 | --program-suf | --program-su | --program-s)
1028 ac_prev=program_suffix ;;
1029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031 program_suffix=$ac_optarg ;;
1033 -program-transform-name | --program-transform-name \
1034 | --program-transform-nam | --program-transform-na \
1035 | --program-transform-n | --program-transform- \
1036 | --program-transform | --program-transfor \
1037 | --program-transfo | --program-transf \
1038 | --program-trans | --program-tran \
1039 | --progr-tra | --program-tr | --program-t)
1040 ac_prev=program_transform_name ;;
1041 -program-transform-name=* | --program-transform-name=* \
1042 | --program-transform-nam=* | --program-transform-na=* \
1043 | --program-transform-n=* | --program-transform-=* \
1044 | --program-transform=* | --program-transfor=* \
1045 | --program-transfo=* | --program-transf=* \
1046 | --program-trans=* | --program-tran=* \
1047 | --progr-tra=* | --program-tr=* | --program-t=*)
1048 program_transform_name=$ac_optarg ;;
1050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1051 ac_prev=pdfdir ;;
1052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1053 pdfdir=$ac_optarg ;;
1055 -psdir | --psdir | --psdi | --psd | --ps)
1056 ac_prev=psdir ;;
1057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1058 psdir=$ac_optarg ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1062 silent=yes ;;
1064 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1065 ac_prev=sbindir ;;
1066 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1067 | --sbi=* | --sb=*)
1068 sbindir=$ac_optarg ;;
1070 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1071 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1072 | --sharedst | --shareds | --shared | --share | --shar \
1073 | --sha | --sh)
1074 ac_prev=sharedstatedir ;;
1075 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1076 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1077 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1078 | --sha=* | --sh=*)
1079 sharedstatedir=$ac_optarg ;;
1081 -site | --site | --sit)
1082 ac_prev=site ;;
1083 -site=* | --site=* | --sit=*)
1084 site=$ac_optarg ;;
1086 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1087 ac_prev=srcdir ;;
1088 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1089 srcdir=$ac_optarg ;;
1091 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1092 | --syscon | --sysco | --sysc | --sys | --sy)
1093 ac_prev=sysconfdir ;;
1094 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1095 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1096 sysconfdir=$ac_optarg ;;
1098 -target | --target | --targe | --targ | --tar | --ta | --t)
1099 ac_prev=target_alias ;;
1100 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1101 target_alias=$ac_optarg ;;
1103 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1104 verbose=yes ;;
1106 -version | --version | --versio | --versi | --vers | -V)
1107 ac_init_version=: ;;
1109 -with-* | --with-*)
1110 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 { echo "$as_me: error: invalid package name: $ac_package" >&2
1114 { (exit 1); exit 1; }; }
1115 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1116 eval with_$ac_package=\$ac_optarg ;;
1118 -without-* | --without-*)
1119 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1122 { echo "$as_me: error: invalid package name: $ac_package" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1125 eval with_$ac_package=no ;;
1127 --x)
1128 # Obsolete; use --with-x.
1129 with_x=yes ;;
1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132 | --x-incl | --x-inc | --x-in | --x-i)
1133 ac_prev=x_includes ;;
1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136 x_includes=$ac_optarg ;;
1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140 ac_prev=x_libraries ;;
1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143 x_libraries=$ac_optarg ;;
1145 -*) { echo "$as_me: error: unrecognized option: $ac_option
1146 Try \`$0 --help' for more information." >&2
1147 { (exit 1); exit 1; }; }
1150 *=*)
1151 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1152 # Reject names that are not valid shell variable names.
1153 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1154 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1155 { (exit 1); exit 1; }; }
1156 eval $ac_envvar=\$ac_optarg
1157 export $ac_envvar ;;
1160 # FIXME: should be removed in autoconf 3.0.
1161 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1167 esac
1168 done
1170 if test -n "$ac_prev"; then
1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172 { echo "$as_me: error: missing argument to $ac_option" >&2
1173 { (exit 1); exit 1; }; }
1176 # Be sure to have absolute directory names.
1177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1178 datadir sysconfdir sharedstatedir localstatedir includedir \
1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1180 libdir localedir mandir
1182 eval ac_val=\$$ac_var
1183 case $ac_val in
1184 [\\/$]* | ?:[\\/]* ) continue;;
1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186 esac
1187 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1188 { (exit 1); exit 1; }; }
1189 done
1191 # There might be people who depend on the old broken behavior: `$host'
1192 # used to hold the argument of --host etc.
1193 # FIXME: To remove some day.
1194 build=$build_alias
1195 host=$host_alias
1196 target=$target_alias
1198 # FIXME: To remove some day.
1199 if test "x$host_alias" != x; then
1200 if test "x$build_alias" = x; then
1201 cross_compiling=maybe
1202 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1203 If a cross compiler is detected then cross compile mode will be used." >&2
1204 elif test "x$build_alias" != "x$host_alias"; then
1205 cross_compiling=yes
1209 ac_tool_prefix=
1210 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1212 test "$silent" = yes && exec 6>/dev/null
1215 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1216 ac_ls_di=`ls -di .` &&
1217 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1218 { echo "$as_me: error: Working directory cannot be determined" >&2
1219 { (exit 1); exit 1; }; }
1220 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1221 { echo "$as_me: error: pwd does not report name of working directory" >&2
1222 { (exit 1); exit 1; }; }
1225 # Find the source files, if location was not specified.
1226 if test -z "$srcdir"; then
1227 ac_srcdir_defaulted=yes
1228 # Try the directory containing this script, then the parent directory.
1229 ac_confdir=`$as_dirname -- "$0" ||
1230 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$0" : 'X\(//\)[^/]' \| \
1232 X"$0" : 'X\(//\)$' \| \
1233 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1234 echo X"$0" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1236 s//\1/
1239 /^X\(\/\/\)[^/].*/{
1240 s//\1/
1243 /^X\(\/\/\)$/{
1244 s//\1/
1247 /^X\(\/\).*/{
1248 s//\1/
1251 s/.*/./; q'`
1252 srcdir=$ac_confdir
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 srcdir=..
1256 else
1257 ac_srcdir_defaulted=no
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1260 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1261 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1262 { (exit 1); exit 1; }; }
1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 ac_abs_confdir=`(
1266 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1267 { (exit 1); exit 1; }; }
1268 pwd)`
1269 # When building in place, set srcdir=.
1270 if test "$ac_abs_confdir" = "$ac_pwd"; then
1271 srcdir=.
1273 # Remove unnecessary trailing slashes from srcdir.
1274 # Double slashes in file names in object file debugging info
1275 # mess up M-x gdb in Emacs.
1276 case $srcdir in
1277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 esac
1279 for ac_var in $ac_precious_vars; do
1280 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_env_${ac_var}_value=\$${ac_var}
1282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1284 done
1287 # Report the --help message.
1289 if test "$ac_init_help" = "long"; then
1290 # Omit some internal or obsolete options to make the list less imposing.
1291 # This message is too long to be a string in the A/UX 3.1 sh.
1292 cat <<_ACEOF
1293 \`configure' configures Wine 0.9.48 to adapt to many kinds of systems.
1295 Usage: $0 [OPTION]... [VAR=VALUE]...
1297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1298 VAR=VALUE. See below for descriptions of some of the useful variables.
1300 Defaults for the options are specified in brackets.
1302 Configuration:
1303 -h, --help display this help and exit
1304 --help=short display options specific to this package
1305 --help=recursive display the short help of all the included packages
1306 -V, --version display version information and exit
1307 -q, --quiet, --silent do not print \`checking...' messages
1308 --cache-file=FILE cache test results in FILE [disabled]
1309 -C, --config-cache alias for \`--cache-file=config.cache'
1310 -n, --no-create do not create output files
1311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1313 Installation directories:
1314 --prefix=PREFIX install architecture-independent files in PREFIX
1315 [$ac_default_prefix]
1316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1317 [PREFIX]
1319 By default, \`make install' will install all the files in
1320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1322 for instance \`--prefix=\$HOME'.
1324 For better control, use the options below.
1326 Fine tuning of the installation directories:
1327 --bindir=DIR user executables [EPREFIX/bin]
1328 --sbindir=DIR system admin executables [EPREFIX/sbin]
1329 --libexecdir=DIR program executables [EPREFIX/libexec]
1330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1333 --libdir=DIR object code libraries [EPREFIX/lib]
1334 --includedir=DIR C header files [PREFIX/include]
1335 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1336 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1337 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1338 --infodir=DIR info documentation [DATAROOTDIR/info]
1339 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1340 --mandir=DIR man documentation [DATAROOTDIR/man]
1341 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1342 --htmldir=DIR html documentation [DOCDIR]
1343 --dvidir=DIR dvi documentation [DOCDIR]
1344 --pdfdir=DIR pdf documentation [DOCDIR]
1345 --psdir=DIR ps documentation [DOCDIR]
1346 _ACEOF
1348 cat <<\_ACEOF
1350 X features:
1351 --x-includes=DIR X include files are in DIR
1352 --x-libraries=DIR X library files are in DIR
1354 System types:
1355 --build=BUILD configure for building on BUILD [guessed]
1356 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1357 _ACEOF
1360 if test -n "$ac_init_help"; then
1361 case $ac_init_help in
1362 short | recursive ) echo "Configuration of Wine 0.9.48:";;
1363 esac
1364 cat <<\_ACEOF
1366 Optional Features:
1367 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1368 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1369 --disable-win16 do not include Win16 support
1370 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1371 binaries)
1372 --disable-tests do not build the testsuites
1374 Optional Packages:
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1392 CPP C preprocessor
1394 Use these variables to override the choices made by `configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to <wine-devel@winehq.org>.
1398 _ACEOF
1399 ac_status=$?
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1406 ac_builddir=.
1408 case "$ac_dir" in
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 esac ;;
1418 esac
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1424 case $srcdir in
1425 .) # We are building in place.
1426 ac_srcdir=.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1433 *) # Relative name.
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1437 esac
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1446 echo &&
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1448 else
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 fi || ac_status=$?
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1452 done
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1457 cat <<\_ACEOF
1458 Wine configure 0.9.48
1459 generated by GNU Autoconf 2.61
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1465 _ACEOF
1466 exit
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.48, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1475 $ $0 $@
1477 _ACEOF
1478 exec 5>>config.log
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 _ASUNAME
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1510 done
1511 IFS=$as_save_IFS
1513 } >&5
1515 cat >&5 <<_ACEOF
1518 ## ----------- ##
1519 ## Core tests. ##
1520 ## ----------- ##
1522 _ACEOF
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_configure_args=
1531 ac_configure_args0=
1532 ac_configure_args1=
1533 ac_must_keep_next=false
1534 for ac_pass in 1 2
1536 for ac_arg
1538 case $ac_arg in
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1542 continue ;;
1543 *\'*)
1544 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 esac
1546 case $ac_pass in
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1552 else
1553 case $ac_arg in
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 esac
1562 -* ) ac_must_keep_next=true ;;
1563 esac
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1567 esac
1568 done
1569 done
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1581 echo
1583 cat <<\_ASBOX
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1587 _ASBOX
1588 echo
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in #(
1594 *${as_nl}*)
1595 case $ac_var in #(
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 esac
1599 case $ac_var in #(
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1602 esac ;;
1603 esac
1604 done
1605 (set) 2>&1 |
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1608 sed -n \
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 ;; #(
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 esac |
1616 sort
1618 echo
1620 cat <<\_ASBOX
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1624 _ASBOX
1625 echo
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1629 case $ac_val in
1630 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 esac
1632 echo "$ac_var='\''$ac_val'\''"
1633 done | sort
1634 echo
1636 if test -n "$ac_subst_files"; then
1637 cat <<\_ASBOX
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1641 _ASBOX
1642 echo
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1646 case $ac_val in
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 esac
1649 echo "$ac_var='\''$ac_val'\''"
1650 done | sort
1651 echo
1654 if test -s confdefs.h; then
1655 cat <<\_ASBOX
1656 ## ----------- ##
1657 ## confdefs.h. ##
1658 ## ----------- ##
1659 _ASBOX
1660 echo
1661 cat confdefs.h
1662 echo
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1667 } >&5
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 exit $exit_status
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674 done
1675 ac_signal=0
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 _ACEOF
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 _ACEOF
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1699 _ACEOF
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704 _ACEOF
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1713 else
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1717 shift
1718 for ac_site_file
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1724 . "$ac_site_file"
1726 done
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1734 case $cache_file in
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1737 esac
1739 else
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1742 >$cache_file
1745 # Check that the precious variables saved in the cache have kept the same
1746 # value.
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1754 set,)
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1758 ,set)
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1762 ,);;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1772 fi;;
1773 esac
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1776 case $ac_new_val in
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1779 esac
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783 esac
1785 done
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1818 ac_ext=c
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1826 ac_config_headers="$ac_config_headers include/config.h"
1828 ac_aux_dir=
1829 for ac_dir in tools "$srcdir"/tools; do
1830 if test -f "$ac_dir/install-sh"; then
1831 ac_aux_dir=$ac_dir
1832 ac_install_sh="$ac_aux_dir/install-sh -c"
1833 break
1834 elif test -f "$ac_dir/install.sh"; then
1835 ac_aux_dir=$ac_dir
1836 ac_install_sh="$ac_aux_dir/install.sh -c"
1837 break
1838 elif test -f "$ac_dir/shtool"; then
1839 ac_aux_dir=$ac_dir
1840 ac_install_sh="$ac_aux_dir/shtool install -c"
1841 break
1843 done
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval=$with_wine_tools;
1884 # Check whether --enable-tests was given.
1885 if test "${enable_tests+set}" = set; then
1886 enableval=$enable_tests;
1890 # Make sure we can run config.sub.
1891 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1892 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1893 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1894 { (exit 1); exit 1; }; }
1896 { echo "$as_me:$LINENO: checking build system type" >&5
1897 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1898 if test "${ac_cv_build+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 else
1901 ac_build_alias=$build_alias
1902 test "x$ac_build_alias" = x &&
1903 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1904 test "x$ac_build_alias" = x &&
1905 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1906 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1907 { (exit 1); exit 1; }; }
1908 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1911 { (exit 1); exit 1; }; }
1914 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1915 echo "${ECHO_T}$ac_cv_build" >&6; }
1916 case $ac_cv_build in
1917 *-*-*) ;;
1918 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1919 echo "$as_me: error: invalid value of canonical build" >&2;}
1920 { (exit 1); exit 1; }; };;
1921 esac
1922 build=$ac_cv_build
1923 ac_save_IFS=$IFS; IFS='-'
1924 set x $ac_cv_build
1925 shift
1926 build_cpu=$1
1927 build_vendor=$2
1928 shift; shift
1929 # Remember, the first character of IFS is used to create $*,
1930 # except with old shells:
1931 build_os=$*
1932 IFS=$ac_save_IFS
1933 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1936 { echo "$as_me:$LINENO: checking host system type" >&5
1937 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1938 if test "${ac_cv_host+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 else
1941 if test "x$host_alias" = x; then
1942 ac_cv_host=$ac_cv_build
1943 else
1944 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1945 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1946 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1947 { (exit 1); exit 1; }; }
1951 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1952 echo "${ECHO_T}$ac_cv_host" >&6; }
1953 case $ac_cv_host in
1954 *-*-*) ;;
1955 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1956 echo "$as_me: error: invalid value of canonical host" >&2;}
1957 { (exit 1); exit 1; }; };;
1958 esac
1959 host=$ac_cv_host
1960 ac_save_IFS=$IFS; IFS='-'
1961 set x $ac_cv_host
1962 shift
1963 host_cpu=$1
1964 host_vendor=$2
1965 shift; shift
1966 # Remember, the first character of IFS is used to create $*,
1967 # except with old shells:
1968 host_os=$*
1969 IFS=$ac_save_IFS
1970 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1973 case $host in
1974 x86_64*linux*)
1975 if test "x$enable_win64" != "xyes"
1976 then
1977 test -n "$CC" || CC="gcc -m32"
1978 test -n "$CXX"|| CXX="g++ -m32"
1979 test -n "$LD" || LD="ld -m elf_i386"
1980 test -n "$AS" || AS="as --32"
1981 host_cpu="i386"
1984 esac
1986 case $host_cpu in
1987 *i[3456789]86*)
1988 if test "x$enable_win16" != "xno"
1989 then
1990 enable_win16="yes"
1993 esac
1995 WIN16_FILES="\$(WIN16_FILES)"
1997 WIN16_INSTALL="\$(WIN16_INSTALL)"
1999 if test "x$enable_win16" != "xyes"
2000 then
2001 WIN16_FILES=""
2002 WIN16_INSTALL=""
2005 if test "x$enable_tests" == "xno"
2006 then
2007 TESTSUBDIRS=""
2009 WINETEST=""
2011 else
2012 TESTSUBDIRS="\$(TESTSUBDIRS)"
2014 WINETEST="winetest"
2018 case "$srcdir" in
2019 .) ;;
2020 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2021 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2022 You need to run 'make distclean' in the source tree first." >&5
2023 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2024 You need to run 'make distclean' in the source tree first." >&2;}
2025 { (exit 1); exit 1; }; }
2026 fi ;;
2027 esac
2030 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2031 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2032 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2033 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2035 else
2036 cat >conftest.make <<\_ACEOF
2037 SHELL = /bin/sh
2038 all:
2039 @echo '@@@%%%=$(MAKE)=@@@%%%'
2040 _ACEOF
2041 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2042 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2043 *@@@%%%=?*=@@@%%%*)
2044 eval ac_cv_prog_make_${ac_make}_set=yes;;
2046 eval ac_cv_prog_make_${ac_make}_set=no;;
2047 esac
2048 rm -f conftest.make
2050 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2051 { echo "$as_me:$LINENO: result: yes" >&5
2052 echo "${ECHO_T}yes" >&6; }
2053 SET_MAKE=
2054 else
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2057 SET_MAKE="MAKE=${MAKE-make}"
2060 ac_ext=c
2061 ac_cpp='$CPP $CPPFLAGS'
2062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 else
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC="$CC" # Let the user override the test.
2075 else
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2079 IFS=$as_save_IFS
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 break 2
2087 done
2088 done
2089 IFS=$as_save_IFS
2093 CC=$ac_cv_prog_CC
2094 if test -n "$CC"; then
2095 { echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6; }
2097 else
2098 { echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6; }
2104 if test -z "$ac_cv_prog_CC"; then
2105 ac_ct_CC=$CC
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc; ac_word=$2
2108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 else
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2115 else
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 for as_dir in $PATH
2119 IFS=$as_save_IFS
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_ac_ct_CC="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 break 2
2127 done
2128 done
2129 IFS=$as_save_IFS
2133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2134 if test -n "$ac_ct_CC"; then
2135 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2136 echo "${ECHO_T}$ac_ct_CC" >&6; }
2137 else
2138 { echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6; }
2142 if test "x$ac_ct_CC" = x; then
2143 CC=""
2144 else
2145 case $cross_compiling:$ac_tool_warned in
2146 yes:)
2147 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148 whose name does not start with the host triplet. If you think this
2149 configuration is useful to you, please write to autoconf@gnu.org." >&5
2150 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2153 ac_tool_warned=yes ;;
2154 esac
2155 CC=$ac_ct_CC
2157 else
2158 CC="$ac_cv_prog_CC"
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2164 set dummy ${ac_tool_prefix}cc; ac_word=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 else
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC="$CC" # Let the user override the test.
2172 else
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2176 IFS=$as_save_IFS
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_CC="${ac_tool_prefix}cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 break 2
2184 done
2185 done
2186 IFS=$as_save_IFS
2190 CC=$ac_cv_prog_CC
2191 if test -n "$CC"; then
2192 { echo "$as_me:$LINENO: result: $CC" >&5
2193 echo "${ECHO_T}$CC" >&6; }
2194 else
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2202 if test -z "$CC"; then
2203 # Extract the first word of "cc", so it can be a program name with args.
2204 set dummy cc; ac_word=$2
2205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207 if test "${ac_cv_prog_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 else
2210 if test -n "$CC"; then
2211 ac_cv_prog_CC="$CC" # Let the user override the test.
2212 else
2213 ac_prog_rejected=no
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2215 for as_dir in $PATH
2217 IFS=$as_save_IFS
2218 test -z "$as_dir" && as_dir=.
2219 for ac_exec_ext in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2222 ac_prog_rejected=yes
2223 continue
2225 ac_cv_prog_CC="cc"
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 break 2
2229 done
2230 done
2231 IFS=$as_save_IFS
2233 if test $ac_prog_rejected = yes; then
2234 # We found a bogon in the path, so make sure we never use it.
2235 set dummy $ac_cv_prog_CC
2236 shift
2237 if test $# != 0; then
2238 # We chose a different compiler from the bogus one.
2239 # However, it has the same basename, so the bogon will be chosen
2240 # first if we set CC to just the basename; use the full file name.
2241 shift
2242 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2247 CC=$ac_cv_prog_CC
2248 if test -n "$CC"; then
2249 { echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6; }
2251 else
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 for ac_prog in cl.exe
2262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 else
2269 if test -n "$CC"; then
2270 ac_cv_prog_CC="$CC" # Let the user override the test.
2271 else
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 for as_dir in $PATH
2275 IFS=$as_save_IFS
2276 test -z "$as_dir" && as_dir=.
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281 break 2
2283 done
2284 done
2285 IFS=$as_save_IFS
2289 CC=$ac_cv_prog_CC
2290 if test -n "$CC"; then
2291 { echo "$as_me:$LINENO: result: $CC" >&5
2292 echo "${ECHO_T}$CC" >&6; }
2293 else
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$CC" && break
2300 done
2302 if test -z "$CC"; then
2303 ac_ct_CC=$CC
2304 for ac_prog in cl.exe
2306 # Extract the first word of "$ac_prog", so it can be a program name with args.
2307 set dummy $ac_prog; ac_word=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2312 else
2313 if test -n "$ac_ct_CC"; then
2314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2315 else
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 for as_dir in $PATH
2319 IFS=$as_save_IFS
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_ac_ct_CC="$ac_prog"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 break 2
2327 done
2328 done
2329 IFS=$as_save_IFS
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2337 else
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2343 test -n "$ac_ct_CC" && break
2344 done
2346 if test "x$ac_ct_CC" = x; then
2347 CC=""
2348 else
2349 case $cross_compiling:$ac_tool_warned in
2350 yes:)
2351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2352 whose name does not start with the host triplet. If you think this
2353 configuration is useful to you, please write to autoconf@gnu.org." >&5
2354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2355 whose name does not start with the host triplet. If you think this
2356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2357 ac_tool_warned=yes ;;
2358 esac
2359 CC=$ac_ct_CC
2366 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&5
2368 echo "$as_me: error: no acceptable C compiler found in \$PATH
2369 See \`config.log' for more details." >&2;}
2370 { (exit 1); exit 1; }; }
2372 # Provide some information about the compiler.
2373 echo "$as_me:$LINENO: checking for C compiler version" >&5
2374 ac_compiler=`set X $ac_compile; echo $2`
2375 { (ac_try="$ac_compiler --version >&5"
2376 case "(($ac_try" in
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2379 esac
2380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler --version >&5") 2>&5
2382 ac_status=$?
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }
2385 { (ac_try="$ac_compiler -v >&5"
2386 case "(($ac_try" in
2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388 *) ac_try_echo=$ac_try;;
2389 esac
2390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2391 (eval "$ac_compiler -v >&5") 2>&5
2392 ac_status=$?
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }
2395 { (ac_try="$ac_compiler -V >&5"
2396 case "(($ac_try" in
2397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2399 esac
2400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2401 (eval "$ac_compiler -V >&5") 2>&5
2402 ac_status=$?
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); }
2406 cat >conftest.$ac_ext <<_ACEOF
2407 /* confdefs.h. */
2408 _ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2414 main ()
2418 return 0;
2420 _ACEOF
2421 ac_clean_files_save=$ac_clean_files
2422 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2423 # Try to create an executable without -o first, disregard a.out.
2424 # It will help us diagnose broken compilers, and finding out an intuition
2425 # of exeext.
2426 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2427 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2428 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2430 # List of possible output files, starting from the most likely.
2431 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2432 # only as a last resort. b.out is created by i960 compilers.
2433 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2435 # The IRIX 6 linker writes into existing files which may not be
2436 # executable, retaining their permissions. Remove them first so a
2437 # subsequent execution test works.
2438 ac_rmfiles=
2439 for ac_file in $ac_files
2441 case $ac_file in
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2444 esac
2445 done
2446 rm -f $ac_rmfiles
2448 if { (ac_try="$ac_link_default"
2449 case "(($ac_try" in
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2452 esac
2453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2454 (eval "$ac_link_default") 2>&5
2455 ac_status=$?
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; then
2458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2461 # so that the user can short-circuit this test for compilers unknown to
2462 # Autoconf.
2463 for ac_file in $ac_files ''
2465 test -f "$ac_file" || continue
2466 case $ac_file in
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2469 [ab].out )
2470 # We found the default executable, but exeext='' is most
2471 # certainly right.
2472 break;;
2473 *.* )
2474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2475 then :; else
2476 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 # We set ac_cv_exeext here because the later test for it is not
2479 # safe: cross compilers may not add the suffix if given an `-o'
2480 # argument, so we may need to know it at that point already.
2481 # Even if this section looks crufty: it has the advantage of
2482 # actually working.
2483 break;;
2485 break;;
2486 esac
2487 done
2488 test "$ac_cv_exeext" = no && ac_cv_exeext=
2490 else
2491 ac_file=''
2494 { echo "$as_me:$LINENO: result: $ac_file" >&5
2495 echo "${ECHO_T}$ac_file" >&6; }
2496 if test -z "$ac_file"; then
2497 echo "$as_me: failed program was:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2501 See \`config.log' for more details." >&5
2502 echo "$as_me: error: C compiler cannot create executables
2503 See \`config.log' for more details." >&2;}
2504 { (exit 77); exit 77; }; }
2507 ac_exeext=$ac_cv_exeext
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try='./$ac_file'
2517 { (case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2520 esac
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_try") 2>&5
2523 ac_status=$?
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2526 cross_compiling=no
2527 else
2528 if test "$cross_compiling" = maybe; then
2529 cross_compiling=yes
2530 else
2531 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2532 If you meant to cross compile, use \`--host'.
2533 See \`config.log' for more details." >&5
2534 echo "$as_me: error: cannot run C compiled programs.
2535 If you meant to cross compile, use \`--host'.
2536 See \`config.log' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2541 { echo "$as_me:$LINENO: result: yes" >&5
2542 echo "${ECHO_T}yes" >&6; }
2544 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2545 ac_clean_files=$ac_clean_files_save
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2549 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2550 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2551 echo "${ECHO_T}$cross_compiling" >&6; }
2553 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2554 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2555 if { (ac_try="$ac_link"
2556 case "(($ac_try" in
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2559 esac
2560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_link") 2>&5
2562 ac_status=$?
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; then
2565 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2566 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2567 # work properly (i.e., refer to `conftest.exe'), while it won't with
2568 # `rm'.
2569 for ac_file in conftest.exe conftest conftest.*; do
2570 test -f "$ac_file" || continue
2571 case $ac_file in
2572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2573 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2574 break;;
2575 * ) break;;
2576 esac
2577 done
2578 else
2579 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2580 See \`config.log' for more details." >&5
2581 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2582 See \`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest$ac_cv_exeext
2587 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2588 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2590 rm -f conftest.$ac_ext
2591 EXEEXT=$ac_cv_exeext
2592 ac_exeext=$EXEEXT
2593 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2595 if test "${ac_cv_objext+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 else
2598 cat >conftest.$ac_ext <<_ACEOF
2599 /* confdefs.h. */
2600 _ACEOF
2601 cat confdefs.h >>conftest.$ac_ext
2602 cat >>conftest.$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2606 main ()
2610 return 0;
2612 _ACEOF
2613 rm -f conftest.o conftest.obj
2614 if { (ac_try="$ac_compile"
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_compile") 2>&5
2621 ac_status=$?
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2624 for ac_file in conftest.o conftest.obj conftest.*; do
2625 test -f "$ac_file" || continue;
2626 case $ac_file in
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2629 break;;
2630 esac
2631 done
2632 else
2633 echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log' for more details." >&5
2638 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2639 See \`config.log' for more details." >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2645 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6; }
2647 OBJEXT=$ac_cv_objext
2648 ac_objext=$OBJEXT
2649 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 else
2654 cat >conftest.$ac_ext <<_ACEOF
2655 /* confdefs.h. */
2656 _ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2662 main ()
2664 #ifndef __GNUC__
2665 choke me
2666 #endif
2669 return 0;
2671 _ACEOF
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2674 case "(($ac_try" in
2675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 *) ac_try_echo=$ac_try;;
2677 esac
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2680 ac_status=$?
2681 grep -v '^ *+' conftest.er1 >conftest.err
2682 rm -f conftest.er1
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then
2689 ac_compiler_gnu=yes
2690 else
2691 echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 ac_compiler_gnu=no
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2698 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2701 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2702 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2703 GCC=`test $ac_compiler_gnu = yes && echo yes`
2704 ac_test_CFLAGS=${CFLAGS+set}
2705 ac_save_CFLAGS=$CFLAGS
2706 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2707 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2708 if test "${ac_cv_prog_cc_g+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 else
2711 ac_save_c_werror_flag=$ac_c_werror_flag
2712 ac_c_werror_flag=yes
2713 ac_cv_prog_cc_g=no
2714 CFLAGS="-g"
2715 cat >conftest.$ac_ext <<_ACEOF
2716 /* confdefs.h. */
2717 _ACEOF
2718 cat confdefs.h >>conftest.$ac_ext
2719 cat >>conftest.$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2723 main ()
2727 return 0;
2729 _ACEOF
2730 rm -f conftest.$ac_objext
2731 if { (ac_try="$ac_compile"
2732 case "(($ac_try" in
2733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2735 esac
2736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_compile") 2>conftest.er1
2738 ac_status=$?
2739 grep -v '^ *+' conftest.er1 >conftest.err
2740 rm -f conftest.er1
2741 cat conftest.err >&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext; then
2747 ac_cv_prog_cc_g=yes
2748 else
2749 echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 CFLAGS=""
2753 cat >conftest.$ac_ext <<_ACEOF
2754 /* confdefs.h. */
2755 _ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2761 main ()
2765 return 0;
2767 _ACEOF
2768 rm -f conftest.$ac_objext
2769 if { (ac_try="$ac_compile"
2770 case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2773 esac
2774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compile") 2>conftest.er1
2776 ac_status=$?
2777 grep -v '^ *+' conftest.er1 >conftest.err
2778 rm -f conftest.er1
2779 cat conftest.err >&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.$ac_objext; then
2786 else
2787 echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2790 ac_c_werror_flag=$ac_save_c_werror_flag
2791 CFLAGS="-g"
2792 cat >conftest.$ac_ext <<_ACEOF
2793 /* confdefs.h. */
2794 _ACEOF
2795 cat confdefs.h >>conftest.$ac_ext
2796 cat >>conftest.$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2800 main ()
2804 return 0;
2806 _ACEOF
2807 rm -f conftest.$ac_objext
2808 if { (ac_try="$ac_compile"
2809 case "(($ac_try" in
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2812 esac
2813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2815 ac_status=$?
2816 grep -v '^ *+' conftest.er1 >conftest.err
2817 rm -f conftest.er1
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2824 ac_cv_prog_cc_g=yes
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2843 if test "$ac_test_CFLAGS" = set; then
2844 CFLAGS=$ac_save_CFLAGS
2845 elif test $ac_cv_prog_cc_g = yes; then
2846 if test "$GCC" = yes; then
2847 CFLAGS="-g -O2"
2848 else
2849 CFLAGS="-g"
2851 else
2852 if test "$GCC" = yes; then
2853 CFLAGS="-O2"
2854 else
2855 CFLAGS=
2858 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2859 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2860 if test "${ac_cv_prog_cc_c89+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 else
2863 ac_cv_prog_cc_c89=no
2864 ac_save_CC=$CC
2865 cat >conftest.$ac_ext <<_ACEOF
2866 /* confdefs.h. */
2867 _ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 cat >>conftest.$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2871 #include <stdarg.h>
2872 #include <stdio.h>
2873 #include <sys/types.h>
2874 #include <sys/stat.h>
2875 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2876 struct buf { int x; };
2877 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2878 static char *e (p, i)
2879 char **p;
2880 int i;
2882 return p[i];
2884 static char *f (char * (*g) (char **, int), char **p, ...)
2886 char *s;
2887 va_list v;
2888 va_start (v,p);
2889 s = g (p, va_arg (v,int));
2890 va_end (v);
2891 return s;
2894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2895 function prototypes and stuff, but not '\xHH' hex character constants.
2896 These don't provoke an error unfortunately, instead are silently treated
2897 as 'x'. The following induces an error, until -std is added to get
2898 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2899 array size at least. It's necessary to write '\x00'==0 to get something
2900 that's true only with -std. */
2901 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2903 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2904 inside strings and character constants. */
2905 #define FOO(x) 'x'
2906 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2908 int test (int i, double x);
2909 struct s1 {int (*f) (int a);};
2910 struct s2 {int (*f) (double a);};
2911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2912 int argc;
2913 char **argv;
2915 main ()
2917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2919 return 0;
2921 _ACEOF
2922 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2923 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2925 CC="$ac_save_CC $ac_arg"
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2928 case "(($ac_try" in
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2931 esac
2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2934 ac_status=$?
2935 grep -v '^ *+' conftest.er1 >conftest.err
2936 rm -f conftest.er1
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2943 ac_cv_prog_cc_c89=$ac_arg
2944 else
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f core conftest.err conftest.$ac_objext
2952 test "x$ac_cv_prog_cc_c89" != "xno" && break
2953 done
2954 rm -f conftest.$ac_ext
2955 CC=$ac_save_CC
2958 # AC_CACHE_VAL
2959 case "x$ac_cv_prog_cc_c89" in
2961 { echo "$as_me:$LINENO: result: none needed" >&5
2962 echo "${ECHO_T}none needed" >&6; } ;;
2963 xno)
2964 { echo "$as_me:$LINENO: result: unsupported" >&5
2965 echo "${ECHO_T}unsupported" >&6; } ;;
2967 CC="$CC $ac_cv_prog_cc_c89"
2968 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2969 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2970 esac
2973 ac_ext=c
2974 ac_cpp='$CPP $CPPFLAGS'
2975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2979 ac_ext=cpp
2980 ac_cpp='$CXXCPP $CPPFLAGS'
2981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2984 if test -z "$CXX"; then
2985 if test -n "$CCC"; then
2986 CXX=$CCC
2987 else
2988 if test -n "$ac_tool_prefix"; then
2989 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2995 if test "${ac_cv_prog_CXX+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2997 else
2998 if test -n "$CXX"; then
2999 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3000 else
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 for as_dir in $PATH
3004 IFS=$as_save_IFS
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 break 2
3012 done
3013 done
3014 IFS=$as_save_IFS
3018 CXX=$ac_cv_prog_CXX
3019 if test -n "$CXX"; then
3020 { echo "$as_me:$LINENO: result: $CXX" >&5
3021 echo "${ECHO_T}$CXX" >&6; }
3022 else
3023 { echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6; }
3028 test -n "$CXX" && break
3029 done
3031 if test -z "$CXX"; then
3032 ac_ct_CXX=$CXX
3033 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036 set dummy $ac_prog; ac_word=$2
3037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3039 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3041 else
3042 if test -n "$ac_ct_CXX"; then
3043 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3044 else
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 for as_dir in $PATH
3048 IFS=$as_save_IFS
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_ac_ct_CXX="$ac_prog"
3053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 break 2
3056 done
3057 done
3058 IFS=$as_save_IFS
3062 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3063 if test -n "$ac_ct_CXX"; then
3064 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3065 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3066 else
3067 { echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6; }
3072 test -n "$ac_ct_CXX" && break
3073 done
3075 if test "x$ac_ct_CXX" = x; then
3076 CXX="g++"
3077 else
3078 case $cross_compiling:$ac_tool_warned in
3079 yes:)
3080 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3081 whose name does not start with the host triplet. If you think this
3082 configuration is useful to you, please write to autoconf@gnu.org." >&5
3083 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3084 whose name does not start with the host triplet. If you think this
3085 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3086 ac_tool_warned=yes ;;
3087 esac
3088 CXX=$ac_ct_CXX
3094 # Provide some information about the compiler.
3095 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3096 ac_compiler=`set X $ac_compile; echo $2`
3097 { (ac_try="$ac_compiler --version >&5"
3098 case "(($ac_try" in
3099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3100 *) ac_try_echo=$ac_try;;
3101 esac
3102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3103 (eval "$ac_compiler --version >&5") 2>&5
3104 ac_status=$?
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }
3107 { (ac_try="$ac_compiler -v >&5"
3108 case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3111 esac
3112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3113 (eval "$ac_compiler -v >&5") 2>&5
3114 ac_status=$?
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }
3117 { (ac_try="$ac_compiler -V >&5"
3118 case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3121 esac
3122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3123 (eval "$ac_compiler -V >&5") 2>&5
3124 ac_status=$?
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); }
3128 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3129 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3130 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 else
3133 cat >conftest.$ac_ext <<_ACEOF
3134 /* confdefs.h. */
3135 _ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3141 main ()
3143 #ifndef __GNUC__
3144 choke me
3145 #endif
3148 return 0;
3150 _ACEOF
3151 rm -f conftest.$ac_objext
3152 if { (ac_try="$ac_compile"
3153 case "(($ac_try" in
3154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3156 esac
3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3159 ac_status=$?
3160 grep -v '^ *+' conftest.er1 >conftest.err
3161 rm -f conftest.er1
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_cxx_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3168 ac_compiler_gnu=yes
3169 else
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3173 ac_compiler_gnu=no
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3177 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3180 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3181 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3182 GXX=`test $ac_compiler_gnu = yes && echo yes`
3183 ac_test_CXXFLAGS=${CXXFLAGS+set}
3184 ac_save_CXXFLAGS=$CXXFLAGS
3185 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3186 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3187 if test "${ac_cv_prog_cxx_g+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 else
3190 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3191 ac_cxx_werror_flag=yes
3192 ac_cv_prog_cxx_g=no
3193 CXXFLAGS="-g"
3194 cat >conftest.$ac_ext <<_ACEOF
3195 /* confdefs.h. */
3196 _ACEOF
3197 cat confdefs.h >>conftest.$ac_ext
3198 cat >>conftest.$ac_ext <<_ACEOF
3199 /* end confdefs.h. */
3202 main ()
3206 return 0;
3208 _ACEOF
3209 rm -f conftest.$ac_objext
3210 if { (ac_try="$ac_compile"
3211 case "(($ac_try" in
3212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3213 *) ac_try_echo=$ac_try;;
3214 esac
3215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3216 (eval "$ac_compile") 2>conftest.er1
3217 ac_status=$?
3218 grep -v '^ *+' conftest.er1 >conftest.err
3219 rm -f conftest.er1
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } && {
3223 test -z "$ac_cxx_werror_flag" ||
3224 test ! -s conftest.err
3225 } && test -s conftest.$ac_objext; then
3226 ac_cv_prog_cxx_g=yes
3227 else
3228 echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3231 CXXFLAGS=""
3232 cat >conftest.$ac_ext <<_ACEOF
3233 /* confdefs.h. */
3234 _ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3240 main ()
3244 return 0;
3246 _ACEOF
3247 rm -f conftest.$ac_objext
3248 if { (ac_try="$ac_compile"
3249 case "(($ac_try" in
3250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3251 *) ac_try_echo=$ac_try;;
3252 esac
3253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3254 (eval "$ac_compile") 2>conftest.er1
3255 ac_status=$?
3256 grep -v '^ *+' conftest.er1 >conftest.err
3257 rm -f conftest.er1
3258 cat conftest.err >&5
3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } && {
3261 test -z "$ac_cxx_werror_flag" ||
3262 test ! -s conftest.err
3263 } && test -s conftest.$ac_objext; then
3265 else
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3270 CXXFLAGS="-g"
3271 cat >conftest.$ac_ext <<_ACEOF
3272 /* confdefs.h. */
3273 _ACEOF
3274 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3279 main ()
3283 return 0;
3285 _ACEOF
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3288 case "(($ac_try" in
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3291 esac
3292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_compile") 2>conftest.er1
3294 ac_status=$?
3295 grep -v '^ *+' conftest.er1 >conftest.err
3296 rm -f conftest.er1
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } && {
3300 test -z "$ac_cxx_werror_flag" ||
3301 test ! -s conftest.err
3302 } && test -s conftest.$ac_objext; then
3303 ac_cv_prog_cxx_g=yes
3304 else
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3320 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3321 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3322 if test "$ac_test_CXXFLAGS" = set; then
3323 CXXFLAGS=$ac_save_CXXFLAGS
3324 elif test $ac_cv_prog_cxx_g = yes; then
3325 if test "$GXX" = yes; then
3326 CXXFLAGS="-g -O2"
3327 else
3328 CXXFLAGS="-g"
3330 else
3331 if test "$GXX" = yes; then
3332 CXXFLAGS="-O2"
3333 else
3334 CXXFLAGS=
3337 ac_ext=c
3338 ac_cpp='$CPP $CPPFLAGS'
3339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3348 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3349 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 else
3351 if test -n "$CPPBIN"; then
3352 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3353 else
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH
3357 IFS=$as_save_IFS
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 break 2
3365 done
3366 done
3367 IFS=$as_save_IFS
3371 CPPBIN=$ac_cv_prog_CPPBIN
3372 if test -n "$CPPBIN"; then
3373 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3374 echo "${ECHO_T}$CPPBIN" >&6; }
3375 else
3376 { echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6; }
3382 if test -z "$ac_cv_prog_CPPBIN"; then
3383 ac_ct_CPPBIN=$CPPBIN
3384 # Extract the first word of "cpp", so it can be a program name with args.
3385 set dummy cpp; ac_word=$2
3386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3388 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3389 echo $ECHO_N "(cached) $ECHO_C" >&6
3390 else
3391 if test -n "$ac_ct_CPPBIN"; then
3392 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3393 else
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3397 IFS=$as_save_IFS
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_CPPBIN="cpp"
3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 break 2
3405 done
3406 done
3407 IFS=$as_save_IFS
3411 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3412 if test -n "$ac_ct_CPPBIN"; then
3413 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3414 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3415 else
3416 { echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6; }
3420 if test "x$ac_ct_CPPBIN" = x; then
3421 CPPBIN="cpp"
3422 else
3423 case $cross_compiling:$ac_tool_warned in
3424 yes:)
3425 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3426 whose name does not start with the host triplet. If you think this
3427 configuration is useful to you, please write to autoconf@gnu.org." >&5
3428 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3429 whose name does not start with the host triplet. If you think this
3430 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3431 ac_tool_warned=yes ;;
3432 esac
3433 CPPBIN=$ac_ct_CPPBIN
3435 else
3436 CPPBIN="$ac_cv_prog_CPPBIN"
3440 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3441 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3442 if test "${wine_cv_toolsdir+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 else
3445 if test -z "$with_wine_tools"; then
3446 if test "$cross_compiling" = "yes"; then
3447 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3448 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3449 { (exit 1); exit 1; }; }
3450 else
3451 wine_cv_toolsdir="\$(TOPOBJDIR)"
3453 elif test -d "$with_wine_tools/tools/winebuild"; then
3454 case $with_wine_tools in
3455 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3456 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3457 esac
3458 else
3459 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3460 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3461 { (exit 1); exit 1; }; }
3464 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3465 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3466 TOOLSDIR=$wine_cv_toolsdir
3470 ac_ext=c
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3476 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3477 # On Suns, sometimes $CPP names a directory.
3478 if test -n "$CPP" && test -d "$CPP"; then
3479 CPP=
3481 if test -z "$CPP"; then
3482 if test "${ac_cv_prog_CPP+set}" = set; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3484 else
3485 # Double quotes because CPP needs to be expanded
3486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3488 ac_preproc_ok=false
3489 for ac_c_preproc_warn_flag in '' yes
3491 # Use a header file that comes with gcc, so configuring glibc
3492 # with a fresh cross-compiler works.
3493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3494 # <limits.h> exists even on freestanding compilers.
3495 # On the NeXT, cc -E runs the code through the compiler's parser,
3496 # not just through cpp. "Syntax error" is here to catch this case.
3497 cat >conftest.$ac_ext <<_ACEOF
3498 /* confdefs.h. */
3499 _ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3503 #ifdef __STDC__
3504 # include <limits.h>
3505 #else
3506 # include <assert.h>
3507 #endif
3508 Syntax error
3509 _ACEOF
3510 if { (ac_try="$ac_cpp conftest.$ac_ext"
3511 case "(($ac_try" in
3512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513 *) ac_try_echo=$ac_try;;
3514 esac
3515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3516 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3517 ac_status=$?
3518 grep -v '^ *+' conftest.er1 >conftest.err
3519 rm -f conftest.er1
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); } >/dev/null && {
3523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3524 test ! -s conftest.err
3525 }; then
3527 else
3528 echo "$as_me: failed program was:" >&5
3529 sed 's/^/| /' conftest.$ac_ext >&5
3531 # Broken: fails on valid input.
3532 continue
3535 rm -f conftest.err conftest.$ac_ext
3537 # OK, works on sane cases. Now check whether nonexistent headers
3538 # can be detected and how.
3539 cat >conftest.$ac_ext <<_ACEOF
3540 /* confdefs.h. */
3541 _ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3545 #include <ac_nonexistent.h>
3546 _ACEOF
3547 if { (ac_try="$ac_cpp conftest.$ac_ext"
3548 case "(($ac_try" in
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3551 esac
3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3554 ac_status=$?
3555 grep -v '^ *+' conftest.er1 >conftest.err
3556 rm -f conftest.er1
3557 cat conftest.err >&5
3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } >/dev/null && {
3560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3562 }; then
3563 # Broken: success on invalid input.
3564 continue
3565 else
3566 echo "$as_me: failed program was:" >&5
3567 sed 's/^/| /' conftest.$ac_ext >&5
3569 # Passes both tests.
3570 ac_preproc_ok=:
3571 break
3574 rm -f conftest.err conftest.$ac_ext
3576 done
3577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3578 rm -f conftest.err conftest.$ac_ext
3579 if $ac_preproc_ok; then
3580 break
3583 done
3584 ac_cv_prog_CPP=$CPP
3587 CPP=$ac_cv_prog_CPP
3588 else
3589 ac_cv_prog_CPP=$CPP
3591 { echo "$as_me:$LINENO: result: $CPP" >&5
3592 echo "${ECHO_T}$CPP" >&6; }
3593 ac_preproc_ok=false
3594 for ac_c_preproc_warn_flag in '' yes
3596 # Use a header file that comes with gcc, so configuring glibc
3597 # with a fresh cross-compiler works.
3598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3599 # <limits.h> exists even on freestanding compilers.
3600 # On the NeXT, cc -E runs the code through the compiler's parser,
3601 # not just through cpp. "Syntax error" is here to catch this case.
3602 cat >conftest.$ac_ext <<_ACEOF
3603 /* confdefs.h. */
3604 _ACEOF
3605 cat confdefs.h >>conftest.$ac_ext
3606 cat >>conftest.$ac_ext <<_ACEOF
3607 /* end confdefs.h. */
3608 #ifdef __STDC__
3609 # include <limits.h>
3610 #else
3611 # include <assert.h>
3612 #endif
3613 Syntax error
3614 _ACEOF
3615 if { (ac_try="$ac_cpp conftest.$ac_ext"
3616 case "(($ac_try" in
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3619 esac
3620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3622 ac_status=$?
3623 grep -v '^ *+' conftest.er1 >conftest.err
3624 rm -f conftest.er1
3625 cat conftest.err >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } >/dev/null && {
3628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3630 }; then
3632 else
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 # Broken: fails on valid input.
3637 continue
3640 rm -f conftest.err conftest.$ac_ext
3642 # OK, works on sane cases. Now check whether nonexistent headers
3643 # can be detected and how.
3644 cat >conftest.$ac_ext <<_ACEOF
3645 /* confdefs.h. */
3646 _ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3650 #include <ac_nonexistent.h>
3651 _ACEOF
3652 if { (ac_try="$ac_cpp conftest.$ac_ext"
3653 case "(($ac_try" in
3654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3655 *) ac_try_echo=$ac_try;;
3656 esac
3657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3659 ac_status=$?
3660 grep -v '^ *+' conftest.er1 >conftest.err
3661 rm -f conftest.er1
3662 cat conftest.err >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } >/dev/null && {
3665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3666 test ! -s conftest.err
3667 }; then
3668 # Broken: success on invalid input.
3669 continue
3670 else
3671 echo "$as_me: failed program was:" >&5
3672 sed 's/^/| /' conftest.$ac_ext >&5
3674 # Passes both tests.
3675 ac_preproc_ok=:
3676 break
3679 rm -f conftest.err conftest.$ac_ext
3681 done
3682 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3683 rm -f conftest.err conftest.$ac_ext
3684 if $ac_preproc_ok; then
3686 else
3687 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3688 See \`config.log' for more details." >&5
3689 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3690 See \`config.log' for more details." >&2;}
3691 { (exit 1); exit 1; }; }
3694 ac_ext=c
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3701 { echo "$as_me:$LINENO: checking for X" >&5
3702 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3705 # Check whether --with-x was given.
3706 if test "${with_x+set}" = set; then
3707 withval=$with_x;
3710 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3711 if test "x$with_x" = xno; then
3712 # The user explicitly disabled X.
3713 have_x=disabled
3714 else
3715 case $x_includes,$x_libraries in #(
3716 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3717 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3718 { (exit 1); exit 1; }; };; #(
3719 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 else
3722 # One or both of the vars are not set, and there is no cached value.
3723 ac_x_includes=no ac_x_libraries=no
3724 rm -f -r conftest.dir
3725 if mkdir conftest.dir; then
3726 cd conftest.dir
3727 cat >Imakefile <<'_ACEOF'
3728 incroot:
3729 @echo incroot='${INCROOT}'
3730 usrlibdir:
3731 @echo usrlibdir='${USRLIBDIR}'
3732 libdir:
3733 @echo libdir='${LIBDIR}'
3734 _ACEOF
3735 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3736 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3737 for ac_var in incroot usrlibdir libdir; do
3738 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3739 done
3740 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3741 for ac_extension in a so sl; do
3742 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3743 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3744 ac_im_usrlibdir=$ac_im_libdir; break
3746 done
3747 # Screen out bogus values from the imake configuration. They are
3748 # bogus both because they are the default anyway, and because
3749 # using them would break gcc on systems where it needs fixed includes.
3750 case $ac_im_incroot in
3751 /usr/include) ac_x_includes= ;;
3752 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3753 esac
3754 case $ac_im_usrlibdir in
3755 /usr/lib | /lib) ;;
3756 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3757 esac
3759 cd ..
3760 rm -f -r conftest.dir
3763 # Standard set of common directories for X headers.
3764 # Check X11 before X11Rn because it is often a symlink to the current release.
3765 ac_x_header_dirs='
3766 /usr/X11/include
3767 /usr/X11R6/include
3768 /usr/X11R5/include
3769 /usr/X11R4/include
3771 /usr/include/X11
3772 /usr/include/X11R6
3773 /usr/include/X11R5
3774 /usr/include/X11R4
3776 /usr/local/X11/include
3777 /usr/local/X11R6/include
3778 /usr/local/X11R5/include
3779 /usr/local/X11R4/include
3781 /usr/local/include/X11
3782 /usr/local/include/X11R6
3783 /usr/local/include/X11R5
3784 /usr/local/include/X11R4
3786 /usr/X386/include
3787 /usr/x386/include
3788 /usr/XFree86/include/X11
3790 /usr/include
3791 /usr/local/include
3792 /usr/unsupported/include
3793 /usr/athena/include
3794 /usr/local/x11r5/include
3795 /usr/lpp/Xamples/include
3797 /usr/openwin/include
3798 /usr/openwin/share/include'
3800 if test "$ac_x_includes" = no; then
3801 # Guess where to find include files, by looking for Xlib.h.
3802 # First, try using that file with no special directory specified.
3803 cat >conftest.$ac_ext <<_ACEOF
3804 /* confdefs.h. */
3805 _ACEOF
3806 cat confdefs.h >>conftest.$ac_ext
3807 cat >>conftest.$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3809 #include <X11/Xlib.h>
3810 _ACEOF
3811 if { (ac_try="$ac_cpp conftest.$ac_ext"
3812 case "(($ac_try" in
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3815 esac
3816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3818 ac_status=$?
3819 grep -v '^ *+' conftest.er1 >conftest.err
3820 rm -f conftest.er1
3821 cat conftest.err >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); } >/dev/null && {
3824 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3825 test ! -s conftest.err
3826 }; then
3827 # We can compile using X headers with no special include directory.
3828 ac_x_includes=
3829 else
3830 echo "$as_me: failed program was:" >&5
3831 sed 's/^/| /' conftest.$ac_ext >&5
3833 for ac_dir in $ac_x_header_dirs; do
3834 if test -r "$ac_dir/X11/Xlib.h"; then
3835 ac_x_includes=$ac_dir
3836 break
3838 done
3841 rm -f conftest.err conftest.$ac_ext
3842 fi # $ac_x_includes = no
3844 if test "$ac_x_libraries" = no; then
3845 # Check for the libraries.
3846 # See if we find them without any special options.
3847 # Don't add to $LIBS permanently.
3848 ac_save_LIBS=$LIBS
3849 LIBS="-lX11 $LIBS"
3850 cat >conftest.$ac_ext <<_ACEOF
3851 /* confdefs.h. */
3852 _ACEOF
3853 cat confdefs.h >>conftest.$ac_ext
3854 cat >>conftest.$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3856 #include <X11/Xlib.h>
3858 main ()
3860 XrmInitialize ()
3862 return 0;
3864 _ACEOF
3865 rm -f conftest.$ac_objext conftest$ac_exeext
3866 if { (ac_try="$ac_link"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3872 (eval "$ac_link") 2>conftest.er1
3873 ac_status=$?
3874 grep -v '^ *+' conftest.er1 >conftest.err
3875 rm -f conftest.er1
3876 cat conftest.err >&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } && {
3879 test -z "$ac_c_werror_flag" ||
3880 test ! -s conftest.err
3881 } && test -s conftest$ac_exeext &&
3882 $as_test_x conftest$ac_exeext; then
3883 LIBS=$ac_save_LIBS
3884 # We can link X programs with no special library path.
3885 ac_x_libraries=
3886 else
3887 echo "$as_me: failed program was:" >&5
3888 sed 's/^/| /' conftest.$ac_ext >&5
3890 LIBS=$ac_save_LIBS
3891 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3893 # Don't even attempt the hair of trying to link an X program!
3894 for ac_extension in a so sl; do
3895 if test -r "$ac_dir/libX11.$ac_extension"; then
3896 ac_x_libraries=$ac_dir
3897 break 2
3899 done
3900 done
3903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3904 conftest$ac_exeext conftest.$ac_ext
3905 fi # $ac_x_libraries = no
3907 case $ac_x_includes,$ac_x_libraries in #(
3908 no,* | *,no | *\'*)
3909 # Didn't find X, or a directory has "'" in its name.
3910 ac_cv_have_x="have_x=no";; #(
3912 # Record where we found X for the cache.
3913 ac_cv_have_x="have_x=yes\
3914 ac_x_includes='$ac_x_includes'\
3915 ac_x_libraries='$ac_x_libraries'"
3916 esac
3918 ;; #(
3919 *) have_x=yes;;
3920 esac
3921 eval "$ac_cv_have_x"
3922 fi # $with_x != no
3924 if test "$have_x" != yes; then
3925 { echo "$as_me:$LINENO: result: $have_x" >&5
3926 echo "${ECHO_T}$have_x" >&6; }
3927 no_x=yes
3928 else
3929 # If each of the values was on the command line, it overrides each guess.
3930 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3931 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3932 # Update the cache value to reflect the command line values.
3933 ac_cv_have_x="have_x=yes\
3934 ac_x_includes='$x_includes'\
3935 ac_x_libraries='$x_libraries'"
3936 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3937 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3940 if test "$no_x" = yes; then
3941 # Not all programs may use this symbol, but it does not hurt to define it.
3943 cat >>confdefs.h <<\_ACEOF
3944 #define X_DISPLAY_MISSING 1
3945 _ACEOF
3947 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3948 else
3949 if test -n "$x_includes"; then
3950 X_CFLAGS="$X_CFLAGS -I$x_includes"
3953 # It would also be nice to do this for all -L options, not just this one.
3954 if test -n "$x_libraries"; then
3955 X_LIBS="$X_LIBS -L$x_libraries"
3956 # For Solaris; some versions of Sun CC require a space after -R and
3957 # others require no space. Words are not sufficient . . . .
3958 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3959 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3960 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3961 ac_xsave_c_werror_flag=$ac_c_werror_flag
3962 ac_c_werror_flag=yes
3963 cat >conftest.$ac_ext <<_ACEOF
3964 /* confdefs.h. */
3965 _ACEOF
3966 cat confdefs.h >>conftest.$ac_ext
3967 cat >>conftest.$ac_ext <<_ACEOF
3968 /* end confdefs.h. */
3971 main ()
3975 return 0;
3977 _ACEOF
3978 rm -f conftest.$ac_objext conftest$ac_exeext
3979 if { (ac_try="$ac_link"
3980 case "(($ac_try" in
3981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982 *) ac_try_echo=$ac_try;;
3983 esac
3984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3985 (eval "$ac_link") 2>conftest.er1
3986 ac_status=$?
3987 grep -v '^ *+' conftest.er1 >conftest.err
3988 rm -f conftest.er1
3989 cat conftest.err >&5
3990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991 (exit $ac_status); } && {
3992 test -z "$ac_c_werror_flag" ||
3993 test ! -s conftest.err
3994 } && test -s conftest$ac_exeext &&
3995 $as_test_x conftest$ac_exeext; then
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
3998 X_LIBS="$X_LIBS -R$x_libraries"
3999 else
4000 echo "$as_me: failed program was:" >&5
4001 sed 's/^/| /' conftest.$ac_ext >&5
4003 LIBS="$ac_xsave_LIBS -R $x_libraries"
4004 cat >conftest.$ac_ext <<_ACEOF
4005 /* confdefs.h. */
4006 _ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4012 main ()
4016 return 0;
4018 _ACEOF
4019 rm -f conftest.$ac_objext conftest$ac_exeext
4020 if { (ac_try="$ac_link"
4021 case "(($ac_try" in
4022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4023 *) ac_try_echo=$ac_try;;
4024 esac
4025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4026 (eval "$ac_link") 2>conftest.er1
4027 ac_status=$?
4028 grep -v '^ *+' conftest.er1 >conftest.err
4029 rm -f conftest.er1
4030 cat conftest.err >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); } && {
4033 test -z "$ac_c_werror_flag" ||
4034 test ! -s conftest.err
4035 } && test -s conftest$ac_exeext &&
4036 $as_test_x conftest$ac_exeext; then
4037 { echo "$as_me:$LINENO: result: yes" >&5
4038 echo "${ECHO_T}yes" >&6; }
4039 X_LIBS="$X_LIBS -R $x_libraries"
4040 else
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 { echo "$as_me:$LINENO: result: neither works" >&5
4045 echo "${ECHO_T}neither works" >&6; }
4048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4049 conftest$ac_exeext conftest.$ac_ext
4052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4053 conftest$ac_exeext conftest.$ac_ext
4054 ac_c_werror_flag=$ac_xsave_c_werror_flag
4055 LIBS=$ac_xsave_LIBS
4058 # Check for system-dependent libraries X programs must link with.
4059 # Do this before checking for the system-independent R6 libraries
4060 # (-lICE), since we may need -lsocket or whatever for X linking.
4062 if test "$ISC" = yes; then
4063 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4064 else
4065 # Martyn Johnson says this is needed for Ultrix, if the X
4066 # libraries were built with DECnet support. And Karl Berry says
4067 # the Alpha needs dnet_stub (dnet does not exist).
4068 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
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. */
4076 /* Override any GCC internal prototype to avoid an error.
4077 Use char because int might match the return type of a GCC
4078 builtin and then its argument prototype would still apply. */
4079 #ifdef __cplusplus
4080 extern "C"
4081 #endif
4082 char XOpenDisplay ();
4084 main ()
4086 return XOpenDisplay ();
4088 return 0;
4090 _ACEOF
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (ac_try="$ac_link"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4098 (eval "$ac_link") 2>conftest.er1
4099 ac_status=$?
4100 grep -v '^ *+' conftest.er1 >conftest.err
4101 rm -f conftest.er1
4102 cat conftest.err >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } && {
4105 test -z "$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4107 } && test -s conftest$ac_exeext &&
4108 $as_test_x conftest$ac_exeext; then
4110 else
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4115 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 else
4119 ac_check_lib_save_LIBS=$LIBS
4120 LIBS="-ldnet $LIBS"
4121 cat >conftest.$ac_ext <<_ACEOF
4122 /* confdefs.h. */
4123 _ACEOF
4124 cat confdefs.h >>conftest.$ac_ext
4125 cat >>conftest.$ac_ext <<_ACEOF
4126 /* end confdefs.h. */
4128 /* Override any GCC internal prototype to avoid an error.
4129 Use char because int might match the return type of a GCC
4130 builtin and then its argument prototype would still apply. */
4131 #ifdef __cplusplus
4132 extern "C"
4133 #endif
4134 char dnet_ntoa ();
4136 main ()
4138 return dnet_ntoa ();
4140 return 0;
4142 _ACEOF
4143 rm -f conftest.$ac_objext conftest$ac_exeext
4144 if { (ac_try="$ac_link"
4145 case "(($ac_try" in
4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4148 esac
4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4150 (eval "$ac_link") 2>conftest.er1
4151 ac_status=$?
4152 grep -v '^ *+' conftest.er1 >conftest.err
4153 rm -f conftest.er1
4154 cat conftest.err >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } && {
4157 test -z "$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 } && test -s conftest$ac_exeext &&
4160 $as_test_x conftest$ac_exeext; then
4161 ac_cv_lib_dnet_dnet_ntoa=yes
4162 else
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4166 ac_cv_lib_dnet_dnet_ntoa=no
4169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4170 conftest$ac_exeext conftest.$ac_ext
4171 LIBS=$ac_check_lib_save_LIBS
4173 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4174 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4175 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4176 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4179 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4180 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4181 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4182 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 else
4185 ac_check_lib_save_LIBS=$LIBS
4186 LIBS="-ldnet_stub $LIBS"
4187 cat >conftest.$ac_ext <<_ACEOF
4188 /* confdefs.h. */
4189 _ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4194 /* Override any GCC internal prototype to avoid an error.
4195 Use char because int might match the return type of a GCC
4196 builtin and then its argument prototype would still apply. */
4197 #ifdef __cplusplus
4198 extern "C"
4199 #endif
4200 char dnet_ntoa ();
4202 main ()
4204 return dnet_ntoa ();
4206 return 0;
4208 _ACEOF
4209 rm -f conftest.$ac_objext conftest$ac_exeext
4210 if { (ac_try="$ac_link"
4211 case "(($ac_try" in
4212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4213 *) ac_try_echo=$ac_try;;
4214 esac
4215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4216 (eval "$ac_link") 2>conftest.er1
4217 ac_status=$?
4218 grep -v '^ *+' conftest.er1 >conftest.err
4219 rm -f conftest.er1
4220 cat conftest.err >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } && {
4223 test -z "$ac_c_werror_flag" ||
4224 test ! -s conftest.err
4225 } && test -s conftest$ac_exeext &&
4226 $as_test_x conftest$ac_exeext; then
4227 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4228 else
4229 echo "$as_me: failed program was:" >&5
4230 sed 's/^/| /' conftest.$ac_ext >&5
4232 ac_cv_lib_dnet_stub_dnet_ntoa=no
4235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4236 conftest$ac_exeext conftest.$ac_ext
4237 LIBS=$ac_check_lib_save_LIBS
4239 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4240 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4241 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4242 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4249 conftest$ac_exeext conftest.$ac_ext
4250 LIBS="$ac_xsave_LIBS"
4252 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4253 # to get the SysV transport functions.
4254 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4255 # needs -lnsl.
4256 # The nsl library prevents programs from opening the X display
4257 # on Irix 5.2, according to T.E. Dickey.
4258 # The functions gethostbyname, getservbyname, and inet_addr are
4259 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4260 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4261 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4262 if test "${ac_cv_func_gethostbyname+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 else
4265 cat >conftest.$ac_ext <<_ACEOF
4266 /* confdefs.h. */
4267 _ACEOF
4268 cat confdefs.h >>conftest.$ac_ext
4269 cat >>conftest.$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4271 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4273 #define gethostbyname innocuous_gethostbyname
4275 /* System header to define __stub macros and hopefully few prototypes,
4276 which can conflict with char gethostbyname (); below.
4277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4278 <limits.h> exists even on freestanding compilers. */
4280 #ifdef __STDC__
4281 # include <limits.h>
4282 #else
4283 # include <assert.h>
4284 #endif
4286 #undef gethostbyname
4288 /* Override any GCC internal prototype to avoid an error.
4289 Use char because int might match the return type of a GCC
4290 builtin and then its argument prototype would still apply. */
4291 #ifdef __cplusplus
4292 extern "C"
4293 #endif
4294 char gethostbyname ();
4295 /* The GNU C library defines this for functions which it implements
4296 to always fail with ENOSYS. Some functions are actually named
4297 something starting with __ and the normal name is an alias. */
4298 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4299 choke me
4300 #endif
4303 main ()
4305 return gethostbyname ();
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
4328 ac_cv_func_gethostbyname=yes
4329 else
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 ac_cv_func_gethostbyname=no
4336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4337 conftest$ac_exeext conftest.$ac_ext
4339 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4340 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4342 if test $ac_cv_func_gethostbyname = no; then
4343 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4344 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4345 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4347 else
4348 ac_check_lib_save_LIBS=$LIBS
4349 LIBS="-lnsl $LIBS"
4350 cat >conftest.$ac_ext <<_ACEOF
4351 /* confdefs.h. */
4352 _ACEOF
4353 cat confdefs.h >>conftest.$ac_ext
4354 cat >>conftest.$ac_ext <<_ACEOF
4355 /* end confdefs.h. */
4357 /* Override any GCC internal prototype to avoid an error.
4358 Use char because int might match the return type of a GCC
4359 builtin and then its argument prototype would still apply. */
4360 #ifdef __cplusplus
4361 extern "C"
4362 #endif
4363 char gethostbyname ();
4365 main ()
4367 return gethostbyname ();
4369 return 0;
4371 _ACEOF
4372 rm -f conftest.$ac_objext conftest$ac_exeext
4373 if { (ac_try="$ac_link"
4374 case "(($ac_try" in
4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4377 esac
4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4379 (eval "$ac_link") 2>conftest.er1
4380 ac_status=$?
4381 grep -v '^ *+' conftest.er1 >conftest.err
4382 rm -f conftest.er1
4383 cat conftest.err >&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } && {
4386 test -z "$ac_c_werror_flag" ||
4387 test ! -s conftest.err
4388 } && test -s conftest$ac_exeext &&
4389 $as_test_x conftest$ac_exeext; then
4390 ac_cv_lib_nsl_gethostbyname=yes
4391 else
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4395 ac_cv_lib_nsl_gethostbyname=no
4398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4399 conftest$ac_exeext conftest.$ac_ext
4400 LIBS=$ac_check_lib_save_LIBS
4402 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4403 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4404 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4405 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4408 if test $ac_cv_lib_nsl_gethostbyname = no; then
4409 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4410 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4411 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 else
4414 ac_check_lib_save_LIBS=$LIBS
4415 LIBS="-lbsd $LIBS"
4416 cat >conftest.$ac_ext <<_ACEOF
4417 /* confdefs.h. */
4418 _ACEOF
4419 cat confdefs.h >>conftest.$ac_ext
4420 cat >>conftest.$ac_ext <<_ACEOF
4421 /* end confdefs.h. */
4423 /* Override any GCC internal prototype to avoid an error.
4424 Use char because int might match the return type of a GCC
4425 builtin and then its argument prototype would still apply. */
4426 #ifdef __cplusplus
4427 extern "C"
4428 #endif
4429 char gethostbyname ();
4431 main ()
4433 return gethostbyname ();
4435 return 0;
4437 _ACEOF
4438 rm -f conftest.$ac_objext conftest$ac_exeext
4439 if { (ac_try="$ac_link"
4440 case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4445 (eval "$ac_link") 2>conftest.er1
4446 ac_status=$?
4447 grep -v '^ *+' conftest.er1 >conftest.err
4448 rm -f conftest.er1
4449 cat conftest.err >&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } && {
4452 test -z "$ac_c_werror_flag" ||
4453 test ! -s conftest.err
4454 } && test -s conftest$ac_exeext &&
4455 $as_test_x conftest$ac_exeext; then
4456 ac_cv_lib_bsd_gethostbyname=yes
4457 else
4458 echo "$as_me: failed program was:" >&5
4459 sed 's/^/| /' conftest.$ac_ext >&5
4461 ac_cv_lib_bsd_gethostbyname=no
4464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4465 conftest$ac_exeext conftest.$ac_ext
4466 LIBS=$ac_check_lib_save_LIBS
4468 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4469 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4470 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4471 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4477 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4478 # socket/setsockopt and other routines are undefined under SCO ODT
4479 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4480 # on later versions), says Simon Leinen: it contains gethostby*
4481 # variants that don't use the name server (or something). -lsocket
4482 # must be given before -lnsl if both are needed. We assume that
4483 # if connect needs -lnsl, so does gethostbyname.
4484 { echo "$as_me:$LINENO: checking for connect" >&5
4485 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_connect+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 else
4489 cat >conftest.$ac_ext <<_ACEOF
4490 /* confdefs.h. */
4491 _ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define connect innocuous_connect
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char connect (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4504 #ifdef __STDC__
4505 # include <limits.h>
4506 #else
4507 # include <assert.h>
4508 #endif
4510 #undef connect
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4515 #ifdef __cplusplus
4516 extern "C"
4517 #endif
4518 char connect ();
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_connect || defined __stub___connect
4523 choke me
4524 #endif
4527 main ()
4529 return connect ();
4531 return 0;
4533 _ACEOF
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (ac_try="$ac_link"
4536 case "(($ac_try" in
4537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4539 esac
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4542 ac_status=$?
4543 grep -v '^ *+' conftest.er1 >conftest.err
4544 rm -f conftest.er1
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest$ac_exeext &&
4551 $as_test_x conftest$ac_exeext; then
4552 ac_cv_func_connect=yes
4553 else
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.$ac_ext >&5
4557 ac_cv_func_connect=no
4560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4561 conftest$ac_exeext conftest.$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4564 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4566 if test $ac_cv_func_connect = no; then
4567 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4568 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_socket_connect+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 else
4572 ac_check_lib_save_LIBS=$LIBS
4573 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4574 cat >conftest.$ac_ext <<_ACEOF
4575 /* confdefs.h. */
4576 _ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4584 #ifdef __cplusplus
4585 extern "C"
4586 #endif
4587 char connect ();
4589 main ()
4591 return connect ();
4593 return 0;
4595 _ACEOF
4596 rm -f conftest.$ac_objext conftest$ac_exeext
4597 if { (ac_try="$ac_link"
4598 case "(($ac_try" in
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4601 esac
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4604 ac_status=$?
4605 grep -v '^ *+' conftest.er1 >conftest.err
4606 rm -f conftest.er1
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest$ac_exeext &&
4613 $as_test_x conftest$ac_exeext; then
4614 ac_cv_lib_socket_connect=yes
4615 else
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_cv_lib_socket_connect=no
4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623 conftest$ac_exeext conftest.$ac_ext
4624 LIBS=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4627 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4628 if test $ac_cv_lib_socket_connect = yes; then
4629 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4634 # Guillermo Gomez says -lposix is necessary on A/UX.
4635 { echo "$as_me:$LINENO: checking for remove" >&5
4636 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4637 if test "${ac_cv_func_remove+set}" = set; then
4638 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 else
4640 cat >conftest.$ac_ext <<_ACEOF
4641 /* confdefs.h. */
4642 _ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4646 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4648 #define remove innocuous_remove
4650 /* System header to define __stub macros and hopefully few prototypes,
4651 which can conflict with char remove (); below.
4652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4653 <limits.h> exists even on freestanding compilers. */
4655 #ifdef __STDC__
4656 # include <limits.h>
4657 #else
4658 # include <assert.h>
4659 #endif
4661 #undef remove
4663 /* Override any GCC internal prototype to avoid an error.
4664 Use char because int might match the return type of a GCC
4665 builtin and then its argument prototype would still apply. */
4666 #ifdef __cplusplus
4667 extern "C"
4668 #endif
4669 char remove ();
4670 /* The GNU C library defines this for functions which it implements
4671 to always fail with ENOSYS. Some functions are actually named
4672 something starting with __ and the normal name is an alias. */
4673 #if defined __stub_remove || defined __stub___remove
4674 choke me
4675 #endif
4678 main ()
4680 return remove ();
4682 return 0;
4684 _ACEOF
4685 rm -f conftest.$ac_objext conftest$ac_exeext
4686 if { (ac_try="$ac_link"
4687 case "(($ac_try" in
4688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4689 *) ac_try_echo=$ac_try;;
4690 esac
4691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4692 (eval "$ac_link") 2>conftest.er1
4693 ac_status=$?
4694 grep -v '^ *+' conftest.er1 >conftest.err
4695 rm -f conftest.er1
4696 cat conftest.err >&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } && {
4699 test -z "$ac_c_werror_flag" ||
4700 test ! -s conftest.err
4701 } && test -s conftest$ac_exeext &&
4702 $as_test_x conftest$ac_exeext; then
4703 ac_cv_func_remove=yes
4704 else
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.$ac_ext >&5
4708 ac_cv_func_remove=no
4711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4712 conftest$ac_exeext conftest.$ac_ext
4714 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4715 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4717 if test $ac_cv_func_remove = no; then
4718 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4719 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4720 if test "${ac_cv_lib_posix_remove+set}" = set; then
4721 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 else
4723 ac_check_lib_save_LIBS=$LIBS
4724 LIBS="-lposix $LIBS"
4725 cat >conftest.$ac_ext <<_ACEOF
4726 /* confdefs.h. */
4727 _ACEOF
4728 cat confdefs.h >>conftest.$ac_ext
4729 cat >>conftest.$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4732 /* Override any GCC internal prototype to avoid an error.
4733 Use char because int might match the return type of a GCC
4734 builtin and then its argument prototype would still apply. */
4735 #ifdef __cplusplus
4736 extern "C"
4737 #endif
4738 char remove ();
4740 main ()
4742 return remove ();
4744 return 0;
4746 _ACEOF
4747 rm -f conftest.$ac_objext conftest$ac_exeext
4748 if { (ac_try="$ac_link"
4749 case "(($ac_try" in
4750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4751 *) ac_try_echo=$ac_try;;
4752 esac
4753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4754 (eval "$ac_link") 2>conftest.er1
4755 ac_status=$?
4756 grep -v '^ *+' conftest.er1 >conftest.err
4757 rm -f conftest.er1
4758 cat conftest.err >&5
4759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); } && {
4761 test -z "$ac_c_werror_flag" ||
4762 test ! -s conftest.err
4763 } && test -s conftest$ac_exeext &&
4764 $as_test_x conftest$ac_exeext; then
4765 ac_cv_lib_posix_remove=yes
4766 else
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4770 ac_cv_lib_posix_remove=no
4773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4774 conftest$ac_exeext conftest.$ac_ext
4775 LIBS=$ac_check_lib_save_LIBS
4777 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4778 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4779 if test $ac_cv_lib_posix_remove = yes; then
4780 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4785 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4786 { echo "$as_me:$LINENO: checking for shmat" >&5
4787 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4788 if test "${ac_cv_func_shmat+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 else
4791 cat >conftest.$ac_ext <<_ACEOF
4792 /* confdefs.h. */
4793 _ACEOF
4794 cat confdefs.h >>conftest.$ac_ext
4795 cat >>conftest.$ac_ext <<_ACEOF
4796 /* end confdefs.h. */
4797 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4799 #define shmat innocuous_shmat
4801 /* System header to define __stub macros and hopefully few prototypes,
4802 which can conflict with char shmat (); below.
4803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4804 <limits.h> exists even on freestanding compilers. */
4806 #ifdef __STDC__
4807 # include <limits.h>
4808 #else
4809 # include <assert.h>
4810 #endif
4812 #undef shmat
4814 /* Override any GCC internal prototype to avoid an error.
4815 Use char because int might match the return type of a GCC
4816 builtin and then its argument prototype would still apply. */
4817 #ifdef __cplusplus
4818 extern "C"
4819 #endif
4820 char shmat ();
4821 /* The GNU C library defines this for functions which it implements
4822 to always fail with ENOSYS. Some functions are actually named
4823 something starting with __ and the normal name is an alias. */
4824 #if defined __stub_shmat || defined __stub___shmat
4825 choke me
4826 #endif
4829 main ()
4831 return shmat ();
4833 return 0;
4835 _ACEOF
4836 rm -f conftest.$ac_objext conftest$ac_exeext
4837 if { (ac_try="$ac_link"
4838 case "(($ac_try" in
4839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4840 *) ac_try_echo=$ac_try;;
4841 esac
4842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4843 (eval "$ac_link") 2>conftest.er1
4844 ac_status=$?
4845 grep -v '^ *+' conftest.er1 >conftest.err
4846 rm -f conftest.er1
4847 cat conftest.err >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } && {
4850 test -z "$ac_c_werror_flag" ||
4851 test ! -s conftest.err
4852 } && test -s conftest$ac_exeext &&
4853 $as_test_x conftest$ac_exeext; then
4854 ac_cv_func_shmat=yes
4855 else
4856 echo "$as_me: failed program was:" >&5
4857 sed 's/^/| /' conftest.$ac_ext >&5
4859 ac_cv_func_shmat=no
4862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4863 conftest$ac_exeext conftest.$ac_ext
4865 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4866 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4868 if test $ac_cv_func_shmat = no; then
4869 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4870 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4871 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4873 else
4874 ac_check_lib_save_LIBS=$LIBS
4875 LIBS="-lipc $LIBS"
4876 cat >conftest.$ac_ext <<_ACEOF
4877 /* confdefs.h. */
4878 _ACEOF
4879 cat confdefs.h >>conftest.$ac_ext
4880 cat >>conftest.$ac_ext <<_ACEOF
4881 /* end confdefs.h. */
4883 /* Override any GCC internal prototype to avoid an error.
4884 Use char because int might match the return type of a GCC
4885 builtin and then its argument prototype would still apply. */
4886 #ifdef __cplusplus
4887 extern "C"
4888 #endif
4889 char shmat ();
4891 main ()
4893 return shmat ();
4895 return 0;
4897 _ACEOF
4898 rm -f conftest.$ac_objext conftest$ac_exeext
4899 if { (ac_try="$ac_link"
4900 case "(($ac_try" in
4901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4902 *) ac_try_echo=$ac_try;;
4903 esac
4904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4905 (eval "$ac_link") 2>conftest.er1
4906 ac_status=$?
4907 grep -v '^ *+' conftest.er1 >conftest.err
4908 rm -f conftest.er1
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } && {
4912 test -z "$ac_c_werror_flag" ||
4913 test ! -s conftest.err
4914 } && test -s conftest$ac_exeext &&
4915 $as_test_x conftest$ac_exeext; then
4916 ac_cv_lib_ipc_shmat=yes
4917 else
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.$ac_ext >&5
4921 ac_cv_lib_ipc_shmat=no
4924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4925 conftest$ac_exeext conftest.$ac_ext
4926 LIBS=$ac_check_lib_save_LIBS
4928 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4929 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4930 if test $ac_cv_lib_ipc_shmat = yes; then
4931 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4937 # Check for libraries that X11R6 Xt/Xaw programs need.
4938 ac_save_LDFLAGS=$LDFLAGS
4939 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4940 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4941 # check for ICE first), but we must link in the order -lSM -lICE or
4942 # we get undefined symbols. So assume we have SM if we have ICE.
4943 # These have to be linked with before -lX11, unlike the other
4944 # libraries we check for below, so use a different variable.
4945 # John Interrante, Karl Berry
4946 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4947 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4948 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 else
4951 ac_check_lib_save_LIBS=$LIBS
4952 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4953 cat >conftest.$ac_ext <<_ACEOF
4954 /* confdefs.h. */
4955 _ACEOF
4956 cat confdefs.h >>conftest.$ac_ext
4957 cat >>conftest.$ac_ext <<_ACEOF
4958 /* end confdefs.h. */
4960 /* Override any GCC internal prototype to avoid an error.
4961 Use char because int might match the return type of a GCC
4962 builtin and then its argument prototype would still apply. */
4963 #ifdef __cplusplus
4964 extern "C"
4965 #endif
4966 char IceConnectionNumber ();
4968 main ()
4970 return IceConnectionNumber ();
4972 return 0;
4974 _ACEOF
4975 rm -f conftest.$ac_objext conftest$ac_exeext
4976 if { (ac_try="$ac_link"
4977 case "(($ac_try" in
4978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4979 *) ac_try_echo=$ac_try;;
4980 esac
4981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4982 (eval "$ac_link") 2>conftest.er1
4983 ac_status=$?
4984 grep -v '^ *+' conftest.er1 >conftest.err
4985 rm -f conftest.er1
4986 cat conftest.err >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); } && {
4989 test -z "$ac_c_werror_flag" ||
4990 test ! -s conftest.err
4991 } && test -s conftest$ac_exeext &&
4992 $as_test_x conftest$ac_exeext; then
4993 ac_cv_lib_ICE_IceConnectionNumber=yes
4994 else
4995 echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.$ac_ext >&5
4998 ac_cv_lib_ICE_IceConnectionNumber=no
5001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5002 conftest$ac_exeext conftest.$ac_ext
5003 LIBS=$ac_check_lib_save_LIBS
5005 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5006 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5007 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5008 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5011 LDFLAGS=$ac_save_LDFLAGS
5016 for ac_prog in flex
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy $ac_prog; ac_word=$2
5020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5022 if test "${ac_cv_prog_FLEX+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 else
5025 if test -n "$FLEX"; then
5026 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_FLEX="$ac_prog"
5036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 FLEX=$ac_cv_prog_FLEX
5046 if test -n "$FLEX"; then
5047 { echo "$as_me:$LINENO: result: $FLEX" >&5
5048 echo "${ECHO_T}$FLEX" >&6; }
5049 else
5050 { echo "$as_me:$LINENO: result: no" >&5
5051 echo "${ECHO_T}no" >&6; }
5055 test -n "$FLEX" && break
5056 done
5057 test -n "$FLEX" || FLEX="none"
5059 if test "$FLEX" = "none"
5060 then
5061 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5062 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5063 { (exit 1); exit 1; }; }
5066 for ac_prog in bison
5068 # Extract the first word of "$ac_prog", so it can be a program name with args.
5069 set dummy $ac_prog; ac_word=$2
5070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5072 if test "${ac_cv_prog_BISON+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5074 else
5075 if test -n "$BISON"; then
5076 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_BISON="$ac_prog"
5086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 BISON=$ac_cv_prog_BISON
5096 if test -n "$BISON"; then
5097 { echo "$as_me:$LINENO: result: $BISON" >&5
5098 echo "${ECHO_T}$BISON" >&6; }
5099 else
5100 { echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6; }
5105 test -n "$BISON" && break
5106 done
5107 test -n "$BISON" || BISON="none"
5109 if test "$BISON" = "none"
5110 then
5111 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5112 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5113 { (exit 1); exit 1; }; }
5116 if test -n "$ac_tool_prefix"; then
5117 for ac_prog in gas as
5119 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5120 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5123 if test "${ac_cv_prog_AS+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5125 else
5126 if test -n "$AS"; then
5127 ac_cv_prog_AS="$AS" # Let the user override the test.
5128 else
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH
5132 IFS=$as_save_IFS
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 break 2
5140 done
5141 done
5142 IFS=$as_save_IFS
5146 AS=$ac_cv_prog_AS
5147 if test -n "$AS"; then
5148 { echo "$as_me:$LINENO: result: $AS" >&5
5149 echo "${ECHO_T}$AS" >&6; }
5150 else
5151 { echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6; }
5156 test -n "$AS" && break
5157 done
5159 if test -z "$AS"; then
5160 ac_ct_AS=$AS
5161 for ac_prog in gas as
5163 # Extract the first word of "$ac_prog", so it can be a program name with args.
5164 set dummy $ac_prog; ac_word=$2
5165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5167 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 else
5170 if test -n "$ac_ct_AS"; then
5171 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5172 else
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5174 for as_dir in $PATH
5176 IFS=$as_save_IFS
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5180 ac_cv_prog_ac_ct_AS="$ac_prog"
5181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 break 2
5184 done
5185 done
5186 IFS=$as_save_IFS
5190 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5191 if test -n "$ac_ct_AS"; then
5192 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5193 echo "${ECHO_T}$ac_ct_AS" >&6; }
5194 else
5195 { echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6; }
5200 test -n "$ac_ct_AS" && break
5201 done
5203 if test "x$ac_ct_AS" = x; then
5204 AS="as"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5209 whose name does not start with the host triplet. If you think this
5210 configuration is useful to you, please write to autoconf@gnu.org." >&5
5211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5212 whose name does not start with the host triplet. If you think this
5213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5214 ac_tool_warned=yes ;;
5215 esac
5216 AS=$ac_ct_AS
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5222 set dummy ${ac_tool_prefix}ld; ac_word=$2
5223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5225 if test "${ac_cv_prog_LD+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228 if test -n "$LD"; then
5229 ac_cv_prog_LD="$LD" # Let the user override the test.
5230 else
5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232 for as_dir in $PATH
5234 IFS=$as_save_IFS
5235 test -z "$as_dir" && as_dir=.
5236 for ac_exec_ext in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_LD="${ac_tool_prefix}ld"
5239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5240 break 2
5242 done
5243 done
5244 IFS=$as_save_IFS
5248 LD=$ac_cv_prog_LD
5249 if test -n "$LD"; then
5250 { echo "$as_me:$LINENO: result: $LD" >&5
5251 echo "${ECHO_T}$LD" >&6; }
5252 else
5253 { echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6; }
5259 if test -z "$ac_cv_prog_LD"; then
5260 ac_ct_LD=$LD
5261 # Extract the first word of "ld", so it can be a program name with args.
5262 set dummy ld; ac_word=$2
5263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5265 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 else
5268 if test -n "$ac_ct_LD"; then
5269 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5270 else
5271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5272 for as_dir in $PATH
5274 IFS=$as_save_IFS
5275 test -z "$as_dir" && as_dir=.
5276 for ac_exec_ext in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_ac_ct_LD="ld"
5279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 break 2
5282 done
5283 done
5284 IFS=$as_save_IFS
5288 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5289 if test -n "$ac_ct_LD"; then
5290 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5291 echo "${ECHO_T}$ac_ct_LD" >&6; }
5292 else
5293 { echo "$as_me:$LINENO: result: no" >&5
5294 echo "${ECHO_T}no" >&6; }
5297 if test "x$ac_ct_LD" = x; then
5298 LD="ld"
5299 else
5300 case $cross_compiling:$ac_tool_warned in
5301 yes:)
5302 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5303 whose name does not start with the host triplet. If you think this
5304 configuration is useful to you, please write to autoconf@gnu.org." >&5
5305 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5306 whose name does not start with the host triplet. If you think this
5307 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5308 ac_tool_warned=yes ;;
5309 esac
5310 LD=$ac_ct_LD
5312 else
5313 LD="$ac_cv_prog_LD"
5316 if test -n "$ac_tool_prefix"; then
5317 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5318 set dummy ${ac_tool_prefix}ar; ac_word=$2
5319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321 if test "${ac_cv_prog_AR+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 else
5324 if test -n "$AR"; then
5325 ac_cv_prog_AR="$AR" # Let the user override the test.
5326 else
5327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 for as_dir in $PATH
5330 IFS=$as_save_IFS
5331 test -z "$as_dir" && as_dir=.
5332 for ac_exec_ext in '' $ac_executable_extensions; do
5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334 ac_cv_prog_AR="${ac_tool_prefix}ar"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 break 2
5338 done
5339 done
5340 IFS=$as_save_IFS
5344 AR=$ac_cv_prog_AR
5345 if test -n "$AR"; then
5346 { echo "$as_me:$LINENO: result: $AR" >&5
5347 echo "${ECHO_T}$AR" >&6; }
5348 else
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5355 if test -z "$ac_cv_prog_AR"; then
5356 ac_ct_AR=$AR
5357 # Extract the first word of "ar", so it can be a program name with args.
5358 set dummy ar; ac_word=$2
5359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5361 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 else
5364 if test -n "$ac_ct_AR"; then
5365 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5370 IFS=$as_save_IFS
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5374 ac_cv_prog_ac_ct_AR="ar"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 break 2
5378 done
5379 done
5380 IFS=$as_save_IFS
5384 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5385 if test -n "$ac_ct_AR"; then
5386 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5387 echo "${ECHO_T}$ac_ct_AR" >&6; }
5388 else
5389 { echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6; }
5393 if test "x$ac_ct_AR" = x; then
5394 AR="ar"
5395 else
5396 case $cross_compiling:$ac_tool_warned in
5397 yes:)
5398 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5399 whose name does not start with the host triplet. If you think this
5400 configuration is useful to you, please write to autoconf@gnu.org." >&5
5401 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5402 whose name does not start with the host triplet. If you think this
5403 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5404 ac_tool_warned=yes ;;
5405 esac
5406 AR=$ac_ct_AR
5408 else
5409 AR="$ac_cv_prog_AR"
5412 if test -n "$ac_tool_prefix"; then
5413 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5414 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5417 if test "${ac_cv_prog_RANLIB+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5419 else
5420 if test -n "$RANLIB"; then
5421 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5422 else
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5426 IFS=$as_save_IFS
5427 test -z "$as_dir" && as_dir=.
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5430 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 break 2
5434 done
5435 done
5436 IFS=$as_save_IFS
5440 RANLIB=$ac_cv_prog_RANLIB
5441 if test -n "$RANLIB"; then
5442 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5443 echo "${ECHO_T}$RANLIB" >&6; }
5444 else
5445 { echo "$as_me:$LINENO: result: no" >&5
5446 echo "${ECHO_T}no" >&6; }
5451 if test -z "$ac_cv_prog_RANLIB"; then
5452 ac_ct_RANLIB=$RANLIB
5453 # Extract the first word of "ranlib", so it can be a program name with args.
5454 set dummy ranlib; ac_word=$2
5455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5457 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5459 else
5460 if test -n "$ac_ct_RANLIB"; then
5461 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5462 else
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH
5466 IFS=$as_save_IFS
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_prog_ac_ct_RANLIB="ranlib"
5471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 break 2
5474 done
5475 done
5476 IFS=$as_save_IFS
5480 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5481 if test -n "$ac_ct_RANLIB"; then
5482 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5483 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5484 else
5485 { echo "$as_me:$LINENO: result: no" >&5
5486 echo "${ECHO_T}no" >&6; }
5489 if test "x$ac_ct_RANLIB" = x; then
5490 RANLIB=":"
5491 else
5492 case $cross_compiling:$ac_tool_warned in
5493 yes:)
5494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&5
5497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5498 whose name does not start with the host triplet. If you think this
5499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5500 ac_tool_warned=yes ;;
5501 esac
5502 RANLIB=$ac_ct_RANLIB
5504 else
5505 RANLIB="$ac_cv_prog_RANLIB"
5508 if test -n "$ac_tool_prefix"; then
5509 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5510 set dummy ${ac_tool_prefix}strip; ac_word=$2
5511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5513 if test "${ac_cv_prog_STRIP+set}" = set; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 else
5516 if test -n "$STRIP"; then
5517 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5522 IFS=$as_save_IFS
5523 test -z "$as_dir" && as_dir=.
5524 for ac_exec_ext in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5528 break 2
5530 done
5531 done
5532 IFS=$as_save_IFS
5536 STRIP=$ac_cv_prog_STRIP
5537 if test -n "$STRIP"; then
5538 { echo "$as_me:$LINENO: result: $STRIP" >&5
5539 echo "${ECHO_T}$STRIP" >&6; }
5540 else
5541 { echo "$as_me:$LINENO: result: no" >&5
5542 echo "${ECHO_T}no" >&6; }
5547 if test -z "$ac_cv_prog_STRIP"; then
5548 ac_ct_STRIP=$STRIP
5549 # Extract the first word of "strip", so it can be a program name with args.
5550 set dummy strip; ac_word=$2
5551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5553 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 else
5556 if test -n "$ac_ct_STRIP"; then
5557 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5558 else
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5566 ac_cv_prog_ac_ct_STRIP="strip"
5567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 break 2
5570 done
5571 done
5572 IFS=$as_save_IFS
5576 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5577 if test -n "$ac_ct_STRIP"; then
5578 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5579 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5580 else
5581 { echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6; }
5585 if test "x$ac_ct_STRIP" = x; then
5586 STRIP="strip"
5587 else
5588 case $cross_compiling:$ac_tool_warned in
5589 yes:)
5590 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&5
5593 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5594 whose name does not start with the host triplet. If you think this
5595 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5596 ac_tool_warned=yes ;;
5597 esac
5598 STRIP=$ac_ct_STRIP
5600 else
5601 STRIP="$ac_cv_prog_STRIP"
5604 if test -n "$ac_tool_prefix"; then
5605 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5606 set dummy ${ac_tool_prefix}windres; ac_word=$2
5607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5609 if test "${ac_cv_prog_WINDRES+set}" = set; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5611 else
5612 if test -n "$WINDRES"; then
5613 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5614 else
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH
5618 IFS=$as_save_IFS
5619 test -z "$as_dir" && as_dir=.
5620 for ac_exec_ext in '' $ac_executable_extensions; do
5621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5622 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 break 2
5626 done
5627 done
5628 IFS=$as_save_IFS
5632 WINDRES=$ac_cv_prog_WINDRES
5633 if test -n "$WINDRES"; then
5634 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5635 echo "${ECHO_T}$WINDRES" >&6; }
5636 else
5637 { echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6; }
5643 if test -z "$ac_cv_prog_WINDRES"; then
5644 ac_ct_WINDRES=$WINDRES
5645 # Extract the first word of "windres", so it can be a program name with args.
5646 set dummy windres; ac_word=$2
5647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5649 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 else
5652 if test -n "$ac_ct_WINDRES"; then
5653 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5654 else
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 for as_dir in $PATH
5658 IFS=$as_save_IFS
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662 ac_cv_prog_ac_ct_WINDRES="windres"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 break 2
5666 done
5667 done
5668 IFS=$as_save_IFS
5672 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5673 if test -n "$ac_ct_WINDRES"; then
5674 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5675 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5676 else
5677 { echo "$as_me:$LINENO: result: no" >&5
5678 echo "${ECHO_T}no" >&6; }
5681 if test "x$ac_ct_WINDRES" = x; then
5682 WINDRES="false"
5683 else
5684 case $cross_compiling:$ac_tool_warned in
5685 yes:)
5686 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5687 whose name does not start with the host triplet. If you think this
5688 configuration is useful to you, please write to autoconf@gnu.org." >&5
5689 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5690 whose name does not start with the host triplet. If you think this
5691 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5692 ac_tool_warned=yes ;;
5693 esac
5694 WINDRES=$ac_ct_WINDRES
5696 else
5697 WINDRES="$ac_cv_prog_WINDRES"
5700 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5701 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5702 LN_S=$as_ln_s
5703 if test "$LN_S" = "ln -s"; then
5704 { echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6; }
5706 else
5707 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5708 echo "${ECHO_T}no, using $LN_S" >&6; }
5711 { echo "$as_me:$LINENO: checking whether ln works" >&5
5712 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5713 rm -f conf$$ conf$$.file
5714 echo >conf$$.file
5715 if ln conf$$.file conf$$ 2>/dev/null; then
5716 LN=ln
5718 { echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6; }
5720 else
5721 LN="cp -p"
5723 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5724 echo "${ECHO_T}no, using $LN" >&6; }
5726 rm -f conf$$ conf$$.file
5727 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5728 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5729 if test "${ac_cv_path_GREP+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 else
5732 # Extract the first word of "grep ggrep" to use in msg output
5733 if test -z "$GREP"; then
5734 set dummy grep ggrep; ac_prog_name=$2
5735 if test "${ac_cv_path_GREP+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 else
5738 ac_path_GREP_found=false
5739 # Loop through the user's path and test for each of PROGNAME-LIST
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_prog in grep ggrep; do
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5748 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5749 # Check for GNU ac_path_GREP and select it if it is found.
5750 # Check for GNU $ac_path_GREP
5751 case `"$ac_path_GREP" --version 2>&1` in
5752 *GNU*)
5753 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5755 ac_count=0
5756 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5757 while :
5759 cat "conftest.in" "conftest.in" >"conftest.tmp"
5760 mv "conftest.tmp" "conftest.in"
5761 cp "conftest.in" "conftest.nl"
5762 echo 'GREP' >> "conftest.nl"
5763 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5764 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5765 ac_count=`expr $ac_count + 1`
5766 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5767 # Best one so far, save it but keep looking for a better one
5768 ac_cv_path_GREP="$ac_path_GREP"
5769 ac_path_GREP_max=$ac_count
5771 # 10*(2^10) chars as input seems more than enough
5772 test $ac_count -gt 10 && break
5773 done
5774 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5775 esac
5778 $ac_path_GREP_found && break 3
5779 done
5780 done
5782 done
5783 IFS=$as_save_IFS
5788 GREP="$ac_cv_path_GREP"
5789 if test -z "$GREP"; then
5790 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5791 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5792 { (exit 1); exit 1; }; }
5795 else
5796 ac_cv_path_GREP=$GREP
5801 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5802 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5803 GREP="$ac_cv_path_GREP"
5806 { echo "$as_me:$LINENO: checking for egrep" >&5
5807 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5808 if test "${ac_cv_path_EGREP+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 else
5811 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5812 then ac_cv_path_EGREP="$GREP -E"
5813 else
5814 # Extract the first word of "egrep" to use in msg output
5815 if test -z "$EGREP"; then
5816 set dummy egrep; ac_prog_name=$2
5817 if test "${ac_cv_path_EGREP+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 else
5820 ac_path_EGREP_found=false
5821 # Loop through the user's path and test for each of PROGNAME-LIST
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_prog in egrep; do
5828 for ac_exec_ext in '' $ac_executable_extensions; do
5829 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5830 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5831 # Check for GNU ac_path_EGREP and select it if it is found.
5832 # Check for GNU $ac_path_EGREP
5833 case `"$ac_path_EGREP" --version 2>&1` in
5834 *GNU*)
5835 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5837 ac_count=0
5838 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5839 while :
5841 cat "conftest.in" "conftest.in" >"conftest.tmp"
5842 mv "conftest.tmp" "conftest.in"
5843 cp "conftest.in" "conftest.nl"
5844 echo 'EGREP' >> "conftest.nl"
5845 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5846 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5847 ac_count=`expr $ac_count + 1`
5848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5849 # Best one so far, save it but keep looking for a better one
5850 ac_cv_path_EGREP="$ac_path_EGREP"
5851 ac_path_EGREP_max=$ac_count
5853 # 10*(2^10) chars as input seems more than enough
5854 test $ac_count -gt 10 && break
5855 done
5856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5857 esac
5860 $ac_path_EGREP_found && break 3
5861 done
5862 done
5864 done
5865 IFS=$as_save_IFS
5870 EGREP="$ac_cv_path_EGREP"
5871 if test -z "$EGREP"; then
5872 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5873 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5874 { (exit 1); exit 1; }; }
5877 else
5878 ac_cv_path_EGREP=$EGREP
5884 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5885 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5886 EGREP="$ac_cv_path_EGREP"
5889 # Extract the first word of "ldconfig", so it can be a program name with args.
5890 set dummy ldconfig; ac_word=$2
5891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5893 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5894 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 else
5896 case $LDCONFIG in
5897 [\\/]* | ?:[\\/]*)
5898 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5902 for as_dir in /sbin /usr/sbin $PATH
5904 IFS=$as_save_IFS
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 break 2
5912 done
5913 done
5914 IFS=$as_save_IFS
5916 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5918 esac
5920 LDCONFIG=$ac_cv_path_LDCONFIG
5921 if test -n "$LDCONFIG"; then
5922 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5923 echo "${ECHO_T}$LDCONFIG" >&6; }
5924 else
5925 { echo "$as_me:$LINENO: result: no" >&5
5926 echo "${ECHO_T}no" >&6; }
5930 # Find a good install program. We prefer a C program (faster),
5931 # so one script is as good as another. But avoid the broken or
5932 # incompatible versions:
5933 # SysV /etc/install, /usr/sbin/install
5934 # SunOS /usr/etc/install
5935 # IRIX /sbin/install
5936 # AIX /bin/install
5937 # AmigaOS /C/install, which installs bootblocks on floppy discs
5938 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5939 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5940 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5941 # OS/2's system install, which has a completely different semantic
5942 # ./install, which can be erroneously created by make from ./install.sh.
5943 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5944 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5945 if test -z "$INSTALL"; then
5946 if test "${ac_cv_path_install+set}" = set; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5948 else
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 for as_dir in $PATH
5952 IFS=$as_save_IFS
5953 test -z "$as_dir" && as_dir=.
5954 # Account for people who put trailing slashes in PATH elements.
5955 case $as_dir/ in
5956 ./ | .// | /cC/* | \
5957 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5958 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5959 /usr/ucb/* ) ;;
5961 # OSF1 and SCO ODT 3.0 have their own names for install.
5962 # Don't use installbsd from OSF since it installs stuff as root
5963 # by default.
5964 for ac_prog in ginstall scoinst install; do
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5967 if test $ac_prog = install &&
5968 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5969 # AIX install. It has an incompatible calling convention.
5971 elif test $ac_prog = install &&
5972 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5973 # program-specific install script used by HP pwplus--don't use.
5975 else
5976 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5977 break 3
5980 done
5981 done
5983 esac
5984 done
5985 IFS=$as_save_IFS
5989 if test "${ac_cv_path_install+set}" = set; then
5990 INSTALL=$ac_cv_path_install
5991 else
5992 # As a last resort, use the slow shell script. Don't cache a
5993 # value for INSTALL within a source directory, because that will
5994 # break other packages using the cache if that directory is
5995 # removed, or if the value is a relative name.
5996 INSTALL=$ac_install_sh
5999 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6000 echo "${ECHO_T}$INSTALL" >&6; }
6002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6003 # It thinks the first close brace ends the variable substitution.
6004 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6006 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6008 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6010 case "$INSTALL" in
6011 [\\/$]* | ?:[\\/]* ) ;;
6012 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6013 esac
6015 for ac_prog in lclint lint
6017 # Extract the first word of "$ac_prog", so it can be a program name with args.
6018 set dummy $ac_prog; ac_word=$2
6019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6021 if test "${ac_cv_prog_LINT+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 else
6024 if test -n "$LINT"; then
6025 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6026 else
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6028 for as_dir in $PATH
6030 IFS=$as_save_IFS
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6034 ac_cv_prog_LINT="$ac_prog"
6035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 break 2
6038 done
6039 done
6040 IFS=$as_save_IFS
6044 LINT=$ac_cv_prog_LINT
6045 if test -n "$LINT"; then
6046 { echo "$as_me:$LINENO: result: $LINT" >&5
6047 echo "${ECHO_T}$LINT" >&6; }
6048 else
6049 { echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6; }
6054 test -n "$LINT" && break
6055 done
6057 if test "$LINT" = "lint"
6058 then
6059 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6064 for ac_prog in fontforge
6066 # Extract the first word of "$ac_prog", so it can be a program name with args.
6067 set dummy $ac_prog; ac_word=$2
6068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6070 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6072 else
6073 if test -n "$FONTFORGE"; then
6074 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6075 else
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6077 for as_dir in $PATH
6079 IFS=$as_save_IFS
6080 test -z "$as_dir" && as_dir=.
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6083 ac_cv_prog_FONTFORGE="$ac_prog"
6084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6093 FONTFORGE=$ac_cv_prog_FONTFORGE
6094 if test -n "$FONTFORGE"; then
6095 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6096 echo "${ECHO_T}$FONTFORGE" >&6; }
6097 else
6098 { echo "$as_me:$LINENO: result: no" >&5
6099 echo "${ECHO_T}no" >&6; }
6103 test -n "$FONTFORGE" && break
6104 done
6105 test -n "$FONTFORGE" || FONTFORGE="false"
6107 for ac_prog in pkg-config
6109 # Extract the first word of "$ac_prog", so it can be a program name with args.
6110 set dummy $ac_prog; ac_word=$2
6111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6113 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6115 else
6116 if test -n "$PKG_CONFIG"; then
6117 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6118 else
6119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6120 for as_dir in $PATH
6122 IFS=$as_save_IFS
6123 test -z "$as_dir" && as_dir=.
6124 for ac_exec_ext in '' $ac_executable_extensions; do
6125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6126 ac_cv_prog_PKG_CONFIG="$ac_prog"
6127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6128 break 2
6130 done
6131 done
6132 IFS=$as_save_IFS
6136 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6137 if test -n "$PKG_CONFIG"; then
6138 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6139 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6140 else
6141 { echo "$as_me:$LINENO: result: no" >&5
6142 echo "${ECHO_T}no" >&6; }
6146 test -n "$PKG_CONFIG" && break
6147 done
6148 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6151 case $host_cpu in
6152 *i[3456789]86*)
6153 # Extract the first word of "prelink", so it can be a program name with args.
6154 set dummy prelink; ac_word=$2
6155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6157 if test "${ac_cv_path_PRELINK+set}" = set; then
6158 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 else
6160 case $PRELINK in
6161 [\\/]* | ?:[\\/]*)
6162 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 for as_dir in /sbin /usr/sbin $PATH
6168 IFS=$as_save_IFS
6169 test -z "$as_dir" && as_dir=.
6170 for ac_exec_ext in '' $ac_executable_extensions; do
6171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6172 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6174 break 2
6176 done
6177 done
6178 IFS=$as_save_IFS
6180 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6182 esac
6184 PRELINK=$ac_cv_path_PRELINK
6185 if test -n "$PRELINK"; then
6186 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6187 echo "${ECHO_T}$PRELINK" >&6; }
6188 else
6189 { echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6; }
6195 esac
6199 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6200 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6201 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6203 else
6204 ac_check_lib_save_LIBS=$LIBS
6205 LIBS="-li386 $LIBS"
6206 cat >conftest.$ac_ext <<_ACEOF
6207 /* confdefs.h. */
6208 _ACEOF
6209 cat confdefs.h >>conftest.$ac_ext
6210 cat >>conftest.$ac_ext <<_ACEOF
6211 /* end confdefs.h. */
6213 /* Override any GCC internal prototype to avoid an error.
6214 Use char because int might match the return type of a GCC
6215 builtin and then its argument prototype would still apply. */
6216 #ifdef __cplusplus
6217 extern "C"
6218 #endif
6219 char i386_set_ldt ();
6221 main ()
6223 return i386_set_ldt ();
6225 return 0;
6227 _ACEOF
6228 rm -f conftest.$ac_objext conftest$ac_exeext
6229 if { (ac_try="$ac_link"
6230 case "(($ac_try" in
6231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6232 *) ac_try_echo=$ac_try;;
6233 esac
6234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6235 (eval "$ac_link") 2>conftest.er1
6236 ac_status=$?
6237 grep -v '^ *+' conftest.er1 >conftest.err
6238 rm -f conftest.er1
6239 cat conftest.err >&5
6240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 (exit $ac_status); } && {
6242 test -z "$ac_c_werror_flag" ||
6243 test ! -s conftest.err
6244 } && test -s conftest$ac_exeext &&
6245 $as_test_x conftest$ac_exeext; then
6246 ac_cv_lib_i386_i386_set_ldt=yes
6247 else
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.$ac_ext >&5
6251 ac_cv_lib_i386_i386_set_ldt=no
6254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6255 conftest$ac_exeext conftest.$ac_ext
6256 LIBS=$ac_check_lib_save_LIBS
6258 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6259 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6260 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6261 cat >>confdefs.h <<_ACEOF
6262 #define HAVE_LIBI386 1
6263 _ACEOF
6265 LIBS="-li386 $LIBS"
6270 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6271 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6272 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6273 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 else
6275 ac_check_lib_save_LIBS=$LIBS
6276 LIBS="-lossaudio $LIBS"
6277 cat >conftest.$ac_ext <<_ACEOF
6278 /* confdefs.h. */
6279 _ACEOF
6280 cat confdefs.h >>conftest.$ac_ext
6281 cat >>conftest.$ac_ext <<_ACEOF
6282 /* end confdefs.h. */
6284 /* Override any GCC internal prototype to avoid an error.
6285 Use char because int might match the return type of a GCC
6286 builtin and then its argument prototype would still apply. */
6287 #ifdef __cplusplus
6288 extern "C"
6289 #endif
6290 char _oss_ioctl ();
6292 main ()
6294 return _oss_ioctl ();
6296 return 0;
6298 _ACEOF
6299 rm -f conftest.$ac_objext conftest$ac_exeext
6300 if { (ac_try="$ac_link"
6301 case "(($ac_try" in
6302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6303 *) ac_try_echo=$ac_try;;
6304 esac
6305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6306 (eval "$ac_link") 2>conftest.er1
6307 ac_status=$?
6308 grep -v '^ *+' conftest.er1 >conftest.err
6309 rm -f conftest.er1
6310 cat conftest.err >&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); } && {
6313 test -z "$ac_c_werror_flag" ||
6314 test ! -s conftest.err
6315 } && test -s conftest$ac_exeext &&
6316 $as_test_x conftest$ac_exeext; then
6317 ac_cv_lib_ossaudio__oss_ioctl=yes
6318 else
6319 echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.$ac_ext >&5
6322 ac_cv_lib_ossaudio__oss_ioctl=no
6325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6326 conftest$ac_exeext conftest.$ac_ext
6327 LIBS=$ac_check_lib_save_LIBS
6329 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6330 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6331 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6332 cat >>confdefs.h <<_ACEOF
6333 #define HAVE_LIBOSSAUDIO 1
6334 _ACEOF
6336 LIBS="-lossaudio $LIBS"
6340 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6341 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6342 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 else
6345 ac_check_lib_save_LIBS=$LIBS
6346 LIBS="-lpthread $LIBS"
6347 cat >conftest.$ac_ext <<_ACEOF
6348 /* confdefs.h. */
6349 _ACEOF
6350 cat confdefs.h >>conftest.$ac_ext
6351 cat >>conftest.$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6354 /* Override any GCC internal prototype to avoid an error.
6355 Use char because int might match the return type of a GCC
6356 builtin and then its argument prototype would still apply. */
6357 #ifdef __cplusplus
6358 extern "C"
6359 #endif
6360 char pthread_create ();
6362 main ()
6364 return pthread_create ();
6366 return 0;
6368 _ACEOF
6369 rm -f conftest.$ac_objext conftest$ac_exeext
6370 if { (ac_try="$ac_link"
6371 case "(($ac_try" in
6372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6373 *) ac_try_echo=$ac_try;;
6374 esac
6375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6376 (eval "$ac_link") 2>conftest.er1
6377 ac_status=$?
6378 grep -v '^ *+' conftest.er1 >conftest.err
6379 rm -f conftest.er1
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } && {
6383 test -z "$ac_c_werror_flag" ||
6384 test ! -s conftest.err
6385 } && test -s conftest$ac_exeext &&
6386 $as_test_x conftest$ac_exeext; then
6387 ac_cv_lib_pthread_pthread_create=yes
6388 else
6389 echo "$as_me: failed program was:" >&5
6390 sed 's/^/| /' conftest.$ac_ext >&5
6392 ac_cv_lib_pthread_pthread_create=no
6395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6396 conftest$ac_exeext conftest.$ac_ext
6397 LIBS=$ac_check_lib_save_LIBS
6399 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6400 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6401 if test $ac_cv_lib_pthread_pthread_create = yes; then
6402 LIBPTHREAD="-lpthread"
6407 XLIB=""
6409 XFILES=""
6411 OPENGLFILES=""
6413 GLU32FILES=""
6415 OPENGL_LIBS=""
6417 QUARTZFILES=""
6421 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6422 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6423 if test "${ac_cv_header_stdc+set}" = set; then
6424 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 else
6426 cat >conftest.$ac_ext <<_ACEOF
6427 /* confdefs.h. */
6428 _ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6432 #include <stdlib.h>
6433 #include <stdarg.h>
6434 #include <string.h>
6435 #include <float.h>
6438 main ()
6442 return 0;
6444 _ACEOF
6445 rm -f conftest.$ac_objext
6446 if { (ac_try="$ac_compile"
6447 case "(($ac_try" in
6448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449 *) ac_try_echo=$ac_try;;
6450 esac
6451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6452 (eval "$ac_compile") 2>conftest.er1
6453 ac_status=$?
6454 grep -v '^ *+' conftest.er1 >conftest.err
6455 rm -f conftest.er1
6456 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } && {
6459 test -z "$ac_c_werror_flag" ||
6460 test ! -s conftest.err
6461 } && test -s conftest.$ac_objext; then
6462 ac_cv_header_stdc=yes
6463 else
6464 echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.$ac_ext >&5
6467 ac_cv_header_stdc=no
6470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6472 if test $ac_cv_header_stdc = yes; then
6473 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6474 cat >conftest.$ac_ext <<_ACEOF
6475 /* confdefs.h. */
6476 _ACEOF
6477 cat confdefs.h >>conftest.$ac_ext
6478 cat >>conftest.$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 #include <string.h>
6482 _ACEOF
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 $EGREP "memchr" >/dev/null 2>&1; then
6486 else
6487 ac_cv_header_stdc=no
6489 rm -f conftest*
6493 if test $ac_cv_header_stdc = yes; then
6494 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6495 cat >conftest.$ac_ext <<_ACEOF
6496 /* confdefs.h. */
6497 _ACEOF
6498 cat confdefs.h >>conftest.$ac_ext
6499 cat >>conftest.$ac_ext <<_ACEOF
6500 /* end confdefs.h. */
6501 #include <stdlib.h>
6503 _ACEOF
6504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6505 $EGREP "free" >/dev/null 2>&1; then
6507 else
6508 ac_cv_header_stdc=no
6510 rm -f conftest*
6514 if test $ac_cv_header_stdc = yes; then
6515 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6516 if test "$cross_compiling" = yes; then
6518 else
6519 cat >conftest.$ac_ext <<_ACEOF
6520 /* confdefs.h. */
6521 _ACEOF
6522 cat confdefs.h >>conftest.$ac_ext
6523 cat >>conftest.$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6525 #include <ctype.h>
6526 #include <stdlib.h>
6527 #if ((' ' & 0x0FF) == 0x020)
6528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6530 #else
6531 # define ISLOWER(c) \
6532 (('a' <= (c) && (c) <= 'i') \
6533 || ('j' <= (c) && (c) <= 'r') \
6534 || ('s' <= (c) && (c) <= 'z'))
6535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6536 #endif
6538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6540 main ()
6542 int i;
6543 for (i = 0; i < 256; i++)
6544 if (XOR (islower (i), ISLOWER (i))
6545 || toupper (i) != TOUPPER (i))
6546 return 2;
6547 return 0;
6549 _ACEOF
6550 rm -f conftest$ac_exeext
6551 if { (ac_try="$ac_link"
6552 case "(($ac_try" in
6553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554 *) ac_try_echo=$ac_try;;
6555 esac
6556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557 (eval "$ac_link") 2>&5
6558 ac_status=$?
6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6561 { (case "(($ac_try" in
6562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6563 *) ac_try_echo=$ac_try;;
6564 esac
6565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566 (eval "$ac_try") 2>&5
6567 ac_status=$?
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); }; }; then
6571 else
6572 echo "$as_me: program exited with status $ac_status" >&5
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.$ac_ext >&5
6576 ( exit $ac_status )
6577 ac_cv_header_stdc=no
6579 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6585 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6586 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6587 if test $ac_cv_header_stdc = yes; then
6589 cat >>confdefs.h <<\_ACEOF
6590 #define STDC_HEADERS 1
6591 _ACEOF
6595 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6605 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6606 inttypes.h stdint.h unistd.h
6608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6612 echo $ECHO_N "(cached) $ECHO_C" >&6
6613 else
6614 cat >conftest.$ac_ext <<_ACEOF
6615 /* confdefs.h. */
6616 _ACEOF
6617 cat confdefs.h >>conftest.$ac_ext
6618 cat >>conftest.$ac_ext <<_ACEOF
6619 /* end confdefs.h. */
6620 $ac_includes_default
6622 #include <$ac_header>
6623 _ACEOF
6624 rm -f conftest.$ac_objext
6625 if { (ac_try="$ac_compile"
6626 case "(($ac_try" in
6627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6628 *) ac_try_echo=$ac_try;;
6629 esac
6630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6631 (eval "$ac_compile") 2>conftest.er1
6632 ac_status=$?
6633 grep -v '^ *+' conftest.er1 >conftest.err
6634 rm -f conftest.er1
6635 cat conftest.err >&5
6636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6637 (exit $ac_status); } && {
6638 test -z "$ac_c_werror_flag" ||
6639 test ! -s conftest.err
6640 } && test -s conftest.$ac_objext; then
6641 eval "$as_ac_Header=yes"
6642 else
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 eval "$as_ac_Header=no"
6649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6651 ac_res=`eval echo '${'$as_ac_Header'}'`
6652 { echo "$as_me:$LINENO: result: $ac_res" >&5
6653 echo "${ECHO_T}$ac_res" >&6; }
6654 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6655 cat >>confdefs.h <<_ACEOF
6656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6657 _ACEOF
6661 done
6774 for ac_header in \
6775 AudioUnit/AudioUnit.h \
6776 Carbon/Carbon.h \
6777 CoreAudio/CoreAudio.h \
6778 DiskArbitration/DiskArbitration.h \
6779 IOKit/IOKitLib.h \
6780 alsa/asoundlib.h \
6781 arpa/inet.h \
6782 arpa/nameser.h \
6783 asm/types.h \
6784 capi20.h \
6785 cups/cups.h \
6786 curses.h \
6787 direct.h \
6788 dlfcn.h \
6789 elf.h \
6790 float.h \
6791 fontconfig/fontconfig.h \
6792 getopt.h \
6793 ieeefp.h \
6794 io.h \
6795 jack/jack.h \
6796 jpeglib.h \
6797 lber.h \
6798 lcms.h \
6799 lcms/lcms.h \
6800 ldap.h \
6801 libaudioio.h \
6802 link.h \
6803 linux/cdrom.h \
6804 linux/compiler.h \
6805 linux/hdreg.h \
6806 linux/input.h \
6807 linux/ioctl.h \
6808 linux/joystick.h \
6809 linux/major.h \
6810 linux/param.h \
6811 linux/serial.h \
6812 linux/ucdrom.h \
6813 mach/mach.h \
6814 mach/machine.h \
6815 machine/cpu.h \
6816 machine/limits.h \
6817 machine/soundcard.h \
6818 mntent.h \
6819 ncurses.h \
6820 netdb.h \
6821 netinet/in.h \
6822 netinet/in_systm.h \
6823 netinet/tcp.h \
6824 netinet/tcp_fsm.h \
6825 openssl/err.h \
6826 openssl/ssl.h \
6827 png.h \
6828 poll.h \
6829 process.h \
6830 pthread.h \
6831 pwd.h \
6832 regex.h \
6833 sched.h \
6834 scsi/scsi.h \
6835 scsi/scsi_ioctl.h \
6836 scsi/sg.h \
6837 soundcard.h \
6838 stdint.h \
6839 strings.h \
6840 sys/asoundlib.h \
6841 sys/cdio.h \
6842 sys/elf32.h \
6843 sys/epoll.h \
6844 sys/errno.h \
6845 sys/event.h \
6846 sys/exec_elf.h \
6847 sys/filio.h \
6848 sys/ioctl.h \
6849 sys/ipc.h \
6850 sys/limits.h \
6851 sys/link.h \
6852 sys/lwp.h \
6853 sys/mman.h \
6854 sys/modem.h \
6855 sys/msg.h \
6856 sys/mtio.h \
6857 sys/param.h \
6858 sys/poll.h \
6859 sys/prctl.h \
6860 sys/ptrace.h \
6861 sys/reg.h \
6862 sys/resource.h \
6863 sys/scsiio.h \
6864 sys/shm.h \
6865 sys/signal.h \
6866 sys/socket.h \
6867 sys/socketvar.h \
6868 sys/sockio.h \
6869 sys/soundcard.h \
6870 sys/statvfs.h \
6871 sys/strtio.h \
6872 sys/syscall.h \
6873 sys/sysctl.h \
6874 sys/time.h \
6875 sys/times.h \
6876 sys/uio.h \
6877 sys/un.h \
6878 sys/vm86.h \
6879 sys/wait.h \
6880 syscall.h \
6881 termios.h \
6882 unistd.h \
6883 utime.h \
6884 valgrind/memcheck.h
6887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6894 ac_res=`eval echo '${'$as_ac_Header'}'`
6895 { echo "$as_me:$LINENO: result: $ac_res" >&5
6896 echo "${ECHO_T}$ac_res" >&6; }
6897 else
6898 # Is the header compilable?
6899 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6901 cat >conftest.$ac_ext <<_ACEOF
6902 /* confdefs.h. */
6903 _ACEOF
6904 cat confdefs.h >>conftest.$ac_ext
6905 cat >>conftest.$ac_ext <<_ACEOF
6906 /* end confdefs.h. */
6907 $ac_includes_default
6908 #include <$ac_header>
6909 _ACEOF
6910 rm -f conftest.$ac_objext
6911 if { (ac_try="$ac_compile"
6912 case "(($ac_try" in
6913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6914 *) ac_try_echo=$ac_try;;
6915 esac
6916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6917 (eval "$ac_compile") 2>conftest.er1
6918 ac_status=$?
6919 grep -v '^ *+' conftest.er1 >conftest.err
6920 rm -f conftest.er1
6921 cat conftest.err >&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); } && {
6924 test -z "$ac_c_werror_flag" ||
6925 test ! -s conftest.err
6926 } && test -s conftest.$ac_objext; then
6927 ac_header_compiler=yes
6928 else
6929 echo "$as_me: failed program was:" >&5
6930 sed 's/^/| /' conftest.$ac_ext >&5
6932 ac_header_compiler=no
6935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6936 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6937 echo "${ECHO_T}$ac_header_compiler" >&6; }
6939 # Is the header present?
6940 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6942 cat >conftest.$ac_ext <<_ACEOF
6943 /* confdefs.h. */
6944 _ACEOF
6945 cat confdefs.h >>conftest.$ac_ext
6946 cat >>conftest.$ac_ext <<_ACEOF
6947 /* end confdefs.h. */
6948 #include <$ac_header>
6949 _ACEOF
6950 if { (ac_try="$ac_cpp conftest.$ac_ext"
6951 case "(($ac_try" in
6952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6953 *) ac_try_echo=$ac_try;;
6954 esac
6955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6957 ac_status=$?
6958 grep -v '^ *+' conftest.er1 >conftest.err
6959 rm -f conftest.er1
6960 cat conftest.err >&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } >/dev/null && {
6963 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6964 test ! -s conftest.err
6965 }; then
6966 ac_header_preproc=yes
6967 else
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6971 ac_header_preproc=no
6974 rm -f conftest.err conftest.$ac_ext
6975 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6976 echo "${ECHO_T}$ac_header_preproc" >&6; }
6978 # So? What about this header?
6979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6980 yes:no: )
6981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6985 ac_header_preproc=yes
6987 no:yes:* )
6988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7000 ( cat <<\_ASBOX
7001 ## ------------------------------------ ##
7002 ## Report this to wine-devel@winehq.org ##
7003 ## ------------------------------------ ##
7004 _ASBOX
7005 ) | sed "s/^/$as_me: WARNING: /" >&2
7007 esac
7008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 else
7013 eval "$as_ac_Header=\$ac_header_preproc"
7015 ac_res=`eval echo '${'$as_ac_Header'}'`
7016 { echo "$as_me:$LINENO: result: $ac_res" >&5
7017 echo "${ECHO_T}$ac_res" >&6; }
7020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7021 cat >>confdefs.h <<_ACEOF
7022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7023 _ACEOF
7027 done
7029 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7030 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7031 if test "${ac_cv_header_stat_broken+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 else
7034 cat >conftest.$ac_ext <<_ACEOF
7035 /* confdefs.h. */
7036 _ACEOF
7037 cat confdefs.h >>conftest.$ac_ext
7038 cat >>conftest.$ac_ext <<_ACEOF
7039 /* end confdefs.h. */
7040 #include <sys/types.h>
7041 #include <sys/stat.h>
7043 #if defined S_ISBLK && defined S_IFDIR
7044 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7045 #endif
7047 #if defined S_ISBLK && defined S_IFCHR
7048 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7049 #endif
7051 #if defined S_ISLNK && defined S_IFREG
7052 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7053 #endif
7055 #if defined S_ISSOCK && defined S_IFREG
7056 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7057 #endif
7059 _ACEOF
7060 rm -f conftest.$ac_objext
7061 if { (ac_try="$ac_compile"
7062 case "(($ac_try" in
7063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7064 *) ac_try_echo=$ac_try;;
7065 esac
7066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7067 (eval "$ac_compile") 2>conftest.er1
7068 ac_status=$?
7069 grep -v '^ *+' conftest.er1 >conftest.err
7070 rm -f conftest.er1
7071 cat conftest.err >&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } && {
7074 test -z "$ac_c_werror_flag" ||
7075 test ! -s conftest.err
7076 } && test -s conftest.$ac_objext; then
7077 ac_cv_header_stat_broken=no
7078 else
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.$ac_ext >&5
7082 ac_cv_header_stat_broken=yes
7085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7087 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7088 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7089 if test $ac_cv_header_stat_broken = yes; then
7091 cat >>confdefs.h <<\_ACEOF
7092 #define STAT_MACROS_BROKEN 1
7093 _ACEOF
7103 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7106 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7109 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 else
7111 cat >conftest.$ac_ext <<_ACEOF
7112 /* confdefs.h. */
7113 _ACEOF
7114 cat confdefs.h >>conftest.$ac_ext
7115 cat >>conftest.$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7117 #include <sys/types.h>
7118 #if HAVE_SYS_PARAM_H
7119 # include <sys/param.h>
7120 #endif
7122 #include <$ac_header>
7123 _ACEOF
7124 rm -f conftest.$ac_objext
7125 if { (ac_try="$ac_compile"
7126 case "(($ac_try" in
7127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7128 *) ac_try_echo=$ac_try;;
7129 esac
7130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7131 (eval "$ac_compile") 2>conftest.er1
7132 ac_status=$?
7133 grep -v '^ *+' conftest.er1 >conftest.err
7134 rm -f conftest.er1
7135 cat conftest.err >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } && {
7138 test -z "$ac_c_werror_flag" ||
7139 test ! -s conftest.err
7140 } && test -s conftest.$ac_objext; then
7141 eval "$as_ac_Header=yes"
7142 else
7143 echo "$as_me: failed program was:" >&5
7144 sed 's/^/| /' conftest.$ac_ext >&5
7146 eval "$as_ac_Header=no"
7149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151 ac_res=`eval echo '${'$as_ac_Header'}'`
7152 { echo "$as_me:$LINENO: result: $ac_res" >&5
7153 echo "${ECHO_T}$ac_res" >&6; }
7154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7155 cat >>confdefs.h <<_ACEOF
7156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7157 _ACEOF
7161 done
7172 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
7174 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7175 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7179 else
7180 cat >conftest.$ac_ext <<_ACEOF
7181 /* confdefs.h. */
7182 _ACEOF
7183 cat confdefs.h >>conftest.$ac_ext
7184 cat >>conftest.$ac_ext <<_ACEOF
7185 /* end confdefs.h. */
7186 #include <sys/types.h>
7187 #if HAVE_SYS_SOCKET_H
7188 # include <sys/socket.h>
7189 #endif
7190 #if HAVE_SYS_SOCKETVAR_H
7191 # include <sys/socketvar.h>
7192 #endif
7193 #if HAVE_NETINET_IN_H
7194 # include <netinet/in.h>
7195 #endif
7197 #include <$ac_header>
7198 _ACEOF
7199 rm -f conftest.$ac_objext
7200 if { (ac_try="$ac_compile"
7201 case "(($ac_try" in
7202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7203 *) ac_try_echo=$ac_try;;
7204 esac
7205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7206 (eval "$ac_compile") 2>conftest.er1
7207 ac_status=$?
7208 grep -v '^ *+' conftest.er1 >conftest.err
7209 rm -f conftest.er1
7210 cat conftest.err >&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } && {
7213 test -z "$ac_c_werror_flag" ||
7214 test ! -s conftest.err
7215 } && test -s conftest.$ac_objext; then
7216 eval "$as_ac_Header=yes"
7217 else
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.$ac_ext >&5
7221 eval "$as_ac_Header=no"
7224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7226 ac_res=`eval echo '${'$as_ac_Header'}'`
7227 { echo "$as_me:$LINENO: result: $ac_res" >&5
7228 echo "${ECHO_T}$ac_res" >&6; }
7229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7230 cat >>confdefs.h <<_ACEOF
7231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7232 _ACEOF
7236 done
7240 for ac_header in netinet/tcp_var.h
7242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7243 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7246 echo $ECHO_N "(cached) $ECHO_C" >&6
7247 else
7248 cat >conftest.$ac_ext <<_ACEOF
7249 /* confdefs.h. */
7250 _ACEOF
7251 cat confdefs.h >>conftest.$ac_ext
7252 cat >>conftest.$ac_ext <<_ACEOF
7253 /* end confdefs.h. */
7254 #include <sys/types.h>
7255 #if HAVE_SYS_SOCKET_H
7256 # include <sys/socket.h>
7257 #endif
7258 #if HAVE_SYS_SOCKETVAR_H
7259 # include <sys/socketvar.h>
7260 #endif
7261 #if HAVE_NETINET_IN_H
7262 # include <netinet/in.h>
7263 #endif
7264 #ifdef HAVE_NETINET_TCP_H
7265 # include <netinet/tcp.h>
7266 #endif
7268 #include <$ac_header>
7269 _ACEOF
7270 rm -f conftest.$ac_objext
7271 if { (ac_try="$ac_compile"
7272 case "(($ac_try" in
7273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7274 *) ac_try_echo=$ac_try;;
7275 esac
7276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7277 (eval "$ac_compile") 2>conftest.er1
7278 ac_status=$?
7279 grep -v '^ *+' conftest.er1 >conftest.err
7280 rm -f conftest.er1
7281 cat conftest.err >&5
7282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283 (exit $ac_status); } && {
7284 test -z "$ac_c_werror_flag" ||
7285 test ! -s conftest.err
7286 } && test -s conftest.$ac_objext; then
7287 eval "$as_ac_Header=yes"
7288 else
7289 echo "$as_me: failed program was:" >&5
7290 sed 's/^/| /' conftest.$ac_ext >&5
7292 eval "$as_ac_Header=no"
7295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7297 ac_res=`eval echo '${'$as_ac_Header'}'`
7298 { echo "$as_me:$LINENO: result: $ac_res" >&5
7299 echo "${ECHO_T}$ac_res" >&6; }
7300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7301 cat >>confdefs.h <<_ACEOF
7302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7303 _ACEOF
7307 done
7311 for ac_header in linux/ipx.h
7313 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7314 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7317 echo $ECHO_N "(cached) $ECHO_C" >&6
7318 else
7319 cat >conftest.$ac_ext <<_ACEOF
7320 /* confdefs.h. */
7321 _ACEOF
7322 cat confdefs.h >>conftest.$ac_ext
7323 cat >>conftest.$ac_ext <<_ACEOF
7324 /* end confdefs.h. */
7325 #include <sys/types.h>
7326 #ifdef HAVE_ASM_TYPES_H
7327 # include <asm/types.h>
7328 #endif
7329 #if HAVE_SYS_SOCKET_H
7330 # include <sys/socket.h>
7331 #endif
7333 #include <$ac_header>
7334 _ACEOF
7335 rm -f conftest.$ac_objext
7336 if { (ac_try="$ac_compile"
7337 case "(($ac_try" in
7338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7339 *) ac_try_echo=$ac_try;;
7340 esac
7341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7342 (eval "$ac_compile") 2>conftest.er1
7343 ac_status=$?
7344 grep -v '^ *+' conftest.er1 >conftest.err
7345 rm -f conftest.er1
7346 cat conftest.err >&5
7347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348 (exit $ac_status); } && {
7349 test -z "$ac_c_werror_flag" ||
7350 test ! -s conftest.err
7351 } && test -s conftest.$ac_objext; then
7352 eval "$as_ac_Header=yes"
7353 else
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.$ac_ext >&5
7357 eval "$as_ac_Header=no"
7360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7362 ac_res=`eval echo '${'$as_ac_Header'}'`
7363 { echo "$as_me:$LINENO: result: $ac_res" >&5
7364 echo "${ECHO_T}$ac_res" >&6; }
7365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7366 cat >>confdefs.h <<_ACEOF
7367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7368 _ACEOF
7372 done
7376 for ac_header in resolv.h
7378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7379 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7381 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7382 echo $ECHO_N "(cached) $ECHO_C" >&6
7383 else
7384 cat >conftest.$ac_ext <<_ACEOF
7385 /* confdefs.h. */
7386 _ACEOF
7387 cat confdefs.h >>conftest.$ac_ext
7388 cat >>conftest.$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 #include <sys/types.h>
7391 #if HAVE_SYS_SOCKET_H
7392 # include <sys/socket.h>
7393 #endif
7394 #if HAVE_NETINET_IN_H
7395 # include <netinet/in.h>
7396 #endif
7397 #if HAVE_ARPA_NAMESER_H
7398 # include <arpa/nameser.h>
7399 #endif
7401 #include <$ac_header>
7402 _ACEOF
7403 rm -f conftest.$ac_objext
7404 if { (ac_try="$ac_compile"
7405 case "(($ac_try" in
7406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7407 *) ac_try_echo=$ac_try;;
7408 esac
7409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7410 (eval "$ac_compile") 2>conftest.er1
7411 ac_status=$?
7412 grep -v '^ *+' conftest.er1 >conftest.err
7413 rm -f conftest.er1
7414 cat conftest.err >&5
7415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7416 (exit $ac_status); } && {
7417 test -z "$ac_c_werror_flag" ||
7418 test ! -s conftest.err
7419 } && test -s conftest.$ac_objext; then
7420 eval "$as_ac_Header=yes"
7421 else
7422 echo "$as_me: failed program was:" >&5
7423 sed 's/^/| /' conftest.$ac_ext >&5
7425 eval "$as_ac_Header=no"
7428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7430 ac_res=`eval echo '${'$as_ac_Header'}'`
7431 { echo "$as_me:$LINENO: result: $ac_res" >&5
7432 echo "${ECHO_T}$ac_res" >&6; }
7433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7434 cat >>confdefs.h <<_ACEOF
7435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7436 _ACEOF
7440 done
7444 for ac_header in ucontext.h
7446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7447 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7449 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7450 echo $ECHO_N "(cached) $ECHO_C" >&6
7451 else
7452 cat >conftest.$ac_ext <<_ACEOF
7453 /* confdefs.h. */
7454 _ACEOF
7455 cat confdefs.h >>conftest.$ac_ext
7456 cat >>conftest.$ac_ext <<_ACEOF
7457 /* end confdefs.h. */
7458 #include <signal.h>
7460 #include <$ac_header>
7461 _ACEOF
7462 rm -f conftest.$ac_objext
7463 if { (ac_try="$ac_compile"
7464 case "(($ac_try" in
7465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7466 *) ac_try_echo=$ac_try;;
7467 esac
7468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7469 (eval "$ac_compile") 2>conftest.er1
7470 ac_status=$?
7471 grep -v '^ *+' conftest.er1 >conftest.err
7472 rm -f conftest.er1
7473 cat conftest.err >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); } && {
7476 test -z "$ac_c_werror_flag" ||
7477 test ! -s conftest.err
7478 } && test -s conftest.$ac_objext; then
7479 eval "$as_ac_Header=yes"
7480 else
7481 echo "$as_me: failed program was:" >&5
7482 sed 's/^/| /' conftest.$ac_ext >&5
7484 eval "$as_ac_Header=no"
7487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7489 ac_res=`eval echo '${'$as_ac_Header'}'`
7490 { echo "$as_me:$LINENO: result: $ac_res" >&5
7491 echo "${ECHO_T}$ac_res" >&6; }
7492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7493 cat >>confdefs.h <<_ACEOF
7494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7495 _ACEOF
7499 done
7503 for ac_header in sys/thr.h
7505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7506 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7508 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7509 echo $ECHO_N "(cached) $ECHO_C" >&6
7510 else
7511 cat >conftest.$ac_ext <<_ACEOF
7512 /* confdefs.h. */
7513 _ACEOF
7514 cat confdefs.h >>conftest.$ac_ext
7515 cat >>conftest.$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7517 #include <sys/types.h>
7518 #if HAVE_UCONTEXT_H
7519 #include <ucontext.h>
7520 #endif
7522 #include <$ac_header>
7523 _ACEOF
7524 rm -f conftest.$ac_objext
7525 if { (ac_try="$ac_compile"
7526 case "(($ac_try" in
7527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7528 *) ac_try_echo=$ac_try;;
7529 esac
7530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7531 (eval "$ac_compile") 2>conftest.er1
7532 ac_status=$?
7533 grep -v '^ *+' conftest.er1 >conftest.err
7534 rm -f conftest.er1
7535 cat conftest.err >&5
7536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7537 (exit $ac_status); } && {
7538 test -z "$ac_c_werror_flag" ||
7539 test ! -s conftest.err
7540 } && test -s conftest.$ac_objext; then
7541 eval "$as_ac_Header=yes"
7542 else
7543 echo "$as_me: failed program was:" >&5
7544 sed 's/^/| /' conftest.$ac_ext >&5
7546 eval "$as_ac_Header=no"
7549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7551 ac_res=`eval echo '${'$as_ac_Header'}'`
7552 { echo "$as_me:$LINENO: result: $ac_res" >&5
7553 echo "${ECHO_T}$ac_res" >&6; }
7554 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7555 cat >>confdefs.h <<_ACEOF
7556 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7557 _ACEOF
7561 done
7565 for ac_header in pthread_np.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 #ifdef HAVE_PTHREAD_H
7580 #include <pthread.h>
7581 #endif
7583 #include <$ac_header>
7584 _ACEOF
7585 rm -f conftest.$ac_objext
7586 if { (ac_try="$ac_compile"
7587 case "(($ac_try" in
7588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7589 *) ac_try_echo=$ac_try;;
7590 esac
7591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7592 (eval "$ac_compile") 2>conftest.er1
7593 ac_status=$?
7594 grep -v '^ *+' conftest.er1 >conftest.err
7595 rm -f conftest.er1
7596 cat conftest.err >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } && {
7599 test -z "$ac_c_werror_flag" ||
7600 test ! -s conftest.err
7601 } && test -s conftest.$ac_objext; then
7602 eval "$as_ac_Header=yes"
7603 else
7604 echo "$as_me: failed program was:" >&5
7605 sed 's/^/| /' conftest.$ac_ext >&5
7607 eval "$as_ac_Header=no"
7610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7612 ac_res=`eval echo '${'$as_ac_Header'}'`
7613 { echo "$as_me:$LINENO: result: $ac_res" >&5
7614 echo "${ECHO_T}$ac_res" >&6; }
7615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7616 cat >>confdefs.h <<_ACEOF
7617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618 _ACEOF
7622 done
7626 for ac_header in linux/videodev.h
7628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7629 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7633 else
7634 cat >conftest.$ac_ext <<_ACEOF
7635 /* confdefs.h. */
7636 _ACEOF
7637 cat confdefs.h >>conftest.$ac_ext
7638 cat >>conftest.$ac_ext <<_ACEOF
7639 /* end confdefs.h. */
7640 #ifdef HAVE_SYS_TIME_H
7641 #include <sys/time.h>
7642 #endif
7643 #include <sys/types.h>
7644 #ifdef HAVE_ASM_TYPES_H
7645 #include <asm/types.h>
7646 #endif
7648 #include <$ac_header>
7649 _ACEOF
7650 rm -f conftest.$ac_objext
7651 if { (ac_try="$ac_compile"
7652 case "(($ac_try" in
7653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7654 *) ac_try_echo=$ac_try;;
7655 esac
7656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7657 (eval "$ac_compile") 2>conftest.er1
7658 ac_status=$?
7659 grep -v '^ *+' conftest.er1 >conftest.err
7660 rm -f conftest.er1
7661 cat conftest.err >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } && {
7664 test -z "$ac_c_werror_flag" ||
7665 test ! -s conftest.err
7666 } && test -s conftest.$ac_objext; then
7667 eval "$as_ac_Header=yes"
7668 else
7669 echo "$as_me: failed program was:" >&5
7670 sed 's/^/| /' conftest.$ac_ext >&5
7672 eval "$as_ac_Header=no"
7675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7677 ac_res=`eval echo '${'$as_ac_Header'}'`
7678 { echo "$as_me:$LINENO: result: $ac_res" >&5
7679 echo "${ECHO_T}$ac_res" >&6; }
7680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7681 cat >>confdefs.h <<_ACEOF
7682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7683 _ACEOF
7687 done
7691 for ac_header in linux/capi.h
7693 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7694 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7697 echo $ECHO_N "(cached) $ECHO_C" >&6
7698 else
7699 cat >conftest.$ac_ext <<_ACEOF
7700 /* confdefs.h. */
7701 _ACEOF
7702 cat confdefs.h >>conftest.$ac_ext
7703 cat >>conftest.$ac_ext <<_ACEOF
7704 /* end confdefs.h. */
7705 #define __user
7707 #include <$ac_header>
7708 _ACEOF
7709 rm -f conftest.$ac_objext
7710 if { (ac_try="$ac_compile"
7711 case "(($ac_try" in
7712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7713 *) ac_try_echo=$ac_try;;
7714 esac
7715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7716 (eval "$ac_compile") 2>conftest.er1
7717 ac_status=$?
7718 grep -v '^ *+' conftest.er1 >conftest.err
7719 rm -f conftest.er1
7720 cat conftest.err >&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); } && {
7723 test -z "$ac_c_werror_flag" ||
7724 test ! -s conftest.err
7725 } && test -s conftest.$ac_objext; then
7726 eval "$as_ac_Header=yes"
7727 else
7728 echo "$as_me: failed program was:" >&5
7729 sed 's/^/| /' conftest.$ac_ext >&5
7731 eval "$as_ac_Header=no"
7734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7736 ac_res=`eval echo '${'$as_ac_Header'}'`
7737 { echo "$as_me:$LINENO: result: $ac_res" >&5
7738 echo "${ECHO_T}$ac_res" >&6; }
7739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7740 cat >>confdefs.h <<_ACEOF
7741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7742 _ACEOF
7746 done
7750 DLLEXT=""
7752 DLLFLAGS="-D_REENTRANT"
7754 LDSHARED=""
7756 LDDLLFLAGS=""
7758 LIBEXT="so"
7760 IMPLIBEXT="def"
7762 LDRPATH_INSTALL=""
7764 LDRPATH_LOCAL=""
7766 # Extract the first word of "ldd", so it can be a program name with args.
7767 set dummy ldd; ac_word=$2
7768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7770 if test "${ac_cv_path_LDD+set}" = set; then
7771 echo $ECHO_N "(cached) $ECHO_C" >&6
7772 else
7773 case $LDD in
7774 [\\/]* | ?:[\\/]*)
7775 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7779 as_dummy="/sbin:/usr/sbin:$PATH"
7780 for as_dir in $as_dummy
7782 IFS=$as_save_IFS
7783 test -z "$as_dir" && as_dir=.
7784 for ac_exec_ext in '' $ac_executable_extensions; do
7785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7786 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7788 break 2
7790 done
7791 done
7792 IFS=$as_save_IFS
7794 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7796 esac
7798 LDD=$ac_cv_path_LDD
7799 if test -n "$LDD"; then
7800 { echo "$as_me:$LINENO: result: $LDD" >&5
7801 echo "${ECHO_T}$LDD" >&6; }
7802 else
7803 { echo "$as_me:$LINENO: result: no" >&5
7804 echo "${ECHO_T}no" >&6; }
7809 case $host_os in
7810 cygwin*|mingw32*)
7811 if test -n "$ac_tool_prefix"; then
7812 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7813 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7816 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7817 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 else
7819 if test -n "$DLLTOOL"; then
7820 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7821 else
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 for as_dir in $PATH
7825 IFS=$as_save_IFS
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 break 2
7833 done
7834 done
7835 IFS=$as_save_IFS
7839 DLLTOOL=$ac_cv_prog_DLLTOOL
7840 if test -n "$DLLTOOL"; then
7841 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7842 echo "${ECHO_T}$DLLTOOL" >&6; }
7843 else
7844 { echo "$as_me:$LINENO: result: no" >&5
7845 echo "${ECHO_T}no" >&6; }
7850 if test -z "$ac_cv_prog_DLLTOOL"; then
7851 ac_ct_DLLTOOL=$DLLTOOL
7852 # Extract the first word of "dlltool", so it can be a program name with args.
7853 set dummy dlltool; ac_word=$2
7854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7856 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7858 else
7859 if test -n "$ac_ct_DLLTOOL"; then
7860 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7861 else
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7863 for as_dir in $PATH
7865 IFS=$as_save_IFS
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 break 2
7873 done
7874 done
7875 IFS=$as_save_IFS
7879 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7880 if test -n "$ac_ct_DLLTOOL"; then
7881 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7882 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7883 else
7884 { echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6; }
7888 if test "x$ac_ct_DLLTOOL" = x; then
7889 DLLTOOL="false"
7890 else
7891 case $cross_compiling:$ac_tool_warned in
7892 yes:)
7893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7894 whose name does not start with the host triplet. If you think this
7895 configuration is useful to you, please write to autoconf@gnu.org." >&5
7896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7897 whose name does not start with the host triplet. If you think this
7898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7899 ac_tool_warned=yes ;;
7900 esac
7901 DLLTOOL=$ac_ct_DLLTOOL
7903 else
7904 DLLTOOL="$ac_cv_prog_DLLTOOL"
7907 if test -n "$ac_tool_prefix"; then
7908 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7909 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7912 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7913 echo $ECHO_N "(cached) $ECHO_C" >&6
7914 else
7915 if test -n "$DLLWRAP"; then
7916 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7917 else
7918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7919 for as_dir in $PATH
7921 IFS=$as_save_IFS
7922 test -z "$as_dir" && as_dir=.
7923 for ac_exec_ext in '' $ac_executable_extensions; do
7924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7925 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7927 break 2
7929 done
7930 done
7931 IFS=$as_save_IFS
7935 DLLWRAP=$ac_cv_prog_DLLWRAP
7936 if test -n "$DLLWRAP"; then
7937 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7938 echo "${ECHO_T}$DLLWRAP" >&6; }
7939 else
7940 { echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6; }
7946 if test -z "$ac_cv_prog_DLLWRAP"; then
7947 ac_ct_DLLWRAP=$DLLWRAP
7948 # Extract the first word of "dllwrap", so it can be a program name with args.
7949 set dummy dllwrap; ac_word=$2
7950 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7952 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7953 echo $ECHO_N "(cached) $ECHO_C" >&6
7954 else
7955 if test -n "$ac_ct_DLLWRAP"; then
7956 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7957 else
7958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7959 for as_dir in $PATH
7961 IFS=$as_save_IFS
7962 test -z "$as_dir" && as_dir=.
7963 for ac_exec_ext in '' $ac_executable_extensions; do
7964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7965 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7967 break 2
7969 done
7970 done
7971 IFS=$as_save_IFS
7975 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7976 if test -n "$ac_ct_DLLWRAP"; then
7977 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7978 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7979 else
7980 { echo "$as_me:$LINENO: result: no" >&5
7981 echo "${ECHO_T}no" >&6; }
7984 if test "x$ac_ct_DLLWRAP" = x; then
7985 DLLWRAP="false"
7986 else
7987 case $cross_compiling:$ac_tool_warned in
7988 yes:)
7989 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7990 whose name does not start with the host triplet. If you think this
7991 configuration is useful to you, please write to autoconf@gnu.org." >&5
7992 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7993 whose name does not start with the host triplet. If you think this
7994 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7995 ac_tool_warned=yes ;;
7996 esac
7997 DLLWRAP=$ac_ct_DLLWRAP
7999 else
8000 DLLWRAP="$ac_cv_prog_DLLWRAP"
8003 if test -n "$ac_tool_prefix"; then
8004 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8005 set dummy ${ac_tool_prefix}ar; ac_word=$2
8006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8008 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8009 echo $ECHO_N "(cached) $ECHO_C" >&6
8010 else
8011 if test -n "$MINGWAR"; then
8012 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8013 else
8014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8015 for as_dir in $PATH
8017 IFS=$as_save_IFS
8018 test -z "$as_dir" && as_dir=.
8019 for ac_exec_ext in '' $ac_executable_extensions; do
8020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8021 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 break 2
8025 done
8026 done
8027 IFS=$as_save_IFS
8031 MINGWAR=$ac_cv_prog_MINGWAR
8032 if test -n "$MINGWAR"; then
8033 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8034 echo "${ECHO_T}$MINGWAR" >&6; }
8035 else
8036 { echo "$as_me:$LINENO: result: no" >&5
8037 echo "${ECHO_T}no" >&6; }
8042 if test -z "$ac_cv_prog_MINGWAR"; then
8043 ac_ct_MINGWAR=$MINGWAR
8044 # Extract the first word of "ar", so it can be a program name with args.
8045 set dummy ar; ac_word=$2
8046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8048 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8050 else
8051 if test -n "$ac_ct_MINGWAR"; then
8052 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8053 else
8054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055 for as_dir in $PATH
8057 IFS=$as_save_IFS
8058 test -z "$as_dir" && as_dir=.
8059 for ac_exec_ext in '' $ac_executable_extensions; do
8060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8061 ac_cv_prog_ac_ct_MINGWAR="ar"
8062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8063 break 2
8065 done
8066 done
8067 IFS=$as_save_IFS
8071 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8072 if test -n "$ac_ct_MINGWAR"; then
8073 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8074 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8075 else
8076 { echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6; }
8080 if test "x$ac_ct_MINGWAR" = x; then
8081 MINGWAR="false"
8082 else
8083 case $cross_compiling:$ac_tool_warned in
8084 yes:)
8085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8086 whose name does not start with the host triplet. If you think this
8087 configuration is useful to you, please write to autoconf@gnu.org." >&5
8088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8089 whose name does not start with the host triplet. If you think this
8090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8091 ac_tool_warned=yes ;;
8092 esac
8093 MINGWAR=$ac_ct_MINGWAR
8095 else
8096 MINGWAR="$ac_cv_prog_MINGWAR"
8099 if test "$DLLWRAP" = "false"; then
8100 LIBEXT="a"
8101 else
8102 LIBEXT="dll"
8104 IMPLIBEXT="a"
8105 WIN16_FILES=""
8106 WIN16_INSTALL=""
8108 darwin*|macosx*)
8109 DLLEXT=".so"
8110 LIBEXT="dylib"
8111 DLLFLAGS="$DLLFLAGS -fPIC"
8112 LDDLLFLAGS="-bundle -multiply_defined suppress"
8113 LIBWINE_LDFLAGS="-multiply_defined suppress"
8114 LDSHARED="\$(CC) -dynamiclib"
8115 STRIP="$STRIP -x"
8116 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8117 COREFOUNDATIONLIB="-framework CoreFoundation"
8119 IOKITLIB="-framework IOKit -framework CoreFoundation"
8121 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8123 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8124 then
8125 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8128 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8129 then
8130 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8133 case $host_cpu in
8134 *powerpc*)
8135 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8136 esac
8137 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8138 then
8139 CARBONLIB="-framework Carbon"
8141 QUARTZFILES='$(QUARTZFILES)'
8145 DLLFLAGS="$DLLFLAGS -fPIC"
8146 DLLEXT=".so"
8147 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8148 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8149 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8150 echo $ECHO_N "(cached) $ECHO_C" >&6
8151 else
8152 ac_wine_try_cflags_saved=$CFLAGS
8153 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8154 cat >conftest.$ac_ext <<_ACEOF
8155 void myfunc() {}
8156 _ACEOF
8157 rm -f conftest.$ac_objext conftest$ac_exeext
8158 if { (ac_try="$ac_link"
8159 case "(($ac_try" in
8160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8161 *) ac_try_echo=$ac_try;;
8162 esac
8163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8164 (eval "$ac_link") 2>conftest.er1
8165 ac_status=$?
8166 grep -v '^ *+' conftest.er1 >conftest.err
8167 rm -f conftest.er1
8168 cat conftest.err >&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); } && {
8171 test -z "$ac_c_werror_flag" ||
8172 test ! -s conftest.err
8173 } && test -s conftest$ac_exeext &&
8174 $as_test_x conftest$ac_exeext; then
8175 ac_cv_c_dll_gnuelf="yes"
8176 else
8177 echo "$as_me: failed program was:" >&5
8178 sed 's/^/| /' conftest.$ac_ext >&5
8180 ac_cv_c_dll_gnuelf="no"
8183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8184 conftest$ac_exeext conftest.$ac_ext
8185 CFLAGS=$ac_wine_try_cflags_saved
8187 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8188 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8189 if test "$ac_cv_c_dll_gnuelf" = "yes"
8190 then
8191 LDSHARED="\$(CC) -shared"
8192 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8193 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8194 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8195 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8196 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 else
8198 ac_wine_try_cflags_saved=$CFLAGS
8199 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8200 cat >conftest.$ac_ext <<_ACEOF
8201 /* confdefs.h. */
8202 _ACEOF
8203 cat confdefs.h >>conftest.$ac_ext
8204 cat >>conftest.$ac_ext <<_ACEOF
8205 /* end confdefs.h. */
8208 main ()
8212 return 0;
8214 _ACEOF
8215 rm -f conftest.$ac_objext conftest$ac_exeext
8216 if { (ac_try="$ac_link"
8217 case "(($ac_try" in
8218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8219 *) ac_try_echo=$ac_try;;
8220 esac
8221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8222 (eval "$ac_link") 2>conftest.er1
8223 ac_status=$?
8224 grep -v '^ *+' conftest.er1 >conftest.err
8225 rm -f conftest.er1
8226 cat conftest.err >&5
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); } && {
8229 test -z "$ac_c_werror_flag" ||
8230 test ! -s conftest.err
8231 } && test -s conftest$ac_exeext &&
8232 $as_test_x conftest$ac_exeext; then
8233 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8234 else
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.$ac_ext >&5
8238 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8242 conftest$ac_exeext conftest.$ac_ext
8243 CFLAGS=$ac_wine_try_cflags_saved
8245 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8246 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8247 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8248 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8249 else
8250 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8251 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8252 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8253 echo $ECHO_N "(cached) $ECHO_C" >&6
8254 else
8255 ac_wine_try_cflags_saved=$CFLAGS
8256 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8257 cat >conftest.$ac_ext <<_ACEOF
8258 /* confdefs.h. */
8259 _ACEOF
8260 cat confdefs.h >>conftest.$ac_ext
8261 cat >>conftest.$ac_ext <<_ACEOF
8262 /* end confdefs.h. */
8265 main ()
8269 return 0;
8271 _ACEOF
8272 rm -f conftest.$ac_objext conftest$ac_exeext
8273 if { (ac_try="$ac_link"
8274 case "(($ac_try" in
8275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8276 *) ac_try_echo=$ac_try;;
8277 esac
8278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8279 (eval "$ac_link") 2>conftest.er1
8280 ac_status=$?
8281 grep -v '^ *+' conftest.er1 >conftest.err
8282 rm -f conftest.er1
8283 cat conftest.err >&5
8284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8285 (exit $ac_status); } && {
8286 test -z "$ac_c_werror_flag" ||
8287 test ! -s conftest.err
8288 } && test -s conftest$ac_exeext &&
8289 $as_test_x conftest$ac_exeext; then
8290 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8291 else
8292 echo "$as_me: failed program was:" >&5
8293 sed 's/^/| /' conftest.$ac_ext >&5
8295 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8299 conftest$ac_exeext conftest.$ac_ext
8300 CFLAGS=$ac_wine_try_cflags_saved
8302 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8303 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8304 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8305 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8311 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8312 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8313 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8314 echo $ECHO_N "(cached) $ECHO_C" >&6
8315 else
8316 ac_wine_try_cflags_saved=$CFLAGS
8317 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8318 cat >conftest.$ac_ext <<_ACEOF
8319 /* confdefs.h. */
8320 _ACEOF
8321 cat confdefs.h >>conftest.$ac_ext
8322 cat >>conftest.$ac_ext <<_ACEOF
8323 /* end confdefs.h. */
8326 main ()
8330 return 0;
8332 _ACEOF
8333 rm -f conftest.$ac_objext conftest$ac_exeext
8334 if { (ac_try="$ac_link"
8335 case "(($ac_try" in
8336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8337 *) ac_try_echo=$ac_try;;
8338 esac
8339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8340 (eval "$ac_link") 2>conftest.er1
8341 ac_status=$?
8342 grep -v '^ *+' conftest.er1 >conftest.err
8343 rm -f conftest.er1
8344 cat conftest.err >&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); } && {
8347 test -z "$ac_c_werror_flag" ||
8348 test ! -s conftest.err
8349 } && test -s conftest$ac_exeext &&
8350 $as_test_x conftest$ac_exeext; then
8351 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8352 else
8353 echo "$as_me: failed program was:" >&5
8354 sed 's/^/| /' conftest.$ac_ext >&5
8356 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8360 conftest$ac_exeext conftest.$ac_ext
8361 CFLAGS=$ac_wine_try_cflags_saved
8363 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8364 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8365 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8366 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8370 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8371 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8372 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 else
8375 ac_wine_try_cflags_saved=$CFLAGS
8376 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8377 cat >conftest.$ac_ext <<_ACEOF
8378 /* confdefs.h. */
8379 _ACEOF
8380 cat confdefs.h >>conftest.$ac_ext
8381 cat >>conftest.$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8385 main ()
8389 return 0;
8391 _ACEOF
8392 rm -f conftest.$ac_objext conftest$ac_exeext
8393 if { (ac_try="$ac_link"
8394 case "(($ac_try" in
8395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8396 *) ac_try_echo=$ac_try;;
8397 esac
8398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8399 (eval "$ac_link") 2>conftest.er1
8400 ac_status=$?
8401 grep -v '^ *+' conftest.er1 >conftest.err
8402 rm -f conftest.er1
8403 cat conftest.err >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 (exit $ac_status); } && {
8406 test -z "$ac_c_werror_flag" ||
8407 test ! -s conftest.err
8408 } && test -s conftest$ac_exeext &&
8409 $as_test_x conftest$ac_exeext; then
8410 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8411 else
8412 echo "$as_me: failed program was:" >&5
8413 sed 's/^/| /' conftest.$ac_ext >&5
8415 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8419 conftest$ac_exeext conftest.$ac_ext
8420 CFLAGS=$ac_wine_try_cflags_saved
8422 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8423 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8424 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8425 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8429 echo '{ global: *; };' >conftest.map
8430 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8431 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8432 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8433 echo $ECHO_N "(cached) $ECHO_C" >&6
8434 else
8435 ac_wine_try_cflags_saved=$CFLAGS
8436 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8437 cat >conftest.$ac_ext <<_ACEOF
8438 /* confdefs.h. */
8439 _ACEOF
8440 cat confdefs.h >>conftest.$ac_ext
8441 cat >>conftest.$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8445 main ()
8449 return 0;
8451 _ACEOF
8452 rm -f conftest.$ac_objext conftest$ac_exeext
8453 if { (ac_try="$ac_link"
8454 case "(($ac_try" in
8455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8456 *) ac_try_echo=$ac_try;;
8457 esac
8458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8459 (eval "$ac_link") 2>conftest.er1
8460 ac_status=$?
8461 grep -v '^ *+' conftest.er1 >conftest.err
8462 rm -f conftest.er1
8463 cat conftest.err >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); } && {
8466 test -z "$ac_c_werror_flag" ||
8467 test ! -s conftest.err
8468 } && test -s conftest$ac_exeext &&
8469 $as_test_x conftest$ac_exeext; then
8470 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8471 else
8472 echo "$as_me: failed program was:" >&5
8473 sed 's/^/| /' conftest.$ac_ext >&5
8475 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8479 conftest$ac_exeext conftest.$ac_ext
8480 CFLAGS=$ac_wine_try_cflags_saved
8482 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8483 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8484 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8485 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8488 rm -f conftest.map
8490 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8491 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8492 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 else
8495 ac_wine_try_cflags_saved=$CFLAGS
8496 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8497 cat >conftest.$ac_ext <<_ACEOF
8498 /* confdefs.h. */
8499 _ACEOF
8500 cat confdefs.h >>conftest.$ac_ext
8501 cat >>conftest.$ac_ext <<_ACEOF
8502 /* end confdefs.h. */
8505 main ()
8509 return 0;
8511 _ACEOF
8512 rm -f conftest.$ac_objext conftest$ac_exeext
8513 if { (ac_try="$ac_link"
8514 case "(($ac_try" in
8515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8516 *) ac_try_echo=$ac_try;;
8517 esac
8518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8519 (eval "$ac_link") 2>conftest.er1
8520 ac_status=$?
8521 grep -v '^ *+' conftest.er1 >conftest.err
8522 rm -f conftest.er1
8523 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } && {
8526 test -z "$ac_c_werror_flag" ||
8527 test ! -s conftest.err
8528 } && test -s conftest$ac_exeext &&
8529 $as_test_x conftest$ac_exeext; then
8530 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8531 else
8532 echo "$as_me: failed program was:" >&5
8533 sed 's/^/| /' conftest.$ac_ext >&5
8535 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8539 conftest$ac_exeext conftest.$ac_ext
8540 CFLAGS=$ac_wine_try_cflags_saved
8542 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8543 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8544 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8545 LDEXECFLAGS="-Wl,--export-dynamic"
8550 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8551 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8552 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8553 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8554 echo $ECHO_N "(cached) $ECHO_C" >&6
8555 else
8556 ac_wine_try_cflags_saved=$CFLAGS
8557 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8558 cat >conftest.$ac_ext <<_ACEOF
8559 /* confdefs.h. */
8560 _ACEOF
8561 cat confdefs.h >>conftest.$ac_ext
8562 cat >>conftest.$ac_ext <<_ACEOF
8563 /* end confdefs.h. */
8566 main ()
8570 return 0;
8572 _ACEOF
8573 rm -f conftest.$ac_objext conftest$ac_exeext
8574 if { (ac_try="$ac_link"
8575 case "(($ac_try" in
8576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8577 *) ac_try_echo=$ac_try;;
8578 esac
8579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8580 (eval "$ac_link") 2>conftest.er1
8581 ac_status=$?
8582 grep -v '^ *+' conftest.er1 >conftest.err
8583 rm -f conftest.er1
8584 cat conftest.err >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } && {
8587 test -z "$ac_c_werror_flag" ||
8588 test ! -s conftest.err
8589 } && test -s conftest$ac_exeext &&
8590 $as_test_x conftest$ac_exeext; then
8591 eval "$as_ac_var=yes"
8592 else
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.$ac_ext >&5
8596 eval "$as_ac_var=no"
8599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8600 conftest$ac_exeext conftest.$ac_ext
8601 CFLAGS=$ac_wine_try_cflags_saved
8603 ac_res=`eval echo '${'$as_ac_var'}'`
8604 { echo "$as_me:$LINENO: result: $ac_res" >&5
8605 echo "${ECHO_T}$ac_res" >&6; }
8606 if test `eval echo '${'$as_ac_var'}'` = yes; then
8607 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8608 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8609 else
8610 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8611 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8612 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8613 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8614 echo $ECHO_N "(cached) $ECHO_C" >&6
8615 else
8616 ac_wine_try_cflags_saved=$CFLAGS
8617 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8618 cat >conftest.$ac_ext <<_ACEOF
8619 /* confdefs.h. */
8620 _ACEOF
8621 cat confdefs.h >>conftest.$ac_ext
8622 cat >>conftest.$ac_ext <<_ACEOF
8623 /* end confdefs.h. */
8626 main ()
8630 return 0;
8632 _ACEOF
8633 rm -f conftest.$ac_objext conftest$ac_exeext
8634 if { (ac_try="$ac_link"
8635 case "(($ac_try" in
8636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8637 *) ac_try_echo=$ac_try;;
8638 esac
8639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8640 (eval "$ac_link") 2>conftest.er1
8641 ac_status=$?
8642 grep -v '^ *+' conftest.er1 >conftest.err
8643 rm -f conftest.er1
8644 cat conftest.err >&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } && {
8647 test -z "$ac_c_werror_flag" ||
8648 test ! -s conftest.err
8649 } && test -s conftest$ac_exeext &&
8650 $as_test_x conftest$ac_exeext; then
8651 eval "$as_ac_var=yes"
8652 else
8653 echo "$as_me: failed program was:" >&5
8654 sed 's/^/| /' conftest.$ac_ext >&5
8656 eval "$as_ac_var=no"
8659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8660 conftest$ac_exeext conftest.$ac_ext
8661 CFLAGS=$ac_wine_try_cflags_saved
8663 ac_res=`eval echo '${'$as_ac_var'}'`
8664 { echo "$as_me:$LINENO: result: $ac_res" >&5
8665 echo "${ECHO_T}$ac_res" >&6; }
8666 if test `eval echo '${'$as_ac_var'}'` = yes; then
8667 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8668 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8674 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8675 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8676 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8677 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 else
8679 ac_wine_try_cflags_saved=$CFLAGS
8680 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8681 cat >conftest.$ac_ext <<_ACEOF
8682 /* confdefs.h. */
8683 _ACEOF
8684 cat confdefs.h >>conftest.$ac_ext
8685 cat >>conftest.$ac_ext <<_ACEOF
8686 /* end confdefs.h. */
8689 main ()
8693 return 0;
8695 _ACEOF
8696 rm -f conftest.$ac_objext conftest$ac_exeext
8697 if { (ac_try="$ac_link"
8698 case "(($ac_try" in
8699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8700 *) ac_try_echo=$ac_try;;
8701 esac
8702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8703 (eval "$ac_link") 2>conftest.er1
8704 ac_status=$?
8705 grep -v '^ *+' conftest.er1 >conftest.err
8706 rm -f conftest.er1
8707 cat conftest.err >&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); } && {
8710 test -z "$ac_c_werror_flag" ||
8711 test ! -s conftest.err
8712 } && test -s conftest$ac_exeext &&
8713 $as_test_x conftest$ac_exeext; then
8714 ac_cv_cflags__Wl___enable_new_dtags=yes
8715 else
8716 echo "$as_me: failed program was:" >&5
8717 sed 's/^/| /' conftest.$ac_ext >&5
8719 ac_cv_cflags__Wl___enable_new_dtags=no
8722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8723 conftest$ac_exeext conftest.$ac_ext
8724 CFLAGS=$ac_wine_try_cflags_saved
8726 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8727 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8728 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8729 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8733 case $host_cpu in
8734 *i[3456789]86* | x86_64)
8735 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8736 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8737 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8738 echo $ECHO_N "(cached) $ECHO_C" >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8742 cat >conftest.$ac_ext <<_ACEOF
8743 /* confdefs.h. */
8744 _ACEOF
8745 cat confdefs.h >>conftest.$ac_ext
8746 cat >>conftest.$ac_ext <<_ACEOF
8747 /* end confdefs.h. */
8750 main ()
8754 return 0;
8756 _ACEOF
8757 rm -f conftest.$ac_objext conftest$ac_exeext
8758 if { (ac_try="$ac_link"
8759 case "(($ac_try" in
8760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8761 *) ac_try_echo=$ac_try;;
8762 esac
8763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8764 (eval "$ac_link") 2>conftest.er1
8765 ac_status=$?
8766 grep -v '^ *+' conftest.er1 >conftest.err
8767 rm -f conftest.er1
8768 cat conftest.err >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); } && {
8771 test -z "$ac_c_werror_flag" ||
8772 test ! -s conftest.err
8773 } && test -s conftest$ac_exeext &&
8774 $as_test_x conftest$ac_exeext; then
8775 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8776 else
8777 echo "$as_me: failed program was:" >&5
8778 sed 's/^/| /' conftest.$ac_ext >&5
8780 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8784 conftest$ac_exeext conftest.$ac_ext
8785 CFLAGS=$ac_wine_try_cflags_saved
8787 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8788 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8789 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8790 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8794 esac
8796 else
8797 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8798 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8799 if test "${ac_cv_c_dll_unixware+set}" = set; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 else
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8804 cat >conftest.$ac_ext <<_ACEOF
8805 void myfunc() {}
8806 _ACEOF
8807 rm -f conftest.$ac_objext conftest$ac_exeext
8808 if { (ac_try="$ac_link"
8809 case "(($ac_try" in
8810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8811 *) ac_try_echo=$ac_try;;
8812 esac
8813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8814 (eval "$ac_link") 2>conftest.er1
8815 ac_status=$?
8816 grep -v '^ *+' conftest.er1 >conftest.err
8817 rm -f conftest.er1
8818 cat conftest.err >&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } && {
8821 test -z "$ac_c_werror_flag" ||
8822 test ! -s conftest.err
8823 } && test -s conftest$ac_exeext &&
8824 $as_test_x conftest$ac_exeext; then
8825 ac_cv_c_dll_unixware="yes"
8826 else
8827 echo "$as_me: failed program was:" >&5
8828 sed 's/^/| /' conftest.$ac_ext >&5
8830 ac_cv_c_dll_unixware="no"
8833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8834 conftest$ac_exeext conftest.$ac_ext
8835 CFLAGS=$ac_wine_try_cflags_saved
8837 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8838 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8839 if test "$ac_cv_c_dll_unixware" = "yes"
8840 then
8841 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8842 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8844 else
8845 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8846 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8847 if test "${ac_cv_c_dll_hpux+set}" = set; then
8848 echo $ECHO_N "(cached) $ECHO_C" >&6
8849 else
8850 ac_wine_try_cflags_saved=$CFLAGS
8851 CFLAGS="$CFLAGS -shared"
8852 cat >conftest.$ac_ext <<_ACEOF
8853 void myfunc() {}
8854 _ACEOF
8855 rm -f conftest.$ac_objext conftest$ac_exeext
8856 if { (ac_try="$ac_link"
8857 case "(($ac_try" in
8858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8859 *) ac_try_echo=$ac_try;;
8860 esac
8861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8862 (eval "$ac_link") 2>conftest.er1
8863 ac_status=$?
8864 grep -v '^ *+' conftest.er1 >conftest.err
8865 rm -f conftest.er1
8866 cat conftest.err >&5
8867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8868 (exit $ac_status); } && {
8869 test -z "$ac_c_werror_flag" ||
8870 test ! -s conftest.err
8871 } && test -s conftest$ac_exeext &&
8872 $as_test_x conftest$ac_exeext; then
8873 ac_cv_c_dll_hpux="yes"
8874 else
8875 echo "$as_me: failed program was:" >&5
8876 sed 's/^/| /' conftest.$ac_ext >&5
8878 ac_cv_c_dll_hpux="no"
8881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8886 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8887 if test "$ac_cv_c_dll_hpux" = "yes"
8888 then
8889 LIBEXT="sl"
8890 DLLEXT=".sl"
8891 LDDLLFLAGS="-shared -fPIC"
8892 LDSHARED="\$(CC) -shared"
8897 CROSSTEST=""
8899 if test "$cross_compiling" = "no"
8900 then
8901 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8903 # Extract the first word of "$ac_prog", so it can be a program name with args.
8904 set dummy $ac_prog; ac_word=$2
8905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8907 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6
8909 else
8910 if test -n "$CROSSCC"; then
8911 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8912 else
8913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8914 for as_dir in $PATH
8916 IFS=$as_save_IFS
8917 test -z "$as_dir" && as_dir=.
8918 for ac_exec_ext in '' $ac_executable_extensions; do
8919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8920 ac_cv_prog_CROSSCC="$ac_prog"
8921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8922 break 2
8924 done
8925 done
8926 IFS=$as_save_IFS
8930 CROSSCC=$ac_cv_prog_CROSSCC
8931 if test -n "$CROSSCC"; then
8932 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8933 echo "${ECHO_T}$CROSSCC" >&6; }
8934 else
8935 { echo "$as_me:$LINENO: result: no" >&5
8936 echo "${ECHO_T}no" >&6; }
8940 test -n "$CROSSCC" && break
8941 done
8942 test -n "$CROSSCC" || CROSSCC="false"
8944 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8946 # Extract the first word of "$ac_prog", so it can be a program name with args.
8947 set dummy $ac_prog; ac_word=$2
8948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8950 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8952 else
8953 if test -n "$DLLTOOL"; then
8954 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8955 else
8956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8957 for as_dir in $PATH
8959 IFS=$as_save_IFS
8960 test -z "$as_dir" && as_dir=.
8961 for ac_exec_ext in '' $ac_executable_extensions; do
8962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8963 ac_cv_prog_DLLTOOL="$ac_prog"
8964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8965 break 2
8967 done
8968 done
8969 IFS=$as_save_IFS
8973 DLLTOOL=$ac_cv_prog_DLLTOOL
8974 if test -n "$DLLTOOL"; then
8975 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8976 echo "${ECHO_T}$DLLTOOL" >&6; }
8977 else
8978 { echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6; }
8983 test -n "$DLLTOOL" && break
8984 done
8985 test -n "$DLLTOOL" || DLLTOOL="false"
8987 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8989 # Extract the first word of "$ac_prog", so it can be a program name with args.
8990 set dummy $ac_prog; ac_word=$2
8991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8993 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 else
8996 if test -n "$CROSSWINDRES"; then
8997 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8998 else
8999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9000 for as_dir in $PATH
9002 IFS=$as_save_IFS
9003 test -z "$as_dir" && as_dir=.
9004 for ac_exec_ext in '' $ac_executable_extensions; do
9005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9006 ac_cv_prog_CROSSWINDRES="$ac_prog"
9007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9008 break 2
9010 done
9011 done
9012 IFS=$as_save_IFS
9016 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9017 if test -n "$CROSSWINDRES"; then
9018 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9019 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9020 else
9021 { echo "$as_me:$LINENO: result: no" >&5
9022 echo "${ECHO_T}no" >&6; }
9026 test -n "$CROSSWINDRES" && break
9027 done
9028 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9030 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9032 # Extract the first word of "$ac_prog", so it can be a program name with args.
9033 set dummy $ac_prog; ac_word=$2
9034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9036 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9038 else
9039 if test -n "$MINGWAR"; then
9040 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9041 else
9042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9043 for as_dir in $PATH
9045 IFS=$as_save_IFS
9046 test -z "$as_dir" && as_dir=.
9047 for ac_exec_ext in '' $ac_executable_extensions; do
9048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9049 ac_cv_prog_MINGWAR="$ac_prog"
9050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9051 break 2
9053 done
9054 done
9055 IFS=$as_save_IFS
9059 MINGWAR=$ac_cv_prog_MINGWAR
9060 if test -n "$MINGWAR"; then
9061 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9062 echo "${ECHO_T}$MINGWAR" >&6; }
9063 else
9064 { echo "$as_me:$LINENO: result: no" >&5
9065 echo "${ECHO_T}no" >&6; }
9069 test -n "$MINGWAR" && break
9070 done
9071 test -n "$MINGWAR" || MINGWAR="false"
9073 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9076 esac
9078 if test "$LIBEXT" = "a"; then
9079 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9080 It is currently not possible to build Wine without shared library
9081 (.so) support to allow transparent switch between .so and .dll files.
9082 If you are using Linux, you will need a newer binutils.
9083 " >&5
9084 echo "$as_me: error: could not find a way to build shared libraries.
9085 It is currently not possible to build Wine without shared library
9086 (.so) support to allow transparent switch between .so and .dll files.
9087 If you are using Linux, you will need a newer binutils.
9088 " >&2;}
9089 { (exit 1); exit 1; }; }
9093 if test "$have_x" = "yes"
9094 then
9095 XLIB="-lXext -lX11"
9096 ac_save_CPPFLAGS="$CPPFLAGS"
9097 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9099 { echo "$as_me:$LINENO: checking for -lX11" >&5
9100 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9101 if test "${ac_cv_lib_soname_X11+set}" = set; then
9102 echo $ECHO_N "(cached) $ECHO_C" >&6
9103 else
9104 ac_check_soname_save_LIBS=$LIBS
9105 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9106 cat >conftest.$ac_ext <<_ACEOF
9107 /* confdefs.h. */
9108 _ACEOF
9109 cat confdefs.h >>conftest.$ac_ext
9110 cat >>conftest.$ac_ext <<_ACEOF
9111 /* end confdefs.h. */
9113 /* Override any GCC internal prototype to avoid an error.
9114 Use char because int might match the return type of a GCC
9115 builtin and then its argument prototype would still apply. */
9116 #ifdef __cplusplus
9117 extern "C"
9118 #endif
9119 char XCreateWindow ();
9121 main ()
9123 return XCreateWindow ();
9125 return 0;
9127 _ACEOF
9128 rm -f conftest.$ac_objext conftest$ac_exeext
9129 if { (ac_try="$ac_link"
9130 case "(($ac_try" in
9131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9132 *) ac_try_echo=$ac_try;;
9133 esac
9134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9135 (eval "$ac_link") 2>conftest.er1
9136 ac_status=$?
9137 grep -v '^ *+' conftest.er1 >conftest.err
9138 rm -f conftest.er1
9139 cat conftest.err >&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } && {
9142 test -z "$ac_c_werror_flag" ||
9143 test ! -s conftest.err
9144 } && test -s conftest$ac_exeext &&
9145 $as_test_x conftest$ac_exeext; then
9146 case "$LIBEXT" in
9147 dll) ;;
9148 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'` ;;
9149 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9150 esac
9151 else
9152 echo "$as_me: failed program was:" >&5
9153 sed 's/^/| /' conftest.$ac_ext >&5
9158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9159 conftest$ac_exeext conftest.$ac_ext
9160 LIBS=$ac_check_soname_save_LIBS
9162 if test "x$ac_cv_lib_soname_X11" = "x"; then
9163 { echo "$as_me:$LINENO: result: not found" >&5
9164 echo "${ECHO_T}not found" >&6; }
9166 else
9167 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9168 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9170 cat >>confdefs.h <<_ACEOF
9171 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9172 _ACEOF
9177 { echo "$as_me:$LINENO: checking for -lXext" >&5
9178 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9179 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 else
9182 ac_check_soname_save_LIBS=$LIBS
9183 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9184 cat >conftest.$ac_ext <<_ACEOF
9185 /* confdefs.h. */
9186 _ACEOF
9187 cat confdefs.h >>conftest.$ac_ext
9188 cat >>conftest.$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 char XextCreateExtension ();
9199 main ()
9201 return XextCreateExtension ();
9203 return 0;
9205 _ACEOF
9206 rm -f conftest.$ac_objext conftest$ac_exeext
9207 if { (ac_try="$ac_link"
9208 case "(($ac_try" in
9209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9210 *) ac_try_echo=$ac_try;;
9211 esac
9212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9213 (eval "$ac_link") 2>conftest.er1
9214 ac_status=$?
9215 grep -v '^ *+' conftest.er1 >conftest.err
9216 rm -f conftest.er1
9217 cat conftest.err >&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } && {
9220 test -z "$ac_c_werror_flag" ||
9221 test ! -s conftest.err
9222 } && test -s conftest$ac_exeext &&
9223 $as_test_x conftest$ac_exeext; then
9224 case "$LIBEXT" in
9225 dll) ;;
9226 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'` ;;
9227 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9228 esac
9229 else
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5
9236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_soname_save_LIBS
9240 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9241 { echo "$as_me:$LINENO: result: not found" >&5
9242 echo "${ECHO_T}not found" >&6; }
9244 else
9245 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9246 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9248 cat >>confdefs.h <<_ACEOF
9249 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9250 _ACEOF
9268 for ac_header in X11/Xlib.h \
9269 X11/XKBlib.h \
9270 X11/Xutil.h \
9271 X11/Xcursor/Xcursor.h \
9272 X11/extensions/shape.h \
9273 X11/extensions/XInput.h \
9274 X11/extensions/XShm.h \
9275 X11/extensions/Xcomposite.h \
9276 X11/extensions/Xinerama.h \
9277 X11/extensions/Xrandr.h \
9278 X11/extensions/Xrender.h \
9279 X11/extensions/xf86vmode.h
9281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9286 else
9287 cat >conftest.$ac_ext <<_ACEOF
9288 /* confdefs.h. */
9289 _ACEOF
9290 cat confdefs.h >>conftest.$ac_ext
9291 cat >>conftest.$ac_ext <<_ACEOF
9292 /* end confdefs.h. */
9293 #ifdef HAVE_X11_XLIB_H
9294 # include <X11/Xlib.h>
9295 #endif
9296 #ifdef HAVE_X11_XUTIL_H
9297 # include <X11/Xutil.h>
9298 #endif
9300 #include <$ac_header>
9301 _ACEOF
9302 rm -f conftest.$ac_objext
9303 if { (ac_try="$ac_compile"
9304 case "(($ac_try" in
9305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9306 *) ac_try_echo=$ac_try;;
9307 esac
9308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9309 (eval "$ac_compile") 2>conftest.er1
9310 ac_status=$?
9311 grep -v '^ *+' conftest.er1 >conftest.err
9312 rm -f conftest.er1
9313 cat conftest.err >&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); } && {
9316 test -z "$ac_c_werror_flag" ||
9317 test ! -s conftest.err
9318 } && test -s conftest.$ac_objext; then
9319 eval "$as_ac_Header=yes"
9320 else
9321 echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.$ac_ext >&5
9324 eval "$as_ac_Header=no"
9327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9329 ac_res=`eval echo '${'$as_ac_Header'}'`
9330 { echo "$as_me:$LINENO: result: $ac_res" >&5
9331 echo "${ECHO_T}$ac_res" >&6; }
9332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9333 cat >>confdefs.h <<_ACEOF
9334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9335 _ACEOF
9339 done
9342 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9343 then
9344 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9345 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9346 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9347 echo $ECHO_N "(cached) $ECHO_C" >&6
9348 else
9349 ac_check_lib_save_LIBS=$LIBS
9350 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9351 cat >conftest.$ac_ext <<_ACEOF
9352 /* confdefs.h. */
9353 _ACEOF
9354 cat confdefs.h >>conftest.$ac_ext
9355 cat >>conftest.$ac_ext <<_ACEOF
9356 /* end confdefs.h. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
9361 #ifdef __cplusplus
9362 extern "C"
9363 #endif
9364 char XkbQueryExtension ();
9366 main ()
9368 return XkbQueryExtension ();
9370 return 0;
9372 _ACEOF
9373 rm -f conftest.$ac_objext conftest$ac_exeext
9374 if { (ac_try="$ac_link"
9375 case "(($ac_try" in
9376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9377 *) ac_try_echo=$ac_try;;
9378 esac
9379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9380 (eval "$ac_link") 2>conftest.er1
9381 ac_status=$?
9382 grep -v '^ *+' conftest.er1 >conftest.err
9383 rm -f conftest.er1
9384 cat conftest.err >&5
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386 (exit $ac_status); } && {
9387 test -z "$ac_c_werror_flag" ||
9388 test ! -s conftest.err
9389 } && test -s conftest$ac_exeext &&
9390 $as_test_x conftest$ac_exeext; then
9391 ac_cv_lib_X11_XkbQueryExtension=yes
9392 else
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.$ac_ext >&5
9396 ac_cv_lib_X11_XkbQueryExtension=no
9399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9400 conftest$ac_exeext conftest.$ac_ext
9401 LIBS=$ac_check_lib_save_LIBS
9403 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9404 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9405 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9407 cat >>confdefs.h <<\_ACEOF
9408 #define HAVE_XKB 1
9409 _ACEOF
9415 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9416 then
9417 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9418 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9419 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9420 echo $ECHO_N "(cached) $ECHO_C" >&6
9421 else
9422 ac_check_soname_save_LIBS=$LIBS
9423 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9424 cat >conftest.$ac_ext <<_ACEOF
9425 /* confdefs.h. */
9426 _ACEOF
9427 cat confdefs.h >>conftest.$ac_ext
9428 cat >>conftest.$ac_ext <<_ACEOF
9429 /* end confdefs.h. */
9431 /* Override any GCC internal prototype to avoid an error.
9432 Use char because int might match the return type of a GCC
9433 builtin and then its argument prototype would still apply. */
9434 #ifdef __cplusplus
9435 extern "C"
9436 #endif
9437 char XcursorImageLoadCursor ();
9439 main ()
9441 return XcursorImageLoadCursor ();
9443 return 0;
9445 _ACEOF
9446 rm -f conftest.$ac_objext conftest$ac_exeext
9447 if { (ac_try="$ac_link"
9448 case "(($ac_try" in
9449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9450 *) ac_try_echo=$ac_try;;
9451 esac
9452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9453 (eval "$ac_link") 2>conftest.er1
9454 ac_status=$?
9455 grep -v '^ *+' conftest.er1 >conftest.err
9456 rm -f conftest.er1
9457 cat conftest.err >&5
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); } && {
9460 test -z "$ac_c_werror_flag" ||
9461 test ! -s conftest.err
9462 } && test -s conftest$ac_exeext &&
9463 $as_test_x conftest$ac_exeext; then
9464 case "$LIBEXT" in
9465 dll) ;;
9466 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'` ;;
9467 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9468 esac
9469 else
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.$ac_ext >&5
9476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9477 conftest$ac_exeext conftest.$ac_ext
9478 LIBS=$ac_check_soname_save_LIBS
9480 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9481 { echo "$as_me:$LINENO: result: not found" >&5
9482 echo "${ECHO_T}not found" >&6; }
9484 else
9485 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9486 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9488 cat >>confdefs.h <<_ACEOF
9489 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9490 _ACEOF
9497 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9498 then
9499 { echo "$as_me:$LINENO: checking for -lXi" >&5
9500 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9501 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9502 echo $ECHO_N "(cached) $ECHO_C" >&6
9503 else
9504 ac_check_soname_save_LIBS=$LIBS
9505 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9506 cat >conftest.$ac_ext <<_ACEOF
9507 /* confdefs.h. */
9508 _ACEOF
9509 cat confdefs.h >>conftest.$ac_ext
9510 cat >>conftest.$ac_ext <<_ACEOF
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9516 #ifdef __cplusplus
9517 extern "C"
9518 #endif
9519 char XOpenDevice ();
9521 main ()
9523 return XOpenDevice ();
9525 return 0;
9527 _ACEOF
9528 rm -f conftest.$ac_objext conftest$ac_exeext
9529 if { (ac_try="$ac_link"
9530 case "(($ac_try" in
9531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9532 *) ac_try_echo=$ac_try;;
9533 esac
9534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9535 (eval "$ac_link") 2>conftest.er1
9536 ac_status=$?
9537 grep -v '^ *+' conftest.er1 >conftest.err
9538 rm -f conftest.er1
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } && {
9542 test -z "$ac_c_werror_flag" ||
9543 test ! -s conftest.err
9544 } && test -s conftest$ac_exeext &&
9545 $as_test_x conftest$ac_exeext; then
9546 case "$LIBEXT" in
9547 dll) ;;
9548 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'` ;;
9549 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9550 esac
9551 else
9552 echo "$as_me: failed program was:" >&5
9553 sed 's/^/| /' conftest.$ac_ext >&5
9558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9559 conftest$ac_exeext conftest.$ac_ext
9560 LIBS=$ac_check_soname_save_LIBS
9562 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9563 { echo "$as_me:$LINENO: result: not found" >&5
9564 echo "${ECHO_T}not found" >&6; }
9566 else
9567 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9568 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9570 cat >>confdefs.h <<_ACEOF
9571 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9572 _ACEOF
9579 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9580 then
9581 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9582 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9583 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9584 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 else
9586 ac_check_lib_save_LIBS=$LIBS
9587 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9588 cat >conftest.$ac_ext <<_ACEOF
9589 /* confdefs.h. */
9590 _ACEOF
9591 cat confdefs.h >>conftest.$ac_ext
9592 cat >>conftest.$ac_ext <<_ACEOF
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9598 #ifdef __cplusplus
9599 extern "C"
9600 #endif
9601 char XShmQueryExtension ();
9603 main ()
9605 return XShmQueryExtension ();
9607 return 0;
9609 _ACEOF
9610 rm -f conftest.$ac_objext conftest$ac_exeext
9611 if { (ac_try="$ac_link"
9612 case "(($ac_try" in
9613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9614 *) ac_try_echo=$ac_try;;
9615 esac
9616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9617 (eval "$ac_link") 2>conftest.er1
9618 ac_status=$?
9619 grep -v '^ *+' conftest.er1 >conftest.err
9620 rm -f conftest.er1
9621 cat conftest.err >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } && {
9624 test -z "$ac_c_werror_flag" ||
9625 test ! -s conftest.err
9626 } && test -s conftest$ac_exeext &&
9627 $as_test_x conftest$ac_exeext; then
9628 ac_cv_lib_Xext_XShmQueryExtension=yes
9629 else
9630 echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.$ac_ext >&5
9633 ac_cv_lib_Xext_XShmQueryExtension=no
9636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9637 conftest$ac_exeext conftest.$ac_ext
9638 LIBS=$ac_check_lib_save_LIBS
9640 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9641 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9642 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9644 cat >>confdefs.h <<\_ACEOF
9645 #define HAVE_LIBXXSHM 1
9646 _ACEOF
9651 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9652 wine_notices="$wine_notices|XShm development files not found.
9653 Wine will be built without XShm support. (winex11.drv)"
9657 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9658 then
9659 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9660 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9661 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9662 echo $ECHO_N "(cached) $ECHO_C" >&6
9663 else
9664 ac_check_lib_save_LIBS=$LIBS
9665 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9666 cat >conftest.$ac_ext <<_ACEOF
9667 /* confdefs.h. */
9668 _ACEOF
9669 cat confdefs.h >>conftest.$ac_ext
9670 cat >>conftest.$ac_ext <<_ACEOF
9671 /* end confdefs.h. */
9673 /* Override any GCC internal prototype to avoid an error.
9674 Use char because int might match the return type of a GCC
9675 builtin and then its argument prototype would still apply. */
9676 #ifdef __cplusplus
9677 extern "C"
9678 #endif
9679 char XShapeQueryExtension ();
9681 main ()
9683 return XShapeQueryExtension ();
9685 return 0;
9687 _ACEOF
9688 rm -f conftest.$ac_objext conftest$ac_exeext
9689 if { (ac_try="$ac_link"
9690 case "(($ac_try" in
9691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9692 *) ac_try_echo=$ac_try;;
9693 esac
9694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9695 (eval "$ac_link") 2>conftest.er1
9696 ac_status=$?
9697 grep -v '^ *+' conftest.er1 >conftest.err
9698 rm -f conftest.er1
9699 cat conftest.err >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); } && {
9702 test -z "$ac_c_werror_flag" ||
9703 test ! -s conftest.err
9704 } && test -s conftest$ac_exeext &&
9705 $as_test_x conftest$ac_exeext; then
9706 ac_cv_lib_Xext_XShapeQueryExtension=yes
9707 else
9708 echo "$as_me: failed program was:" >&5
9709 sed 's/^/| /' conftest.$ac_ext >&5
9711 ac_cv_lib_Xext_XShapeQueryExtension=no
9714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9715 conftest$ac_exeext conftest.$ac_ext
9716 LIBS=$ac_check_lib_save_LIBS
9718 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9719 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9720 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9722 cat >>confdefs.h <<\_ACEOF
9723 #define HAVE_LIBXSHAPE 1
9724 _ACEOF
9729 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9730 wine_notices="$wine_notices|XShape development files not found.
9731 Wine will be built without XShape support. (winex11.drv)"
9735 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9736 then
9737 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9738 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9739 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9740 echo $ECHO_N "(cached) $ECHO_C" >&6
9741 else
9742 ac_check_lib_save_LIBS=$LIBS
9743 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9744 cat >conftest.$ac_ext <<_ACEOF
9745 /* confdefs.h. */
9746 _ACEOF
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9751 /* Override any GCC internal prototype to avoid an error.
9752 Use char because int might match the return type of a GCC
9753 builtin and then its argument prototype would still apply. */
9754 #ifdef __cplusplus
9755 extern "C"
9756 #endif
9757 char XF86VidModeQueryExtension ();
9759 main ()
9761 return XF86VidModeQueryExtension ();
9763 return 0;
9765 _ACEOF
9766 rm -f conftest.$ac_objext conftest$ac_exeext
9767 if { (ac_try="$ac_link"
9768 case "(($ac_try" in
9769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9770 *) ac_try_echo=$ac_try;;
9771 esac
9772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9773 (eval "$ac_link") 2>conftest.er1
9774 ac_status=$?
9775 grep -v '^ *+' conftest.er1 >conftest.err
9776 rm -f conftest.er1
9777 cat conftest.err >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); } && {
9780 test -z "$ac_c_werror_flag" ||
9781 test ! -s conftest.err
9782 } && test -s conftest$ac_exeext &&
9783 $as_test_x conftest$ac_exeext; then
9784 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9785 else
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.$ac_ext >&5
9789 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9793 conftest$ac_exeext conftest.$ac_ext
9794 LIBS=$ac_check_lib_save_LIBS
9796 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9797 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9798 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9800 cat >>confdefs.h <<\_ACEOF
9801 #define HAVE_LIBXXF86VM 1
9802 _ACEOF
9804 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9809 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9810 wine_notices="$wine_notices|Xxf86vm development files not found.
9811 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9815 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"
9816 then
9817 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9818 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9819 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9821 else
9822 ac_check_soname_save_LIBS=$LIBS
9823 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9824 cat >conftest.$ac_ext <<_ACEOF
9825 /* confdefs.h. */
9826 _ACEOF
9827 cat confdefs.h >>conftest.$ac_ext
9828 cat >>conftest.$ac_ext <<_ACEOF
9829 /* end confdefs.h. */
9831 /* Override any GCC internal prototype to avoid an error.
9832 Use char because int might match the return type of a GCC
9833 builtin and then its argument prototype would still apply. */
9834 #ifdef __cplusplus
9835 extern "C"
9836 #endif
9837 char XRenderQueryExtension ();
9839 main ()
9841 return XRenderQueryExtension ();
9843 return 0;
9845 _ACEOF
9846 rm -f conftest.$ac_objext conftest$ac_exeext
9847 if { (ac_try="$ac_link"
9848 case "(($ac_try" in
9849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9850 *) ac_try_echo=$ac_try;;
9851 esac
9852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9853 (eval "$ac_link") 2>conftest.er1
9854 ac_status=$?
9855 grep -v '^ *+' conftest.er1 >conftest.err
9856 rm -f conftest.er1
9857 cat conftest.err >&5
9858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859 (exit $ac_status); } && {
9860 test -z "$ac_c_werror_flag" ||
9861 test ! -s conftest.err
9862 } && test -s conftest$ac_exeext &&
9863 $as_test_x conftest$ac_exeext; then
9864 case "$LIBEXT" in
9865 dll) ;;
9866 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'` ;;
9867 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9868 esac
9869 else
9870 echo "$as_me: failed program was:" >&5
9871 sed 's/^/| /' conftest.$ac_ext >&5
9876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9877 conftest$ac_exeext conftest.$ac_ext
9878 LIBS=$ac_check_soname_save_LIBS
9880 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9881 { echo "$as_me:$LINENO: result: not found" >&5
9882 echo "${ECHO_T}not found" >&6; }
9884 else
9885 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9886 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9888 cat >>confdefs.h <<_ACEOF
9889 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9890 _ACEOF
9892 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9893 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9894 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9895 echo $ECHO_N "(cached) $ECHO_C" >&6
9896 else
9897 ac_check_lib_save_LIBS=$LIBS
9898 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9899 cat >conftest.$ac_ext <<_ACEOF
9900 /* confdefs.h. */
9901 _ACEOF
9902 cat confdefs.h >>conftest.$ac_ext
9903 cat >>conftest.$ac_ext <<_ACEOF
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9909 #ifdef __cplusplus
9910 extern "C"
9911 #endif
9912 char XRenderSetPictureTransform ();
9914 main ()
9916 return XRenderSetPictureTransform ();
9918 return 0;
9920 _ACEOF
9921 rm -f conftest.$ac_objext conftest$ac_exeext
9922 if { (ac_try="$ac_link"
9923 case "(($ac_try" in
9924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9925 *) ac_try_echo=$ac_try;;
9926 esac
9927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9928 (eval "$ac_link") 2>conftest.er1
9929 ac_status=$?
9930 grep -v '^ *+' conftest.er1 >conftest.err
9931 rm -f conftest.er1
9932 cat conftest.err >&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); } && {
9935 test -z "$ac_c_werror_flag" ||
9936 test ! -s conftest.err
9937 } && test -s conftest$ac_exeext &&
9938 $as_test_x conftest$ac_exeext; then
9939 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9940 else
9941 echo "$as_me: failed program was:" >&5
9942 sed 's/^/| /' conftest.$ac_ext >&5
9944 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9948 conftest$ac_exeext conftest.$ac_ext
9949 LIBS=$ac_check_lib_save_LIBS
9951 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9952 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9953 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9955 cat >>confdefs.h <<\_ACEOF
9956 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9957 _ACEOF
9965 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9966 wine_notices="$wine_notices|XRender development files not found.
9967 Wine will be built without XRender support. (winex11.drv)"
9971 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9972 then
9973 cat >conftest.$ac_ext <<_ACEOF
9974 /* confdefs.h. */
9975 _ACEOF
9976 cat confdefs.h >>conftest.$ac_ext
9977 cat >>conftest.$ac_ext <<_ACEOF
9978 /* end confdefs.h. */
9979 #include <X11/Xlib.h>
9980 #include <X11/extensions/Xrandr.h>
9982 main ()
9984 static typeof(XRRSetScreenConfigAndRate) * func;
9986 return 0;
9988 _ACEOF
9989 rm -f conftest.$ac_objext
9990 if { (ac_try="$ac_compile"
9991 case "(($ac_try" in
9992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9993 *) ac_try_echo=$ac_try;;
9994 esac
9995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9996 (eval "$ac_compile") 2>conftest.er1
9997 ac_status=$?
9998 grep -v '^ *+' conftest.er1 >conftest.err
9999 rm -f conftest.er1
10000 cat conftest.err >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); } && {
10003 test -z "$ac_c_werror_flag" ||
10004 test ! -s conftest.err
10005 } && test -s conftest.$ac_objext; then
10006 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10007 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10008 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011 ac_check_soname_save_LIBS=$LIBS
10012 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10013 cat >conftest.$ac_ext <<_ACEOF
10014 /* confdefs.h. */
10015 _ACEOF
10016 cat confdefs.h >>conftest.$ac_ext
10017 cat >>conftest.$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10020 /* Override any GCC internal prototype to avoid an error.
10021 Use char because int might match the return type of a GCC
10022 builtin and then its argument prototype would still apply. */
10023 #ifdef __cplusplus
10024 extern "C"
10025 #endif
10026 char XRRQueryExtension ();
10028 main ()
10030 return XRRQueryExtension ();
10032 return 0;
10034 _ACEOF
10035 rm -f conftest.$ac_objext conftest$ac_exeext
10036 if { (ac_try="$ac_link"
10037 case "(($ac_try" in
10038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10039 *) ac_try_echo=$ac_try;;
10040 esac
10041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10042 (eval "$ac_link") 2>conftest.er1
10043 ac_status=$?
10044 grep -v '^ *+' conftest.er1 >conftest.err
10045 rm -f conftest.er1
10046 cat conftest.err >&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); } && {
10049 test -z "$ac_c_werror_flag" ||
10050 test ! -s conftest.err
10051 } && test -s conftest$ac_exeext &&
10052 $as_test_x conftest$ac_exeext; then
10053 case "$LIBEXT" in
10054 dll) ;;
10055 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'` ;;
10056 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10057 esac
10058 else
10059 echo "$as_me: failed program was:" >&5
10060 sed 's/^/| /' conftest.$ac_ext >&5
10065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10066 conftest$ac_exeext conftest.$ac_ext
10067 LIBS=$ac_check_soname_save_LIBS
10069 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10070 { echo "$as_me:$LINENO: result: not found" >&5
10071 echo "${ECHO_T}not found" >&6; }
10073 else
10074 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10075 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10077 cat >>confdefs.h <<_ACEOF
10078 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10079 _ACEOF
10084 else
10085 echo "$as_me: failed program was:" >&5
10086 sed 's/^/| /' conftest.$ac_ext >&5
10091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10093 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10094 wine_notices="$wine_notices|XRandr development files not found.
10095 Wine will be built without XRandr support. (winex11.drv)"
10099 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10100 then
10101 cat >conftest.$ac_ext <<_ACEOF
10102 /* confdefs.h. */
10103 _ACEOF
10104 cat confdefs.h >>conftest.$ac_ext
10105 cat >>conftest.$ac_ext <<_ACEOF
10106 /* end confdefs.h. */
10107 #include <X11/Xlib.h>
10108 #include <X11/extensions/Xinerama.h>
10110 main ()
10112 static typeof(XineramaQueryScreens) * func;
10114 return 0;
10116 _ACEOF
10117 rm -f conftest.$ac_objext
10118 if { (ac_try="$ac_compile"
10119 case "(($ac_try" in
10120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10121 *) ac_try_echo=$ac_try;;
10122 esac
10123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10124 (eval "$ac_compile") 2>conftest.er1
10125 ac_status=$?
10126 grep -v '^ *+' conftest.er1 >conftest.err
10127 rm -f conftest.er1
10128 cat conftest.err >&5
10129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10130 (exit $ac_status); } && {
10131 test -z "$ac_c_werror_flag" ||
10132 test ! -s conftest.err
10133 } && test -s conftest.$ac_objext; then
10134 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10135 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10136 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10137 echo $ECHO_N "(cached) $ECHO_C" >&6
10138 else
10139 ac_check_soname_save_LIBS=$LIBS
10140 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10141 cat >conftest.$ac_ext <<_ACEOF
10142 /* confdefs.h. */
10143 _ACEOF
10144 cat confdefs.h >>conftest.$ac_ext
10145 cat >>conftest.$ac_ext <<_ACEOF
10146 /* end confdefs.h. */
10148 /* Override any GCC internal prototype to avoid an error.
10149 Use char because int might match the return type of a GCC
10150 builtin and then its argument prototype would still apply. */
10151 #ifdef __cplusplus
10152 extern "C"
10153 #endif
10154 char XineramaQueryScreens ();
10156 main ()
10158 return XineramaQueryScreens ();
10160 return 0;
10162 _ACEOF
10163 rm -f conftest.$ac_objext conftest$ac_exeext
10164 if { (ac_try="$ac_link"
10165 case "(($ac_try" in
10166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10167 *) ac_try_echo=$ac_try;;
10168 esac
10169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10170 (eval "$ac_link") 2>conftest.er1
10171 ac_status=$?
10172 grep -v '^ *+' conftest.er1 >conftest.err
10173 rm -f conftest.er1
10174 cat conftest.err >&5
10175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10176 (exit $ac_status); } && {
10177 test -z "$ac_c_werror_flag" ||
10178 test ! -s conftest.err
10179 } && test -s conftest$ac_exeext &&
10180 $as_test_x conftest$ac_exeext; then
10181 case "$LIBEXT" in
10182 dll) ;;
10183 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'` ;;
10184 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10185 esac
10186 else
10187 echo "$as_me: failed program was:" >&5
10188 sed 's/^/| /' conftest.$ac_ext >&5
10193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10194 conftest$ac_exeext conftest.$ac_ext
10195 LIBS=$ac_check_soname_save_LIBS
10197 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10198 { echo "$as_me:$LINENO: result: not found" >&5
10199 echo "${ECHO_T}not found" >&6; }
10201 else
10202 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10203 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10205 cat >>confdefs.h <<_ACEOF
10206 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10207 _ACEOF
10212 else
10213 echo "$as_me: failed program was:" >&5
10214 sed 's/^/| /' conftest.$ac_ext >&5
10219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10221 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10222 wine_notices="$wine_notices|Xinerama development files not found.
10223 Wine will be built without Xinerama support. (winex11.drv)"
10227 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10228 then
10229 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10230 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10231 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10233 else
10234 ac_check_soname_save_LIBS=$LIBS
10235 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10236 cat >conftest.$ac_ext <<_ACEOF
10237 /* confdefs.h. */
10238 _ACEOF
10239 cat confdefs.h >>conftest.$ac_ext
10240 cat >>conftest.$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10243 /* Override any GCC internal prototype to avoid an error.
10244 Use char because int might match the return type of a GCC
10245 builtin and then its argument prototype would still apply. */
10246 #ifdef __cplusplus
10247 extern "C"
10248 #endif
10249 char XCompositeRedirectWindow ();
10251 main ()
10253 return XCompositeRedirectWindow ();
10255 return 0;
10257 _ACEOF
10258 rm -f conftest.$ac_objext conftest$ac_exeext
10259 if { (ac_try="$ac_link"
10260 case "(($ac_try" in
10261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10262 *) ac_try_echo=$ac_try;;
10263 esac
10264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10265 (eval "$ac_link") 2>conftest.er1
10266 ac_status=$?
10267 grep -v '^ *+' conftest.er1 >conftest.err
10268 rm -f conftest.er1
10269 cat conftest.err >&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); } && {
10272 test -z "$ac_c_werror_flag" ||
10273 test ! -s conftest.err
10274 } && test -s conftest$ac_exeext &&
10275 $as_test_x conftest$ac_exeext; then
10276 case "$LIBEXT" in
10277 dll) ;;
10278 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'` ;;
10279 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10280 esac
10281 else
10282 echo "$as_me: failed program was:" >&5
10283 sed 's/^/| /' conftest.$ac_ext >&5
10288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10289 conftest$ac_exeext conftest.$ac_ext
10290 LIBS=$ac_check_soname_save_LIBS
10292 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10293 { echo "$as_me:$LINENO: result: not found" >&5
10294 echo "${ECHO_T}not found" >&6; }
10296 else
10297 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10298 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10300 cat >>confdefs.h <<_ACEOF
10301 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10302 _ACEOF
10308 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10309 wine_notices="$wine_notices|XComposite development files not found.
10310 Wine will be built without XComposite support. (winex11.drv)"
10315 if test "x$with_opengl" != "xno"
10316 then
10321 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10323 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10324 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10326 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10327 echo $ECHO_N "(cached) $ECHO_C" >&6
10328 else
10329 cat >conftest.$ac_ext <<_ACEOF
10330 /* confdefs.h. */
10331 _ACEOF
10332 cat confdefs.h >>conftest.$ac_ext
10333 cat >>conftest.$ac_ext <<_ACEOF
10334 /* end confdefs.h. */
10335 #ifdef HAVE_GL_GLX_H
10336 # include <GL/glx.h>
10337 #endif
10339 #include <$ac_header>
10340 _ACEOF
10341 rm -f conftest.$ac_objext
10342 if { (ac_try="$ac_compile"
10343 case "(($ac_try" in
10344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10345 *) ac_try_echo=$ac_try;;
10346 esac
10347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10348 (eval "$ac_compile") 2>conftest.er1
10349 ac_status=$?
10350 grep -v '^ *+' conftest.er1 >conftest.err
10351 rm -f conftest.er1
10352 cat conftest.err >&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); } && {
10355 test -z "$ac_c_werror_flag" ||
10356 test ! -s conftest.err
10357 } && test -s conftest.$ac_objext; then
10358 eval "$as_ac_Header=yes"
10359 else
10360 echo "$as_me: failed program was:" >&5
10361 sed 's/^/| /' conftest.$ac_ext >&5
10363 eval "$as_ac_Header=no"
10366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10368 ac_res=`eval echo '${'$as_ac_Header'}'`
10369 { echo "$as_me:$LINENO: result: $ac_res" >&5
10370 echo "${ECHO_T}$ac_res" >&6; }
10371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10372 cat >>confdefs.h <<_ACEOF
10373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10374 _ACEOF
10378 done
10380 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10381 then
10382 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10383 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10384 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10385 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 else
10387 cat >conftest.$ac_ext <<_ACEOF
10388 /* confdefs.h. */
10389 _ACEOF
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h. */
10393 #include <GL/gl.h>
10395 main ()
10397 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10399 return 0;
10401 _ACEOF
10402 rm -f conftest.$ac_objext
10403 if { (ac_try="$ac_compile"
10404 case "(($ac_try" in
10405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10406 *) ac_try_echo=$ac_try;;
10407 esac
10408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10409 (eval "$ac_compile") 2>conftest.er1
10410 ac_status=$?
10411 grep -v '^ *+' conftest.er1 >conftest.err
10412 rm -f conftest.er1
10413 cat conftest.err >&5
10414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } && {
10416 test -z "$ac_c_werror_flag" ||
10417 test ! -s conftest.err
10418 } && test -s conftest.$ac_objext; then
10419 wine_cv_opengl_header_version_OK="yes"
10420 else
10421 echo "$as_me: failed program was:" >&5
10422 sed 's/^/| /' conftest.$ac_ext >&5
10424 wine_cv_opengl_header_version_OK="no"
10427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10429 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10430 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10432 if test "$wine_cv_opengl_header_version_OK" = "yes"
10433 then
10434 { echo "$as_me:$LINENO: checking for -lGL" >&5
10435 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10436 if test "${ac_cv_lib_soname_GL+set}" = set; then
10437 echo $ECHO_N "(cached) $ECHO_C" >&6
10438 else
10439 ac_check_soname_save_LIBS=$LIBS
10440 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10441 cat >conftest.$ac_ext <<_ACEOF
10442 /* confdefs.h. */
10443 _ACEOF
10444 cat confdefs.h >>conftest.$ac_ext
10445 cat >>conftest.$ac_ext <<_ACEOF
10446 /* end confdefs.h. */
10448 /* Override any GCC internal prototype to avoid an error.
10449 Use char because int might match the return type of a GCC
10450 builtin and then its argument prototype would still apply. */
10451 #ifdef __cplusplus
10452 extern "C"
10453 #endif
10454 char glXCreateContext ();
10456 main ()
10458 return glXCreateContext ();
10460 return 0;
10462 _ACEOF
10463 rm -f conftest.$ac_objext conftest$ac_exeext
10464 if { (ac_try="$ac_link"
10465 case "(($ac_try" in
10466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10467 *) ac_try_echo=$ac_try;;
10468 esac
10469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10470 (eval "$ac_link") 2>conftest.er1
10471 ac_status=$?
10472 grep -v '^ *+' conftest.er1 >conftest.err
10473 rm -f conftest.er1
10474 cat conftest.err >&5
10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10476 (exit $ac_status); } && {
10477 test -z "$ac_c_werror_flag" ||
10478 test ! -s conftest.err
10479 } && test -s conftest$ac_exeext &&
10480 $as_test_x conftest$ac_exeext; then
10481 case "$LIBEXT" in
10482 dll) ;;
10483 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'` ;;
10484 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10485 esac
10486 else
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.$ac_ext >&5
10493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10494 conftest$ac_exeext conftest.$ac_ext
10495 LIBS=$ac_check_soname_save_LIBS
10497 if test "x$ac_cv_lib_soname_GL" = "x"; then
10498 { echo "$as_me:$LINENO: result: not found" >&5
10499 echo "${ECHO_T}not found" >&6; }
10500 if test -f /usr/X11R6/lib/libGL.a
10501 then
10502 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10503 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10504 else
10505 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10506 Wine will be build without OpenGL or Direct3D support."
10508 else
10509 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10510 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10512 cat >>confdefs.h <<_ACEOF
10513 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10514 _ACEOF
10516 OPENGL_LIBS="-lGL"
10517 OPENGLFILES='$(OPENGLFILES)'
10519 cat >>confdefs.h <<\_ACEOF
10520 #define HAVE_OPENGL 1
10521 _ACEOF
10526 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10527 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10528 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 else
10531 ac_check_lib_save_LIBS=$LIBS
10532 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10533 cat >conftest.$ac_ext <<_ACEOF
10534 /* confdefs.h. */
10535 _ACEOF
10536 cat confdefs.h >>conftest.$ac_ext
10537 cat >>conftest.$ac_ext <<_ACEOF
10538 /* end confdefs.h. */
10540 /* Override any GCC internal prototype to avoid an error.
10541 Use char because int might match the return type of a GCC
10542 builtin and then its argument prototype would still apply. */
10543 #ifdef __cplusplus
10544 extern "C"
10545 #endif
10546 char gluLookAt ();
10548 main ()
10550 return gluLookAt ();
10552 return 0;
10554 _ACEOF
10555 rm -f conftest.$ac_objext conftest$ac_exeext
10556 if { (ac_try="$ac_link"
10557 case "(($ac_try" in
10558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10559 *) ac_try_echo=$ac_try;;
10560 esac
10561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10562 (eval "$ac_link") 2>conftest.er1
10563 ac_status=$?
10564 grep -v '^ *+' conftest.er1 >conftest.err
10565 rm -f conftest.er1
10566 cat conftest.err >&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); } && {
10569 test -z "$ac_c_werror_flag" ||
10570 test ! -s conftest.err
10571 } && test -s conftest$ac_exeext &&
10572 $as_test_x conftest$ac_exeext; then
10573 ac_cv_lib_GLU_gluLookAt=yes
10574 else
10575 echo "$as_me: failed program was:" >&5
10576 sed 's/^/| /' conftest.$ac_ext >&5
10578 ac_cv_lib_GLU_gluLookAt=no
10581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10582 conftest$ac_exeext conftest.$ac_ext
10583 LIBS=$ac_check_lib_save_LIBS
10585 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10586 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10587 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10588 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10589 GLU32FILES='$(GLU32FILES)'
10593 else
10594 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10595 Wine will be build without OpenGL or Direct3D support."
10597 else
10598 wine_warnings="$wine_warnings|OpenGL development headers not found.
10599 Wine will be build without OpenGL or Direct3D support."
10603 NASLIBS=""
10606 for ac_header in audio/audiolib.h
10608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10613 echo $ECHO_N "(cached) $ECHO_C" >&6
10615 ac_res=`eval echo '${'$as_ac_Header'}'`
10616 { echo "$as_me:$LINENO: result: $ac_res" >&5
10617 echo "${ECHO_T}$ac_res" >&6; }
10618 else
10619 # Is the header compilable?
10620 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10622 cat >conftest.$ac_ext <<_ACEOF
10623 /* confdefs.h. */
10624 _ACEOF
10625 cat confdefs.h >>conftest.$ac_ext
10626 cat >>conftest.$ac_ext <<_ACEOF
10627 /* end confdefs.h. */
10628 $ac_includes_default
10629 #include <$ac_header>
10630 _ACEOF
10631 rm -f conftest.$ac_objext
10632 if { (ac_try="$ac_compile"
10633 case "(($ac_try" in
10634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10635 *) ac_try_echo=$ac_try;;
10636 esac
10637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10638 (eval "$ac_compile") 2>conftest.er1
10639 ac_status=$?
10640 grep -v '^ *+' conftest.er1 >conftest.err
10641 rm -f conftest.er1
10642 cat conftest.err >&5
10643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10644 (exit $ac_status); } && {
10645 test -z "$ac_c_werror_flag" ||
10646 test ! -s conftest.err
10647 } && test -s conftest.$ac_objext; then
10648 ac_header_compiler=yes
10649 else
10650 echo "$as_me: failed program was:" >&5
10651 sed 's/^/| /' conftest.$ac_ext >&5
10653 ac_header_compiler=no
10656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10657 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10658 echo "${ECHO_T}$ac_header_compiler" >&6; }
10660 # Is the header present?
10661 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10663 cat >conftest.$ac_ext <<_ACEOF
10664 /* confdefs.h. */
10665 _ACEOF
10666 cat confdefs.h >>conftest.$ac_ext
10667 cat >>conftest.$ac_ext <<_ACEOF
10668 /* end confdefs.h. */
10669 #include <$ac_header>
10670 _ACEOF
10671 if { (ac_try="$ac_cpp conftest.$ac_ext"
10672 case "(($ac_try" in
10673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10674 *) ac_try_echo=$ac_try;;
10675 esac
10676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10678 ac_status=$?
10679 grep -v '^ *+' conftest.er1 >conftest.err
10680 rm -f conftest.er1
10681 cat conftest.err >&5
10682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10683 (exit $ac_status); } >/dev/null && {
10684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10685 test ! -s conftest.err
10686 }; then
10687 ac_header_preproc=yes
10688 else
10689 echo "$as_me: failed program was:" >&5
10690 sed 's/^/| /' conftest.$ac_ext >&5
10692 ac_header_preproc=no
10695 rm -f conftest.err conftest.$ac_ext
10696 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10697 echo "${ECHO_T}$ac_header_preproc" >&6; }
10699 # So? What about this header?
10700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10701 yes:no: )
10702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10706 ac_header_preproc=yes
10708 no:yes:* )
10709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10713 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10715 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10716 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10721 ( cat <<\_ASBOX
10722 ## ------------------------------------ ##
10723 ## Report this to wine-devel@winehq.org ##
10724 ## ------------------------------------ ##
10725 _ASBOX
10726 ) | sed "s/^/$as_me: WARNING: /" >&2
10728 esac
10729 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10733 else
10734 eval "$as_ac_Header=\$ac_header_preproc"
10736 ac_res=`eval echo '${'$as_ac_Header'}'`
10737 { echo "$as_me:$LINENO: result: $ac_res" >&5
10738 echo "${ECHO_T}$ac_res" >&6; }
10741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10742 cat >>confdefs.h <<_ACEOF
10743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10744 _ACEOF
10746 for ac_header in audio/soundlib.h
10748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10749 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10751 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 else
10754 cat >conftest.$ac_ext <<_ACEOF
10755 /* confdefs.h. */
10756 _ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10760 #include <audio/audiolib.h>
10762 #include <$ac_header>
10763 _ACEOF
10764 rm -f conftest.$ac_objext
10765 if { (ac_try="$ac_compile"
10766 case "(($ac_try" in
10767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10768 *) ac_try_echo=$ac_try;;
10769 esac
10770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10771 (eval "$ac_compile") 2>conftest.er1
10772 ac_status=$?
10773 grep -v '^ *+' conftest.er1 >conftest.err
10774 rm -f conftest.er1
10775 cat conftest.err >&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } && {
10778 test -z "$ac_c_werror_flag" ||
10779 test ! -s conftest.err
10780 } && test -s conftest.$ac_objext; then
10781 eval "$as_ac_Header=yes"
10782 else
10783 echo "$as_me: failed program was:" >&5
10784 sed 's/^/| /' conftest.$ac_ext >&5
10786 eval "$as_ac_Header=no"
10789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10791 ac_res=`eval echo '${'$as_ac_Header'}'`
10792 { echo "$as_me:$LINENO: result: $ac_res" >&5
10793 echo "${ECHO_T}$ac_res" >&6; }
10794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10795 cat >>confdefs.h <<_ACEOF
10796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10797 _ACEOF
10801 done
10803 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10804 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10805 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10806 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 else
10808 ac_check_lib_save_LIBS=$LIBS
10809 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10810 cat >conftest.$ac_ext <<_ACEOF
10811 /* confdefs.h. */
10812 _ACEOF
10813 cat confdefs.h >>conftest.$ac_ext
10814 cat >>conftest.$ac_ext <<_ACEOF
10815 /* end confdefs.h. */
10817 /* Override any GCC internal prototype to avoid an error.
10818 Use char because int might match the return type of a GCC
10819 builtin and then its argument prototype would still apply. */
10820 #ifdef __cplusplus
10821 extern "C"
10822 #endif
10823 char AuCreateFlow ();
10825 main ()
10827 return AuCreateFlow ();
10829 return 0;
10831 _ACEOF
10832 rm -f conftest.$ac_objext conftest$ac_exeext
10833 if { (ac_try="$ac_link"
10834 case "(($ac_try" in
10835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10836 *) ac_try_echo=$ac_try;;
10837 esac
10838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10839 (eval "$ac_link") 2>conftest.er1
10840 ac_status=$?
10841 grep -v '^ *+' conftest.er1 >conftest.err
10842 rm -f conftest.er1
10843 cat conftest.err >&5
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } && {
10846 test -z "$ac_c_werror_flag" ||
10847 test ! -s conftest.err
10848 } && test -s conftest$ac_exeext &&
10849 $as_test_x conftest$ac_exeext; then
10850 ac_cv_lib_audio_AuCreateFlow=yes
10851 else
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.$ac_ext >&5
10855 ac_cv_lib_audio_AuCreateFlow=no
10858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10859 conftest$ac_exeext conftest.$ac_ext
10860 LIBS=$ac_check_lib_save_LIBS
10862 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10863 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10864 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10866 cat >>confdefs.h <<\_ACEOF
10867 #define HAVE_NAS 1
10868 _ACEOF
10870 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10871 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10872 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 else
10875 ac_check_lib_save_LIBS=$LIBS
10876 LIBS="-lXau $X_LIBS $LIBS"
10877 cat >conftest.$ac_ext <<_ACEOF
10878 /* confdefs.h. */
10879 _ACEOF
10880 cat confdefs.h >>conftest.$ac_ext
10881 cat >>conftest.$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10884 /* Override any GCC internal prototype to avoid an error.
10885 Use char because int might match the return type of a GCC
10886 builtin and then its argument prototype would still apply. */
10887 #ifdef __cplusplus
10888 extern "C"
10889 #endif
10890 char XauGetBestAuthByAddr ();
10892 main ()
10894 return XauGetBestAuthByAddr ();
10896 return 0;
10898 _ACEOF
10899 rm -f conftest.$ac_objext conftest$ac_exeext
10900 if { (ac_try="$ac_link"
10901 case "(($ac_try" in
10902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10903 *) ac_try_echo=$ac_try;;
10904 esac
10905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10906 (eval "$ac_link") 2>conftest.er1
10907 ac_status=$?
10908 grep -v '^ *+' conftest.er1 >conftest.err
10909 rm -f conftest.er1
10910 cat conftest.err >&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); } && {
10913 test -z "$ac_c_werror_flag" ||
10914 test ! -s conftest.err
10915 } && test -s conftest$ac_exeext &&
10916 $as_test_x conftest$ac_exeext; then
10917 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10918 else
10919 echo "$as_me: failed program was:" >&5
10920 sed 's/^/| /' conftest.$ac_ext >&5
10922 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10926 conftest$ac_exeext conftest.$ac_ext
10927 LIBS=$ac_check_lib_save_LIBS
10929 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10930 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10931 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10932 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10933 else
10934 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10942 done
10945 CPPFLAGS="$ac_save_CPPFLAGS"
10946 XFILES='$(XFILES)'
10947 else
10948 XLIB=""
10949 X_CFLAGS=""
10950 X_LIBS=""
10951 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10952 without X support, which probably isn't what you want. You will need to install
10953 development packages of Xlib/Xfree86 at the very least."
10957 XML2LIBS=""
10959 XML2INCL=""
10961 XSLTLIBS=""
10963 XSLTINCL=""
10965 ac_save_CPPFLAGS="$CPPFLAGS"
10966 if test "$PKG_CONFIG" != "false"
10967 then
10968 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10969 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10970 else
10971 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10972 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10974 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10976 for ac_header in libxml/parser.h
10978 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10979 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10980 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10985 ac_res=`eval echo '${'$as_ac_Header'}'`
10986 { echo "$as_me:$LINENO: result: $ac_res" >&5
10987 echo "${ECHO_T}$ac_res" >&6; }
10988 else
10989 # Is the header compilable?
10990 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10992 cat >conftest.$ac_ext <<_ACEOF
10993 /* confdefs.h. */
10994 _ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10998 $ac_includes_default
10999 #include <$ac_header>
11000 _ACEOF
11001 rm -f conftest.$ac_objext
11002 if { (ac_try="$ac_compile"
11003 case "(($ac_try" in
11004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11005 *) ac_try_echo=$ac_try;;
11006 esac
11007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11008 (eval "$ac_compile") 2>conftest.er1
11009 ac_status=$?
11010 grep -v '^ *+' conftest.er1 >conftest.err
11011 rm -f conftest.er1
11012 cat conftest.err >&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } && {
11015 test -z "$ac_c_werror_flag" ||
11016 test ! -s conftest.err
11017 } && test -s conftest.$ac_objext; then
11018 ac_header_compiler=yes
11019 else
11020 echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.$ac_ext >&5
11023 ac_header_compiler=no
11026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11027 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11028 echo "${ECHO_T}$ac_header_compiler" >&6; }
11030 # Is the header present?
11031 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11033 cat >conftest.$ac_ext <<_ACEOF
11034 /* confdefs.h. */
11035 _ACEOF
11036 cat confdefs.h >>conftest.$ac_ext
11037 cat >>conftest.$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039 #include <$ac_header>
11040 _ACEOF
11041 if { (ac_try="$ac_cpp conftest.$ac_ext"
11042 case "(($ac_try" in
11043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11044 *) ac_try_echo=$ac_try;;
11045 esac
11046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11047 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11048 ac_status=$?
11049 grep -v '^ *+' conftest.er1 >conftest.err
11050 rm -f conftest.er1
11051 cat conftest.err >&5
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); } >/dev/null && {
11054 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11055 test ! -s conftest.err
11056 }; then
11057 ac_header_preproc=yes
11058 else
11059 echo "$as_me: failed program was:" >&5
11060 sed 's/^/| /' conftest.$ac_ext >&5
11062 ac_header_preproc=no
11065 rm -f conftest.err conftest.$ac_ext
11066 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11067 echo "${ECHO_T}$ac_header_preproc" >&6; }
11069 # So? What about this header?
11070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11071 yes:no: )
11072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11076 ac_header_preproc=yes
11078 no:yes:* )
11079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11091 ( cat <<\_ASBOX
11092 ## ------------------------------------ ##
11093 ## Report this to wine-devel@winehq.org ##
11094 ## ------------------------------------ ##
11095 _ASBOX
11096 ) | sed "s/^/$as_me: WARNING: /" >&2
11098 esac
11099 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11101 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11102 echo $ECHO_N "(cached) $ECHO_C" >&6
11103 else
11104 eval "$as_ac_Header=\$ac_header_preproc"
11106 ac_res=`eval echo '${'$as_ac_Header'}'`
11107 { echo "$as_me:$LINENO: result: $ac_res" >&5
11108 echo "${ECHO_T}$ac_res" >&6; }
11111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11112 cat >>confdefs.h <<_ACEOF
11113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11114 _ACEOF
11115 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11116 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11117 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 else
11120 ac_check_lib_save_LIBS=$LIBS
11121 LIBS="-lxml2 $ac_xml_libs $LIBS"
11122 cat >conftest.$ac_ext <<_ACEOF
11123 /* confdefs.h. */
11124 _ACEOF
11125 cat confdefs.h >>conftest.$ac_ext
11126 cat >>conftest.$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11129 /* Override any GCC internal prototype to avoid an error.
11130 Use char because int might match the return type of a GCC
11131 builtin and then its argument prototype would still apply. */
11132 #ifdef __cplusplus
11133 extern "C"
11134 #endif
11135 char xmlParseMemory ();
11137 main ()
11139 return xmlParseMemory ();
11141 return 0;
11143 _ACEOF
11144 rm -f conftest.$ac_objext conftest$ac_exeext
11145 if { (ac_try="$ac_link"
11146 case "(($ac_try" in
11147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11148 *) ac_try_echo=$ac_try;;
11149 esac
11150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11151 (eval "$ac_link") 2>conftest.er1
11152 ac_status=$?
11153 grep -v '^ *+' conftest.er1 >conftest.err
11154 rm -f conftest.er1
11155 cat conftest.err >&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } && {
11158 test -z "$ac_c_werror_flag" ||
11159 test ! -s conftest.err
11160 } && test -s conftest$ac_exeext &&
11161 $as_test_x conftest$ac_exeext; then
11162 ac_cv_lib_xml2_xmlParseMemory=yes
11163 else
11164 echo "$as_me: failed program was:" >&5
11165 sed 's/^/| /' conftest.$ac_ext >&5
11167 ac_cv_lib_xml2_xmlParseMemory=no
11170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11171 conftest$ac_exeext conftest.$ac_ext
11172 LIBS=$ac_check_lib_save_LIBS
11174 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11175 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11176 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11178 cat >>confdefs.h <<\_ACEOF
11179 #define HAVE_LIBXML2 1
11180 _ACEOF
11182 XML2LIBS="$ac_xml_libs"
11183 XML2INCL="$ac_xml_cflags"
11186 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11187 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11188 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 else
11191 ac_check_lib_save_LIBS=$LIBS
11192 LIBS="-lxml2 $ac_xml_libs $LIBS"
11193 cat >conftest.$ac_ext <<_ACEOF
11194 /* confdefs.h. */
11195 _ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char xmlReadMemory ();
11208 main ()
11210 return xmlReadMemory ();
11212 return 0;
11214 _ACEOF
11215 rm -f conftest.$ac_objext conftest$ac_exeext
11216 if { (ac_try="$ac_link"
11217 case "(($ac_try" in
11218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11219 *) ac_try_echo=$ac_try;;
11220 esac
11221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11222 (eval "$ac_link") 2>conftest.er1
11223 ac_status=$?
11224 grep -v '^ *+' conftest.er1 >conftest.err
11225 rm -f conftest.er1
11226 cat conftest.err >&5
11227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228 (exit $ac_status); } && {
11229 test -z "$ac_c_werror_flag" ||
11230 test ! -s conftest.err
11231 } && test -s conftest$ac_exeext &&
11232 $as_test_x conftest$ac_exeext; then
11233 ac_cv_lib_xml2_xmlReadMemory=yes
11234 else
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.$ac_ext >&5
11238 ac_cv_lib_xml2_xmlReadMemory=no
11241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11242 conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_lib_save_LIBS
11245 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11246 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11247 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11249 cat >>confdefs.h <<\_ACEOF
11250 #define HAVE_XMLREADMEMORY 1
11251 _ACEOF
11255 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11256 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11257 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11258 echo $ECHO_N "(cached) $ECHO_C" >&6
11259 else
11260 ac_check_lib_save_LIBS=$LIBS
11261 LIBS="-lxml2 $ac_xml_libs $LIBS"
11262 cat >conftest.$ac_ext <<_ACEOF
11263 /* confdefs.h. */
11264 _ACEOF
11265 cat confdefs.h >>conftest.$ac_ext
11266 cat >>conftest.$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11272 #ifdef __cplusplus
11273 extern "C"
11274 #endif
11275 char xmlNewDocPI ();
11277 main ()
11279 return xmlNewDocPI ();
11281 return 0;
11283 _ACEOF
11284 rm -f conftest.$ac_objext conftest$ac_exeext
11285 if { (ac_try="$ac_link"
11286 case "(($ac_try" in
11287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11289 esac
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_link") 2>conftest.er1
11292 ac_status=$?
11293 grep -v '^ *+' conftest.er1 >conftest.err
11294 rm -f conftest.er1
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } && {
11298 test -z "$ac_c_werror_flag" ||
11299 test ! -s conftest.err
11300 } && test -s conftest$ac_exeext &&
11301 $as_test_x conftest$ac_exeext; then
11302 ac_cv_lib_xml2_xmlNewDocPI=yes
11303 else
11304 echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.$ac_ext >&5
11307 ac_cv_lib_xml2_xmlNewDocPI=no
11310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11311 conftest$ac_exeext conftest.$ac_ext
11312 LIBS=$ac_check_lib_save_LIBS
11314 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11315 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11316 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11318 cat >>confdefs.h <<\_ACEOF
11319 #define HAVE_XMLNEWDOCPI 1
11320 _ACEOF
11327 done
11329 CPPFLAGS="$ac_save_CPPFLAGS"
11330 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11331 wine_notices="$wine_notices|libxml2 development files not found.
11332 Wine will be built without XML support. (msxml.dll)"
11336 if test "$PKG_CONFIG" != "false"
11337 then
11338 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11339 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11340 else
11341 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11342 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11344 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11347 for ac_header in libxslt/pattern.h libxslt/transform.h
11349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11354 else
11355 cat >conftest.$ac_ext <<_ACEOF
11356 /* confdefs.h. */
11357 _ACEOF
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 #ifdef HAVE_LIBXSLT_PATTERN_H
11362 # include <libxslt/pattern.h>
11363 #endif
11365 #include <$ac_header>
11366 _ACEOF
11367 rm -f conftest.$ac_objext
11368 if { (ac_try="$ac_compile"
11369 case "(($ac_try" in
11370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11371 *) ac_try_echo=$ac_try;;
11372 esac
11373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11374 (eval "$ac_compile") 2>conftest.er1
11375 ac_status=$?
11376 grep -v '^ *+' conftest.er1 >conftest.err
11377 rm -f conftest.er1
11378 cat conftest.err >&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); } && {
11381 test -z "$ac_c_werror_flag" ||
11382 test ! -s conftest.err
11383 } && test -s conftest.$ac_objext; then
11384 eval "$as_ac_Header=yes"
11385 else
11386 echo "$as_me: failed program was:" >&5
11387 sed 's/^/| /' conftest.$ac_ext >&5
11389 eval "$as_ac_Header=no"
11392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11394 ac_res=`eval echo '${'$as_ac_Header'}'`
11395 { echo "$as_me:$LINENO: result: $ac_res" >&5
11396 echo "${ECHO_T}$ac_res" >&6; }
11397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11398 cat >>confdefs.h <<_ACEOF
11399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11400 _ACEOF
11401 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11402 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11403 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11404 echo $ECHO_N "(cached) $ECHO_C" >&6
11405 else
11406 ac_check_lib_save_LIBS=$LIBS
11407 LIBS="-lxslt $ac_xslt_libs $LIBS"
11408 cat >conftest.$ac_ext <<_ACEOF
11409 /* confdefs.h. */
11410 _ACEOF
11411 cat confdefs.h >>conftest.$ac_ext
11412 cat >>conftest.$ac_ext <<_ACEOF
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char xsltCompilePattern ();
11423 main ()
11425 return xsltCompilePattern ();
11427 return 0;
11429 _ACEOF
11430 rm -f conftest.$ac_objext conftest$ac_exeext
11431 if { (ac_try="$ac_link"
11432 case "(($ac_try" in
11433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11434 *) ac_try_echo=$ac_try;;
11435 esac
11436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11437 (eval "$ac_link") 2>conftest.er1
11438 ac_status=$?
11439 grep -v '^ *+' conftest.er1 >conftest.err
11440 rm -f conftest.er1
11441 cat conftest.err >&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } && {
11444 test -z "$ac_c_werror_flag" ||
11445 test ! -s conftest.err
11446 } && test -s conftest$ac_exeext &&
11447 $as_test_x conftest$ac_exeext; then
11448 ac_cv_lib_xslt_xsltCompilePattern=yes
11449 else
11450 echo "$as_me: failed program was:" >&5
11451 sed 's/^/| /' conftest.$ac_ext >&5
11453 ac_cv_lib_xslt_xsltCompilePattern=no
11456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11457 conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_lib_save_LIBS
11460 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11461 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11462 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11464 cat >>confdefs.h <<\_ACEOF
11465 #define HAVE_LIBXSLT 1
11466 _ACEOF
11468 XSLTLIBS="$ac_xslt_libs"
11469 XSLTINCL="$ac_xslt_cflags"
11475 done
11477 CPPFLAGS="$ac_save_CPPFLAGS"
11478 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11479 wine_notices="$wine_notices|libxslt development files not found.
11480 Wine will be built without xslt support. (msxml.dll)"
11484 HALINCL=""
11486 if test "$PKG_CONFIG" != "false"
11487 then
11488 ac_save_CPPFLAGS="$CPPFLAGS"
11489 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11490 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11491 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11494 for ac_header in dbus/dbus.h hal/libhal.h
11496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 ac_res=`eval echo '${'$as_ac_Header'}'`
11504 { echo "$as_me:$LINENO: result: $ac_res" >&5
11505 echo "${ECHO_T}$ac_res" >&6; }
11506 else
11507 # Is the header compilable?
11508 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11510 cat >conftest.$ac_ext <<_ACEOF
11511 /* confdefs.h. */
11512 _ACEOF
11513 cat confdefs.h >>conftest.$ac_ext
11514 cat >>conftest.$ac_ext <<_ACEOF
11515 /* end confdefs.h. */
11516 $ac_includes_default
11517 #include <$ac_header>
11518 _ACEOF
11519 rm -f conftest.$ac_objext
11520 if { (ac_try="$ac_compile"
11521 case "(($ac_try" in
11522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11523 *) ac_try_echo=$ac_try;;
11524 esac
11525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11526 (eval "$ac_compile") 2>conftest.er1
11527 ac_status=$?
11528 grep -v '^ *+' conftest.er1 >conftest.err
11529 rm -f conftest.er1
11530 cat conftest.err >&5
11531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); } && {
11533 test -z "$ac_c_werror_flag" ||
11534 test ! -s conftest.err
11535 } && test -s conftest.$ac_objext; then
11536 ac_header_compiler=yes
11537 else
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.$ac_ext >&5
11541 ac_header_compiler=no
11544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11545 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11546 echo "${ECHO_T}$ac_header_compiler" >&6; }
11548 # Is the header present?
11549 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11550 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11551 cat >conftest.$ac_ext <<_ACEOF
11552 /* confdefs.h. */
11553 _ACEOF
11554 cat confdefs.h >>conftest.$ac_ext
11555 cat >>conftest.$ac_ext <<_ACEOF
11556 /* end confdefs.h. */
11557 #include <$ac_header>
11558 _ACEOF
11559 if { (ac_try="$ac_cpp conftest.$ac_ext"
11560 case "(($ac_try" in
11561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11562 *) ac_try_echo=$ac_try;;
11563 esac
11564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11565 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11566 ac_status=$?
11567 grep -v '^ *+' conftest.er1 >conftest.err
11568 rm -f conftest.er1
11569 cat conftest.err >&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } >/dev/null && {
11572 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11573 test ! -s conftest.err
11574 }; then
11575 ac_header_preproc=yes
11576 else
11577 echo "$as_me: failed program was:" >&5
11578 sed 's/^/| /' conftest.$ac_ext >&5
11580 ac_header_preproc=no
11583 rm -f conftest.err conftest.$ac_ext
11584 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11585 echo "${ECHO_T}$ac_header_preproc" >&6; }
11587 # So? What about this header?
11588 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11589 yes:no: )
11590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11593 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11594 ac_header_preproc=yes
11596 no:yes:* )
11597 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11598 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11599 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11600 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11601 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11602 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11603 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11604 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11607 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11608 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11609 ( cat <<\_ASBOX
11610 ## ------------------------------------ ##
11611 ## Report this to wine-devel@winehq.org ##
11612 ## ------------------------------------ ##
11613 _ASBOX
11614 ) | sed "s/^/$as_me: WARNING: /" >&2
11616 esac
11617 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11619 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11620 echo $ECHO_N "(cached) $ECHO_C" >&6
11621 else
11622 eval "$as_ac_Header=\$ac_header_preproc"
11624 ac_res=`eval echo '${'$as_ac_Header'}'`
11625 { echo "$as_me:$LINENO: result: $ac_res" >&5
11626 echo "${ECHO_T}$ac_res" >&6; }
11629 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11630 cat >>confdefs.h <<_ACEOF
11631 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11632 _ACEOF
11636 done
11638 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11639 then
11640 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11641 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11642 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11643 echo $ECHO_N "(cached) $ECHO_C" >&6
11644 else
11645 ac_check_lib_save_LIBS=$LIBS
11646 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11647 cat >conftest.$ac_ext <<_ACEOF
11648 /* confdefs.h. */
11649 _ACEOF
11650 cat confdefs.h >>conftest.$ac_ext
11651 cat >>conftest.$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11654 /* Override any GCC internal prototype to avoid an error.
11655 Use char because int might match the return type of a GCC
11656 builtin and then its argument prototype would still apply. */
11657 #ifdef __cplusplus
11658 extern "C"
11659 #endif
11660 char dbus_connection_close ();
11662 main ()
11664 return dbus_connection_close ();
11666 return 0;
11668 _ACEOF
11669 rm -f conftest.$ac_objext conftest$ac_exeext
11670 if { (ac_try="$ac_link"
11671 case "(($ac_try" in
11672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11673 *) ac_try_echo=$ac_try;;
11674 esac
11675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11676 (eval "$ac_link") 2>conftest.er1
11677 ac_status=$?
11678 grep -v '^ *+' conftest.er1 >conftest.err
11679 rm -f conftest.er1
11680 cat conftest.err >&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } && {
11683 test -z "$ac_c_werror_flag" ||
11684 test ! -s conftest.err
11685 } && test -s conftest$ac_exeext &&
11686 $as_test_x conftest$ac_exeext; then
11687 ac_cv_lib_dbus_1_dbus_connection_close=yes
11688 else
11689 echo "$as_me: failed program was:" >&5
11690 sed 's/^/| /' conftest.$ac_ext >&5
11692 ac_cv_lib_dbus_1_dbus_connection_close=no
11695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11696 conftest$ac_exeext conftest.$ac_ext
11697 LIBS=$ac_check_lib_save_LIBS
11699 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11700 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11701 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11702 { echo "$as_me:$LINENO: checking for -lhal" >&5
11703 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11704 if test "${ac_cv_lib_soname_hal+set}" = set; then
11705 echo $ECHO_N "(cached) $ECHO_C" >&6
11706 else
11707 ac_check_soname_save_LIBS=$LIBS
11708 LIBS="-lhal $ac_hal_libs $LIBS"
11709 cat >conftest.$ac_ext <<_ACEOF
11710 /* confdefs.h. */
11711 _ACEOF
11712 cat confdefs.h >>conftest.$ac_ext
11713 cat >>conftest.$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11719 #ifdef __cplusplus
11720 extern "C"
11721 #endif
11722 char libhal_ctx_new ();
11724 main ()
11726 return libhal_ctx_new ();
11728 return 0;
11730 _ACEOF
11731 rm -f conftest.$ac_objext conftest$ac_exeext
11732 if { (ac_try="$ac_link"
11733 case "(($ac_try" in
11734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11735 *) ac_try_echo=$ac_try;;
11736 esac
11737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11738 (eval "$ac_link") 2>conftest.er1
11739 ac_status=$?
11740 grep -v '^ *+' conftest.er1 >conftest.err
11741 rm -f conftest.er1
11742 cat conftest.err >&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); } && {
11745 test -z "$ac_c_werror_flag" ||
11746 test ! -s conftest.err
11747 } && test -s conftest$ac_exeext &&
11748 $as_test_x conftest$ac_exeext; then
11749 case "$LIBEXT" in
11750 dll) ;;
11751 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'` ;;
11752 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11753 esac
11754 else
11755 echo "$as_me: failed program was:" >&5
11756 sed 's/^/| /' conftest.$ac_ext >&5
11761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11762 conftest$ac_exeext conftest.$ac_ext
11763 LIBS=$ac_check_soname_save_LIBS
11765 if test "x$ac_cv_lib_soname_hal" = "x"; then
11766 { echo "$as_me:$LINENO: result: not found" >&5
11767 echo "${ECHO_T}not found" >&6; }
11769 else
11770 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11771 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11773 cat >>confdefs.h <<_ACEOF
11774 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11775 _ACEOF
11777 HALINCL="$ac_hal_cflags"
11783 CPPFLAGS="$ac_save_CPPFLAGS"
11785 if test "x$ac_cv_lib_soname_hal" = "x"; then
11786 wine_notices="$wine_notices|libhal development files not found.
11787 Wine will be built without dynamic device support. (explorer.exe)"
11791 CURSESLIBS=""
11792 if test "$ac_cv_header_ncurses_h" = "yes"
11793 then
11794 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11795 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11796 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11797 echo $ECHO_N "(cached) $ECHO_C" >&6
11798 else
11799 ac_check_soname_save_LIBS=$LIBS
11800 LIBS="-lncurses $LIBS"
11801 cat >conftest.$ac_ext <<_ACEOF
11802 /* confdefs.h. */
11803 _ACEOF
11804 cat confdefs.h >>conftest.$ac_ext
11805 cat >>conftest.$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11808 /* Override any GCC internal prototype to avoid an error.
11809 Use char because int might match the return type of a GCC
11810 builtin and then its argument prototype would still apply. */
11811 #ifdef __cplusplus
11812 extern "C"
11813 #endif
11814 char waddch ();
11816 main ()
11818 return waddch ();
11820 return 0;
11822 _ACEOF
11823 rm -f conftest.$ac_objext conftest$ac_exeext
11824 if { (ac_try="$ac_link"
11825 case "(($ac_try" in
11826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11827 *) ac_try_echo=$ac_try;;
11828 esac
11829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11830 (eval "$ac_link") 2>conftest.er1
11831 ac_status=$?
11832 grep -v '^ *+' conftest.er1 >conftest.err
11833 rm -f conftest.er1
11834 cat conftest.err >&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); } && {
11837 test -z "$ac_c_werror_flag" ||
11838 test ! -s conftest.err
11839 } && test -s conftest$ac_exeext &&
11840 $as_test_x conftest$ac_exeext; then
11841 case "$LIBEXT" in
11842 dll) ;;
11843 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'` ;;
11844 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11845 esac
11846 else
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.$ac_ext >&5
11853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11854 conftest$ac_exeext conftest.$ac_ext
11855 LIBS=$ac_check_soname_save_LIBS
11857 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11858 { echo "$as_me:$LINENO: result: not found" >&5
11859 echo "${ECHO_T}not found" >&6; }
11861 else
11862 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11863 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11865 cat >>confdefs.h <<_ACEOF
11866 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11867 _ACEOF
11869 CURSESLIBS="-lncurses"
11872 elif test "$ac_cv_header_curses_h" = "yes"
11873 then
11874 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11875 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11876 if test "${ac_cv_lib_soname_curses+set}" = set; then
11877 echo $ECHO_N "(cached) $ECHO_C" >&6
11878 else
11879 ac_check_soname_save_LIBS=$LIBS
11880 LIBS="-lcurses $LIBS"
11881 cat >conftest.$ac_ext <<_ACEOF
11882 /* confdefs.h. */
11883 _ACEOF
11884 cat confdefs.h >>conftest.$ac_ext
11885 cat >>conftest.$ac_ext <<_ACEOF
11886 /* end confdefs.h. */
11888 /* Override any GCC internal prototype to avoid an error.
11889 Use char because int might match the return type of a GCC
11890 builtin and then its argument prototype would still apply. */
11891 #ifdef __cplusplus
11892 extern "C"
11893 #endif
11894 char waddch ();
11896 main ()
11898 return waddch ();
11900 return 0;
11902 _ACEOF
11903 rm -f conftest.$ac_objext conftest$ac_exeext
11904 if { (ac_try="$ac_link"
11905 case "(($ac_try" in
11906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11907 *) ac_try_echo=$ac_try;;
11908 esac
11909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11910 (eval "$ac_link") 2>conftest.er1
11911 ac_status=$?
11912 grep -v '^ *+' conftest.er1 >conftest.err
11913 rm -f conftest.er1
11914 cat conftest.err >&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); } && {
11917 test -z "$ac_c_werror_flag" ||
11918 test ! -s conftest.err
11919 } && test -s conftest$ac_exeext &&
11920 $as_test_x conftest$ac_exeext; then
11921 case "$LIBEXT" in
11922 dll) ;;
11923 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'` ;;
11924 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11925 esac
11926 else
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11934 conftest$ac_exeext conftest.$ac_ext
11935 LIBS=$ac_check_soname_save_LIBS
11937 if test "x$ac_cv_lib_soname_curses" = "x"; then
11938 { echo "$as_me:$LINENO: result: not found" >&5
11939 echo "${ECHO_T}not found" >&6; }
11941 else
11942 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11943 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11945 cat >>confdefs.h <<_ACEOF
11946 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11947 _ACEOF
11949 CURSESLIBS="-lcurses"
11953 ac_save_LIBS="$LIBS"
11954 LIBS="$LIBS $CURSESLIBS"
11956 for ac_func in mousemask
11958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11959 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11961 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11962 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 else
11964 cat >conftest.$ac_ext <<_ACEOF
11965 /* confdefs.h. */
11966 _ACEOF
11967 cat confdefs.h >>conftest.$ac_ext
11968 cat >>conftest.$ac_ext <<_ACEOF
11969 /* end confdefs.h. */
11970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11972 #define $ac_func innocuous_$ac_func
11974 /* System header to define __stub macros and hopefully few prototypes,
11975 which can conflict with char $ac_func (); below.
11976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11977 <limits.h> exists even on freestanding compilers. */
11979 #ifdef __STDC__
11980 # include <limits.h>
11981 #else
11982 # include <assert.h>
11983 #endif
11985 #undef $ac_func
11987 /* Override any GCC internal prototype to avoid an error.
11988 Use char because int might match the return type of a GCC
11989 builtin and then its argument prototype would still apply. */
11990 #ifdef __cplusplus
11991 extern "C"
11992 #endif
11993 char $ac_func ();
11994 /* The GNU C library defines this for functions which it implements
11995 to always fail with ENOSYS. Some functions are actually named
11996 something starting with __ and the normal name is an alias. */
11997 #if defined __stub_$ac_func || defined __stub___$ac_func
11998 choke me
11999 #endif
12002 main ()
12004 return $ac_func ();
12006 return 0;
12008 _ACEOF
12009 rm -f conftest.$ac_objext conftest$ac_exeext
12010 if { (ac_try="$ac_link"
12011 case "(($ac_try" in
12012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12013 *) ac_try_echo=$ac_try;;
12014 esac
12015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12016 (eval "$ac_link") 2>conftest.er1
12017 ac_status=$?
12018 grep -v '^ *+' conftest.er1 >conftest.err
12019 rm -f conftest.er1
12020 cat conftest.err >&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } && {
12023 test -z "$ac_c_werror_flag" ||
12024 test ! -s conftest.err
12025 } && test -s conftest$ac_exeext &&
12026 $as_test_x conftest$ac_exeext; then
12027 eval "$as_ac_var=yes"
12028 else
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.$ac_ext >&5
12032 eval "$as_ac_var=no"
12035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12036 conftest$ac_exeext conftest.$ac_ext
12038 ac_res=`eval echo '${'$as_ac_var'}'`
12039 { echo "$as_me:$LINENO: result: $ac_res" >&5
12040 echo "${ECHO_T}$ac_res" >&6; }
12041 if test `eval echo '${'$as_ac_var'}'` = yes; then
12042 cat >>confdefs.h <<_ACEOF
12043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12044 _ACEOF
12047 done
12049 LIBS="$ac_save_LIBS"
12050 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12051 wine_notices="$wine_notices|lib(n)curses development files not found.
12052 Wine will be built without (n)curses support. (wineconsole.exe)"
12056 # Extract the first word of "sane-config", so it can be a program name with args.
12057 set dummy sane-config; ac_word=$2
12058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12060 if test "${ac_cv_prog_sane_devel+set}" = set; then
12061 echo $ECHO_N "(cached) $ECHO_C" >&6
12062 else
12063 if test -n "$sane_devel"; then
12064 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12065 else
12066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12067 for as_dir in $PATH
12069 IFS=$as_save_IFS
12070 test -z "$as_dir" && as_dir=.
12071 for ac_exec_ext in '' $ac_executable_extensions; do
12072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12073 ac_cv_prog_sane_devel="sane-config"
12074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12075 break 2
12077 done
12078 done
12079 IFS=$as_save_IFS
12081 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12084 sane_devel=$ac_cv_prog_sane_devel
12085 if test -n "$sane_devel"; then
12086 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12087 echo "${ECHO_T}$sane_devel" >&6; }
12088 else
12089 { echo "$as_me:$LINENO: result: no" >&5
12090 echo "${ECHO_T}no" >&6; }
12094 if test "$sane_devel" != "no"
12095 then
12096 ac_sane_incl="`$sane_devel --cflags`"
12097 ac_save_CPPFLAGS="$CPPFLAGS"
12098 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12099 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12100 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12101 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12102 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12106 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12107 else
12108 # Is the header compilable?
12109 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12110 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12111 cat >conftest.$ac_ext <<_ACEOF
12112 /* confdefs.h. */
12113 _ACEOF
12114 cat confdefs.h >>conftest.$ac_ext
12115 cat >>conftest.$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12117 $ac_includes_default
12118 #include <sane/sane.h>
12119 _ACEOF
12120 rm -f conftest.$ac_objext
12121 if { (ac_try="$ac_compile"
12122 case "(($ac_try" in
12123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12124 *) ac_try_echo=$ac_try;;
12125 esac
12126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12127 (eval "$ac_compile") 2>conftest.er1
12128 ac_status=$?
12129 grep -v '^ *+' conftest.er1 >conftest.err
12130 rm -f conftest.er1
12131 cat conftest.err >&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); } && {
12134 test -z "$ac_c_werror_flag" ||
12135 test ! -s conftest.err
12136 } && test -s conftest.$ac_objext; then
12137 ac_header_compiler=yes
12138 else
12139 echo "$as_me: failed program was:" >&5
12140 sed 's/^/| /' conftest.$ac_ext >&5
12142 ac_header_compiler=no
12145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12146 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12147 echo "${ECHO_T}$ac_header_compiler" >&6; }
12149 # Is the header present?
12150 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12151 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12152 cat >conftest.$ac_ext <<_ACEOF
12153 /* confdefs.h. */
12154 _ACEOF
12155 cat confdefs.h >>conftest.$ac_ext
12156 cat >>conftest.$ac_ext <<_ACEOF
12157 /* end confdefs.h. */
12158 #include <sane/sane.h>
12159 _ACEOF
12160 if { (ac_try="$ac_cpp conftest.$ac_ext"
12161 case "(($ac_try" in
12162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12163 *) ac_try_echo=$ac_try;;
12164 esac
12165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12167 ac_status=$?
12168 grep -v '^ *+' conftest.er1 >conftest.err
12169 rm -f conftest.er1
12170 cat conftest.err >&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); } >/dev/null && {
12173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12174 test ! -s conftest.err
12175 }; then
12176 ac_header_preproc=yes
12177 else
12178 echo "$as_me: failed program was:" >&5
12179 sed 's/^/| /' conftest.$ac_ext >&5
12181 ac_header_preproc=no
12184 rm -f conftest.err conftest.$ac_ext
12185 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12186 echo "${ECHO_T}$ac_header_preproc" >&6; }
12188 # So? What about this header?
12189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12190 yes:no: )
12191 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12192 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12193 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12194 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12195 ac_header_preproc=yes
12197 no:yes:* )
12198 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12199 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12200 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12201 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12202 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12203 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12204 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12205 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12206 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12207 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12208 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12209 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12210 ( cat <<\_ASBOX
12211 ## ------------------------------------ ##
12212 ## Report this to wine-devel@winehq.org ##
12213 ## ------------------------------------ ##
12214 _ASBOX
12215 ) | sed "s/^/$as_me: WARNING: /" >&2
12217 esac
12218 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12219 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12220 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12221 echo $ECHO_N "(cached) $ECHO_C" >&6
12222 else
12223 ac_cv_header_sane_sane_h=$ac_header_preproc
12225 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12226 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12229 if test $ac_cv_header_sane_sane_h = yes; then
12230 { echo "$as_me:$LINENO: checking for -lsane" >&5
12231 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12232 if test "${ac_cv_lib_soname_sane+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 else
12235 ac_check_soname_save_LIBS=$LIBS
12236 LIBS="-lsane $LIBS"
12237 cat >conftest.$ac_ext <<_ACEOF
12238 /* confdefs.h. */
12239 _ACEOF
12240 cat confdefs.h >>conftest.$ac_ext
12241 cat >>conftest.$ac_ext <<_ACEOF
12242 /* end confdefs.h. */
12244 /* Override any GCC internal prototype to avoid an error.
12245 Use char because int might match the return type of a GCC
12246 builtin and then its argument prototype would still apply. */
12247 #ifdef __cplusplus
12248 extern "C"
12249 #endif
12250 char sane_init ();
12252 main ()
12254 return sane_init ();
12256 return 0;
12258 _ACEOF
12259 rm -f conftest.$ac_objext conftest$ac_exeext
12260 if { (ac_try="$ac_link"
12261 case "(($ac_try" in
12262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12263 *) ac_try_echo=$ac_try;;
12264 esac
12265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12266 (eval "$ac_link") 2>conftest.er1
12267 ac_status=$?
12268 grep -v '^ *+' conftest.er1 >conftest.err
12269 rm -f conftest.er1
12270 cat conftest.err >&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } && {
12273 test -z "$ac_c_werror_flag" ||
12274 test ! -s conftest.err
12275 } && test -s conftest$ac_exeext &&
12276 $as_test_x conftest$ac_exeext; then
12277 case "$LIBEXT" in
12278 dll) ;;
12279 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'` ;;
12280 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12281 esac
12282 else
12283 echo "$as_me: failed program was:" >&5
12284 sed 's/^/| /' conftest.$ac_ext >&5
12289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_soname_save_LIBS
12293 if test "x$ac_cv_lib_soname_sane" = "x"; then
12294 { echo "$as_me:$LINENO: result: not found" >&5
12295 echo "${ECHO_T}not found" >&6; }
12297 else
12298 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12299 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12301 cat >>confdefs.h <<_ACEOF
12302 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12303 _ACEOF
12305 SANEINCL="$ac_sane_incl"
12312 CPPFLAGS="$ac_save_CPPFLAGS"
12314 if test "x$ac_cv_lib_soname_sane" = "x"; then
12315 wine_notices="$wine_notices|libsane development files not found.
12316 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12320 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12321 set dummy gphoto2-config; ac_word=$2
12322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12324 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12325 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 else
12327 if test -n "$gphoto2_devel"; then
12328 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12329 else
12330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12331 for as_dir in $PATH
12333 IFS=$as_save_IFS
12334 test -z "$as_dir" && as_dir=.
12335 for ac_exec_ext in '' $ac_executable_extensions; do
12336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12337 ac_cv_prog_gphoto2_devel="gphoto2-config"
12338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12339 break 2
12341 done
12342 done
12343 IFS=$as_save_IFS
12345 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12348 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12349 if test -n "$gphoto2_devel"; then
12350 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12351 echo "${ECHO_T}$gphoto2_devel" >&6; }
12352 else
12353 { echo "$as_me:$LINENO: result: no" >&5
12354 echo "${ECHO_T}no" >&6; }
12358 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12359 set dummy gphoto2-port-config; ac_word=$2
12360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12362 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12363 echo $ECHO_N "(cached) $ECHO_C" >&6
12364 else
12365 if test -n "$gphoto2port_devel"; then
12366 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12367 else
12368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12369 for as_dir in $PATH
12371 IFS=$as_save_IFS
12372 test -z "$as_dir" && as_dir=.
12373 for ac_exec_ext in '' $ac_executable_extensions; do
12374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12375 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12377 break 2
12379 done
12380 done
12381 IFS=$as_save_IFS
12383 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12386 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12387 if test -n "$gphoto2port_devel"; then
12388 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12389 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12390 else
12391 { echo "$as_me:$LINENO: result: no" >&5
12392 echo "${ECHO_T}no" >&6; }
12396 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12397 then
12398 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12399 ac_gphoto2_libs=""
12400 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12402 case "$i" in
12403 -L/usr/lib|-L/usr/lib64) ;;
12404 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12405 esac
12406 done
12407 ac_save_CPPFLAGS="$CPPFLAGS"
12408 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12409 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12410 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12411 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12412 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12413 echo $ECHO_N "(cached) $ECHO_C" >&6
12415 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12416 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12417 else
12418 # Is the header compilable?
12419 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12420 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12421 cat >conftest.$ac_ext <<_ACEOF
12422 /* confdefs.h. */
12423 _ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 $ac_includes_default
12428 #include <gphoto2-camera.h>
12429 _ACEOF
12430 rm -f conftest.$ac_objext
12431 if { (ac_try="$ac_compile"
12432 case "(($ac_try" in
12433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12434 *) ac_try_echo=$ac_try;;
12435 esac
12436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12437 (eval "$ac_compile") 2>conftest.er1
12438 ac_status=$?
12439 grep -v '^ *+' conftest.er1 >conftest.err
12440 rm -f conftest.er1
12441 cat conftest.err >&5
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); } && {
12444 test -z "$ac_c_werror_flag" ||
12445 test ! -s conftest.err
12446 } && test -s conftest.$ac_objext; then
12447 ac_header_compiler=yes
12448 else
12449 echo "$as_me: failed program was:" >&5
12450 sed 's/^/| /' conftest.$ac_ext >&5
12452 ac_header_compiler=no
12455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12456 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12457 echo "${ECHO_T}$ac_header_compiler" >&6; }
12459 # Is the header present?
12460 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12461 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12462 cat >conftest.$ac_ext <<_ACEOF
12463 /* confdefs.h. */
12464 _ACEOF
12465 cat confdefs.h >>conftest.$ac_ext
12466 cat >>conftest.$ac_ext <<_ACEOF
12467 /* end confdefs.h. */
12468 #include <gphoto2-camera.h>
12469 _ACEOF
12470 if { (ac_try="$ac_cpp conftest.$ac_ext"
12471 case "(($ac_try" in
12472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12473 *) ac_try_echo=$ac_try;;
12474 esac
12475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12476 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12477 ac_status=$?
12478 grep -v '^ *+' conftest.er1 >conftest.err
12479 rm -f conftest.er1
12480 cat conftest.err >&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); } >/dev/null && {
12483 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12484 test ! -s conftest.err
12485 }; then
12486 ac_header_preproc=yes
12487 else
12488 echo "$as_me: failed program was:" >&5
12489 sed 's/^/| /' conftest.$ac_ext >&5
12491 ac_header_preproc=no
12494 rm -f conftest.err conftest.$ac_ext
12495 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12496 echo "${ECHO_T}$ac_header_preproc" >&6; }
12498 # So? What about this header?
12499 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12500 yes:no: )
12501 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12502 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12503 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12504 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12505 ac_header_preproc=yes
12507 no:yes:* )
12508 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12509 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12510 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12511 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12512 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12513 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12514 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12515 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12516 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12517 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12518 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12519 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12520 ( cat <<\_ASBOX
12521 ## ------------------------------------ ##
12522 ## Report this to wine-devel@winehq.org ##
12523 ## ------------------------------------ ##
12524 _ASBOX
12525 ) | sed "s/^/$as_me: WARNING: /" >&2
12527 esac
12528 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12529 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12530 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12532 else
12533 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12535 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12536 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12539 if test $ac_cv_header_gphoto2_camera_h = yes; then
12540 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12541 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12542 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12543 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 else
12545 ac_check_lib_save_LIBS=$LIBS
12546 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12547 cat >conftest.$ac_ext <<_ACEOF
12548 /* confdefs.h. */
12549 _ACEOF
12550 cat confdefs.h >>conftest.$ac_ext
12551 cat >>conftest.$ac_ext <<_ACEOF
12552 /* end confdefs.h. */
12554 /* Override any GCC internal prototype to avoid an error.
12555 Use char because int might match the return type of a GCC
12556 builtin and then its argument prototype would still apply. */
12557 #ifdef __cplusplus
12558 extern "C"
12559 #endif
12560 char gp_camera_new ();
12562 main ()
12564 return gp_camera_new ();
12566 return 0;
12568 _ACEOF
12569 rm -f conftest.$ac_objext conftest$ac_exeext
12570 if { (ac_try="$ac_link"
12571 case "(($ac_try" in
12572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12573 *) ac_try_echo=$ac_try;;
12574 esac
12575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12576 (eval "$ac_link") 2>conftest.er1
12577 ac_status=$?
12578 grep -v '^ *+' conftest.er1 >conftest.err
12579 rm -f conftest.er1
12580 cat conftest.err >&5
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12582 (exit $ac_status); } && {
12583 test -z "$ac_c_werror_flag" ||
12584 test ! -s conftest.err
12585 } && test -s conftest$ac_exeext &&
12586 $as_test_x conftest$ac_exeext; then
12587 ac_cv_lib_gphoto2_gp_camera_new=yes
12588 else
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.$ac_ext >&5
12592 ac_cv_lib_gphoto2_gp_camera_new=no
12595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12596 conftest$ac_exeext conftest.$ac_ext
12597 LIBS=$ac_check_lib_save_LIBS
12599 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12600 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12601 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12603 cat >>confdefs.h <<\_ACEOF
12604 #define HAVE_GPHOTO2 1
12605 _ACEOF
12607 GPHOTO2LIBS="$ac_gphoto2_libs"
12609 GPHOTO2INCL="$ac_gphoto2_incl"
12616 CPPFLAGS="$ac_save_CPPFLAGS"
12618 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12619 wine_notices="$wine_notices|libgphoto2 development files not found.
12620 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12625 RESOLVLIBS=""
12627 if test "$ac_cv_header_resolv_h" = "yes"
12628 then
12629 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12630 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12631 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12632 echo $ECHO_N "(cached) $ECHO_C" >&6
12633 else
12634 ac_check_lib_save_LIBS=$LIBS
12635 LIBS="-lresolv $LIBS"
12636 cat >conftest.$ac_ext <<_ACEOF
12637 /* confdefs.h. */
12638 _ACEOF
12639 cat confdefs.h >>conftest.$ac_ext
12640 cat >>conftest.$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12643 /* Override any GCC internal prototype to avoid an error.
12644 Use char because int might match the return type of a GCC
12645 builtin and then its argument prototype would still apply. */
12646 #ifdef __cplusplus
12647 extern "C"
12648 #endif
12649 char res_query ();
12651 main ()
12653 return res_query ();
12655 return 0;
12657 _ACEOF
12658 rm -f conftest.$ac_objext conftest$ac_exeext
12659 if { (ac_try="$ac_link"
12660 case "(($ac_try" in
12661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12662 *) ac_try_echo=$ac_try;;
12663 esac
12664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12665 (eval "$ac_link") 2>conftest.er1
12666 ac_status=$?
12667 grep -v '^ *+' conftest.er1 >conftest.err
12668 rm -f conftest.er1
12669 cat conftest.err >&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } && {
12672 test -z "$ac_c_werror_flag" ||
12673 test ! -s conftest.err
12674 } && test -s conftest$ac_exeext &&
12675 $as_test_x conftest$ac_exeext; then
12676 ac_cv_lib_resolv_res_query=yes
12677 else
12678 echo "$as_me: failed program was:" >&5
12679 sed 's/^/| /' conftest.$ac_ext >&5
12681 ac_cv_lib_resolv_res_query=no
12684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12685 conftest$ac_exeext conftest.$ac_ext
12686 LIBS=$ac_check_lib_save_LIBS
12688 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12689 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12690 if test $ac_cv_lib_resolv_res_query = yes; then
12692 cat >>confdefs.h <<\_ACEOF
12693 #define HAVE_RESOLV 1
12694 _ACEOF
12696 RESOLVLIBS="-lresolv"
12701 LCMSLIBS=""
12703 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12704 then
12705 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12706 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12707 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12709 else
12710 ac_check_lib_save_LIBS=$LIBS
12711 LIBS="-llcms $LIBS"
12712 cat >conftest.$ac_ext <<_ACEOF
12713 /* confdefs.h. */
12714 _ACEOF
12715 cat confdefs.h >>conftest.$ac_ext
12716 cat >>conftest.$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12719 /* Override any GCC internal prototype to avoid an error.
12720 Use char because int might match the return type of a GCC
12721 builtin and then its argument prototype would still apply. */
12722 #ifdef __cplusplus
12723 extern "C"
12724 #endif
12725 char cmsOpenProfileFromFile ();
12727 main ()
12729 return cmsOpenProfileFromFile ();
12731 return 0;
12733 _ACEOF
12734 rm -f conftest.$ac_objext conftest$ac_exeext
12735 if { (ac_try="$ac_link"
12736 case "(($ac_try" in
12737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12738 *) ac_try_echo=$ac_try;;
12739 esac
12740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12741 (eval "$ac_link") 2>conftest.er1
12742 ac_status=$?
12743 grep -v '^ *+' conftest.er1 >conftest.err
12744 rm -f conftest.er1
12745 cat conftest.err >&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); } && {
12748 test -z "$ac_c_werror_flag" ||
12749 test ! -s conftest.err
12750 } && test -s conftest$ac_exeext &&
12751 $as_test_x conftest$ac_exeext; then
12752 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12753 else
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.$ac_ext >&5
12757 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12761 conftest$ac_exeext conftest.$ac_ext
12762 LIBS=$ac_check_lib_save_LIBS
12764 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12765 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12766 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12768 cat >>confdefs.h <<\_ACEOF
12769 #define HAVE_LCMS 1
12770 _ACEOF
12772 LCMSLIBS="-llcms"
12776 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12777 wine_notices="$wine_notices|liblcms development files not found.
12778 Wine will be built without Color Management support. (mscms.dll)"
12782 LDAPLIBS=""
12784 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12785 then
12786 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12787 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12788 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12789 echo $ECHO_N "(cached) $ECHO_C" >&6
12790 else
12791 ac_check_lib_save_LIBS=$LIBS
12792 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12793 cat >conftest.$ac_ext <<_ACEOF
12794 /* confdefs.h. */
12795 _ACEOF
12796 cat confdefs.h >>conftest.$ac_ext
12797 cat >>conftest.$ac_ext <<_ACEOF
12798 /* end confdefs.h. */
12800 /* Override any GCC internal prototype to avoid an error.
12801 Use char because int might match the return type of a GCC
12802 builtin and then its argument prototype would still apply. */
12803 #ifdef __cplusplus
12804 extern "C"
12805 #endif
12806 char ldap_initialize ();
12808 main ()
12810 return ldap_initialize ();
12812 return 0;
12814 _ACEOF
12815 rm -f conftest.$ac_objext conftest$ac_exeext
12816 if { (ac_try="$ac_link"
12817 case "(($ac_try" in
12818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12819 *) ac_try_echo=$ac_try;;
12820 esac
12821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12822 (eval "$ac_link") 2>conftest.er1
12823 ac_status=$?
12824 grep -v '^ *+' conftest.er1 >conftest.err
12825 rm -f conftest.er1
12826 cat conftest.err >&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); } && {
12829 test -z "$ac_c_werror_flag" ||
12830 test ! -s conftest.err
12831 } && test -s conftest$ac_exeext &&
12832 $as_test_x conftest$ac_exeext; then
12833 ac_cv_lib_ldap_r_ldap_initialize=yes
12834 else
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.$ac_ext >&5
12838 ac_cv_lib_ldap_r_ldap_initialize=no
12841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12842 conftest$ac_exeext conftest.$ac_ext
12843 LIBS=$ac_check_lib_save_LIBS
12845 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12846 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12847 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12848 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12849 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12850 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12851 echo $ECHO_N "(cached) $ECHO_C" >&6
12852 else
12853 ac_check_lib_save_LIBS=$LIBS
12854 LIBS="-llber $LIBPTHREAD $LIBS"
12855 cat >conftest.$ac_ext <<_ACEOF
12856 /* confdefs.h. */
12857 _ACEOF
12858 cat confdefs.h >>conftest.$ac_ext
12859 cat >>conftest.$ac_ext <<_ACEOF
12860 /* end confdefs.h. */
12862 /* Override any GCC internal prototype to avoid an error.
12863 Use char because int might match the return type of a GCC
12864 builtin and then its argument prototype would still apply. */
12865 #ifdef __cplusplus
12866 extern "C"
12867 #endif
12868 char ber_init ();
12870 main ()
12872 return ber_init ();
12874 return 0;
12876 _ACEOF
12877 rm -f conftest.$ac_objext conftest$ac_exeext
12878 if { (ac_try="$ac_link"
12879 case "(($ac_try" in
12880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12881 *) ac_try_echo=$ac_try;;
12882 esac
12883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12884 (eval "$ac_link") 2>conftest.er1
12885 ac_status=$?
12886 grep -v '^ *+' conftest.er1 >conftest.err
12887 rm -f conftest.er1
12888 cat conftest.err >&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } && {
12891 test -z "$ac_c_werror_flag" ||
12892 test ! -s conftest.err
12893 } && test -s conftest$ac_exeext &&
12894 $as_test_x conftest$ac_exeext; then
12895 ac_cv_lib_lber_ber_init=yes
12896 else
12897 echo "$as_me: failed program was:" >&5
12898 sed 's/^/| /' conftest.$ac_ext >&5
12900 ac_cv_lib_lber_ber_init=no
12903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12904 conftest$ac_exeext conftest.$ac_ext
12905 LIBS=$ac_check_lib_save_LIBS
12907 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12908 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12909 if test $ac_cv_lib_lber_ber_init = yes; then
12911 cat >>confdefs.h <<\_ACEOF
12912 #define HAVE_LDAP 1
12913 _ACEOF
12915 LDAPLIBS="-lldap_r -llber"
12920 ac_wine_check_funcs_save_LIBS="$LIBS"
12921 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12926 for ac_func in \
12927 ldap_count_references \
12928 ldap_first_reference \
12929 ldap_next_reference \
12930 ldap_parse_reference
12932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12933 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12935 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12936 echo $ECHO_N "(cached) $ECHO_C" >&6
12937 else
12938 cat >conftest.$ac_ext <<_ACEOF
12939 /* confdefs.h. */
12940 _ACEOF
12941 cat confdefs.h >>conftest.$ac_ext
12942 cat >>conftest.$ac_ext <<_ACEOF
12943 /* end confdefs.h. */
12944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12946 #define $ac_func innocuous_$ac_func
12948 /* System header to define __stub macros and hopefully few prototypes,
12949 which can conflict with char $ac_func (); below.
12950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12951 <limits.h> exists even on freestanding compilers. */
12953 #ifdef __STDC__
12954 # include <limits.h>
12955 #else
12956 # include <assert.h>
12957 #endif
12959 #undef $ac_func
12961 /* Override any GCC internal prototype to avoid an error.
12962 Use char because int might match the return type of a GCC
12963 builtin and then its argument prototype would still apply. */
12964 #ifdef __cplusplus
12965 extern "C"
12966 #endif
12967 char $ac_func ();
12968 /* The GNU C library defines this for functions which it implements
12969 to always fail with ENOSYS. Some functions are actually named
12970 something starting with __ and the normal name is an alias. */
12971 #if defined __stub_$ac_func || defined __stub___$ac_func
12972 choke me
12973 #endif
12976 main ()
12978 return $ac_func ();
12980 return 0;
12982 _ACEOF
12983 rm -f conftest.$ac_objext conftest$ac_exeext
12984 if { (ac_try="$ac_link"
12985 case "(($ac_try" in
12986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12987 *) ac_try_echo=$ac_try;;
12988 esac
12989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12990 (eval "$ac_link") 2>conftest.er1
12991 ac_status=$?
12992 grep -v '^ *+' conftest.er1 >conftest.err
12993 rm -f conftest.er1
12994 cat conftest.err >&5
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); } && {
12997 test -z "$ac_c_werror_flag" ||
12998 test ! -s conftest.err
12999 } && test -s conftest$ac_exeext &&
13000 $as_test_x conftest$ac_exeext; then
13001 eval "$as_ac_var=yes"
13002 else
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13006 eval "$as_ac_var=no"
13009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13010 conftest$ac_exeext conftest.$ac_ext
13012 ac_res=`eval echo '${'$as_ac_var'}'`
13013 { echo "$as_me:$LINENO: result: $ac_res" >&5
13014 echo "${ECHO_T}$ac_res" >&6; }
13015 if test `eval echo '${'$as_ac_var'}'` = yes; then
13016 cat >>confdefs.h <<_ACEOF
13017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13018 _ACEOF
13021 done
13023 LIBS="$ac_wine_check_funcs_save_LIBS"
13025 if test "x$LDAPLIBS" = "x"; then
13026 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13027 Wine will be built without LDAP support. (wldap32.dll)"
13031 for ac_prog in freetype-config freetype2-config
13033 # Extract the first word of "$ac_prog", so it can be a program name with args.
13034 set dummy $ac_prog; ac_word=$2
13035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13037 if test "${ac_cv_prog_ft_devel+set}" = set; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 else
13040 if test -n "$ft_devel"; then
13041 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13042 else
13043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044 for as_dir in $PATH
13046 IFS=$as_save_IFS
13047 test -z "$as_dir" && as_dir=.
13048 for ac_exec_ext in '' $ac_executable_extensions; do
13049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13050 ac_cv_prog_ft_devel="$ac_prog"
13051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13052 break 2
13054 done
13055 done
13056 IFS=$as_save_IFS
13060 ft_devel=$ac_cv_prog_ft_devel
13061 if test -n "$ft_devel"; then
13062 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13063 echo "${ECHO_T}$ft_devel" >&6; }
13064 else
13065 { echo "$as_me:$LINENO: result: no" >&5
13066 echo "${ECHO_T}no" >&6; }
13070 test -n "$ft_devel" && break
13071 done
13072 test -n "$ft_devel" || ft_devel="false"
13074 if test "$ft_devel" != "false"
13075 then
13076 ac_freetype_libs=`$ft_devel --libs`
13077 ac_freetype_incl=`$ft_devel --cflags`
13078 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13079 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13080 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13082 else
13083 ac_check_soname_save_LIBS=$LIBS
13084 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13085 cat >conftest.$ac_ext <<_ACEOF
13086 /* confdefs.h. */
13087 _ACEOF
13088 cat confdefs.h >>conftest.$ac_ext
13089 cat >>conftest.$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13092 /* Override any GCC internal prototype to avoid an error.
13093 Use char because int might match the return type of a GCC
13094 builtin and then its argument prototype would still apply. */
13095 #ifdef __cplusplus
13096 extern "C"
13097 #endif
13098 char FT_Init_FreeType ();
13100 main ()
13102 return FT_Init_FreeType ();
13104 return 0;
13106 _ACEOF
13107 rm -f conftest.$ac_objext conftest$ac_exeext
13108 if { (ac_try="$ac_link"
13109 case "(($ac_try" in
13110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13111 *) ac_try_echo=$ac_try;;
13112 esac
13113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13114 (eval "$ac_link") 2>conftest.er1
13115 ac_status=$?
13116 grep -v '^ *+' conftest.er1 >conftest.err
13117 rm -f conftest.er1
13118 cat conftest.err >&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); } && {
13121 test -z "$ac_c_werror_flag" ||
13122 test ! -s conftest.err
13123 } && test -s conftest$ac_exeext &&
13124 $as_test_x conftest$ac_exeext; then
13125 case "$LIBEXT" in
13126 dll) ;;
13127 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'` ;;
13128 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13129 esac
13130 else
13131 echo "$as_me: failed program was:" >&5
13132 sed 's/^/| /' conftest.$ac_ext >&5
13137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13138 conftest$ac_exeext conftest.$ac_ext
13139 LIBS=$ac_check_soname_save_LIBS
13141 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13142 { echo "$as_me:$LINENO: result: not found" >&5
13143 echo "${ECHO_T}not found" >&6; }
13144 ft_lib=no
13145 else
13146 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13147 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13149 cat >>confdefs.h <<_ACEOF
13150 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13151 _ACEOF
13153 ft_lib=yes
13156 if test "$ft_lib" = "yes"
13157 then
13158 ac_save_CPPFLAGS="$CPPFLAGS"
13159 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13172 for ac_header in ft2build.h \
13173 freetype/freetype.h \
13174 freetype/ftglyph.h \
13175 freetype/fttypes.h \
13176 freetype/tttables.h \
13177 freetype/ftnames.h \
13178 freetype/ftsnames.h \
13179 freetype/ttnameid.h \
13180 freetype/ftoutln.h \
13181 freetype/ftwinfnt.h \
13182 freetype/ftmodapi.h \
13183 freetype/internal/sfnt.h
13185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13186 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 else
13191 cat >conftest.$ac_ext <<_ACEOF
13192 /* confdefs.h. */
13193 _ACEOF
13194 cat confdefs.h >>conftest.$ac_ext
13195 cat >>conftest.$ac_ext <<_ACEOF
13196 /* end confdefs.h. */
13197 #if HAVE_FT2BUILD_H
13198 #include <ft2build.h>
13199 #endif
13201 #include <$ac_header>
13202 _ACEOF
13203 rm -f conftest.$ac_objext
13204 if { (ac_try="$ac_compile"
13205 case "(($ac_try" in
13206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13207 *) ac_try_echo=$ac_try;;
13208 esac
13209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13210 (eval "$ac_compile") 2>conftest.er1
13211 ac_status=$?
13212 grep -v '^ *+' conftest.er1 >conftest.err
13213 rm -f conftest.er1
13214 cat conftest.err >&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } && {
13217 test -z "$ac_c_werror_flag" ||
13218 test ! -s conftest.err
13219 } && test -s conftest.$ac_objext; then
13220 eval "$as_ac_Header=yes"
13221 else
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.$ac_ext >&5
13225 eval "$as_ac_Header=no"
13228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13230 ac_res=`eval echo '${'$as_ac_Header'}'`
13231 { echo "$as_me:$LINENO: result: $ac_res" >&5
13232 echo "${ECHO_T}$ac_res" >&6; }
13233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13234 cat >>confdefs.h <<_ACEOF
13235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13236 _ACEOF
13240 done
13242 cat >conftest.$ac_ext <<_ACEOF
13243 /* confdefs.h. */
13244 _ACEOF
13245 cat confdefs.h >>conftest.$ac_ext
13246 cat >>conftest.$ac_ext <<_ACEOF
13247 /* end confdefs.h. */
13248 #include <ft2build.h>
13249 #include <freetype/fttrigon.h>
13250 _ACEOF
13251 if { (ac_try="$ac_cpp conftest.$ac_ext"
13252 case "(($ac_try" in
13253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13254 *) ac_try_echo=$ac_try;;
13255 esac
13256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13257 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13258 ac_status=$?
13259 grep -v '^ *+' conftest.er1 >conftest.err
13260 rm -f conftest.er1
13261 cat conftest.err >&5
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); } >/dev/null && {
13264 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13265 test ! -s conftest.err
13266 }; then
13268 cat >>confdefs.h <<\_ACEOF
13269 #define HAVE_FREETYPE_FTTRIGON_H 1
13270 _ACEOF
13272 wine_cv_fttrigon=yes
13273 else
13274 echo "$as_me: failed program was:" >&5
13275 sed 's/^/| /' conftest.$ac_ext >&5
13277 wine_cv_fttrigon=no
13280 rm -f conftest.err conftest.$ac_ext
13281 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13282 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13283 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13284 echo $ECHO_N "(cached) $ECHO_C" >&6
13285 else
13286 cat >conftest.$ac_ext <<_ACEOF
13287 /* confdefs.h. */
13288 _ACEOF
13289 cat confdefs.h >>conftest.$ac_ext
13290 cat >>conftest.$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13292 #include <freetype/ftmodapi.h>
13294 typedef FT_TrueTypeEngineType ac__type_new_;
13296 main ()
13298 if ((ac__type_new_ *) 0)
13299 return 0;
13300 if (sizeof (ac__type_new_))
13301 return 0;
13303 return 0;
13305 _ACEOF
13306 rm -f conftest.$ac_objext
13307 if { (ac_try="$ac_compile"
13308 case "(($ac_try" in
13309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13310 *) ac_try_echo=$ac_try;;
13311 esac
13312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13313 (eval "$ac_compile") 2>conftest.er1
13314 ac_status=$?
13315 grep -v '^ *+' conftest.er1 >conftest.err
13316 rm -f conftest.er1
13317 cat conftest.err >&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); } && {
13320 test -z "$ac_c_werror_flag" ||
13321 test ! -s conftest.err
13322 } && test -s conftest.$ac_objext; then
13323 ac_cv_type_FT_TrueTypeEngineType=yes
13324 else
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13328 ac_cv_type_FT_TrueTypeEngineType=no
13331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13333 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13334 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13335 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13337 cat >>confdefs.h <<_ACEOF
13338 #define HAVE_FT_TRUETYPEENGINETYPE 1
13339 _ACEOF
13344 ac_save_CFLAGS="$CFLAGS"
13345 CFLAGS="$CFLAGS $ac_freetype_libs"
13347 for ac_func in FT_Load_Sfnt_Table
13349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 else
13355 cat >conftest.$ac_ext <<_ACEOF
13356 /* confdefs.h. */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13363 #define $ac_func innocuous_$ac_func
13365 /* System header to define __stub macros and hopefully few prototypes,
13366 which can conflict with char $ac_func (); below.
13367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13368 <limits.h> exists even on freestanding compilers. */
13370 #ifdef __STDC__
13371 # include <limits.h>
13372 #else
13373 # include <assert.h>
13374 #endif
13376 #undef $ac_func
13378 /* Override any GCC internal prototype to avoid an error.
13379 Use char because int might match the return type of a GCC
13380 builtin and then its argument prototype would still apply. */
13381 #ifdef __cplusplus
13382 extern "C"
13383 #endif
13384 char $ac_func ();
13385 /* The GNU C library defines this for functions which it implements
13386 to always fail with ENOSYS. Some functions are actually named
13387 something starting with __ and the normal name is an alias. */
13388 #if defined __stub_$ac_func || defined __stub___$ac_func
13389 choke me
13390 #endif
13393 main ()
13395 return $ac_func ();
13397 return 0;
13399 _ACEOF
13400 rm -f conftest.$ac_objext conftest$ac_exeext
13401 if { (ac_try="$ac_link"
13402 case "(($ac_try" in
13403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13404 *) ac_try_echo=$ac_try;;
13405 esac
13406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13407 (eval "$ac_link") 2>conftest.er1
13408 ac_status=$?
13409 grep -v '^ *+' conftest.er1 >conftest.err
13410 rm -f conftest.er1
13411 cat conftest.err >&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } && {
13414 test -z "$ac_c_werror_flag" ||
13415 test ! -s conftest.err
13416 } && test -s conftest$ac_exeext &&
13417 $as_test_x conftest$ac_exeext; then
13418 eval "$as_ac_var=yes"
13419 else
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.$ac_ext >&5
13423 eval "$as_ac_var=no"
13426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13427 conftest$ac_exeext conftest.$ac_ext
13429 ac_res=`eval echo '${'$as_ac_var'}'`
13430 { echo "$as_me:$LINENO: result: $ac_res" >&5
13431 echo "${ECHO_T}$ac_res" >&6; }
13432 if test `eval echo '${'$as_ac_var'}'` = yes; then
13433 cat >>confdefs.h <<_ACEOF
13434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13435 _ACEOF
13438 done
13440 CFLAGS="$ac_save_CFLAGS"
13441 CPPFLAGS="$ac_save_CPPFLAGS"
13442 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13443 then
13445 cat >>confdefs.h <<\_ACEOF
13446 #define HAVE_FREETYPE 1
13447 _ACEOF
13449 FREETYPELIBS="$ac_freetype_libs"
13451 FREETYPEINCL="$ac_freetype_incl"
13457 if test "$FONTFORGE" = "false"
13458 then
13459 wine_warnings="$wine_warnings|FontForge is missing.
13460 Fonts will not be built. Dialog text may be invisible or unaligned."
13461 elif test "x$FREETYPELIBS" = "x"
13462 then
13463 wine_warnings="$wine_warnings|FreeType development files not found.
13464 Fonts will not be built. Dialog text may be invisible or unaligned."
13465 else
13466 FONTSSUBDIRS="fonts"
13470 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13471 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13472 if test "${ac_cv_c_ppdev+set}" = set; then
13473 echo $ECHO_N "(cached) $ECHO_C" >&6
13474 else
13475 cat >conftest.$ac_ext <<_ACEOF
13476 /* confdefs.h. */
13477 _ACEOF
13478 cat confdefs.h >>conftest.$ac_ext
13479 cat >>conftest.$ac_ext <<_ACEOF
13480 /* end confdefs.h. */
13481 #include <linux/ppdev.h>
13483 main ()
13485 ioctl (1,PPCLAIM,0)
13487 return 0;
13489 _ACEOF
13490 rm -f conftest.$ac_objext
13491 if { (ac_try="$ac_compile"
13492 case "(($ac_try" in
13493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13494 *) ac_try_echo=$ac_try;;
13495 esac
13496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13497 (eval "$ac_compile") 2>conftest.er1
13498 ac_status=$?
13499 grep -v '^ *+' conftest.er1 >conftest.err
13500 rm -f conftest.er1
13501 cat conftest.err >&5
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); } && {
13504 test -z "$ac_c_werror_flag" ||
13505 test ! -s conftest.err
13506 } && test -s conftest.$ac_objext; then
13507 ac_cv_c_ppdev="yes"
13508 else
13509 echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.$ac_ext >&5
13512 ac_cv_c_ppdev="no"
13515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13517 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13518 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13519 if test "$ac_cv_c_ppdev" = "yes"
13520 then
13522 cat >>confdefs.h <<\_ACEOF
13523 #define HAVE_PPDEV 1
13524 _ACEOF
13528 { echo "$as_me:$LINENO: checking for va_copy" >&5
13529 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13530 if test "${ac_cv_c_va_copy+set}" = set; then
13531 echo $ECHO_N "(cached) $ECHO_C" >&6
13532 else
13533 cat >conftest.$ac_ext <<_ACEOF
13534 /* confdefs.h. */
13535 _ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539 #include <stdarg.h>
13541 main ()
13543 va_list ap1, ap2; va_copy(ap1,ap2);
13545 return 0;
13547 _ACEOF
13548 rm -f conftest.$ac_objext conftest$ac_exeext
13549 if { (ac_try="$ac_link"
13550 case "(($ac_try" in
13551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13552 *) ac_try_echo=$ac_try;;
13553 esac
13554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13555 (eval "$ac_link") 2>conftest.er1
13556 ac_status=$?
13557 grep -v '^ *+' conftest.er1 >conftest.err
13558 rm -f conftest.er1
13559 cat conftest.err >&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); } && {
13562 test -z "$ac_c_werror_flag" ||
13563 test ! -s conftest.err
13564 } && test -s conftest$ac_exeext &&
13565 $as_test_x conftest$ac_exeext; then
13566 ac_cv_c_va_copy="yes"
13567 else
13568 echo "$as_me: failed program was:" >&5
13569 sed 's/^/| /' conftest.$ac_ext >&5
13571 ac_cv_c_va_copy="no"
13574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13575 conftest$ac_exeext conftest.$ac_ext
13578 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13579 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13580 if test "$ac_cv_c_va_copy" = "yes"
13581 then
13583 cat >>confdefs.h <<\_ACEOF
13584 #define HAVE_VA_COPY 1
13585 _ACEOF
13588 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13589 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13590 if test "${ac_cv_c___va_copy+set}" = set; then
13591 echo $ECHO_N "(cached) $ECHO_C" >&6
13592 else
13593 cat >conftest.$ac_ext <<_ACEOF
13594 /* confdefs.h. */
13595 _ACEOF
13596 cat confdefs.h >>conftest.$ac_ext
13597 cat >>conftest.$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 #include <stdarg.h>
13601 main ()
13603 va_list ap1, ap2; __va_copy(ap1,ap2);
13605 return 0;
13607 _ACEOF
13608 rm -f conftest.$ac_objext conftest$ac_exeext
13609 if { (ac_try="$ac_link"
13610 case "(($ac_try" in
13611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13612 *) ac_try_echo=$ac_try;;
13613 esac
13614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13615 (eval "$ac_link") 2>conftest.er1
13616 ac_status=$?
13617 grep -v '^ *+' conftest.er1 >conftest.err
13618 rm -f conftest.er1
13619 cat conftest.err >&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } && {
13622 test -z "$ac_c_werror_flag" ||
13623 test ! -s conftest.err
13624 } && test -s conftest$ac_exeext &&
13625 $as_test_x conftest$ac_exeext; then
13626 ac_cv_c___va_copy="yes"
13627 else
13628 echo "$as_me: failed program was:" >&5
13629 sed 's/^/| /' conftest.$ac_ext >&5
13631 ac_cv_c___va_copy="no"
13634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13635 conftest$ac_exeext conftest.$ac_ext
13638 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13639 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13640 if test "$ac_cv_c___va_copy" = "yes"
13641 then
13643 cat >>confdefs.h <<\_ACEOF
13644 #define HAVE___VA_COPY 1
13645 _ACEOF
13649 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13650 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13651 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13653 else
13654 cat >conftest.$ac_ext <<_ACEOF
13655 /* confdefs.h. */
13656 _ACEOF
13657 cat confdefs.h >>conftest.$ac_ext
13658 cat >>conftest.$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13660 #include <setjmp.h>
13662 main ()
13664 sigjmp_buf buf;
13665 sigsetjmp( buf, 1 );
13666 siglongjmp( buf, 1 );
13668 return 0;
13670 _ACEOF
13671 rm -f conftest.$ac_objext conftest$ac_exeext
13672 if { (ac_try="$ac_link"
13673 case "(($ac_try" in
13674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13675 *) ac_try_echo=$ac_try;;
13676 esac
13677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13678 (eval "$ac_link") 2>conftest.er1
13679 ac_status=$?
13680 grep -v '^ *+' conftest.er1 >conftest.err
13681 rm -f conftest.er1
13682 cat conftest.err >&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } && {
13685 test -z "$ac_c_werror_flag" ||
13686 test ! -s conftest.err
13687 } && test -s conftest$ac_exeext &&
13688 $as_test_x conftest$ac_exeext; then
13689 ac_cv_c_sigsetjmp="yes"
13690 else
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13694 ac_cv_c_sigsetjmp="no"
13697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13698 conftest$ac_exeext conftest.$ac_ext
13701 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13702 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13703 if test "$ac_cv_c_sigsetjmp" = "yes"
13704 then
13706 cat >>confdefs.h <<\_ACEOF
13707 #define HAVE_SIGSETJMP 1
13708 _ACEOF
13712 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13713 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13714 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13716 else
13717 cat >conftest.$ac_ext <<_ACEOF
13718 /* confdefs.h. */
13719 _ACEOF
13720 cat confdefs.h >>conftest.$ac_ext
13721 cat >>conftest.$ac_ext <<_ACEOF
13722 /* end confdefs.h. */
13723 #define _GNU_SOURCE
13724 #include <pthread.h>
13726 typedef pthread_rwlock_t ac__type_new_;
13728 main ()
13730 if ((ac__type_new_ *) 0)
13731 return 0;
13732 if (sizeof (ac__type_new_))
13733 return 0;
13735 return 0;
13737 _ACEOF
13738 rm -f conftest.$ac_objext
13739 if { (ac_try="$ac_compile"
13740 case "(($ac_try" in
13741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13742 *) ac_try_echo=$ac_try;;
13743 esac
13744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13745 (eval "$ac_compile") 2>conftest.er1
13746 ac_status=$?
13747 grep -v '^ *+' conftest.er1 >conftest.err
13748 rm -f conftest.er1
13749 cat conftest.err >&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); } && {
13752 test -z "$ac_c_werror_flag" ||
13753 test ! -s conftest.err
13754 } && test -s conftest.$ac_objext; then
13755 ac_cv_type_pthread_rwlock_t=yes
13756 else
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.$ac_ext >&5
13760 ac_cv_type_pthread_rwlock_t=no
13763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13765 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13766 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13767 if test $ac_cv_type_pthread_rwlock_t = yes; then
13769 cat >>confdefs.h <<_ACEOF
13770 #define HAVE_PTHREAD_RWLOCK_T 1
13771 _ACEOF
13775 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13776 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13777 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13778 echo $ECHO_N "(cached) $ECHO_C" >&6
13779 else
13780 cat >conftest.$ac_ext <<_ACEOF
13781 /* confdefs.h. */
13782 _ACEOF
13783 cat confdefs.h >>conftest.$ac_ext
13784 cat >>conftest.$ac_ext <<_ACEOF
13785 /* end confdefs.h. */
13786 #define _GNU_SOURCE
13787 #include <pthread.h>
13789 typedef pthread_rwlockattr_t ac__type_new_;
13791 main ()
13793 if ((ac__type_new_ *) 0)
13794 return 0;
13795 if (sizeof (ac__type_new_))
13796 return 0;
13798 return 0;
13800 _ACEOF
13801 rm -f conftest.$ac_objext
13802 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
13818 ac_cv_type_pthread_rwlockattr_t=yes
13819 else
13820 echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5
13823 ac_cv_type_pthread_rwlockattr_t=no
13826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13828 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13829 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13830 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13832 cat >>confdefs.h <<_ACEOF
13833 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13834 _ACEOF
13840 ac_wine_check_funcs_save_LIBS="$LIBS"
13841 LIBS="$LIBS $LIBPTHREAD"
13846 for ac_func in \
13847 pthread_attr_get_np \
13848 pthread_getattr_np \
13849 pthread_get_stackaddr_np \
13850 pthread_get_stacksize_np
13852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13856 echo $ECHO_N "(cached) $ECHO_C" >&6
13857 else
13858 cat >conftest.$ac_ext <<_ACEOF
13859 /* confdefs.h. */
13860 _ACEOF
13861 cat confdefs.h >>conftest.$ac_ext
13862 cat >>conftest.$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13866 #define $ac_func innocuous_$ac_func
13868 /* System header to define __stub macros and hopefully few prototypes,
13869 which can conflict with char $ac_func (); below.
13870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13871 <limits.h> exists even on freestanding compilers. */
13873 #ifdef __STDC__
13874 # include <limits.h>
13875 #else
13876 # include <assert.h>
13877 #endif
13879 #undef $ac_func
13881 /* Override any GCC internal prototype to avoid an error.
13882 Use char because int might match the return type of a GCC
13883 builtin and then its argument prototype would still apply. */
13884 #ifdef __cplusplus
13885 extern "C"
13886 #endif
13887 char $ac_func ();
13888 /* The GNU C library defines this for functions which it implements
13889 to always fail with ENOSYS. Some functions are actually named
13890 something starting with __ and the normal name is an alias. */
13891 #if defined __stub_$ac_func || defined __stub___$ac_func
13892 choke me
13893 #endif
13896 main ()
13898 return $ac_func ();
13900 return 0;
13902 _ACEOF
13903 rm -f conftest.$ac_objext conftest$ac_exeext
13904 if { (ac_try="$ac_link"
13905 case "(($ac_try" in
13906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13907 *) ac_try_echo=$ac_try;;
13908 esac
13909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13910 (eval "$ac_link") 2>conftest.er1
13911 ac_status=$?
13912 grep -v '^ *+' conftest.er1 >conftest.err
13913 rm -f conftest.er1
13914 cat conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); } && {
13917 test -z "$ac_c_werror_flag" ||
13918 test ! -s conftest.err
13919 } && test -s conftest$ac_exeext &&
13920 $as_test_x conftest$ac_exeext; then
13921 eval "$as_ac_var=yes"
13922 else
13923 echo "$as_me: failed program was:" >&5
13924 sed 's/^/| /' conftest.$ac_ext >&5
13926 eval "$as_ac_var=no"
13929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13930 conftest$ac_exeext conftest.$ac_ext
13932 ac_res=`eval echo '${'$as_ac_var'}'`
13933 { echo "$as_me:$LINENO: result: $ac_res" >&5
13934 echo "${ECHO_T}$ac_res" >&6; }
13935 if test `eval echo '${'$as_ac_var'}'` = yes; then
13936 cat >>confdefs.h <<_ACEOF
13937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13938 _ACEOF
13941 done
13943 LIBS="$ac_wine_check_funcs_save_LIBS"
13945 # Extract the first word of "esd-config", so it can be a program name with args.
13946 set dummy esd-config; ac_word=$2
13947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13949 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13951 else
13952 case $ESDCONFIG in
13953 [\\/]* | ?:[\\/]*)
13954 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13958 for as_dir in $PATH
13960 IFS=$as_save_IFS
13961 test -z "$as_dir" && as_dir=.
13962 for ac_exec_ext in '' $ac_executable_extensions; do
13963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13964 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13966 break 2
13968 done
13969 done
13970 IFS=$as_save_IFS
13973 esac
13975 ESDCONFIG=$ac_cv_path_ESDCONFIG
13976 if test -n "$ESDCONFIG"; then
13977 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13978 echo "${ECHO_T}$ESDCONFIG" >&6; }
13979 else
13980 { echo "$as_me:$LINENO: result: no" >&5
13981 echo "${ECHO_T}no" >&6; }
13985 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13986 then
13987 ESD_CFLAGS=""
13988 for i in `$ESDCONFIG --cflags`
13990 case "$i" in
13991 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13992 esac
13993 done
13994 ESD_LIBS=`$ESDCONFIG --libs`
13995 save_CFLAGS="$CFLAGS"
13996 CFLAGS="$CFLAGS $ESD_CFLAGS"
13997 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13998 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13999 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14000 echo $ECHO_N "(cached) $ECHO_C" >&6
14001 else
14002 ac_check_lib_save_LIBS=$LIBS
14003 LIBS="-lesd $LIBS"
14004 cat >conftest.$ac_ext <<_ACEOF
14005 /* confdefs.h. */
14006 _ACEOF
14007 cat confdefs.h >>conftest.$ac_ext
14008 cat >>conftest.$ac_ext <<_ACEOF
14009 /* end confdefs.h. */
14011 /* Override any GCC internal prototype to avoid an error.
14012 Use char because int might match the return type of a GCC
14013 builtin and then its argument prototype would still apply. */
14014 #ifdef __cplusplus
14015 extern "C"
14016 #endif
14017 char esd_open_sound ();
14019 main ()
14021 return esd_open_sound ();
14023 return 0;
14025 _ACEOF
14026 rm -f conftest.$ac_objext conftest$ac_exeext
14027 if { (ac_try="$ac_link"
14028 case "(($ac_try" in
14029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14030 *) ac_try_echo=$ac_try;;
14031 esac
14032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14033 (eval "$ac_link") 2>conftest.er1
14034 ac_status=$?
14035 grep -v '^ *+' conftest.er1 >conftest.err
14036 rm -f conftest.er1
14037 cat conftest.err >&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); } && {
14040 test -z "$ac_c_werror_flag" ||
14041 test ! -s conftest.err
14042 } && test -s conftest$ac_exeext &&
14043 $as_test_x conftest$ac_exeext; then
14044 ac_cv_lib_esd_esd_open_sound=yes
14045 else
14046 echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.$ac_ext >&5
14049 ac_cv_lib_esd_esd_open_sound=no
14052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14053 conftest$ac_exeext conftest.$ac_ext
14054 LIBS=$ac_check_lib_save_LIBS
14056 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14057 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14058 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14059 ESDLIBS=$ESD_LIBS
14061 ESDINCL=$ESD_CFLAGS
14064 cat >>confdefs.h <<\_ACEOF
14065 #define HAVE_ESD 1
14066 _ACEOF
14070 CFLAGS="$save_CFLAGS"
14073 ALSALIBS=""
14075 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14076 then
14077 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14078 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14079 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 else
14082 ac_check_lib_save_LIBS=$LIBS
14083 LIBS="-lasound $LIBS"
14084 cat >conftest.$ac_ext <<_ACEOF
14085 /* confdefs.h. */
14086 _ACEOF
14087 cat confdefs.h >>conftest.$ac_ext
14088 cat >>conftest.$ac_ext <<_ACEOF
14089 /* end confdefs.h. */
14091 /* Override any GCC internal prototype to avoid an error.
14092 Use char because int might match the return type of a GCC
14093 builtin and then its argument prototype would still apply. */
14094 #ifdef __cplusplus
14095 extern "C"
14096 #endif
14097 char snd_pcm_hw_params_get_access ();
14099 main ()
14101 return snd_pcm_hw_params_get_access ();
14103 return 0;
14105 _ACEOF
14106 rm -f conftest.$ac_objext conftest$ac_exeext
14107 if { (ac_try="$ac_link"
14108 case "(($ac_try" in
14109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14110 *) ac_try_echo=$ac_try;;
14111 esac
14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14113 (eval "$ac_link") 2>conftest.er1
14114 ac_status=$?
14115 grep -v '^ *+' conftest.er1 >conftest.err
14116 rm -f conftest.er1
14117 cat conftest.err >&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } && {
14120 test -z "$ac_c_werror_flag" ||
14121 test ! -s conftest.err
14122 } && test -s conftest$ac_exeext &&
14123 $as_test_x conftest$ac_exeext; then
14124 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14125 else
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.$ac_ext >&5
14129 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14133 conftest$ac_exeext conftest.$ac_ext
14134 LIBS=$ac_check_lib_save_LIBS
14136 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14137 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14138 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14139 cat >conftest.$ac_ext <<_ACEOF
14140 /* confdefs.h. */
14141 _ACEOF
14142 cat confdefs.h >>conftest.$ac_ext
14143 cat >>conftest.$ac_ext <<_ACEOF
14144 /* end confdefs.h. */
14145 #ifdef HAVE_ALSA_ASOUNDLIB_H
14146 #include <alsa/asoundlib.h>
14147 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14148 #include <sys/asoundlib.h>
14149 #endif
14151 main ()
14153 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14155 return 0;
14157 _ACEOF
14158 rm -f conftest.$ac_objext
14159 if { (ac_try="$ac_compile"
14160 case "(($ac_try" in
14161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14162 *) ac_try_echo=$ac_try;;
14163 esac
14164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14165 (eval "$ac_compile") 2>conftest.er1
14166 ac_status=$?
14167 grep -v '^ *+' conftest.er1 >conftest.err
14168 rm -f conftest.er1
14169 cat conftest.err >&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); } && {
14172 test -z "$ac_c_werror_flag" ||
14173 test ! -s conftest.err
14174 } && test -s conftest.$ac_objext; then
14176 cat >>confdefs.h <<\_ACEOF
14177 #define HAVE_ALSA 1
14178 _ACEOF
14180 ALSALIBS="-lasound"
14181 else
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14193 AUDIOIOLIBS=""
14195 if test "$ac_cv_header_libaudioio_h" = "yes"
14196 then
14197 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14198 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14199 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14201 else
14202 ac_check_lib_save_LIBS=$LIBS
14203 LIBS="-laudioio $LIBS"
14204 cat >conftest.$ac_ext <<_ACEOF
14205 /* confdefs.h. */
14206 _ACEOF
14207 cat confdefs.h >>conftest.$ac_ext
14208 cat >>conftest.$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply. */
14214 #ifdef __cplusplus
14215 extern "C"
14216 #endif
14217 char AudioIOGetVersion ();
14219 main ()
14221 return AudioIOGetVersion ();
14223 return 0;
14225 _ACEOF
14226 rm -f conftest.$ac_objext conftest$ac_exeext
14227 if { (ac_try="$ac_link"
14228 case "(($ac_try" in
14229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14230 *) ac_try_echo=$ac_try;;
14231 esac
14232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14233 (eval "$ac_link") 2>conftest.er1
14234 ac_status=$?
14235 grep -v '^ *+' conftest.er1 >conftest.err
14236 rm -f conftest.er1
14237 cat conftest.err >&5
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); } && {
14240 test -z "$ac_c_werror_flag" ||
14241 test ! -s conftest.err
14242 } && test -s conftest$ac_exeext &&
14243 $as_test_x conftest$ac_exeext; then
14244 ac_cv_lib_audioio_AudioIOGetVersion=yes
14245 else
14246 echo "$as_me: failed program was:" >&5
14247 sed 's/^/| /' conftest.$ac_ext >&5
14249 ac_cv_lib_audioio_AudioIOGetVersion=no
14252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14253 conftest$ac_exeext conftest.$ac_ext
14254 LIBS=$ac_check_lib_save_LIBS
14256 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14257 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14258 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14259 AUDIOIOLIBS="-laudioio"
14261 cat >>confdefs.h <<\_ACEOF
14262 #define HAVE_LIBAUDIOIO 1
14263 _ACEOF
14270 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14271 then
14272 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14273 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14274 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 else
14277 ac_check_soname_save_LIBS=$LIBS
14278 LIBS="-lcapi20 $LIBS"
14279 cat >conftest.$ac_ext <<_ACEOF
14280 /* confdefs.h. */
14281 _ACEOF
14282 cat confdefs.h >>conftest.$ac_ext
14283 cat >>conftest.$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14286 /* Override any GCC internal prototype to avoid an error.
14287 Use char because int might match the return type of a GCC
14288 builtin and then its argument prototype would still apply. */
14289 #ifdef __cplusplus
14290 extern "C"
14291 #endif
14292 char capi20_register ();
14294 main ()
14296 return capi20_register ();
14298 return 0;
14300 _ACEOF
14301 rm -f conftest.$ac_objext conftest$ac_exeext
14302 if { (ac_try="$ac_link"
14303 case "(($ac_try" in
14304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14305 *) ac_try_echo=$ac_try;;
14306 esac
14307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14308 (eval "$ac_link") 2>conftest.er1
14309 ac_status=$?
14310 grep -v '^ *+' conftest.er1 >conftest.err
14311 rm -f conftest.er1
14312 cat conftest.err >&5
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); } && {
14315 test -z "$ac_c_werror_flag" ||
14316 test ! -s conftest.err
14317 } && test -s conftest$ac_exeext &&
14318 $as_test_x conftest$ac_exeext; then
14319 case "$LIBEXT" in
14320 dll) ;;
14321 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'` ;;
14322 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14323 esac
14324 else
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.$ac_ext >&5
14331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14332 conftest$ac_exeext conftest.$ac_ext
14333 LIBS=$ac_check_soname_save_LIBS
14335 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14336 { echo "$as_me:$LINENO: result: not found" >&5
14337 echo "${ECHO_T}not found" >&6; }
14339 else
14340 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14341 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14343 cat >>confdefs.h <<_ACEOF
14344 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14345 _ACEOF
14351 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14352 wine_notices="$wine_notices|libcapi20 development files not found.
14353 Wine will be built without ISDN support. (capi2032.dll)"
14357 if test "$ac_cv_header_cups_cups_h" = "yes"
14358 then
14359 { echo "$as_me:$LINENO: checking for -lcups" >&5
14360 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14361 if test "${ac_cv_lib_soname_cups+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 else
14364 ac_check_soname_save_LIBS=$LIBS
14365 LIBS="-lcups $LIBS"
14366 cat >conftest.$ac_ext <<_ACEOF
14367 /* confdefs.h. */
14368 _ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14373 /* Override any GCC internal prototype to avoid an error.
14374 Use char because int might match the return type of a GCC
14375 builtin and then its argument prototype would still apply. */
14376 #ifdef __cplusplus
14377 extern "C"
14378 #endif
14379 char cupsGetDefault ();
14381 main ()
14383 return cupsGetDefault ();
14385 return 0;
14387 _ACEOF
14388 rm -f conftest.$ac_objext conftest$ac_exeext
14389 if { (ac_try="$ac_link"
14390 case "(($ac_try" in
14391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14392 *) ac_try_echo=$ac_try;;
14393 esac
14394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14395 (eval "$ac_link") 2>conftest.er1
14396 ac_status=$?
14397 grep -v '^ *+' conftest.er1 >conftest.err
14398 rm -f conftest.er1
14399 cat conftest.err >&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); } && {
14402 test -z "$ac_c_werror_flag" ||
14403 test ! -s conftest.err
14404 } && test -s conftest$ac_exeext &&
14405 $as_test_x conftest$ac_exeext; then
14406 case "$LIBEXT" in
14407 dll) ;;
14408 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'` ;;
14409 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14410 esac
14411 else
14412 echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.$ac_ext >&5
14418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14419 conftest$ac_exeext conftest.$ac_ext
14420 LIBS=$ac_check_soname_save_LIBS
14422 if test "x$ac_cv_lib_soname_cups" = "x"; then
14423 { echo "$as_me:$LINENO: result: not found" >&5
14424 echo "${ECHO_T}not found" >&6; }
14426 else
14427 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14428 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14430 cat >>confdefs.h <<_ACEOF
14431 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14432 _ACEOF
14438 if test "x$ac_cv_lib_soname_cups" = "x"; then
14439 wine_notices="$wine_notices|libcups development files not found.
14440 Wine will be built without CUPS support."
14444 if test "$ac_cv_header_jack_jack_h" = "yes"
14445 then
14446 { echo "$as_me:$LINENO: checking for -ljack" >&5
14447 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14448 if test "${ac_cv_lib_soname_jack+set}" = set; then
14449 echo $ECHO_N "(cached) $ECHO_C" >&6
14450 else
14451 ac_check_soname_save_LIBS=$LIBS
14452 LIBS="-ljack $LIBS"
14453 cat >conftest.$ac_ext <<_ACEOF
14454 /* confdefs.h. */
14455 _ACEOF
14456 cat confdefs.h >>conftest.$ac_ext
14457 cat >>conftest.$ac_ext <<_ACEOF
14458 /* end confdefs.h. */
14460 /* Override any GCC internal prototype to avoid an error.
14461 Use char because int might match the return type of a GCC
14462 builtin and then its argument prototype would still apply. */
14463 #ifdef __cplusplus
14464 extern "C"
14465 #endif
14466 char jack_client_new ();
14468 main ()
14470 return jack_client_new ();
14472 return 0;
14474 _ACEOF
14475 rm -f conftest.$ac_objext conftest$ac_exeext
14476 if { (ac_try="$ac_link"
14477 case "(($ac_try" in
14478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14479 *) ac_try_echo=$ac_try;;
14480 esac
14481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14482 (eval "$ac_link") 2>conftest.er1
14483 ac_status=$?
14484 grep -v '^ *+' conftest.er1 >conftest.err
14485 rm -f conftest.er1
14486 cat conftest.err >&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); } && {
14489 test -z "$ac_c_werror_flag" ||
14490 test ! -s conftest.err
14491 } && test -s conftest$ac_exeext &&
14492 $as_test_x conftest$ac_exeext; then
14493 case "$LIBEXT" in
14494 dll) ;;
14495 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'` ;;
14496 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14497 esac
14498 else
14499 echo "$as_me: failed program was:" >&5
14500 sed 's/^/| /' conftest.$ac_ext >&5
14505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LIBS=$ac_check_soname_save_LIBS
14509 if test "x$ac_cv_lib_soname_jack" = "x"; then
14510 { echo "$as_me:$LINENO: result: not found" >&5
14511 echo "${ECHO_T}not found" >&6; }
14513 else
14514 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14515 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14517 cat >>confdefs.h <<_ACEOF
14518 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14519 _ACEOF
14526 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14527 then
14528 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14529 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14530 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14531 echo $ECHO_N "(cached) $ECHO_C" >&6
14532 else
14533 ac_check_soname_save_LIBS=$LIBS
14534 LIBS="-lfontconfig $LIBS"
14535 cat >conftest.$ac_ext <<_ACEOF
14536 /* confdefs.h. */
14537 _ACEOF
14538 cat confdefs.h >>conftest.$ac_ext
14539 cat >>conftest.$ac_ext <<_ACEOF
14540 /* end confdefs.h. */
14542 /* Override any GCC internal prototype to avoid an error.
14543 Use char because int might match the return type of a GCC
14544 builtin and then its argument prototype would still apply. */
14545 #ifdef __cplusplus
14546 extern "C"
14547 #endif
14548 char FcInit ();
14550 main ()
14552 return FcInit ();
14554 return 0;
14556 _ACEOF
14557 rm -f conftest.$ac_objext conftest$ac_exeext
14558 if { (ac_try="$ac_link"
14559 case "(($ac_try" in
14560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14561 *) ac_try_echo=$ac_try;;
14562 esac
14563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14564 (eval "$ac_link") 2>conftest.er1
14565 ac_status=$?
14566 grep -v '^ *+' conftest.er1 >conftest.err
14567 rm -f conftest.er1
14568 cat conftest.err >&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); } && {
14571 test -z "$ac_c_werror_flag" ||
14572 test ! -s conftest.err
14573 } && test -s conftest$ac_exeext &&
14574 $as_test_x conftest$ac_exeext; then
14575 case "$LIBEXT" in
14576 dll) ;;
14577 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'` ;;
14578 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14579 esac
14580 else
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.$ac_ext >&5
14587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14588 conftest$ac_exeext conftest.$ac_ext
14589 LIBS=$ac_check_soname_save_LIBS
14591 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14592 { echo "$as_me:$LINENO: result: not found" >&5
14593 echo "${ECHO_T}not found" >&6; }
14595 else
14596 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14597 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14599 cat >>confdefs.h <<_ACEOF
14600 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14601 _ACEOF
14606 elif test -n "$X_CFLAGS"
14607 then
14608 ac_save_CPPFLAGS="$CPPFLAGS"
14609 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14610 $as_unset ac_cv_header_fontconfig_fontconfig_h
14612 for ac_header in fontconfig/fontconfig.h
14614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14616 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14618 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14621 ac_res=`eval echo '${'$as_ac_Header'}'`
14622 { echo "$as_me:$LINENO: result: $ac_res" >&5
14623 echo "${ECHO_T}$ac_res" >&6; }
14624 else
14625 # Is the header compilable?
14626 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14627 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14628 cat >conftest.$ac_ext <<_ACEOF
14629 /* confdefs.h. */
14630 _ACEOF
14631 cat confdefs.h >>conftest.$ac_ext
14632 cat >>conftest.$ac_ext <<_ACEOF
14633 /* end confdefs.h. */
14634 $ac_includes_default
14635 #include <$ac_header>
14636 _ACEOF
14637 rm -f conftest.$ac_objext
14638 if { (ac_try="$ac_compile"
14639 case "(($ac_try" in
14640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14641 *) ac_try_echo=$ac_try;;
14642 esac
14643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14644 (eval "$ac_compile") 2>conftest.er1
14645 ac_status=$?
14646 grep -v '^ *+' conftest.er1 >conftest.err
14647 rm -f conftest.er1
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } && {
14651 test -z "$ac_c_werror_flag" ||
14652 test ! -s conftest.err
14653 } && test -s conftest.$ac_objext; then
14654 ac_header_compiler=yes
14655 else
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.$ac_ext >&5
14659 ac_header_compiler=no
14662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14663 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14664 echo "${ECHO_T}$ac_header_compiler" >&6; }
14666 # Is the header present?
14667 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14669 cat >conftest.$ac_ext <<_ACEOF
14670 /* confdefs.h. */
14671 _ACEOF
14672 cat confdefs.h >>conftest.$ac_ext
14673 cat >>conftest.$ac_ext <<_ACEOF
14674 /* end confdefs.h. */
14675 #include <$ac_header>
14676 _ACEOF
14677 if { (ac_try="$ac_cpp conftest.$ac_ext"
14678 case "(($ac_try" in
14679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14680 *) ac_try_echo=$ac_try;;
14681 esac
14682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14684 ac_status=$?
14685 grep -v '^ *+' conftest.er1 >conftest.err
14686 rm -f conftest.er1
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } >/dev/null && {
14690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14691 test ! -s conftest.err
14692 }; then
14693 ac_header_preproc=yes
14694 else
14695 echo "$as_me: failed program was:" >&5
14696 sed 's/^/| /' conftest.$ac_ext >&5
14698 ac_header_preproc=no
14701 rm -f conftest.err conftest.$ac_ext
14702 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14703 echo "${ECHO_T}$ac_header_preproc" >&6; }
14705 # So? What about this header?
14706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14707 yes:no: )
14708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14712 ac_header_preproc=yes
14714 no:yes:* )
14715 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14717 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14718 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14719 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14721 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14722 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14725 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14727 ( cat <<\_ASBOX
14728 ## ------------------------------------ ##
14729 ## Report this to wine-devel@winehq.org ##
14730 ## ------------------------------------ ##
14731 _ASBOX
14732 ) | sed "s/^/$as_me: WARNING: /" >&2
14734 esac
14735 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14737 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14738 echo $ECHO_N "(cached) $ECHO_C" >&6
14739 else
14740 eval "$as_ac_Header=\$ac_header_preproc"
14742 ac_res=`eval echo '${'$as_ac_Header'}'`
14743 { echo "$as_me:$LINENO: result: $ac_res" >&5
14744 echo "${ECHO_T}$ac_res" >&6; }
14747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14748 cat >>confdefs.h <<_ACEOF
14749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14750 _ACEOF
14754 done
14756 CPPFLAGS="$ac_save_CPPFLAGS"
14757 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14758 then
14759 FONTCONFIGINCL="$X_CFLAGS"
14761 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14762 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14763 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14764 echo $ECHO_N "(cached) $ECHO_C" >&6
14765 else
14766 ac_check_soname_save_LIBS=$LIBS
14767 LIBS="-lfontconfig $X_LIBS $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 FcInit ();
14783 main ()
14785 return FcInit ();
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 case "$LIBEXT" in
14809 dll) ;;
14810 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'` ;;
14811 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14812 esac
14813 else
14814 echo "$as_me: failed program was:" >&5
14815 sed 's/^/| /' conftest.$ac_ext >&5
14820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14821 conftest$ac_exeext conftest.$ac_ext
14822 LIBS=$ac_check_soname_save_LIBS
14824 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14825 { echo "$as_me:$LINENO: result: not found" >&5
14826 echo "${ECHO_T}not found" >&6; }
14828 else
14829 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14830 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14832 cat >>confdefs.h <<_ACEOF
14833 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14834 _ACEOF
14841 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14842 wine_notices="$wine_notices|fontconfig development files not found.
14843 Wine will be built without fontconfig support."
14847 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14848 then
14849 { echo "$as_me:$LINENO: checking for -lssl" >&5
14850 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14851 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 else
14854 ac_check_soname_save_LIBS=$LIBS
14855 LIBS="-lssl $LIBS"
14856 cat >conftest.$ac_ext <<_ACEOF
14857 /* confdefs.h. */
14858 _ACEOF
14859 cat confdefs.h >>conftest.$ac_ext
14860 cat >>conftest.$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14863 /* Override any GCC internal prototype to avoid an error.
14864 Use char because int might match the return type of a GCC
14865 builtin and then its argument prototype would still apply. */
14866 #ifdef __cplusplus
14867 extern "C"
14868 #endif
14869 char SSL_library_init ();
14871 main ()
14873 return SSL_library_init ();
14875 return 0;
14877 _ACEOF
14878 rm -f conftest.$ac_objext conftest$ac_exeext
14879 if { (ac_try="$ac_link"
14880 case "(($ac_try" in
14881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14882 *) ac_try_echo=$ac_try;;
14883 esac
14884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14885 (eval "$ac_link") 2>conftest.er1
14886 ac_status=$?
14887 grep -v '^ *+' conftest.er1 >conftest.err
14888 rm -f conftest.er1
14889 cat conftest.err >&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); } && {
14892 test -z "$ac_c_werror_flag" ||
14893 test ! -s conftest.err
14894 } && test -s conftest$ac_exeext &&
14895 $as_test_x conftest$ac_exeext; then
14896 case "$LIBEXT" in
14897 dll) ;;
14898 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'` ;;
14899 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14900 esac
14901 else
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.$ac_ext >&5
14908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_soname_save_LIBS
14912 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14913 { echo "$as_me:$LINENO: result: not found" >&5
14914 echo "${ECHO_T}not found" >&6; }
14916 else
14917 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14918 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14920 cat >>confdefs.h <<_ACEOF
14921 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14922 _ACEOF
14927 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14928 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14929 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14930 echo $ECHO_N "(cached) $ECHO_C" >&6
14931 else
14932 ac_check_soname_save_LIBS=$LIBS
14933 LIBS="-lcrypto $LIBS"
14934 cat >conftest.$ac_ext <<_ACEOF
14935 /* confdefs.h. */
14936 _ACEOF
14937 cat confdefs.h >>conftest.$ac_ext
14938 cat >>conftest.$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14941 /* Override any GCC internal prototype to avoid an error.
14942 Use char because int might match the return type of a GCC
14943 builtin and then its argument prototype would still apply. */
14944 #ifdef __cplusplus
14945 extern "C"
14946 #endif
14947 char BIO_new_socket ();
14949 main ()
14951 return BIO_new_socket ();
14953 return 0;
14955 _ACEOF
14956 rm -f conftest.$ac_objext conftest$ac_exeext
14957 if { (ac_try="$ac_link"
14958 case "(($ac_try" in
14959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14961 esac
14962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14963 (eval "$ac_link") 2>conftest.er1
14964 ac_status=$?
14965 grep -v '^ *+' conftest.er1 >conftest.err
14966 rm -f conftest.er1
14967 cat conftest.err >&5
14968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14969 (exit $ac_status); } && {
14970 test -z "$ac_c_werror_flag" ||
14971 test ! -s conftest.err
14972 } && test -s conftest$ac_exeext &&
14973 $as_test_x conftest$ac_exeext; then
14974 case "$LIBEXT" in
14975 dll) ;;
14976 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'` ;;
14977 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14978 esac
14979 else
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14987 conftest$ac_exeext conftest.$ac_ext
14988 LIBS=$ac_check_soname_save_LIBS
14990 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14991 { echo "$as_me:$LINENO: result: not found" >&5
14992 echo "${ECHO_T}not found" >&6; }
14994 else
14995 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14996 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14998 cat >>confdefs.h <<_ACEOF
14999 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15000 _ACEOF
15006 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15007 wine_notices="$wine_notices|OpenSSL development files not found.
15008 Wine will be built without SSL support. (wininet.dll)"
15012 if test "$ac_cv_header_jpeglib_h" = "yes"
15013 then
15014 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15015 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15016 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15017 echo $ECHO_N "(cached) $ECHO_C" >&6
15018 else
15019 ac_check_soname_save_LIBS=$LIBS
15020 LIBS="-ljpeg $LIBS"
15021 cat >conftest.$ac_ext <<_ACEOF
15022 /* confdefs.h. */
15023 _ACEOF
15024 cat confdefs.h >>conftest.$ac_ext
15025 cat >>conftest.$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15028 /* Override any GCC internal prototype to avoid an error.
15029 Use char because int might match the return type of a GCC
15030 builtin and then its argument prototype would still apply. */
15031 #ifdef __cplusplus
15032 extern "C"
15033 #endif
15034 char jpeg_start_decompress ();
15036 main ()
15038 return jpeg_start_decompress ();
15040 return 0;
15042 _ACEOF
15043 rm -f conftest.$ac_objext conftest$ac_exeext
15044 if { (ac_try="$ac_link"
15045 case "(($ac_try" in
15046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15047 *) ac_try_echo=$ac_try;;
15048 esac
15049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15050 (eval "$ac_link") 2>conftest.er1
15051 ac_status=$?
15052 grep -v '^ *+' conftest.er1 >conftest.err
15053 rm -f conftest.er1
15054 cat conftest.err >&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } && {
15057 test -z "$ac_c_werror_flag" ||
15058 test ! -s conftest.err
15059 } && test -s conftest$ac_exeext &&
15060 $as_test_x conftest$ac_exeext; then
15061 case "$LIBEXT" in
15062 dll) ;;
15063 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'` ;;
15064 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15065 esac
15066 else
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.$ac_ext >&5
15073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15074 conftest$ac_exeext conftest.$ac_ext
15075 LIBS=$ac_check_soname_save_LIBS
15077 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15078 { echo "$as_me:$LINENO: result: not found" >&5
15079 echo "${ECHO_T}not found" >&6; }
15081 else
15082 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15083 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15085 cat >>confdefs.h <<_ACEOF
15086 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15087 _ACEOF
15093 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15094 wine_notices="$wine_notices|libjpeg development files not found.
15095 Wine will be built without JPEG support. (oleaut32.dll)"
15099 if test "$ac_cv_header_png_h" = "yes"
15100 then
15101 { echo "$as_me:$LINENO: checking for -lpng" >&5
15102 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15103 if test "${ac_cv_lib_soname_png+set}" = set; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 else
15106 ac_check_soname_save_LIBS=$LIBS
15107 LIBS="-lpng $LIBS"
15108 cat >conftest.$ac_ext <<_ACEOF
15109 /* confdefs.h. */
15110 _ACEOF
15111 cat confdefs.h >>conftest.$ac_ext
15112 cat >>conftest.$ac_ext <<_ACEOF
15113 /* end confdefs.h. */
15115 /* Override any GCC internal prototype to avoid an error.
15116 Use char because int might match the return type of a GCC
15117 builtin and then its argument prototype would still apply. */
15118 #ifdef __cplusplus
15119 extern "C"
15120 #endif
15121 char png_create_read_struct ();
15123 main ()
15125 return png_create_read_struct ();
15127 return 0;
15129 _ACEOF
15130 rm -f conftest.$ac_objext conftest$ac_exeext
15131 if { (ac_try="$ac_link"
15132 case "(($ac_try" in
15133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15134 *) ac_try_echo=$ac_try;;
15135 esac
15136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15137 (eval "$ac_link") 2>conftest.er1
15138 ac_status=$?
15139 grep -v '^ *+' conftest.er1 >conftest.err
15140 rm -f conftest.er1
15141 cat conftest.err >&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); } && {
15144 test -z "$ac_c_werror_flag" ||
15145 test ! -s conftest.err
15146 } && test -s conftest$ac_exeext &&
15147 $as_test_x conftest$ac_exeext; then
15148 case "$LIBEXT" in
15149 dll) ;;
15150 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'` ;;
15151 *) 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'` ;;
15152 esac
15153 else
15154 echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.$ac_ext >&5
15160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15161 conftest$ac_exeext conftest.$ac_ext
15162 LIBS=$ac_check_soname_save_LIBS
15164 if test "x$ac_cv_lib_soname_png" = "x"; then
15165 { echo "$as_me:$LINENO: result: not found" >&5
15166 echo "${ECHO_T}not found" >&6; }
15168 else
15169 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15170 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15172 cat >>confdefs.h <<_ACEOF
15173 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15174 _ACEOF
15180 if test "x$ac_cv_lib_soname_png" = "x"; then
15181 wine_notices="$wine_notices|libpng development files not found.
15182 Wine will be built without PNG support. (oleaut32.dll)"
15186 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15187 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15188 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15189 "$ac_cv_header_soundcard_h" != "yes"; then
15190 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15195 EXTRACFLAGS=""
15197 if test "x${GCC}" = "xyes"
15198 then
15199 EXTRACFLAGS="-Wall -pipe"
15201 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15202 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15203 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15204 echo $ECHO_N "(cached) $ECHO_C" >&6
15205 else
15206 if test "$cross_compiling" = yes; then
15207 ac_cv_c_gcc_strength_bug="yes"
15208 else
15209 cat >conftest.$ac_ext <<_ACEOF
15210 /* confdefs.h. */
15211 _ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 int L[4] = {0,1,2,3};
15217 main ()
15219 static int Array[3];
15220 unsigned int B = 3;
15221 int i;
15222 for(i=0; i<B; i++) Array[i] = i - 3;
15223 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15224 L[i] = 4;
15225 exit( Array[1] != -2 || L[2] != 3)
15227 return 0;
15229 _ACEOF
15230 rm -f conftest$ac_exeext
15231 if { (ac_try="$ac_link"
15232 case "(($ac_try" in
15233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15234 *) ac_try_echo=$ac_try;;
15235 esac
15236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15237 (eval "$ac_link") 2>&5
15238 ac_status=$?
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15241 { (case "(($ac_try" in
15242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15243 *) ac_try_echo=$ac_try;;
15244 esac
15245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15246 (eval "$ac_try") 2>&5
15247 ac_status=$?
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; }; then
15250 ac_cv_c_gcc_strength_bug="no"
15251 else
15252 echo "$as_me: program exited with status $ac_status" >&5
15253 echo "$as_me: failed program was:" >&5
15254 sed 's/^/| /' conftest.$ac_ext >&5
15256 ( exit $ac_status )
15257 ac_cv_c_gcc_strength_bug="yes"
15259 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15264 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15265 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15266 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15267 then
15268 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15272 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15273 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15274 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 else
15277 ac_wine_try_cflags_saved=$CFLAGS
15278 CFLAGS="$CFLAGS -fshort-wchar"
15279 cat >conftest.$ac_ext <<_ACEOF
15280 /* confdefs.h. */
15281 _ACEOF
15282 cat confdefs.h >>conftest.$ac_ext
15283 cat >>conftest.$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15287 main ()
15291 return 0;
15293 _ACEOF
15294 rm -f conftest.$ac_objext conftest$ac_exeext
15295 if { (ac_try="$ac_link"
15296 case "(($ac_try" in
15297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15298 *) ac_try_echo=$ac_try;;
15299 esac
15300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15301 (eval "$ac_link") 2>conftest.er1
15302 ac_status=$?
15303 grep -v '^ *+' conftest.er1 >conftest.err
15304 rm -f conftest.er1
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } && {
15308 test -z "$ac_c_werror_flag" ||
15309 test ! -s conftest.err
15310 } && test -s conftest$ac_exeext &&
15311 $as_test_x conftest$ac_exeext; then
15312 ac_cv_cflags__fshort_wchar=yes
15313 else
15314 echo "$as_me: failed program was:" >&5
15315 sed 's/^/| /' conftest.$ac_ext >&5
15317 ac_cv_cflags__fshort_wchar=no
15320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15321 conftest$ac_exeext conftest.$ac_ext
15322 CFLAGS=$ac_wine_try_cflags_saved
15324 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15325 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15326 if test $ac_cv_cflags__fshort_wchar = yes; then
15328 cat >>confdefs.h <<\_ACEOF
15329 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15330 _ACEOF
15334 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15335 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15336 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15337 echo $ECHO_N "(cached) $ECHO_C" >&6
15338 else
15339 ac_wine_try_cflags_saved=$CFLAGS
15340 CFLAGS="$CFLAGS -fno-strict-aliasing"
15341 cat >conftest.$ac_ext <<_ACEOF
15342 /* confdefs.h. */
15343 _ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15349 main ()
15353 return 0;
15355 _ACEOF
15356 rm -f conftest.$ac_objext conftest$ac_exeext
15357 if { (ac_try="$ac_link"
15358 case "(($ac_try" in
15359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15360 *) ac_try_echo=$ac_try;;
15361 esac
15362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15363 (eval "$ac_link") 2>conftest.er1
15364 ac_status=$?
15365 grep -v '^ *+' conftest.er1 >conftest.err
15366 rm -f conftest.er1
15367 cat conftest.err >&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); } && {
15370 test -z "$ac_c_werror_flag" ||
15371 test ! -s conftest.err
15372 } && test -s conftest$ac_exeext &&
15373 $as_test_x conftest$ac_exeext; then
15374 ac_cv_cflags__fno_strict_aliasing=yes
15375 else
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.$ac_ext >&5
15379 ac_cv_cflags__fno_strict_aliasing=no
15382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15383 conftest$ac_exeext conftest.$ac_ext
15384 CFLAGS=$ac_wine_try_cflags_saved
15386 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15387 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15388 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15389 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15392 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15393 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15394 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 else
15397 ac_wine_try_cflags_saved=$CFLAGS
15398 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15399 cat >conftest.$ac_ext <<_ACEOF
15400 /* confdefs.h. */
15401 _ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15407 main ()
15411 return 0;
15413 _ACEOF
15414 rm -f conftest.$ac_objext conftest$ac_exeext
15415 if { (ac_try="$ac_link"
15416 case "(($ac_try" in
15417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15419 esac
15420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_link") 2>conftest.er1
15422 ac_status=$?
15423 grep -v '^ *+' conftest.er1 >conftest.err
15424 rm -f conftest.er1
15425 cat conftest.err >&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } && {
15428 test -z "$ac_c_werror_flag" ||
15429 test ! -s conftest.err
15430 } && test -s conftest$ac_exeext &&
15431 $as_test_x conftest$ac_exeext; then
15432 ac_cv_cflags__Wdeclaration_after_statement=yes
15433 else
15434 echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.$ac_ext >&5
15437 ac_cv_cflags__Wdeclaration_after_statement=no
15440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15441 conftest$ac_exeext conftest.$ac_ext
15442 CFLAGS=$ac_wine_try_cflags_saved
15444 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15445 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15446 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15447 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15450 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15451 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15452 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455 ac_wine_try_cflags_saved=$CFLAGS
15456 CFLAGS="$CFLAGS -Wwrite-strings"
15457 cat >conftest.$ac_ext <<_ACEOF
15458 /* confdefs.h. */
15459 _ACEOF
15460 cat confdefs.h >>conftest.$ac_ext
15461 cat >>conftest.$ac_ext <<_ACEOF
15462 /* end confdefs.h. */
15465 main ()
15469 return 0;
15471 _ACEOF
15472 rm -f conftest.$ac_objext conftest$ac_exeext
15473 if { (ac_try="$ac_link"
15474 case "(($ac_try" in
15475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15476 *) ac_try_echo=$ac_try;;
15477 esac
15478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15479 (eval "$ac_link") 2>conftest.er1
15480 ac_status=$?
15481 grep -v '^ *+' conftest.er1 >conftest.err
15482 rm -f conftest.er1
15483 cat conftest.err >&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } && {
15486 test -z "$ac_c_werror_flag" ||
15487 test ! -s conftest.err
15488 } && test -s conftest$ac_exeext &&
15489 $as_test_x conftest$ac_exeext; then
15490 ac_cv_cflags__Wwrite_strings=yes
15491 else
15492 echo "$as_me: failed program was:" >&5
15493 sed 's/^/| /' conftest.$ac_ext >&5
15495 ac_cv_cflags__Wwrite_strings=no
15498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15499 conftest$ac_exeext conftest.$ac_ext
15500 CFLAGS=$ac_wine_try_cflags_saved
15502 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15503 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15504 if test $ac_cv_cflags__Wwrite_strings = yes; then
15505 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15509 saved_CFLAGS="$CFLAGS"
15510 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15511 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15512 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15513 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 else
15516 cat >conftest.$ac_ext <<_ACEOF
15517 /* confdefs.h. */
15518 _ACEOF
15519 cat confdefs.h >>conftest.$ac_ext
15520 cat >>conftest.$ac_ext <<_ACEOF
15521 /* end confdefs.h. */
15522 #include <string.h>
15524 main ()
15528 return 0;
15530 _ACEOF
15531 rm -f conftest.$ac_objext
15532 if { (ac_try="$ac_compile"
15533 case "(($ac_try" in
15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15535 *) ac_try_echo=$ac_try;;
15536 esac
15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15538 (eval "$ac_compile") 2>conftest.er1
15539 ac_status=$?
15540 grep -v '^ *+' conftest.er1 >conftest.err
15541 rm -f conftest.er1
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } && {
15545 test -z "$ac_c_werror_flag" ||
15546 test ! -s conftest.err
15547 } && test -s conftest.$ac_objext; then
15548 ac_cv_c_string_h_warnings=no
15549 else
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15553 ac_cv_c_string_h_warnings=yes
15556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15558 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15559 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15560 CFLAGS="$saved_CFLAGS"
15561 if test "$ac_cv_c_string_h_warnings" = "no"
15562 then
15563 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15566 BUILTINFLAG=""
15568 saved_CFLAGS="$CFLAGS"
15569 CFLAGS="$CFLAGS -Werror"
15570 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15571 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15572 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15573 echo $ECHO_N "(cached) $ECHO_C" >&6
15574 else
15575 cat >conftest.$ac_ext <<_ACEOF
15576 /* confdefs.h. */
15577 _ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15583 main ()
15585 int iswlower(unsigned short);
15587 return 0;
15589 _ACEOF
15590 rm -f conftest.$ac_objext
15591 if { (ac_try="$ac_compile"
15592 case "(($ac_try" in
15593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15594 *) ac_try_echo=$ac_try;;
15595 esac
15596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15597 (eval "$ac_compile") 2>conftest.er1
15598 ac_status=$?
15599 grep -v '^ *+' conftest.er1 >conftest.err
15600 rm -f conftest.er1
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && {
15604 test -z "$ac_c_werror_flag" ||
15605 test ! -s conftest.err
15606 } && test -s conftest.$ac_objext; then
15607 ac_cv_c_builtin_wchar_ctype=no
15608 else
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.$ac_ext >&5
15612 ac_cv_c_builtin_wchar_ctype=yes
15615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15617 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15618 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15619 CFLAGS="$saved_CFLAGS"
15620 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15621 then
15622 BUILTINFLAG="-fno-builtin"
15627 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15628 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15629 if test "${ac_cv_asm_func_def+set}" = set; then
15630 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 else
15632 cat >conftest.$ac_ext <<_ACEOF
15633 /* confdefs.h. */
15634 _ACEOF
15635 cat confdefs.h >>conftest.$ac_ext
15636 cat >>conftest.$ac_ext <<_ACEOF
15637 /* end confdefs.h. */
15640 main ()
15642 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15644 return 0;
15646 _ACEOF
15647 rm -f conftest.$ac_objext conftest$ac_exeext
15648 if { (ac_try="$ac_link"
15649 case "(($ac_try" in
15650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15652 esac
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_link") 2>conftest.er1
15655 ac_status=$?
15656 grep -v '^ *+' conftest.er1 >conftest.err
15657 rm -f conftest.er1
15658 cat conftest.err >&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && {
15661 test -z "$ac_c_werror_flag" ||
15662 test ! -s conftest.err
15663 } && test -s conftest$ac_exeext &&
15664 $as_test_x conftest$ac_exeext; then
15665 ac_cv_asm_func_def=".def"
15666 else
15667 echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.$ac_ext >&5
15670 cat >conftest.$ac_ext <<_ACEOF
15671 /* confdefs.h. */
15672 _ACEOF
15673 cat confdefs.h >>conftest.$ac_ext
15674 cat >>conftest.$ac_ext <<_ACEOF
15675 /* end confdefs.h. */
15678 main ()
15680 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15682 return 0;
15684 _ACEOF
15685 rm -f conftest.$ac_objext conftest$ac_exeext
15686 if { (ac_try="$ac_link"
15687 case "(($ac_try" in
15688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15689 *) ac_try_echo=$ac_try;;
15690 esac
15691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15692 (eval "$ac_link") 2>conftest.er1
15693 ac_status=$?
15694 grep -v '^ *+' conftest.er1 >conftest.err
15695 rm -f conftest.er1
15696 cat conftest.err >&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); } && {
15699 test -z "$ac_c_werror_flag" ||
15700 test ! -s conftest.err
15701 } && test -s conftest$ac_exeext &&
15702 $as_test_x conftest$ac_exeext; then
15703 ac_cv_asm_func_def=".type @function"
15704 else
15705 echo "$as_me: failed program was:" >&5
15706 sed 's/^/| /' conftest.$ac_ext >&5
15708 cat >conftest.$ac_ext <<_ACEOF
15709 /* confdefs.h. */
15710 _ACEOF
15711 cat confdefs.h >>conftest.$ac_ext
15712 cat >>conftest.$ac_ext <<_ACEOF
15713 /* end confdefs.h. */
15716 main ()
15718 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15720 return 0;
15722 _ACEOF
15723 rm -f conftest.$ac_objext conftest$ac_exeext
15724 if { (ac_try="$ac_link"
15725 case "(($ac_try" in
15726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15727 *) ac_try_echo=$ac_try;;
15728 esac
15729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15730 (eval "$ac_link") 2>conftest.er1
15731 ac_status=$?
15732 grep -v '^ *+' conftest.er1 >conftest.err
15733 rm -f conftest.er1
15734 cat conftest.err >&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } && {
15737 test -z "$ac_c_werror_flag" ||
15738 test ! -s conftest.err
15739 } && test -s conftest$ac_exeext &&
15740 $as_test_x conftest$ac_exeext; then
15741 ac_cv_asm_func_def=".type 2"
15742 else
15743 echo "$as_me: failed program was:" >&5
15744 sed 's/^/| /' conftest.$ac_ext >&5
15746 ac_cv_asm_func_def="unknown"
15749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15750 conftest$ac_exeext conftest.$ac_ext
15753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15754 conftest$ac_exeext conftest.$ac_ext
15757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15758 conftest$ac_exeext conftest.$ac_ext
15760 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15761 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15765 case "$ac_cv_asm_func_def" in
15766 ".def")
15767 cat >>confdefs.h <<\_ACEOF
15768 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15769 _ACEOF
15771 ".type @function")
15772 cat >>confdefs.h <<\_ACEOF
15773 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15774 _ACEOF
15776 ".type 2")
15777 cat >>confdefs.h <<\_ACEOF
15778 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15779 _ACEOF
15782 cat >>confdefs.h <<\_ACEOF
15783 #define __ASM_FUNC(name) ""
15784 _ACEOF
15786 esac
15789 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15790 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15791 if test "${ac_cv_c_extern_prefix+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 else
15794 cat >conftest.$ac_ext <<_ACEOF
15795 /* confdefs.h. */
15796 _ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800 extern int ac_test;
15802 main ()
15804 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15806 return 0;
15808 _ACEOF
15809 rm -f conftest.$ac_objext conftest$ac_exeext
15810 if { (ac_try="$ac_link"
15811 case "(($ac_try" in
15812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15813 *) ac_try_echo=$ac_try;;
15814 esac
15815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15816 (eval "$ac_link") 2>conftest.er1
15817 ac_status=$?
15818 grep -v '^ *+' conftest.er1 >conftest.err
15819 rm -f conftest.er1
15820 cat conftest.err >&5
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); } && {
15823 test -z "$ac_c_werror_flag" ||
15824 test ! -s conftest.err
15825 } && test -s conftest$ac_exeext &&
15826 $as_test_x conftest$ac_exeext; then
15827 ac_cv_c_extern_prefix="yes"
15828 else
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.$ac_ext >&5
15832 ac_cv_c_extern_prefix="no"
15835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15836 conftest$ac_exeext conftest.$ac_ext
15838 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15839 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15843 if test "$ac_cv_c_extern_prefix" = "yes"
15844 then
15845 cat >>confdefs.h <<\_ACEOF
15846 #define __ASM_NAME(name) "_" name
15847 _ACEOF
15849 else
15850 cat >>confdefs.h <<\_ACEOF
15851 #define __ASM_NAME(name) name
15852 _ACEOF
15857 LDPATH=""
15859 case $build_os in
15860 cygwin*|mingw32*)
15861 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15863 darwin*|macosx*)
15865 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15866 then
15867 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15871 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15873 esac
15875 case $host_os in
15876 mingw32*)
15877 CRTLIBS="-lmsvcrt"
15879 SOCKETLIBS="-lws2_32"
15882 esac
15884 MAIN_BINARY="wine-pthread"
15885 case $host_cpu in
15886 *i[3456789]86*)
15887 case $host_os in
15888 linux* | k*bsd*-gnu)
15889 MAIN_BINARY="wine-glibc"
15891 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15893 freebsd*)
15894 MAIN_BINARY="wine-freebsd"
15896 EXTRA_BINARIES="wine-pthread"
15898 esac
15900 esac
15967 for ac_func in \
15968 _pclose \
15969 _popen \
15970 _snprintf \
15971 _spawnvp \
15972 _strdup \
15973 _stricmp \
15974 _strnicmp \
15975 _vsnprintf \
15976 asctime_r \
15977 chsize \
15978 clone \
15979 dlopen \
15980 epoll_create \
15981 ffs \
15982 finite \
15983 fork \
15984 fpclass \
15985 fstatfs \
15986 fstatvfs \
15987 ftruncate \
15988 futimes \
15989 futimesat \
15990 getdirentries \
15991 getopt_long \
15992 getpagesize \
15993 getpwuid \
15994 gettid \
15995 gettimeofday \
15996 getuid \
15997 inet_pton \
15998 kqueue \
15999 lstat \
16000 memmove \
16001 mmap \
16002 pclose \
16003 poll \
16004 popen \
16005 prctl \
16006 pread \
16007 pwrite \
16008 readlink \
16009 rfork \
16010 sched_yield \
16011 select \
16012 setrlimit \
16013 settimeofday \
16014 sigaltstack \
16015 sigprocmask \
16016 snprintf \
16017 spawnvp \
16018 statfs \
16019 statvfs \
16020 strcasecmp \
16021 strdup \
16022 strerror \
16023 strncasecmp \
16024 strtold \
16025 tcgetattr \
16026 thr_kill2 \
16027 timegm \
16028 usleep \
16029 vsnprintf \
16030 wait4 \
16031 waitpid \
16034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16035 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16037 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16038 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 else
16040 cat >conftest.$ac_ext <<_ACEOF
16041 /* confdefs.h. */
16042 _ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16048 #define $ac_func innocuous_$ac_func
16050 /* System header to define __stub macros and hopefully few prototypes,
16051 which can conflict with char $ac_func (); below.
16052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16053 <limits.h> exists even on freestanding compilers. */
16055 #ifdef __STDC__
16056 # include <limits.h>
16057 #else
16058 # include <assert.h>
16059 #endif
16061 #undef $ac_func
16063 /* Override any GCC internal prototype to avoid an error.
16064 Use char because int might match the return type of a GCC
16065 builtin and then its argument prototype would still apply. */
16066 #ifdef __cplusplus
16067 extern "C"
16068 #endif
16069 char $ac_func ();
16070 /* The GNU C library defines this for functions which it implements
16071 to always fail with ENOSYS. Some functions are actually named
16072 something starting with __ and the normal name is an alias. */
16073 #if defined __stub_$ac_func || defined __stub___$ac_func
16074 choke me
16075 #endif
16078 main ()
16080 return $ac_func ();
16082 return 0;
16084 _ACEOF
16085 rm -f conftest.$ac_objext conftest$ac_exeext
16086 if { (ac_try="$ac_link"
16087 case "(($ac_try" in
16088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16089 *) ac_try_echo=$ac_try;;
16090 esac
16091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16092 (eval "$ac_link") 2>conftest.er1
16093 ac_status=$?
16094 grep -v '^ *+' conftest.er1 >conftest.err
16095 rm -f conftest.er1
16096 cat conftest.err >&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); } && {
16099 test -z "$ac_c_werror_flag" ||
16100 test ! -s conftest.err
16101 } && test -s conftest$ac_exeext &&
16102 $as_test_x conftest$ac_exeext; then
16103 eval "$as_ac_var=yes"
16104 else
16105 echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.$ac_ext >&5
16108 eval "$as_ac_var=no"
16111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16112 conftest$ac_exeext conftest.$ac_ext
16114 ac_res=`eval echo '${'$as_ac_var'}'`
16115 { echo "$as_me:$LINENO: result: $ac_res" >&5
16116 echo "${ECHO_T}$ac_res" >&6; }
16117 if test `eval echo '${'$as_ac_var'}'` = yes; then
16118 cat >>confdefs.h <<_ACEOF
16119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16120 _ACEOF
16123 done
16126 if test "$ac_cv_func_dlopen" = no
16127 then
16128 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16129 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16130 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16131 echo $ECHO_N "(cached) $ECHO_C" >&6
16132 else
16133 ac_check_lib_save_LIBS=$LIBS
16134 LIBS="-ldl $LIBS"
16135 cat >conftest.$ac_ext <<_ACEOF
16136 /* confdefs.h. */
16137 _ACEOF
16138 cat confdefs.h >>conftest.$ac_ext
16139 cat >>conftest.$ac_ext <<_ACEOF
16140 /* end confdefs.h. */
16142 /* Override any GCC internal prototype to avoid an error.
16143 Use char because int might match the return type of a GCC
16144 builtin and then its argument prototype would still apply. */
16145 #ifdef __cplusplus
16146 extern "C"
16147 #endif
16148 char dlopen ();
16150 main ()
16152 return dlopen ();
16154 return 0;
16156 _ACEOF
16157 rm -f conftest.$ac_objext conftest$ac_exeext
16158 if { (ac_try="$ac_link"
16159 case "(($ac_try" in
16160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16161 *) ac_try_echo=$ac_try;;
16162 esac
16163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16164 (eval "$ac_link") 2>conftest.er1
16165 ac_status=$?
16166 grep -v '^ *+' conftest.er1 >conftest.err
16167 rm -f conftest.er1
16168 cat conftest.err >&5
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); } && {
16171 test -z "$ac_c_werror_flag" ||
16172 test ! -s conftest.err
16173 } && test -s conftest$ac_exeext &&
16174 $as_test_x conftest$ac_exeext; then
16175 ac_cv_lib_dl_dlopen=yes
16176 else
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 ac_cv_lib_dl_dlopen=no
16183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16184 conftest$ac_exeext conftest.$ac_ext
16185 LIBS=$ac_check_lib_save_LIBS
16187 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16188 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16189 if test $ac_cv_lib_dl_dlopen = yes; then
16190 cat >>confdefs.h <<\_ACEOF
16191 #define HAVE_DLOPEN 1
16192 _ACEOF
16193 LIBDL="-ldl"
16198 ac_wine_check_funcs_save_LIBS="$LIBS"
16199 LIBS="$LIBS $LIBDL"
16201 for ac_func in dladdr
16203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16204 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16206 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 else
16209 cat >conftest.$ac_ext <<_ACEOF
16210 /* confdefs.h. */
16211 _ACEOF
16212 cat confdefs.h >>conftest.$ac_ext
16213 cat >>conftest.$ac_ext <<_ACEOF
16214 /* end confdefs.h. */
16215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16217 #define $ac_func innocuous_$ac_func
16219 /* System header to define __stub macros and hopefully few prototypes,
16220 which can conflict with char $ac_func (); below.
16221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16222 <limits.h> exists even on freestanding compilers. */
16224 #ifdef __STDC__
16225 # include <limits.h>
16226 #else
16227 # include <assert.h>
16228 #endif
16230 #undef $ac_func
16232 /* Override any GCC internal prototype to avoid an error.
16233 Use char because int might match the return type of a GCC
16234 builtin and then its argument prototype would still apply. */
16235 #ifdef __cplusplus
16236 extern "C"
16237 #endif
16238 char $ac_func ();
16239 /* The GNU C library defines this for functions which it implements
16240 to always fail with ENOSYS. Some functions are actually named
16241 something starting with __ and the normal name is an alias. */
16242 #if defined __stub_$ac_func || defined __stub___$ac_func
16243 choke me
16244 #endif
16247 main ()
16249 return $ac_func ();
16251 return 0;
16253 _ACEOF
16254 rm -f conftest.$ac_objext conftest$ac_exeext
16255 if { (ac_try="$ac_link"
16256 case "(($ac_try" in
16257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16258 *) ac_try_echo=$ac_try;;
16259 esac
16260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16261 (eval "$ac_link") 2>conftest.er1
16262 ac_status=$?
16263 grep -v '^ *+' conftest.er1 >conftest.err
16264 rm -f conftest.er1
16265 cat conftest.err >&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); } && {
16268 test -z "$ac_c_werror_flag" ||
16269 test ! -s conftest.err
16270 } && test -s conftest$ac_exeext &&
16271 $as_test_x conftest$ac_exeext; then
16272 eval "$as_ac_var=yes"
16273 else
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.$ac_ext >&5
16277 eval "$as_ac_var=no"
16280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16281 conftest$ac_exeext conftest.$ac_ext
16283 ac_res=`eval echo '${'$as_ac_var'}'`
16284 { echo "$as_me:$LINENO: result: $ac_res" >&5
16285 echo "${ECHO_T}$ac_res" >&6; }
16286 if test `eval echo '${'$as_ac_var'}'` = yes; then
16287 cat >>confdefs.h <<_ACEOF
16288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16289 _ACEOF
16292 done
16294 LIBS="$ac_wine_check_funcs_save_LIBS"
16296 if test "$ac_cv_func_poll" = no
16297 then
16298 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16299 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16300 if test "${ac_cv_lib_poll_poll+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 ac_check_lib_save_LIBS=$LIBS
16304 LIBS="-lpoll $LIBS"
16305 cat >conftest.$ac_ext <<_ACEOF
16306 /* confdefs.h. */
16307 _ACEOF
16308 cat confdefs.h >>conftest.$ac_ext
16309 cat >>conftest.$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16312 /* Override any GCC internal prototype to avoid an error.
16313 Use char because int might match the return type of a GCC
16314 builtin and then its argument prototype would still apply. */
16315 #ifdef __cplusplus
16316 extern "C"
16317 #endif
16318 char poll ();
16320 main ()
16322 return poll ();
16324 return 0;
16326 _ACEOF
16327 rm -f conftest.$ac_objext conftest$ac_exeext
16328 if { (ac_try="$ac_link"
16329 case "(($ac_try" in
16330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16331 *) ac_try_echo=$ac_try;;
16332 esac
16333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16334 (eval "$ac_link") 2>conftest.er1
16335 ac_status=$?
16336 grep -v '^ *+' conftest.er1 >conftest.err
16337 rm -f conftest.er1
16338 cat conftest.err >&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } && {
16341 test -z "$ac_c_werror_flag" ||
16342 test ! -s conftest.err
16343 } && test -s conftest$ac_exeext &&
16344 $as_test_x conftest$ac_exeext; then
16345 ac_cv_lib_poll_poll=yes
16346 else
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.$ac_ext >&5
16350 ac_cv_lib_poll_poll=no
16353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16354 conftest$ac_exeext conftest.$ac_ext
16355 LIBS=$ac_check_lib_save_LIBS
16357 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16358 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16359 if test $ac_cv_lib_poll_poll = yes; then
16360 cat >>confdefs.h <<\_ACEOF
16361 #define HAVE_POLL 1
16362 _ACEOF
16363 LIBPOLL="-lpoll"
16369 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16370 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16371 if test "${ac_cv_search_gethostbyname+set}" = set; then
16372 echo $ECHO_N "(cached) $ECHO_C" >&6
16373 else
16374 ac_func_search_save_LIBS=$LIBS
16375 cat >conftest.$ac_ext <<_ACEOF
16376 /* confdefs.h. */
16377 _ACEOF
16378 cat confdefs.h >>conftest.$ac_ext
16379 cat >>conftest.$ac_ext <<_ACEOF
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16385 #ifdef __cplusplus
16386 extern "C"
16387 #endif
16388 char gethostbyname ();
16390 main ()
16392 return gethostbyname ();
16394 return 0;
16396 _ACEOF
16397 for ac_lib in '' nsl; do
16398 if test -z "$ac_lib"; then
16399 ac_res="none required"
16400 else
16401 ac_res=-l$ac_lib
16402 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16404 rm -f conftest.$ac_objext conftest$ac_exeext
16405 if { (ac_try="$ac_link"
16406 case "(($ac_try" in
16407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16408 *) ac_try_echo=$ac_try;;
16409 esac
16410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16411 (eval "$ac_link") 2>conftest.er1
16412 ac_status=$?
16413 grep -v '^ *+' conftest.er1 >conftest.err
16414 rm -f conftest.er1
16415 cat conftest.err >&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } && {
16418 test -z "$ac_c_werror_flag" ||
16419 test ! -s conftest.err
16420 } && test -s conftest$ac_exeext &&
16421 $as_test_x conftest$ac_exeext; then
16422 ac_cv_search_gethostbyname=$ac_res
16423 else
16424 echo "$as_me: failed program was:" >&5
16425 sed 's/^/| /' conftest.$ac_ext >&5
16430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16431 conftest$ac_exeext
16432 if test "${ac_cv_search_gethostbyname+set}" = set; then
16433 break
16435 done
16436 if test "${ac_cv_search_gethostbyname+set}" = set; then
16438 else
16439 ac_cv_search_gethostbyname=no
16441 rm conftest.$ac_ext
16442 LIBS=$ac_func_search_save_LIBS
16444 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16445 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16446 ac_res=$ac_cv_search_gethostbyname
16447 if test "$ac_res" != no; then
16448 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16453 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16454 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16455 if test "${ac_cv_search_connect+set}" = set; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16457 else
16458 ac_func_search_save_LIBS=$LIBS
16459 cat >conftest.$ac_ext <<_ACEOF
16460 /* confdefs.h. */
16461 _ACEOF
16462 cat confdefs.h >>conftest.$ac_ext
16463 cat >>conftest.$ac_ext <<_ACEOF
16464 /* end confdefs.h. */
16466 /* Override any GCC internal prototype to avoid an error.
16467 Use char because int might match the return type of a GCC
16468 builtin and then its argument prototype would still apply. */
16469 #ifdef __cplusplus
16470 extern "C"
16471 #endif
16472 char connect ();
16474 main ()
16476 return connect ();
16478 return 0;
16480 _ACEOF
16481 for ac_lib in '' socket; do
16482 if test -z "$ac_lib"; then
16483 ac_res="none required"
16484 else
16485 ac_res=-l$ac_lib
16486 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16488 rm -f conftest.$ac_objext conftest$ac_exeext
16489 if { (ac_try="$ac_link"
16490 case "(($ac_try" in
16491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16492 *) ac_try_echo=$ac_try;;
16493 esac
16494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16495 (eval "$ac_link") 2>conftest.er1
16496 ac_status=$?
16497 grep -v '^ *+' conftest.er1 >conftest.err
16498 rm -f conftest.er1
16499 cat conftest.err >&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); } && {
16502 test -z "$ac_c_werror_flag" ||
16503 test ! -s conftest.err
16504 } && test -s conftest$ac_exeext &&
16505 $as_test_x conftest$ac_exeext; then
16506 ac_cv_search_connect=$ac_res
16507 else
16508 echo "$as_me: failed program was:" >&5
16509 sed 's/^/| /' conftest.$ac_ext >&5
16514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16515 conftest$ac_exeext
16516 if test "${ac_cv_search_connect+set}" = set; then
16517 break
16519 done
16520 if test "${ac_cv_search_connect+set}" = set; then
16522 else
16523 ac_cv_search_connect=no
16525 rm conftest.$ac_ext
16526 LIBS=$ac_func_search_save_LIBS
16528 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16529 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16530 ac_res=$ac_cv_search_connect
16531 if test "$ac_res" != no; then
16532 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16537 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16538 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16539 if test "${ac_cv_search_inet_aton+set}" = set; then
16540 echo $ECHO_N "(cached) $ECHO_C" >&6
16541 else
16542 ac_func_search_save_LIBS=$LIBS
16543 cat >conftest.$ac_ext <<_ACEOF
16544 /* confdefs.h. */
16545 _ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16550 /* Override any GCC internal prototype to avoid an error.
16551 Use char because int might match the return type of a GCC
16552 builtin and then its argument prototype would still apply. */
16553 #ifdef __cplusplus
16554 extern "C"
16555 #endif
16556 char inet_aton ();
16558 main ()
16560 return inet_aton ();
16562 return 0;
16564 _ACEOF
16565 for ac_lib in '' resolv; do
16566 if test -z "$ac_lib"; then
16567 ac_res="none required"
16568 else
16569 ac_res=-l$ac_lib
16570 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16572 rm -f conftest.$ac_objext conftest$ac_exeext
16573 if { (ac_try="$ac_link"
16574 case "(($ac_try" in
16575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16576 *) ac_try_echo=$ac_try;;
16577 esac
16578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16579 (eval "$ac_link") 2>conftest.er1
16580 ac_status=$?
16581 grep -v '^ *+' conftest.er1 >conftest.err
16582 rm -f conftest.er1
16583 cat conftest.err >&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } && {
16586 test -z "$ac_c_werror_flag" ||
16587 test ! -s conftest.err
16588 } && test -s conftest$ac_exeext &&
16589 $as_test_x conftest$ac_exeext; then
16590 ac_cv_search_inet_aton=$ac_res
16591 else
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.$ac_ext >&5
16598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16599 conftest$ac_exeext
16600 if test "${ac_cv_search_inet_aton+set}" = set; then
16601 break
16603 done
16604 if test "${ac_cv_search_inet_aton+set}" = set; then
16606 else
16607 ac_cv_search_inet_aton=no
16609 rm conftest.$ac_ext
16610 LIBS=$ac_func_search_save_LIBS
16612 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16613 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16614 ac_res=$ac_cv_search_inet_aton
16615 if test "$ac_res" != no; then
16616 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16629 for ac_func in \
16630 getaddrinfo \
16631 getnameinfo \
16632 getnetbyname \
16633 getprotobyname \
16634 getprotobynumber \
16635 getservbyport \
16636 inet_network \
16637 sendmsg \
16640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16641 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16643 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 else
16646 cat >conftest.$ac_ext <<_ACEOF
16647 /* confdefs.h. */
16648 _ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16654 #define $ac_func innocuous_$ac_func
16656 /* System header to define __stub macros and hopefully few prototypes,
16657 which can conflict with char $ac_func (); below.
16658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16659 <limits.h> exists even on freestanding compilers. */
16661 #ifdef __STDC__
16662 # include <limits.h>
16663 #else
16664 # include <assert.h>
16665 #endif
16667 #undef $ac_func
16669 /* Override any GCC internal prototype to avoid an error.
16670 Use char because int might match the return type of a GCC
16671 builtin and then its argument prototype would still apply. */
16672 #ifdef __cplusplus
16673 extern "C"
16674 #endif
16675 char $ac_func ();
16676 /* The GNU C library defines this for functions which it implements
16677 to always fail with ENOSYS. Some functions are actually named
16678 something starting with __ and the normal name is an alias. */
16679 #if defined __stub_$ac_func || defined __stub___$ac_func
16680 choke me
16681 #endif
16684 main ()
16686 return $ac_func ();
16688 return 0;
16690 _ACEOF
16691 rm -f conftest.$ac_objext conftest$ac_exeext
16692 if { (ac_try="$ac_link"
16693 case "(($ac_try" in
16694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16695 *) ac_try_echo=$ac_try;;
16696 esac
16697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16698 (eval "$ac_link") 2>conftest.er1
16699 ac_status=$?
16700 grep -v '^ *+' conftest.er1 >conftest.err
16701 rm -f conftest.er1
16702 cat conftest.err >&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); } && {
16705 test -z "$ac_c_werror_flag" ||
16706 test ! -s conftest.err
16707 } && test -s conftest$ac_exeext &&
16708 $as_test_x conftest$ac_exeext; then
16709 eval "$as_ac_var=yes"
16710 else
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.$ac_ext >&5
16714 eval "$as_ac_var=no"
16717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16718 conftest$ac_exeext conftest.$ac_ext
16720 ac_res=`eval echo '${'$as_ac_var'}'`
16721 { echo "$as_me:$LINENO: result: $ac_res" >&5
16722 echo "${ECHO_T}$ac_res" >&6; }
16723 if test `eval echo '${'$as_ac_var'}'` = yes; then
16724 cat >>confdefs.h <<_ACEOF
16725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16726 _ACEOF
16729 done
16733 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16734 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16735 if test "${ac_cv_c_const+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 else
16738 cat >conftest.$ac_ext <<_ACEOF
16739 /* confdefs.h. */
16740 _ACEOF
16741 cat confdefs.h >>conftest.$ac_ext
16742 cat >>conftest.$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16746 main ()
16748 /* FIXME: Include the comments suggested by Paul. */
16749 #ifndef __cplusplus
16750 /* Ultrix mips cc rejects this. */
16751 typedef int charset[2];
16752 const charset cs;
16753 /* SunOS 4.1.1 cc rejects this. */
16754 char const *const *pcpcc;
16755 char **ppc;
16756 /* NEC SVR4.0.2 mips cc rejects this. */
16757 struct point {int x, y;};
16758 static struct point const zero = {0,0};
16759 /* AIX XL C 1.02.0.0 rejects this.
16760 It does not let you subtract one const X* pointer from another in
16761 an arm of an if-expression whose if-part is not a constant
16762 expression */
16763 const char *g = "string";
16764 pcpcc = &g + (g ? g-g : 0);
16765 /* HPUX 7.0 cc rejects these. */
16766 ++pcpcc;
16767 ppc = (char**) pcpcc;
16768 pcpcc = (char const *const *) ppc;
16769 { /* SCO 3.2v4 cc rejects this. */
16770 char *t;
16771 char const *s = 0 ? (char *) 0 : (char const *) 0;
16773 *t++ = 0;
16774 if (s) return 0;
16776 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16777 int x[] = {25, 17};
16778 const int *foo = &x[0];
16779 ++foo;
16781 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16782 typedef const int *iptr;
16783 iptr p = 0;
16784 ++p;
16786 { /* AIX XL C 1.02.0.0 rejects this saying
16787 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16788 struct s { int j; const int *ap[3]; };
16789 struct s *b; b->j = 5;
16791 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16792 const int foo = 10;
16793 if (!foo) return 0;
16795 return !cs[0] && !zero.x;
16796 #endif
16799 return 0;
16801 _ACEOF
16802 rm -f conftest.$ac_objext
16803 if { (ac_try="$ac_compile"
16804 case "(($ac_try" in
16805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16806 *) ac_try_echo=$ac_try;;
16807 esac
16808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16809 (eval "$ac_compile") 2>conftest.er1
16810 ac_status=$?
16811 grep -v '^ *+' conftest.er1 >conftest.err
16812 rm -f conftest.er1
16813 cat conftest.err >&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); } && {
16816 test -z "$ac_c_werror_flag" ||
16817 test ! -s conftest.err
16818 } && test -s conftest.$ac_objext; then
16819 ac_cv_c_const=yes
16820 else
16821 echo "$as_me: failed program was:" >&5
16822 sed 's/^/| /' conftest.$ac_ext >&5
16824 ac_cv_c_const=no
16827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16829 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16830 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16831 if test $ac_cv_c_const = no; then
16833 cat >>confdefs.h <<\_ACEOF
16834 #define const
16835 _ACEOF
16839 { echo "$as_me:$LINENO: checking for inline" >&5
16840 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16841 if test "${ac_cv_c_inline+set}" = set; then
16842 echo $ECHO_N "(cached) $ECHO_C" >&6
16843 else
16844 ac_cv_c_inline=no
16845 for ac_kw in inline __inline__ __inline; do
16846 cat >conftest.$ac_ext <<_ACEOF
16847 /* confdefs.h. */
16848 _ACEOF
16849 cat confdefs.h >>conftest.$ac_ext
16850 cat >>conftest.$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 #ifndef __cplusplus
16853 typedef int foo_t;
16854 static $ac_kw foo_t static_foo () {return 0; }
16855 $ac_kw foo_t foo () {return 0; }
16856 #endif
16858 _ACEOF
16859 rm -f conftest.$ac_objext
16860 if { (ac_try="$ac_compile"
16861 case "(($ac_try" in
16862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16863 *) ac_try_echo=$ac_try;;
16864 esac
16865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16866 (eval "$ac_compile") 2>conftest.er1
16867 ac_status=$?
16868 grep -v '^ *+' conftest.er1 >conftest.err
16869 rm -f conftest.er1
16870 cat conftest.err >&5
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); } && {
16873 test -z "$ac_c_werror_flag" ||
16874 test ! -s conftest.err
16875 } && test -s conftest.$ac_objext; then
16876 ac_cv_c_inline=$ac_kw
16877 else
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.$ac_ext >&5
16884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16885 test "$ac_cv_c_inline" != no && break
16886 done
16889 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16890 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16893 case $ac_cv_c_inline in
16894 inline | yes) ;;
16896 case $ac_cv_c_inline in
16897 no) ac_val=;;
16898 *) ac_val=$ac_cv_c_inline;;
16899 esac
16900 cat >>confdefs.h <<_ACEOF
16901 #ifndef __cplusplus
16902 #define inline $ac_val
16903 #endif
16904 _ACEOF
16906 esac
16908 { echo "$as_me:$LINENO: checking for mode_t" >&5
16909 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16910 if test "${ac_cv_type_mode_t+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 else
16913 cat >conftest.$ac_ext <<_ACEOF
16914 /* confdefs.h. */
16915 _ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16919 $ac_includes_default
16920 typedef mode_t ac__type_new_;
16922 main ()
16924 if ((ac__type_new_ *) 0)
16925 return 0;
16926 if (sizeof (ac__type_new_))
16927 return 0;
16929 return 0;
16931 _ACEOF
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16937 esac
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16940 ac_status=$?
16941 grep -v '^ *+' conftest.er1 >conftest.err
16942 rm -f conftest.er1
16943 cat conftest.err >&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_c_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.$ac_objext; then
16949 ac_cv_type_mode_t=yes
16950 else
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16954 ac_cv_type_mode_t=no
16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16959 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16960 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16961 if test $ac_cv_type_mode_t = yes; then
16963 cat >>confdefs.h <<_ACEOF
16964 #define HAVE_MODE_T 1
16965 _ACEOF
16969 { echo "$as_me:$LINENO: checking for off_t" >&5
16970 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16971 if test "${ac_cv_type_off_t+set}" = set; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16973 else
16974 cat >conftest.$ac_ext <<_ACEOF
16975 /* confdefs.h. */
16976 _ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16980 $ac_includes_default
16981 typedef off_t ac__type_new_;
16983 main ()
16985 if ((ac__type_new_ *) 0)
16986 return 0;
16987 if (sizeof (ac__type_new_))
16988 return 0;
16990 return 0;
16992 _ACEOF
16993 rm -f conftest.$ac_objext
16994 if { (ac_try="$ac_compile"
16995 case "(($ac_try" in
16996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16997 *) ac_try_echo=$ac_try;;
16998 esac
16999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17000 (eval "$ac_compile") 2>conftest.er1
17001 ac_status=$?
17002 grep -v '^ *+' conftest.er1 >conftest.err
17003 rm -f conftest.er1
17004 cat conftest.err >&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } && {
17007 test -z "$ac_c_werror_flag" ||
17008 test ! -s conftest.err
17009 } && test -s conftest.$ac_objext; then
17010 ac_cv_type_off_t=yes
17011 else
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17015 ac_cv_type_off_t=no
17018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17020 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17021 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17022 if test $ac_cv_type_off_t = yes; then
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_OFF_T 1
17026 _ACEOF
17030 { echo "$as_me:$LINENO: checking for pid_t" >&5
17031 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17032 if test "${ac_cv_type_pid_t+set}" = set; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17034 else
17035 cat >conftest.$ac_ext <<_ACEOF
17036 /* confdefs.h. */
17037 _ACEOF
17038 cat confdefs.h >>conftest.$ac_ext
17039 cat >>conftest.$ac_ext <<_ACEOF
17040 /* end confdefs.h. */
17041 $ac_includes_default
17042 typedef pid_t ac__type_new_;
17044 main ()
17046 if ((ac__type_new_ *) 0)
17047 return 0;
17048 if (sizeof (ac__type_new_))
17049 return 0;
17051 return 0;
17053 _ACEOF
17054 rm -f conftest.$ac_objext
17055 if { (ac_try="$ac_compile"
17056 case "(($ac_try" in
17057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17058 *) ac_try_echo=$ac_try;;
17059 esac
17060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17061 (eval "$ac_compile") 2>conftest.er1
17062 ac_status=$?
17063 grep -v '^ *+' conftest.er1 >conftest.err
17064 rm -f conftest.er1
17065 cat conftest.err >&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } && {
17068 test -z "$ac_c_werror_flag" ||
17069 test ! -s conftest.err
17070 } && test -s conftest.$ac_objext; then
17071 ac_cv_type_pid_t=yes
17072 else
17073 echo "$as_me: failed program was:" >&5
17074 sed 's/^/| /' conftest.$ac_ext >&5
17076 ac_cv_type_pid_t=no
17079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17081 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17082 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17083 if test $ac_cv_type_pid_t = yes; then
17085 cat >>confdefs.h <<_ACEOF
17086 #define HAVE_PID_T 1
17087 _ACEOF
17091 { echo "$as_me:$LINENO: checking for size_t" >&5
17092 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17093 if test "${ac_cv_type_size_t+set}" = set; then
17094 echo $ECHO_N "(cached) $ECHO_C" >&6
17095 else
17096 cat >conftest.$ac_ext <<_ACEOF
17097 /* confdefs.h. */
17098 _ACEOF
17099 cat confdefs.h >>conftest.$ac_ext
17100 cat >>conftest.$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17102 $ac_includes_default
17103 typedef size_t ac__type_new_;
17105 main ()
17107 if ((ac__type_new_ *) 0)
17108 return 0;
17109 if (sizeof (ac__type_new_))
17110 return 0;
17112 return 0;
17114 _ACEOF
17115 rm -f conftest.$ac_objext
17116 if { (ac_try="$ac_compile"
17117 case "(($ac_try" in
17118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17119 *) ac_try_echo=$ac_try;;
17120 esac
17121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17122 (eval "$ac_compile") 2>conftest.er1
17123 ac_status=$?
17124 grep -v '^ *+' conftest.er1 >conftest.err
17125 rm -f conftest.er1
17126 cat conftest.err >&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); } && {
17129 test -z "$ac_c_werror_flag" ||
17130 test ! -s conftest.err
17131 } && test -s conftest.$ac_objext; then
17132 ac_cv_type_size_t=yes
17133 else
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.$ac_ext >&5
17137 ac_cv_type_size_t=no
17140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17142 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17143 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17144 if test $ac_cv_type_size_t = yes; then
17146 cat >>confdefs.h <<_ACEOF
17147 #define HAVE_SIZE_T 1
17148 _ACEOF
17152 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17153 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17154 if test "${ac_cv_type_ssize_t+set}" = set; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 else
17157 cat >conftest.$ac_ext <<_ACEOF
17158 /* confdefs.h. */
17159 _ACEOF
17160 cat confdefs.h >>conftest.$ac_ext
17161 cat >>conftest.$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163 $ac_includes_default
17164 typedef ssize_t ac__type_new_;
17166 main ()
17168 if ((ac__type_new_ *) 0)
17169 return 0;
17170 if (sizeof (ac__type_new_))
17171 return 0;
17173 return 0;
17175 _ACEOF
17176 rm -f conftest.$ac_objext
17177 if { (ac_try="$ac_compile"
17178 case "(($ac_try" in
17179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17181 esac
17182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_compile") 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_c_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest.$ac_objext; then
17193 ac_cv_type_ssize_t=yes
17194 else
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17198 ac_cv_type_ssize_t=no
17201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17203 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17204 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17205 if test $ac_cv_type_ssize_t = yes; then
17207 cat >>confdefs.h <<_ACEOF
17208 #define HAVE_SSIZE_T 1
17209 _ACEOF
17213 { echo "$as_me:$LINENO: checking for long long" >&5
17214 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17215 if test "${ac_cv_type_long_long+set}" = set; then
17216 echo $ECHO_N "(cached) $ECHO_C" >&6
17217 else
17218 cat >conftest.$ac_ext <<_ACEOF
17219 /* confdefs.h. */
17220 _ACEOF
17221 cat confdefs.h >>conftest.$ac_ext
17222 cat >>conftest.$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17224 $ac_includes_default
17225 typedef long long ac__type_new_;
17227 main ()
17229 if ((ac__type_new_ *) 0)
17230 return 0;
17231 if (sizeof (ac__type_new_))
17232 return 0;
17234 return 0;
17236 _ACEOF
17237 rm -f conftest.$ac_objext
17238 if { (ac_try="$ac_compile"
17239 case "(($ac_try" in
17240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17241 *) ac_try_echo=$ac_try;;
17242 esac
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_compile") 2>conftest.er1
17245 ac_status=$?
17246 grep -v '^ *+' conftest.er1 >conftest.err
17247 rm -f conftest.er1
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } && {
17251 test -z "$ac_c_werror_flag" ||
17252 test ! -s conftest.err
17253 } && test -s conftest.$ac_objext; then
17254 ac_cv_type_long_long=yes
17255 else
17256 echo "$as_me: failed program was:" >&5
17257 sed 's/^/| /' conftest.$ac_ext >&5
17259 ac_cv_type_long_long=no
17262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17264 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17265 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17266 if test $ac_cv_type_long_long = yes; then
17268 cat >>confdefs.h <<_ACEOF
17269 #define HAVE_LONG_LONG 1
17270 _ACEOF
17274 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17275 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17276 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 else
17279 cat >conftest.$ac_ext <<_ACEOF
17280 /* confdefs.h. */
17281 _ACEOF
17282 cat confdefs.h >>conftest.$ac_ext
17283 cat >>conftest.$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17285 $ac_includes_default
17286 typedef fsblkcnt_t ac__type_new_;
17288 main ()
17290 if ((ac__type_new_ *) 0)
17291 return 0;
17292 if (sizeof (ac__type_new_))
17293 return 0;
17295 return 0;
17297 _ACEOF
17298 rm -f conftest.$ac_objext
17299 if { (ac_try="$ac_compile"
17300 case "(($ac_try" in
17301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17302 *) ac_try_echo=$ac_try;;
17303 esac
17304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17305 (eval "$ac_compile") 2>conftest.er1
17306 ac_status=$?
17307 grep -v '^ *+' conftest.er1 >conftest.err
17308 rm -f conftest.er1
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } && {
17312 test -z "$ac_c_werror_flag" ||
17313 test ! -s conftest.err
17314 } && test -s conftest.$ac_objext; then
17315 ac_cv_type_fsblkcnt_t=yes
17316 else
17317 echo "$as_me: failed program was:" >&5
17318 sed 's/^/| /' conftest.$ac_ext >&5
17320 ac_cv_type_fsblkcnt_t=no
17323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17325 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17326 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17327 if test $ac_cv_type_fsblkcnt_t = yes; then
17329 cat >>confdefs.h <<_ACEOF
17330 #define HAVE_FSBLKCNT_T 1
17331 _ACEOF
17335 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17336 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17337 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 else
17340 cat >conftest.$ac_ext <<_ACEOF
17341 /* confdefs.h. */
17342 _ACEOF
17343 cat confdefs.h >>conftest.$ac_ext
17344 cat >>conftest.$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17346 $ac_includes_default
17347 typedef fsfilcnt_t ac__type_new_;
17349 main ()
17351 if ((ac__type_new_ *) 0)
17352 return 0;
17353 if (sizeof (ac__type_new_))
17354 return 0;
17356 return 0;
17358 _ACEOF
17359 rm -f conftest.$ac_objext
17360 if { (ac_try="$ac_compile"
17361 case "(($ac_try" in
17362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17363 *) ac_try_echo=$ac_try;;
17364 esac
17365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17366 (eval "$ac_compile") 2>conftest.er1
17367 ac_status=$?
17368 grep -v '^ *+' conftest.er1 >conftest.err
17369 rm -f conftest.er1
17370 cat conftest.err >&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } && {
17373 test -z "$ac_c_werror_flag" ||
17374 test ! -s conftest.err
17375 } && test -s conftest.$ac_objext; then
17376 ac_cv_type_fsfilcnt_t=yes
17377 else
17378 echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.$ac_ext >&5
17381 ac_cv_type_fsfilcnt_t=no
17384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17386 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17387 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17388 if test $ac_cv_type_fsfilcnt_t = yes; then
17390 cat >>confdefs.h <<_ACEOF
17391 #define HAVE_FSFILCNT_T 1
17392 _ACEOF
17397 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17398 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17399 if test "${ac_cv_type_sigset_t+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 else
17402 cat >conftest.$ac_ext <<_ACEOF
17403 /* confdefs.h. */
17404 _ACEOF
17405 cat confdefs.h >>conftest.$ac_ext
17406 cat >>conftest.$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17408 #include <signal.h>
17410 typedef sigset_t ac__type_new_;
17412 main ()
17414 if ((ac__type_new_ *) 0)
17415 return 0;
17416 if (sizeof (ac__type_new_))
17417 return 0;
17419 return 0;
17421 _ACEOF
17422 rm -f conftest.$ac_objext
17423 if { (ac_try="$ac_compile"
17424 case "(($ac_try" in
17425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17426 *) ac_try_echo=$ac_try;;
17427 esac
17428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17429 (eval "$ac_compile") 2>conftest.er1
17430 ac_status=$?
17431 grep -v '^ *+' conftest.er1 >conftest.err
17432 rm -f conftest.er1
17433 cat conftest.err >&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } && {
17436 test -z "$ac_c_werror_flag" ||
17437 test ! -s conftest.err
17438 } && test -s conftest.$ac_objext; then
17439 ac_cv_type_sigset_t=yes
17440 else
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.$ac_ext >&5
17444 ac_cv_type_sigset_t=no
17447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17449 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17450 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17451 if test $ac_cv_type_sigset_t = yes; then
17453 cat >>confdefs.h <<_ACEOF
17454 #define HAVE_SIGSET_T 1
17455 _ACEOF
17460 { echo "$as_me:$LINENO: checking for request_sense" >&5
17461 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17462 if test "${ac_cv_type_request_sense+set}" = set; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17464 else
17465 cat >conftest.$ac_ext <<_ACEOF
17466 /* confdefs.h. */
17467 _ACEOF
17468 cat confdefs.h >>conftest.$ac_ext
17469 cat >>conftest.$ac_ext <<_ACEOF
17470 /* end confdefs.h. */
17471 #include <linux/cdrom.h>
17473 typedef request_sense ac__type_new_;
17475 main ()
17477 if ((ac__type_new_ *) 0)
17478 return 0;
17479 if (sizeof (ac__type_new_))
17480 return 0;
17482 return 0;
17484 _ACEOF
17485 rm -f conftest.$ac_objext
17486 if { (ac_try="$ac_compile"
17487 case "(($ac_try" in
17488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17489 *) ac_try_echo=$ac_try;;
17490 esac
17491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17492 (eval "$ac_compile") 2>conftest.er1
17493 ac_status=$?
17494 grep -v '^ *+' conftest.er1 >conftest.err
17495 rm -f conftest.er1
17496 cat conftest.err >&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } && {
17499 test -z "$ac_c_werror_flag" ||
17500 test ! -s conftest.err
17501 } && test -s conftest.$ac_objext; then
17502 ac_cv_type_request_sense=yes
17503 else
17504 echo "$as_me: failed program was:" >&5
17505 sed 's/^/| /' conftest.$ac_ext >&5
17507 ac_cv_type_request_sense=no
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17512 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17513 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17514 if test $ac_cv_type_request_sense = yes; then
17516 cat >>confdefs.h <<_ACEOF
17517 #define HAVE_REQUEST_SENSE 1
17518 _ACEOF
17524 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17525 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17526 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 else
17529 cat >conftest.$ac_ext <<_ACEOF
17530 /* confdefs.h. */
17531 _ACEOF
17532 cat confdefs.h >>conftest.$ac_ext
17533 cat >>conftest.$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535 #ifdef HAVE_LINUX_INPUT_H
17536 #include <linux/input.h>
17537 #endif
17540 main ()
17542 static struct ff_effect ac_aggr;
17543 if (ac_aggr.direction)
17544 return 0;
17546 return 0;
17548 _ACEOF
17549 rm -f conftest.$ac_objext
17550 if { (ac_try="$ac_compile"
17551 case "(($ac_try" in
17552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17553 *) ac_try_echo=$ac_try;;
17554 esac
17555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17556 (eval "$ac_compile") 2>conftest.er1
17557 ac_status=$?
17558 grep -v '^ *+' conftest.er1 >conftest.err
17559 rm -f conftest.er1
17560 cat conftest.err >&5
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); } && {
17563 test -z "$ac_c_werror_flag" ||
17564 test ! -s conftest.err
17565 } && test -s conftest.$ac_objext; then
17566 ac_cv_member_struct_ff_effect_direction=yes
17567 else
17568 echo "$as_me: failed program was:" >&5
17569 sed 's/^/| /' conftest.$ac_ext >&5
17571 cat >conftest.$ac_ext <<_ACEOF
17572 /* confdefs.h. */
17573 _ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17577 #ifdef HAVE_LINUX_INPUT_H
17578 #include <linux/input.h>
17579 #endif
17582 main ()
17584 static struct ff_effect ac_aggr;
17585 if (sizeof ac_aggr.direction)
17586 return 0;
17588 return 0;
17590 _ACEOF
17591 rm -f conftest.$ac_objext
17592 if { (ac_try="$ac_compile"
17593 case "(($ac_try" in
17594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17595 *) ac_try_echo=$ac_try;;
17596 esac
17597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17598 (eval "$ac_compile") 2>conftest.er1
17599 ac_status=$?
17600 grep -v '^ *+' conftest.er1 >conftest.err
17601 rm -f conftest.er1
17602 cat conftest.err >&5
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); } && {
17605 test -z "$ac_c_werror_flag" ||
17606 test ! -s conftest.err
17607 } && test -s conftest.$ac_objext; then
17608 ac_cv_member_struct_ff_effect_direction=yes
17609 else
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.$ac_ext >&5
17613 ac_cv_member_struct_ff_effect_direction=no
17616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17621 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17622 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17623 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17625 cat >>confdefs.h <<_ACEOF
17626 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17627 _ACEOF
17633 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17634 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17635 if test "${wine_cv_have_sigaddset+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17637 else
17638 cat >conftest.$ac_ext <<_ACEOF
17639 /* confdefs.h. */
17640 _ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 #include <signal.h>
17646 main ()
17648 sigset_t set; sigaddset(&set,SIGTERM);
17650 return 0;
17652 _ACEOF
17653 rm -f conftest.$ac_objext conftest$ac_exeext
17654 if { (ac_try="$ac_link"
17655 case "(($ac_try" in
17656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17657 *) ac_try_echo=$ac_try;;
17658 esac
17659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17660 (eval "$ac_link") 2>conftest.er1
17661 ac_status=$?
17662 grep -v '^ *+' conftest.er1 >conftest.err
17663 rm -f conftest.er1
17664 cat conftest.err >&5
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } && {
17667 test -z "$ac_c_werror_flag" ||
17668 test ! -s conftest.err
17669 } && test -s conftest$ac_exeext &&
17670 $as_test_x conftest$ac_exeext; then
17671 wine_cv_have_sigaddset=yes
17672 else
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17676 wine_cv_have_sigaddset=no
17679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17680 conftest$ac_exeext conftest.$ac_ext
17682 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17683 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17684 if test "$wine_cv_have_sigaddset" = "yes"
17685 then
17687 cat >>confdefs.h <<\_ACEOF
17688 #define HAVE_SIGADDSET 1
17689 _ACEOF
17694 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17695 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17696 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17698 else
17699 cat >conftest.$ac_ext <<_ACEOF
17700 /* confdefs.h. */
17701 _ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17705 #include <netdb.h>
17707 main ()
17710 char *name=0;
17711 struct hostent he;
17712 struct hostent *result;
17713 char *buf=0;
17714 int bufsize=0;
17715 int res,errnr;
17716 char *addr=0;
17717 int addrlen=0;
17718 int addrtype=0;
17719 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17720 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17723 return 0;
17725 _ACEOF
17726 rm -f conftest.$ac_objext conftest$ac_exeext
17727 if { (ac_try="$ac_link"
17728 case "(($ac_try" in
17729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17730 *) ac_try_echo=$ac_try;;
17731 esac
17732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733 (eval "$ac_link") 2>conftest.er1
17734 ac_status=$?
17735 grep -v '^ *+' conftest.er1 >conftest.err
17736 rm -f conftest.er1
17737 cat conftest.err >&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); } && {
17740 test -z "$ac_c_werror_flag" ||
17741 test ! -s conftest.err
17742 } && test -s conftest$ac_exeext &&
17743 $as_test_x conftest$ac_exeext; then
17744 wine_cv_linux_gethostbyname_r_6=yes
17745 else
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.$ac_ext >&5
17749 wine_cv_linux_gethostbyname_r_6=no
17753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17754 conftest$ac_exeext conftest.$ac_ext
17757 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17758 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17759 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17760 then
17762 cat >>confdefs.h <<\_ACEOF
17763 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17764 _ACEOF
17768 if test "$ac_cv_header_linux_joystick_h" = "yes"
17769 then
17770 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17771 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17772 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17773 echo $ECHO_N "(cached) $ECHO_C" >&6
17774 else
17775 cat >conftest.$ac_ext <<_ACEOF
17776 /* confdefs.h. */
17777 _ACEOF
17778 cat confdefs.h >>conftest.$ac_ext
17779 cat >>conftest.$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17782 #include <sys/ioctl.h>
17783 #include <sys/types.h>
17784 #include <linux/joystick.h>
17786 struct js_event blub;
17787 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17788 #error "no 2.2 header"
17789 #endif
17792 main ()
17794 /*empty*/
17796 return 0;
17798 _ACEOF
17799 rm -f conftest.$ac_objext
17800 if { (ac_try="$ac_compile"
17801 case "(($ac_try" in
17802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17803 *) ac_try_echo=$ac_try;;
17804 esac
17805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17806 (eval "$ac_compile") 2>conftest.er1
17807 ac_status=$?
17808 grep -v '^ *+' conftest.er1 >conftest.err
17809 rm -f conftest.er1
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } && {
17813 test -z "$ac_c_werror_flag" ||
17814 test ! -s conftest.err
17815 } && test -s conftest.$ac_objext; then
17816 wine_cv_linux_joystick_22_api=yes
17817 else
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17821 wine_cv_linux_joystick_22_api=no
17824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17827 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17828 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17829 if test "$wine_cv_linux_joystick_22_api" = "yes"
17830 then
17832 cat >>confdefs.h <<\_ACEOF
17833 #define HAVE_LINUX_22_JOYSTICK_API 1
17834 _ACEOF
17840 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17841 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17842 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17843 echo $ECHO_N "(cached) $ECHO_C" >&6
17844 else
17845 cat >conftest.$ac_ext <<_ACEOF
17846 /* confdefs.h. */
17847 _ACEOF
17848 cat confdefs.h >>conftest.$ac_ext
17849 cat >>conftest.$ac_ext <<_ACEOF
17850 /* end confdefs.h. */
17851 #include <sys/types.h>
17852 #ifdef HAVE_SYS_PARAM_H
17853 # include <sys/param.h>
17854 #endif
17855 #ifdef HAVE_SYS_MOUNT_H
17856 # include <sys/mount.h>
17857 #endif
17858 #ifdef HAVE_SYS_VFS_H
17859 # include <sys/vfs.h>
17860 #endif
17861 #ifdef HAVE_SYS_STATFS_H
17862 # include <sys/statfs.h>
17863 #endif
17866 main ()
17868 static struct statfs ac_aggr;
17869 if (ac_aggr.f_bfree)
17870 return 0;
17872 return 0;
17874 _ACEOF
17875 rm -f conftest.$ac_objext
17876 if { (ac_try="$ac_compile"
17877 case "(($ac_try" in
17878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17879 *) ac_try_echo=$ac_try;;
17880 esac
17881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17882 (eval "$ac_compile") 2>conftest.er1
17883 ac_status=$?
17884 grep -v '^ *+' conftest.er1 >conftest.err
17885 rm -f conftest.er1
17886 cat conftest.err >&5
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } && {
17889 test -z "$ac_c_werror_flag" ||
17890 test ! -s conftest.err
17891 } && test -s conftest.$ac_objext; then
17892 ac_cv_member_struct_statfs_f_bfree=yes
17893 else
17894 echo "$as_me: failed program was:" >&5
17895 sed 's/^/| /' conftest.$ac_ext >&5
17897 cat >conftest.$ac_ext <<_ACEOF
17898 /* confdefs.h. */
17899 _ACEOF
17900 cat confdefs.h >>conftest.$ac_ext
17901 cat >>conftest.$ac_ext <<_ACEOF
17902 /* end confdefs.h. */
17903 #include <sys/types.h>
17904 #ifdef HAVE_SYS_PARAM_H
17905 # include <sys/param.h>
17906 #endif
17907 #ifdef HAVE_SYS_MOUNT_H
17908 # include <sys/mount.h>
17909 #endif
17910 #ifdef HAVE_SYS_VFS_H
17911 # include <sys/vfs.h>
17912 #endif
17913 #ifdef HAVE_SYS_STATFS_H
17914 # include <sys/statfs.h>
17915 #endif
17918 main ()
17920 static struct statfs ac_aggr;
17921 if (sizeof ac_aggr.f_bfree)
17922 return 0;
17924 return 0;
17926 _ACEOF
17927 rm -f conftest.$ac_objext
17928 if { (ac_try="$ac_compile"
17929 case "(($ac_try" in
17930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17931 *) ac_try_echo=$ac_try;;
17932 esac
17933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17934 (eval "$ac_compile") 2>conftest.er1
17935 ac_status=$?
17936 grep -v '^ *+' conftest.er1 >conftest.err
17937 rm -f conftest.er1
17938 cat conftest.err >&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); } && {
17941 test -z "$ac_c_werror_flag" ||
17942 test ! -s conftest.err
17943 } && test -s conftest.$ac_objext; then
17944 ac_cv_member_struct_statfs_f_bfree=yes
17945 else
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 ac_cv_member_struct_statfs_f_bfree=no
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17957 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17958 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17959 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17961 cat >>confdefs.h <<_ACEOF
17962 #define HAVE_STRUCT_STATFS_F_BFREE 1
17963 _ACEOF
17967 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17968 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17969 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 else
17972 cat >conftest.$ac_ext <<_ACEOF
17973 /* confdefs.h. */
17974 _ACEOF
17975 cat confdefs.h >>conftest.$ac_ext
17976 cat >>conftest.$ac_ext <<_ACEOF
17977 /* end confdefs.h. */
17978 #include <sys/types.h>
17979 #ifdef HAVE_SYS_PARAM_H
17980 # include <sys/param.h>
17981 #endif
17982 #ifdef HAVE_SYS_MOUNT_H
17983 # include <sys/mount.h>
17984 #endif
17985 #ifdef HAVE_SYS_VFS_H
17986 # include <sys/vfs.h>
17987 #endif
17988 #ifdef HAVE_SYS_STATFS_H
17989 # include <sys/statfs.h>
17990 #endif
17993 main ()
17995 static struct statfs ac_aggr;
17996 if (ac_aggr.f_bavail)
17997 return 0;
17999 return 0;
18001 _ACEOF
18002 rm -f conftest.$ac_objext
18003 if { (ac_try="$ac_compile"
18004 case "(($ac_try" in
18005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18006 *) ac_try_echo=$ac_try;;
18007 esac
18008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18009 (eval "$ac_compile") 2>conftest.er1
18010 ac_status=$?
18011 grep -v '^ *+' conftest.er1 >conftest.err
18012 rm -f conftest.er1
18013 cat conftest.err >&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } && {
18016 test -z "$ac_c_werror_flag" ||
18017 test ! -s conftest.err
18018 } && test -s conftest.$ac_objext; then
18019 ac_cv_member_struct_statfs_f_bavail=yes
18020 else
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.$ac_ext >&5
18024 cat >conftest.$ac_ext <<_ACEOF
18025 /* confdefs.h. */
18026 _ACEOF
18027 cat confdefs.h >>conftest.$ac_ext
18028 cat >>conftest.$ac_ext <<_ACEOF
18029 /* end confdefs.h. */
18030 #include <sys/types.h>
18031 #ifdef HAVE_SYS_PARAM_H
18032 # include <sys/param.h>
18033 #endif
18034 #ifdef HAVE_SYS_MOUNT_H
18035 # include <sys/mount.h>
18036 #endif
18037 #ifdef HAVE_SYS_VFS_H
18038 # include <sys/vfs.h>
18039 #endif
18040 #ifdef HAVE_SYS_STATFS_H
18041 # include <sys/statfs.h>
18042 #endif
18045 main ()
18047 static struct statfs ac_aggr;
18048 if (sizeof ac_aggr.f_bavail)
18049 return 0;
18051 return 0;
18053 _ACEOF
18054 rm -f conftest.$ac_objext
18055 if { (ac_try="$ac_compile"
18056 case "(($ac_try" in
18057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18058 *) ac_try_echo=$ac_try;;
18059 esac
18060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18061 (eval "$ac_compile") 2>conftest.er1
18062 ac_status=$?
18063 grep -v '^ *+' conftest.er1 >conftest.err
18064 rm -f conftest.er1
18065 cat conftest.err >&5
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); } && {
18068 test -z "$ac_c_werror_flag" ||
18069 test ! -s conftest.err
18070 } && test -s conftest.$ac_objext; then
18071 ac_cv_member_struct_statfs_f_bavail=yes
18072 else
18073 echo "$as_me: failed program was:" >&5
18074 sed 's/^/| /' conftest.$ac_ext >&5
18076 ac_cv_member_struct_statfs_f_bavail=no
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18084 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18085 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18086 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18088 cat >>confdefs.h <<_ACEOF
18089 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18090 _ACEOF
18094 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18095 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18096 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18097 echo $ECHO_N "(cached) $ECHO_C" >&6
18098 else
18099 cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 #include <sys/types.h>
18106 #ifdef HAVE_SYS_PARAM_H
18107 # include <sys/param.h>
18108 #endif
18109 #ifdef HAVE_SYS_MOUNT_H
18110 # include <sys/mount.h>
18111 #endif
18112 #ifdef HAVE_SYS_VFS_H
18113 # include <sys/vfs.h>
18114 #endif
18115 #ifdef HAVE_SYS_STATFS_H
18116 # include <sys/statfs.h>
18117 #endif
18120 main ()
18122 static struct statfs ac_aggr;
18123 if (ac_aggr.f_frsize)
18124 return 0;
18126 return 0;
18128 _ACEOF
18129 rm -f conftest.$ac_objext
18130 if { (ac_try="$ac_compile"
18131 case "(($ac_try" in
18132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18133 *) ac_try_echo=$ac_try;;
18134 esac
18135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18136 (eval "$ac_compile") 2>conftest.er1
18137 ac_status=$?
18138 grep -v '^ *+' conftest.er1 >conftest.err
18139 rm -f conftest.er1
18140 cat conftest.err >&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); } && {
18143 test -z "$ac_c_werror_flag" ||
18144 test ! -s conftest.err
18145 } && test -s conftest.$ac_objext; then
18146 ac_cv_member_struct_statfs_f_frsize=yes
18147 else
18148 echo "$as_me: failed program was:" >&5
18149 sed 's/^/| /' conftest.$ac_ext >&5
18151 cat >conftest.$ac_ext <<_ACEOF
18152 /* confdefs.h. */
18153 _ACEOF
18154 cat confdefs.h >>conftest.$ac_ext
18155 cat >>conftest.$ac_ext <<_ACEOF
18156 /* end confdefs.h. */
18157 #include <sys/types.h>
18158 #ifdef HAVE_SYS_PARAM_H
18159 # include <sys/param.h>
18160 #endif
18161 #ifdef HAVE_SYS_MOUNT_H
18162 # include <sys/mount.h>
18163 #endif
18164 #ifdef HAVE_SYS_VFS_H
18165 # include <sys/vfs.h>
18166 #endif
18167 #ifdef HAVE_SYS_STATFS_H
18168 # include <sys/statfs.h>
18169 #endif
18172 main ()
18174 static struct statfs ac_aggr;
18175 if (sizeof ac_aggr.f_frsize)
18176 return 0;
18178 return 0;
18180 _ACEOF
18181 rm -f conftest.$ac_objext
18182 if { (ac_try="$ac_compile"
18183 case "(($ac_try" in
18184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18185 *) ac_try_echo=$ac_try;;
18186 esac
18187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18188 (eval "$ac_compile") 2>conftest.er1
18189 ac_status=$?
18190 grep -v '^ *+' conftest.er1 >conftest.err
18191 rm -f conftest.er1
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } && {
18195 test -z "$ac_c_werror_flag" ||
18196 test ! -s conftest.err
18197 } && test -s conftest.$ac_objext; then
18198 ac_cv_member_struct_statfs_f_frsize=yes
18199 else
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.$ac_ext >&5
18203 ac_cv_member_struct_statfs_f_frsize=no
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18211 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18212 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18213 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18215 cat >>confdefs.h <<_ACEOF
18216 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18217 _ACEOF
18221 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18222 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18223 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18225 else
18226 cat >conftest.$ac_ext <<_ACEOF
18227 /* confdefs.h. */
18228 _ACEOF
18229 cat confdefs.h >>conftest.$ac_ext
18230 cat >>conftest.$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18232 #include <sys/types.h>
18233 #ifdef HAVE_SYS_PARAM_H
18234 # include <sys/param.h>
18235 #endif
18236 #ifdef HAVE_SYS_MOUNT_H
18237 # include <sys/mount.h>
18238 #endif
18239 #ifdef HAVE_SYS_VFS_H
18240 # include <sys/vfs.h>
18241 #endif
18242 #ifdef HAVE_SYS_STATFS_H
18243 # include <sys/statfs.h>
18244 #endif
18247 main ()
18249 static struct statfs ac_aggr;
18250 if (ac_aggr.f_ffree)
18251 return 0;
18253 return 0;
18255 _ACEOF
18256 rm -f conftest.$ac_objext
18257 if { (ac_try="$ac_compile"
18258 case "(($ac_try" in
18259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18260 *) ac_try_echo=$ac_try;;
18261 esac
18262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18263 (eval "$ac_compile") 2>conftest.er1
18264 ac_status=$?
18265 grep -v '^ *+' conftest.er1 >conftest.err
18266 rm -f conftest.er1
18267 cat conftest.err >&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } && {
18270 test -z "$ac_c_werror_flag" ||
18271 test ! -s conftest.err
18272 } && test -s conftest.$ac_objext; then
18273 ac_cv_member_struct_statfs_f_ffree=yes
18274 else
18275 echo "$as_me: failed program was:" >&5
18276 sed 's/^/| /' conftest.$ac_ext >&5
18278 cat >conftest.$ac_ext <<_ACEOF
18279 /* confdefs.h. */
18280 _ACEOF
18281 cat confdefs.h >>conftest.$ac_ext
18282 cat >>conftest.$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18284 #include <sys/types.h>
18285 #ifdef HAVE_SYS_PARAM_H
18286 # include <sys/param.h>
18287 #endif
18288 #ifdef HAVE_SYS_MOUNT_H
18289 # include <sys/mount.h>
18290 #endif
18291 #ifdef HAVE_SYS_VFS_H
18292 # include <sys/vfs.h>
18293 #endif
18294 #ifdef HAVE_SYS_STATFS_H
18295 # include <sys/statfs.h>
18296 #endif
18299 main ()
18301 static struct statfs ac_aggr;
18302 if (sizeof ac_aggr.f_ffree)
18303 return 0;
18305 return 0;
18307 _ACEOF
18308 rm -f conftest.$ac_objext
18309 if { (ac_try="$ac_compile"
18310 case "(($ac_try" in
18311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18312 *) ac_try_echo=$ac_try;;
18313 esac
18314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18315 (eval "$ac_compile") 2>conftest.er1
18316 ac_status=$?
18317 grep -v '^ *+' conftest.er1 >conftest.err
18318 rm -f conftest.er1
18319 cat conftest.err >&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && {
18322 test -z "$ac_c_werror_flag" ||
18323 test ! -s conftest.err
18324 } && test -s conftest.$ac_objext; then
18325 ac_cv_member_struct_statfs_f_ffree=yes
18326 else
18327 echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18330 ac_cv_member_struct_statfs_f_ffree=no
18333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18338 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18339 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18340 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18342 cat >>confdefs.h <<_ACEOF
18343 #define HAVE_STRUCT_STATFS_F_FFREE 1
18344 _ACEOF
18348 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18349 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18350 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 else
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 #include <sys/types.h>
18360 #ifdef HAVE_SYS_PARAM_H
18361 # include <sys/param.h>
18362 #endif
18363 #ifdef HAVE_SYS_MOUNT_H
18364 # include <sys/mount.h>
18365 #endif
18366 #ifdef HAVE_SYS_VFS_H
18367 # include <sys/vfs.h>
18368 #endif
18369 #ifdef HAVE_SYS_STATFS_H
18370 # include <sys/statfs.h>
18371 #endif
18374 main ()
18376 static struct statfs ac_aggr;
18377 if (ac_aggr.f_favail)
18378 return 0;
18380 return 0;
18382 _ACEOF
18383 rm -f conftest.$ac_objext
18384 if { (ac_try="$ac_compile"
18385 case "(($ac_try" in
18386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18387 *) ac_try_echo=$ac_try;;
18388 esac
18389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18390 (eval "$ac_compile") 2>conftest.er1
18391 ac_status=$?
18392 grep -v '^ *+' conftest.er1 >conftest.err
18393 rm -f conftest.er1
18394 cat conftest.err >&5
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); } && {
18397 test -z "$ac_c_werror_flag" ||
18398 test ! -s conftest.err
18399 } && test -s conftest.$ac_objext; then
18400 ac_cv_member_struct_statfs_f_favail=yes
18401 else
18402 echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.$ac_ext >&5
18405 cat >conftest.$ac_ext <<_ACEOF
18406 /* confdefs.h. */
18407 _ACEOF
18408 cat confdefs.h >>conftest.$ac_ext
18409 cat >>conftest.$ac_ext <<_ACEOF
18410 /* end confdefs.h. */
18411 #include <sys/types.h>
18412 #ifdef HAVE_SYS_PARAM_H
18413 # include <sys/param.h>
18414 #endif
18415 #ifdef HAVE_SYS_MOUNT_H
18416 # include <sys/mount.h>
18417 #endif
18418 #ifdef HAVE_SYS_VFS_H
18419 # include <sys/vfs.h>
18420 #endif
18421 #ifdef HAVE_SYS_STATFS_H
18422 # include <sys/statfs.h>
18423 #endif
18426 main ()
18428 static struct statfs ac_aggr;
18429 if (sizeof ac_aggr.f_favail)
18430 return 0;
18432 return 0;
18434 _ACEOF
18435 rm -f conftest.$ac_objext
18436 if { (ac_try="$ac_compile"
18437 case "(($ac_try" in
18438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18439 *) ac_try_echo=$ac_try;;
18440 esac
18441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18442 (eval "$ac_compile") 2>conftest.er1
18443 ac_status=$?
18444 grep -v '^ *+' conftest.er1 >conftest.err
18445 rm -f conftest.er1
18446 cat conftest.err >&5
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } && {
18449 test -z "$ac_c_werror_flag" ||
18450 test ! -s conftest.err
18451 } && test -s conftest.$ac_objext; then
18452 ac_cv_member_struct_statfs_f_favail=yes
18453 else
18454 echo "$as_me: failed program was:" >&5
18455 sed 's/^/| /' conftest.$ac_ext >&5
18457 ac_cv_member_struct_statfs_f_favail=no
18460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18466 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18467 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18469 cat >>confdefs.h <<_ACEOF
18470 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18471 _ACEOF
18475 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18476 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18477 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18478 echo $ECHO_N "(cached) $ECHO_C" >&6
18479 else
18480 cat >conftest.$ac_ext <<_ACEOF
18481 /* confdefs.h. */
18482 _ACEOF
18483 cat confdefs.h >>conftest.$ac_ext
18484 cat >>conftest.$ac_ext <<_ACEOF
18485 /* end confdefs.h. */
18486 #include <sys/types.h>
18487 #ifdef HAVE_SYS_PARAM_H
18488 # include <sys/param.h>
18489 #endif
18490 #ifdef HAVE_SYS_MOUNT_H
18491 # include <sys/mount.h>
18492 #endif
18493 #ifdef HAVE_SYS_VFS_H
18494 # include <sys/vfs.h>
18495 #endif
18496 #ifdef HAVE_SYS_STATFS_H
18497 # include <sys/statfs.h>
18498 #endif
18501 main ()
18503 static struct statfs ac_aggr;
18504 if (ac_aggr.f_namelen)
18505 return 0;
18507 return 0;
18509 _ACEOF
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514 *) ac_try_echo=$ac_try;;
18515 esac
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18518 ac_status=$?
18519 grep -v '^ *+' conftest.er1 >conftest.err
18520 rm -f conftest.er1
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.$ac_objext; then
18527 ac_cv_member_struct_statfs_f_namelen=yes
18528 else
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18532 cat >conftest.$ac_ext <<_ACEOF
18533 /* confdefs.h. */
18534 _ACEOF
18535 cat confdefs.h >>conftest.$ac_ext
18536 cat >>conftest.$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 #include <sys/types.h>
18539 #ifdef HAVE_SYS_PARAM_H
18540 # include <sys/param.h>
18541 #endif
18542 #ifdef HAVE_SYS_MOUNT_H
18543 # include <sys/mount.h>
18544 #endif
18545 #ifdef HAVE_SYS_VFS_H
18546 # include <sys/vfs.h>
18547 #endif
18548 #ifdef HAVE_SYS_STATFS_H
18549 # include <sys/statfs.h>
18550 #endif
18553 main ()
18555 static struct statfs ac_aggr;
18556 if (sizeof ac_aggr.f_namelen)
18557 return 0;
18559 return 0;
18561 _ACEOF
18562 rm -f conftest.$ac_objext
18563 if { (ac_try="$ac_compile"
18564 case "(($ac_try" in
18565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18566 *) ac_try_echo=$ac_try;;
18567 esac
18568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18569 (eval "$ac_compile") 2>conftest.er1
18570 ac_status=$?
18571 grep -v '^ *+' conftest.er1 >conftest.err
18572 rm -f conftest.er1
18573 cat conftest.err >&5
18574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18575 (exit $ac_status); } && {
18576 test -z "$ac_c_werror_flag" ||
18577 test ! -s conftest.err
18578 } && test -s conftest.$ac_objext; then
18579 ac_cv_member_struct_statfs_f_namelen=yes
18580 else
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.$ac_ext >&5
18584 ac_cv_member_struct_statfs_f_namelen=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18593 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18594 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18596 cat >>confdefs.h <<_ACEOF
18597 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18598 _ACEOF
18604 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18605 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18606 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18607 echo $ECHO_N "(cached) $ECHO_C" >&6
18608 else
18609 cat >conftest.$ac_ext <<_ACEOF
18610 /* confdefs.h. */
18611 _ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #ifdef HAVE_SYS_STATVFS_H
18616 #include <sys/statvfs.h>
18617 #endif
18620 main ()
18622 static struct statvfs ac_aggr;
18623 if (ac_aggr.f_blocks)
18624 return 0;
18626 return 0;
18628 _ACEOF
18629 rm -f conftest.$ac_objext
18630 if { (ac_try="$ac_compile"
18631 case "(($ac_try" in
18632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18633 *) ac_try_echo=$ac_try;;
18634 esac
18635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18636 (eval "$ac_compile") 2>conftest.er1
18637 ac_status=$?
18638 grep -v '^ *+' conftest.er1 >conftest.err
18639 rm -f conftest.er1
18640 cat conftest.err >&5
18641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642 (exit $ac_status); } && {
18643 test -z "$ac_c_werror_flag" ||
18644 test ! -s conftest.err
18645 } && test -s conftest.$ac_objext; then
18646 ac_cv_member_struct_statvfs_f_blocks=yes
18647 else
18648 echo "$as_me: failed program was:" >&5
18649 sed 's/^/| /' conftest.$ac_ext >&5
18651 cat >conftest.$ac_ext <<_ACEOF
18652 /* confdefs.h. */
18653 _ACEOF
18654 cat confdefs.h >>conftest.$ac_ext
18655 cat >>conftest.$ac_ext <<_ACEOF
18656 /* end confdefs.h. */
18657 #ifdef HAVE_SYS_STATVFS_H
18658 #include <sys/statvfs.h>
18659 #endif
18662 main ()
18664 static struct statvfs ac_aggr;
18665 if (sizeof ac_aggr.f_blocks)
18666 return 0;
18668 return 0;
18670 _ACEOF
18671 rm -f conftest.$ac_objext
18672 if { (ac_try="$ac_compile"
18673 case "(($ac_try" in
18674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18675 *) ac_try_echo=$ac_try;;
18676 esac
18677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18678 (eval "$ac_compile") 2>conftest.er1
18679 ac_status=$?
18680 grep -v '^ *+' conftest.er1 >conftest.err
18681 rm -f conftest.er1
18682 cat conftest.err >&5
18683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684 (exit $ac_status); } && {
18685 test -z "$ac_c_werror_flag" ||
18686 test ! -s conftest.err
18687 } && test -s conftest.$ac_objext; then
18688 ac_cv_member_struct_statvfs_f_blocks=yes
18689 else
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 ac_cv_member_struct_statvfs_f_blocks=no
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18702 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18703 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18705 cat >>confdefs.h <<_ACEOF
18706 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18707 _ACEOF
18713 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18714 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18715 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18716 echo $ECHO_N "(cached) $ECHO_C" >&6
18717 else
18718 cat >conftest.$ac_ext <<_ACEOF
18719 /* confdefs.h. */
18720 _ACEOF
18721 cat confdefs.h >>conftest.$ac_ext
18722 cat >>conftest.$ac_ext <<_ACEOF
18723 /* end confdefs.h. */
18724 #include <sys/types.h>
18725 #ifdef HAVE_SYS_SOCKET_H
18726 # include <sys/socket.h>
18727 #endif
18728 #ifdef HAVE_SYS_UN_H
18729 # include <sys/un.h>
18730 #endif
18733 main ()
18735 static struct msghdr ac_aggr;
18736 if (ac_aggr.msg_accrights)
18737 return 0;
18739 return 0;
18741 _ACEOF
18742 rm -f conftest.$ac_objext
18743 if { (ac_try="$ac_compile"
18744 case "(($ac_try" in
18745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18746 *) ac_try_echo=$ac_try;;
18747 esac
18748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18749 (eval "$ac_compile") 2>conftest.er1
18750 ac_status=$?
18751 grep -v '^ *+' conftest.er1 >conftest.err
18752 rm -f conftest.er1
18753 cat conftest.err >&5
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); } && {
18756 test -z "$ac_c_werror_flag" ||
18757 test ! -s conftest.err
18758 } && test -s conftest.$ac_objext; then
18759 ac_cv_member_struct_msghdr_msg_accrights=yes
18760 else
18761 echo "$as_me: failed program was:" >&5
18762 sed 's/^/| /' conftest.$ac_ext >&5
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770 #include <sys/types.h>
18771 #ifdef HAVE_SYS_SOCKET_H
18772 # include <sys/socket.h>
18773 #endif
18774 #ifdef HAVE_SYS_UN_H
18775 # include <sys/un.h>
18776 #endif
18779 main ()
18781 static struct msghdr ac_aggr;
18782 if (sizeof ac_aggr.msg_accrights)
18783 return 0;
18785 return 0;
18787 _ACEOF
18788 rm -f conftest.$ac_objext
18789 if { (ac_try="$ac_compile"
18790 case "(($ac_try" in
18791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18792 *) ac_try_echo=$ac_try;;
18793 esac
18794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18795 (eval "$ac_compile") 2>conftest.er1
18796 ac_status=$?
18797 grep -v '^ *+' conftest.er1 >conftest.err
18798 rm -f conftest.er1
18799 cat conftest.err >&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } && {
18802 test -z "$ac_c_werror_flag" ||
18803 test ! -s conftest.err
18804 } && test -s conftest.$ac_objext; then
18805 ac_cv_member_struct_msghdr_msg_accrights=yes
18806 else
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.$ac_ext >&5
18810 ac_cv_member_struct_msghdr_msg_accrights=no
18813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18818 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18819 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18820 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18822 cat >>confdefs.h <<_ACEOF
18823 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18824 _ACEOF
18828 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18829 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18830 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18831 echo $ECHO_N "(cached) $ECHO_C" >&6
18832 else
18833 cat >conftest.$ac_ext <<_ACEOF
18834 /* confdefs.h. */
18835 _ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18839 #include <sys/types.h>
18840 #ifdef HAVE_SYS_SOCKET_H
18841 # include <sys/socket.h>
18842 #endif
18843 #ifdef HAVE_SYS_UN_H
18844 # include <sys/un.h>
18845 #endif
18848 main ()
18850 static struct sockaddr ac_aggr;
18851 if (ac_aggr.sa_len)
18852 return 0;
18854 return 0;
18856 _ACEOF
18857 rm -f conftest.$ac_objext
18858 if { (ac_try="$ac_compile"
18859 case "(($ac_try" in
18860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18861 *) ac_try_echo=$ac_try;;
18862 esac
18863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18864 (eval "$ac_compile") 2>conftest.er1
18865 ac_status=$?
18866 grep -v '^ *+' conftest.er1 >conftest.err
18867 rm -f conftest.er1
18868 cat conftest.err >&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } && {
18871 test -z "$ac_c_werror_flag" ||
18872 test ! -s conftest.err
18873 } && test -s conftest.$ac_objext; then
18874 ac_cv_member_struct_sockaddr_sa_len=yes
18875 else
18876 echo "$as_me: failed program was:" >&5
18877 sed 's/^/| /' conftest.$ac_ext >&5
18879 cat >conftest.$ac_ext <<_ACEOF
18880 /* confdefs.h. */
18881 _ACEOF
18882 cat confdefs.h >>conftest.$ac_ext
18883 cat >>conftest.$ac_ext <<_ACEOF
18884 /* end confdefs.h. */
18885 #include <sys/types.h>
18886 #ifdef HAVE_SYS_SOCKET_H
18887 # include <sys/socket.h>
18888 #endif
18889 #ifdef HAVE_SYS_UN_H
18890 # include <sys/un.h>
18891 #endif
18894 main ()
18896 static struct sockaddr ac_aggr;
18897 if (sizeof ac_aggr.sa_len)
18898 return 0;
18900 return 0;
18902 _ACEOF
18903 rm -f conftest.$ac_objext
18904 if { (ac_try="$ac_compile"
18905 case "(($ac_try" in
18906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18907 *) ac_try_echo=$ac_try;;
18908 esac
18909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18910 (eval "$ac_compile") 2>conftest.er1
18911 ac_status=$?
18912 grep -v '^ *+' conftest.er1 >conftest.err
18913 rm -f conftest.er1
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } && {
18917 test -z "$ac_c_werror_flag" ||
18918 test ! -s conftest.err
18919 } && test -s conftest.$ac_objext; then
18920 ac_cv_member_struct_sockaddr_sa_len=yes
18921 else
18922 echo "$as_me: failed program was:" >&5
18923 sed 's/^/| /' conftest.$ac_ext >&5
18925 ac_cv_member_struct_sockaddr_sa_len=no
18928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18933 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18934 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18935 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18937 cat >>confdefs.h <<_ACEOF
18938 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18939 _ACEOF
18943 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18944 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18945 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18946 echo $ECHO_N "(cached) $ECHO_C" >&6
18947 else
18948 cat >conftest.$ac_ext <<_ACEOF
18949 /* confdefs.h. */
18950 _ACEOF
18951 cat confdefs.h >>conftest.$ac_ext
18952 cat >>conftest.$ac_ext <<_ACEOF
18953 /* end confdefs.h. */
18954 #include <sys/types.h>
18955 #ifdef HAVE_SYS_SOCKET_H
18956 # include <sys/socket.h>
18957 #endif
18958 #ifdef HAVE_SYS_UN_H
18959 # include <sys/un.h>
18960 #endif
18963 main ()
18965 static struct sockaddr_un ac_aggr;
18966 if (ac_aggr.sun_len)
18967 return 0;
18969 return 0;
18971 _ACEOF
18972 rm -f conftest.$ac_objext
18973 if { (ac_try="$ac_compile"
18974 case "(($ac_try" in
18975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18976 *) ac_try_echo=$ac_try;;
18977 esac
18978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18979 (eval "$ac_compile") 2>conftest.er1
18980 ac_status=$?
18981 grep -v '^ *+' conftest.er1 >conftest.err
18982 rm -f conftest.er1
18983 cat conftest.err >&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } && {
18986 test -z "$ac_c_werror_flag" ||
18987 test ! -s conftest.err
18988 } && test -s conftest.$ac_objext; then
18989 ac_cv_member_struct_sockaddr_un_sun_len=yes
18990 else
18991 echo "$as_me: failed program was:" >&5
18992 sed 's/^/| /' conftest.$ac_ext >&5
18994 cat >conftest.$ac_ext <<_ACEOF
18995 /* confdefs.h. */
18996 _ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19000 #include <sys/types.h>
19001 #ifdef HAVE_SYS_SOCKET_H
19002 # include <sys/socket.h>
19003 #endif
19004 #ifdef HAVE_SYS_UN_H
19005 # include <sys/un.h>
19006 #endif
19009 main ()
19011 static struct sockaddr_un ac_aggr;
19012 if (sizeof ac_aggr.sun_len)
19013 return 0;
19015 return 0;
19017 _ACEOF
19018 rm -f conftest.$ac_objext
19019 if { (ac_try="$ac_compile"
19020 case "(($ac_try" in
19021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19022 *) ac_try_echo=$ac_try;;
19023 esac
19024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19025 (eval "$ac_compile") 2>conftest.er1
19026 ac_status=$?
19027 grep -v '^ *+' conftest.er1 >conftest.err
19028 rm -f conftest.er1
19029 cat conftest.err >&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } && {
19032 test -z "$ac_c_werror_flag" ||
19033 test ! -s conftest.err
19034 } && test -s conftest.$ac_objext; then
19035 ac_cv_member_struct_sockaddr_un_sun_len=yes
19036 else
19037 echo "$as_me: failed program was:" >&5
19038 sed 's/^/| /' conftest.$ac_ext >&5
19040 ac_cv_member_struct_sockaddr_un_sun_len=no
19043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19048 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19049 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19050 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19054 _ACEOF
19060 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19061 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19062 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19063 echo $ECHO_N "(cached) $ECHO_C" >&6
19064 else
19065 cat >conftest.$ac_ext <<_ACEOF
19066 /* confdefs.h. */
19067 _ACEOF
19068 cat confdefs.h >>conftest.$ac_ext
19069 cat >>conftest.$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19071 #include <sys/types.h>
19072 #ifdef HAVE_SCSI_SG_H
19073 #include <scsi/sg.h>
19074 #endif
19077 main ()
19079 static scsireq_t ac_aggr;
19080 if (ac_aggr.cmd)
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_scsireq_t_cmd=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_SCSI_SG_H
19116 #include <scsi/sg.h>
19117 #endif
19120 main ()
19122 static scsireq_t ac_aggr;
19123 if (sizeof ac_aggr.cmd)
19124 return 0;
19126 return 0;
19128 _ACEOF
19129 rm -f conftest.$ac_objext
19130 if { (ac_try="$ac_compile"
19131 case "(($ac_try" in
19132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19133 *) ac_try_echo=$ac_try;;
19134 esac
19135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19136 (eval "$ac_compile") 2>conftest.er1
19137 ac_status=$?
19138 grep -v '^ *+' conftest.er1 >conftest.err
19139 rm -f conftest.er1
19140 cat conftest.err >&5
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19142 (exit $ac_status); } && {
19143 test -z "$ac_c_werror_flag" ||
19144 test ! -s conftest.err
19145 } && test -s conftest.$ac_objext; then
19146 ac_cv_member_scsireq_t_cmd=yes
19147 else
19148 echo "$as_me: failed program was:" >&5
19149 sed 's/^/| /' conftest.$ac_ext >&5
19151 ac_cv_member_scsireq_t_cmd=no
19154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19159 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19160 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19161 if test $ac_cv_member_scsireq_t_cmd = yes; then
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_SCSIREQ_T_CMD 1
19165 _ACEOF
19169 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19170 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19171 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19172 echo $ECHO_N "(cached) $ECHO_C" >&6
19173 else
19174 cat >conftest.$ac_ext <<_ACEOF
19175 /* confdefs.h. */
19176 _ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 #include <sys/types.h>
19181 #ifdef HAVE_SCSI_SG_H
19182 #include <scsi/sg.h>
19183 #endif
19186 main ()
19188 static sg_io_hdr_t ac_aggr;
19189 if (ac_aggr.interface_id)
19190 return 0;
19192 return 0;
19194 _ACEOF
19195 rm -f conftest.$ac_objext
19196 if { (ac_try="$ac_compile"
19197 case "(($ac_try" in
19198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19199 *) ac_try_echo=$ac_try;;
19200 esac
19201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19202 (eval "$ac_compile") 2>conftest.er1
19203 ac_status=$?
19204 grep -v '^ *+' conftest.er1 >conftest.err
19205 rm -f conftest.er1
19206 cat conftest.err >&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); } && {
19209 test -z "$ac_c_werror_flag" ||
19210 test ! -s conftest.err
19211 } && test -s conftest.$ac_objext; then
19212 ac_cv_member_sg_io_hdr_t_interface_id=yes
19213 else
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19217 cat >conftest.$ac_ext <<_ACEOF
19218 /* confdefs.h. */
19219 _ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 #include <sys/types.h>
19224 #ifdef HAVE_SCSI_SG_H
19225 #include <scsi/sg.h>
19226 #endif
19229 main ()
19231 static sg_io_hdr_t ac_aggr;
19232 if (sizeof ac_aggr.interface_id)
19233 return 0;
19235 return 0;
19237 _ACEOF
19238 rm -f conftest.$ac_objext
19239 if { (ac_try="$ac_compile"
19240 case "(($ac_try" in
19241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19242 *) ac_try_echo=$ac_try;;
19243 esac
19244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19245 (eval "$ac_compile") 2>conftest.er1
19246 ac_status=$?
19247 grep -v '^ *+' conftest.er1 >conftest.err
19248 rm -f conftest.er1
19249 cat conftest.err >&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); } && {
19252 test -z "$ac_c_werror_flag" ||
19253 test ! -s conftest.err
19254 } && test -s conftest.$ac_objext; then
19255 ac_cv_member_sg_io_hdr_t_interface_id=yes
19256 else
19257 echo "$as_me: failed program was:" >&5
19258 sed 's/^/| /' conftest.$ac_ext >&5
19260 ac_cv_member_sg_io_hdr_t_interface_id=no
19263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19268 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19269 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19270 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19274 _ACEOF
19280 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19281 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19282 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19283 echo $ECHO_N "(cached) $ECHO_C" >&6
19284 else
19285 cat >conftest.$ac_ext <<_ACEOF
19286 /* confdefs.h. */
19287 _ACEOF
19288 cat confdefs.h >>conftest.$ac_ext
19289 cat >>conftest.$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19291 #include <signal.h>
19294 main ()
19296 static siginfo_t ac_aggr;
19297 if (ac_aggr.si_fd)
19298 return 0;
19300 return 0;
19302 _ACEOF
19303 rm -f conftest.$ac_objext
19304 if { (ac_try="$ac_compile"
19305 case "(($ac_try" in
19306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19307 *) ac_try_echo=$ac_try;;
19308 esac
19309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19310 (eval "$ac_compile") 2>conftest.er1
19311 ac_status=$?
19312 grep -v '^ *+' conftest.er1 >conftest.err
19313 rm -f conftest.er1
19314 cat conftest.err >&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } && {
19317 test -z "$ac_c_werror_flag" ||
19318 test ! -s conftest.err
19319 } && test -s conftest.$ac_objext; then
19320 ac_cv_member_siginfo_t_si_fd=yes
19321 else
19322 echo "$as_me: failed program was:" >&5
19323 sed 's/^/| /' conftest.$ac_ext >&5
19325 cat >conftest.$ac_ext <<_ACEOF
19326 /* confdefs.h. */
19327 _ACEOF
19328 cat confdefs.h >>conftest.$ac_ext
19329 cat >>conftest.$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19331 #include <signal.h>
19334 main ()
19336 static siginfo_t ac_aggr;
19337 if (sizeof ac_aggr.si_fd)
19338 return 0;
19340 return 0;
19342 _ACEOF
19343 rm -f conftest.$ac_objext
19344 if { (ac_try="$ac_compile"
19345 case "(($ac_try" in
19346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19347 *) ac_try_echo=$ac_try;;
19348 esac
19349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19350 (eval "$ac_compile") 2>conftest.er1
19351 ac_status=$?
19352 grep -v '^ *+' conftest.er1 >conftest.err
19353 rm -f conftest.er1
19354 cat conftest.err >&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } && {
19357 test -z "$ac_c_werror_flag" ||
19358 test ! -s conftest.err
19359 } && test -s conftest.$ac_objext; then
19360 ac_cv_member_siginfo_t_si_fd=yes
19361 else
19362 echo "$as_me: failed program was:" >&5
19363 sed 's/^/| /' conftest.$ac_ext >&5
19365 ac_cv_member_siginfo_t_si_fd=no
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19373 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19374 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19375 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19377 cat >>confdefs.h <<_ACEOF
19378 #define HAVE_SIGINFO_T_SI_FD 1
19379 _ACEOF
19385 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19386 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19387 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19389 else
19390 cat >conftest.$ac_ext <<_ACEOF
19391 /* confdefs.h. */
19392 _ACEOF
19393 cat confdefs.h >>conftest.$ac_ext
19394 cat >>conftest.$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19396 #include <sys/types.h>
19397 #ifdef HAVE_SYS_MTIO_H
19398 #include <sys/mtio.h>
19399 #endif
19402 main ()
19404 static struct mtget ac_aggr;
19405 if (ac_aggr.mt_blksiz)
19406 return 0;
19408 return 0;
19410 _ACEOF
19411 rm -f conftest.$ac_objext
19412 if { (ac_try="$ac_compile"
19413 case "(($ac_try" in
19414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19415 *) ac_try_echo=$ac_try;;
19416 esac
19417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19418 (eval "$ac_compile") 2>conftest.er1
19419 ac_status=$?
19420 grep -v '^ *+' conftest.er1 >conftest.err
19421 rm -f conftest.er1
19422 cat conftest.err >&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); } && {
19425 test -z "$ac_c_werror_flag" ||
19426 test ! -s conftest.err
19427 } && test -s conftest.$ac_objext; then
19428 ac_cv_member_struct_mtget_mt_blksiz=yes
19429 else
19430 echo "$as_me: failed program was:" >&5
19431 sed 's/^/| /' conftest.$ac_ext >&5
19433 cat >conftest.$ac_ext <<_ACEOF
19434 /* confdefs.h. */
19435 _ACEOF
19436 cat confdefs.h >>conftest.$ac_ext
19437 cat >>conftest.$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19439 #include <sys/types.h>
19440 #ifdef HAVE_SYS_MTIO_H
19441 #include <sys/mtio.h>
19442 #endif
19445 main ()
19447 static struct mtget ac_aggr;
19448 if (sizeof ac_aggr.mt_blksiz)
19449 return 0;
19451 return 0;
19453 _ACEOF
19454 rm -f conftest.$ac_objext
19455 if { (ac_try="$ac_compile"
19456 case "(($ac_try" in
19457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19458 *) ac_try_echo=$ac_try;;
19459 esac
19460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19461 (eval "$ac_compile") 2>conftest.er1
19462 ac_status=$?
19463 grep -v '^ *+' conftest.er1 >conftest.err
19464 rm -f conftest.er1
19465 cat conftest.err >&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); } && {
19468 test -z "$ac_c_werror_flag" ||
19469 test ! -s conftest.err
19470 } && test -s conftest.$ac_objext; then
19471 ac_cv_member_struct_mtget_mt_blksiz=yes
19472 else
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19476 ac_cv_member_struct_mtget_mt_blksiz=no
19479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19485 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19486 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19488 cat >>confdefs.h <<_ACEOF
19489 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19490 _ACEOF
19494 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19495 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19496 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19497 echo $ECHO_N "(cached) $ECHO_C" >&6
19498 else
19499 cat >conftest.$ac_ext <<_ACEOF
19500 /* confdefs.h. */
19501 _ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 #include <sys/types.h>
19506 #ifdef HAVE_SYS_MTIO_H
19507 #include <sys/mtio.h>
19508 #endif
19511 main ()
19513 static struct mtget ac_aggr;
19514 if (ac_aggr.mt_gstat)
19515 return 0;
19517 return 0;
19519 _ACEOF
19520 rm -f conftest.$ac_objext
19521 if { (ac_try="$ac_compile"
19522 case "(($ac_try" in
19523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19525 esac
19526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_compile") 2>conftest.er1
19528 ac_status=$?
19529 grep -v '^ *+' conftest.er1 >conftest.err
19530 rm -f conftest.er1
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } && {
19534 test -z "$ac_c_werror_flag" ||
19535 test ! -s conftest.err
19536 } && test -s conftest.$ac_objext; then
19537 ac_cv_member_struct_mtget_mt_gstat=yes
19538 else
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.$ac_ext >&5
19542 cat >conftest.$ac_ext <<_ACEOF
19543 /* confdefs.h. */
19544 _ACEOF
19545 cat confdefs.h >>conftest.$ac_ext
19546 cat >>conftest.$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 #include <sys/types.h>
19549 #ifdef HAVE_SYS_MTIO_H
19550 #include <sys/mtio.h>
19551 #endif
19554 main ()
19556 static struct mtget ac_aggr;
19557 if (sizeof ac_aggr.mt_gstat)
19558 return 0;
19560 return 0;
19562 _ACEOF
19563 rm -f conftest.$ac_objext
19564 if { (ac_try="$ac_compile"
19565 case "(($ac_try" in
19566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19567 *) ac_try_echo=$ac_try;;
19568 esac
19569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19570 (eval "$ac_compile") 2>conftest.er1
19571 ac_status=$?
19572 grep -v '^ *+' conftest.er1 >conftest.err
19573 rm -f conftest.er1
19574 cat conftest.err >&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } && {
19577 test -z "$ac_c_werror_flag" ||
19578 test ! -s conftest.err
19579 } && test -s conftest.$ac_objext; then
19580 ac_cv_member_struct_mtget_mt_gstat=yes
19581 else
19582 echo "$as_me: failed program was:" >&5
19583 sed 's/^/| /' conftest.$ac_ext >&5
19585 ac_cv_member_struct_mtget_mt_gstat=no
19588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19593 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19594 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19595 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19597 cat >>confdefs.h <<_ACEOF
19598 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19599 _ACEOF
19603 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19604 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19605 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19606 echo $ECHO_N "(cached) $ECHO_C" >&6
19607 else
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 #include <sys/types.h>
19615 #ifdef HAVE_SYS_MTIO_H
19616 #include <sys/mtio.h>
19617 #endif
19620 main ()
19622 static struct mtget ac_aggr;
19623 if (ac_aggr.mt_blkno)
19624 return 0;
19626 return 0;
19628 _ACEOF
19629 rm -f conftest.$ac_objext
19630 if { (ac_try="$ac_compile"
19631 case "(($ac_try" in
19632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19633 *) ac_try_echo=$ac_try;;
19634 esac
19635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19636 (eval "$ac_compile") 2>conftest.er1
19637 ac_status=$?
19638 grep -v '^ *+' conftest.er1 >conftest.err
19639 rm -f conftest.er1
19640 cat conftest.err >&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } && {
19643 test -z "$ac_c_werror_flag" ||
19644 test ! -s conftest.err
19645 } && test -s conftest.$ac_objext; then
19646 ac_cv_member_struct_mtget_mt_blkno=yes
19647 else
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.$ac_ext >&5
19651 cat >conftest.$ac_ext <<_ACEOF
19652 /* confdefs.h. */
19653 _ACEOF
19654 cat confdefs.h >>conftest.$ac_ext
19655 cat >>conftest.$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 #include <sys/types.h>
19658 #ifdef HAVE_SYS_MTIO_H
19659 #include <sys/mtio.h>
19660 #endif
19663 main ()
19665 static struct mtget ac_aggr;
19666 if (sizeof ac_aggr.mt_blkno)
19667 return 0;
19669 return 0;
19671 _ACEOF
19672 rm -f conftest.$ac_objext
19673 if { (ac_try="$ac_compile"
19674 case "(($ac_try" in
19675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19676 *) ac_try_echo=$ac_try;;
19677 esac
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_compile") 2>conftest.er1
19680 ac_status=$?
19681 grep -v '^ *+' conftest.er1 >conftest.err
19682 rm -f conftest.er1
19683 cat conftest.err >&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } && {
19686 test -z "$ac_c_werror_flag" ||
19687 test ! -s conftest.err
19688 } && test -s conftest.$ac_objext; then
19689 ac_cv_member_struct_mtget_mt_blkno=yes
19690 else
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19694 ac_cv_member_struct_mtget_mt_blkno=no
19697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19703 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19704 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19706 cat >>confdefs.h <<_ACEOF
19707 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19708 _ACEOF
19714 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19715 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19716 if test "${ac_cv_member_struct_option_name+set}" = set; then
19717 echo $ECHO_N "(cached) $ECHO_C" >&6
19718 else
19719 cat >conftest.$ac_ext <<_ACEOF
19720 /* confdefs.h. */
19721 _ACEOF
19722 cat confdefs.h >>conftest.$ac_ext
19723 cat >>conftest.$ac_ext <<_ACEOF
19724 /* end confdefs.h. */
19725 #ifdef HAVE_GETOPT_H
19726 #include <getopt.h>
19727 #endif
19730 main ()
19732 static struct option ac_aggr;
19733 if (ac_aggr.name)
19734 return 0;
19736 return 0;
19738 _ACEOF
19739 rm -f conftest.$ac_objext
19740 if { (ac_try="$ac_compile"
19741 case "(($ac_try" in
19742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19743 *) ac_try_echo=$ac_try;;
19744 esac
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_compile") 2>conftest.er1
19747 ac_status=$?
19748 grep -v '^ *+' conftest.er1 >conftest.err
19749 rm -f conftest.er1
19750 cat conftest.err >&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); } && {
19753 test -z "$ac_c_werror_flag" ||
19754 test ! -s conftest.err
19755 } && test -s conftest.$ac_objext; then
19756 ac_cv_member_struct_option_name=yes
19757 else
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19761 cat >conftest.$ac_ext <<_ACEOF
19762 /* confdefs.h. */
19763 _ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 #ifdef HAVE_GETOPT_H
19768 #include <getopt.h>
19769 #endif
19772 main ()
19774 static struct option ac_aggr;
19775 if (sizeof ac_aggr.name)
19776 return 0;
19778 return 0;
19780 _ACEOF
19781 rm -f conftest.$ac_objext
19782 if { (ac_try="$ac_compile"
19783 case "(($ac_try" in
19784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19785 *) ac_try_echo=$ac_try;;
19786 esac
19787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19788 (eval "$ac_compile") 2>conftest.er1
19789 ac_status=$?
19790 grep -v '^ *+' conftest.er1 >conftest.err
19791 rm -f conftest.er1
19792 cat conftest.err >&5
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); } && {
19795 test -z "$ac_c_werror_flag" ||
19796 test ! -s conftest.err
19797 } && test -s conftest.$ac_objext; then
19798 ac_cv_member_struct_option_name=yes
19799 else
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.$ac_ext >&5
19803 ac_cv_member_struct_option_name=no
19806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19811 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19812 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19813 if test $ac_cv_member_struct_option_name = yes; then
19815 cat >>confdefs.h <<_ACEOF
19816 #define HAVE_STRUCT_OPTION_NAME 1
19817 _ACEOF
19823 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19824 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19825 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 else
19828 cat >conftest.$ac_ext <<_ACEOF
19829 /* confdefs.h. */
19830 _ACEOF
19831 cat confdefs.h >>conftest.$ac_ext
19832 cat >>conftest.$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 $ac_includes_default
19836 main ()
19838 static struct stat ac_aggr;
19839 if (ac_aggr.st_blocks)
19840 return 0;
19842 return 0;
19844 _ACEOF
19845 rm -f conftest.$ac_objext
19846 if { (ac_try="$ac_compile"
19847 case "(($ac_try" in
19848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19849 *) ac_try_echo=$ac_try;;
19850 esac
19851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19852 (eval "$ac_compile") 2>conftest.er1
19853 ac_status=$?
19854 grep -v '^ *+' conftest.er1 >conftest.err
19855 rm -f conftest.er1
19856 cat conftest.err >&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } && {
19859 test -z "$ac_c_werror_flag" ||
19860 test ! -s conftest.err
19861 } && test -s conftest.$ac_objext; then
19862 ac_cv_member_struct_stat_st_blocks=yes
19863 else
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19867 cat >conftest.$ac_ext <<_ACEOF
19868 /* confdefs.h. */
19869 _ACEOF
19870 cat confdefs.h >>conftest.$ac_ext
19871 cat >>conftest.$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873 $ac_includes_default
19875 main ()
19877 static struct stat ac_aggr;
19878 if (sizeof ac_aggr.st_blocks)
19879 return 0;
19881 return 0;
19883 _ACEOF
19884 rm -f conftest.$ac_objext
19885 if { (ac_try="$ac_compile"
19886 case "(($ac_try" in
19887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19888 *) ac_try_echo=$ac_try;;
19889 esac
19890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19891 (eval "$ac_compile") 2>conftest.er1
19892 ac_status=$?
19893 grep -v '^ *+' conftest.er1 >conftest.err
19894 rm -f conftest.er1
19895 cat conftest.err >&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); } && {
19898 test -z "$ac_c_werror_flag" ||
19899 test ! -s conftest.err
19900 } && test -s conftest.$ac_objext; then
19901 ac_cv_member_struct_stat_st_blocks=yes
19902 else
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19906 ac_cv_member_struct_stat_st_blocks=no
19909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19914 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19915 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19916 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19918 cat >>confdefs.h <<_ACEOF
19919 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19920 _ACEOF
19926 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19927 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19928 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19930 else
19931 cat >conftest.$ac_ext <<_ACEOF
19932 /* confdefs.h. */
19933 _ACEOF
19934 cat confdefs.h >>conftest.$ac_ext
19935 cat >>conftest.$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19937 #ifdef HAVE_SYS_TYPES_H
19938 #include <sys/types.h>
19939 #endif
19940 #ifdef HAVE_NETINET_IN_H
19941 #include <netinet/in.h>
19942 #endif
19945 main ()
19947 static struct sockaddr_in6 ac_aggr;
19948 if (ac_aggr.sin6_scope_id)
19949 return 0;
19951 return 0;
19953 _ACEOF
19954 rm -f conftest.$ac_objext
19955 if { (ac_try="$ac_compile"
19956 case "(($ac_try" in
19957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19958 *) ac_try_echo=$ac_try;;
19959 esac
19960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_compile") 2>conftest.er1
19962 ac_status=$?
19963 grep -v '^ *+' conftest.er1 >conftest.err
19964 rm -f conftest.er1
19965 cat conftest.err >&5
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); } && {
19968 test -z "$ac_c_werror_flag" ||
19969 test ! -s conftest.err
19970 } && test -s conftest.$ac_objext; then
19971 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19972 else
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.$ac_ext >&5
19976 cat >conftest.$ac_ext <<_ACEOF
19977 /* confdefs.h. */
19978 _ACEOF
19979 cat confdefs.h >>conftest.$ac_ext
19980 cat >>conftest.$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19982 #ifdef HAVE_SYS_TYPES_H
19983 #include <sys/types.h>
19984 #endif
19985 #ifdef HAVE_NETINET_IN_H
19986 #include <netinet/in.h>
19987 #endif
19990 main ()
19992 static struct sockaddr_in6 ac_aggr;
19993 if (sizeof ac_aggr.sin6_scope_id)
19994 return 0;
19996 return 0;
19998 _ACEOF
19999 rm -f conftest.$ac_objext
20000 if { (ac_try="$ac_compile"
20001 case "(($ac_try" in
20002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20003 *) ac_try_echo=$ac_try;;
20004 esac
20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_compile") 2>conftest.er1
20007 ac_status=$?
20008 grep -v '^ *+' conftest.er1 >conftest.err
20009 rm -f conftest.er1
20010 cat conftest.err >&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } && {
20013 test -z "$ac_c_werror_flag" ||
20014 test ! -s conftest.err
20015 } && test -s conftest.$ac_objext; then
20016 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20017 else
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20021 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20030 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20031 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20033 cat >>confdefs.h <<_ACEOF
20034 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20035 _ACEOF
20041 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20042 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20043 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 else
20046 cat >conftest.$ac_ext <<_ACEOF
20047 /* confdefs.h. */
20048 _ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h. */
20052 #ifdef HAVE_SYS_TYPES_H
20053 #include <sys/types.h>
20054 #endif
20055 #ifdef HAVE_NETINET_IN_H
20056 # include <netinet/in.h>
20057 #endif
20058 #ifdef HAVE_ARPA_NAMESER_H
20059 # include <arpa/nameser.h>
20060 #endif
20063 main ()
20065 static ns_msg ac_aggr;
20066 if (ac_aggr._msg_ptr)
20067 return 0;
20069 return 0;
20071 _ACEOF
20072 rm -f conftest.$ac_objext
20073 if { (ac_try="$ac_compile"
20074 case "(($ac_try" in
20075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20076 *) ac_try_echo=$ac_try;;
20077 esac
20078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20079 (eval "$ac_compile") 2>conftest.er1
20080 ac_status=$?
20081 grep -v '^ *+' conftest.er1 >conftest.err
20082 rm -f conftest.er1
20083 cat conftest.err >&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } && {
20086 test -z "$ac_c_werror_flag" ||
20087 test ! -s conftest.err
20088 } && test -s conftest.$ac_objext; then
20089 ac_cv_member_ns_msg__msg_ptr=yes
20090 else
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5
20094 cat >conftest.$ac_ext <<_ACEOF
20095 /* confdefs.h. */
20096 _ACEOF
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 #ifdef HAVE_SYS_TYPES_H
20101 #include <sys/types.h>
20102 #endif
20103 #ifdef HAVE_NETINET_IN_H
20104 # include <netinet/in.h>
20105 #endif
20106 #ifdef HAVE_ARPA_NAMESER_H
20107 # include <arpa/nameser.h>
20108 #endif
20111 main ()
20113 static ns_msg ac_aggr;
20114 if (sizeof ac_aggr._msg_ptr)
20115 return 0;
20117 return 0;
20119 _ACEOF
20120 rm -f conftest.$ac_objext
20121 if { (ac_try="$ac_compile"
20122 case "(($ac_try" in
20123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20124 *) ac_try_echo=$ac_try;;
20125 esac
20126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20127 (eval "$ac_compile") 2>conftest.er1
20128 ac_status=$?
20129 grep -v '^ *+' conftest.er1 >conftest.err
20130 rm -f conftest.er1
20131 cat conftest.err >&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); } && {
20134 test -z "$ac_c_werror_flag" ||
20135 test ! -s conftest.err
20136 } && test -s conftest.$ac_objext; then
20137 ac_cv_member_ns_msg__msg_ptr=yes
20138 else
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.$ac_ext >&5
20142 ac_cv_member_ns_msg__msg_ptr=no
20145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20150 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20151 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20152 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20154 cat >>confdefs.h <<_ACEOF
20155 #define HAVE_NS_MSG__MSG_PTR 1
20156 _ACEOF
20162 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20163 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20164 if test "${ac_cv_have_timezone+set}" = set; then
20165 echo $ECHO_N "(cached) $ECHO_C" >&6
20166 else
20167 cat >conftest.$ac_ext <<_ACEOF
20168 /* confdefs.h. */
20169 _ACEOF
20170 cat confdefs.h >>conftest.$ac_ext
20171 cat >>conftest.$ac_ext <<_ACEOF
20172 /* end confdefs.h. */
20173 #include <time.h>
20175 main ()
20177 timezone = 1
20179 return 0;
20181 _ACEOF
20182 rm -f conftest.$ac_objext conftest$ac_exeext
20183 if { (ac_try="$ac_link"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20187 esac
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_link") 2>conftest.er1
20190 ac_status=$?
20191 grep -v '^ *+' conftest.er1 >conftest.err
20192 rm -f conftest.er1
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } && {
20196 test -z "$ac_c_werror_flag" ||
20197 test ! -s conftest.err
20198 } && test -s conftest$ac_exeext &&
20199 $as_test_x conftest$ac_exeext; then
20200 ac_cv_have_timezone="yes"
20201 else
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.$ac_ext >&5
20205 ac_cv_have_timezone="no"
20208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20209 conftest$ac_exeext conftest.$ac_ext
20211 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20212 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20213 if test "$ac_cv_have_timezone" = "yes"
20214 then
20216 cat >>confdefs.h <<\_ACEOF
20217 #define HAVE_TIMEZONE 1
20218 _ACEOF
20221 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20222 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20223 if test "${ac_cv_have_daylight+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20225 else
20226 cat >conftest.$ac_ext <<_ACEOF
20227 /* confdefs.h. */
20228 _ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 #include <time.h>
20234 main ()
20236 daylight = 1
20238 return 0;
20240 _ACEOF
20241 rm -f conftest.$ac_objext conftest$ac_exeext
20242 if { (ac_try="$ac_link"
20243 case "(($ac_try" in
20244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20245 *) ac_try_echo=$ac_try;;
20246 esac
20247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20248 (eval "$ac_link") 2>conftest.er1
20249 ac_status=$?
20250 grep -v '^ *+' conftest.er1 >conftest.err
20251 rm -f conftest.er1
20252 cat conftest.err >&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); } && {
20255 test -z "$ac_c_werror_flag" ||
20256 test ! -s conftest.err
20257 } && test -s conftest$ac_exeext &&
20258 $as_test_x conftest$ac_exeext; then
20259 ac_cv_have_daylight="yes"
20260 else
20261 echo "$as_me: failed program was:" >&5
20262 sed 's/^/| /' conftest.$ac_ext >&5
20264 ac_cv_have_daylight="no"
20267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20268 conftest$ac_exeext conftest.$ac_ext
20270 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20271 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20272 if test "$ac_cv_have_daylight" = "yes"
20273 then
20275 cat >>confdefs.h <<\_ACEOF
20276 #define HAVE_DAYLIGHT 1
20277 _ACEOF
20282 case $host_cpu in
20283 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20284 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20285 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20286 echo $ECHO_N "(cached) $ECHO_C" >&6
20287 else
20288 cat >conftest.$ac_ext <<_ACEOF
20289 /* confdefs.h. */
20290 _ACEOF
20291 cat confdefs.h >>conftest.$ac_ext
20292 cat >>conftest.$ac_ext <<_ACEOF
20293 /* end confdefs.h. */
20294 #ifndef __i386__
20296 #endif
20297 _ACEOF
20298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20299 $EGREP "yes" >/dev/null 2>&1; then
20300 ac_cv_cpp_def___i386__=yes
20301 else
20302 ac_cv_cpp_def___i386__=no
20304 rm -f conftest*
20307 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20308 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20309 if test $ac_cv_cpp_def___i386__ = yes; then
20310 CFLAGS="$CFLAGS -D__i386__"
20311 LINTFLAGS="$LINTFLAGS -D__i386__"
20314 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20315 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20316 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20317 echo $ECHO_N "(cached) $ECHO_C" >&6
20318 else
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 #ifndef __x86_64__
20327 #endif
20328 _ACEOF
20329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20330 $EGREP "yes" >/dev/null 2>&1; then
20331 ac_cv_cpp_def___x86_64__=yes
20332 else
20333 ac_cv_cpp_def___x86_64__=no
20335 rm -f conftest*
20338 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20339 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20340 if test $ac_cv_cpp_def___x86_64__ = yes; then
20341 CFLAGS="$CFLAGS -D__x86_64__"
20342 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20345 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20346 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20347 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20348 echo $ECHO_N "(cached) $ECHO_C" >&6
20349 else
20350 cat >conftest.$ac_ext <<_ACEOF
20351 /* confdefs.h. */
20352 _ACEOF
20353 cat confdefs.h >>conftest.$ac_ext
20354 cat >>conftest.$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20356 #ifndef __ALPHA__
20358 #endif
20359 _ACEOF
20360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20361 $EGREP "yes" >/dev/null 2>&1; then
20362 ac_cv_cpp_def___ALPHA__=yes
20363 else
20364 ac_cv_cpp_def___ALPHA__=no
20366 rm -f conftest*
20369 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20370 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20371 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20372 CFLAGS="$CFLAGS -D__ALPHA__"
20373 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20376 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20377 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20378 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20379 echo $ECHO_N "(cached) $ECHO_C" >&6
20380 else
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 #ifndef __sparc__
20389 #endif
20390 _ACEOF
20391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20392 $EGREP "yes" >/dev/null 2>&1; then
20393 ac_cv_cpp_def___sparc__=yes
20394 else
20395 ac_cv_cpp_def___sparc__=no
20397 rm -f conftest*
20400 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20401 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20402 if test $ac_cv_cpp_def___sparc__ = yes; then
20403 CFLAGS="$CFLAGS -D__sparc__"
20404 LINTFLAGS="$LINTFLAGS -D__sparc__"
20407 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20408 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20409 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20410 echo $ECHO_N "(cached) $ECHO_C" >&6
20411 else
20412 cat >conftest.$ac_ext <<_ACEOF
20413 /* confdefs.h. */
20414 _ACEOF
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 #ifndef __powerpc__
20420 #endif
20421 _ACEOF
20422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20423 $EGREP "yes" >/dev/null 2>&1; then
20424 ac_cv_cpp_def___powerpc__=yes
20425 else
20426 ac_cv_cpp_def___powerpc__=no
20428 rm -f conftest*
20431 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20432 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20433 if test $ac_cv_cpp_def___powerpc__ = yes; then
20434 CFLAGS="$CFLAGS -D__powerpc__"
20435 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20438 esac
20440 case $host_vendor in
20441 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20442 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20443 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20444 echo $ECHO_N "(cached) $ECHO_C" >&6
20445 else
20446 cat >conftest.$ac_ext <<_ACEOF
20447 /* confdefs.h. */
20448 _ACEOF
20449 cat confdefs.h >>conftest.$ac_ext
20450 cat >>conftest.$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 #ifndef __sun__
20454 #endif
20455 _ACEOF
20456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20457 $EGREP "yes" >/dev/null 2>&1; then
20458 ac_cv_cpp_def___sun__=yes
20459 else
20460 ac_cv_cpp_def___sun__=no
20462 rm -f conftest*
20465 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20466 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20467 if test $ac_cv_cpp_def___sun__ = yes; then
20468 CFLAGS="$CFLAGS -D__sun__"
20469 LINTFLAGS="$LINTFLAGS -D__sun__"
20472 esac
20475 DEPENDENCIES="### Dependencies:
20477 .INIT: Makefile
20478 .BEGIN: Makefile
20479 Makefile: dummy
20480 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20482 \$(OBJS): \$(IDL_GEN_HEADERS)
20483 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20484 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20485 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20491 ac_config_commands="$ac_config_commands include/stamp-h"
20494 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20496 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20498 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20500 ac_config_commands="$ac_config_commands dlls/user32/resources"
20502 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20504 ac_config_commands="$ac_config_commands include/wine"
20507 MAKE_RULES=Make.rules
20510 MAKE_DLL_RULES=dlls/Makedll.rules
20513 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20516 MAKE_TEST_RULES=dlls/Maketest.rules
20519 MAKE_PROG_RULES=programs/Makeprog.rules
20522 ac_config_files="$ac_config_files Make.rules"
20524 ac_config_files="$ac_config_files dlls/Makedll.rules"
20526 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20528 ac_config_files="$ac_config_files dlls/Maketest.rules"
20530 ac_config_files="$ac_config_files programs/Makeprog.rules"
20532 ac_config_files="$ac_config_files Makefile"
20534 ac_config_files="$ac_config_files dlls/Makefile"
20536 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20538 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20540 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20542 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20544 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20546 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20548 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20550 ac_config_files="$ac_config_files dlls/atl/Makefile"
20552 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20554 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20556 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20558 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20560 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20562 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20564 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20566 ac_config_files="$ac_config_files dlls/cards/Makefile"
20568 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20570 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20572 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20574 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20576 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20578 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20580 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20582 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20584 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20586 ac_config_files="$ac_config_files dlls/credui/Makefile"
20588 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
20590 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20592 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20594 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20596 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20598 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20600 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20602 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
20604 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20606 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20608 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20610 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20612 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20614 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20616 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20618 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20620 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20622 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20624 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20626 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20628 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20630 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20632 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20634 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20636 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20638 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20640 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20642 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20646 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20648 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20650 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20652 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20654 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20656 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20658 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20660 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20662 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20664 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20666 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20668 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20670 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20672 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20674 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20676 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20678 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20680 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20682 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20684 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20686 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20688 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20690 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20692 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20694 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20696 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20698 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20700 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20702 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20704 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20706 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20708 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20710 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20712 ac_config_files="$ac_config_files dlls/hal/Makefile"
20714 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20716 ac_config_files="$ac_config_files dlls/hid/Makefile"
20718 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20720 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20722 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20724 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20726 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20728 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20730 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20732 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20734 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20736 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
20738 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
20740 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20742 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20744 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20746 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20748 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20750 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20752 ac_config_files="$ac_config_files dlls/itss/Makefile"
20754 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20756 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20758 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20760 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20762 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20764 ac_config_files="$ac_config_files dlls/localui/Makefile"
20766 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20768 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20770 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20772 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20774 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20776 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20778 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20780 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20782 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20784 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20786 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20788 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20790 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20792 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20794 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20796 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20798 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20800 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20802 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20804 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20806 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
20808 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20810 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20812 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20814 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20816 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20818 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20820 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20822 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20824 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20826 ac_config_files="$ac_config_files dlls/msi/Makefile"
20828 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20830 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20832 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20834 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20836 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20838 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20840 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20842 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20844 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20846 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20848 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20850 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20852 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20854 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20856 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20858 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20860 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20862 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20864 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20866 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20868 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20870 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20872 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20874 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20876 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20878 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20880 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20882 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20884 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20886 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20888 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20890 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20892 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20894 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20896 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20898 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20900 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20902 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20904 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20906 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20908 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20910 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20912 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20914 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20916 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20918 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20920 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20922 ac_config_files="$ac_config_files dlls/printui/Makefile"
20924 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20926 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20928 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20930 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20932 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
20934 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20936 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20938 ac_config_files="$ac_config_files dlls/query/Makefile"
20940 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20942 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20944 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20946 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20948 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20950 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
20952 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20954 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20956 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20958 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20960 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20962 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20964 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20966 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20968 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20970 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20972 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20974 ac_config_files="$ac_config_files dlls/security/Makefile"
20976 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20978 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20980 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20982 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20984 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20986 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20988 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20990 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20992 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20994 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20996 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20998 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21000 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21002 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21004 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21006 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21008 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21010 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21012 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21014 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21016 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21018 ac_config_files="$ac_config_files dlls/sti/Makefile"
21020 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21022 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21024 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21026 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21028 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21030 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21032 ac_config_files="$ac_config_files dlls/url/Makefile"
21034 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21036 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21038 ac_config_files="$ac_config_files dlls/user32/Makefile"
21040 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21042 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21044 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21046 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21048 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21050 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21052 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21054 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21056 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21058 ac_config_files="$ac_config_files dlls/version/Makefile"
21060 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21062 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21064 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21066 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21068 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21070 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21072 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21074 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21076 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21078 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21080 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21082 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21084 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21086 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21088 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21090 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21092 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21094 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21096 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21098 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21100 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21102 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21104 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21106 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21108 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21110 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21112 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21114 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21116 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21118 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21120 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21122 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21124 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21126 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21128 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21130 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21132 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21134 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21136 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21138 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21140 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21142 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21144 ac_config_files="$ac_config_files documentation/Makefile"
21146 ac_config_files="$ac_config_files fonts/Makefile"
21148 ac_config_files="$ac_config_files include/Makefile"
21150 ac_config_files="$ac_config_files libs/Makefile"
21152 ac_config_files="$ac_config_files libs/port/Makefile"
21154 ac_config_files="$ac_config_files libs/wine/Makefile"
21156 ac_config_files="$ac_config_files libs/wpp/Makefile"
21158 ac_config_files="$ac_config_files loader/Makefile"
21160 ac_config_files="$ac_config_files programs/Makefile"
21162 ac_config_files="$ac_config_files programs/clock/Makefile"
21164 ac_config_files="$ac_config_files programs/cmd/Makefile"
21166 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21168 ac_config_files="$ac_config_files programs/control/Makefile"
21170 ac_config_files="$ac_config_files programs/eject/Makefile"
21172 ac_config_files="$ac_config_files programs/expand/Makefile"
21174 ac_config_files="$ac_config_files programs/explorer/Makefile"
21176 ac_config_files="$ac_config_files programs/hh/Makefile"
21178 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21180 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21182 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21184 ac_config_files="$ac_config_files programs/net/Makefile"
21186 ac_config_files="$ac_config_files programs/notepad/Makefile"
21188 ac_config_files="$ac_config_files programs/oleview/Makefile"
21190 ac_config_files="$ac_config_files programs/progman/Makefile"
21192 ac_config_files="$ac_config_files programs/regedit/Makefile"
21194 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21196 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21198 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21200 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21202 ac_config_files="$ac_config_files programs/start/Makefile"
21204 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21206 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21208 ac_config_files="$ac_config_files programs/view/Makefile"
21210 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21212 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21214 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21216 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21218 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21220 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21222 ac_config_files="$ac_config_files programs/winefile/Makefile"
21224 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21226 ac_config_files="$ac_config_files programs/winemine/Makefile"
21228 ac_config_files="$ac_config_files programs/winepath/Makefile"
21230 ac_config_files="$ac_config_files programs/winetest/Makefile"
21232 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21234 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21236 ac_config_files="$ac_config_files programs/winver/Makefile"
21238 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21240 ac_config_files="$ac_config_files programs/write/Makefile"
21242 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21244 ac_config_files="$ac_config_files server/Makefile"
21246 ac_config_files="$ac_config_files tools/Makefile"
21248 ac_config_files="$ac_config_files tools/widl/Makefile"
21250 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21252 ac_config_files="$ac_config_files tools/winedump/Makefile"
21254 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21256 ac_config_files="$ac_config_files tools/wmc/Makefile"
21258 ac_config_files="$ac_config_files tools/wrc/Makefile"
21261 cat >confcache <<\_ACEOF
21262 # This file is a shell script that caches the results of configure
21263 # tests run on this system so they can be shared between configure
21264 # scripts and configure runs, see configure's option --config-cache.
21265 # It is not useful on other systems. If it contains results you don't
21266 # want to keep, you may remove or edit it.
21268 # config.status only pays attention to the cache file if you give it
21269 # the --recheck option to rerun configure.
21271 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21272 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21273 # following values.
21275 _ACEOF
21277 # The following way of writing the cache mishandles newlines in values,
21278 # but we know of no workaround that is simple, portable, and efficient.
21279 # So, we kill variables containing newlines.
21280 # Ultrix sh set writes to stderr and can't be redirected directly,
21281 # and sets the high bit in the cache file unless we assign to the vars.
21283 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21284 eval ac_val=\$$ac_var
21285 case $ac_val in #(
21286 *${as_nl}*)
21287 case $ac_var in #(
21288 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21289 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21290 esac
21291 case $ac_var in #(
21292 _ | IFS | as_nl) ;; #(
21293 *) $as_unset $ac_var ;;
21294 esac ;;
21295 esac
21296 done
21298 (set) 2>&1 |
21299 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21300 *${as_nl}ac_space=\ *)
21301 # `set' does not quote correctly, so add quotes (double-quote
21302 # substitution turns \\\\ into \\, and sed turns \\ into \).
21303 sed -n \
21304 "s/'/'\\\\''/g;
21305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21306 ;; #(
21308 # `set' quotes correctly as required by POSIX, so do not add quotes.
21309 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21311 esac |
21312 sort
21314 sed '
21315 /^ac_cv_env_/b end
21316 t clear
21317 :clear
21318 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21319 t end
21320 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21321 :end' >>confcache
21322 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21323 if test -w "$cache_file"; then
21324 test "x$cache_file" != "x/dev/null" &&
21325 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21326 echo "$as_me: updating cache $cache_file" >&6;}
21327 cat confcache >$cache_file
21328 else
21329 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21330 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21333 rm -f confcache
21335 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21336 # Let make expand exec_prefix.
21337 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21339 DEFS=-DHAVE_CONFIG_H
21341 ac_libobjs=
21342 ac_ltlibobjs=
21343 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21344 # 1. Remove the extension, and $U if already installed.
21345 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21346 ac_i=`echo "$ac_i" | sed "$ac_script"`
21347 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21348 # will be set to the directory where LIBOBJS objects are built.
21349 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21350 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21351 done
21352 LIBOBJS=$ac_libobjs
21354 LTLIBOBJS=$ac_ltlibobjs
21358 : ${CONFIG_STATUS=./config.status}
21359 ac_clean_files_save=$ac_clean_files
21360 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21361 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21362 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21363 cat >$CONFIG_STATUS <<_ACEOF
21364 #! $SHELL
21365 # Generated by $as_me.
21366 # Run this file to recreate the current configuration.
21367 # Compiler output produced by configure, useful for debugging
21368 # configure, is in config.log if it exists.
21370 debug=false
21371 ac_cs_recheck=false
21372 ac_cs_silent=false
21373 SHELL=\${CONFIG_SHELL-$SHELL}
21374 _ACEOF
21376 cat >>$CONFIG_STATUS <<\_ACEOF
21377 ## --------------------- ##
21378 ## M4sh Initialization. ##
21379 ## --------------------- ##
21381 # Be more Bourne compatible
21382 DUALCASE=1; export DUALCASE # for MKS sh
21383 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21384 emulate sh
21385 NULLCMD=:
21386 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21387 # is contrary to our usage. Disable this feature.
21388 alias -g '${1+"$@"}'='"$@"'
21389 setopt NO_GLOB_SUBST
21390 else
21391 case `(set -o) 2>/dev/null` in
21392 *posix*) set -o posix ;;
21393 esac
21400 # PATH needs CR
21401 # Avoid depending upon Character Ranges.
21402 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21403 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21404 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21405 as_cr_digits='0123456789'
21406 as_cr_alnum=$as_cr_Letters$as_cr_digits
21408 # The user is always right.
21409 if test "${PATH_SEPARATOR+set}" != set; then
21410 echo "#! /bin/sh" >conf$$.sh
21411 echo "exit 0" >>conf$$.sh
21412 chmod +x conf$$.sh
21413 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21414 PATH_SEPARATOR=';'
21415 else
21416 PATH_SEPARATOR=:
21418 rm -f conf$$.sh
21421 # Support unset when possible.
21422 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21423 as_unset=unset
21424 else
21425 as_unset=false
21429 # IFS
21430 # We need space, tab and new line, in precisely that order. Quoting is
21431 # there to prevent editors from complaining about space-tab.
21432 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21433 # splitting by setting IFS to empty value.)
21434 as_nl='
21436 IFS=" "" $as_nl"
21438 # Find who we are. Look in the path if we contain no directory separator.
21439 case $0 in
21440 *[\\/]* ) as_myself=$0 ;;
21441 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21442 for as_dir in $PATH
21444 IFS=$as_save_IFS
21445 test -z "$as_dir" && as_dir=.
21446 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21447 done
21448 IFS=$as_save_IFS
21451 esac
21452 # We did not find ourselves, most probably we were run as `sh COMMAND'
21453 # in which case we are not to be found in the path.
21454 if test "x$as_myself" = x; then
21455 as_myself=$0
21457 if test ! -f "$as_myself"; then
21458 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21459 { (exit 1); exit 1; }
21462 # Work around bugs in pre-3.0 UWIN ksh.
21463 for as_var in ENV MAIL MAILPATH
21464 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21465 done
21466 PS1='$ '
21467 PS2='> '
21468 PS4='+ '
21470 # NLS nuisances.
21471 for as_var in \
21472 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21473 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21474 LC_TELEPHONE LC_TIME
21476 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21477 eval $as_var=C; export $as_var
21478 else
21479 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21481 done
21483 # Required to use basename.
21484 if expr a : '\(a\)' >/dev/null 2>&1 &&
21485 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21486 as_expr=expr
21487 else
21488 as_expr=false
21491 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21492 as_basename=basename
21493 else
21494 as_basename=false
21498 # Name of the executable.
21499 as_me=`$as_basename -- "$0" ||
21500 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21501 X"$0" : 'X\(//\)$' \| \
21502 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21503 echo X/"$0" |
21504 sed '/^.*\/\([^/][^/]*\)\/*$/{
21505 s//\1/
21508 /^X\/\(\/\/\)$/{
21509 s//\1/
21512 /^X\/\(\/\).*/{
21513 s//\1/
21516 s/.*/./; q'`
21518 # CDPATH.
21519 $as_unset CDPATH
21523 as_lineno_1=$LINENO
21524 as_lineno_2=$LINENO
21525 test "x$as_lineno_1" != "x$as_lineno_2" &&
21526 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21528 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21529 # uniformly replaced by the line number. The first 'sed' inserts a
21530 # line-number line after each line using $LINENO; the second 'sed'
21531 # does the real work. The second script uses 'N' to pair each
21532 # line-number line with the line containing $LINENO, and appends
21533 # trailing '-' during substitution so that $LINENO is not a special
21534 # case at line end.
21535 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21536 # scripts with optimization help from Paolo Bonzini. Blame Lee
21537 # E. McMahon (1931-1989) for sed's syntax. :-)
21538 sed -n '
21540 /[$]LINENO/=
21541 ' <$as_myself |
21542 sed '
21543 s/[$]LINENO.*/&-/
21544 t lineno
21546 :lineno
21548 :loop
21549 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21550 t loop
21551 s/-\n.*//
21552 ' >$as_me.lineno &&
21553 chmod +x "$as_me.lineno" ||
21554 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21555 { (exit 1); exit 1; }; }
21557 # Don't try to exec as it changes $[0], causing all sort of problems
21558 # (the dirname of $[0] is not the place where we might find the
21559 # original and so on. Autoconf is especially sensitive to this).
21560 . "./$as_me.lineno"
21561 # Exit status is that of the last command.
21562 exit
21566 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21567 as_dirname=dirname
21568 else
21569 as_dirname=false
21572 ECHO_C= ECHO_N= ECHO_T=
21573 case `echo -n x` in
21574 -n*)
21575 case `echo 'x\c'` in
21576 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21577 *) ECHO_C='\c';;
21578 esac;;
21580 ECHO_N='-n';;
21581 esac
21583 if expr a : '\(a\)' >/dev/null 2>&1 &&
21584 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21585 as_expr=expr
21586 else
21587 as_expr=false
21590 rm -f conf$$ conf$$.exe conf$$.file
21591 if test -d conf$$.dir; then
21592 rm -f conf$$.dir/conf$$.file
21593 else
21594 rm -f conf$$.dir
21595 mkdir conf$$.dir
21597 echo >conf$$.file
21598 if ln -s conf$$.file conf$$ 2>/dev/null; then
21599 as_ln_s='ln -s'
21600 # ... but there are two gotchas:
21601 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21602 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21603 # In both cases, we have to default to `cp -p'.
21604 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21605 as_ln_s='cp -p'
21606 elif ln conf$$.file conf$$ 2>/dev/null; then
21607 as_ln_s=ln
21608 else
21609 as_ln_s='cp -p'
21611 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21612 rmdir conf$$.dir 2>/dev/null
21614 if mkdir -p . 2>/dev/null; then
21615 as_mkdir_p=:
21616 else
21617 test -d ./-p && rmdir ./-p
21618 as_mkdir_p=false
21621 if test -x / >/dev/null 2>&1; then
21622 as_test_x='test -x'
21623 else
21624 if ls -dL / >/dev/null 2>&1; then
21625 as_ls_L_option=L
21626 else
21627 as_ls_L_option=
21629 as_test_x='
21630 eval sh -c '\''
21631 if test -d "$1"; then
21632 test -d "$1/.";
21633 else
21634 case $1 in
21635 -*)set "./$1";;
21636 esac;
21637 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21638 ???[sx]*):;;*)false;;esac;fi
21639 '\'' sh
21642 as_executable_p=$as_test_x
21644 # Sed expression to map a string onto a valid CPP name.
21645 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21647 # Sed expression to map a string onto a valid variable name.
21648 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21651 exec 6>&1
21653 # Save the log message, to keep $[0] and so on meaningful, and to
21654 # report actual input values of CONFIG_FILES etc. instead of their
21655 # values after options handling.
21656 ac_log="
21657 This file was extended by Wine $as_me 0.9.48, which was
21658 generated by GNU Autoconf 2.61. Invocation command line was
21660 CONFIG_FILES = $CONFIG_FILES
21661 CONFIG_HEADERS = $CONFIG_HEADERS
21662 CONFIG_LINKS = $CONFIG_LINKS
21663 CONFIG_COMMANDS = $CONFIG_COMMANDS
21664 $ $0 $@
21666 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21669 _ACEOF
21671 cat >>$CONFIG_STATUS <<_ACEOF
21672 # Files that config.status was made for.
21673 config_files="$ac_config_files"
21674 config_headers="$ac_config_headers"
21675 config_commands="$ac_config_commands"
21677 _ACEOF
21679 cat >>$CONFIG_STATUS <<\_ACEOF
21680 ac_cs_usage="\
21681 \`$as_me' instantiates files from templates according to the
21682 current configuration.
21684 Usage: $0 [OPTIONS] [FILE]...
21686 -h, --help print this help, then exit
21687 -V, --version print version number and configuration settings, then exit
21688 -q, --quiet do not print progress messages
21689 -d, --debug don't remove temporary files
21690 --recheck update $as_me by reconfiguring in the same conditions
21691 --file=FILE[:TEMPLATE]
21692 instantiate the configuration file FILE
21693 --header=FILE[:TEMPLATE]
21694 instantiate the configuration header FILE
21696 Configuration files:
21697 $config_files
21699 Configuration headers:
21700 $config_headers
21702 Configuration commands:
21703 $config_commands
21705 Report bugs to <bug-autoconf@gnu.org>."
21707 _ACEOF
21708 cat >>$CONFIG_STATUS <<_ACEOF
21709 ac_cs_version="\\
21710 Wine config.status 0.9.48
21711 configured by $0, generated by GNU Autoconf 2.61,
21712 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21714 Copyright (C) 2006 Free Software Foundation, Inc.
21715 This config.status script is free software; the Free Software Foundation
21716 gives unlimited permission to copy, distribute and modify it."
21718 ac_pwd='$ac_pwd'
21719 srcdir='$srcdir'
21720 INSTALL='$INSTALL'
21721 _ACEOF
21723 cat >>$CONFIG_STATUS <<\_ACEOF
21724 # If no file are specified by the user, then we need to provide default
21725 # value. By we need to know if files were specified by the user.
21726 ac_need_defaults=:
21727 while test $# != 0
21729 case $1 in
21730 --*=*)
21731 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21732 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21733 ac_shift=:
21736 ac_option=$1
21737 ac_optarg=$2
21738 ac_shift=shift
21740 esac
21742 case $ac_option in
21743 # Handling of the options.
21744 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21745 ac_cs_recheck=: ;;
21746 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21747 echo "$ac_cs_version"; exit ;;
21748 --debug | --debu | --deb | --de | --d | -d )
21749 debug=: ;;
21750 --file | --fil | --fi | --f )
21751 $ac_shift
21752 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21753 ac_need_defaults=false;;
21754 --header | --heade | --head | --hea )
21755 $ac_shift
21756 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21757 ac_need_defaults=false;;
21758 --he | --h)
21759 # Conflict between --help and --header
21760 { echo "$as_me: error: ambiguous option: $1
21761 Try \`$0 --help' for more information." >&2
21762 { (exit 1); exit 1; }; };;
21763 --help | --hel | -h )
21764 echo "$ac_cs_usage"; exit ;;
21765 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21766 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21767 ac_cs_silent=: ;;
21769 # This is an error.
21770 -*) { echo "$as_me: error: unrecognized option: $1
21771 Try \`$0 --help' for more information." >&2
21772 { (exit 1); exit 1; }; } ;;
21774 *) ac_config_targets="$ac_config_targets $1"
21775 ac_need_defaults=false ;;
21777 esac
21778 shift
21779 done
21781 ac_configure_extra_args=
21783 if $ac_cs_silent; then
21784 exec 6>/dev/null
21785 ac_configure_extra_args="$ac_configure_extra_args --silent"
21788 _ACEOF
21789 cat >>$CONFIG_STATUS <<_ACEOF
21790 if \$ac_cs_recheck; then
21791 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21792 CONFIG_SHELL=$SHELL
21793 export CONFIG_SHELL
21794 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21797 _ACEOF
21798 cat >>$CONFIG_STATUS <<\_ACEOF
21799 exec 5>>config.log
21801 echo
21802 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21803 ## Running $as_me. ##
21804 _ASBOX
21805 echo "$ac_log"
21806 } >&5
21808 _ACEOF
21809 cat >>$CONFIG_STATUS <<_ACEOF
21810 _ACEOF
21812 cat >>$CONFIG_STATUS <<\_ACEOF
21814 # Handling of arguments.
21815 for ac_config_target in $ac_config_targets
21817 case $ac_config_target in
21818 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21819 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21820 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21821 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21822 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21823 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21824 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21825 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21826 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21827 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21828 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21829 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21830 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21831 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21832 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21833 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21834 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21835 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21836 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21837 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21838 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21839 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21840 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21841 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21842 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21843 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21844 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21845 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21846 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21847 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21848 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21849 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21850 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21851 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21852 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21853 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21854 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21855 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21856 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21857 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21858 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21859 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21860 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21861 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21862 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21863 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21864 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21865 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21866 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21867 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21868 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21869 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21870 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21871 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21872 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21873 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21874 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21875 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21876 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21877 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21878 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21879 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21880 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21881 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21882 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21883 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21884 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21885 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21886 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21887 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21888 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21889 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21890 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21891 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21892 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21893 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21894 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21895 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21896 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21897 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21898 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21899 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21900 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21901 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21902 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21903 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21904 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21905 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21906 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21907 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21908 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21909 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21910 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21911 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21912 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21913 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21914 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21915 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21916 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21917 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21918 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21919 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21920 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21921 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21922 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21923 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21924 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21925 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21926 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21927 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21928 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21929 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21930 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21931 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21932 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21933 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
21934 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
21935 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21936 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21937 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21938 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21939 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21940 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21941 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21942 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21943 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21944 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21945 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21946 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21947 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21948 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21949 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21950 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21951 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21952 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21953 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21954 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21955 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21956 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21957 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21958 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21959 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21960 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21961 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21962 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21963 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21964 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21965 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21966 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21967 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21968 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
21969 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21970 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21971 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21972 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21973 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21974 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21975 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21976 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21977 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21978 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21979 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21980 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21981 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
21982 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21983 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21984 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21985 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21986 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21987 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21988 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21989 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21990 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21991 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21992 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21993 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21994 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21995 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21996 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21997 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21998 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21999 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22000 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22001 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22002 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22003 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22004 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22005 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22006 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22007 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22008 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22009 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22010 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22011 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22012 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22013 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22014 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22015 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22016 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22017 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22018 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22019 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22020 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22021 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22022 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22023 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22024 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22025 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22026 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22027 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22028 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22029 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22030 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22031 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22032 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22033 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22034 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22035 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22036 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22037 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22038 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22039 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22040 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22041 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22042 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22043 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22044 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22045 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22046 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22047 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22048 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22049 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22050 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22051 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22052 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22053 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22054 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22055 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22056 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22057 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22058 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22059 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22060 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22061 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22062 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22063 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22064 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22065 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22066 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22067 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22068 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22069 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22070 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22071 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22072 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22073 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22074 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22075 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22076 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22077 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22078 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22079 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22080 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22081 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22082 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22083 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22084 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22085 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22086 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22087 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22088 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22089 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22090 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22091 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22092 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22093 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22094 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22095 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22096 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22097 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22098 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22099 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22100 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22101 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22102 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22103 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22104 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22105 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22106 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22107 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22108 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22109 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22110 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22111 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22112 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22113 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22114 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22115 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22116 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22117 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22118 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22119 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22120 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22121 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22122 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22123 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22124 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22125 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22126 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22127 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22128 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22129 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22130 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22131 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22132 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22133 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22134 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22135 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22136 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22137 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22138 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22139 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22140 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22141 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22142 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22143 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22144 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22145 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22146 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22147 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22148 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22149 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22150 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22151 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22152 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22153 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22154 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22155 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22156 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22157 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22158 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22159 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22160 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22161 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22162 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22163 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22164 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22165 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22166 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22167 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22168 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22169 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22170 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22171 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22172 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22173 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22174 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22175 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22176 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22177 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22178 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22179 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22180 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22181 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22182 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22183 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22184 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22185 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22186 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22187 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22188 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22189 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22190 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22191 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22192 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22193 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22194 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22196 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22197 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22198 { (exit 1); exit 1; }; };;
22199 esac
22200 done
22203 # If the user did not use the arguments to specify the items to instantiate,
22204 # then the envvar interface is used. Set only those that are not.
22205 # We use the long form for the default assignment because of an extremely
22206 # bizarre bug on SunOS 4.1.3.
22207 if $ac_need_defaults; then
22208 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22209 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22210 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22213 # Have a temporary directory for convenience. Make it in the build tree
22214 # simply because there is no reason against having it here, and in addition,
22215 # creating and moving files from /tmp can sometimes cause problems.
22216 # Hook for its removal unless debugging.
22217 # Note that there is a small window in which the directory will not be cleaned:
22218 # after its creation but before its name has been assigned to `$tmp'.
22219 $debug ||
22221 tmp=
22222 trap 'exit_status=$?
22223 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22225 trap '{ (exit 1); exit 1; }' 1 2 13 15
22227 # Create a (secure) tmp directory for tmp files.
22230 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22231 test -n "$tmp" && test -d "$tmp"
22232 } ||
22234 tmp=./conf$$-$RANDOM
22235 (umask 077 && mkdir "$tmp")
22236 } ||
22238 echo "$me: cannot create a temporary directory in ." >&2
22239 { (exit 1); exit 1; }
22243 # Set up the sed scripts for CONFIG_FILES section.
22246 # No need to generate the scripts if there are no CONFIG_FILES.
22247 # This happens for instance when ./config.status config.h
22248 if test -n "$CONFIG_FILES"; then
22250 _ACEOF
22252 # Create sed commands to just substitute file output variables.
22254 # Remaining file output variables are in a fragment that also has non-file
22255 # output varibles.
22259 ac_delim='%!_!# '
22260 for ac_last_try in false false false false false :; do
22261 cat >conf$$subs.sed <<_ACEOF
22262 SHELL!$SHELL$ac_delim
22263 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22264 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22265 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22266 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22267 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22268 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22269 exec_prefix!$exec_prefix$ac_delim
22270 prefix!$prefix$ac_delim
22271 program_transform_name!$program_transform_name$ac_delim
22272 bindir!$bindir$ac_delim
22273 sbindir!$sbindir$ac_delim
22274 libexecdir!$libexecdir$ac_delim
22275 datarootdir!$datarootdir$ac_delim
22276 datadir!$datadir$ac_delim
22277 sysconfdir!$sysconfdir$ac_delim
22278 sharedstatedir!$sharedstatedir$ac_delim
22279 localstatedir!$localstatedir$ac_delim
22280 includedir!$includedir$ac_delim
22281 oldincludedir!$oldincludedir$ac_delim
22282 docdir!$docdir$ac_delim
22283 infodir!$infodir$ac_delim
22284 htmldir!$htmldir$ac_delim
22285 dvidir!$dvidir$ac_delim
22286 pdfdir!$pdfdir$ac_delim
22287 psdir!$psdir$ac_delim
22288 libdir!$libdir$ac_delim
22289 localedir!$localedir$ac_delim
22290 mandir!$mandir$ac_delim
22291 DEFS!$DEFS$ac_delim
22292 ECHO_C!$ECHO_C$ac_delim
22293 ECHO_N!$ECHO_N$ac_delim
22294 ECHO_T!$ECHO_T$ac_delim
22295 LIBS!$LIBS$ac_delim
22296 build_alias!$build_alias$ac_delim
22297 host_alias!$host_alias$ac_delim
22298 target_alias!$target_alias$ac_delim
22299 build!$build$ac_delim
22300 build_cpu!$build_cpu$ac_delim
22301 build_vendor!$build_vendor$ac_delim
22302 build_os!$build_os$ac_delim
22303 host!$host$ac_delim
22304 host_cpu!$host_cpu$ac_delim
22305 host_vendor!$host_vendor$ac_delim
22306 host_os!$host_os$ac_delim
22307 WIN16_FILES!$WIN16_FILES$ac_delim
22308 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22309 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22310 WINETEST!$WINETEST$ac_delim
22311 SET_MAKE!$SET_MAKE$ac_delim
22312 CC!$CC$ac_delim
22313 CFLAGS!$CFLAGS$ac_delim
22314 LDFLAGS!$LDFLAGS$ac_delim
22315 CPPFLAGS!$CPPFLAGS$ac_delim
22316 ac_ct_CC!$ac_ct_CC$ac_delim
22317 EXEEXT!$EXEEXT$ac_delim
22318 OBJEXT!$OBJEXT$ac_delim
22319 CXX!$CXX$ac_delim
22320 CXXFLAGS!$CXXFLAGS$ac_delim
22321 ac_ct_CXX!$ac_ct_CXX$ac_delim
22322 CPPBIN!$CPPBIN$ac_delim
22323 TOOLSDIR!$TOOLSDIR$ac_delim
22324 XMKMF!$XMKMF$ac_delim
22325 CPP!$CPP$ac_delim
22326 X_CFLAGS!$X_CFLAGS$ac_delim
22327 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22328 X_LIBS!$X_LIBS$ac_delim
22329 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22330 FLEX!$FLEX$ac_delim
22331 BISON!$BISON$ac_delim
22332 AS!$AS$ac_delim
22333 ac_ct_AS!$ac_ct_AS$ac_delim
22334 LD!$LD$ac_delim
22335 AR!$AR$ac_delim
22336 RANLIB!$RANLIB$ac_delim
22337 STRIP!$STRIP$ac_delim
22338 WINDRES!$WINDRES$ac_delim
22339 LN_S!$LN_S$ac_delim
22340 LN!$LN$ac_delim
22341 GREP!$GREP$ac_delim
22342 EGREP!$EGREP$ac_delim
22343 LDCONFIG!$LDCONFIG$ac_delim
22344 _ACEOF
22346 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22347 break
22348 elif $ac_last_try; then
22349 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22350 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22351 { (exit 1); exit 1; }; }
22352 else
22353 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22355 done
22357 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22358 if test -n "$ac_eof"; then
22359 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22360 ac_eof=`expr $ac_eof + 1`
22363 cat >>$CONFIG_STATUS <<_ACEOF
22364 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22365 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22366 /^[ ]*@MAKE_RULES@[ ]*$/{
22367 r $MAKE_RULES
22370 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22371 r $MAKE_DLL_RULES
22374 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22375 r $MAKE_IMPLIB_RULES
22378 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22379 r $MAKE_TEST_RULES
22382 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22383 r $MAKE_PROG_RULES
22386 _ACEOF
22387 sed '
22388 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22389 s/^/s,@/; s/!/@,|#_!!_#|/
22392 s/'"$ac_delim"'$/,g/; t
22393 s/$/\\/; p
22394 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22395 ' >>$CONFIG_STATUS <conf$$subs.sed
22396 rm -f conf$$subs.sed
22397 cat >>$CONFIG_STATUS <<_ACEOF
22398 CEOF$ac_eof
22399 _ACEOF
22402 ac_delim='%!_!# '
22403 for ac_last_try in false false false false false :; do
22404 cat >conf$$subs.sed <<_ACEOF
22405 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22406 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22407 INSTALL_DATA!$INSTALL_DATA$ac_delim
22408 LINT!$LINT$ac_delim
22409 LINTFLAGS!$LINTFLAGS$ac_delim
22410 FONTFORGE!$FONTFORGE$ac_delim
22411 PKG_CONFIG!$PKG_CONFIG$ac_delim
22412 PRELINK!$PRELINK$ac_delim
22413 LIBPTHREAD!$LIBPTHREAD$ac_delim
22414 XLIB!$XLIB$ac_delim
22415 XFILES!$XFILES$ac_delim
22416 OPENGLFILES!$OPENGLFILES$ac_delim
22417 GLU32FILES!$GLU32FILES$ac_delim
22418 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22419 QUARTZFILES!$QUARTZFILES$ac_delim
22420 DLLEXT!$DLLEXT$ac_delim
22421 DLLFLAGS!$DLLFLAGS$ac_delim
22422 LDSHARED!$LDSHARED$ac_delim
22423 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22424 LIBEXT!$LIBEXT$ac_delim
22425 IMPLIBEXT!$IMPLIBEXT$ac_delim
22426 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22427 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22428 LDD!$LDD$ac_delim
22429 DLLTOOL!$DLLTOOL$ac_delim
22430 DLLWRAP!$DLLWRAP$ac_delim
22431 MINGWAR!$MINGWAR$ac_delim
22432 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22433 IOKITLIB!$IOKITLIB$ac_delim
22434 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22435 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22436 COREAUDIO!$COREAUDIO$ac_delim
22437 CARBONLIB!$CARBONLIB$ac_delim
22438 CROSSTEST!$CROSSTEST$ac_delim
22439 CROSSCC!$CROSSCC$ac_delim
22440 CROSSWINDRES!$CROSSWINDRES$ac_delim
22441 NASLIBS!$NASLIBS$ac_delim
22442 XML2LIBS!$XML2LIBS$ac_delim
22443 XML2INCL!$XML2INCL$ac_delim
22444 XSLTLIBS!$XSLTLIBS$ac_delim
22445 XSLTINCL!$XSLTINCL$ac_delim
22446 HALINCL!$HALINCL$ac_delim
22447 sane_devel!$sane_devel$ac_delim
22448 SANEINCL!$SANEINCL$ac_delim
22449 gphoto2_devel!$gphoto2_devel$ac_delim
22450 gphoto2port_devel!$gphoto2port_devel$ac_delim
22451 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22452 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22453 RESOLVLIBS!$RESOLVLIBS$ac_delim
22454 LCMSLIBS!$LCMSLIBS$ac_delim
22455 LDAPLIBS!$LDAPLIBS$ac_delim
22456 ft_devel!$ft_devel$ac_delim
22457 FREETYPELIBS!$FREETYPELIBS$ac_delim
22458 FREETYPEINCL!$FREETYPEINCL$ac_delim
22459 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22460 ESDCONFIG!$ESDCONFIG$ac_delim
22461 ESDLIBS!$ESDLIBS$ac_delim
22462 ESDINCL!$ESDINCL$ac_delim
22463 ALSALIBS!$ALSALIBS$ac_delim
22464 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22465 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22466 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22467 BUILTINFLAG!$BUILTINFLAG$ac_delim
22468 LDPATH!$LDPATH$ac_delim
22469 CRTLIBS!$CRTLIBS$ac_delim
22470 SOCKETLIBS!$SOCKETLIBS$ac_delim
22471 MAIN_BINARY!$MAIN_BINARY$ac_delim
22472 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22473 LIBDL!$LIBDL$ac_delim
22474 LIBPOLL!$LIBPOLL$ac_delim
22475 DEPENDENCIES!$DEPENDENCIES$ac_delim
22476 LIBOBJS!$LIBOBJS$ac_delim
22477 LTLIBOBJS!$LTLIBOBJS$ac_delim
22478 _ACEOF
22480 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22481 break
22482 elif $ac_last_try; then
22483 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22484 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22485 { (exit 1); exit 1; }; }
22486 else
22487 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22489 done
22491 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22492 if test -n "$ac_eof"; then
22493 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22494 ac_eof=`expr $ac_eof + 1`
22497 cat >>$CONFIG_STATUS <<_ACEOF
22498 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22499 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22500 _ACEOF
22501 sed '
22502 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22503 s/^/s,@/; s/!/@,|#_!!_#|/
22506 s/'"$ac_delim"'$/,g/; t
22507 s/$/\\/; p
22508 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22509 ' >>$CONFIG_STATUS <conf$$subs.sed
22510 rm -f conf$$subs.sed
22511 cat >>$CONFIG_STATUS <<_ACEOF
22512 :end
22513 s/|#_!!_#|//g
22514 CEOF$ac_eof
22515 _ACEOF
22518 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22519 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22520 # trailing colons and then remove the whole line if VPATH becomes empty
22521 # (actually we leave an empty line to preserve line numbers).
22522 if test "x$srcdir" = x.; then
22523 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22524 s/:*\$(srcdir):*/:/
22525 s/:*\${srcdir}:*/:/
22526 s/:*@srcdir@:*/:/
22527 s/^\([^=]*=[ ]*\):*/\1/
22528 s/:*$//
22529 s/^[^=]*=[ ]*$//
22533 cat >>$CONFIG_STATUS <<\_ACEOF
22534 fi # test -n "$CONFIG_FILES"
22537 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22539 case $ac_tag in
22540 :[FHLC]) ac_mode=$ac_tag; continue;;
22541 esac
22542 case $ac_mode$ac_tag in
22543 :[FHL]*:*);;
22544 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22545 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22546 { (exit 1); exit 1; }; };;
22547 :[FH]-) ac_tag=-:-;;
22548 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22549 esac
22550 ac_save_IFS=$IFS
22551 IFS=:
22552 set x $ac_tag
22553 IFS=$ac_save_IFS
22554 shift
22555 ac_file=$1
22556 shift
22558 case $ac_mode in
22559 :L) ac_source=$1;;
22560 :[FH])
22561 ac_file_inputs=
22562 for ac_f
22564 case $ac_f in
22565 -) ac_f="$tmp/stdin";;
22566 *) # Look for the file first in the build tree, then in the source tree
22567 # (if the path is not absolute). The absolute path cannot be DOS-style,
22568 # because $ac_f cannot contain `:'.
22569 test -f "$ac_f" ||
22570 case $ac_f in
22571 [\\/$]*) false;;
22572 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22573 esac ||
22574 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22575 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22576 { (exit 1); exit 1; }; };;
22577 esac
22578 ac_file_inputs="$ac_file_inputs $ac_f"
22579 done
22581 # Let's still pretend it is `configure' which instantiates (i.e., don't
22582 # use $as_me), people would be surprised to read:
22583 # /* config.h. Generated by config.status. */
22584 configure_input="Generated from "`IFS=:
22585 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22586 if test x"$ac_file" != x-; then
22587 configure_input="$ac_file. $configure_input"
22588 { echo "$as_me:$LINENO: creating $ac_file" >&5
22589 echo "$as_me: creating $ac_file" >&6;}
22592 case $ac_tag in
22593 *:-:* | *:-) cat >"$tmp/stdin";;
22594 esac
22596 esac
22598 ac_dir=`$as_dirname -- "$ac_file" ||
22599 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22600 X"$ac_file" : 'X\(//\)[^/]' \| \
22601 X"$ac_file" : 'X\(//\)$' \| \
22602 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22603 echo X"$ac_file" |
22604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22605 s//\1/
22608 /^X\(\/\/\)[^/].*/{
22609 s//\1/
22612 /^X\(\/\/\)$/{
22613 s//\1/
22616 /^X\(\/\).*/{
22617 s//\1/
22620 s/.*/./; q'`
22621 { as_dir="$ac_dir"
22622 case $as_dir in #(
22623 -*) as_dir=./$as_dir;;
22624 esac
22625 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22626 as_dirs=
22627 while :; do
22628 case $as_dir in #(
22629 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22630 *) as_qdir=$as_dir;;
22631 esac
22632 as_dirs="'$as_qdir' $as_dirs"
22633 as_dir=`$as_dirname -- "$as_dir" ||
22634 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22635 X"$as_dir" : 'X\(//\)[^/]' \| \
22636 X"$as_dir" : 'X\(//\)$' \| \
22637 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22638 echo X"$as_dir" |
22639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22640 s//\1/
22643 /^X\(\/\/\)[^/].*/{
22644 s//\1/
22647 /^X\(\/\/\)$/{
22648 s//\1/
22651 /^X\(\/\).*/{
22652 s//\1/
22655 s/.*/./; q'`
22656 test -d "$as_dir" && break
22657 done
22658 test -z "$as_dirs" || eval "mkdir $as_dirs"
22659 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22660 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22661 { (exit 1); exit 1; }; }; }
22662 ac_builddir=.
22664 case "$ac_dir" in
22665 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22667 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22668 # A ".." for each directory in $ac_dir_suffix.
22669 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22670 case $ac_top_builddir_sub in
22671 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22672 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22673 esac ;;
22674 esac
22675 ac_abs_top_builddir=$ac_pwd
22676 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22677 # for backward compatibility:
22678 ac_top_builddir=$ac_top_build_prefix
22680 case $srcdir in
22681 .) # We are building in place.
22682 ac_srcdir=.
22683 ac_top_srcdir=$ac_top_builddir_sub
22684 ac_abs_top_srcdir=$ac_pwd ;;
22685 [\\/]* | ?:[\\/]* ) # Absolute name.
22686 ac_srcdir=$srcdir$ac_dir_suffix;
22687 ac_top_srcdir=$srcdir
22688 ac_abs_top_srcdir=$srcdir ;;
22689 *) # Relative name.
22690 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22691 ac_top_srcdir=$ac_top_build_prefix$srcdir
22692 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22693 esac
22694 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22697 case $ac_mode in
22700 # CONFIG_FILE
22703 case $INSTALL in
22704 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22705 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22706 esac
22707 _ACEOF
22709 cat >>$CONFIG_STATUS <<\_ACEOF
22710 # If the template does not know about datarootdir, expand it.
22711 # FIXME: This hack should be removed a few years after 2.60.
22712 ac_datarootdir_hack=; ac_datarootdir_seen=
22714 case `sed -n '/datarootdir/ {
22718 /@datadir@/p
22719 /@docdir@/p
22720 /@infodir@/p
22721 /@localedir@/p
22722 /@mandir@/p
22723 ' $ac_file_inputs` in
22724 *datarootdir*) ac_datarootdir_seen=yes;;
22725 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22726 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22727 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22728 _ACEOF
22729 cat >>$CONFIG_STATUS <<_ACEOF
22730 ac_datarootdir_hack='
22731 s&@datadir@&$datadir&g
22732 s&@docdir@&$docdir&g
22733 s&@infodir@&$infodir&g
22734 s&@localedir@&$localedir&g
22735 s&@mandir@&$mandir&g
22736 s&\\\${datarootdir}&$datarootdir&g' ;;
22737 esac
22738 _ACEOF
22740 # Neutralize VPATH when `$srcdir' = `.'.
22741 # Shell code in configure.ac might set extrasub.
22742 # FIXME: do we really want to maintain this feature?
22743 cat >>$CONFIG_STATUS <<_ACEOF
22744 sed "$ac_vpsub
22745 $extrasub
22746 _ACEOF
22747 cat >>$CONFIG_STATUS <<\_ACEOF
22749 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22750 s&@configure_input@&$configure_input&;t t
22751 s&@top_builddir@&$ac_top_builddir_sub&;t t
22752 s&@srcdir@&$ac_srcdir&;t t
22753 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22754 s&@top_srcdir@&$ac_top_srcdir&;t t
22755 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22756 s&@builddir@&$ac_builddir&;t t
22757 s&@abs_builddir@&$ac_abs_builddir&;t t
22758 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22759 s&@INSTALL@&$ac_INSTALL&;t t
22760 $ac_datarootdir_hack
22761 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22763 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22764 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22765 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22766 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22767 which seems to be undefined. Please make sure it is defined." >&5
22768 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22769 which seems to be undefined. Please make sure it is defined." >&2;}
22771 rm -f "$tmp/stdin"
22772 case $ac_file in
22773 -) cat "$tmp/out"; rm -f "$tmp/out";;
22774 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22775 esac
22779 # CONFIG_HEADER
22781 _ACEOF
22783 # Transform confdefs.h into a sed script `conftest.defines', that
22784 # substitutes the proper values into config.h.in to produce config.h.
22785 rm -f conftest.defines conftest.tail
22786 # First, append a space to every undef/define line, to ease matching.
22787 echo 's/$/ /' >conftest.defines
22788 # Then, protect against being on the right side of a sed subst, or in
22789 # an unquoted here document, in config.status. If some macros were
22790 # called several times there might be several #defines for the same
22791 # symbol, which is useless. But do not sort them, since the last
22792 # AC_DEFINE must be honored.
22793 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22794 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22795 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22796 # PARAMS is the parameter list in the macro definition--in most cases, it's
22797 # just an empty string.
22798 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22799 ac_dB='\\)[ (].*,\\1define\\2'
22800 ac_dC=' '
22801 ac_dD=' ,'
22803 uniq confdefs.h |
22804 sed -n '
22805 t rset
22806 :rset
22807 s/^[ ]*#[ ]*define[ ][ ]*//
22808 t ok
22811 s/[\\&,]/\\&/g
22812 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22813 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22814 ' >>conftest.defines
22816 # Remove the space that was appended to ease matching.
22817 # Then replace #undef with comments. This is necessary, for
22818 # example, in the case of _POSIX_SOURCE, which is predefined and required
22819 # on some systems where configure will not decide to define it.
22820 # (The regexp can be short, since the line contains either #define or #undef.)
22821 echo 's/ $//
22822 s,^[ #]*u.*,/* & */,' >>conftest.defines
22824 # Break up conftest.defines:
22825 ac_max_sed_lines=50
22827 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22828 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22829 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22830 # et cetera.
22831 ac_in='$ac_file_inputs'
22832 ac_out='"$tmp/out1"'
22833 ac_nxt='"$tmp/out2"'
22835 while :
22837 # Write a here document:
22838 cat >>$CONFIG_STATUS <<_ACEOF
22839 # First, check the format of the line:
22840 cat >"\$tmp/defines.sed" <<\\CEOF
22841 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22842 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22844 :def
22845 _ACEOF
22846 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22847 echo 'CEOF
22848 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22849 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22850 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22851 grep . conftest.tail >/dev/null || break
22852 rm -f conftest.defines
22853 mv conftest.tail conftest.defines
22854 done
22855 rm -f conftest.defines conftest.tail
22857 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22858 cat >>$CONFIG_STATUS <<\_ACEOF
22859 if test x"$ac_file" != x-; then
22860 echo "/* $configure_input */" >"$tmp/config.h"
22861 cat "$ac_result" >>"$tmp/config.h"
22862 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22863 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22864 echo "$as_me: $ac_file is unchanged" >&6;}
22865 else
22866 rm -f $ac_file
22867 mv "$tmp/config.h" $ac_file
22869 else
22870 echo "/* $configure_input */"
22871 cat "$ac_result"
22873 rm -f "$tmp/out12"
22876 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22877 echo "$as_me: executing $ac_file commands" >&6;}
22879 esac
22882 case $ac_file$ac_mode in
22883 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22884 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22885 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22886 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22887 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22888 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22889 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22890 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22891 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22892 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22893 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22894 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22895 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22897 esac
22898 done # for ac_tag
22901 { (exit 0); exit 0; }
22902 _ACEOF
22903 chmod +x $CONFIG_STATUS
22904 ac_clean_files=$ac_clean_files_save
22907 # configure is writing to config.log, and then calls config.status.
22908 # config.status does its own redirection, appending to config.log.
22909 # Unfortunately, on DOS this fails, as config.log is still kept open
22910 # by configure, so config.status won't be able to write to it; its
22911 # output is simply discarded. So we exec the FD to /dev/null,
22912 # effectively closing config.log, so it can be properly (re)opened and
22913 # appended to by config.status. When coming back to configure, we
22914 # need to make the FD available again.
22915 if test "$no_create" != yes; then
22916 ac_cs_success=:
22917 ac_config_status_args=
22918 test "$silent" = yes &&
22919 ac_config_status_args="$ac_config_status_args --quiet"
22920 exec 5>/dev/null
22921 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22922 exec 5>>config.log
22923 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22924 # would make configure fail if this is the last instruction.
22925 $ac_cs_success || { (exit 1); exit 1; }
22929 if test "$no_create" = "yes"
22930 then
22931 exit 0
22934 ac_save_IFS="$IFS"
22935 IFS="|"
22936 if test "$verbose" = "yes"; then
22937 for msg in $wine_notices; do
22938 if test -n "$msg"; then
22939 echo >&2
22940 { echo "$as_me:$LINENO: $msg" >&5
22941 echo "$as_me: $msg" >&6;}
22943 done
22945 for msg in $wine_warnings; do
22946 if test -n "$msg"; then
22947 echo >&2
22948 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22949 echo "$as_me: WARNING: $msg" >&2;}
22951 done
22952 IFS="$ac_save_IFS"
22954 echo
22955 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22956 echo