push ad24f1132647a0edb630b22af6a5d964d8f4f71f
[wine/hacks.git] / configure
blobde3508e84e290ca3041215ca0bf79045741f915f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.49.
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.49'
578 PACKAGE_STRING='Wine 0.9.49'
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.49 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.49:";;
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.49
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.49, 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 built 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 built without OpenGL or Direct3D support."
10597 else
10598 wine_warnings="$wine_warnings|OpenGL development headers not found.
10599 Wine will be built 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"
12930 for ac_func in \
12931 ldap_count_references \
12932 ldap_first_reference \
12933 ldap_next_reference \
12934 ldap_parse_reference \
12935 ldap_parse_sort_control \
12936 ldap_parse_sortresponse_control \
12937 ldap_parse_vlv_control \
12938 ldap_parse_vlvresponse_control
12940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12944 echo $ECHO_N "(cached) $ECHO_C" >&6
12945 else
12946 cat >conftest.$ac_ext <<_ACEOF
12947 /* confdefs.h. */
12948 _ACEOF
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12954 #define $ac_func innocuous_$ac_func
12956 /* System header to define __stub macros and hopefully few prototypes,
12957 which can conflict with char $ac_func (); below.
12958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12959 <limits.h> exists even on freestanding compilers. */
12961 #ifdef __STDC__
12962 # include <limits.h>
12963 #else
12964 # include <assert.h>
12965 #endif
12967 #undef $ac_func
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12972 #ifdef __cplusplus
12973 extern "C"
12974 #endif
12975 char $ac_func ();
12976 /* The GNU C library defines this for functions which it implements
12977 to always fail with ENOSYS. Some functions are actually named
12978 something starting with __ and the normal name is an alias. */
12979 #if defined __stub_$ac_func || defined __stub___$ac_func
12980 choke me
12981 #endif
12984 main ()
12986 return $ac_func ();
12988 return 0;
12990 _ACEOF
12991 rm -f conftest.$ac_objext conftest$ac_exeext
12992 if { (ac_try="$ac_link"
12993 case "(($ac_try" in
12994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12995 *) ac_try_echo=$ac_try;;
12996 esac
12997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12998 (eval "$ac_link") 2>conftest.er1
12999 ac_status=$?
13000 grep -v '^ *+' conftest.er1 >conftest.err
13001 rm -f conftest.er1
13002 cat conftest.err >&5
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); } && {
13005 test -z "$ac_c_werror_flag" ||
13006 test ! -s conftest.err
13007 } && test -s conftest$ac_exeext &&
13008 $as_test_x conftest$ac_exeext; then
13009 eval "$as_ac_var=yes"
13010 else
13011 echo "$as_me: failed program was:" >&5
13012 sed 's/^/| /' conftest.$ac_ext >&5
13014 eval "$as_ac_var=no"
13017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13018 conftest$ac_exeext conftest.$ac_ext
13020 ac_res=`eval echo '${'$as_ac_var'}'`
13021 { echo "$as_me:$LINENO: result: $ac_res" >&5
13022 echo "${ECHO_T}$ac_res" >&6; }
13023 if test `eval echo '${'$as_ac_var'}'` = yes; then
13024 cat >>confdefs.h <<_ACEOF
13025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13026 _ACEOF
13029 done
13031 LIBS="$ac_wine_check_funcs_save_LIBS"
13033 if test "x$LDAPLIBS" = "x"; then
13034 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13035 Wine will be built without LDAP support. (wldap32.dll)"
13039 for ac_prog in freetype-config freetype2-config
13041 # Extract the first word of "$ac_prog", so it can be a program name with args.
13042 set dummy $ac_prog; ac_word=$2
13043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13045 if test "${ac_cv_prog_ft_devel+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13047 else
13048 if test -n "$ft_devel"; then
13049 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13050 else
13051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13052 for as_dir in $PATH
13054 IFS=$as_save_IFS
13055 test -z "$as_dir" && as_dir=.
13056 for ac_exec_ext in '' $ac_executable_extensions; do
13057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13058 ac_cv_prog_ft_devel="$ac_prog"
13059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13060 break 2
13062 done
13063 done
13064 IFS=$as_save_IFS
13068 ft_devel=$ac_cv_prog_ft_devel
13069 if test -n "$ft_devel"; then
13070 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13071 echo "${ECHO_T}$ft_devel" >&6; }
13072 else
13073 { echo "$as_me:$LINENO: result: no" >&5
13074 echo "${ECHO_T}no" >&6; }
13078 test -n "$ft_devel" && break
13079 done
13080 test -n "$ft_devel" || ft_devel="false"
13082 if test "$ft_devel" != "false"
13083 then
13084 ac_freetype_libs=`$ft_devel --libs`
13085 ac_freetype_incl=`$ft_devel --cflags`
13086 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13087 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13088 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13090 else
13091 ac_check_soname_save_LIBS=$LIBS
13092 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13093 cat >conftest.$ac_ext <<_ACEOF
13094 /* confdefs.h. */
13095 _ACEOF
13096 cat confdefs.h >>conftest.$ac_ext
13097 cat >>conftest.$ac_ext <<_ACEOF
13098 /* end confdefs.h. */
13100 /* Override any GCC internal prototype to avoid an error.
13101 Use char because int might match the return type of a GCC
13102 builtin and then its argument prototype would still apply. */
13103 #ifdef __cplusplus
13104 extern "C"
13105 #endif
13106 char FT_Init_FreeType ();
13108 main ()
13110 return FT_Init_FreeType ();
13112 return 0;
13114 _ACEOF
13115 rm -f conftest.$ac_objext conftest$ac_exeext
13116 if { (ac_try="$ac_link"
13117 case "(($ac_try" in
13118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13119 *) ac_try_echo=$ac_try;;
13120 esac
13121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13122 (eval "$ac_link") 2>conftest.er1
13123 ac_status=$?
13124 grep -v '^ *+' conftest.er1 >conftest.err
13125 rm -f conftest.er1
13126 cat conftest.err >&5
13127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13128 (exit $ac_status); } && {
13129 test -z "$ac_c_werror_flag" ||
13130 test ! -s conftest.err
13131 } && test -s conftest$ac_exeext &&
13132 $as_test_x conftest$ac_exeext; then
13133 case "$LIBEXT" in
13134 dll) ;;
13135 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'` ;;
13136 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13137 esac
13138 else
13139 echo "$as_me: failed program was:" >&5
13140 sed 's/^/| /' conftest.$ac_ext >&5
13145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13146 conftest$ac_exeext conftest.$ac_ext
13147 LIBS=$ac_check_soname_save_LIBS
13149 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13150 { echo "$as_me:$LINENO: result: not found" >&5
13151 echo "${ECHO_T}not found" >&6; }
13152 ft_lib=no
13153 else
13154 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13155 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13157 cat >>confdefs.h <<_ACEOF
13158 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13159 _ACEOF
13161 ft_lib=yes
13164 if test "$ft_lib" = "yes"
13165 then
13166 ac_save_CPPFLAGS="$CPPFLAGS"
13167 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13180 for ac_header in ft2build.h \
13181 freetype/freetype.h \
13182 freetype/ftglyph.h \
13183 freetype/fttypes.h \
13184 freetype/tttables.h \
13185 freetype/ftnames.h \
13186 freetype/ftsnames.h \
13187 freetype/ttnameid.h \
13188 freetype/ftoutln.h \
13189 freetype/ftwinfnt.h \
13190 freetype/ftmodapi.h \
13191 freetype/internal/sfnt.h
13193 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13194 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13197 echo $ECHO_N "(cached) $ECHO_C" >&6
13198 else
13199 cat >conftest.$ac_ext <<_ACEOF
13200 /* confdefs.h. */
13201 _ACEOF
13202 cat confdefs.h >>conftest.$ac_ext
13203 cat >>conftest.$ac_ext <<_ACEOF
13204 /* end confdefs.h. */
13205 #if HAVE_FT2BUILD_H
13206 #include <ft2build.h>
13207 #endif
13209 #include <$ac_header>
13210 _ACEOF
13211 rm -f conftest.$ac_objext
13212 if { (ac_try="$ac_compile"
13213 case "(($ac_try" in
13214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13215 *) ac_try_echo=$ac_try;;
13216 esac
13217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13218 (eval "$ac_compile") 2>conftest.er1
13219 ac_status=$?
13220 grep -v '^ *+' conftest.er1 >conftest.err
13221 rm -f conftest.er1
13222 cat conftest.err >&5
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); } && {
13225 test -z "$ac_c_werror_flag" ||
13226 test ! -s conftest.err
13227 } && test -s conftest.$ac_objext; then
13228 eval "$as_ac_Header=yes"
13229 else
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.$ac_ext >&5
13233 eval "$as_ac_Header=no"
13236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13238 ac_res=`eval echo '${'$as_ac_Header'}'`
13239 { echo "$as_me:$LINENO: result: $ac_res" >&5
13240 echo "${ECHO_T}$ac_res" >&6; }
13241 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13242 cat >>confdefs.h <<_ACEOF
13243 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13244 _ACEOF
13248 done
13250 cat >conftest.$ac_ext <<_ACEOF
13251 /* confdefs.h. */
13252 _ACEOF
13253 cat confdefs.h >>conftest.$ac_ext
13254 cat >>conftest.$ac_ext <<_ACEOF
13255 /* end confdefs.h. */
13256 #include <ft2build.h>
13257 #include <freetype/fttrigon.h>
13258 _ACEOF
13259 if { (ac_try="$ac_cpp conftest.$ac_ext"
13260 case "(($ac_try" in
13261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13262 *) ac_try_echo=$ac_try;;
13263 esac
13264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13266 ac_status=$?
13267 grep -v '^ *+' conftest.er1 >conftest.err
13268 rm -f conftest.er1
13269 cat conftest.err >&5
13270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 (exit $ac_status); } >/dev/null && {
13272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13273 test ! -s conftest.err
13274 }; then
13276 cat >>confdefs.h <<\_ACEOF
13277 #define HAVE_FREETYPE_FTTRIGON_H 1
13278 _ACEOF
13280 wine_cv_fttrigon=yes
13281 else
13282 echo "$as_me: failed program was:" >&5
13283 sed 's/^/| /' conftest.$ac_ext >&5
13285 wine_cv_fttrigon=no
13288 rm -f conftest.err conftest.$ac_ext
13289 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13290 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13291 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13292 echo $ECHO_N "(cached) $ECHO_C" >&6
13293 else
13294 cat >conftest.$ac_ext <<_ACEOF
13295 /* confdefs.h. */
13296 _ACEOF
13297 cat confdefs.h >>conftest.$ac_ext
13298 cat >>conftest.$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 #include <freetype/ftmodapi.h>
13302 typedef FT_TrueTypeEngineType ac__type_new_;
13304 main ()
13306 if ((ac__type_new_ *) 0)
13307 return 0;
13308 if (sizeof (ac__type_new_))
13309 return 0;
13311 return 0;
13313 _ACEOF
13314 rm -f conftest.$ac_objext
13315 if { (ac_try="$ac_compile"
13316 case "(($ac_try" in
13317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13318 *) ac_try_echo=$ac_try;;
13319 esac
13320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13321 (eval "$ac_compile") 2>conftest.er1
13322 ac_status=$?
13323 grep -v '^ *+' conftest.er1 >conftest.err
13324 rm -f conftest.er1
13325 cat conftest.err >&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); } && {
13328 test -z "$ac_c_werror_flag" ||
13329 test ! -s conftest.err
13330 } && test -s conftest.$ac_objext; then
13331 ac_cv_type_FT_TrueTypeEngineType=yes
13332 else
13333 echo "$as_me: failed program was:" >&5
13334 sed 's/^/| /' conftest.$ac_ext >&5
13336 ac_cv_type_FT_TrueTypeEngineType=no
13339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13341 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13342 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13343 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13345 cat >>confdefs.h <<_ACEOF
13346 #define HAVE_FT_TRUETYPEENGINETYPE 1
13347 _ACEOF
13352 ac_save_CFLAGS="$CFLAGS"
13353 CFLAGS="$CFLAGS $ac_freetype_libs"
13355 for ac_func in FT_Load_Sfnt_Table
13357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13360 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13362 else
13363 cat >conftest.$ac_ext <<_ACEOF
13364 /* confdefs.h. */
13365 _ACEOF
13366 cat confdefs.h >>conftest.$ac_ext
13367 cat >>conftest.$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13371 #define $ac_func innocuous_$ac_func
13373 /* System header to define __stub macros and hopefully few prototypes,
13374 which can conflict with char $ac_func (); below.
13375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13376 <limits.h> exists even on freestanding compilers. */
13378 #ifdef __STDC__
13379 # include <limits.h>
13380 #else
13381 # include <assert.h>
13382 #endif
13384 #undef $ac_func
13386 /* Override any GCC internal prototype to avoid an error.
13387 Use char because int might match the return type of a GCC
13388 builtin and then its argument prototype would still apply. */
13389 #ifdef __cplusplus
13390 extern "C"
13391 #endif
13392 char $ac_func ();
13393 /* The GNU C library defines this for functions which it implements
13394 to always fail with ENOSYS. Some functions are actually named
13395 something starting with __ and the normal name is an alias. */
13396 #if defined __stub_$ac_func || defined __stub___$ac_func
13397 choke me
13398 #endif
13401 main ()
13403 return $ac_func ();
13405 return 0;
13407 _ACEOF
13408 rm -f conftest.$ac_objext conftest$ac_exeext
13409 if { (ac_try="$ac_link"
13410 case "(($ac_try" in
13411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13412 *) ac_try_echo=$ac_try;;
13413 esac
13414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13415 (eval "$ac_link") 2>conftest.er1
13416 ac_status=$?
13417 grep -v '^ *+' conftest.er1 >conftest.err
13418 rm -f conftest.er1
13419 cat conftest.err >&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); } && {
13422 test -z "$ac_c_werror_flag" ||
13423 test ! -s conftest.err
13424 } && test -s conftest$ac_exeext &&
13425 $as_test_x conftest$ac_exeext; then
13426 eval "$as_ac_var=yes"
13427 else
13428 echo "$as_me: failed program was:" >&5
13429 sed 's/^/| /' conftest.$ac_ext >&5
13431 eval "$as_ac_var=no"
13434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13435 conftest$ac_exeext conftest.$ac_ext
13437 ac_res=`eval echo '${'$as_ac_var'}'`
13438 { echo "$as_me:$LINENO: result: $ac_res" >&5
13439 echo "${ECHO_T}$ac_res" >&6; }
13440 if test `eval echo '${'$as_ac_var'}'` = yes; then
13441 cat >>confdefs.h <<_ACEOF
13442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13443 _ACEOF
13446 done
13448 CFLAGS="$ac_save_CFLAGS"
13449 CPPFLAGS="$ac_save_CPPFLAGS"
13450 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13451 then
13453 cat >>confdefs.h <<\_ACEOF
13454 #define HAVE_FREETYPE 1
13455 _ACEOF
13457 FREETYPELIBS="$ac_freetype_libs"
13459 FREETYPEINCL="$ac_freetype_incl"
13465 if test "$FONTFORGE" = "false"
13466 then
13467 wine_warnings="$wine_warnings|FontForge is missing.
13468 Fonts will not be built. Dialog text may be invisible or unaligned."
13469 elif test "x$FREETYPELIBS" = "x"
13470 then
13471 wine_warnings="$wine_warnings|FreeType development files not found.
13472 Fonts will not be built. Dialog text may be invisible or unaligned."
13473 else
13474 FONTSSUBDIRS="fonts"
13478 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13479 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13480 if test "${ac_cv_c_ppdev+set}" = set; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 else
13483 cat >conftest.$ac_ext <<_ACEOF
13484 /* confdefs.h. */
13485 _ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13489 #include <linux/ppdev.h>
13491 main ()
13493 ioctl (1,PPCLAIM,0)
13495 return 0;
13497 _ACEOF
13498 rm -f conftest.$ac_objext
13499 if { (ac_try="$ac_compile"
13500 case "(($ac_try" in
13501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13502 *) ac_try_echo=$ac_try;;
13503 esac
13504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13505 (eval "$ac_compile") 2>conftest.er1
13506 ac_status=$?
13507 grep -v '^ *+' conftest.er1 >conftest.err
13508 rm -f conftest.er1
13509 cat conftest.err >&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } && {
13512 test -z "$ac_c_werror_flag" ||
13513 test ! -s conftest.err
13514 } && test -s conftest.$ac_objext; then
13515 ac_cv_c_ppdev="yes"
13516 else
13517 echo "$as_me: failed program was:" >&5
13518 sed 's/^/| /' conftest.$ac_ext >&5
13520 ac_cv_c_ppdev="no"
13523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13525 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13526 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13527 if test "$ac_cv_c_ppdev" = "yes"
13528 then
13530 cat >>confdefs.h <<\_ACEOF
13531 #define HAVE_PPDEV 1
13532 _ACEOF
13536 { echo "$as_me:$LINENO: checking for va_copy" >&5
13537 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13538 if test "${ac_cv_c_va_copy+set}" = set; then
13539 echo $ECHO_N "(cached) $ECHO_C" >&6
13540 else
13541 cat >conftest.$ac_ext <<_ACEOF
13542 /* confdefs.h. */
13543 _ACEOF
13544 cat confdefs.h >>conftest.$ac_ext
13545 cat >>conftest.$ac_ext <<_ACEOF
13546 /* end confdefs.h. */
13547 #include <stdarg.h>
13549 main ()
13551 va_list ap1, ap2; va_copy(ap1,ap2);
13553 return 0;
13555 _ACEOF
13556 rm -f conftest.$ac_objext conftest$ac_exeext
13557 if { (ac_try="$ac_link"
13558 case "(($ac_try" in
13559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13560 *) ac_try_echo=$ac_try;;
13561 esac
13562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13563 (eval "$ac_link") 2>conftest.er1
13564 ac_status=$?
13565 grep -v '^ *+' conftest.er1 >conftest.err
13566 rm -f conftest.er1
13567 cat conftest.err >&5
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); } && {
13570 test -z "$ac_c_werror_flag" ||
13571 test ! -s conftest.err
13572 } && test -s conftest$ac_exeext &&
13573 $as_test_x conftest$ac_exeext; then
13574 ac_cv_c_va_copy="yes"
13575 else
13576 echo "$as_me: failed program was:" >&5
13577 sed 's/^/| /' conftest.$ac_ext >&5
13579 ac_cv_c_va_copy="no"
13582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13583 conftest$ac_exeext conftest.$ac_ext
13586 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13587 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13588 if test "$ac_cv_c_va_copy" = "yes"
13589 then
13591 cat >>confdefs.h <<\_ACEOF
13592 #define HAVE_VA_COPY 1
13593 _ACEOF
13596 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13597 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13598 if test "${ac_cv_c___va_copy+set}" = set; then
13599 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 else
13601 cat >conftest.$ac_ext <<_ACEOF
13602 /* confdefs.h. */
13603 _ACEOF
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607 #include <stdarg.h>
13609 main ()
13611 va_list ap1, ap2; __va_copy(ap1,ap2);
13613 return 0;
13615 _ACEOF
13616 rm -f conftest.$ac_objext conftest$ac_exeext
13617 if { (ac_try="$ac_link"
13618 case "(($ac_try" in
13619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13620 *) ac_try_echo=$ac_try;;
13621 esac
13622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13623 (eval "$ac_link") 2>conftest.er1
13624 ac_status=$?
13625 grep -v '^ *+' conftest.er1 >conftest.err
13626 rm -f conftest.er1
13627 cat conftest.err >&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } && {
13630 test -z "$ac_c_werror_flag" ||
13631 test ! -s conftest.err
13632 } && test -s conftest$ac_exeext &&
13633 $as_test_x conftest$ac_exeext; then
13634 ac_cv_c___va_copy="yes"
13635 else
13636 echo "$as_me: failed program was:" >&5
13637 sed 's/^/| /' conftest.$ac_ext >&5
13639 ac_cv_c___va_copy="no"
13642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13643 conftest$ac_exeext conftest.$ac_ext
13646 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13647 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13648 if test "$ac_cv_c___va_copy" = "yes"
13649 then
13651 cat >>confdefs.h <<\_ACEOF
13652 #define HAVE___VA_COPY 1
13653 _ACEOF
13657 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13658 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13659 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13660 echo $ECHO_N "(cached) $ECHO_C" >&6
13661 else
13662 cat >conftest.$ac_ext <<_ACEOF
13663 /* confdefs.h. */
13664 _ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h. */
13668 #include <setjmp.h>
13670 main ()
13672 sigjmp_buf buf;
13673 sigsetjmp( buf, 1 );
13674 siglongjmp( buf, 1 );
13676 return 0;
13678 _ACEOF
13679 rm -f conftest.$ac_objext conftest$ac_exeext
13680 if { (ac_try="$ac_link"
13681 case "(($ac_try" in
13682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13683 *) ac_try_echo=$ac_try;;
13684 esac
13685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13686 (eval "$ac_link") 2>conftest.er1
13687 ac_status=$?
13688 grep -v '^ *+' conftest.er1 >conftest.err
13689 rm -f conftest.er1
13690 cat conftest.err >&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); } && {
13693 test -z "$ac_c_werror_flag" ||
13694 test ! -s conftest.err
13695 } && test -s conftest$ac_exeext &&
13696 $as_test_x conftest$ac_exeext; then
13697 ac_cv_c_sigsetjmp="yes"
13698 else
13699 echo "$as_me: failed program was:" >&5
13700 sed 's/^/| /' conftest.$ac_ext >&5
13702 ac_cv_c_sigsetjmp="no"
13705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13706 conftest$ac_exeext conftest.$ac_ext
13709 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13710 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13711 if test "$ac_cv_c_sigsetjmp" = "yes"
13712 then
13714 cat >>confdefs.h <<\_ACEOF
13715 #define HAVE_SIGSETJMP 1
13716 _ACEOF
13720 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13721 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13722 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13724 else
13725 cat >conftest.$ac_ext <<_ACEOF
13726 /* confdefs.h. */
13727 _ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #define _GNU_SOURCE
13732 #include <pthread.h>
13734 typedef pthread_rwlock_t ac__type_new_;
13736 main ()
13738 if ((ac__type_new_ *) 0)
13739 return 0;
13740 if (sizeof (ac__type_new_))
13741 return 0;
13743 return 0;
13745 _ACEOF
13746 rm -f conftest.$ac_objext
13747 if { (ac_try="$ac_compile"
13748 case "(($ac_try" in
13749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13750 *) ac_try_echo=$ac_try;;
13751 esac
13752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13753 (eval "$ac_compile") 2>conftest.er1
13754 ac_status=$?
13755 grep -v '^ *+' conftest.er1 >conftest.err
13756 rm -f conftest.er1
13757 cat conftest.err >&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } && {
13760 test -z "$ac_c_werror_flag" ||
13761 test ! -s conftest.err
13762 } && test -s conftest.$ac_objext; then
13763 ac_cv_type_pthread_rwlock_t=yes
13764 else
13765 echo "$as_me: failed program was:" >&5
13766 sed 's/^/| /' conftest.$ac_ext >&5
13768 ac_cv_type_pthread_rwlock_t=no
13771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13773 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13774 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13775 if test $ac_cv_type_pthread_rwlock_t = yes; then
13777 cat >>confdefs.h <<_ACEOF
13778 #define HAVE_PTHREAD_RWLOCK_T 1
13779 _ACEOF
13783 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13784 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13785 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13786 echo $ECHO_N "(cached) $ECHO_C" >&6
13787 else
13788 cat >conftest.$ac_ext <<_ACEOF
13789 /* confdefs.h. */
13790 _ACEOF
13791 cat confdefs.h >>conftest.$ac_ext
13792 cat >>conftest.$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13794 #define _GNU_SOURCE
13795 #include <pthread.h>
13797 typedef pthread_rwlockattr_t ac__type_new_;
13799 main ()
13801 if ((ac__type_new_ *) 0)
13802 return 0;
13803 if (sizeof (ac__type_new_))
13804 return 0;
13806 return 0;
13808 _ACEOF
13809 rm -f conftest.$ac_objext
13810 if { (ac_try="$ac_compile"
13811 case "(($ac_try" in
13812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13813 *) ac_try_echo=$ac_try;;
13814 esac
13815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13816 (eval "$ac_compile") 2>conftest.er1
13817 ac_status=$?
13818 grep -v '^ *+' conftest.er1 >conftest.err
13819 rm -f conftest.er1
13820 cat conftest.err >&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); } && {
13823 test -z "$ac_c_werror_flag" ||
13824 test ! -s conftest.err
13825 } && test -s conftest.$ac_objext; then
13826 ac_cv_type_pthread_rwlockattr_t=yes
13827 else
13828 echo "$as_me: failed program was:" >&5
13829 sed 's/^/| /' conftest.$ac_ext >&5
13831 ac_cv_type_pthread_rwlockattr_t=no
13834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13836 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13837 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13838 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13840 cat >>confdefs.h <<_ACEOF
13841 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13842 _ACEOF
13848 ac_wine_check_funcs_save_LIBS="$LIBS"
13849 LIBS="$LIBS $LIBPTHREAD"
13854 for ac_func in \
13855 pthread_attr_get_np \
13856 pthread_getattr_np \
13857 pthread_get_stackaddr_np \
13858 pthread_get_stacksize_np
13860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13861 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13863 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13865 else
13866 cat >conftest.$ac_ext <<_ACEOF
13867 /* confdefs.h. */
13868 _ACEOF
13869 cat confdefs.h >>conftest.$ac_ext
13870 cat >>conftest.$ac_ext <<_ACEOF
13871 /* end confdefs.h. */
13872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13874 #define $ac_func innocuous_$ac_func
13876 /* System header to define __stub macros and hopefully few prototypes,
13877 which can conflict with char $ac_func (); below.
13878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13879 <limits.h> exists even on freestanding compilers. */
13881 #ifdef __STDC__
13882 # include <limits.h>
13883 #else
13884 # include <assert.h>
13885 #endif
13887 #undef $ac_func
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13892 #ifdef __cplusplus
13893 extern "C"
13894 #endif
13895 char $ac_func ();
13896 /* The GNU C library defines this for functions which it implements
13897 to always fail with ENOSYS. Some functions are actually named
13898 something starting with __ and the normal name is an alias. */
13899 #if defined __stub_$ac_func || defined __stub___$ac_func
13900 choke me
13901 #endif
13904 main ()
13906 return $ac_func ();
13908 return 0;
13910 _ACEOF
13911 rm -f conftest.$ac_objext conftest$ac_exeext
13912 if { (ac_try="$ac_link"
13913 case "(($ac_try" in
13914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13915 *) ac_try_echo=$ac_try;;
13916 esac
13917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13918 (eval "$ac_link") 2>conftest.er1
13919 ac_status=$?
13920 grep -v '^ *+' conftest.er1 >conftest.err
13921 rm -f conftest.er1
13922 cat conftest.err >&5
13923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13924 (exit $ac_status); } && {
13925 test -z "$ac_c_werror_flag" ||
13926 test ! -s conftest.err
13927 } && test -s conftest$ac_exeext &&
13928 $as_test_x conftest$ac_exeext; then
13929 eval "$as_ac_var=yes"
13930 else
13931 echo "$as_me: failed program was:" >&5
13932 sed 's/^/| /' conftest.$ac_ext >&5
13934 eval "$as_ac_var=no"
13937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13938 conftest$ac_exeext conftest.$ac_ext
13940 ac_res=`eval echo '${'$as_ac_var'}'`
13941 { echo "$as_me:$LINENO: result: $ac_res" >&5
13942 echo "${ECHO_T}$ac_res" >&6; }
13943 if test `eval echo '${'$as_ac_var'}'` = yes; then
13944 cat >>confdefs.h <<_ACEOF
13945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13946 _ACEOF
13949 done
13951 LIBS="$ac_wine_check_funcs_save_LIBS"
13953 # Extract the first word of "esd-config", so it can be a program name with args.
13954 set dummy esd-config; ac_word=$2
13955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13957 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13958 echo $ECHO_N "(cached) $ECHO_C" >&6
13959 else
13960 case $ESDCONFIG in
13961 [\\/]* | ?:[\\/]*)
13962 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13966 for as_dir in $PATH
13968 IFS=$as_save_IFS
13969 test -z "$as_dir" && as_dir=.
13970 for ac_exec_ext in '' $ac_executable_extensions; do
13971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13972 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13974 break 2
13976 done
13977 done
13978 IFS=$as_save_IFS
13981 esac
13983 ESDCONFIG=$ac_cv_path_ESDCONFIG
13984 if test -n "$ESDCONFIG"; then
13985 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13986 echo "${ECHO_T}$ESDCONFIG" >&6; }
13987 else
13988 { echo "$as_me:$LINENO: result: no" >&5
13989 echo "${ECHO_T}no" >&6; }
13993 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13994 then
13995 ESD_CFLAGS=""
13996 for i in `$ESDCONFIG --cflags`
13998 case "$i" in
13999 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14000 esac
14001 done
14002 ESD_LIBS=`$ESDCONFIG --libs`
14003 save_CFLAGS="$CFLAGS"
14004 CFLAGS="$CFLAGS $ESD_CFLAGS"
14005 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14006 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14007 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14009 else
14010 ac_check_lib_save_LIBS=$LIBS
14011 LIBS="-lesd $LIBS"
14012 cat >conftest.$ac_ext <<_ACEOF
14013 /* confdefs.h. */
14014 _ACEOF
14015 cat confdefs.h >>conftest.$ac_ext
14016 cat >>conftest.$ac_ext <<_ACEOF
14017 /* end confdefs.h. */
14019 /* Override any GCC internal prototype to avoid an error.
14020 Use char because int might match the return type of a GCC
14021 builtin and then its argument prototype would still apply. */
14022 #ifdef __cplusplus
14023 extern "C"
14024 #endif
14025 char esd_open_sound ();
14027 main ()
14029 return esd_open_sound ();
14031 return 0;
14033 _ACEOF
14034 rm -f conftest.$ac_objext conftest$ac_exeext
14035 if { (ac_try="$ac_link"
14036 case "(($ac_try" in
14037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14038 *) ac_try_echo=$ac_try;;
14039 esac
14040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14041 (eval "$ac_link") 2>conftest.er1
14042 ac_status=$?
14043 grep -v '^ *+' conftest.er1 >conftest.err
14044 rm -f conftest.er1
14045 cat conftest.err >&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } && {
14048 test -z "$ac_c_werror_flag" ||
14049 test ! -s conftest.err
14050 } && test -s conftest$ac_exeext &&
14051 $as_test_x conftest$ac_exeext; then
14052 ac_cv_lib_esd_esd_open_sound=yes
14053 else
14054 echo "$as_me: failed program was:" >&5
14055 sed 's/^/| /' conftest.$ac_ext >&5
14057 ac_cv_lib_esd_esd_open_sound=no
14060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14061 conftest$ac_exeext conftest.$ac_ext
14062 LIBS=$ac_check_lib_save_LIBS
14064 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14065 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14066 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14067 ESDLIBS=$ESD_LIBS
14069 ESDINCL=$ESD_CFLAGS
14072 cat >>confdefs.h <<\_ACEOF
14073 #define HAVE_ESD 1
14074 _ACEOF
14078 CFLAGS="$save_CFLAGS"
14081 ALSALIBS=""
14083 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14084 then
14085 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14086 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14087 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14088 echo $ECHO_N "(cached) $ECHO_C" >&6
14089 else
14090 ac_check_lib_save_LIBS=$LIBS
14091 LIBS="-lasound $LIBS"
14092 cat >conftest.$ac_ext <<_ACEOF
14093 /* confdefs.h. */
14094 _ACEOF
14095 cat confdefs.h >>conftest.$ac_ext
14096 cat >>conftest.$ac_ext <<_ACEOF
14097 /* end confdefs.h. */
14099 /* Override any GCC internal prototype to avoid an error.
14100 Use char because int might match the return type of a GCC
14101 builtin and then its argument prototype would still apply. */
14102 #ifdef __cplusplus
14103 extern "C"
14104 #endif
14105 char snd_pcm_hw_params_get_access ();
14107 main ()
14109 return snd_pcm_hw_params_get_access ();
14111 return 0;
14113 _ACEOF
14114 rm -f conftest.$ac_objext conftest$ac_exeext
14115 if { (ac_try="$ac_link"
14116 case "(($ac_try" in
14117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14118 *) ac_try_echo=$ac_try;;
14119 esac
14120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14121 (eval "$ac_link") 2>conftest.er1
14122 ac_status=$?
14123 grep -v '^ *+' conftest.er1 >conftest.err
14124 rm -f conftest.er1
14125 cat conftest.err >&5
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); } && {
14128 test -z "$ac_c_werror_flag" ||
14129 test ! -s conftest.err
14130 } && test -s conftest$ac_exeext &&
14131 $as_test_x conftest$ac_exeext; then
14132 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14133 else
14134 echo "$as_me: failed program was:" >&5
14135 sed 's/^/| /' conftest.$ac_ext >&5
14137 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14141 conftest$ac_exeext conftest.$ac_ext
14142 LIBS=$ac_check_lib_save_LIBS
14144 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14145 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14146 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14147 cat >conftest.$ac_ext <<_ACEOF
14148 /* confdefs.h. */
14149 _ACEOF
14150 cat confdefs.h >>conftest.$ac_ext
14151 cat >>conftest.$ac_ext <<_ACEOF
14152 /* end confdefs.h. */
14153 #ifdef HAVE_ALSA_ASOUNDLIB_H
14154 #include <alsa/asoundlib.h>
14155 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14156 #include <sys/asoundlib.h>
14157 #endif
14159 main ()
14161 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14163 return 0;
14165 _ACEOF
14166 rm -f conftest.$ac_objext
14167 if { (ac_try="$ac_compile"
14168 case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14171 esac
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_compile") 2>conftest.er1
14174 ac_status=$?
14175 grep -v '^ *+' conftest.er1 >conftest.err
14176 rm -f conftest.er1
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && {
14180 test -z "$ac_c_werror_flag" ||
14181 test ! -s conftest.err
14182 } && test -s conftest.$ac_objext; then
14184 cat >>confdefs.h <<\_ACEOF
14185 #define HAVE_ALSA 1
14186 _ACEOF
14188 ALSALIBS="-lasound"
14189 else
14190 echo "$as_me: failed program was:" >&5
14191 sed 's/^/| /' conftest.$ac_ext >&5
14196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14201 AUDIOIOLIBS=""
14203 if test "$ac_cv_header_libaudioio_h" = "yes"
14204 then
14205 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14206 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14207 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14209 else
14210 ac_check_lib_save_LIBS=$LIBS
14211 LIBS="-laudioio $LIBS"
14212 cat >conftest.$ac_ext <<_ACEOF
14213 /* confdefs.h. */
14214 _ACEOF
14215 cat confdefs.h >>conftest.$ac_ext
14216 cat >>conftest.$ac_ext <<_ACEOF
14217 /* end confdefs.h. */
14219 /* Override any GCC internal prototype to avoid an error.
14220 Use char because int might match the return type of a GCC
14221 builtin and then its argument prototype would still apply. */
14222 #ifdef __cplusplus
14223 extern "C"
14224 #endif
14225 char AudioIOGetVersion ();
14227 main ()
14229 return AudioIOGetVersion ();
14231 return 0;
14233 _ACEOF
14234 rm -f conftest.$ac_objext conftest$ac_exeext
14235 if { (ac_try="$ac_link"
14236 case "(($ac_try" in
14237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14238 *) ac_try_echo=$ac_try;;
14239 esac
14240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14241 (eval "$ac_link") 2>conftest.er1
14242 ac_status=$?
14243 grep -v '^ *+' conftest.er1 >conftest.err
14244 rm -f conftest.er1
14245 cat conftest.err >&5
14246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14247 (exit $ac_status); } && {
14248 test -z "$ac_c_werror_flag" ||
14249 test ! -s conftest.err
14250 } && test -s conftest$ac_exeext &&
14251 $as_test_x conftest$ac_exeext; then
14252 ac_cv_lib_audioio_AudioIOGetVersion=yes
14253 else
14254 echo "$as_me: failed program was:" >&5
14255 sed 's/^/| /' conftest.$ac_ext >&5
14257 ac_cv_lib_audioio_AudioIOGetVersion=no
14260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14261 conftest$ac_exeext conftest.$ac_ext
14262 LIBS=$ac_check_lib_save_LIBS
14264 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14265 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14266 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14267 AUDIOIOLIBS="-laudioio"
14269 cat >>confdefs.h <<\_ACEOF
14270 #define HAVE_LIBAUDIOIO 1
14271 _ACEOF
14278 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14279 then
14280 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14281 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14282 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14283 echo $ECHO_N "(cached) $ECHO_C" >&6
14284 else
14285 ac_check_soname_save_LIBS=$LIBS
14286 LIBS="-lcapi20 $LIBS"
14287 cat >conftest.$ac_ext <<_ACEOF
14288 /* confdefs.h. */
14289 _ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14294 /* Override any GCC internal prototype to avoid an error.
14295 Use char because int might match the return type of a GCC
14296 builtin and then its argument prototype would still apply. */
14297 #ifdef __cplusplus
14298 extern "C"
14299 #endif
14300 char capi20_register ();
14302 main ()
14304 return capi20_register ();
14306 return 0;
14308 _ACEOF
14309 rm -f conftest.$ac_objext conftest$ac_exeext
14310 if { (ac_try="$ac_link"
14311 case "(($ac_try" in
14312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14313 *) ac_try_echo=$ac_try;;
14314 esac
14315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14316 (eval "$ac_link") 2>conftest.er1
14317 ac_status=$?
14318 grep -v '^ *+' conftest.er1 >conftest.err
14319 rm -f conftest.er1
14320 cat conftest.err >&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } && {
14323 test -z "$ac_c_werror_flag" ||
14324 test ! -s conftest.err
14325 } && test -s conftest$ac_exeext &&
14326 $as_test_x conftest$ac_exeext; then
14327 case "$LIBEXT" in
14328 dll) ;;
14329 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'` ;;
14330 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14331 esac
14332 else
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14340 conftest$ac_exeext conftest.$ac_ext
14341 LIBS=$ac_check_soname_save_LIBS
14343 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14344 { echo "$as_me:$LINENO: result: not found" >&5
14345 echo "${ECHO_T}not found" >&6; }
14347 else
14348 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14349 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14351 cat >>confdefs.h <<_ACEOF
14352 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14353 _ACEOF
14359 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14360 wine_notices="$wine_notices|libcapi20 development files not found.
14361 Wine will be built without ISDN support. (capi2032.dll)"
14365 if test "$ac_cv_header_cups_cups_h" = "yes"
14366 then
14367 { echo "$as_me:$LINENO: checking for -lcups" >&5
14368 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14369 if test "${ac_cv_lib_soname_cups+set}" = set; then
14370 echo $ECHO_N "(cached) $ECHO_C" >&6
14371 else
14372 ac_check_soname_save_LIBS=$LIBS
14373 LIBS="-lcups $LIBS"
14374 cat >conftest.$ac_ext <<_ACEOF
14375 /* confdefs.h. */
14376 _ACEOF
14377 cat confdefs.h >>conftest.$ac_ext
14378 cat >>conftest.$ac_ext <<_ACEOF
14379 /* end confdefs.h. */
14381 /* Override any GCC internal prototype to avoid an error.
14382 Use char because int might match the return type of a GCC
14383 builtin and then its argument prototype would still apply. */
14384 #ifdef __cplusplus
14385 extern "C"
14386 #endif
14387 char cupsGetDefault ();
14389 main ()
14391 return cupsGetDefault ();
14393 return 0;
14395 _ACEOF
14396 rm -f conftest.$ac_objext conftest$ac_exeext
14397 if { (ac_try="$ac_link"
14398 case "(($ac_try" in
14399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14400 *) ac_try_echo=$ac_try;;
14401 esac
14402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14403 (eval "$ac_link") 2>conftest.er1
14404 ac_status=$?
14405 grep -v '^ *+' conftest.er1 >conftest.err
14406 rm -f conftest.er1
14407 cat conftest.err >&5
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); } && {
14410 test -z "$ac_c_werror_flag" ||
14411 test ! -s conftest.err
14412 } && test -s conftest$ac_exeext &&
14413 $as_test_x conftest$ac_exeext; then
14414 case "$LIBEXT" in
14415 dll) ;;
14416 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'` ;;
14417 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14418 esac
14419 else
14420 echo "$as_me: failed program was:" >&5
14421 sed 's/^/| /' conftest.$ac_ext >&5
14426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14427 conftest$ac_exeext conftest.$ac_ext
14428 LIBS=$ac_check_soname_save_LIBS
14430 if test "x$ac_cv_lib_soname_cups" = "x"; then
14431 { echo "$as_me:$LINENO: result: not found" >&5
14432 echo "${ECHO_T}not found" >&6; }
14434 else
14435 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14436 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14438 cat >>confdefs.h <<_ACEOF
14439 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14440 _ACEOF
14446 if test "x$ac_cv_lib_soname_cups" = "x"; then
14447 wine_notices="$wine_notices|libcups development files not found.
14448 Wine will be built without CUPS support."
14452 if test "$ac_cv_header_jack_jack_h" = "yes"
14453 then
14454 { echo "$as_me:$LINENO: checking for -ljack" >&5
14455 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14456 if test "${ac_cv_lib_soname_jack+set}" = set; then
14457 echo $ECHO_N "(cached) $ECHO_C" >&6
14458 else
14459 ac_check_soname_save_LIBS=$LIBS
14460 LIBS="-ljack $LIBS"
14461 cat >conftest.$ac_ext <<_ACEOF
14462 /* confdefs.h. */
14463 _ACEOF
14464 cat confdefs.h >>conftest.$ac_ext
14465 cat >>conftest.$ac_ext <<_ACEOF
14466 /* end confdefs.h. */
14468 /* Override any GCC internal prototype to avoid an error.
14469 Use char because int might match the return type of a GCC
14470 builtin and then its argument prototype would still apply. */
14471 #ifdef __cplusplus
14472 extern "C"
14473 #endif
14474 char jack_client_new ();
14476 main ()
14478 return jack_client_new ();
14480 return 0;
14482 _ACEOF
14483 rm -f conftest.$ac_objext conftest$ac_exeext
14484 if { (ac_try="$ac_link"
14485 case "(($ac_try" in
14486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14487 *) ac_try_echo=$ac_try;;
14488 esac
14489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14490 (eval "$ac_link") 2>conftest.er1
14491 ac_status=$?
14492 grep -v '^ *+' conftest.er1 >conftest.err
14493 rm -f conftest.er1
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } && {
14497 test -z "$ac_c_werror_flag" ||
14498 test ! -s conftest.err
14499 } && test -s conftest$ac_exeext &&
14500 $as_test_x conftest$ac_exeext; then
14501 case "$LIBEXT" in
14502 dll) ;;
14503 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'` ;;
14504 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14505 esac
14506 else
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14514 conftest$ac_exeext conftest.$ac_ext
14515 LIBS=$ac_check_soname_save_LIBS
14517 if test "x$ac_cv_lib_soname_jack" = "x"; then
14518 { echo "$as_me:$LINENO: result: not found" >&5
14519 echo "${ECHO_T}not found" >&6; }
14521 else
14522 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14523 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14525 cat >>confdefs.h <<_ACEOF
14526 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14527 _ACEOF
14534 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14535 then
14536 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14537 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14538 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14539 echo $ECHO_N "(cached) $ECHO_C" >&6
14540 else
14541 ac_check_soname_save_LIBS=$LIBS
14542 LIBS="-lfontconfig $LIBS"
14543 cat >conftest.$ac_ext <<_ACEOF
14544 /* confdefs.h. */
14545 _ACEOF
14546 cat confdefs.h >>conftest.$ac_ext
14547 cat >>conftest.$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14550 /* Override any GCC internal prototype to avoid an error.
14551 Use char because int might match the return type of a GCC
14552 builtin and then its argument prototype would still apply. */
14553 #ifdef __cplusplus
14554 extern "C"
14555 #endif
14556 char FcInit ();
14558 main ()
14560 return FcInit ();
14562 return 0;
14564 _ACEOF
14565 rm -f conftest.$ac_objext conftest$ac_exeext
14566 if { (ac_try="$ac_link"
14567 case "(($ac_try" in
14568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14569 *) ac_try_echo=$ac_try;;
14570 esac
14571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14572 (eval "$ac_link") 2>conftest.er1
14573 ac_status=$?
14574 grep -v '^ *+' conftest.er1 >conftest.err
14575 rm -f conftest.er1
14576 cat conftest.err >&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); } && {
14579 test -z "$ac_c_werror_flag" ||
14580 test ! -s conftest.err
14581 } && test -s conftest$ac_exeext &&
14582 $as_test_x conftest$ac_exeext; then
14583 case "$LIBEXT" in
14584 dll) ;;
14585 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'` ;;
14586 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14587 esac
14588 else
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.$ac_ext >&5
14595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14596 conftest$ac_exeext conftest.$ac_ext
14597 LIBS=$ac_check_soname_save_LIBS
14599 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14600 { echo "$as_me:$LINENO: result: not found" >&5
14601 echo "${ECHO_T}not found" >&6; }
14603 else
14604 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14605 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14607 cat >>confdefs.h <<_ACEOF
14608 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14609 _ACEOF
14614 elif test -n "$X_CFLAGS"
14615 then
14616 ac_save_CPPFLAGS="$CPPFLAGS"
14617 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14618 $as_unset ac_cv_header_fontconfig_fontconfig_h
14620 for ac_header in fontconfig/fontconfig.h
14622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14627 echo $ECHO_N "(cached) $ECHO_C" >&6
14629 ac_res=`eval echo '${'$as_ac_Header'}'`
14630 { echo "$as_me:$LINENO: result: $ac_res" >&5
14631 echo "${ECHO_T}$ac_res" >&6; }
14632 else
14633 # Is the header compilable?
14634 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14636 cat >conftest.$ac_ext <<_ACEOF
14637 /* confdefs.h. */
14638 _ACEOF
14639 cat confdefs.h >>conftest.$ac_ext
14640 cat >>conftest.$ac_ext <<_ACEOF
14641 /* end confdefs.h. */
14642 $ac_includes_default
14643 #include <$ac_header>
14644 _ACEOF
14645 rm -f conftest.$ac_objext
14646 if { (ac_try="$ac_compile"
14647 case "(($ac_try" in
14648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14649 *) ac_try_echo=$ac_try;;
14650 esac
14651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14652 (eval "$ac_compile") 2>conftest.er1
14653 ac_status=$?
14654 grep -v '^ *+' conftest.er1 >conftest.err
14655 rm -f conftest.er1
14656 cat conftest.err >&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } && {
14659 test -z "$ac_c_werror_flag" ||
14660 test ! -s conftest.err
14661 } && test -s conftest.$ac_objext; then
14662 ac_header_compiler=yes
14663 else
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.$ac_ext >&5
14667 ac_header_compiler=no
14670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14671 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14672 echo "${ECHO_T}$ac_header_compiler" >&6; }
14674 # Is the header present?
14675 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14676 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14677 cat >conftest.$ac_ext <<_ACEOF
14678 /* confdefs.h. */
14679 _ACEOF
14680 cat confdefs.h >>conftest.$ac_ext
14681 cat >>conftest.$ac_ext <<_ACEOF
14682 /* end confdefs.h. */
14683 #include <$ac_header>
14684 _ACEOF
14685 if { (ac_try="$ac_cpp conftest.$ac_ext"
14686 case "(($ac_try" in
14687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14688 *) ac_try_echo=$ac_try;;
14689 esac
14690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14691 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14692 ac_status=$?
14693 grep -v '^ *+' conftest.er1 >conftest.err
14694 rm -f conftest.er1
14695 cat conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } >/dev/null && {
14698 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14699 test ! -s conftest.err
14700 }; then
14701 ac_header_preproc=yes
14702 else
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14706 ac_header_preproc=no
14709 rm -f conftest.err conftest.$ac_ext
14710 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14711 echo "${ECHO_T}$ac_header_preproc" >&6; }
14713 # So? What about this header?
14714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14715 yes:no: )
14716 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14717 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14718 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14719 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14720 ac_header_preproc=yes
14722 no:yes:* )
14723 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14724 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14725 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14726 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14727 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14728 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14729 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14730 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14733 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14734 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14735 ( cat <<\_ASBOX
14736 ## ------------------------------------ ##
14737 ## Report this to wine-devel@winehq.org ##
14738 ## ------------------------------------ ##
14739 _ASBOX
14740 ) | sed "s/^/$as_me: WARNING: /" >&2
14742 esac
14743 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14745 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14746 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 else
14748 eval "$as_ac_Header=\$ac_header_preproc"
14750 ac_res=`eval echo '${'$as_ac_Header'}'`
14751 { echo "$as_me:$LINENO: result: $ac_res" >&5
14752 echo "${ECHO_T}$ac_res" >&6; }
14755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14756 cat >>confdefs.h <<_ACEOF
14757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14758 _ACEOF
14762 done
14764 CPPFLAGS="$ac_save_CPPFLAGS"
14765 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14766 then
14767 FONTCONFIGINCL="$X_CFLAGS"
14769 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14770 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14771 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14772 echo $ECHO_N "(cached) $ECHO_C" >&6
14773 else
14774 ac_check_soname_save_LIBS=$LIBS
14775 LIBS="-lfontconfig $X_LIBS $LIBS"
14776 cat >conftest.$ac_ext <<_ACEOF
14777 /* confdefs.h. */
14778 _ACEOF
14779 cat confdefs.h >>conftest.$ac_ext
14780 cat >>conftest.$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14783 /* Override any GCC internal prototype to avoid an error.
14784 Use char because int might match the return type of a GCC
14785 builtin and then its argument prototype would still apply. */
14786 #ifdef __cplusplus
14787 extern "C"
14788 #endif
14789 char FcInit ();
14791 main ()
14793 return FcInit ();
14795 return 0;
14797 _ACEOF
14798 rm -f conftest.$ac_objext conftest$ac_exeext
14799 if { (ac_try="$ac_link"
14800 case "(($ac_try" in
14801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14802 *) ac_try_echo=$ac_try;;
14803 esac
14804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14805 (eval "$ac_link") 2>conftest.er1
14806 ac_status=$?
14807 grep -v '^ *+' conftest.er1 >conftest.err
14808 rm -f conftest.er1
14809 cat conftest.err >&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } && {
14812 test -z "$ac_c_werror_flag" ||
14813 test ! -s conftest.err
14814 } && test -s conftest$ac_exeext &&
14815 $as_test_x conftest$ac_exeext; then
14816 case "$LIBEXT" in
14817 dll) ;;
14818 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'` ;;
14819 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14820 esac
14821 else
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.$ac_ext >&5
14828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14829 conftest$ac_exeext conftest.$ac_ext
14830 LIBS=$ac_check_soname_save_LIBS
14832 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14833 { echo "$as_me:$LINENO: result: not found" >&5
14834 echo "${ECHO_T}not found" >&6; }
14836 else
14837 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14838 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14840 cat >>confdefs.h <<_ACEOF
14841 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14842 _ACEOF
14849 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14850 wine_notices="$wine_notices|fontconfig development files not found.
14851 Wine will be built without fontconfig support."
14855 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14856 then
14857 { echo "$as_me:$LINENO: checking for -lssl" >&5
14858 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14859 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14861 else
14862 ac_check_soname_save_LIBS=$LIBS
14863 LIBS="-lssl $LIBS"
14864 cat >conftest.$ac_ext <<_ACEOF
14865 /* confdefs.h. */
14866 _ACEOF
14867 cat confdefs.h >>conftest.$ac_ext
14868 cat >>conftest.$ac_ext <<_ACEOF
14869 /* end confdefs.h. */
14871 /* Override any GCC internal prototype to avoid an error.
14872 Use char because int might match the return type of a GCC
14873 builtin and then its argument prototype would still apply. */
14874 #ifdef __cplusplus
14875 extern "C"
14876 #endif
14877 char SSL_library_init ();
14879 main ()
14881 return SSL_library_init ();
14883 return 0;
14885 _ACEOF
14886 rm -f conftest.$ac_objext conftest$ac_exeext
14887 if { (ac_try="$ac_link"
14888 case "(($ac_try" in
14889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14891 esac
14892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_link") 2>conftest.er1
14894 ac_status=$?
14895 grep -v '^ *+' conftest.er1 >conftest.err
14896 rm -f conftest.er1
14897 cat conftest.err >&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } && {
14900 test -z "$ac_c_werror_flag" ||
14901 test ! -s conftest.err
14902 } && test -s conftest$ac_exeext &&
14903 $as_test_x conftest$ac_exeext; then
14904 case "$LIBEXT" in
14905 dll) ;;
14906 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'` ;;
14907 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14908 esac
14909 else
14910 echo "$as_me: failed program was:" >&5
14911 sed 's/^/| /' conftest.$ac_ext >&5
14916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14917 conftest$ac_exeext conftest.$ac_ext
14918 LIBS=$ac_check_soname_save_LIBS
14920 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14921 { echo "$as_me:$LINENO: result: not found" >&5
14922 echo "${ECHO_T}not found" >&6; }
14924 else
14925 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14926 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14928 cat >>confdefs.h <<_ACEOF
14929 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14930 _ACEOF
14935 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14936 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14937 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14939 else
14940 ac_check_soname_save_LIBS=$LIBS
14941 LIBS="-lcrypto $LIBS"
14942 cat >conftest.$ac_ext <<_ACEOF
14943 /* confdefs.h. */
14944 _ACEOF
14945 cat confdefs.h >>conftest.$ac_ext
14946 cat >>conftest.$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14952 #ifdef __cplusplus
14953 extern "C"
14954 #endif
14955 char BIO_new_socket ();
14957 main ()
14959 return BIO_new_socket ();
14961 return 0;
14963 _ACEOF
14964 rm -f conftest.$ac_objext conftest$ac_exeext
14965 if { (ac_try="$ac_link"
14966 case "(($ac_try" in
14967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14968 *) ac_try_echo=$ac_try;;
14969 esac
14970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14971 (eval "$ac_link") 2>conftest.er1
14972 ac_status=$?
14973 grep -v '^ *+' conftest.er1 >conftest.err
14974 rm -f conftest.er1
14975 cat conftest.err >&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); } && {
14978 test -z "$ac_c_werror_flag" ||
14979 test ! -s conftest.err
14980 } && test -s conftest$ac_exeext &&
14981 $as_test_x conftest$ac_exeext; then
14982 case "$LIBEXT" in
14983 dll) ;;
14984 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'` ;;
14985 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14986 esac
14987 else
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.$ac_ext >&5
14994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14995 conftest$ac_exeext conftest.$ac_ext
14996 LIBS=$ac_check_soname_save_LIBS
14998 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14999 { echo "$as_me:$LINENO: result: not found" >&5
15000 echo "${ECHO_T}not found" >&6; }
15002 else
15003 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15004 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15006 cat >>confdefs.h <<_ACEOF
15007 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15008 _ACEOF
15014 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15015 wine_notices="$wine_notices|OpenSSL development files not found.
15016 Wine will be built without SSL support. (wininet.dll)"
15020 if test "$ac_cv_header_jpeglib_h" = "yes"
15021 then
15022 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15023 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15024 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15025 echo $ECHO_N "(cached) $ECHO_C" >&6
15026 else
15027 ac_check_soname_save_LIBS=$LIBS
15028 LIBS="-ljpeg $LIBS"
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h. */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15036 /* Override any GCC internal prototype to avoid an error.
15037 Use char because int might match the return type of a GCC
15038 builtin and then its argument prototype would still apply. */
15039 #ifdef __cplusplus
15040 extern "C"
15041 #endif
15042 char jpeg_start_decompress ();
15044 main ()
15046 return jpeg_start_decompress ();
15048 return 0;
15050 _ACEOF
15051 rm -f conftest.$ac_objext conftest$ac_exeext
15052 if { (ac_try="$ac_link"
15053 case "(($ac_try" in
15054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15055 *) ac_try_echo=$ac_try;;
15056 esac
15057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15058 (eval "$ac_link") 2>conftest.er1
15059 ac_status=$?
15060 grep -v '^ *+' conftest.er1 >conftest.err
15061 rm -f conftest.er1
15062 cat conftest.err >&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } && {
15065 test -z "$ac_c_werror_flag" ||
15066 test ! -s conftest.err
15067 } && test -s conftest$ac_exeext &&
15068 $as_test_x conftest$ac_exeext; then
15069 case "$LIBEXT" in
15070 dll) ;;
15071 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'` ;;
15072 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15073 esac
15074 else
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.$ac_ext >&5
15081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15082 conftest$ac_exeext conftest.$ac_ext
15083 LIBS=$ac_check_soname_save_LIBS
15085 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15086 { echo "$as_me:$LINENO: result: not found" >&5
15087 echo "${ECHO_T}not found" >&6; }
15089 else
15090 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15091 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15093 cat >>confdefs.h <<_ACEOF
15094 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15095 _ACEOF
15101 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15102 wine_notices="$wine_notices|libjpeg development files not found.
15103 Wine will be built without JPEG support. (oleaut32.dll)"
15107 if test "$ac_cv_header_png_h" = "yes"
15108 then
15109 { echo "$as_me:$LINENO: checking for -lpng" >&5
15110 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15111 if test "${ac_cv_lib_soname_png+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 else
15114 ac_check_soname_save_LIBS=$LIBS
15115 LIBS="-lpng $LIBS"
15116 cat >conftest.$ac_ext <<_ACEOF
15117 /* confdefs.h. */
15118 _ACEOF
15119 cat confdefs.h >>conftest.$ac_ext
15120 cat >>conftest.$ac_ext <<_ACEOF
15121 /* end confdefs.h. */
15123 /* Override any GCC internal prototype to avoid an error.
15124 Use char because int might match the return type of a GCC
15125 builtin and then its argument prototype would still apply. */
15126 #ifdef __cplusplus
15127 extern "C"
15128 #endif
15129 char png_create_read_struct ();
15131 main ()
15133 return png_create_read_struct ();
15135 return 0;
15137 _ACEOF
15138 rm -f conftest.$ac_objext conftest$ac_exeext
15139 if { (ac_try="$ac_link"
15140 case "(($ac_try" in
15141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15142 *) ac_try_echo=$ac_try;;
15143 esac
15144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15145 (eval "$ac_link") 2>conftest.er1
15146 ac_status=$?
15147 grep -v '^ *+' conftest.er1 >conftest.err
15148 rm -f conftest.er1
15149 cat conftest.err >&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } && {
15152 test -z "$ac_c_werror_flag" ||
15153 test ! -s conftest.err
15154 } && test -s conftest$ac_exeext &&
15155 $as_test_x conftest$ac_exeext; then
15156 case "$LIBEXT" in
15157 dll) ;;
15158 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'` ;;
15159 *) 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'` ;;
15160 esac
15161 else
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.$ac_ext >&5
15168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15169 conftest$ac_exeext conftest.$ac_ext
15170 LIBS=$ac_check_soname_save_LIBS
15172 if test "x$ac_cv_lib_soname_png" = "x"; then
15173 { echo "$as_me:$LINENO: result: not found" >&5
15174 echo "${ECHO_T}not found" >&6; }
15176 else
15177 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15178 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15180 cat >>confdefs.h <<_ACEOF
15181 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15182 _ACEOF
15188 if test "x$ac_cv_lib_soname_png" = "x"; then
15189 wine_notices="$wine_notices|libpng development files not found.
15190 Wine will be built without PNG support. (oleaut32.dll)"
15194 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15195 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15196 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15197 "$ac_cv_header_soundcard_h" != "yes"; then
15198 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15203 EXTRACFLAGS=""
15205 if test "x${GCC}" = "xyes"
15206 then
15207 EXTRACFLAGS="-Wall -pipe"
15209 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15210 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15211 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15213 else
15214 if test "$cross_compiling" = yes; then
15215 ac_cv_c_gcc_strength_bug="yes"
15216 else
15217 cat >conftest.$ac_ext <<_ACEOF
15218 /* confdefs.h. */
15219 _ACEOF
15220 cat confdefs.h >>conftest.$ac_ext
15221 cat >>conftest.$ac_ext <<_ACEOF
15222 /* end confdefs.h. */
15223 int L[4] = {0,1,2,3};
15225 main ()
15227 static int Array[3];
15228 unsigned int B = 3;
15229 int i;
15230 for(i=0; i<B; i++) Array[i] = i - 3;
15231 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15232 L[i] = 4;
15233 exit( Array[1] != -2 || L[2] != 3)
15235 return 0;
15237 _ACEOF
15238 rm -f conftest$ac_exeext
15239 if { (ac_try="$ac_link"
15240 case "(($ac_try" in
15241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15242 *) ac_try_echo=$ac_try;;
15243 esac
15244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15245 (eval "$ac_link") 2>&5
15246 ac_status=$?
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15249 { (case "(($ac_try" in
15250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15251 *) ac_try_echo=$ac_try;;
15252 esac
15253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15254 (eval "$ac_try") 2>&5
15255 ac_status=$?
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_cv_c_gcc_strength_bug="no"
15259 else
15260 echo "$as_me: program exited with status $ac_status" >&5
15261 echo "$as_me: failed program was:" >&5
15262 sed 's/^/| /' conftest.$ac_ext >&5
15264 ( exit $ac_status )
15265 ac_cv_c_gcc_strength_bug="yes"
15267 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15272 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15273 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15274 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15275 then
15276 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15280 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15281 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15282 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15284 else
15285 ac_wine_try_cflags_saved=$CFLAGS
15286 CFLAGS="$CFLAGS -fshort-wchar"
15287 cat >conftest.$ac_ext <<_ACEOF
15288 /* confdefs.h. */
15289 _ACEOF
15290 cat confdefs.h >>conftest.$ac_ext
15291 cat >>conftest.$ac_ext <<_ACEOF
15292 /* end confdefs.h. */
15295 main ()
15299 return 0;
15301 _ACEOF
15302 rm -f conftest.$ac_objext conftest$ac_exeext
15303 if { (ac_try="$ac_link"
15304 case "(($ac_try" in
15305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15306 *) ac_try_echo=$ac_try;;
15307 esac
15308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15309 (eval "$ac_link") 2>conftest.er1
15310 ac_status=$?
15311 grep -v '^ *+' conftest.er1 >conftest.err
15312 rm -f conftest.er1
15313 cat conftest.err >&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } && {
15316 test -z "$ac_c_werror_flag" ||
15317 test ! -s conftest.err
15318 } && test -s conftest$ac_exeext &&
15319 $as_test_x conftest$ac_exeext; then
15320 ac_cv_cflags__fshort_wchar=yes
15321 else
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.$ac_ext >&5
15325 ac_cv_cflags__fshort_wchar=no
15328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15329 conftest$ac_exeext conftest.$ac_ext
15330 CFLAGS=$ac_wine_try_cflags_saved
15332 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15333 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15334 if test $ac_cv_cflags__fshort_wchar = yes; then
15336 cat >>confdefs.h <<\_ACEOF
15337 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15338 _ACEOF
15342 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15343 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15344 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15345 echo $ECHO_N "(cached) $ECHO_C" >&6
15346 else
15347 ac_wine_try_cflags_saved=$CFLAGS
15348 CFLAGS="$CFLAGS -fno-strict-aliasing"
15349 cat >conftest.$ac_ext <<_ACEOF
15350 /* confdefs.h. */
15351 _ACEOF
15352 cat confdefs.h >>conftest.$ac_ext
15353 cat >>conftest.$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15357 main ()
15361 return 0;
15363 _ACEOF
15364 rm -f conftest.$ac_objext conftest$ac_exeext
15365 if { (ac_try="$ac_link"
15366 case "(($ac_try" in
15367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15368 *) ac_try_echo=$ac_try;;
15369 esac
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_link") 2>conftest.er1
15372 ac_status=$?
15373 grep -v '^ *+' conftest.er1 >conftest.err
15374 rm -f conftest.er1
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest$ac_exeext &&
15381 $as_test_x conftest$ac_exeext; then
15382 ac_cv_cflags__fno_strict_aliasing=yes
15383 else
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15387 ac_cv_cflags__fno_strict_aliasing=no
15390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15391 conftest$ac_exeext conftest.$ac_ext
15392 CFLAGS=$ac_wine_try_cflags_saved
15394 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15395 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15396 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15397 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15400 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15401 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15402 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15403 echo $ECHO_N "(cached) $ECHO_C" >&6
15404 else
15405 ac_wine_try_cflags_saved=$CFLAGS
15406 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15407 cat >conftest.$ac_ext <<_ACEOF
15408 /* confdefs.h. */
15409 _ACEOF
15410 cat confdefs.h >>conftest.$ac_ext
15411 cat >>conftest.$ac_ext <<_ACEOF
15412 /* end confdefs.h. */
15415 main ()
15419 return 0;
15421 _ACEOF
15422 rm -f conftest.$ac_objext conftest$ac_exeext
15423 if { (ac_try="$ac_link"
15424 case "(($ac_try" in
15425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15426 *) ac_try_echo=$ac_try;;
15427 esac
15428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15429 (eval "$ac_link") 2>conftest.er1
15430 ac_status=$?
15431 grep -v '^ *+' conftest.er1 >conftest.err
15432 rm -f conftest.er1
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } && {
15436 test -z "$ac_c_werror_flag" ||
15437 test ! -s conftest.err
15438 } && test -s conftest$ac_exeext &&
15439 $as_test_x conftest$ac_exeext; then
15440 ac_cv_cflags__Wdeclaration_after_statement=yes
15441 else
15442 echo "$as_me: failed program was:" >&5
15443 sed 's/^/| /' conftest.$ac_ext >&5
15445 ac_cv_cflags__Wdeclaration_after_statement=no
15448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15449 conftest$ac_exeext conftest.$ac_ext
15450 CFLAGS=$ac_wine_try_cflags_saved
15452 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15453 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15454 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15455 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15458 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15459 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15460 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 else
15463 ac_wine_try_cflags_saved=$CFLAGS
15464 CFLAGS="$CFLAGS -Wwrite-strings"
15465 cat >conftest.$ac_ext <<_ACEOF
15466 /* confdefs.h. */
15467 _ACEOF
15468 cat confdefs.h >>conftest.$ac_ext
15469 cat >>conftest.$ac_ext <<_ACEOF
15470 /* end confdefs.h. */
15473 main ()
15477 return 0;
15479 _ACEOF
15480 rm -f conftest.$ac_objext conftest$ac_exeext
15481 if { (ac_try="$ac_link"
15482 case "(($ac_try" in
15483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15484 *) ac_try_echo=$ac_try;;
15485 esac
15486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_link") 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } && {
15494 test -z "$ac_c_werror_flag" ||
15495 test ! -s conftest.err
15496 } && test -s conftest$ac_exeext &&
15497 $as_test_x conftest$ac_exeext; then
15498 ac_cv_cflags__Wwrite_strings=yes
15499 else
15500 echo "$as_me: failed program was:" >&5
15501 sed 's/^/| /' conftest.$ac_ext >&5
15503 ac_cv_cflags__Wwrite_strings=no
15506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15507 conftest$ac_exeext conftest.$ac_ext
15508 CFLAGS=$ac_wine_try_cflags_saved
15510 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15511 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15512 if test $ac_cv_cflags__Wwrite_strings = yes; then
15513 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15517 saved_CFLAGS="$CFLAGS"
15518 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15519 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15520 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15521 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15522 echo $ECHO_N "(cached) $ECHO_C" >&6
15523 else
15524 cat >conftest.$ac_ext <<_ACEOF
15525 /* confdefs.h. */
15526 _ACEOF
15527 cat confdefs.h >>conftest.$ac_ext
15528 cat >>conftest.$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15530 #include <string.h>
15532 main ()
15536 return 0;
15538 _ACEOF
15539 rm -f conftest.$ac_objext
15540 if { (ac_try="$ac_compile"
15541 case "(($ac_try" in
15542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15543 *) ac_try_echo=$ac_try;;
15544 esac
15545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15546 (eval "$ac_compile") 2>conftest.er1
15547 ac_status=$?
15548 grep -v '^ *+' conftest.er1 >conftest.err
15549 rm -f conftest.er1
15550 cat conftest.err >&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); } && {
15553 test -z "$ac_c_werror_flag" ||
15554 test ! -s conftest.err
15555 } && test -s conftest.$ac_objext; then
15556 ac_cv_c_string_h_warnings=no
15557 else
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15561 ac_cv_c_string_h_warnings=yes
15564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15566 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15567 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15568 CFLAGS="$saved_CFLAGS"
15569 if test "$ac_cv_c_string_h_warnings" = "no"
15570 then
15571 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15574 BUILTINFLAG=""
15576 saved_CFLAGS="$CFLAGS"
15577 CFLAGS="$CFLAGS -Werror"
15578 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15579 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15580 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15581 echo $ECHO_N "(cached) $ECHO_C" >&6
15582 else
15583 cat >conftest.$ac_ext <<_ACEOF
15584 /* confdefs.h. */
15585 _ACEOF
15586 cat confdefs.h >>conftest.$ac_ext
15587 cat >>conftest.$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15591 main ()
15593 int iswlower(unsigned short);
15595 return 0;
15597 _ACEOF
15598 rm -f conftest.$ac_objext
15599 if { (ac_try="$ac_compile"
15600 case "(($ac_try" in
15601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15602 *) ac_try_echo=$ac_try;;
15603 esac
15604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15605 (eval "$ac_compile") 2>conftest.er1
15606 ac_status=$?
15607 grep -v '^ *+' conftest.er1 >conftest.err
15608 rm -f conftest.er1
15609 cat conftest.err >&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); } && {
15612 test -z "$ac_c_werror_flag" ||
15613 test ! -s conftest.err
15614 } && test -s conftest.$ac_objext; then
15615 ac_cv_c_builtin_wchar_ctype=no
15616 else
15617 echo "$as_me: failed program was:" >&5
15618 sed 's/^/| /' conftest.$ac_ext >&5
15620 ac_cv_c_builtin_wchar_ctype=yes
15623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15625 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15626 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15627 CFLAGS="$saved_CFLAGS"
15628 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15629 then
15630 BUILTINFLAG="-fno-builtin"
15635 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15636 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15637 if test "${ac_cv_asm_func_def+set}" = set; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 else
15640 cat >conftest.$ac_ext <<_ACEOF
15641 /* confdefs.h. */
15642 _ACEOF
15643 cat confdefs.h >>conftest.$ac_ext
15644 cat >>conftest.$ac_ext <<_ACEOF
15645 /* end confdefs.h. */
15648 main ()
15650 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15652 return 0;
15654 _ACEOF
15655 rm -f conftest.$ac_objext conftest$ac_exeext
15656 if { (ac_try="$ac_link"
15657 case "(($ac_try" in
15658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15659 *) ac_try_echo=$ac_try;;
15660 esac
15661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15662 (eval "$ac_link") 2>conftest.er1
15663 ac_status=$?
15664 grep -v '^ *+' conftest.er1 >conftest.err
15665 rm -f conftest.er1
15666 cat conftest.err >&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } && {
15669 test -z "$ac_c_werror_flag" ||
15670 test ! -s conftest.err
15671 } && test -s conftest$ac_exeext &&
15672 $as_test_x conftest$ac_exeext; then
15673 ac_cv_asm_func_def=".def"
15674 else
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.$ac_ext >&5
15678 cat >conftest.$ac_ext <<_ACEOF
15679 /* confdefs.h. */
15680 _ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15686 main ()
15688 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15690 return 0;
15692 _ACEOF
15693 rm -f conftest.$ac_objext conftest$ac_exeext
15694 if { (ac_try="$ac_link"
15695 case "(($ac_try" in
15696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15697 *) ac_try_echo=$ac_try;;
15698 esac
15699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15700 (eval "$ac_link") 2>conftest.er1
15701 ac_status=$?
15702 grep -v '^ *+' conftest.er1 >conftest.err
15703 rm -f conftest.er1
15704 cat conftest.err >&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } && {
15707 test -z "$ac_c_werror_flag" ||
15708 test ! -s conftest.err
15709 } && test -s conftest$ac_exeext &&
15710 $as_test_x conftest$ac_exeext; then
15711 ac_cv_asm_func_def=".type @function"
15712 else
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15716 cat >conftest.$ac_ext <<_ACEOF
15717 /* confdefs.h. */
15718 _ACEOF
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h. */
15724 main ()
15726 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15728 return 0;
15730 _ACEOF
15731 rm -f conftest.$ac_objext conftest$ac_exeext
15732 if { (ac_try="$ac_link"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15736 esac
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_link") 2>conftest.er1
15739 ac_status=$?
15740 grep -v '^ *+' conftest.er1 >conftest.err
15741 rm -f conftest.er1
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest$ac_exeext &&
15748 $as_test_x conftest$ac_exeext; then
15749 ac_cv_asm_func_def=".type 2"
15750 else
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15754 ac_cv_asm_func_def="unknown"
15757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15758 conftest$ac_exeext conftest.$ac_ext
15761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15762 conftest$ac_exeext conftest.$ac_ext
15765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15766 conftest$ac_exeext conftest.$ac_ext
15768 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15769 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15773 case "$ac_cv_asm_func_def" in
15774 ".def")
15775 cat >>confdefs.h <<\_ACEOF
15776 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15777 _ACEOF
15779 ".type @function")
15780 cat >>confdefs.h <<\_ACEOF
15781 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15782 _ACEOF
15784 ".type 2")
15785 cat >>confdefs.h <<\_ACEOF
15786 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15787 _ACEOF
15790 cat >>confdefs.h <<\_ACEOF
15791 #define __ASM_FUNC(name) ""
15792 _ACEOF
15794 esac
15797 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15798 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15799 if test "${ac_cv_c_extern_prefix+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15801 else
15802 cat >conftest.$ac_ext <<_ACEOF
15803 /* confdefs.h. */
15804 _ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15808 extern int ac_test;
15810 main ()
15812 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15814 return 0;
15816 _ACEOF
15817 rm -f conftest.$ac_objext conftest$ac_exeext
15818 if { (ac_try="$ac_link"
15819 case "(($ac_try" in
15820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15821 *) ac_try_echo=$ac_try;;
15822 esac
15823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15824 (eval "$ac_link") 2>conftest.er1
15825 ac_status=$?
15826 grep -v '^ *+' conftest.er1 >conftest.err
15827 rm -f conftest.er1
15828 cat conftest.err >&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } && {
15831 test -z "$ac_c_werror_flag" ||
15832 test ! -s conftest.err
15833 } && test -s conftest$ac_exeext &&
15834 $as_test_x conftest$ac_exeext; then
15835 ac_cv_c_extern_prefix="yes"
15836 else
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.$ac_ext >&5
15840 ac_cv_c_extern_prefix="no"
15843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15844 conftest$ac_exeext conftest.$ac_ext
15846 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15847 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15851 if test "$ac_cv_c_extern_prefix" = "yes"
15852 then
15853 cat >>confdefs.h <<\_ACEOF
15854 #define __ASM_NAME(name) "_" name
15855 _ACEOF
15857 else
15858 cat >>confdefs.h <<\_ACEOF
15859 #define __ASM_NAME(name) name
15860 _ACEOF
15865 LDPATH=""
15867 case $build_os in
15868 cygwin*|mingw32*)
15869 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15871 darwin*|macosx*)
15873 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15874 then
15875 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15879 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15881 esac
15883 case $host_os in
15884 mingw32*)
15885 CRTLIBS="-lmsvcrt"
15887 SOCKETLIBS="-lws2_32"
15890 esac
15892 MAIN_BINARY="wine-pthread"
15893 case $host_cpu in
15894 *i[3456789]86*)
15895 case $host_os in
15896 linux* | k*bsd*-gnu)
15897 MAIN_BINARY="wine-glibc"
15899 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15901 freebsd*)
15902 MAIN_BINARY="wine-freebsd"
15904 EXTRA_BINARIES="wine-pthread"
15906 esac
15908 esac
15975 for ac_func in \
15976 _pclose \
15977 _popen \
15978 _snprintf \
15979 _spawnvp \
15980 _strdup \
15981 _stricmp \
15982 _strnicmp \
15983 _vsnprintf \
15984 asctime_r \
15985 chsize \
15986 clone \
15987 dlopen \
15988 epoll_create \
15989 ffs \
15990 finite \
15991 fork \
15992 fpclass \
15993 fstatfs \
15994 fstatvfs \
15995 ftruncate \
15996 futimes \
15997 futimesat \
15998 getdirentries \
15999 getopt_long \
16000 getpagesize \
16001 getpwuid \
16002 gettid \
16003 gettimeofday \
16004 getuid \
16005 inet_pton \
16006 kqueue \
16007 lstat \
16008 memmove \
16009 mmap \
16010 pclose \
16011 poll \
16012 popen \
16013 prctl \
16014 pread \
16015 pwrite \
16016 readlink \
16017 rfork \
16018 sched_yield \
16019 select \
16020 setrlimit \
16021 settimeofday \
16022 sigaltstack \
16023 sigprocmask \
16024 snprintf \
16025 spawnvp \
16026 statfs \
16027 statvfs \
16028 strcasecmp \
16029 strdup \
16030 strerror \
16031 strncasecmp \
16032 strtold \
16033 tcgetattr \
16034 thr_kill2 \
16035 timegm \
16036 usleep \
16037 vsnprintf \
16038 wait4 \
16039 waitpid \
16042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16043 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16047 else
16048 cat >conftest.$ac_ext <<_ACEOF
16049 /* confdefs.h. */
16050 _ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16056 #define $ac_func innocuous_$ac_func
16058 /* System header to define __stub macros and hopefully few prototypes,
16059 which can conflict with char $ac_func (); below.
16060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16061 <limits.h> exists even on freestanding compilers. */
16063 #ifdef __STDC__
16064 # include <limits.h>
16065 #else
16066 # include <assert.h>
16067 #endif
16069 #undef $ac_func
16071 /* Override any GCC internal prototype to avoid an error.
16072 Use char because int might match the return type of a GCC
16073 builtin and then its argument prototype would still apply. */
16074 #ifdef __cplusplus
16075 extern "C"
16076 #endif
16077 char $ac_func ();
16078 /* The GNU C library defines this for functions which it implements
16079 to always fail with ENOSYS. Some functions are actually named
16080 something starting with __ and the normal name is an alias. */
16081 #if defined __stub_$ac_func || defined __stub___$ac_func
16082 choke me
16083 #endif
16086 main ()
16088 return $ac_func ();
16090 return 0;
16092 _ACEOF
16093 rm -f conftest.$ac_objext conftest$ac_exeext
16094 if { (ac_try="$ac_link"
16095 case "(($ac_try" in
16096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16097 *) ac_try_echo=$ac_try;;
16098 esac
16099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16100 (eval "$ac_link") 2>conftest.er1
16101 ac_status=$?
16102 grep -v '^ *+' conftest.er1 >conftest.err
16103 rm -f conftest.er1
16104 cat conftest.err >&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } && {
16107 test -z "$ac_c_werror_flag" ||
16108 test ! -s conftest.err
16109 } && test -s conftest$ac_exeext &&
16110 $as_test_x conftest$ac_exeext; then
16111 eval "$as_ac_var=yes"
16112 else
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.$ac_ext >&5
16116 eval "$as_ac_var=no"
16119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16120 conftest$ac_exeext conftest.$ac_ext
16122 ac_res=`eval echo '${'$as_ac_var'}'`
16123 { echo "$as_me:$LINENO: result: $ac_res" >&5
16124 echo "${ECHO_T}$ac_res" >&6; }
16125 if test `eval echo '${'$as_ac_var'}'` = yes; then
16126 cat >>confdefs.h <<_ACEOF
16127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16128 _ACEOF
16131 done
16134 if test "$ac_cv_func_dlopen" = no
16135 then
16136 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16137 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16138 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16140 else
16141 ac_check_lib_save_LIBS=$LIBS
16142 LIBS="-ldl $LIBS"
16143 cat >conftest.$ac_ext <<_ACEOF
16144 /* confdefs.h. */
16145 _ACEOF
16146 cat confdefs.h >>conftest.$ac_ext
16147 cat >>conftest.$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16153 #ifdef __cplusplus
16154 extern "C"
16155 #endif
16156 char dlopen ();
16158 main ()
16160 return dlopen ();
16162 return 0;
16164 _ACEOF
16165 rm -f conftest.$ac_objext conftest$ac_exeext
16166 if { (ac_try="$ac_link"
16167 case "(($ac_try" in
16168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16169 *) ac_try_echo=$ac_try;;
16170 esac
16171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16172 (eval "$ac_link") 2>conftest.er1
16173 ac_status=$?
16174 grep -v '^ *+' conftest.er1 >conftest.err
16175 rm -f conftest.er1
16176 cat conftest.err >&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); } && {
16179 test -z "$ac_c_werror_flag" ||
16180 test ! -s conftest.err
16181 } && test -s conftest$ac_exeext &&
16182 $as_test_x conftest$ac_exeext; then
16183 ac_cv_lib_dl_dlopen=yes
16184 else
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16188 ac_cv_lib_dl_dlopen=no
16191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16192 conftest$ac_exeext conftest.$ac_ext
16193 LIBS=$ac_check_lib_save_LIBS
16195 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16196 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16197 if test $ac_cv_lib_dl_dlopen = yes; then
16198 cat >>confdefs.h <<\_ACEOF
16199 #define HAVE_DLOPEN 1
16200 _ACEOF
16201 LIBDL="-ldl"
16206 ac_wine_check_funcs_save_LIBS="$LIBS"
16207 LIBS="$LIBS $LIBDL"
16209 for ac_func in dladdr
16211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16215 echo $ECHO_N "(cached) $ECHO_C" >&6
16216 else
16217 cat >conftest.$ac_ext <<_ACEOF
16218 /* confdefs.h. */
16219 _ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16225 #define $ac_func innocuous_$ac_func
16227 /* System header to define __stub macros and hopefully few prototypes,
16228 which can conflict with char $ac_func (); below.
16229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16230 <limits.h> exists even on freestanding compilers. */
16232 #ifdef __STDC__
16233 # include <limits.h>
16234 #else
16235 # include <assert.h>
16236 #endif
16238 #undef $ac_func
16240 /* Override any GCC internal prototype to avoid an error.
16241 Use char because int might match the return type of a GCC
16242 builtin and then its argument prototype would still apply. */
16243 #ifdef __cplusplus
16244 extern "C"
16245 #endif
16246 char $ac_func ();
16247 /* The GNU C library defines this for functions which it implements
16248 to always fail with ENOSYS. Some functions are actually named
16249 something starting with __ and the normal name is an alias. */
16250 #if defined __stub_$ac_func || defined __stub___$ac_func
16251 choke me
16252 #endif
16255 main ()
16257 return $ac_func ();
16259 return 0;
16261 _ACEOF
16262 rm -f conftest.$ac_objext conftest$ac_exeext
16263 if { (ac_try="$ac_link"
16264 case "(($ac_try" in
16265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16266 *) ac_try_echo=$ac_try;;
16267 esac
16268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16269 (eval "$ac_link") 2>conftest.er1
16270 ac_status=$?
16271 grep -v '^ *+' conftest.er1 >conftest.err
16272 rm -f conftest.er1
16273 cat conftest.err >&5
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); } && {
16276 test -z "$ac_c_werror_flag" ||
16277 test ! -s conftest.err
16278 } && test -s conftest$ac_exeext &&
16279 $as_test_x conftest$ac_exeext; then
16280 eval "$as_ac_var=yes"
16281 else
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16285 eval "$as_ac_var=no"
16288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16289 conftest$ac_exeext conftest.$ac_ext
16291 ac_res=`eval echo '${'$as_ac_var'}'`
16292 { echo "$as_me:$LINENO: result: $ac_res" >&5
16293 echo "${ECHO_T}$ac_res" >&6; }
16294 if test `eval echo '${'$as_ac_var'}'` = yes; then
16295 cat >>confdefs.h <<_ACEOF
16296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16297 _ACEOF
16300 done
16302 LIBS="$ac_wine_check_funcs_save_LIBS"
16304 if test "$ac_cv_func_poll" = no
16305 then
16306 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16307 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16308 if test "${ac_cv_lib_poll_poll+set}" = set; then
16309 echo $ECHO_N "(cached) $ECHO_C" >&6
16310 else
16311 ac_check_lib_save_LIBS=$LIBS
16312 LIBS="-lpoll $LIBS"
16313 cat >conftest.$ac_ext <<_ACEOF
16314 /* confdefs.h. */
16315 _ACEOF
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16320 /* Override any GCC internal prototype to avoid an error.
16321 Use char because int might match the return type of a GCC
16322 builtin and then its argument prototype would still apply. */
16323 #ifdef __cplusplus
16324 extern "C"
16325 #endif
16326 char poll ();
16328 main ()
16330 return poll ();
16332 return 0;
16334 _ACEOF
16335 rm -f conftest.$ac_objext conftest$ac_exeext
16336 if { (ac_try="$ac_link"
16337 case "(($ac_try" in
16338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16339 *) ac_try_echo=$ac_try;;
16340 esac
16341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16342 (eval "$ac_link") 2>conftest.er1
16343 ac_status=$?
16344 grep -v '^ *+' conftest.er1 >conftest.err
16345 rm -f conftest.er1
16346 cat conftest.err >&5
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } && {
16349 test -z "$ac_c_werror_flag" ||
16350 test ! -s conftest.err
16351 } && test -s conftest$ac_exeext &&
16352 $as_test_x conftest$ac_exeext; then
16353 ac_cv_lib_poll_poll=yes
16354 else
16355 echo "$as_me: failed program was:" >&5
16356 sed 's/^/| /' conftest.$ac_ext >&5
16358 ac_cv_lib_poll_poll=no
16361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16362 conftest$ac_exeext conftest.$ac_ext
16363 LIBS=$ac_check_lib_save_LIBS
16365 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16366 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16367 if test $ac_cv_lib_poll_poll = yes; then
16368 cat >>confdefs.h <<\_ACEOF
16369 #define HAVE_POLL 1
16370 _ACEOF
16371 LIBPOLL="-lpoll"
16377 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16378 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16379 if test "${ac_cv_search_gethostbyname+set}" = set; then
16380 echo $ECHO_N "(cached) $ECHO_C" >&6
16381 else
16382 ac_func_search_save_LIBS=$LIBS
16383 cat >conftest.$ac_ext <<_ACEOF
16384 /* confdefs.h. */
16385 _ACEOF
16386 cat confdefs.h >>conftest.$ac_ext
16387 cat >>conftest.$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16390 /* Override any GCC internal prototype to avoid an error.
16391 Use char because int might match the return type of a GCC
16392 builtin and then its argument prototype would still apply. */
16393 #ifdef __cplusplus
16394 extern "C"
16395 #endif
16396 char gethostbyname ();
16398 main ()
16400 return gethostbyname ();
16402 return 0;
16404 _ACEOF
16405 for ac_lib in '' nsl; do
16406 if test -z "$ac_lib"; then
16407 ac_res="none required"
16408 else
16409 ac_res=-l$ac_lib
16410 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16412 rm -f conftest.$ac_objext conftest$ac_exeext
16413 if { (ac_try="$ac_link"
16414 case "(($ac_try" in
16415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16416 *) ac_try_echo=$ac_try;;
16417 esac
16418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16419 (eval "$ac_link") 2>conftest.er1
16420 ac_status=$?
16421 grep -v '^ *+' conftest.er1 >conftest.err
16422 rm -f conftest.er1
16423 cat conftest.err >&5
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); } && {
16426 test -z "$ac_c_werror_flag" ||
16427 test ! -s conftest.err
16428 } && test -s conftest$ac_exeext &&
16429 $as_test_x conftest$ac_exeext; then
16430 ac_cv_search_gethostbyname=$ac_res
16431 else
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16439 conftest$ac_exeext
16440 if test "${ac_cv_search_gethostbyname+set}" = set; then
16441 break
16443 done
16444 if test "${ac_cv_search_gethostbyname+set}" = set; then
16446 else
16447 ac_cv_search_gethostbyname=no
16449 rm conftest.$ac_ext
16450 LIBS=$ac_func_search_save_LIBS
16452 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16453 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16454 ac_res=$ac_cv_search_gethostbyname
16455 if test "$ac_res" != no; then
16456 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16461 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16462 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16463 if test "${ac_cv_search_connect+set}" = set; then
16464 echo $ECHO_N "(cached) $ECHO_C" >&6
16465 else
16466 ac_func_search_save_LIBS=$LIBS
16467 cat >conftest.$ac_ext <<_ACEOF
16468 /* confdefs.h. */
16469 _ACEOF
16470 cat confdefs.h >>conftest.$ac_ext
16471 cat >>conftest.$ac_ext <<_ACEOF
16472 /* end confdefs.h. */
16474 /* Override any GCC internal prototype to avoid an error.
16475 Use char because int might match the return type of a GCC
16476 builtin and then its argument prototype would still apply. */
16477 #ifdef __cplusplus
16478 extern "C"
16479 #endif
16480 char connect ();
16482 main ()
16484 return connect ();
16486 return 0;
16488 _ACEOF
16489 for ac_lib in '' socket; do
16490 if test -z "$ac_lib"; then
16491 ac_res="none required"
16492 else
16493 ac_res=-l$ac_lib
16494 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16496 rm -f conftest.$ac_objext conftest$ac_exeext
16497 if { (ac_try="$ac_link"
16498 case "(($ac_try" in
16499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16500 *) ac_try_echo=$ac_try;;
16501 esac
16502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16503 (eval "$ac_link") 2>conftest.er1
16504 ac_status=$?
16505 grep -v '^ *+' conftest.er1 >conftest.err
16506 rm -f conftest.er1
16507 cat conftest.err >&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); } && {
16510 test -z "$ac_c_werror_flag" ||
16511 test ! -s conftest.err
16512 } && test -s conftest$ac_exeext &&
16513 $as_test_x conftest$ac_exeext; then
16514 ac_cv_search_connect=$ac_res
16515 else
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16523 conftest$ac_exeext
16524 if test "${ac_cv_search_connect+set}" = set; then
16525 break
16527 done
16528 if test "${ac_cv_search_connect+set}" = set; then
16530 else
16531 ac_cv_search_connect=no
16533 rm conftest.$ac_ext
16534 LIBS=$ac_func_search_save_LIBS
16536 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16537 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16538 ac_res=$ac_cv_search_connect
16539 if test "$ac_res" != no; then
16540 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16545 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16546 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16547 if test "${ac_cv_search_inet_aton+set}" = set; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16549 else
16550 ac_func_search_save_LIBS=$LIBS
16551 cat >conftest.$ac_ext <<_ACEOF
16552 /* confdefs.h. */
16553 _ACEOF
16554 cat confdefs.h >>conftest.$ac_ext
16555 cat >>conftest.$ac_ext <<_ACEOF
16556 /* end confdefs.h. */
16558 /* Override any GCC internal prototype to avoid an error.
16559 Use char because int might match the return type of a GCC
16560 builtin and then its argument prototype would still apply. */
16561 #ifdef __cplusplus
16562 extern "C"
16563 #endif
16564 char inet_aton ();
16566 main ()
16568 return inet_aton ();
16570 return 0;
16572 _ACEOF
16573 for ac_lib in '' resolv; do
16574 if test -z "$ac_lib"; then
16575 ac_res="none required"
16576 else
16577 ac_res=-l$ac_lib
16578 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16580 rm -f conftest.$ac_objext conftest$ac_exeext
16581 if { (ac_try="$ac_link"
16582 case "(($ac_try" in
16583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16584 *) ac_try_echo=$ac_try;;
16585 esac
16586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16587 (eval "$ac_link") 2>conftest.er1
16588 ac_status=$?
16589 grep -v '^ *+' conftest.er1 >conftest.err
16590 rm -f conftest.er1
16591 cat conftest.err >&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); } && {
16594 test -z "$ac_c_werror_flag" ||
16595 test ! -s conftest.err
16596 } && test -s conftest$ac_exeext &&
16597 $as_test_x conftest$ac_exeext; then
16598 ac_cv_search_inet_aton=$ac_res
16599 else
16600 echo "$as_me: failed program was:" >&5
16601 sed 's/^/| /' conftest.$ac_ext >&5
16606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16607 conftest$ac_exeext
16608 if test "${ac_cv_search_inet_aton+set}" = set; then
16609 break
16611 done
16612 if test "${ac_cv_search_inet_aton+set}" = set; then
16614 else
16615 ac_cv_search_inet_aton=no
16617 rm conftest.$ac_ext
16618 LIBS=$ac_func_search_save_LIBS
16620 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16621 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16622 ac_res=$ac_cv_search_inet_aton
16623 if test "$ac_res" != no; then
16624 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16637 for ac_func in \
16638 getaddrinfo \
16639 getnameinfo \
16640 getnetbyname \
16641 getprotobyname \
16642 getprotobynumber \
16643 getservbyport \
16644 inet_network \
16645 sendmsg \
16648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16652 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 else
16654 cat >conftest.$ac_ext <<_ACEOF
16655 /* confdefs.h. */
16656 _ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16662 #define $ac_func innocuous_$ac_func
16664 /* System header to define __stub macros and hopefully few prototypes,
16665 which can conflict with char $ac_func (); below.
16666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16667 <limits.h> exists even on freestanding compilers. */
16669 #ifdef __STDC__
16670 # include <limits.h>
16671 #else
16672 # include <assert.h>
16673 #endif
16675 #undef $ac_func
16677 /* Override any GCC internal prototype to avoid an error.
16678 Use char because int might match the return type of a GCC
16679 builtin and then its argument prototype would still apply. */
16680 #ifdef __cplusplus
16681 extern "C"
16682 #endif
16683 char $ac_func ();
16684 /* The GNU C library defines this for functions which it implements
16685 to always fail with ENOSYS. Some functions are actually named
16686 something starting with __ and the normal name is an alias. */
16687 #if defined __stub_$ac_func || defined __stub___$ac_func
16688 choke me
16689 #endif
16692 main ()
16694 return $ac_func ();
16696 return 0;
16698 _ACEOF
16699 rm -f conftest.$ac_objext conftest$ac_exeext
16700 if { (ac_try="$ac_link"
16701 case "(($ac_try" in
16702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16703 *) ac_try_echo=$ac_try;;
16704 esac
16705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16706 (eval "$ac_link") 2>conftest.er1
16707 ac_status=$?
16708 grep -v '^ *+' conftest.er1 >conftest.err
16709 rm -f conftest.er1
16710 cat conftest.err >&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } && {
16713 test -z "$ac_c_werror_flag" ||
16714 test ! -s conftest.err
16715 } && test -s conftest$ac_exeext &&
16716 $as_test_x conftest$ac_exeext; then
16717 eval "$as_ac_var=yes"
16718 else
16719 echo "$as_me: failed program was:" >&5
16720 sed 's/^/| /' conftest.$ac_ext >&5
16722 eval "$as_ac_var=no"
16725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16726 conftest$ac_exeext conftest.$ac_ext
16728 ac_res=`eval echo '${'$as_ac_var'}'`
16729 { echo "$as_me:$LINENO: result: $ac_res" >&5
16730 echo "${ECHO_T}$ac_res" >&6; }
16731 if test `eval echo '${'$as_ac_var'}'` = yes; then
16732 cat >>confdefs.h <<_ACEOF
16733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16734 _ACEOF
16737 done
16741 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16742 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16743 if test "${ac_cv_c_const+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 else
16746 cat >conftest.$ac_ext <<_ACEOF
16747 /* confdefs.h. */
16748 _ACEOF
16749 cat confdefs.h >>conftest.$ac_ext
16750 cat >>conftest.$ac_ext <<_ACEOF
16751 /* end confdefs.h. */
16754 main ()
16756 /* FIXME: Include the comments suggested by Paul. */
16757 #ifndef __cplusplus
16758 /* Ultrix mips cc rejects this. */
16759 typedef int charset[2];
16760 const charset cs;
16761 /* SunOS 4.1.1 cc rejects this. */
16762 char const *const *pcpcc;
16763 char **ppc;
16764 /* NEC SVR4.0.2 mips cc rejects this. */
16765 struct point {int x, y;};
16766 static struct point const zero = {0,0};
16767 /* AIX XL C 1.02.0.0 rejects this.
16768 It does not let you subtract one const X* pointer from another in
16769 an arm of an if-expression whose if-part is not a constant
16770 expression */
16771 const char *g = "string";
16772 pcpcc = &g + (g ? g-g : 0);
16773 /* HPUX 7.0 cc rejects these. */
16774 ++pcpcc;
16775 ppc = (char**) pcpcc;
16776 pcpcc = (char const *const *) ppc;
16777 { /* SCO 3.2v4 cc rejects this. */
16778 char *t;
16779 char const *s = 0 ? (char *) 0 : (char const *) 0;
16781 *t++ = 0;
16782 if (s) return 0;
16784 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16785 int x[] = {25, 17};
16786 const int *foo = &x[0];
16787 ++foo;
16789 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16790 typedef const int *iptr;
16791 iptr p = 0;
16792 ++p;
16794 { /* AIX XL C 1.02.0.0 rejects this saying
16795 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16796 struct s { int j; const int *ap[3]; };
16797 struct s *b; b->j = 5;
16799 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16800 const int foo = 10;
16801 if (!foo) return 0;
16803 return !cs[0] && !zero.x;
16804 #endif
16807 return 0;
16809 _ACEOF
16810 rm -f conftest.$ac_objext
16811 if { (ac_try="$ac_compile"
16812 case "(($ac_try" in
16813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16814 *) ac_try_echo=$ac_try;;
16815 esac
16816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16817 (eval "$ac_compile") 2>conftest.er1
16818 ac_status=$?
16819 grep -v '^ *+' conftest.er1 >conftest.err
16820 rm -f conftest.er1
16821 cat conftest.err >&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } && {
16824 test -z "$ac_c_werror_flag" ||
16825 test ! -s conftest.err
16826 } && test -s conftest.$ac_objext; then
16827 ac_cv_c_const=yes
16828 else
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.$ac_ext >&5
16832 ac_cv_c_const=no
16835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16837 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16838 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16839 if test $ac_cv_c_const = no; then
16841 cat >>confdefs.h <<\_ACEOF
16842 #define const
16843 _ACEOF
16847 { echo "$as_me:$LINENO: checking for inline" >&5
16848 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16849 if test "${ac_cv_c_inline+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 else
16852 ac_cv_c_inline=no
16853 for ac_kw in inline __inline__ __inline; do
16854 cat >conftest.$ac_ext <<_ACEOF
16855 /* confdefs.h. */
16856 _ACEOF
16857 cat confdefs.h >>conftest.$ac_ext
16858 cat >>conftest.$ac_ext <<_ACEOF
16859 /* end confdefs.h. */
16860 #ifndef __cplusplus
16861 typedef int foo_t;
16862 static $ac_kw foo_t static_foo () {return 0; }
16863 $ac_kw foo_t foo () {return 0; }
16864 #endif
16866 _ACEOF
16867 rm -f conftest.$ac_objext
16868 if { (ac_try="$ac_compile"
16869 case "(($ac_try" in
16870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16871 *) ac_try_echo=$ac_try;;
16872 esac
16873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16874 (eval "$ac_compile") 2>conftest.er1
16875 ac_status=$?
16876 grep -v '^ *+' conftest.er1 >conftest.err
16877 rm -f conftest.er1
16878 cat conftest.err >&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } && {
16881 test -z "$ac_c_werror_flag" ||
16882 test ! -s conftest.err
16883 } && test -s conftest.$ac_objext; then
16884 ac_cv_c_inline=$ac_kw
16885 else
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.$ac_ext >&5
16892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16893 test "$ac_cv_c_inline" != no && break
16894 done
16897 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16898 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16901 case $ac_cv_c_inline in
16902 inline | yes) ;;
16904 case $ac_cv_c_inline in
16905 no) ac_val=;;
16906 *) ac_val=$ac_cv_c_inline;;
16907 esac
16908 cat >>confdefs.h <<_ACEOF
16909 #ifndef __cplusplus
16910 #define inline $ac_val
16911 #endif
16912 _ACEOF
16914 esac
16916 { echo "$as_me:$LINENO: checking for mode_t" >&5
16917 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16918 if test "${ac_cv_type_mode_t+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 else
16921 cat >conftest.$ac_ext <<_ACEOF
16922 /* confdefs.h. */
16923 _ACEOF
16924 cat confdefs.h >>conftest.$ac_ext
16925 cat >>conftest.$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927 $ac_includes_default
16928 typedef mode_t ac__type_new_;
16930 main ()
16932 if ((ac__type_new_ *) 0)
16933 return 0;
16934 if (sizeof (ac__type_new_))
16935 return 0;
16937 return 0;
16939 _ACEOF
16940 rm -f conftest.$ac_objext
16941 if { (ac_try="$ac_compile"
16942 case "(($ac_try" in
16943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16944 *) ac_try_echo=$ac_try;;
16945 esac
16946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16947 (eval "$ac_compile") 2>conftest.er1
16948 ac_status=$?
16949 grep -v '^ *+' conftest.er1 >conftest.err
16950 rm -f conftest.er1
16951 cat conftest.err >&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } && {
16954 test -z "$ac_c_werror_flag" ||
16955 test ! -s conftest.err
16956 } && test -s conftest.$ac_objext; then
16957 ac_cv_type_mode_t=yes
16958 else
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.$ac_ext >&5
16962 ac_cv_type_mode_t=no
16965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16967 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16968 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16969 if test $ac_cv_type_mode_t = yes; then
16971 cat >>confdefs.h <<_ACEOF
16972 #define HAVE_MODE_T 1
16973 _ACEOF
16977 { echo "$as_me:$LINENO: checking for off_t" >&5
16978 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16979 if test "${ac_cv_type_off_t+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16981 else
16982 cat >conftest.$ac_ext <<_ACEOF
16983 /* confdefs.h. */
16984 _ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988 $ac_includes_default
16989 typedef off_t ac__type_new_;
16991 main ()
16993 if ((ac__type_new_ *) 0)
16994 return 0;
16995 if (sizeof (ac__type_new_))
16996 return 0;
16998 return 0;
17000 _ACEOF
17001 rm -f conftest.$ac_objext
17002 if { (ac_try="$ac_compile"
17003 case "(($ac_try" in
17004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17005 *) ac_try_echo=$ac_try;;
17006 esac
17007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17008 (eval "$ac_compile") 2>conftest.er1
17009 ac_status=$?
17010 grep -v '^ *+' conftest.er1 >conftest.err
17011 rm -f conftest.er1
17012 cat conftest.err >&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } && {
17015 test -z "$ac_c_werror_flag" ||
17016 test ! -s conftest.err
17017 } && test -s conftest.$ac_objext; then
17018 ac_cv_type_off_t=yes
17019 else
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17023 ac_cv_type_off_t=no
17026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17028 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17029 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17030 if test $ac_cv_type_off_t = yes; then
17032 cat >>confdefs.h <<_ACEOF
17033 #define HAVE_OFF_T 1
17034 _ACEOF
17038 { echo "$as_me:$LINENO: checking for pid_t" >&5
17039 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17040 if test "${ac_cv_type_pid_t+set}" = set; then
17041 echo $ECHO_N "(cached) $ECHO_C" >&6
17042 else
17043 cat >conftest.$ac_ext <<_ACEOF
17044 /* confdefs.h. */
17045 _ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049 $ac_includes_default
17050 typedef pid_t ac__type_new_;
17052 main ()
17054 if ((ac__type_new_ *) 0)
17055 return 0;
17056 if (sizeof (ac__type_new_))
17057 return 0;
17059 return 0;
17061 _ACEOF
17062 rm -f conftest.$ac_objext
17063 if { (ac_try="$ac_compile"
17064 case "(($ac_try" in
17065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17066 *) ac_try_echo=$ac_try;;
17067 esac
17068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17069 (eval "$ac_compile") 2>conftest.er1
17070 ac_status=$?
17071 grep -v '^ *+' conftest.er1 >conftest.err
17072 rm -f conftest.er1
17073 cat conftest.err >&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } && {
17076 test -z "$ac_c_werror_flag" ||
17077 test ! -s conftest.err
17078 } && test -s conftest.$ac_objext; then
17079 ac_cv_type_pid_t=yes
17080 else
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17084 ac_cv_type_pid_t=no
17087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17090 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17091 if test $ac_cv_type_pid_t = yes; then
17093 cat >>confdefs.h <<_ACEOF
17094 #define HAVE_PID_T 1
17095 _ACEOF
17099 { echo "$as_me:$LINENO: checking for size_t" >&5
17100 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17101 if test "${ac_cv_type_size_t+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 else
17104 cat >conftest.$ac_ext <<_ACEOF
17105 /* confdefs.h. */
17106 _ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110 $ac_includes_default
17111 typedef size_t ac__type_new_;
17113 main ()
17115 if ((ac__type_new_ *) 0)
17116 return 0;
17117 if (sizeof (ac__type_new_))
17118 return 0;
17120 return 0;
17122 _ACEOF
17123 rm -f conftest.$ac_objext
17124 if { (ac_try="$ac_compile"
17125 case "(($ac_try" in
17126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17127 *) ac_try_echo=$ac_try;;
17128 esac
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_compile") 2>conftest.er1
17131 ac_status=$?
17132 grep -v '^ *+' conftest.er1 >conftest.err
17133 rm -f conftest.er1
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && {
17137 test -z "$ac_c_werror_flag" ||
17138 test ! -s conftest.err
17139 } && test -s conftest.$ac_objext; then
17140 ac_cv_type_size_t=yes
17141 else
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.$ac_ext >&5
17145 ac_cv_type_size_t=no
17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17151 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17152 if test $ac_cv_type_size_t = yes; then
17154 cat >>confdefs.h <<_ACEOF
17155 #define HAVE_SIZE_T 1
17156 _ACEOF
17160 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17161 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17162 if test "${ac_cv_type_ssize_t+set}" = set; then
17163 echo $ECHO_N "(cached) $ECHO_C" >&6
17164 else
17165 cat >conftest.$ac_ext <<_ACEOF
17166 /* confdefs.h. */
17167 _ACEOF
17168 cat confdefs.h >>conftest.$ac_ext
17169 cat >>conftest.$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17171 $ac_includes_default
17172 typedef ssize_t ac__type_new_;
17174 main ()
17176 if ((ac__type_new_ *) 0)
17177 return 0;
17178 if (sizeof (ac__type_new_))
17179 return 0;
17181 return 0;
17183 _ACEOF
17184 rm -f conftest.$ac_objext
17185 if { (ac_try="$ac_compile"
17186 case "(($ac_try" in
17187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17188 *) ac_try_echo=$ac_try;;
17189 esac
17190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17191 (eval "$ac_compile") 2>conftest.er1
17192 ac_status=$?
17193 grep -v '^ *+' conftest.er1 >conftest.err
17194 rm -f conftest.er1
17195 cat conftest.err >&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } && {
17198 test -z "$ac_c_werror_flag" ||
17199 test ! -s conftest.err
17200 } && test -s conftest.$ac_objext; then
17201 ac_cv_type_ssize_t=yes
17202 else
17203 echo "$as_me: failed program was:" >&5
17204 sed 's/^/| /' conftest.$ac_ext >&5
17206 ac_cv_type_ssize_t=no
17209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17211 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17212 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17213 if test $ac_cv_type_ssize_t = yes; then
17215 cat >>confdefs.h <<_ACEOF
17216 #define HAVE_SSIZE_T 1
17217 _ACEOF
17221 { echo "$as_me:$LINENO: checking for long long" >&5
17222 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17223 if test "${ac_cv_type_long_long+set}" = set; then
17224 echo $ECHO_N "(cached) $ECHO_C" >&6
17225 else
17226 cat >conftest.$ac_ext <<_ACEOF
17227 /* confdefs.h. */
17228 _ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17233 typedef long long ac__type_new_;
17235 main ()
17237 if ((ac__type_new_ *) 0)
17238 return 0;
17239 if (sizeof (ac__type_new_))
17240 return 0;
17242 return 0;
17244 _ACEOF
17245 rm -f conftest.$ac_objext
17246 if { (ac_try="$ac_compile"
17247 case "(($ac_try" in
17248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17249 *) ac_try_echo=$ac_try;;
17250 esac
17251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17252 (eval "$ac_compile") 2>conftest.er1
17253 ac_status=$?
17254 grep -v '^ *+' conftest.er1 >conftest.err
17255 rm -f conftest.er1
17256 cat conftest.err >&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); } && {
17259 test -z "$ac_c_werror_flag" ||
17260 test ! -s conftest.err
17261 } && test -s conftest.$ac_objext; then
17262 ac_cv_type_long_long=yes
17263 else
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17267 ac_cv_type_long_long=no
17270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17272 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17273 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17274 if test $ac_cv_type_long_long = yes; then
17276 cat >>confdefs.h <<_ACEOF
17277 #define HAVE_LONG_LONG 1
17278 _ACEOF
17282 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17283 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17284 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17285 echo $ECHO_N "(cached) $ECHO_C" >&6
17286 else
17287 cat >conftest.$ac_ext <<_ACEOF
17288 /* confdefs.h. */
17289 _ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293 $ac_includes_default
17294 typedef fsblkcnt_t ac__type_new_;
17296 main ()
17298 if ((ac__type_new_ *) 0)
17299 return 0;
17300 if (sizeof (ac__type_new_))
17301 return 0;
17303 return 0;
17305 _ACEOF
17306 rm -f conftest.$ac_objext
17307 if { (ac_try="$ac_compile"
17308 case "(($ac_try" in
17309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17310 *) ac_try_echo=$ac_try;;
17311 esac
17312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17313 (eval "$ac_compile") 2>conftest.er1
17314 ac_status=$?
17315 grep -v '^ *+' conftest.er1 >conftest.err
17316 rm -f conftest.er1
17317 cat conftest.err >&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } && {
17320 test -z "$ac_c_werror_flag" ||
17321 test ! -s conftest.err
17322 } && test -s conftest.$ac_objext; then
17323 ac_cv_type_fsblkcnt_t=yes
17324 else
17325 echo "$as_me: failed program was:" >&5
17326 sed 's/^/| /' conftest.$ac_ext >&5
17328 ac_cv_type_fsblkcnt_t=no
17331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17334 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17335 if test $ac_cv_type_fsblkcnt_t = yes; then
17337 cat >>confdefs.h <<_ACEOF
17338 #define HAVE_FSBLKCNT_T 1
17339 _ACEOF
17343 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17344 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17345 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17346 echo $ECHO_N "(cached) $ECHO_C" >&6
17347 else
17348 cat >conftest.$ac_ext <<_ACEOF
17349 /* confdefs.h. */
17350 _ACEOF
17351 cat confdefs.h >>conftest.$ac_ext
17352 cat >>conftest.$ac_ext <<_ACEOF
17353 /* end confdefs.h. */
17354 $ac_includes_default
17355 typedef fsfilcnt_t ac__type_new_;
17357 main ()
17359 if ((ac__type_new_ *) 0)
17360 return 0;
17361 if (sizeof (ac__type_new_))
17362 return 0;
17364 return 0;
17366 _ACEOF
17367 rm -f conftest.$ac_objext
17368 if { (ac_try="$ac_compile"
17369 case "(($ac_try" in
17370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17371 *) ac_try_echo=$ac_try;;
17372 esac
17373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17374 (eval "$ac_compile") 2>conftest.er1
17375 ac_status=$?
17376 grep -v '^ *+' conftest.er1 >conftest.err
17377 rm -f conftest.er1
17378 cat conftest.err >&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } && {
17381 test -z "$ac_c_werror_flag" ||
17382 test ! -s conftest.err
17383 } && test -s conftest.$ac_objext; then
17384 ac_cv_type_fsfilcnt_t=yes
17385 else
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.$ac_ext >&5
17389 ac_cv_type_fsfilcnt_t=no
17392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17394 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17395 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17396 if test $ac_cv_type_fsfilcnt_t = yes; then
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_FSFILCNT_T 1
17400 _ACEOF
17405 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17406 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17407 if test "${ac_cv_type_sigset_t+set}" = set; then
17408 echo $ECHO_N "(cached) $ECHO_C" >&6
17409 else
17410 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */
17412 _ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416 #include <signal.h>
17418 typedef sigset_t ac__type_new_;
17420 main ()
17422 if ((ac__type_new_ *) 0)
17423 return 0;
17424 if (sizeof (ac__type_new_))
17425 return 0;
17427 return 0;
17429 _ACEOF
17430 rm -f conftest.$ac_objext
17431 if { (ac_try="$ac_compile"
17432 case "(($ac_try" in
17433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17434 *) ac_try_echo=$ac_try;;
17435 esac
17436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17437 (eval "$ac_compile") 2>conftest.er1
17438 ac_status=$?
17439 grep -v '^ *+' conftest.er1 >conftest.err
17440 rm -f conftest.er1
17441 cat conftest.err >&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); } && {
17444 test -z "$ac_c_werror_flag" ||
17445 test ! -s conftest.err
17446 } && test -s conftest.$ac_objext; then
17447 ac_cv_type_sigset_t=yes
17448 else
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17452 ac_cv_type_sigset_t=no
17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17457 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17458 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17459 if test $ac_cv_type_sigset_t = yes; then
17461 cat >>confdefs.h <<_ACEOF
17462 #define HAVE_SIGSET_T 1
17463 _ACEOF
17468 { echo "$as_me:$LINENO: checking for request_sense" >&5
17469 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17470 if test "${ac_cv_type_request_sense+set}" = set; then
17471 echo $ECHO_N "(cached) $ECHO_C" >&6
17472 else
17473 cat >conftest.$ac_ext <<_ACEOF
17474 /* confdefs.h. */
17475 _ACEOF
17476 cat confdefs.h >>conftest.$ac_ext
17477 cat >>conftest.$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17479 #include <linux/cdrom.h>
17481 typedef request_sense ac__type_new_;
17483 main ()
17485 if ((ac__type_new_ *) 0)
17486 return 0;
17487 if (sizeof (ac__type_new_))
17488 return 0;
17490 return 0;
17492 _ACEOF
17493 rm -f conftest.$ac_objext
17494 if { (ac_try="$ac_compile"
17495 case "(($ac_try" in
17496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17497 *) ac_try_echo=$ac_try;;
17498 esac
17499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17500 (eval "$ac_compile") 2>conftest.er1
17501 ac_status=$?
17502 grep -v '^ *+' conftest.er1 >conftest.err
17503 rm -f conftest.er1
17504 cat conftest.err >&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } && {
17507 test -z "$ac_c_werror_flag" ||
17508 test ! -s conftest.err
17509 } && test -s conftest.$ac_objext; then
17510 ac_cv_type_request_sense=yes
17511 else
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.$ac_ext >&5
17515 ac_cv_type_request_sense=no
17518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17520 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17521 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17522 if test $ac_cv_type_request_sense = yes; then
17524 cat >>confdefs.h <<_ACEOF
17525 #define HAVE_REQUEST_SENSE 1
17526 _ACEOF
17532 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17533 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17534 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17535 echo $ECHO_N "(cached) $ECHO_C" >&6
17536 else
17537 cat >conftest.$ac_ext <<_ACEOF
17538 /* confdefs.h. */
17539 _ACEOF
17540 cat confdefs.h >>conftest.$ac_ext
17541 cat >>conftest.$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17543 #ifdef HAVE_LINUX_INPUT_H
17544 #include <linux/input.h>
17545 #endif
17548 main ()
17550 static struct ff_effect ac_aggr;
17551 if (ac_aggr.direction)
17552 return 0;
17554 return 0;
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (ac_try="$ac_compile"
17559 case "(($ac_try" in
17560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17561 *) ac_try_echo=$ac_try;;
17562 esac
17563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17564 (eval "$ac_compile") 2>conftest.er1
17565 ac_status=$?
17566 grep -v '^ *+' conftest.er1 >conftest.err
17567 rm -f conftest.er1
17568 cat conftest.err >&5
17569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } && {
17571 test -z "$ac_c_werror_flag" ||
17572 test ! -s conftest.err
17573 } && test -s conftest.$ac_objext; then
17574 ac_cv_member_struct_ff_effect_direction=yes
17575 else
17576 echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17579 cat >conftest.$ac_ext <<_ACEOF
17580 /* confdefs.h. */
17581 _ACEOF
17582 cat confdefs.h >>conftest.$ac_ext
17583 cat >>conftest.$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17585 #ifdef HAVE_LINUX_INPUT_H
17586 #include <linux/input.h>
17587 #endif
17590 main ()
17592 static struct ff_effect ac_aggr;
17593 if (sizeof ac_aggr.direction)
17594 return 0;
17596 return 0;
17598 _ACEOF
17599 rm -f conftest.$ac_objext
17600 if { (ac_try="$ac_compile"
17601 case "(($ac_try" in
17602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17603 *) ac_try_echo=$ac_try;;
17604 esac
17605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17606 (eval "$ac_compile") 2>conftest.er1
17607 ac_status=$?
17608 grep -v '^ *+' conftest.er1 >conftest.err
17609 rm -f conftest.er1
17610 cat conftest.err >&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); } && {
17613 test -z "$ac_c_werror_flag" ||
17614 test ! -s conftest.err
17615 } && test -s conftest.$ac_objext; then
17616 ac_cv_member_struct_ff_effect_direction=yes
17617 else
17618 echo "$as_me: failed program was:" >&5
17619 sed 's/^/| /' conftest.$ac_ext >&5
17621 ac_cv_member_struct_ff_effect_direction=no
17624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17629 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17630 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17631 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17633 cat >>confdefs.h <<_ACEOF
17634 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17635 _ACEOF
17641 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17642 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17643 if test "${wine_cv_have_sigaddset+set}" = set; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17645 else
17646 cat >conftest.$ac_ext <<_ACEOF
17647 /* confdefs.h. */
17648 _ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 #include <signal.h>
17654 main ()
17656 sigset_t set; sigaddset(&set,SIGTERM);
17658 return 0;
17660 _ACEOF
17661 rm -f conftest.$ac_objext conftest$ac_exeext
17662 if { (ac_try="$ac_link"
17663 case "(($ac_try" in
17664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17665 *) ac_try_echo=$ac_try;;
17666 esac
17667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17668 (eval "$ac_link") 2>conftest.er1
17669 ac_status=$?
17670 grep -v '^ *+' conftest.er1 >conftest.err
17671 rm -f conftest.er1
17672 cat conftest.err >&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } && {
17675 test -z "$ac_c_werror_flag" ||
17676 test ! -s conftest.err
17677 } && test -s conftest$ac_exeext &&
17678 $as_test_x conftest$ac_exeext; then
17679 wine_cv_have_sigaddset=yes
17680 else
17681 echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.$ac_ext >&5
17684 wine_cv_have_sigaddset=no
17687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17688 conftest$ac_exeext conftest.$ac_ext
17690 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17691 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17692 if test "$wine_cv_have_sigaddset" = "yes"
17693 then
17695 cat >>confdefs.h <<\_ACEOF
17696 #define HAVE_SIGADDSET 1
17697 _ACEOF
17702 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17703 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17704 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17705 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 else
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h. */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713 #include <netdb.h>
17715 main ()
17718 char *name=0;
17719 struct hostent he;
17720 struct hostent *result;
17721 char *buf=0;
17722 int bufsize=0;
17723 int res,errnr;
17724 char *addr=0;
17725 int addrlen=0;
17726 int addrtype=0;
17727 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17728 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17731 return 0;
17733 _ACEOF
17734 rm -f conftest.$ac_objext conftest$ac_exeext
17735 if { (ac_try="$ac_link"
17736 case "(($ac_try" in
17737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17738 *) ac_try_echo=$ac_try;;
17739 esac
17740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17741 (eval "$ac_link") 2>conftest.er1
17742 ac_status=$?
17743 grep -v '^ *+' conftest.er1 >conftest.err
17744 rm -f conftest.er1
17745 cat conftest.err >&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); } && {
17748 test -z "$ac_c_werror_flag" ||
17749 test ! -s conftest.err
17750 } && test -s conftest$ac_exeext &&
17751 $as_test_x conftest$ac_exeext; then
17752 wine_cv_linux_gethostbyname_r_6=yes
17753 else
17754 echo "$as_me: failed program was:" >&5
17755 sed 's/^/| /' conftest.$ac_ext >&5
17757 wine_cv_linux_gethostbyname_r_6=no
17761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17762 conftest$ac_exeext conftest.$ac_ext
17765 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17766 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17767 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17768 then
17770 cat >>confdefs.h <<\_ACEOF
17771 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17772 _ACEOF
17776 if test "$ac_cv_header_linux_joystick_h" = "yes"
17777 then
17778 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17779 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17780 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17782 else
17783 cat >conftest.$ac_ext <<_ACEOF
17784 /* confdefs.h. */
17785 _ACEOF
17786 cat confdefs.h >>conftest.$ac_ext
17787 cat >>conftest.$ac_ext <<_ACEOF
17788 /* end confdefs.h. */
17790 #include <sys/ioctl.h>
17791 #include <sys/types.h>
17792 #include <linux/joystick.h>
17794 struct js_event blub;
17795 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17796 #error "no 2.2 header"
17797 #endif
17800 main ()
17802 /*empty*/
17804 return 0;
17806 _ACEOF
17807 rm -f conftest.$ac_objext
17808 if { (ac_try="$ac_compile"
17809 case "(($ac_try" in
17810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17811 *) ac_try_echo=$ac_try;;
17812 esac
17813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17814 (eval "$ac_compile") 2>conftest.er1
17815 ac_status=$?
17816 grep -v '^ *+' conftest.er1 >conftest.err
17817 rm -f conftest.er1
17818 cat conftest.err >&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); } && {
17821 test -z "$ac_c_werror_flag" ||
17822 test ! -s conftest.err
17823 } && test -s conftest.$ac_objext; then
17824 wine_cv_linux_joystick_22_api=yes
17825 else
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17829 wine_cv_linux_joystick_22_api=no
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17836 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17837 if test "$wine_cv_linux_joystick_22_api" = "yes"
17838 then
17840 cat >>confdefs.h <<\_ACEOF
17841 #define HAVE_LINUX_22_JOYSTICK_API 1
17842 _ACEOF
17848 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17849 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17850 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17852 else
17853 cat >conftest.$ac_ext <<_ACEOF
17854 /* confdefs.h. */
17855 _ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17859 #include <sys/types.h>
17860 #ifdef HAVE_SYS_PARAM_H
17861 # include <sys/param.h>
17862 #endif
17863 #ifdef HAVE_SYS_MOUNT_H
17864 # include <sys/mount.h>
17865 #endif
17866 #ifdef HAVE_SYS_VFS_H
17867 # include <sys/vfs.h>
17868 #endif
17869 #ifdef HAVE_SYS_STATFS_H
17870 # include <sys/statfs.h>
17871 #endif
17874 main ()
17876 static struct statfs ac_aggr;
17877 if (ac_aggr.f_bfree)
17878 return 0;
17880 return 0;
17882 _ACEOF
17883 rm -f conftest.$ac_objext
17884 if { (ac_try="$ac_compile"
17885 case "(($ac_try" in
17886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17887 *) ac_try_echo=$ac_try;;
17888 esac
17889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17890 (eval "$ac_compile") 2>conftest.er1
17891 ac_status=$?
17892 grep -v '^ *+' conftest.er1 >conftest.err
17893 rm -f conftest.er1
17894 cat conftest.err >&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } && {
17897 test -z "$ac_c_werror_flag" ||
17898 test ! -s conftest.err
17899 } && test -s conftest.$ac_objext; then
17900 ac_cv_member_struct_statfs_f_bfree=yes
17901 else
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.$ac_ext >&5
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 #include <sys/types.h>
17912 #ifdef HAVE_SYS_PARAM_H
17913 # include <sys/param.h>
17914 #endif
17915 #ifdef HAVE_SYS_MOUNT_H
17916 # include <sys/mount.h>
17917 #endif
17918 #ifdef HAVE_SYS_VFS_H
17919 # include <sys/vfs.h>
17920 #endif
17921 #ifdef HAVE_SYS_STATFS_H
17922 # include <sys/statfs.h>
17923 #endif
17926 main ()
17928 static struct statfs ac_aggr;
17929 if (sizeof ac_aggr.f_bfree)
17930 return 0;
17932 return 0;
17934 _ACEOF
17935 rm -f conftest.$ac_objext
17936 if { (ac_try="$ac_compile"
17937 case "(($ac_try" in
17938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17939 *) ac_try_echo=$ac_try;;
17940 esac
17941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17942 (eval "$ac_compile") 2>conftest.er1
17943 ac_status=$?
17944 grep -v '^ *+' conftest.er1 >conftest.err
17945 rm -f conftest.er1
17946 cat conftest.err >&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); } && {
17949 test -z "$ac_c_werror_flag" ||
17950 test ! -s conftest.err
17951 } && test -s conftest.$ac_objext; then
17952 ac_cv_member_struct_statfs_f_bfree=yes
17953 else
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.$ac_ext >&5
17957 ac_cv_member_struct_statfs_f_bfree=no
17960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17965 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17966 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17967 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17969 cat >>confdefs.h <<_ACEOF
17970 #define HAVE_STRUCT_STATFS_F_BFREE 1
17971 _ACEOF
17975 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17976 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17977 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17979 else
17980 cat >conftest.$ac_ext <<_ACEOF
17981 /* confdefs.h. */
17982 _ACEOF
17983 cat confdefs.h >>conftest.$ac_ext
17984 cat >>conftest.$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17986 #include <sys/types.h>
17987 #ifdef HAVE_SYS_PARAM_H
17988 # include <sys/param.h>
17989 #endif
17990 #ifdef HAVE_SYS_MOUNT_H
17991 # include <sys/mount.h>
17992 #endif
17993 #ifdef HAVE_SYS_VFS_H
17994 # include <sys/vfs.h>
17995 #endif
17996 #ifdef HAVE_SYS_STATFS_H
17997 # include <sys/statfs.h>
17998 #endif
18001 main ()
18003 static struct statfs ac_aggr;
18004 if (ac_aggr.f_bavail)
18005 return 0;
18007 return 0;
18009 _ACEOF
18010 rm -f conftest.$ac_objext
18011 if { (ac_try="$ac_compile"
18012 case "(($ac_try" in
18013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18014 *) ac_try_echo=$ac_try;;
18015 esac
18016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18017 (eval "$ac_compile") 2>conftest.er1
18018 ac_status=$?
18019 grep -v '^ *+' conftest.er1 >conftest.err
18020 rm -f conftest.er1
18021 cat conftest.err >&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err
18026 } && test -s conftest.$ac_objext; then
18027 ac_cv_member_struct_statfs_f_bavail=yes
18028 else
18029 echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.$ac_ext >&5
18032 cat >conftest.$ac_ext <<_ACEOF
18033 /* confdefs.h. */
18034 _ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 #include <sys/types.h>
18039 #ifdef HAVE_SYS_PARAM_H
18040 # include <sys/param.h>
18041 #endif
18042 #ifdef HAVE_SYS_MOUNT_H
18043 # include <sys/mount.h>
18044 #endif
18045 #ifdef HAVE_SYS_VFS_H
18046 # include <sys/vfs.h>
18047 #endif
18048 #ifdef HAVE_SYS_STATFS_H
18049 # include <sys/statfs.h>
18050 #endif
18053 main ()
18055 static struct statfs ac_aggr;
18056 if (sizeof ac_aggr.f_bavail)
18057 return 0;
18059 return 0;
18061 _ACEOF
18062 rm -f conftest.$ac_objext
18063 if { (ac_try="$ac_compile"
18064 case "(($ac_try" in
18065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18066 *) ac_try_echo=$ac_try;;
18067 esac
18068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18069 (eval "$ac_compile") 2>conftest.er1
18070 ac_status=$?
18071 grep -v '^ *+' conftest.er1 >conftest.err
18072 rm -f conftest.er1
18073 cat conftest.err >&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); } && {
18076 test -z "$ac_c_werror_flag" ||
18077 test ! -s conftest.err
18078 } && test -s conftest.$ac_objext; then
18079 ac_cv_member_struct_statfs_f_bavail=yes
18080 else
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18084 ac_cv_member_struct_statfs_f_bavail=no
18087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18093 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18094 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18096 cat >>confdefs.h <<_ACEOF
18097 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18098 _ACEOF
18102 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18103 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18104 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18105 echo $ECHO_N "(cached) $ECHO_C" >&6
18106 else
18107 cat >conftest.$ac_ext <<_ACEOF
18108 /* confdefs.h. */
18109 _ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 #include <sys/types.h>
18114 #ifdef HAVE_SYS_PARAM_H
18115 # include <sys/param.h>
18116 #endif
18117 #ifdef HAVE_SYS_MOUNT_H
18118 # include <sys/mount.h>
18119 #endif
18120 #ifdef HAVE_SYS_VFS_H
18121 # include <sys/vfs.h>
18122 #endif
18123 #ifdef HAVE_SYS_STATFS_H
18124 # include <sys/statfs.h>
18125 #endif
18128 main ()
18130 static struct statfs ac_aggr;
18131 if (ac_aggr.f_frsize)
18132 return 0;
18134 return 0;
18136 _ACEOF
18137 rm -f conftest.$ac_objext
18138 if { (ac_try="$ac_compile"
18139 case "(($ac_try" in
18140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18141 *) ac_try_echo=$ac_try;;
18142 esac
18143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18144 (eval "$ac_compile") 2>conftest.er1
18145 ac_status=$?
18146 grep -v '^ *+' conftest.er1 >conftest.err
18147 rm -f conftest.er1
18148 cat conftest.err >&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } && {
18151 test -z "$ac_c_werror_flag" ||
18152 test ! -s conftest.err
18153 } && test -s conftest.$ac_objext; then
18154 ac_cv_member_struct_statfs_f_frsize=yes
18155 else
18156 echo "$as_me: failed program was:" >&5
18157 sed 's/^/| /' conftest.$ac_ext >&5
18159 cat >conftest.$ac_ext <<_ACEOF
18160 /* confdefs.h. */
18161 _ACEOF
18162 cat confdefs.h >>conftest.$ac_ext
18163 cat >>conftest.$ac_ext <<_ACEOF
18164 /* end confdefs.h. */
18165 #include <sys/types.h>
18166 #ifdef HAVE_SYS_PARAM_H
18167 # include <sys/param.h>
18168 #endif
18169 #ifdef HAVE_SYS_MOUNT_H
18170 # include <sys/mount.h>
18171 #endif
18172 #ifdef HAVE_SYS_VFS_H
18173 # include <sys/vfs.h>
18174 #endif
18175 #ifdef HAVE_SYS_STATFS_H
18176 # include <sys/statfs.h>
18177 #endif
18180 main ()
18182 static struct statfs ac_aggr;
18183 if (sizeof ac_aggr.f_frsize)
18184 return 0;
18186 return 0;
18188 _ACEOF
18189 rm -f conftest.$ac_objext
18190 if { (ac_try="$ac_compile"
18191 case "(($ac_try" in
18192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18193 *) ac_try_echo=$ac_try;;
18194 esac
18195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18196 (eval "$ac_compile") 2>conftest.er1
18197 ac_status=$?
18198 grep -v '^ *+' conftest.er1 >conftest.err
18199 rm -f conftest.er1
18200 cat conftest.err >&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } && {
18203 test -z "$ac_c_werror_flag" ||
18204 test ! -s conftest.err
18205 } && test -s conftest.$ac_objext; then
18206 ac_cv_member_struct_statfs_f_frsize=yes
18207 else
18208 echo "$as_me: failed program was:" >&5
18209 sed 's/^/| /' conftest.$ac_ext >&5
18211 ac_cv_member_struct_statfs_f_frsize=no
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18220 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18221 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18223 cat >>confdefs.h <<_ACEOF
18224 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18225 _ACEOF
18229 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18230 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18231 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 else
18234 cat >conftest.$ac_ext <<_ACEOF
18235 /* confdefs.h. */
18236 _ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 #include <sys/types.h>
18241 #ifdef HAVE_SYS_PARAM_H
18242 # include <sys/param.h>
18243 #endif
18244 #ifdef HAVE_SYS_MOUNT_H
18245 # include <sys/mount.h>
18246 #endif
18247 #ifdef HAVE_SYS_VFS_H
18248 # include <sys/vfs.h>
18249 #endif
18250 #ifdef HAVE_SYS_STATFS_H
18251 # include <sys/statfs.h>
18252 #endif
18255 main ()
18257 static struct statfs ac_aggr;
18258 if (ac_aggr.f_ffree)
18259 return 0;
18261 return 0;
18263 _ACEOF
18264 rm -f conftest.$ac_objext
18265 if { (ac_try="$ac_compile"
18266 case "(($ac_try" in
18267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18268 *) ac_try_echo=$ac_try;;
18269 esac
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_compile") 2>conftest.er1
18272 ac_status=$?
18273 grep -v '^ *+' conftest.er1 >conftest.err
18274 rm -f conftest.er1
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } && {
18278 test -z "$ac_c_werror_flag" ||
18279 test ! -s conftest.err
18280 } && test -s conftest.$ac_objext; then
18281 ac_cv_member_struct_statfs_f_ffree=yes
18282 else
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h. */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292 #include <sys/types.h>
18293 #ifdef HAVE_SYS_PARAM_H
18294 # include <sys/param.h>
18295 #endif
18296 #ifdef HAVE_SYS_MOUNT_H
18297 # include <sys/mount.h>
18298 #endif
18299 #ifdef HAVE_SYS_VFS_H
18300 # include <sys/vfs.h>
18301 #endif
18302 #ifdef HAVE_SYS_STATFS_H
18303 # include <sys/statfs.h>
18304 #endif
18307 main ()
18309 static struct statfs ac_aggr;
18310 if (sizeof ac_aggr.f_ffree)
18311 return 0;
18313 return 0;
18315 _ACEOF
18316 rm -f conftest.$ac_objext
18317 if { (ac_try="$ac_compile"
18318 case "(($ac_try" in
18319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18320 *) ac_try_echo=$ac_try;;
18321 esac
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_compile") 2>conftest.er1
18324 ac_status=$?
18325 grep -v '^ *+' conftest.er1 >conftest.err
18326 rm -f conftest.er1
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_c_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest.$ac_objext; then
18333 ac_cv_member_struct_statfs_f_ffree=yes
18334 else
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 ac_cv_member_struct_statfs_f_ffree=no
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18346 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18347 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18348 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18350 cat >>confdefs.h <<_ACEOF
18351 #define HAVE_STRUCT_STATFS_F_FFREE 1
18352 _ACEOF
18356 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18357 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18358 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 else
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h. */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 #include <sys/types.h>
18368 #ifdef HAVE_SYS_PARAM_H
18369 # include <sys/param.h>
18370 #endif
18371 #ifdef HAVE_SYS_MOUNT_H
18372 # include <sys/mount.h>
18373 #endif
18374 #ifdef HAVE_SYS_VFS_H
18375 # include <sys/vfs.h>
18376 #endif
18377 #ifdef HAVE_SYS_STATFS_H
18378 # include <sys/statfs.h>
18379 #endif
18382 main ()
18384 static struct statfs ac_aggr;
18385 if (ac_aggr.f_favail)
18386 return 0;
18388 return 0;
18390 _ACEOF
18391 rm -f conftest.$ac_objext
18392 if { (ac_try="$ac_compile"
18393 case "(($ac_try" in
18394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18395 *) ac_try_echo=$ac_try;;
18396 esac
18397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18398 (eval "$ac_compile") 2>conftest.er1
18399 ac_status=$?
18400 grep -v '^ *+' conftest.er1 >conftest.err
18401 rm -f conftest.er1
18402 cat conftest.err >&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } && {
18405 test -z "$ac_c_werror_flag" ||
18406 test ! -s conftest.err
18407 } && test -s conftest.$ac_objext; then
18408 ac_cv_member_struct_statfs_f_favail=yes
18409 else
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18413 cat >conftest.$ac_ext <<_ACEOF
18414 /* confdefs.h. */
18415 _ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 #include <sys/types.h>
18420 #ifdef HAVE_SYS_PARAM_H
18421 # include <sys/param.h>
18422 #endif
18423 #ifdef HAVE_SYS_MOUNT_H
18424 # include <sys/mount.h>
18425 #endif
18426 #ifdef HAVE_SYS_VFS_H
18427 # include <sys/vfs.h>
18428 #endif
18429 #ifdef HAVE_SYS_STATFS_H
18430 # include <sys/statfs.h>
18431 #endif
18434 main ()
18436 static struct statfs ac_aggr;
18437 if (sizeof ac_aggr.f_favail)
18438 return 0;
18440 return 0;
18442 _ACEOF
18443 rm -f conftest.$ac_objext
18444 if { (ac_try="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18448 esac
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 ac_cv_member_struct_statfs_f_favail=yes
18461 else
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18465 ac_cv_member_struct_statfs_f_favail=no
18468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18473 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18474 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18475 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18477 cat >>confdefs.h <<_ACEOF
18478 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18479 _ACEOF
18483 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18484 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18485 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 else
18488 cat >conftest.$ac_ext <<_ACEOF
18489 /* confdefs.h. */
18490 _ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 #include <sys/types.h>
18495 #ifdef HAVE_SYS_PARAM_H
18496 # include <sys/param.h>
18497 #endif
18498 #ifdef HAVE_SYS_MOUNT_H
18499 # include <sys/mount.h>
18500 #endif
18501 #ifdef HAVE_SYS_VFS_H
18502 # include <sys/vfs.h>
18503 #endif
18504 #ifdef HAVE_SYS_STATFS_H
18505 # include <sys/statfs.h>
18506 #endif
18509 main ()
18511 static struct statfs ac_aggr;
18512 if (ac_aggr.f_namelen)
18513 return 0;
18515 return 0;
18517 _ACEOF
18518 rm -f conftest.$ac_objext
18519 if { (ac_try="$ac_compile"
18520 case "(($ac_try" in
18521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18522 *) ac_try_echo=$ac_try;;
18523 esac
18524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18525 (eval "$ac_compile") 2>conftest.er1
18526 ac_status=$?
18527 grep -v '^ *+' conftest.er1 >conftest.err
18528 rm -f conftest.er1
18529 cat conftest.err >&5
18530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18531 (exit $ac_status); } && {
18532 test -z "$ac_c_werror_flag" ||
18533 test ! -s conftest.err
18534 } && test -s conftest.$ac_objext; then
18535 ac_cv_member_struct_statfs_f_namelen=yes
18536 else
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.$ac_ext >&5
18540 cat >conftest.$ac_ext <<_ACEOF
18541 /* confdefs.h. */
18542 _ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 #include <sys/types.h>
18547 #ifdef HAVE_SYS_PARAM_H
18548 # include <sys/param.h>
18549 #endif
18550 #ifdef HAVE_SYS_MOUNT_H
18551 # include <sys/mount.h>
18552 #endif
18553 #ifdef HAVE_SYS_VFS_H
18554 # include <sys/vfs.h>
18555 #endif
18556 #ifdef HAVE_SYS_STATFS_H
18557 # include <sys/statfs.h>
18558 #endif
18561 main ()
18563 static struct statfs ac_aggr;
18564 if (sizeof ac_aggr.f_namelen)
18565 return 0;
18567 return 0;
18569 _ACEOF
18570 rm -f conftest.$ac_objext
18571 if { (ac_try="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18575 esac
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_cv_member_struct_statfs_f_namelen=yes
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18592 ac_cv_member_struct_statfs_f_namelen=no
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18601 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18602 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18604 cat >>confdefs.h <<_ACEOF
18605 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18606 _ACEOF
18612 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18613 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18614 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18615 echo $ECHO_N "(cached) $ECHO_C" >&6
18616 else
18617 cat >conftest.$ac_ext <<_ACEOF
18618 /* confdefs.h. */
18619 _ACEOF
18620 cat confdefs.h >>conftest.$ac_ext
18621 cat >>conftest.$ac_ext <<_ACEOF
18622 /* end confdefs.h. */
18623 #ifdef HAVE_SYS_STATVFS_H
18624 #include <sys/statvfs.h>
18625 #endif
18628 main ()
18630 static struct statvfs ac_aggr;
18631 if (ac_aggr.f_blocks)
18632 return 0;
18634 return 0;
18636 _ACEOF
18637 rm -f conftest.$ac_objext
18638 if { (ac_try="$ac_compile"
18639 case "(($ac_try" in
18640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18641 *) ac_try_echo=$ac_try;;
18642 esac
18643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18644 (eval "$ac_compile") 2>conftest.er1
18645 ac_status=$?
18646 grep -v '^ *+' conftest.er1 >conftest.err
18647 rm -f conftest.er1
18648 cat conftest.err >&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); } && {
18651 test -z "$ac_c_werror_flag" ||
18652 test ! -s conftest.err
18653 } && test -s conftest.$ac_objext; then
18654 ac_cv_member_struct_statvfs_f_blocks=yes
18655 else
18656 echo "$as_me: failed program was:" >&5
18657 sed 's/^/| /' conftest.$ac_ext >&5
18659 cat >conftest.$ac_ext <<_ACEOF
18660 /* confdefs.h. */
18661 _ACEOF
18662 cat confdefs.h >>conftest.$ac_ext
18663 cat >>conftest.$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 #ifdef HAVE_SYS_STATVFS_H
18666 #include <sys/statvfs.h>
18667 #endif
18670 main ()
18672 static struct statvfs ac_aggr;
18673 if (sizeof ac_aggr.f_blocks)
18674 return 0;
18676 return 0;
18678 _ACEOF
18679 rm -f conftest.$ac_objext
18680 if { (ac_try="$ac_compile"
18681 case "(($ac_try" in
18682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18683 *) ac_try_echo=$ac_try;;
18684 esac
18685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18686 (eval "$ac_compile") 2>conftest.er1
18687 ac_status=$?
18688 grep -v '^ *+' conftest.er1 >conftest.err
18689 rm -f conftest.er1
18690 cat conftest.err >&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); } && {
18693 test -z "$ac_c_werror_flag" ||
18694 test ! -s conftest.err
18695 } && test -s conftest.$ac_objext; then
18696 ac_cv_member_struct_statvfs_f_blocks=yes
18697 else
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.$ac_ext >&5
18701 ac_cv_member_struct_statvfs_f_blocks=no
18704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18709 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18710 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18711 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18713 cat >>confdefs.h <<_ACEOF
18714 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18715 _ACEOF
18721 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18722 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18723 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18724 echo $ECHO_N "(cached) $ECHO_C" >&6
18725 else
18726 cat >conftest.$ac_ext <<_ACEOF
18727 /* confdefs.h. */
18728 _ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732 #include <sys/types.h>
18733 #ifdef HAVE_SYS_SOCKET_H
18734 # include <sys/socket.h>
18735 #endif
18736 #ifdef HAVE_SYS_UN_H
18737 # include <sys/un.h>
18738 #endif
18741 main ()
18743 static struct msghdr ac_aggr;
18744 if (ac_aggr.msg_accrights)
18745 return 0;
18747 return 0;
18749 _ACEOF
18750 rm -f conftest.$ac_objext
18751 if { (ac_try="$ac_compile"
18752 case "(($ac_try" in
18753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18754 *) ac_try_echo=$ac_try;;
18755 esac
18756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18757 (eval "$ac_compile") 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } && {
18764 test -z "$ac_c_werror_flag" ||
18765 test ! -s conftest.err
18766 } && test -s conftest.$ac_objext; then
18767 ac_cv_member_struct_msghdr_msg_accrights=yes
18768 else
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.$ac_ext >&5
18772 cat >conftest.$ac_ext <<_ACEOF
18773 /* confdefs.h. */
18774 _ACEOF
18775 cat confdefs.h >>conftest.$ac_ext
18776 cat >>conftest.$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18778 #include <sys/types.h>
18779 #ifdef HAVE_SYS_SOCKET_H
18780 # include <sys/socket.h>
18781 #endif
18782 #ifdef HAVE_SYS_UN_H
18783 # include <sys/un.h>
18784 #endif
18787 main ()
18789 static struct msghdr ac_aggr;
18790 if (sizeof ac_aggr.msg_accrights)
18791 return 0;
18793 return 0;
18795 _ACEOF
18796 rm -f conftest.$ac_objext
18797 if { (ac_try="$ac_compile"
18798 case "(($ac_try" in
18799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18800 *) ac_try_echo=$ac_try;;
18801 esac
18802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18803 (eval "$ac_compile") 2>conftest.er1
18804 ac_status=$?
18805 grep -v '^ *+' conftest.er1 >conftest.err
18806 rm -f conftest.er1
18807 cat conftest.err >&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } && {
18810 test -z "$ac_c_werror_flag" ||
18811 test ! -s conftest.err
18812 } && test -s conftest.$ac_objext; then
18813 ac_cv_member_struct_msghdr_msg_accrights=yes
18814 else
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18818 ac_cv_member_struct_msghdr_msg_accrights=no
18821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18827 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18828 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18830 cat >>confdefs.h <<_ACEOF
18831 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18832 _ACEOF
18836 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18837 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18838 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18839 echo $ECHO_N "(cached) $ECHO_C" >&6
18840 else
18841 cat >conftest.$ac_ext <<_ACEOF
18842 /* confdefs.h. */
18843 _ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 #include <sys/types.h>
18848 #ifdef HAVE_SYS_SOCKET_H
18849 # include <sys/socket.h>
18850 #endif
18851 #ifdef HAVE_SYS_UN_H
18852 # include <sys/un.h>
18853 #endif
18856 main ()
18858 static struct sockaddr ac_aggr;
18859 if (ac_aggr.sa_len)
18860 return 0;
18862 return 0;
18864 _ACEOF
18865 rm -f conftest.$ac_objext
18866 if { (ac_try="$ac_compile"
18867 case "(($ac_try" in
18868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18869 *) ac_try_echo=$ac_try;;
18870 esac
18871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18872 (eval "$ac_compile") 2>conftest.er1
18873 ac_status=$?
18874 grep -v '^ *+' conftest.er1 >conftest.err
18875 rm -f conftest.er1
18876 cat conftest.err >&5
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } && {
18879 test -z "$ac_c_werror_flag" ||
18880 test ! -s conftest.err
18881 } && test -s conftest.$ac_objext; then
18882 ac_cv_member_struct_sockaddr_sa_len=yes
18883 else
18884 echo "$as_me: failed program was:" >&5
18885 sed 's/^/| /' conftest.$ac_ext >&5
18887 cat >conftest.$ac_ext <<_ACEOF
18888 /* confdefs.h. */
18889 _ACEOF
18890 cat confdefs.h >>conftest.$ac_ext
18891 cat >>conftest.$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18893 #include <sys/types.h>
18894 #ifdef HAVE_SYS_SOCKET_H
18895 # include <sys/socket.h>
18896 #endif
18897 #ifdef HAVE_SYS_UN_H
18898 # include <sys/un.h>
18899 #endif
18902 main ()
18904 static struct sockaddr ac_aggr;
18905 if (sizeof ac_aggr.sa_len)
18906 return 0;
18908 return 0;
18910 _ACEOF
18911 rm -f conftest.$ac_objext
18912 if { (ac_try="$ac_compile"
18913 case "(($ac_try" in
18914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18915 *) ac_try_echo=$ac_try;;
18916 esac
18917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18918 (eval "$ac_compile") 2>conftest.er1
18919 ac_status=$?
18920 grep -v '^ *+' conftest.er1 >conftest.err
18921 rm -f conftest.er1
18922 cat conftest.err >&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } && {
18925 test -z "$ac_c_werror_flag" ||
18926 test ! -s conftest.err
18927 } && test -s conftest.$ac_objext; then
18928 ac_cv_member_struct_sockaddr_sa_len=yes
18929 else
18930 echo "$as_me: failed program was:" >&5
18931 sed 's/^/| /' conftest.$ac_ext >&5
18933 ac_cv_member_struct_sockaddr_sa_len=no
18936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18941 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18942 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18943 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18945 cat >>confdefs.h <<_ACEOF
18946 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18947 _ACEOF
18951 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18952 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18953 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18954 echo $ECHO_N "(cached) $ECHO_C" >&6
18955 else
18956 cat >conftest.$ac_ext <<_ACEOF
18957 /* confdefs.h. */
18958 _ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18962 #include <sys/types.h>
18963 #ifdef HAVE_SYS_SOCKET_H
18964 # include <sys/socket.h>
18965 #endif
18966 #ifdef HAVE_SYS_UN_H
18967 # include <sys/un.h>
18968 #endif
18971 main ()
18973 static struct sockaddr_un ac_aggr;
18974 if (ac_aggr.sun_len)
18975 return 0;
18977 return 0;
18979 _ACEOF
18980 rm -f conftest.$ac_objext
18981 if { (ac_try="$ac_compile"
18982 case "(($ac_try" in
18983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18984 *) ac_try_echo=$ac_try;;
18985 esac
18986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18987 (eval "$ac_compile") 2>conftest.er1
18988 ac_status=$?
18989 grep -v '^ *+' conftest.er1 >conftest.err
18990 rm -f conftest.er1
18991 cat conftest.err >&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } && {
18994 test -z "$ac_c_werror_flag" ||
18995 test ! -s conftest.err
18996 } && test -s conftest.$ac_objext; then
18997 ac_cv_member_struct_sockaddr_un_sun_len=yes
18998 else
18999 echo "$as_me: failed program was:" >&5
19000 sed 's/^/| /' conftest.$ac_ext >&5
19002 cat >conftest.$ac_ext <<_ACEOF
19003 /* confdefs.h. */
19004 _ACEOF
19005 cat confdefs.h >>conftest.$ac_ext
19006 cat >>conftest.$ac_ext <<_ACEOF
19007 /* end confdefs.h. */
19008 #include <sys/types.h>
19009 #ifdef HAVE_SYS_SOCKET_H
19010 # include <sys/socket.h>
19011 #endif
19012 #ifdef HAVE_SYS_UN_H
19013 # include <sys/un.h>
19014 #endif
19017 main ()
19019 static struct sockaddr_un ac_aggr;
19020 if (sizeof ac_aggr.sun_len)
19021 return 0;
19023 return 0;
19025 _ACEOF
19026 rm -f conftest.$ac_objext
19027 if { (ac_try="$ac_compile"
19028 case "(($ac_try" in
19029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19030 *) ac_try_echo=$ac_try;;
19031 esac
19032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19033 (eval "$ac_compile") 2>conftest.er1
19034 ac_status=$?
19035 grep -v '^ *+' conftest.er1 >conftest.err
19036 rm -f conftest.er1
19037 cat conftest.err >&5
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); } && {
19040 test -z "$ac_c_werror_flag" ||
19041 test ! -s conftest.err
19042 } && test -s conftest.$ac_objext; then
19043 ac_cv_member_struct_sockaddr_un_sun_len=yes
19044 else
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.$ac_ext >&5
19048 ac_cv_member_struct_sockaddr_un_sun_len=no
19051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19057 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19058 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19060 cat >>confdefs.h <<_ACEOF
19061 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19062 _ACEOF
19068 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19069 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19070 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 else
19073 cat >conftest.$ac_ext <<_ACEOF
19074 /* confdefs.h. */
19075 _ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 #include <sys/types.h>
19080 #ifdef HAVE_SCSI_SG_H
19081 #include <scsi/sg.h>
19082 #endif
19085 main ()
19087 static scsireq_t ac_aggr;
19088 if (ac_aggr.cmd)
19089 return 0;
19091 return 0;
19093 _ACEOF
19094 rm -f conftest.$ac_objext
19095 if { (ac_try="$ac_compile"
19096 case "(($ac_try" in
19097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19098 *) ac_try_echo=$ac_try;;
19099 esac
19100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19101 (eval "$ac_compile") 2>conftest.er1
19102 ac_status=$?
19103 grep -v '^ *+' conftest.er1 >conftest.err
19104 rm -f conftest.er1
19105 cat conftest.err >&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } && {
19108 test -z "$ac_c_werror_flag" ||
19109 test ! -s conftest.err
19110 } && test -s conftest.$ac_objext; then
19111 ac_cv_member_scsireq_t_cmd=yes
19112 else
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.$ac_ext >&5
19116 cat >conftest.$ac_ext <<_ACEOF
19117 /* confdefs.h. */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 #include <sys/types.h>
19123 #ifdef HAVE_SCSI_SG_H
19124 #include <scsi/sg.h>
19125 #endif
19128 main ()
19130 static scsireq_t ac_aggr;
19131 if (sizeof ac_aggr.cmd)
19132 return 0;
19134 return 0;
19136 _ACEOF
19137 rm -f conftest.$ac_objext
19138 if { (ac_try="$ac_compile"
19139 case "(($ac_try" in
19140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19141 *) ac_try_echo=$ac_try;;
19142 esac
19143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19144 (eval "$ac_compile") 2>conftest.er1
19145 ac_status=$?
19146 grep -v '^ *+' conftest.er1 >conftest.err
19147 rm -f conftest.er1
19148 cat conftest.err >&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } && {
19151 test -z "$ac_c_werror_flag" ||
19152 test ! -s conftest.err
19153 } && test -s conftest.$ac_objext; then
19154 ac_cv_member_scsireq_t_cmd=yes
19155 else
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19159 ac_cv_member_scsireq_t_cmd=no
19162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19167 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19168 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19169 if test $ac_cv_member_scsireq_t_cmd = yes; then
19171 cat >>confdefs.h <<_ACEOF
19172 #define HAVE_SCSIREQ_T_CMD 1
19173 _ACEOF
19177 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19178 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19179 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19180 echo $ECHO_N "(cached) $ECHO_C" >&6
19181 else
19182 cat >conftest.$ac_ext <<_ACEOF
19183 /* confdefs.h. */
19184 _ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19188 #include <sys/types.h>
19189 #ifdef HAVE_SCSI_SG_H
19190 #include <scsi/sg.h>
19191 #endif
19194 main ()
19196 static sg_io_hdr_t ac_aggr;
19197 if (ac_aggr.interface_id)
19198 return 0;
19200 return 0;
19202 _ACEOF
19203 rm -f conftest.$ac_objext
19204 if { (ac_try="$ac_compile"
19205 case "(($ac_try" in
19206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19207 *) ac_try_echo=$ac_try;;
19208 esac
19209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19210 (eval "$ac_compile") 2>conftest.er1
19211 ac_status=$?
19212 grep -v '^ *+' conftest.er1 >conftest.err
19213 rm -f conftest.er1
19214 cat conftest.err >&5
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); } && {
19217 test -z "$ac_c_werror_flag" ||
19218 test ! -s conftest.err
19219 } && test -s conftest.$ac_objext; then
19220 ac_cv_member_sg_io_hdr_t_interface_id=yes
19221 else
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 #include <sys/types.h>
19232 #ifdef HAVE_SCSI_SG_H
19233 #include <scsi/sg.h>
19234 #endif
19237 main ()
19239 static sg_io_hdr_t ac_aggr;
19240 if (sizeof ac_aggr.interface_id)
19241 return 0;
19243 return 0;
19245 _ACEOF
19246 rm -f conftest.$ac_objext
19247 if { (ac_try="$ac_compile"
19248 case "(($ac_try" in
19249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19250 *) ac_try_echo=$ac_try;;
19251 esac
19252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19253 (eval "$ac_compile") 2>conftest.er1
19254 ac_status=$?
19255 grep -v '^ *+' conftest.er1 >conftest.err
19256 rm -f conftest.er1
19257 cat conftest.err >&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); } && {
19260 test -z "$ac_c_werror_flag" ||
19261 test ! -s conftest.err
19262 } && test -s conftest.$ac_objext; then
19263 ac_cv_member_sg_io_hdr_t_interface_id=yes
19264 else
19265 echo "$as_me: failed program was:" >&5
19266 sed 's/^/| /' conftest.$ac_ext >&5
19268 ac_cv_member_sg_io_hdr_t_interface_id=no
19271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19276 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19277 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19278 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19280 cat >>confdefs.h <<_ACEOF
19281 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19282 _ACEOF
19288 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19289 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19290 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19292 else
19293 cat >conftest.$ac_ext <<_ACEOF
19294 /* confdefs.h. */
19295 _ACEOF
19296 cat confdefs.h >>conftest.$ac_ext
19297 cat >>conftest.$ac_ext <<_ACEOF
19298 /* end confdefs.h. */
19299 #include <signal.h>
19302 main ()
19304 static siginfo_t ac_aggr;
19305 if (ac_aggr.si_fd)
19306 return 0;
19308 return 0;
19310 _ACEOF
19311 rm -f conftest.$ac_objext
19312 if { (ac_try="$ac_compile"
19313 case "(($ac_try" in
19314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19315 *) ac_try_echo=$ac_try;;
19316 esac
19317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19318 (eval "$ac_compile") 2>conftest.er1
19319 ac_status=$?
19320 grep -v '^ *+' conftest.er1 >conftest.err
19321 rm -f conftest.er1
19322 cat conftest.err >&5
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); } && {
19325 test -z "$ac_c_werror_flag" ||
19326 test ! -s conftest.err
19327 } && test -s conftest.$ac_objext; then
19328 ac_cv_member_siginfo_t_si_fd=yes
19329 else
19330 echo "$as_me: failed program was:" >&5
19331 sed 's/^/| /' conftest.$ac_ext >&5
19333 cat >conftest.$ac_ext <<_ACEOF
19334 /* confdefs.h. */
19335 _ACEOF
19336 cat confdefs.h >>conftest.$ac_ext
19337 cat >>conftest.$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19339 #include <signal.h>
19342 main ()
19344 static siginfo_t ac_aggr;
19345 if (sizeof ac_aggr.si_fd)
19346 return 0;
19348 return 0;
19350 _ACEOF
19351 rm -f conftest.$ac_objext
19352 if { (ac_try="$ac_compile"
19353 case "(($ac_try" in
19354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19355 *) ac_try_echo=$ac_try;;
19356 esac
19357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19358 (eval "$ac_compile") 2>conftest.er1
19359 ac_status=$?
19360 grep -v '^ *+' conftest.er1 >conftest.err
19361 rm -f conftest.er1
19362 cat conftest.err >&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); } && {
19365 test -z "$ac_c_werror_flag" ||
19366 test ! -s conftest.err
19367 } && test -s conftest.$ac_objext; then
19368 ac_cv_member_siginfo_t_si_fd=yes
19369 else
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19373 ac_cv_member_siginfo_t_si_fd=no
19376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19381 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19382 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19383 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19385 cat >>confdefs.h <<_ACEOF
19386 #define HAVE_SIGINFO_T_SI_FD 1
19387 _ACEOF
19393 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19394 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19395 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19396 echo $ECHO_N "(cached) $ECHO_C" >&6
19397 else
19398 cat >conftest.$ac_ext <<_ACEOF
19399 /* confdefs.h. */
19400 _ACEOF
19401 cat confdefs.h >>conftest.$ac_ext
19402 cat >>conftest.$ac_ext <<_ACEOF
19403 /* end confdefs.h. */
19404 #include <sys/types.h>
19405 #ifdef HAVE_SYS_MTIO_H
19406 #include <sys/mtio.h>
19407 #endif
19410 main ()
19412 static struct mtget ac_aggr;
19413 if (ac_aggr.mt_blksiz)
19414 return 0;
19416 return 0;
19418 _ACEOF
19419 rm -f conftest.$ac_objext
19420 if { (ac_try="$ac_compile"
19421 case "(($ac_try" in
19422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19423 *) ac_try_echo=$ac_try;;
19424 esac
19425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19426 (eval "$ac_compile") 2>conftest.er1
19427 ac_status=$?
19428 grep -v '^ *+' conftest.er1 >conftest.err
19429 rm -f conftest.er1
19430 cat conftest.err >&5
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); } && {
19433 test -z "$ac_c_werror_flag" ||
19434 test ! -s conftest.err
19435 } && test -s conftest.$ac_objext; then
19436 ac_cv_member_struct_mtget_mt_blksiz=yes
19437 else
19438 echo "$as_me: failed program was:" >&5
19439 sed 's/^/| /' conftest.$ac_ext >&5
19441 cat >conftest.$ac_ext <<_ACEOF
19442 /* confdefs.h. */
19443 _ACEOF
19444 cat confdefs.h >>conftest.$ac_ext
19445 cat >>conftest.$ac_ext <<_ACEOF
19446 /* end confdefs.h. */
19447 #include <sys/types.h>
19448 #ifdef HAVE_SYS_MTIO_H
19449 #include <sys/mtio.h>
19450 #endif
19453 main ()
19455 static struct mtget ac_aggr;
19456 if (sizeof ac_aggr.mt_blksiz)
19457 return 0;
19459 return 0;
19461 _ACEOF
19462 rm -f conftest.$ac_objext
19463 if { (ac_try="$ac_compile"
19464 case "(($ac_try" in
19465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19466 *) ac_try_echo=$ac_try;;
19467 esac
19468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19469 (eval "$ac_compile") 2>conftest.er1
19470 ac_status=$?
19471 grep -v '^ *+' conftest.er1 >conftest.err
19472 rm -f conftest.er1
19473 cat conftest.err >&5
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); } && {
19476 test -z "$ac_c_werror_flag" ||
19477 test ! -s conftest.err
19478 } && test -s conftest.$ac_objext; then
19479 ac_cv_member_struct_mtget_mt_blksiz=yes
19480 else
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.$ac_ext >&5
19484 ac_cv_member_struct_mtget_mt_blksiz=no
19487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19492 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19493 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19494 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19496 cat >>confdefs.h <<_ACEOF
19497 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19498 _ACEOF
19502 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19503 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19504 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19505 echo $ECHO_N "(cached) $ECHO_C" >&6
19506 else
19507 cat >conftest.$ac_ext <<_ACEOF
19508 /* confdefs.h. */
19509 _ACEOF
19510 cat confdefs.h >>conftest.$ac_ext
19511 cat >>conftest.$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 #include <sys/types.h>
19514 #ifdef HAVE_SYS_MTIO_H
19515 #include <sys/mtio.h>
19516 #endif
19519 main ()
19521 static struct mtget ac_aggr;
19522 if (ac_aggr.mt_gstat)
19523 return 0;
19525 return 0;
19527 _ACEOF
19528 rm -f conftest.$ac_objext
19529 if { (ac_try="$ac_compile"
19530 case "(($ac_try" in
19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19532 *) ac_try_echo=$ac_try;;
19533 esac
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19535 (eval "$ac_compile") 2>conftest.er1
19536 ac_status=$?
19537 grep -v '^ *+' conftest.er1 >conftest.err
19538 rm -f conftest.er1
19539 cat conftest.err >&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } && {
19542 test -z "$ac_c_werror_flag" ||
19543 test ! -s conftest.err
19544 } && test -s conftest.$ac_objext; then
19545 ac_cv_member_struct_mtget_mt_gstat=yes
19546 else
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19550 cat >conftest.$ac_ext <<_ACEOF
19551 /* confdefs.h. */
19552 _ACEOF
19553 cat confdefs.h >>conftest.$ac_ext
19554 cat >>conftest.$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 #include <sys/types.h>
19557 #ifdef HAVE_SYS_MTIO_H
19558 #include <sys/mtio.h>
19559 #endif
19562 main ()
19564 static struct mtget ac_aggr;
19565 if (sizeof ac_aggr.mt_gstat)
19566 return 0;
19568 return 0;
19570 _ACEOF
19571 rm -f conftest.$ac_objext
19572 if { (ac_try="$ac_compile"
19573 case "(($ac_try" in
19574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19575 *) ac_try_echo=$ac_try;;
19576 esac
19577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19578 (eval "$ac_compile") 2>conftest.er1
19579 ac_status=$?
19580 grep -v '^ *+' conftest.er1 >conftest.err
19581 rm -f conftest.er1
19582 cat conftest.err >&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); } && {
19585 test -z "$ac_c_werror_flag" ||
19586 test ! -s conftest.err
19587 } && test -s conftest.$ac_objext; then
19588 ac_cv_member_struct_mtget_mt_gstat=yes
19589 else
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19593 ac_cv_member_struct_mtget_mt_gstat=no
19596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19601 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19602 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19603 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19605 cat >>confdefs.h <<_ACEOF
19606 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19607 _ACEOF
19611 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19612 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19613 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19614 echo $ECHO_N "(cached) $ECHO_C" >&6
19615 else
19616 cat >conftest.$ac_ext <<_ACEOF
19617 /* confdefs.h. */
19618 _ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 #include <sys/types.h>
19623 #ifdef HAVE_SYS_MTIO_H
19624 #include <sys/mtio.h>
19625 #endif
19628 main ()
19630 static struct mtget ac_aggr;
19631 if (ac_aggr.mt_blkno)
19632 return 0;
19634 return 0;
19636 _ACEOF
19637 rm -f conftest.$ac_objext
19638 if { (ac_try="$ac_compile"
19639 case "(($ac_try" in
19640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19641 *) ac_try_echo=$ac_try;;
19642 esac
19643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19644 (eval "$ac_compile") 2>conftest.er1
19645 ac_status=$?
19646 grep -v '^ *+' conftest.er1 >conftest.err
19647 rm -f conftest.er1
19648 cat conftest.err >&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } && {
19651 test -z "$ac_c_werror_flag" ||
19652 test ! -s conftest.err
19653 } && test -s conftest.$ac_objext; then
19654 ac_cv_member_struct_mtget_mt_blkno=yes
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19659 cat >conftest.$ac_ext <<_ACEOF
19660 /* confdefs.h. */
19661 _ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 #include <sys/types.h>
19666 #ifdef HAVE_SYS_MTIO_H
19667 #include <sys/mtio.h>
19668 #endif
19671 main ()
19673 static struct mtget ac_aggr;
19674 if (sizeof ac_aggr.mt_blkno)
19675 return 0;
19677 return 0;
19679 _ACEOF
19680 rm -f conftest.$ac_objext
19681 if { (ac_try="$ac_compile"
19682 case "(($ac_try" in
19683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19684 *) ac_try_echo=$ac_try;;
19685 esac
19686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19687 (eval "$ac_compile") 2>conftest.er1
19688 ac_status=$?
19689 grep -v '^ *+' conftest.er1 >conftest.err
19690 rm -f conftest.er1
19691 cat conftest.err >&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } && {
19694 test -z "$ac_c_werror_flag" ||
19695 test ! -s conftest.err
19696 } && test -s conftest.$ac_objext; then
19697 ac_cv_member_struct_mtget_mt_blkno=yes
19698 else
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19702 ac_cv_member_struct_mtget_mt_blkno=no
19705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19710 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19711 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19712 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19714 cat >>confdefs.h <<_ACEOF
19715 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19716 _ACEOF
19722 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19723 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19724 if test "${ac_cv_member_struct_option_name+set}" = set; then
19725 echo $ECHO_N "(cached) $ECHO_C" >&6
19726 else
19727 cat >conftest.$ac_ext <<_ACEOF
19728 /* confdefs.h. */
19729 _ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 #ifdef HAVE_GETOPT_H
19734 #include <getopt.h>
19735 #endif
19738 main ()
19740 static struct option ac_aggr;
19741 if (ac_aggr.name)
19742 return 0;
19744 return 0;
19746 _ACEOF
19747 rm -f conftest.$ac_objext
19748 if { (ac_try="$ac_compile"
19749 case "(($ac_try" in
19750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19751 *) ac_try_echo=$ac_try;;
19752 esac
19753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19754 (eval "$ac_compile") 2>conftest.er1
19755 ac_status=$?
19756 grep -v '^ *+' conftest.er1 >conftest.err
19757 rm -f conftest.er1
19758 cat conftest.err >&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } && {
19761 test -z "$ac_c_werror_flag" ||
19762 test ! -s conftest.err
19763 } && test -s conftest.$ac_objext; then
19764 ac_cv_member_struct_option_name=yes
19765 else
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 cat >conftest.$ac_ext <<_ACEOF
19770 /* confdefs.h. */
19771 _ACEOF
19772 cat confdefs.h >>conftest.$ac_ext
19773 cat >>conftest.$ac_ext <<_ACEOF
19774 /* end confdefs.h. */
19775 #ifdef HAVE_GETOPT_H
19776 #include <getopt.h>
19777 #endif
19780 main ()
19782 static struct option ac_aggr;
19783 if (sizeof ac_aggr.name)
19784 return 0;
19786 return 0;
19788 _ACEOF
19789 rm -f conftest.$ac_objext
19790 if { (ac_try="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19794 esac
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19797 ac_status=$?
19798 grep -v '^ *+' conftest.er1 >conftest.err
19799 rm -f conftest.er1
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } && {
19803 test -z "$ac_c_werror_flag" ||
19804 test ! -s conftest.err
19805 } && test -s conftest.$ac_objext; then
19806 ac_cv_member_struct_option_name=yes
19807 else
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19811 ac_cv_member_struct_option_name=no
19814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19820 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19821 if test $ac_cv_member_struct_option_name = yes; then
19823 cat >>confdefs.h <<_ACEOF
19824 #define HAVE_STRUCT_OPTION_NAME 1
19825 _ACEOF
19831 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19832 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19833 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19834 echo $ECHO_N "(cached) $ECHO_C" >&6
19835 else
19836 cat >conftest.$ac_ext <<_ACEOF
19837 /* confdefs.h. */
19838 _ACEOF
19839 cat confdefs.h >>conftest.$ac_ext
19840 cat >>conftest.$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19842 $ac_includes_default
19844 main ()
19846 static struct stat ac_aggr;
19847 if (ac_aggr.st_blocks)
19848 return 0;
19850 return 0;
19852 _ACEOF
19853 rm -f conftest.$ac_objext
19854 if { (ac_try="$ac_compile"
19855 case "(($ac_try" in
19856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19857 *) ac_try_echo=$ac_try;;
19858 esac
19859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_compile") 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } && {
19867 test -z "$ac_c_werror_flag" ||
19868 test ! -s conftest.err
19869 } && test -s conftest.$ac_objext; then
19870 ac_cv_member_struct_stat_st_blocks=yes
19871 else
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19875 cat >conftest.$ac_ext <<_ACEOF
19876 /* confdefs.h. */
19877 _ACEOF
19878 cat confdefs.h >>conftest.$ac_ext
19879 cat >>conftest.$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 $ac_includes_default
19883 main ()
19885 static struct stat ac_aggr;
19886 if (sizeof ac_aggr.st_blocks)
19887 return 0;
19889 return 0;
19891 _ACEOF
19892 rm -f conftest.$ac_objext
19893 if { (ac_try="$ac_compile"
19894 case "(($ac_try" in
19895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19896 *) ac_try_echo=$ac_try;;
19897 esac
19898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19899 (eval "$ac_compile") 2>conftest.er1
19900 ac_status=$?
19901 grep -v '^ *+' conftest.er1 >conftest.err
19902 rm -f conftest.er1
19903 cat conftest.err >&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); } && {
19906 test -z "$ac_c_werror_flag" ||
19907 test ! -s conftest.err
19908 } && test -s conftest.$ac_objext; then
19909 ac_cv_member_struct_stat_st_blocks=yes
19910 else
19911 echo "$as_me: failed program was:" >&5
19912 sed 's/^/| /' conftest.$ac_ext >&5
19914 ac_cv_member_struct_stat_st_blocks=no
19917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19922 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19923 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19924 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19926 cat >>confdefs.h <<_ACEOF
19927 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19928 _ACEOF
19934 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19935 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19936 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939 cat >conftest.$ac_ext <<_ACEOF
19940 /* confdefs.h. */
19941 _ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #ifdef HAVE_SYS_TYPES_H
19946 #include <sys/types.h>
19947 #endif
19948 #ifdef HAVE_NETINET_IN_H
19949 #include <netinet/in.h>
19950 #endif
19953 main ()
19955 static struct sockaddr_in6 ac_aggr;
19956 if (ac_aggr.sin6_scope_id)
19957 return 0;
19959 return 0;
19961 _ACEOF
19962 rm -f conftest.$ac_objext
19963 if { (ac_try="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19966 *) ac_try_echo=$ac_try;;
19967 esac
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19970 ac_status=$?
19971 grep -v '^ *+' conftest.er1 >conftest.err
19972 rm -f conftest.er1
19973 cat conftest.err >&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && {
19976 test -z "$ac_c_werror_flag" ||
19977 test ! -s conftest.err
19978 } && test -s conftest.$ac_objext; then
19979 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19980 else
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19984 cat >conftest.$ac_ext <<_ACEOF
19985 /* confdefs.h. */
19986 _ACEOF
19987 cat confdefs.h >>conftest.$ac_ext
19988 cat >>conftest.$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 #ifdef HAVE_SYS_TYPES_H
19991 #include <sys/types.h>
19992 #endif
19993 #ifdef HAVE_NETINET_IN_H
19994 #include <netinet/in.h>
19995 #endif
19998 main ()
20000 static struct sockaddr_in6 ac_aggr;
20001 if (sizeof ac_aggr.sin6_scope_id)
20002 return 0;
20004 return 0;
20006 _ACEOF
20007 rm -f conftest.$ac_objext
20008 if { (ac_try="$ac_compile"
20009 case "(($ac_try" in
20010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20011 *) ac_try_echo=$ac_try;;
20012 esac
20013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20014 (eval "$ac_compile") 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } && {
20021 test -z "$ac_c_werror_flag" ||
20022 test ! -s conftest.err
20023 } && test -s conftest.$ac_objext; then
20024 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20025 else
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20029 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20038 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20039 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20043 _ACEOF
20049 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20050 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20051 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20053 else
20054 cat >conftest.$ac_ext <<_ACEOF
20055 /* confdefs.h. */
20056 _ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #ifdef HAVE_SYS_TYPES_H
20061 #include <sys/types.h>
20062 #endif
20063 #ifdef HAVE_NETINET_IN_H
20064 # include <netinet/in.h>
20065 #endif
20066 #ifdef HAVE_ARPA_NAMESER_H
20067 # include <arpa/nameser.h>
20068 #endif
20071 main ()
20073 static ns_msg ac_aggr;
20074 if (ac_aggr._msg_ptr)
20075 return 0;
20077 return 0;
20079 _ACEOF
20080 rm -f conftest.$ac_objext
20081 if { (ac_try="$ac_compile"
20082 case "(($ac_try" in
20083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20084 *) ac_try_echo=$ac_try;;
20085 esac
20086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20087 (eval "$ac_compile") 2>conftest.er1
20088 ac_status=$?
20089 grep -v '^ *+' conftest.er1 >conftest.err
20090 rm -f conftest.er1
20091 cat conftest.err >&5
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); } && {
20094 test -z "$ac_c_werror_flag" ||
20095 test ! -s conftest.err
20096 } && test -s conftest.$ac_objext; then
20097 ac_cv_member_ns_msg__msg_ptr=yes
20098 else
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20102 cat >conftest.$ac_ext <<_ACEOF
20103 /* confdefs.h. */
20104 _ACEOF
20105 cat confdefs.h >>conftest.$ac_ext
20106 cat >>conftest.$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20108 #ifdef HAVE_SYS_TYPES_H
20109 #include <sys/types.h>
20110 #endif
20111 #ifdef HAVE_NETINET_IN_H
20112 # include <netinet/in.h>
20113 #endif
20114 #ifdef HAVE_ARPA_NAMESER_H
20115 # include <arpa/nameser.h>
20116 #endif
20119 main ()
20121 static ns_msg ac_aggr;
20122 if (sizeof ac_aggr._msg_ptr)
20123 return 0;
20125 return 0;
20127 _ACEOF
20128 rm -f conftest.$ac_objext
20129 if { (ac_try="$ac_compile"
20130 case "(($ac_try" in
20131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20132 *) ac_try_echo=$ac_try;;
20133 esac
20134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20135 (eval "$ac_compile") 2>conftest.er1
20136 ac_status=$?
20137 grep -v '^ *+' conftest.er1 >conftest.err
20138 rm -f conftest.er1
20139 cat conftest.err >&5
20140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20141 (exit $ac_status); } && {
20142 test -z "$ac_c_werror_flag" ||
20143 test ! -s conftest.err
20144 } && test -s conftest.$ac_objext; then
20145 ac_cv_member_ns_msg__msg_ptr=yes
20146 else
20147 echo "$as_me: failed program was:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20150 ac_cv_member_ns_msg__msg_ptr=no
20153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20159 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20160 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20162 cat >>confdefs.h <<_ACEOF
20163 #define HAVE_NS_MSG__MSG_PTR 1
20164 _ACEOF
20170 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20171 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20172 if test "${ac_cv_have_timezone+set}" = set; then
20173 echo $ECHO_N "(cached) $ECHO_C" >&6
20174 else
20175 cat >conftest.$ac_ext <<_ACEOF
20176 /* confdefs.h. */
20177 _ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 #include <time.h>
20183 main ()
20185 timezone = 1
20187 return 0;
20189 _ACEOF
20190 rm -f conftest.$ac_objext conftest$ac_exeext
20191 if { (ac_try="$ac_link"
20192 case "(($ac_try" in
20193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20194 *) ac_try_echo=$ac_try;;
20195 esac
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_link") 2>conftest.er1
20198 ac_status=$?
20199 grep -v '^ *+' conftest.er1 >conftest.err
20200 rm -f conftest.er1
20201 cat conftest.err >&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && {
20204 test -z "$ac_c_werror_flag" ||
20205 test ! -s conftest.err
20206 } && test -s conftest$ac_exeext &&
20207 $as_test_x conftest$ac_exeext; then
20208 ac_cv_have_timezone="yes"
20209 else
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.$ac_ext >&5
20213 ac_cv_have_timezone="no"
20216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20217 conftest$ac_exeext conftest.$ac_ext
20219 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20220 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20221 if test "$ac_cv_have_timezone" = "yes"
20222 then
20224 cat >>confdefs.h <<\_ACEOF
20225 #define HAVE_TIMEZONE 1
20226 _ACEOF
20229 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20230 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20231 if test "${ac_cv_have_daylight+set}" = set; then
20232 echo $ECHO_N "(cached) $ECHO_C" >&6
20233 else
20234 cat >conftest.$ac_ext <<_ACEOF
20235 /* confdefs.h. */
20236 _ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 #include <time.h>
20242 main ()
20244 daylight = 1
20246 return 0;
20248 _ACEOF
20249 rm -f conftest.$ac_objext conftest$ac_exeext
20250 if { (ac_try="$ac_link"
20251 case "(($ac_try" in
20252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20253 *) ac_try_echo=$ac_try;;
20254 esac
20255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20256 (eval "$ac_link") 2>conftest.er1
20257 ac_status=$?
20258 grep -v '^ *+' conftest.er1 >conftest.err
20259 rm -f conftest.er1
20260 cat conftest.err >&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } && {
20263 test -z "$ac_c_werror_flag" ||
20264 test ! -s conftest.err
20265 } && test -s conftest$ac_exeext &&
20266 $as_test_x conftest$ac_exeext; then
20267 ac_cv_have_daylight="yes"
20268 else
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.$ac_ext >&5
20272 ac_cv_have_daylight="no"
20275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20276 conftest$ac_exeext conftest.$ac_ext
20278 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20279 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20280 if test "$ac_cv_have_daylight" = "yes"
20281 then
20283 cat >>confdefs.h <<\_ACEOF
20284 #define HAVE_DAYLIGHT 1
20285 _ACEOF
20290 case $host_cpu in
20291 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20292 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20293 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20294 echo $ECHO_N "(cached) $ECHO_C" >&6
20295 else
20296 cat >conftest.$ac_ext <<_ACEOF
20297 /* confdefs.h. */
20298 _ACEOF
20299 cat confdefs.h >>conftest.$ac_ext
20300 cat >>conftest.$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20302 #ifndef __i386__
20304 #endif
20305 _ACEOF
20306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20307 $EGREP "yes" >/dev/null 2>&1; then
20308 ac_cv_cpp_def___i386__=yes
20309 else
20310 ac_cv_cpp_def___i386__=no
20312 rm -f conftest*
20315 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20316 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20317 if test $ac_cv_cpp_def___i386__ = yes; then
20318 CFLAGS="$CFLAGS -D__i386__"
20319 LINTFLAGS="$LINTFLAGS -D__i386__"
20322 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20323 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20324 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20325 echo $ECHO_N "(cached) $ECHO_C" >&6
20326 else
20327 cat >conftest.$ac_ext <<_ACEOF
20328 /* confdefs.h. */
20329 _ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 #ifndef __x86_64__
20335 #endif
20336 _ACEOF
20337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20338 $EGREP "yes" >/dev/null 2>&1; then
20339 ac_cv_cpp_def___x86_64__=yes
20340 else
20341 ac_cv_cpp_def___x86_64__=no
20343 rm -f conftest*
20346 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20347 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20348 if test $ac_cv_cpp_def___x86_64__ = yes; then
20349 CFLAGS="$CFLAGS -D__x86_64__"
20350 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20353 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20354 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20355 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20357 else
20358 cat >conftest.$ac_ext <<_ACEOF
20359 /* confdefs.h. */
20360 _ACEOF
20361 cat confdefs.h >>conftest.$ac_ext
20362 cat >>conftest.$ac_ext <<_ACEOF
20363 /* end confdefs.h. */
20364 #ifndef __ALPHA__
20366 #endif
20367 _ACEOF
20368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20369 $EGREP "yes" >/dev/null 2>&1; then
20370 ac_cv_cpp_def___ALPHA__=yes
20371 else
20372 ac_cv_cpp_def___ALPHA__=no
20374 rm -f conftest*
20377 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20378 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20379 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20380 CFLAGS="$CFLAGS -D__ALPHA__"
20381 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20384 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20385 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20386 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20387 echo $ECHO_N "(cached) $ECHO_C" >&6
20388 else
20389 cat >conftest.$ac_ext <<_ACEOF
20390 /* confdefs.h. */
20391 _ACEOF
20392 cat confdefs.h >>conftest.$ac_ext
20393 cat >>conftest.$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20395 #ifndef __sparc__
20397 #endif
20398 _ACEOF
20399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20400 $EGREP "yes" >/dev/null 2>&1; then
20401 ac_cv_cpp_def___sparc__=yes
20402 else
20403 ac_cv_cpp_def___sparc__=no
20405 rm -f conftest*
20408 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20409 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20410 if test $ac_cv_cpp_def___sparc__ = yes; then
20411 CFLAGS="$CFLAGS -D__sparc__"
20412 LINTFLAGS="$LINTFLAGS -D__sparc__"
20415 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20416 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20417 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 else
20420 cat >conftest.$ac_ext <<_ACEOF
20421 /* confdefs.h. */
20422 _ACEOF
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 #ifndef __powerpc__
20428 #endif
20429 _ACEOF
20430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20431 $EGREP "yes" >/dev/null 2>&1; then
20432 ac_cv_cpp_def___powerpc__=yes
20433 else
20434 ac_cv_cpp_def___powerpc__=no
20436 rm -f conftest*
20439 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20440 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20441 if test $ac_cv_cpp_def___powerpc__ = yes; then
20442 CFLAGS="$CFLAGS -D__powerpc__"
20443 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20446 esac
20448 case $host_vendor in
20449 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20450 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20451 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 else
20454 cat >conftest.$ac_ext <<_ACEOF
20455 /* confdefs.h. */
20456 _ACEOF
20457 cat confdefs.h >>conftest.$ac_ext
20458 cat >>conftest.$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20460 #ifndef __sun__
20462 #endif
20463 _ACEOF
20464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20465 $EGREP "yes" >/dev/null 2>&1; then
20466 ac_cv_cpp_def___sun__=yes
20467 else
20468 ac_cv_cpp_def___sun__=no
20470 rm -f conftest*
20473 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20474 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20475 if test $ac_cv_cpp_def___sun__ = yes; then
20476 CFLAGS="$CFLAGS -D__sun__"
20477 LINTFLAGS="$LINTFLAGS -D__sun__"
20480 esac
20483 DEPENDENCIES="### Dependencies:
20485 .INIT: Makefile
20486 .BEGIN: Makefile
20487 Makefile: dummy
20488 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20490 \$(OBJS): \$(IDL_GEN_HEADERS)
20491 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20492 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20493 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20499 ac_config_commands="$ac_config_commands include/stamp-h"
20502 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20504 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20506 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20508 ac_config_commands="$ac_config_commands dlls/user32/resources"
20510 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20512 ac_config_commands="$ac_config_commands include/wine"
20515 MAKE_RULES=Make.rules
20518 MAKE_DLL_RULES=dlls/Makedll.rules
20521 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20524 MAKE_TEST_RULES=dlls/Maketest.rules
20527 MAKE_PROG_RULES=programs/Makeprog.rules
20530 ac_config_files="$ac_config_files Make.rules"
20532 ac_config_files="$ac_config_files dlls/Makedll.rules"
20534 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20536 ac_config_files="$ac_config_files dlls/Maketest.rules"
20538 ac_config_files="$ac_config_files programs/Makeprog.rules"
20540 ac_config_files="$ac_config_files Makefile"
20542 ac_config_files="$ac_config_files dlls/Makefile"
20544 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20546 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20548 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20550 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20552 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20554 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20556 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20558 ac_config_files="$ac_config_files dlls/atl/Makefile"
20560 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20562 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20564 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20566 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20568 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20570 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20572 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20574 ac_config_files="$ac_config_files dlls/cards/Makefile"
20576 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20578 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20580 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20582 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20584 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20586 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20588 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20590 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20592 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20594 ac_config_files="$ac_config_files dlls/credui/Makefile"
20596 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
20598 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20600 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20602 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20604 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20606 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20608 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20610 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
20612 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20614 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20616 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20618 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20620 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20622 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20624 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20626 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20628 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20630 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20632 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20634 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20636 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20638 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20640 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20642 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20646 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20648 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20650 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20652 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20654 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20656 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20658 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20660 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20662 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20664 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20666 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20668 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20670 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20672 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20674 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20676 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20678 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20680 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20682 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20684 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20686 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20688 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20690 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20692 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20694 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20696 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20698 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20700 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20702 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20704 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20706 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20708 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20710 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20712 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20714 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20716 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20718 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20720 ac_config_files="$ac_config_files dlls/hal/Makefile"
20722 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20724 ac_config_files="$ac_config_files dlls/hid/Makefile"
20726 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20728 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20730 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20732 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20734 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20736 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20738 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20740 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20742 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20744 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
20746 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
20748 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20750 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20752 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20754 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20756 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20758 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20760 ac_config_files="$ac_config_files dlls/itss/Makefile"
20762 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20764 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20766 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20768 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20770 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20772 ac_config_files="$ac_config_files dlls/localui/Makefile"
20774 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20776 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20778 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20780 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20782 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20784 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20786 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20788 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20790 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20792 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20794 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20796 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20798 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20800 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20802 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20804 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20806 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20808 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20810 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20812 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20814 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
20816 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20818 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20820 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20822 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20824 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20826 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20828 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20830 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20832 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20834 ac_config_files="$ac_config_files dlls/msi/Makefile"
20836 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20838 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20840 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20842 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20844 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20846 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20848 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20850 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20852 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20854 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20856 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20858 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20860 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20862 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20864 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20866 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20868 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20870 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20872 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20874 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20876 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20878 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20880 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20882 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20884 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20886 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20888 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20890 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20892 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20894 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20896 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20898 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20900 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20902 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20904 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20906 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20908 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20910 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20912 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20914 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20916 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20918 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20920 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20922 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20924 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20926 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20928 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20930 ac_config_files="$ac_config_files dlls/printui/Makefile"
20932 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20934 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20936 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20938 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20940 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
20942 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20944 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20946 ac_config_files="$ac_config_files dlls/query/Makefile"
20948 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20950 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20952 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20954 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20956 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20958 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
20960 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20962 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20964 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20966 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20968 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20970 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20972 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20974 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20976 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20978 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20980 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20982 ac_config_files="$ac_config_files dlls/security/Makefile"
20984 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20986 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20988 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20990 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20992 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20994 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20996 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20998 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21000 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21002 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21004 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21006 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21008 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21010 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21012 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21014 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21016 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21018 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21020 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21022 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21024 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21026 ac_config_files="$ac_config_files dlls/sti/Makefile"
21028 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21030 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21032 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21034 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21036 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21038 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21040 ac_config_files="$ac_config_files dlls/url/Makefile"
21042 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21044 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21046 ac_config_files="$ac_config_files dlls/user32/Makefile"
21048 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21050 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21052 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21054 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21056 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21058 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21060 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21062 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21064 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21066 ac_config_files="$ac_config_files dlls/version/Makefile"
21068 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21070 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21072 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21074 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21076 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21078 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21080 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21082 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21084 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21086 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21088 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21090 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21092 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21094 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21096 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21098 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21100 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21102 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21104 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21106 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21108 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21110 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21112 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21114 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21116 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21118 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21120 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21122 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21124 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21126 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21128 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21130 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21132 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21134 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21136 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21138 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21140 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21142 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21144 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21146 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21148 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21150 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21152 ac_config_files="$ac_config_files documentation/Makefile"
21154 ac_config_files="$ac_config_files fonts/Makefile"
21156 ac_config_files="$ac_config_files include/Makefile"
21158 ac_config_files="$ac_config_files libs/Makefile"
21160 ac_config_files="$ac_config_files libs/port/Makefile"
21162 ac_config_files="$ac_config_files libs/wine/Makefile"
21164 ac_config_files="$ac_config_files libs/wpp/Makefile"
21166 ac_config_files="$ac_config_files loader/Makefile"
21168 ac_config_files="$ac_config_files programs/Makefile"
21170 ac_config_files="$ac_config_files programs/clock/Makefile"
21172 ac_config_files="$ac_config_files programs/cmd/Makefile"
21174 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21176 ac_config_files="$ac_config_files programs/control/Makefile"
21178 ac_config_files="$ac_config_files programs/eject/Makefile"
21180 ac_config_files="$ac_config_files programs/expand/Makefile"
21182 ac_config_files="$ac_config_files programs/explorer/Makefile"
21184 ac_config_files="$ac_config_files programs/hh/Makefile"
21186 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21188 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21190 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21192 ac_config_files="$ac_config_files programs/net/Makefile"
21194 ac_config_files="$ac_config_files programs/notepad/Makefile"
21196 ac_config_files="$ac_config_files programs/oleview/Makefile"
21198 ac_config_files="$ac_config_files programs/progman/Makefile"
21200 ac_config_files="$ac_config_files programs/regedit/Makefile"
21202 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21204 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21206 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21208 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21210 ac_config_files="$ac_config_files programs/start/Makefile"
21212 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21214 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21216 ac_config_files="$ac_config_files programs/view/Makefile"
21218 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21220 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21222 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21224 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21226 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21228 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21230 ac_config_files="$ac_config_files programs/winefile/Makefile"
21232 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21234 ac_config_files="$ac_config_files programs/winemine/Makefile"
21236 ac_config_files="$ac_config_files programs/winepath/Makefile"
21238 ac_config_files="$ac_config_files programs/winetest/Makefile"
21240 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21242 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21244 ac_config_files="$ac_config_files programs/winver/Makefile"
21246 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21248 ac_config_files="$ac_config_files programs/write/Makefile"
21250 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21252 ac_config_files="$ac_config_files server/Makefile"
21254 ac_config_files="$ac_config_files tools/Makefile"
21256 ac_config_files="$ac_config_files tools/widl/Makefile"
21258 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21260 ac_config_files="$ac_config_files tools/winedump/Makefile"
21262 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21264 ac_config_files="$ac_config_files tools/wmc/Makefile"
21266 ac_config_files="$ac_config_files tools/wrc/Makefile"
21269 cat >confcache <<\_ACEOF
21270 # This file is a shell script that caches the results of configure
21271 # tests run on this system so they can be shared between configure
21272 # scripts and configure runs, see configure's option --config-cache.
21273 # It is not useful on other systems. If it contains results you don't
21274 # want to keep, you may remove or edit it.
21276 # config.status only pays attention to the cache file if you give it
21277 # the --recheck option to rerun configure.
21279 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21281 # following values.
21283 _ACEOF
21285 # The following way of writing the cache mishandles newlines in values,
21286 # but we know of no workaround that is simple, portable, and efficient.
21287 # So, we kill variables containing newlines.
21288 # Ultrix sh set writes to stderr and can't be redirected directly,
21289 # and sets the high bit in the cache file unless we assign to the vars.
21291 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21292 eval ac_val=\$$ac_var
21293 case $ac_val in #(
21294 *${as_nl}*)
21295 case $ac_var in #(
21296 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21297 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21298 esac
21299 case $ac_var in #(
21300 _ | IFS | as_nl) ;; #(
21301 *) $as_unset $ac_var ;;
21302 esac ;;
21303 esac
21304 done
21306 (set) 2>&1 |
21307 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21308 *${as_nl}ac_space=\ *)
21309 # `set' does not quote correctly, so add quotes (double-quote
21310 # substitution turns \\\\ into \\, and sed turns \\ into \).
21311 sed -n \
21312 "s/'/'\\\\''/g;
21313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21314 ;; #(
21316 # `set' quotes correctly as required by POSIX, so do not add quotes.
21317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21319 esac |
21320 sort
21322 sed '
21323 /^ac_cv_env_/b end
21324 t clear
21325 :clear
21326 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21327 t end
21328 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21329 :end' >>confcache
21330 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21331 if test -w "$cache_file"; then
21332 test "x$cache_file" != "x/dev/null" &&
21333 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21334 echo "$as_me: updating cache $cache_file" >&6;}
21335 cat confcache >$cache_file
21336 else
21337 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21338 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21341 rm -f confcache
21343 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21344 # Let make expand exec_prefix.
21345 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21347 DEFS=-DHAVE_CONFIG_H
21349 ac_libobjs=
21350 ac_ltlibobjs=
21351 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21352 # 1. Remove the extension, and $U if already installed.
21353 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21354 ac_i=`echo "$ac_i" | sed "$ac_script"`
21355 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21356 # will be set to the directory where LIBOBJS objects are built.
21357 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21358 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21359 done
21360 LIBOBJS=$ac_libobjs
21362 LTLIBOBJS=$ac_ltlibobjs
21366 : ${CONFIG_STATUS=./config.status}
21367 ac_clean_files_save=$ac_clean_files
21368 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21369 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21370 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21371 cat >$CONFIG_STATUS <<_ACEOF
21372 #! $SHELL
21373 # Generated by $as_me.
21374 # Run this file to recreate the current configuration.
21375 # Compiler output produced by configure, useful for debugging
21376 # configure, is in config.log if it exists.
21378 debug=false
21379 ac_cs_recheck=false
21380 ac_cs_silent=false
21381 SHELL=\${CONFIG_SHELL-$SHELL}
21382 _ACEOF
21384 cat >>$CONFIG_STATUS <<\_ACEOF
21385 ## --------------------- ##
21386 ## M4sh Initialization. ##
21387 ## --------------------- ##
21389 # Be more Bourne compatible
21390 DUALCASE=1; export DUALCASE # for MKS sh
21391 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21392 emulate sh
21393 NULLCMD=:
21394 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21395 # is contrary to our usage. Disable this feature.
21396 alias -g '${1+"$@"}'='"$@"'
21397 setopt NO_GLOB_SUBST
21398 else
21399 case `(set -o) 2>/dev/null` in
21400 *posix*) set -o posix ;;
21401 esac
21408 # PATH needs CR
21409 # Avoid depending upon Character Ranges.
21410 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21411 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21412 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21413 as_cr_digits='0123456789'
21414 as_cr_alnum=$as_cr_Letters$as_cr_digits
21416 # The user is always right.
21417 if test "${PATH_SEPARATOR+set}" != set; then
21418 echo "#! /bin/sh" >conf$$.sh
21419 echo "exit 0" >>conf$$.sh
21420 chmod +x conf$$.sh
21421 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21422 PATH_SEPARATOR=';'
21423 else
21424 PATH_SEPARATOR=:
21426 rm -f conf$$.sh
21429 # Support unset when possible.
21430 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21431 as_unset=unset
21432 else
21433 as_unset=false
21437 # IFS
21438 # We need space, tab and new line, in precisely that order. Quoting is
21439 # there to prevent editors from complaining about space-tab.
21440 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21441 # splitting by setting IFS to empty value.)
21442 as_nl='
21444 IFS=" "" $as_nl"
21446 # Find who we are. Look in the path if we contain no directory separator.
21447 case $0 in
21448 *[\\/]* ) as_myself=$0 ;;
21449 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21450 for as_dir in $PATH
21452 IFS=$as_save_IFS
21453 test -z "$as_dir" && as_dir=.
21454 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21455 done
21456 IFS=$as_save_IFS
21459 esac
21460 # We did not find ourselves, most probably we were run as `sh COMMAND'
21461 # in which case we are not to be found in the path.
21462 if test "x$as_myself" = x; then
21463 as_myself=$0
21465 if test ! -f "$as_myself"; then
21466 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21467 { (exit 1); exit 1; }
21470 # Work around bugs in pre-3.0 UWIN ksh.
21471 for as_var in ENV MAIL MAILPATH
21472 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21473 done
21474 PS1='$ '
21475 PS2='> '
21476 PS4='+ '
21478 # NLS nuisances.
21479 for as_var in \
21480 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21481 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21482 LC_TELEPHONE LC_TIME
21484 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21485 eval $as_var=C; export $as_var
21486 else
21487 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21489 done
21491 # Required to use basename.
21492 if expr a : '\(a\)' >/dev/null 2>&1 &&
21493 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21494 as_expr=expr
21495 else
21496 as_expr=false
21499 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21500 as_basename=basename
21501 else
21502 as_basename=false
21506 # Name of the executable.
21507 as_me=`$as_basename -- "$0" ||
21508 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21509 X"$0" : 'X\(//\)$' \| \
21510 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21511 echo X/"$0" |
21512 sed '/^.*\/\([^/][^/]*\)\/*$/{
21513 s//\1/
21516 /^X\/\(\/\/\)$/{
21517 s//\1/
21520 /^X\/\(\/\).*/{
21521 s//\1/
21524 s/.*/./; q'`
21526 # CDPATH.
21527 $as_unset CDPATH
21531 as_lineno_1=$LINENO
21532 as_lineno_2=$LINENO
21533 test "x$as_lineno_1" != "x$as_lineno_2" &&
21534 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21536 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21537 # uniformly replaced by the line number. The first 'sed' inserts a
21538 # line-number line after each line using $LINENO; the second 'sed'
21539 # does the real work. The second script uses 'N' to pair each
21540 # line-number line with the line containing $LINENO, and appends
21541 # trailing '-' during substitution so that $LINENO is not a special
21542 # case at line end.
21543 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21544 # scripts with optimization help from Paolo Bonzini. Blame Lee
21545 # E. McMahon (1931-1989) for sed's syntax. :-)
21546 sed -n '
21548 /[$]LINENO/=
21549 ' <$as_myself |
21550 sed '
21551 s/[$]LINENO.*/&-/
21552 t lineno
21554 :lineno
21556 :loop
21557 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21558 t loop
21559 s/-\n.*//
21560 ' >$as_me.lineno &&
21561 chmod +x "$as_me.lineno" ||
21562 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21563 { (exit 1); exit 1; }; }
21565 # Don't try to exec as it changes $[0], causing all sort of problems
21566 # (the dirname of $[0] is not the place where we might find the
21567 # original and so on. Autoconf is especially sensitive to this).
21568 . "./$as_me.lineno"
21569 # Exit status is that of the last command.
21570 exit
21574 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21575 as_dirname=dirname
21576 else
21577 as_dirname=false
21580 ECHO_C= ECHO_N= ECHO_T=
21581 case `echo -n x` in
21582 -n*)
21583 case `echo 'x\c'` in
21584 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21585 *) ECHO_C='\c';;
21586 esac;;
21588 ECHO_N='-n';;
21589 esac
21591 if expr a : '\(a\)' >/dev/null 2>&1 &&
21592 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21593 as_expr=expr
21594 else
21595 as_expr=false
21598 rm -f conf$$ conf$$.exe conf$$.file
21599 if test -d conf$$.dir; then
21600 rm -f conf$$.dir/conf$$.file
21601 else
21602 rm -f conf$$.dir
21603 mkdir conf$$.dir
21605 echo >conf$$.file
21606 if ln -s conf$$.file conf$$ 2>/dev/null; then
21607 as_ln_s='ln -s'
21608 # ... but there are two gotchas:
21609 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21610 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21611 # In both cases, we have to default to `cp -p'.
21612 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21613 as_ln_s='cp -p'
21614 elif ln conf$$.file conf$$ 2>/dev/null; then
21615 as_ln_s=ln
21616 else
21617 as_ln_s='cp -p'
21619 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21620 rmdir conf$$.dir 2>/dev/null
21622 if mkdir -p . 2>/dev/null; then
21623 as_mkdir_p=:
21624 else
21625 test -d ./-p && rmdir ./-p
21626 as_mkdir_p=false
21629 if test -x / >/dev/null 2>&1; then
21630 as_test_x='test -x'
21631 else
21632 if ls -dL / >/dev/null 2>&1; then
21633 as_ls_L_option=L
21634 else
21635 as_ls_L_option=
21637 as_test_x='
21638 eval sh -c '\''
21639 if test -d "$1"; then
21640 test -d "$1/.";
21641 else
21642 case $1 in
21643 -*)set "./$1";;
21644 esac;
21645 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21646 ???[sx]*):;;*)false;;esac;fi
21647 '\'' sh
21650 as_executable_p=$as_test_x
21652 # Sed expression to map a string onto a valid CPP name.
21653 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21655 # Sed expression to map a string onto a valid variable name.
21656 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21659 exec 6>&1
21661 # Save the log message, to keep $[0] and so on meaningful, and to
21662 # report actual input values of CONFIG_FILES etc. instead of their
21663 # values after options handling.
21664 ac_log="
21665 This file was extended by Wine $as_me 0.9.49, which was
21666 generated by GNU Autoconf 2.61. Invocation command line was
21668 CONFIG_FILES = $CONFIG_FILES
21669 CONFIG_HEADERS = $CONFIG_HEADERS
21670 CONFIG_LINKS = $CONFIG_LINKS
21671 CONFIG_COMMANDS = $CONFIG_COMMANDS
21672 $ $0 $@
21674 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21677 _ACEOF
21679 cat >>$CONFIG_STATUS <<_ACEOF
21680 # Files that config.status was made for.
21681 config_files="$ac_config_files"
21682 config_headers="$ac_config_headers"
21683 config_commands="$ac_config_commands"
21685 _ACEOF
21687 cat >>$CONFIG_STATUS <<\_ACEOF
21688 ac_cs_usage="\
21689 \`$as_me' instantiates files from templates according to the
21690 current configuration.
21692 Usage: $0 [OPTIONS] [FILE]...
21694 -h, --help print this help, then exit
21695 -V, --version print version number and configuration settings, then exit
21696 -q, --quiet do not print progress messages
21697 -d, --debug don't remove temporary files
21698 --recheck update $as_me by reconfiguring in the same conditions
21699 --file=FILE[:TEMPLATE]
21700 instantiate the configuration file FILE
21701 --header=FILE[:TEMPLATE]
21702 instantiate the configuration header FILE
21704 Configuration files:
21705 $config_files
21707 Configuration headers:
21708 $config_headers
21710 Configuration commands:
21711 $config_commands
21713 Report bugs to <bug-autoconf@gnu.org>."
21715 _ACEOF
21716 cat >>$CONFIG_STATUS <<_ACEOF
21717 ac_cs_version="\\
21718 Wine config.status 0.9.49
21719 configured by $0, generated by GNU Autoconf 2.61,
21720 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21722 Copyright (C) 2006 Free Software Foundation, Inc.
21723 This config.status script is free software; the Free Software Foundation
21724 gives unlimited permission to copy, distribute and modify it."
21726 ac_pwd='$ac_pwd'
21727 srcdir='$srcdir'
21728 INSTALL='$INSTALL'
21729 _ACEOF
21731 cat >>$CONFIG_STATUS <<\_ACEOF
21732 # If no file are specified by the user, then we need to provide default
21733 # value. By we need to know if files were specified by the user.
21734 ac_need_defaults=:
21735 while test $# != 0
21737 case $1 in
21738 --*=*)
21739 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21740 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21741 ac_shift=:
21744 ac_option=$1
21745 ac_optarg=$2
21746 ac_shift=shift
21748 esac
21750 case $ac_option in
21751 # Handling of the options.
21752 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21753 ac_cs_recheck=: ;;
21754 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21755 echo "$ac_cs_version"; exit ;;
21756 --debug | --debu | --deb | --de | --d | -d )
21757 debug=: ;;
21758 --file | --fil | --fi | --f )
21759 $ac_shift
21760 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21761 ac_need_defaults=false;;
21762 --header | --heade | --head | --hea )
21763 $ac_shift
21764 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21765 ac_need_defaults=false;;
21766 --he | --h)
21767 # Conflict between --help and --header
21768 { echo "$as_me: error: ambiguous option: $1
21769 Try \`$0 --help' for more information." >&2
21770 { (exit 1); exit 1; }; };;
21771 --help | --hel | -h )
21772 echo "$ac_cs_usage"; exit ;;
21773 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21774 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21775 ac_cs_silent=: ;;
21777 # This is an error.
21778 -*) { echo "$as_me: error: unrecognized option: $1
21779 Try \`$0 --help' for more information." >&2
21780 { (exit 1); exit 1; }; } ;;
21782 *) ac_config_targets="$ac_config_targets $1"
21783 ac_need_defaults=false ;;
21785 esac
21786 shift
21787 done
21789 ac_configure_extra_args=
21791 if $ac_cs_silent; then
21792 exec 6>/dev/null
21793 ac_configure_extra_args="$ac_configure_extra_args --silent"
21796 _ACEOF
21797 cat >>$CONFIG_STATUS <<_ACEOF
21798 if \$ac_cs_recheck; then
21799 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21800 CONFIG_SHELL=$SHELL
21801 export CONFIG_SHELL
21802 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21805 _ACEOF
21806 cat >>$CONFIG_STATUS <<\_ACEOF
21807 exec 5>>config.log
21809 echo
21810 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21811 ## Running $as_me. ##
21812 _ASBOX
21813 echo "$ac_log"
21814 } >&5
21816 _ACEOF
21817 cat >>$CONFIG_STATUS <<_ACEOF
21818 _ACEOF
21820 cat >>$CONFIG_STATUS <<\_ACEOF
21822 # Handling of arguments.
21823 for ac_config_target in $ac_config_targets
21825 case $ac_config_target in
21826 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21827 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21828 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21829 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21830 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21831 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21832 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21833 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21834 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21835 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21836 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21837 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21838 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21839 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21840 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21841 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21842 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21843 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21844 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21845 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21846 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21847 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21848 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21849 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21850 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21851 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21852 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21853 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21854 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21855 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21856 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21857 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21858 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21859 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21860 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21861 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21862 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21863 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21864 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21865 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21866 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21867 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21868 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21869 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21870 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21871 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21872 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21873 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21874 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21875 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21876 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21877 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21878 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21879 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21880 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21881 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21882 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21883 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21884 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21885 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21886 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21887 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21888 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21889 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21890 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21891 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21892 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21893 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21894 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21895 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21896 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21897 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21898 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21899 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21900 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21901 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21902 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21903 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21904 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21905 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21906 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21907 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21908 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21909 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21910 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21911 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21912 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21913 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21914 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21915 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21916 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21917 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21918 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21919 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21920 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21921 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21922 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21923 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21924 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21925 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21926 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21927 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21928 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21929 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21930 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21931 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21932 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21933 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21934 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21935 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21936 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21937 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21938 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21939 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21940 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21941 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
21942 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
21943 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21944 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21945 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21946 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21947 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21948 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21949 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21950 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21951 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21952 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21953 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21954 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21955 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21956 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21957 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21958 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21959 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21960 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21961 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21962 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21963 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21964 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21965 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21966 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21967 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21968 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21969 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21970 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21971 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21972 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21973 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21974 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21975 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21976 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
21977 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21978 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21979 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21980 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21981 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21982 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21983 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21984 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21985 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21986 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21987 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21988 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21989 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
21990 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21991 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21992 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21993 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
21994 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21995 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21996 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21997 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21998 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21999 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22000 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22001 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22002 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22003 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22004 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22005 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22006 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22007 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22008 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22009 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22010 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22011 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22012 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22013 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22014 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22015 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22016 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22017 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22018 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22019 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22020 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22021 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22022 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22023 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22024 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22025 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22026 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22027 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22028 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22029 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22030 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22031 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22032 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22033 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22034 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22035 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22036 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22037 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22038 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22039 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22040 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22041 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22042 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22043 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22044 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22045 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22046 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22047 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22048 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22049 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22050 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22051 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22052 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22053 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22054 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22055 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22056 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22057 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22058 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22059 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22060 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22061 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22062 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22063 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22064 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22065 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22066 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22067 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22068 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22069 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22070 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22071 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22072 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22073 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22074 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22075 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22076 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22077 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22078 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22079 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22080 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22081 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22082 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22083 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22084 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22085 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22086 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22087 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22088 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22089 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22090 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22091 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22092 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22093 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22094 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22095 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22096 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22097 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22098 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22099 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22100 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22101 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22102 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22103 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22104 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22105 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22106 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22107 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22108 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22109 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22110 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22111 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22112 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22113 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22114 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22115 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22116 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22117 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22118 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22119 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22120 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22121 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22122 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22123 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22124 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22125 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22126 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22127 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22128 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22129 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22130 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22131 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22132 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22133 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22134 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22135 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22136 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22137 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22138 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22139 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22140 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22141 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22142 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22143 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22144 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22145 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22146 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22147 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22148 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22149 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22150 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22151 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22152 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22153 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22154 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22155 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22156 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22157 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22158 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22159 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22160 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22161 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22162 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22163 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22164 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22165 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22166 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22167 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22168 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22169 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22170 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22171 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22172 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22173 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22174 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22175 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22176 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22177 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22178 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22179 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22180 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22181 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22182 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22183 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22184 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22185 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22186 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22187 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22188 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22189 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22190 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22191 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22192 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22193 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22194 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22195 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22196 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22197 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22198 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22199 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22200 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22201 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22202 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22204 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22205 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22206 { (exit 1); exit 1; }; };;
22207 esac
22208 done
22211 # If the user did not use the arguments to specify the items to instantiate,
22212 # then the envvar interface is used. Set only those that are not.
22213 # We use the long form for the default assignment because of an extremely
22214 # bizarre bug on SunOS 4.1.3.
22215 if $ac_need_defaults; then
22216 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22217 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22218 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22221 # Have a temporary directory for convenience. Make it in the build tree
22222 # simply because there is no reason against having it here, and in addition,
22223 # creating and moving files from /tmp can sometimes cause problems.
22224 # Hook for its removal unless debugging.
22225 # Note that there is a small window in which the directory will not be cleaned:
22226 # after its creation but before its name has been assigned to `$tmp'.
22227 $debug ||
22229 tmp=
22230 trap 'exit_status=$?
22231 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22233 trap '{ (exit 1); exit 1; }' 1 2 13 15
22235 # Create a (secure) tmp directory for tmp files.
22238 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22239 test -n "$tmp" && test -d "$tmp"
22240 } ||
22242 tmp=./conf$$-$RANDOM
22243 (umask 077 && mkdir "$tmp")
22244 } ||
22246 echo "$me: cannot create a temporary directory in ." >&2
22247 { (exit 1); exit 1; }
22251 # Set up the sed scripts for CONFIG_FILES section.
22254 # No need to generate the scripts if there are no CONFIG_FILES.
22255 # This happens for instance when ./config.status config.h
22256 if test -n "$CONFIG_FILES"; then
22258 _ACEOF
22260 # Create sed commands to just substitute file output variables.
22262 # Remaining file output variables are in a fragment that also has non-file
22263 # output varibles.
22267 ac_delim='%!_!# '
22268 for ac_last_try in false false false false false :; do
22269 cat >conf$$subs.sed <<_ACEOF
22270 SHELL!$SHELL$ac_delim
22271 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22272 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22273 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22274 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22275 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22276 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22277 exec_prefix!$exec_prefix$ac_delim
22278 prefix!$prefix$ac_delim
22279 program_transform_name!$program_transform_name$ac_delim
22280 bindir!$bindir$ac_delim
22281 sbindir!$sbindir$ac_delim
22282 libexecdir!$libexecdir$ac_delim
22283 datarootdir!$datarootdir$ac_delim
22284 datadir!$datadir$ac_delim
22285 sysconfdir!$sysconfdir$ac_delim
22286 sharedstatedir!$sharedstatedir$ac_delim
22287 localstatedir!$localstatedir$ac_delim
22288 includedir!$includedir$ac_delim
22289 oldincludedir!$oldincludedir$ac_delim
22290 docdir!$docdir$ac_delim
22291 infodir!$infodir$ac_delim
22292 htmldir!$htmldir$ac_delim
22293 dvidir!$dvidir$ac_delim
22294 pdfdir!$pdfdir$ac_delim
22295 psdir!$psdir$ac_delim
22296 libdir!$libdir$ac_delim
22297 localedir!$localedir$ac_delim
22298 mandir!$mandir$ac_delim
22299 DEFS!$DEFS$ac_delim
22300 ECHO_C!$ECHO_C$ac_delim
22301 ECHO_N!$ECHO_N$ac_delim
22302 ECHO_T!$ECHO_T$ac_delim
22303 LIBS!$LIBS$ac_delim
22304 build_alias!$build_alias$ac_delim
22305 host_alias!$host_alias$ac_delim
22306 target_alias!$target_alias$ac_delim
22307 build!$build$ac_delim
22308 build_cpu!$build_cpu$ac_delim
22309 build_vendor!$build_vendor$ac_delim
22310 build_os!$build_os$ac_delim
22311 host!$host$ac_delim
22312 host_cpu!$host_cpu$ac_delim
22313 host_vendor!$host_vendor$ac_delim
22314 host_os!$host_os$ac_delim
22315 WIN16_FILES!$WIN16_FILES$ac_delim
22316 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22317 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22318 WINETEST!$WINETEST$ac_delim
22319 SET_MAKE!$SET_MAKE$ac_delim
22320 CC!$CC$ac_delim
22321 CFLAGS!$CFLAGS$ac_delim
22322 LDFLAGS!$LDFLAGS$ac_delim
22323 CPPFLAGS!$CPPFLAGS$ac_delim
22324 ac_ct_CC!$ac_ct_CC$ac_delim
22325 EXEEXT!$EXEEXT$ac_delim
22326 OBJEXT!$OBJEXT$ac_delim
22327 CXX!$CXX$ac_delim
22328 CXXFLAGS!$CXXFLAGS$ac_delim
22329 ac_ct_CXX!$ac_ct_CXX$ac_delim
22330 CPPBIN!$CPPBIN$ac_delim
22331 TOOLSDIR!$TOOLSDIR$ac_delim
22332 XMKMF!$XMKMF$ac_delim
22333 CPP!$CPP$ac_delim
22334 X_CFLAGS!$X_CFLAGS$ac_delim
22335 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22336 X_LIBS!$X_LIBS$ac_delim
22337 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22338 FLEX!$FLEX$ac_delim
22339 BISON!$BISON$ac_delim
22340 AS!$AS$ac_delim
22341 ac_ct_AS!$ac_ct_AS$ac_delim
22342 LD!$LD$ac_delim
22343 AR!$AR$ac_delim
22344 RANLIB!$RANLIB$ac_delim
22345 STRIP!$STRIP$ac_delim
22346 WINDRES!$WINDRES$ac_delim
22347 LN_S!$LN_S$ac_delim
22348 LN!$LN$ac_delim
22349 GREP!$GREP$ac_delim
22350 EGREP!$EGREP$ac_delim
22351 LDCONFIG!$LDCONFIG$ac_delim
22352 _ACEOF
22354 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22355 break
22356 elif $ac_last_try; then
22357 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22358 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22359 { (exit 1); exit 1; }; }
22360 else
22361 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22363 done
22365 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22366 if test -n "$ac_eof"; then
22367 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22368 ac_eof=`expr $ac_eof + 1`
22371 cat >>$CONFIG_STATUS <<_ACEOF
22372 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22373 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22374 /^[ ]*@MAKE_RULES@[ ]*$/{
22375 r $MAKE_RULES
22378 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22379 r $MAKE_DLL_RULES
22382 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22383 r $MAKE_IMPLIB_RULES
22386 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22387 r $MAKE_TEST_RULES
22390 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22391 r $MAKE_PROG_RULES
22394 _ACEOF
22395 sed '
22396 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22397 s/^/s,@/; s/!/@,|#_!!_#|/
22400 s/'"$ac_delim"'$/,g/; t
22401 s/$/\\/; p
22402 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22403 ' >>$CONFIG_STATUS <conf$$subs.sed
22404 rm -f conf$$subs.sed
22405 cat >>$CONFIG_STATUS <<_ACEOF
22406 CEOF$ac_eof
22407 _ACEOF
22410 ac_delim='%!_!# '
22411 for ac_last_try in false false false false false :; do
22412 cat >conf$$subs.sed <<_ACEOF
22413 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22414 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22415 INSTALL_DATA!$INSTALL_DATA$ac_delim
22416 LINT!$LINT$ac_delim
22417 LINTFLAGS!$LINTFLAGS$ac_delim
22418 FONTFORGE!$FONTFORGE$ac_delim
22419 PKG_CONFIG!$PKG_CONFIG$ac_delim
22420 PRELINK!$PRELINK$ac_delim
22421 LIBPTHREAD!$LIBPTHREAD$ac_delim
22422 XLIB!$XLIB$ac_delim
22423 XFILES!$XFILES$ac_delim
22424 OPENGLFILES!$OPENGLFILES$ac_delim
22425 GLU32FILES!$GLU32FILES$ac_delim
22426 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22427 QUARTZFILES!$QUARTZFILES$ac_delim
22428 DLLEXT!$DLLEXT$ac_delim
22429 DLLFLAGS!$DLLFLAGS$ac_delim
22430 LDSHARED!$LDSHARED$ac_delim
22431 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22432 LIBEXT!$LIBEXT$ac_delim
22433 IMPLIBEXT!$IMPLIBEXT$ac_delim
22434 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22435 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22436 LDD!$LDD$ac_delim
22437 DLLTOOL!$DLLTOOL$ac_delim
22438 DLLWRAP!$DLLWRAP$ac_delim
22439 MINGWAR!$MINGWAR$ac_delim
22440 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22441 IOKITLIB!$IOKITLIB$ac_delim
22442 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22443 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22444 COREAUDIO!$COREAUDIO$ac_delim
22445 CARBONLIB!$CARBONLIB$ac_delim
22446 CROSSTEST!$CROSSTEST$ac_delim
22447 CROSSCC!$CROSSCC$ac_delim
22448 CROSSWINDRES!$CROSSWINDRES$ac_delim
22449 NASLIBS!$NASLIBS$ac_delim
22450 XML2LIBS!$XML2LIBS$ac_delim
22451 XML2INCL!$XML2INCL$ac_delim
22452 XSLTLIBS!$XSLTLIBS$ac_delim
22453 XSLTINCL!$XSLTINCL$ac_delim
22454 HALINCL!$HALINCL$ac_delim
22455 sane_devel!$sane_devel$ac_delim
22456 SANEINCL!$SANEINCL$ac_delim
22457 gphoto2_devel!$gphoto2_devel$ac_delim
22458 gphoto2port_devel!$gphoto2port_devel$ac_delim
22459 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22460 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22461 RESOLVLIBS!$RESOLVLIBS$ac_delim
22462 LCMSLIBS!$LCMSLIBS$ac_delim
22463 LDAPLIBS!$LDAPLIBS$ac_delim
22464 ft_devel!$ft_devel$ac_delim
22465 FREETYPELIBS!$FREETYPELIBS$ac_delim
22466 FREETYPEINCL!$FREETYPEINCL$ac_delim
22467 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22468 ESDCONFIG!$ESDCONFIG$ac_delim
22469 ESDLIBS!$ESDLIBS$ac_delim
22470 ESDINCL!$ESDINCL$ac_delim
22471 ALSALIBS!$ALSALIBS$ac_delim
22472 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22473 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22474 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22475 BUILTINFLAG!$BUILTINFLAG$ac_delim
22476 LDPATH!$LDPATH$ac_delim
22477 CRTLIBS!$CRTLIBS$ac_delim
22478 SOCKETLIBS!$SOCKETLIBS$ac_delim
22479 MAIN_BINARY!$MAIN_BINARY$ac_delim
22480 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22481 LIBDL!$LIBDL$ac_delim
22482 LIBPOLL!$LIBPOLL$ac_delim
22483 DEPENDENCIES!$DEPENDENCIES$ac_delim
22484 LIBOBJS!$LIBOBJS$ac_delim
22485 LTLIBOBJS!$LTLIBOBJS$ac_delim
22486 _ACEOF
22488 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 73; then
22489 break
22490 elif $ac_last_try; then
22491 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22492 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22493 { (exit 1); exit 1; }; }
22494 else
22495 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22497 done
22499 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22500 if test -n "$ac_eof"; then
22501 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22502 ac_eof=`expr $ac_eof + 1`
22505 cat >>$CONFIG_STATUS <<_ACEOF
22506 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22507 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22508 _ACEOF
22509 sed '
22510 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22511 s/^/s,@/; s/!/@,|#_!!_#|/
22514 s/'"$ac_delim"'$/,g/; t
22515 s/$/\\/; p
22516 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22517 ' >>$CONFIG_STATUS <conf$$subs.sed
22518 rm -f conf$$subs.sed
22519 cat >>$CONFIG_STATUS <<_ACEOF
22520 :end
22521 s/|#_!!_#|//g
22522 CEOF$ac_eof
22523 _ACEOF
22526 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22527 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22528 # trailing colons and then remove the whole line if VPATH becomes empty
22529 # (actually we leave an empty line to preserve line numbers).
22530 if test "x$srcdir" = x.; then
22531 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22532 s/:*\$(srcdir):*/:/
22533 s/:*\${srcdir}:*/:/
22534 s/:*@srcdir@:*/:/
22535 s/^\([^=]*=[ ]*\):*/\1/
22536 s/:*$//
22537 s/^[^=]*=[ ]*$//
22541 cat >>$CONFIG_STATUS <<\_ACEOF
22542 fi # test -n "$CONFIG_FILES"
22545 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22547 case $ac_tag in
22548 :[FHLC]) ac_mode=$ac_tag; continue;;
22549 esac
22550 case $ac_mode$ac_tag in
22551 :[FHL]*:*);;
22552 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22553 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22554 { (exit 1); exit 1; }; };;
22555 :[FH]-) ac_tag=-:-;;
22556 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22557 esac
22558 ac_save_IFS=$IFS
22559 IFS=:
22560 set x $ac_tag
22561 IFS=$ac_save_IFS
22562 shift
22563 ac_file=$1
22564 shift
22566 case $ac_mode in
22567 :L) ac_source=$1;;
22568 :[FH])
22569 ac_file_inputs=
22570 for ac_f
22572 case $ac_f in
22573 -) ac_f="$tmp/stdin";;
22574 *) # Look for the file first in the build tree, then in the source tree
22575 # (if the path is not absolute). The absolute path cannot be DOS-style,
22576 # because $ac_f cannot contain `:'.
22577 test -f "$ac_f" ||
22578 case $ac_f in
22579 [\\/$]*) false;;
22580 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22581 esac ||
22582 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22583 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22584 { (exit 1); exit 1; }; };;
22585 esac
22586 ac_file_inputs="$ac_file_inputs $ac_f"
22587 done
22589 # Let's still pretend it is `configure' which instantiates (i.e., don't
22590 # use $as_me), people would be surprised to read:
22591 # /* config.h. Generated by config.status. */
22592 configure_input="Generated from "`IFS=:
22593 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22594 if test x"$ac_file" != x-; then
22595 configure_input="$ac_file. $configure_input"
22596 { echo "$as_me:$LINENO: creating $ac_file" >&5
22597 echo "$as_me: creating $ac_file" >&6;}
22600 case $ac_tag in
22601 *:-:* | *:-) cat >"$tmp/stdin";;
22602 esac
22604 esac
22606 ac_dir=`$as_dirname -- "$ac_file" ||
22607 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22608 X"$ac_file" : 'X\(//\)[^/]' \| \
22609 X"$ac_file" : 'X\(//\)$' \| \
22610 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22611 echo X"$ac_file" |
22612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22613 s//\1/
22616 /^X\(\/\/\)[^/].*/{
22617 s//\1/
22620 /^X\(\/\/\)$/{
22621 s//\1/
22624 /^X\(\/\).*/{
22625 s//\1/
22628 s/.*/./; q'`
22629 { as_dir="$ac_dir"
22630 case $as_dir in #(
22631 -*) as_dir=./$as_dir;;
22632 esac
22633 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22634 as_dirs=
22635 while :; do
22636 case $as_dir in #(
22637 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22638 *) as_qdir=$as_dir;;
22639 esac
22640 as_dirs="'$as_qdir' $as_dirs"
22641 as_dir=`$as_dirname -- "$as_dir" ||
22642 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22643 X"$as_dir" : 'X\(//\)[^/]' \| \
22644 X"$as_dir" : 'X\(//\)$' \| \
22645 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22646 echo X"$as_dir" |
22647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22648 s//\1/
22651 /^X\(\/\/\)[^/].*/{
22652 s//\1/
22655 /^X\(\/\/\)$/{
22656 s//\1/
22659 /^X\(\/\).*/{
22660 s//\1/
22663 s/.*/./; q'`
22664 test -d "$as_dir" && break
22665 done
22666 test -z "$as_dirs" || eval "mkdir $as_dirs"
22667 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22668 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22669 { (exit 1); exit 1; }; }; }
22670 ac_builddir=.
22672 case "$ac_dir" in
22673 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22675 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22676 # A ".." for each directory in $ac_dir_suffix.
22677 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22678 case $ac_top_builddir_sub in
22679 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22680 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22681 esac ;;
22682 esac
22683 ac_abs_top_builddir=$ac_pwd
22684 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22685 # for backward compatibility:
22686 ac_top_builddir=$ac_top_build_prefix
22688 case $srcdir in
22689 .) # We are building in place.
22690 ac_srcdir=.
22691 ac_top_srcdir=$ac_top_builddir_sub
22692 ac_abs_top_srcdir=$ac_pwd ;;
22693 [\\/]* | ?:[\\/]* ) # Absolute name.
22694 ac_srcdir=$srcdir$ac_dir_suffix;
22695 ac_top_srcdir=$srcdir
22696 ac_abs_top_srcdir=$srcdir ;;
22697 *) # Relative name.
22698 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22699 ac_top_srcdir=$ac_top_build_prefix$srcdir
22700 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22701 esac
22702 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22705 case $ac_mode in
22708 # CONFIG_FILE
22711 case $INSTALL in
22712 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22713 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22714 esac
22715 _ACEOF
22717 cat >>$CONFIG_STATUS <<\_ACEOF
22718 # If the template does not know about datarootdir, expand it.
22719 # FIXME: This hack should be removed a few years after 2.60.
22720 ac_datarootdir_hack=; ac_datarootdir_seen=
22722 case `sed -n '/datarootdir/ {
22726 /@datadir@/p
22727 /@docdir@/p
22728 /@infodir@/p
22729 /@localedir@/p
22730 /@mandir@/p
22731 ' $ac_file_inputs` in
22732 *datarootdir*) ac_datarootdir_seen=yes;;
22733 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22734 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22735 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22736 _ACEOF
22737 cat >>$CONFIG_STATUS <<_ACEOF
22738 ac_datarootdir_hack='
22739 s&@datadir@&$datadir&g
22740 s&@docdir@&$docdir&g
22741 s&@infodir@&$infodir&g
22742 s&@localedir@&$localedir&g
22743 s&@mandir@&$mandir&g
22744 s&\\\${datarootdir}&$datarootdir&g' ;;
22745 esac
22746 _ACEOF
22748 # Neutralize VPATH when `$srcdir' = `.'.
22749 # Shell code in configure.ac might set extrasub.
22750 # FIXME: do we really want to maintain this feature?
22751 cat >>$CONFIG_STATUS <<_ACEOF
22752 sed "$ac_vpsub
22753 $extrasub
22754 _ACEOF
22755 cat >>$CONFIG_STATUS <<\_ACEOF
22757 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22758 s&@configure_input@&$configure_input&;t t
22759 s&@top_builddir@&$ac_top_builddir_sub&;t t
22760 s&@srcdir@&$ac_srcdir&;t t
22761 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22762 s&@top_srcdir@&$ac_top_srcdir&;t t
22763 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22764 s&@builddir@&$ac_builddir&;t t
22765 s&@abs_builddir@&$ac_abs_builddir&;t t
22766 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22767 s&@INSTALL@&$ac_INSTALL&;t t
22768 $ac_datarootdir_hack
22769 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22771 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22772 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22773 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22774 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22775 which seems to be undefined. Please make sure it is defined." >&5
22776 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22777 which seems to be undefined. Please make sure it is defined." >&2;}
22779 rm -f "$tmp/stdin"
22780 case $ac_file in
22781 -) cat "$tmp/out"; rm -f "$tmp/out";;
22782 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22783 esac
22787 # CONFIG_HEADER
22789 _ACEOF
22791 # Transform confdefs.h into a sed script `conftest.defines', that
22792 # substitutes the proper values into config.h.in to produce config.h.
22793 rm -f conftest.defines conftest.tail
22794 # First, append a space to every undef/define line, to ease matching.
22795 echo 's/$/ /' >conftest.defines
22796 # Then, protect against being on the right side of a sed subst, or in
22797 # an unquoted here document, in config.status. If some macros were
22798 # called several times there might be several #defines for the same
22799 # symbol, which is useless. But do not sort them, since the last
22800 # AC_DEFINE must be honored.
22801 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22802 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22803 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22804 # PARAMS is the parameter list in the macro definition--in most cases, it's
22805 # just an empty string.
22806 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22807 ac_dB='\\)[ (].*,\\1define\\2'
22808 ac_dC=' '
22809 ac_dD=' ,'
22811 uniq confdefs.h |
22812 sed -n '
22813 t rset
22814 :rset
22815 s/^[ ]*#[ ]*define[ ][ ]*//
22816 t ok
22819 s/[\\&,]/\\&/g
22820 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22821 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22822 ' >>conftest.defines
22824 # Remove the space that was appended to ease matching.
22825 # Then replace #undef with comments. This is necessary, for
22826 # example, in the case of _POSIX_SOURCE, which is predefined and required
22827 # on some systems where configure will not decide to define it.
22828 # (The regexp can be short, since the line contains either #define or #undef.)
22829 echo 's/ $//
22830 s,^[ #]*u.*,/* & */,' >>conftest.defines
22832 # Break up conftest.defines:
22833 ac_max_sed_lines=50
22835 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22836 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22837 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22838 # et cetera.
22839 ac_in='$ac_file_inputs'
22840 ac_out='"$tmp/out1"'
22841 ac_nxt='"$tmp/out2"'
22843 while :
22845 # Write a here document:
22846 cat >>$CONFIG_STATUS <<_ACEOF
22847 # First, check the format of the line:
22848 cat >"\$tmp/defines.sed" <<\\CEOF
22849 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22850 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22852 :def
22853 _ACEOF
22854 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22855 echo 'CEOF
22856 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22857 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22858 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22859 grep . conftest.tail >/dev/null || break
22860 rm -f conftest.defines
22861 mv conftest.tail conftest.defines
22862 done
22863 rm -f conftest.defines conftest.tail
22865 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22866 cat >>$CONFIG_STATUS <<\_ACEOF
22867 if test x"$ac_file" != x-; then
22868 echo "/* $configure_input */" >"$tmp/config.h"
22869 cat "$ac_result" >>"$tmp/config.h"
22870 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22871 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22872 echo "$as_me: $ac_file is unchanged" >&6;}
22873 else
22874 rm -f $ac_file
22875 mv "$tmp/config.h" $ac_file
22877 else
22878 echo "/* $configure_input */"
22879 cat "$ac_result"
22881 rm -f "$tmp/out12"
22884 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22885 echo "$as_me: executing $ac_file commands" >&6;}
22887 esac
22890 case $ac_file$ac_mode in
22891 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22892 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22893 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22894 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22895 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22896 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22897 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22898 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22899 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22900 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22901 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22902 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22903 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22905 esac
22906 done # for ac_tag
22909 { (exit 0); exit 0; }
22910 _ACEOF
22911 chmod +x $CONFIG_STATUS
22912 ac_clean_files=$ac_clean_files_save
22915 # configure is writing to config.log, and then calls config.status.
22916 # config.status does its own redirection, appending to config.log.
22917 # Unfortunately, on DOS this fails, as config.log is still kept open
22918 # by configure, so config.status won't be able to write to it; its
22919 # output is simply discarded. So we exec the FD to /dev/null,
22920 # effectively closing config.log, so it can be properly (re)opened and
22921 # appended to by config.status. When coming back to configure, we
22922 # need to make the FD available again.
22923 if test "$no_create" != yes; then
22924 ac_cs_success=:
22925 ac_config_status_args=
22926 test "$silent" = yes &&
22927 ac_config_status_args="$ac_config_status_args --quiet"
22928 exec 5>/dev/null
22929 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22930 exec 5>>config.log
22931 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22932 # would make configure fail if this is the last instruction.
22933 $ac_cs_success || { (exit 1); exit 1; }
22937 if test "$no_create" = "yes"
22938 then
22939 exit 0
22942 ac_save_IFS="$IFS"
22943 IFS="|"
22944 if test "$verbose" = "yes"; then
22945 for msg in $wine_notices; do
22946 if test -n "$msg"; then
22947 echo >&2
22948 { echo "$as_me:$LINENO: $msg" >&5
22949 echo "$as_me: $msg" >&6;}
22951 done
22953 for msg in $wine_warnings; do
22954 if test -n "$msg"; then
22955 echo >&2
22956 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22957 echo "$as_me: WARNING: $msg" >&2;}
22959 done
22960 IFS="$ac_save_IFS"
22962 echo
22963 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22964 echo