push 67767ac9acc8c043474e63e8797e1c6852e614a9
[wine/hacks.git] / configure
blob51f4749699fe002640a42d49d6ff8bcbcd5afdf0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.51.
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.51'
578 PACKAGE_STRING='Wine 0.9.51'
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 SECURITYLIB
728 COREFOUNDATIONLIB
729 IOKITLIB
730 LDEXECFLAGS
731 DISKARBITRATIONLIB
732 COREAUDIO
733 CARBONLIB
734 CROSSTEST
735 CROSSCC
736 CROSSWINDRES
737 NASLIBS
738 XML2LIBS
739 XML2INCL
740 XSLTLIBS
741 XSLTINCL
742 HALINCL
743 sane_devel
744 SANEINCL
745 gphoto2_devel
746 gphoto2port_devel
747 GPHOTO2LIBS
748 GPHOTO2INCL
749 RESOLVLIBS
750 LCMSLIBS
751 LDAPLIBS
752 ft_devel
753 FREETYPELIBS
754 FREETYPEINCL
755 FONTSSUBDIRS
756 ESDCONFIG
757 ESDLIBS
758 ESDINCL
759 ALSALIBS
760 AUDIOIOLIBS
761 FONTCONFIGINCL
762 EXTRACFLAGS
763 BUILTINFLAG
764 LDPATH
765 CRTLIBS
766 SOCKETLIBS
767 MAIN_BINARY
768 EXTRA_BINARIES
769 LIBDL
770 LIBPOLL
771 DEPENDENCIES
772 LIBOBJS
773 LTLIBOBJS'
774 ac_subst_files='MAKE_RULES
775 MAKE_DLL_RULES
776 MAKE_IMPLIB_RULES
777 MAKE_TEST_RULES
778 MAKE_PROG_RULES'
779 ac_precious_vars='build_alias
780 host_alias
781 target_alias
783 CFLAGS
784 LDFLAGS
785 LIBS
786 CPPFLAGS
788 CXXFLAGS
790 XMKMF
791 CPP'
794 # Initialize some variables set by options.
795 ac_init_help=
796 ac_init_version=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir='${datarootdir}/info'
832 htmldir='${docdir}'
833 dvidir='${docdir}'
834 pdfdir='${docdir}'
835 psdir='${docdir}'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
840 ac_prev=
841 ac_dashdash=
842 for ac_option
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
847 ac_prev=
848 continue
851 case $ac_option in
852 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 *) ac_optarg=yes ;;
854 esac
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
860 ac_dashdash=yes ;;
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 ac_prev=bindir ;;
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 bindir=$ac_optarg ;;
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
879 --config-cache | -C)
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
883 ac_prev=datadir ;;
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_$ac_feature=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
904 ac_prev=docdir ;;
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 docdir=$ac_optarg ;;
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 ac_prev=dvidir ;;
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 dvidir=$ac_optarg ;;
913 -enable-* | --enable-*)
914 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_$ac_feature=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
933 with_gas=yes ;;
935 -help | --help | --hel | --he | -h)
936 ac_init_help=long ;;
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 ac_prev=htmldir ;;
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 | --ht=*)
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 ac_prev=infodir ;;
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
966 ac_prev=libdir ;;
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
968 libdir=$ac_optarg ;;
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
978 ac_prev=localedir ;;
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 ac_prev=mandir ;;
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992 mandir=$ac_optarg ;;
994 -nfp | --nfp | --nf)
995 # Obsolete; use --without-fp.
996 with_fp=no ;;
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1000 no_create=yes ;;
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 no_recursion=yes ;;
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 ac_prev=prefix ;;
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 ac_prev=pdfdir ;;
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1057 ac_prev=psdir ;;
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059 psdir=$ac_optarg ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 silent=yes ;;
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 ac_prev=sbindir ;;
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 | --sbi=* | --sb=*)
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1074 | --sha | --sh)
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 | --sha=* | --sh=*)
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1083 ac_prev=site ;;
1084 -site=* | --site=* | --sit=*)
1085 site=$ac_optarg ;;
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 ac_prev=srcdir ;;
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105 verbose=yes ;;
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1110 -with-* | --with-*)
1111 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_$ac_package=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_$ac_package=no ;;
1128 --x)
1129 # Obsolete; use --with-x.
1130 with_x=yes ;;
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1151 *=*)
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168 esac
1169 done
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 case $ac_val in
1185 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1187 esac
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1190 done
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1195 build=$build_alias
1196 host=$host_alias
1197 target=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x; then
1201 if test "x$build_alias" = x; then
1202 cross_compiling=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1206 cross_compiling=yes
1210 ac_tool_prefix=
1211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1213 test "$silent" = yes && exec 6>/dev/null
1216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di=`ls -di .` &&
1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 echo X"$0" |
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 s//\1/
1240 /^X\(\/\/\)[^/].*/{
1241 s//\1/
1244 /^X\(\/\/\)$/{
1245 s//\1/
1248 /^X\(\/\).*/{
1249 s//\1/
1252 s/.*/./; q'`
1253 srcdir=$ac_confdir
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 srcdir=..
1257 else
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 ac_abs_confdir=`(
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1269 pwd)`
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 srcdir=.
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1277 case $srcdir in
1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 esac
1280 for ac_var in $ac_precious_vars; do
1281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_${ac_var}_value=\$${ac_var}
1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1285 done
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1293 cat <<_ACEOF
1294 \`configure' configures Wine 0.9.51 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1303 Configuration:
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 [PREFIX]
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1347 _ACEOF
1349 cat <<\_ACEOF
1351 X features:
1352 --x-includes=DIR X include files are in DIR
1353 --x-libraries=DIR X library files are in DIR
1355 System types:
1356 --build=BUILD configure for building on BUILD [guessed]
1357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1358 _ACEOF
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of Wine 0.9.51:";;
1364 esac
1365 cat <<\_ACEOF
1367 Optional Features:
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1372 binaries)
1373 --disable-tests do not build the testsuites
1375 Optional Packages:
1376 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1377 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1378 --without-opengl do not use OpenGL
1379 --with-wine-tools=<dir> use Wine tools from directory <dir>
1380 --with-x use the X Window System
1382 Some influential environment variables:
1383 CC C compiler command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1386 nonstandard directory <lib dir>
1387 LIBS libraries to pass to the linker, e.g. -l<library>
1388 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1389 you have headers in a nonstandard directory <include dir>
1390 CXX C++ compiler command
1391 CXXFLAGS C++ compiler flags
1392 XMKMF Path to xmkmf, Makefile generator for X Window System
1393 CPP C preprocessor
1395 Use these variables to override the choices made by `configure' or to help
1396 it to find libraries and programs with nonstandard names/locations.
1398 Report bugs to <wine-devel@winehq.org>.
1399 _ACEOF
1400 ac_status=$?
1403 if test "$ac_init_help" = "recursive"; then
1404 # If there are subdirs, report their specific --help.
1405 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1406 test -d "$ac_dir" || continue
1407 ac_builddir=.
1409 case "$ac_dir" in
1410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1418 esac ;;
1419 esac
1420 ac_abs_top_builddir=$ac_pwd
1421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir=$ac_top_build_prefix
1425 case $srcdir in
1426 .) # We are building in place.
1427 ac_srcdir=.
1428 ac_top_srcdir=$ac_top_builddir_sub
1429 ac_abs_top_srcdir=$ac_pwd ;;
1430 [\\/]* | ?:[\\/]* ) # Absolute name.
1431 ac_srcdir=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir=$srcdir
1433 ac_abs_top_srcdir=$srcdir ;;
1434 *) # Relative name.
1435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 esac
1439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1441 cd "$ac_dir" || { ac_status=$?; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1447 echo &&
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1449 else
1450 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 fi || ac_status=$?
1452 cd "$ac_pwd" || { ac_status=$?; break; }
1453 done
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1458 cat <<\_ACEOF
1459 Wine configure 0.9.51
1460 generated by GNU Autoconf 2.61
1462 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1463 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1464 This configure script is free software; the Free Software Foundation
1465 gives unlimited permission to copy, distribute and modify it.
1466 _ACEOF
1467 exit
1469 cat >config.log <<_ACEOF
1470 This file contains any messages produced by compilers while
1471 running configure, to aid debugging if configure makes a mistake.
1473 It was created by Wine $as_me 0.9.51, which was
1474 generated by GNU Autoconf 2.61. Invocation command line was
1476 $ $0 $@
1478 _ACEOF
1479 exec 5>>config.log
1481 cat <<_ASUNAME
1482 ## --------- ##
1483 ## Platform. ##
1484 ## --------- ##
1486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1493 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1496 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1498 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1499 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1500 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1501 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503 _ASUNAME
1505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 for as_dir in $PATH
1508 IFS=$as_save_IFS
1509 test -z "$as_dir" && as_dir=.
1510 echo "PATH: $as_dir"
1511 done
1512 IFS=$as_save_IFS
1514 } >&5
1516 cat >&5 <<_ACEOF
1519 ## ----------- ##
1520 ## Core tests. ##
1521 ## ----------- ##
1523 _ACEOF
1526 # Keep a trace of the command line.
1527 # Strip out --no-create and --no-recursion so they do not pile up.
1528 # Strip out --silent because we don't want to record it for future runs.
1529 # Also quote any args containing shell meta-characters.
1530 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_configure_args=
1532 ac_configure_args0=
1533 ac_configure_args1=
1534 ac_must_keep_next=false
1535 for ac_pass in 1 2
1537 for ac_arg
1539 case $ac_arg in
1540 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1542 | -silent | --silent | --silen | --sile | --sil)
1543 continue ;;
1544 *\'*)
1545 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1546 esac
1547 case $ac_pass in
1548 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1550 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1551 if test $ac_must_keep_next = true; then
1552 ac_must_keep_next=false # Got value, back to normal.
1553 else
1554 case $ac_arg in
1555 *=* | --config-cache | -C | -disable-* | --disable-* \
1556 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1557 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1558 | -with-* | --with-* | -without-* | --without-* | --x)
1559 case "$ac_configure_args0 " in
1560 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1561 esac
1563 -* ) ac_must_keep_next=true ;;
1564 esac
1566 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 esac
1569 done
1570 done
1571 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1572 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1574 # When interrupted or exit'd, cleanup temporary files, and complete
1575 # config.log. We remove comments because anyway the quotes in there
1576 # would cause problems or look ugly.
1577 # WARNING: Use '\'' to represent an apostrophe within the trap.
1578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1579 trap 'exit_status=$?
1580 # Save into config.log some information that might help in debugging.
1582 echo
1584 cat <<\_ASBOX
1585 ## ---------------- ##
1586 ## Cache variables. ##
1587 ## ---------------- ##
1588 _ASBOX
1589 echo
1590 # The following way of writing the cache mishandles newlines in values,
1592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1593 eval ac_val=\$$ac_var
1594 case $ac_val in #(
1595 *${as_nl}*)
1596 case $ac_var in #(
1597 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1598 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1599 esac
1600 case $ac_var in #(
1601 _ | IFS | as_nl) ;; #(
1602 *) $as_unset $ac_var ;;
1603 esac ;;
1604 esac
1605 done
1606 (set) 2>&1 |
1607 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1608 *${as_nl}ac_space=\ *)
1609 sed -n \
1610 "s/'\''/'\''\\\\'\'''\''/g;
1611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1612 ;; #(
1614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1616 esac |
1617 sort
1619 echo
1621 cat <<\_ASBOX
1622 ## ----------------- ##
1623 ## Output variables. ##
1624 ## ----------------- ##
1625 _ASBOX
1626 echo
1627 for ac_var in $ac_subst_vars
1629 eval ac_val=\$$ac_var
1630 case $ac_val in
1631 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 esac
1633 echo "$ac_var='\''$ac_val'\''"
1634 done | sort
1635 echo
1637 if test -n "$ac_subst_files"; then
1638 cat <<\_ASBOX
1639 ## ------------------- ##
1640 ## File substitutions. ##
1641 ## ------------------- ##
1642 _ASBOX
1643 echo
1644 for ac_var in $ac_subst_files
1646 eval ac_val=\$$ac_var
1647 case $ac_val in
1648 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 esac
1650 echo "$ac_var='\''$ac_val'\''"
1651 done | sort
1652 echo
1655 if test -s confdefs.h; then
1656 cat <<\_ASBOX
1657 ## ----------- ##
1658 ## confdefs.h. ##
1659 ## ----------- ##
1660 _ASBOX
1661 echo
1662 cat confdefs.h
1663 echo
1665 test "$ac_signal" != 0 &&
1666 echo "$as_me: caught signal $ac_signal"
1667 echo "$as_me: exit $exit_status"
1668 } >&5
1669 rm -f core *.core core.conftest.* &&
1670 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1671 exit $exit_status
1673 for ac_signal in 1 2 13 15; do
1674 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1675 done
1676 ac_signal=0
1678 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1679 rm -f -r conftest* confdefs.h
1681 # Predefined preprocessor variables.
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_NAME "$PACKAGE_NAME"
1685 _ACEOF
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690 _ACEOF
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1695 _ACEOF
1698 cat >>confdefs.h <<_ACEOF
1699 #define PACKAGE_STRING "$PACKAGE_STRING"
1700 _ACEOF
1703 cat >>confdefs.h <<_ACEOF
1704 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1705 _ACEOF
1708 # Let the site file select an alternate cache file if it wants to.
1709 # Prefer explicitly selected file to automatically selected ones.
1710 if test -n "$CONFIG_SITE"; then
1711 set x "$CONFIG_SITE"
1712 elif test "x$prefix" != xNONE; then
1713 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1714 else
1715 set x "$ac_default_prefix/share/config.site" \
1716 "$ac_default_prefix/etc/config.site"
1718 shift
1719 for ac_site_file
1721 if test -r "$ac_site_file"; then
1722 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1723 echo "$as_me: loading site script $ac_site_file" >&6;}
1724 sed 's/^/| /' "$ac_site_file" >&5
1725 . "$ac_site_file"
1727 done
1729 if test -r "$cache_file"; then
1730 # Some versions of bash will fail to source /dev/null (special
1731 # files actually), so we avoid doing that.
1732 if test -f "$cache_file"; then
1733 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1734 echo "$as_me: loading cache $cache_file" >&6;}
1735 case $cache_file in
1736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1737 *) . "./$cache_file";;
1738 esac
1740 else
1741 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1742 echo "$as_me: creating cache $cache_file" >&6;}
1743 >$cache_file
1746 # Check that the precious variables saved in the cache have kept the same
1747 # value.
1748 ac_cache_corrupted=false
1749 for ac_var in $ac_precious_vars; do
1750 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1751 eval ac_new_set=\$ac_env_${ac_var}_set
1752 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1753 eval ac_new_val=\$ac_env_${ac_var}_value
1754 case $ac_old_set,$ac_new_set in
1755 set,)
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,set)
1760 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1761 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1762 ac_cache_corrupted=: ;;
1763 ,);;
1765 if test "x$ac_old_val" != "x$ac_new_val"; then
1766 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1767 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1769 echo "$as_me: former value: $ac_old_val" >&2;}
1770 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1771 echo "$as_me: current value: $ac_new_val" >&2;}
1772 ac_cache_corrupted=:
1773 fi;;
1774 esac
1775 # Pass precious variables to config.status.
1776 if test "$ac_new_set" = set; then
1777 case $ac_new_val in
1778 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1779 *) ac_arg=$ac_var=$ac_new_val ;;
1780 esac
1781 case " $ac_configure_args " in
1782 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1783 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1784 esac
1786 done
1787 if $ac_cache_corrupted; then
1788 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1789 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1790 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1791 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1792 { (exit 1); exit 1; }; }
1819 ac_ext=c
1820 ac_cpp='$CPP $CPPFLAGS'
1821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1827 ac_config_headers="$ac_config_headers include/config.h"
1829 ac_aux_dir=
1830 for ac_dir in tools "$srcdir"/tools; do
1831 if test -f "$ac_dir/install-sh"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/install-sh -c"
1834 break
1835 elif test -f "$ac_dir/install.sh"; then
1836 ac_aux_dir=$ac_dir
1837 ac_install_sh="$ac_aux_dir/install.sh -c"
1838 break
1839 elif test -f "$ac_dir/shtool"; then
1840 ac_aux_dir=$ac_dir
1841 ac_install_sh="$ac_aux_dir/shtool install -c"
1842 break
1844 done
1845 if test -z "$ac_aux_dir"; then
1846 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1847 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1848 { (exit 1); exit 1; }; }
1851 # These three variables are undocumented and unsupported,
1852 # and are intended to be withdrawn in a future Autoconf release.
1853 # They can cause serious problems if a builder's source tree is in a directory
1854 # whose full name contains unusual characters.
1855 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1856 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1857 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1862 # Check whether --enable-win16 was given.
1863 if test "${enable_win16+set}" = set; then
1864 enableval=$enable_win16;
1867 # Check whether --enable-win64 was given.
1868 if test "${enable_win64+set}" = set; then
1869 enableval=$enable_win64;
1874 # Check whether --with-opengl was given.
1875 if test "${with_opengl+set}" = set; then
1876 withval=$with_opengl;
1880 # Check whether --with-wine-tools was given.
1881 if test "${with_wine_tools+set}" = set; then
1882 withval=$with_wine_tools;
1885 # Check whether --enable-tests was given.
1886 if test "${enable_tests+set}" = set; then
1887 enableval=$enable_tests;
1891 # Make sure we can run config.sub.
1892 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1893 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1894 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1895 { (exit 1); exit 1; }; }
1897 { echo "$as_me:$LINENO: checking build system type" >&5
1898 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1899 if test "${ac_cv_build+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1901 else
1902 ac_build_alias=$build_alias
1903 test "x$ac_build_alias" = x &&
1904 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1905 test "x$ac_build_alias" = x &&
1906 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1907 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1908 { (exit 1); exit 1; }; }
1909 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1910 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1911 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1912 { (exit 1); exit 1; }; }
1915 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1916 echo "${ECHO_T}$ac_cv_build" >&6; }
1917 case $ac_cv_build in
1918 *-*-*) ;;
1919 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1920 echo "$as_me: error: invalid value of canonical build" >&2;}
1921 { (exit 1); exit 1; }; };;
1922 esac
1923 build=$ac_cv_build
1924 ac_save_IFS=$IFS; IFS='-'
1925 set x $ac_cv_build
1926 shift
1927 build_cpu=$1
1928 build_vendor=$2
1929 shift; shift
1930 # Remember, the first character of IFS is used to create $*,
1931 # except with old shells:
1932 build_os=$*
1933 IFS=$ac_save_IFS
1934 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1937 { echo "$as_me:$LINENO: checking host system type" >&5
1938 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1939 if test "${ac_cv_host+set}" = set; then
1940 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 else
1942 if test "x$host_alias" = x; then
1943 ac_cv_host=$ac_cv_build
1944 else
1945 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1946 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1947 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1948 { (exit 1); exit 1; }; }
1952 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1953 echo "${ECHO_T}$ac_cv_host" >&6; }
1954 case $ac_cv_host in
1955 *-*-*) ;;
1956 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1957 echo "$as_me: error: invalid value of canonical host" >&2;}
1958 { (exit 1); exit 1; }; };;
1959 esac
1960 host=$ac_cv_host
1961 ac_save_IFS=$IFS; IFS='-'
1962 set x $ac_cv_host
1963 shift
1964 host_cpu=$1
1965 host_vendor=$2
1966 shift; shift
1967 # Remember, the first character of IFS is used to create $*,
1968 # except with old shells:
1969 host_os=$*
1970 IFS=$ac_save_IFS
1971 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1974 case $host in
1975 x86_64*linux*)
1976 if test "x$enable_win64" != "xyes"
1977 then
1978 test -n "$CC" || CC="gcc -m32"
1979 test -n "$CXX"|| CXX="g++ -m32"
1980 test -n "$LD" || LD="ld -m elf_i386"
1981 test -n "$AS" || AS="as --32"
1982 host_cpu="i386"
1985 esac
1987 case $host_cpu in
1988 *i[3456789]86*)
1989 if test "x$enable_win16" != "xno"
1990 then
1991 enable_win16="yes"
1994 esac
1996 WIN16_FILES="\$(WIN16_FILES)"
1998 WIN16_INSTALL="\$(WIN16_INSTALL)"
2000 if test "x$enable_win16" != "xyes"
2001 then
2002 WIN16_FILES=""
2003 WIN16_INSTALL=""
2006 if test "x$enable_tests" == "xno"
2007 then
2008 TESTSUBDIRS=""
2010 WINETEST=""
2012 else
2013 TESTSUBDIRS="\$(TESTSUBDIRS)"
2015 WINETEST="winetest"
2019 case "$srcdir" in
2020 .) ;;
2021 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2022 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2023 You need to run 'make distclean' in the source tree first." >&5
2024 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2025 You need to run 'make distclean' in the source tree first." >&2;}
2026 { (exit 1); exit 1; }; }
2027 fi ;;
2028 esac
2031 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2032 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2033 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2034 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 else
2037 cat >conftest.make <<\_ACEOF
2038 SHELL = /bin/sh
2039 all:
2040 @echo '@@@%%%=$(MAKE)=@@@%%%'
2041 _ACEOF
2042 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2043 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2044 *@@@%%%=?*=@@@%%%*)
2045 eval ac_cv_prog_make_${ac_make}_set=yes;;
2047 eval ac_cv_prog_make_${ac_make}_set=no;;
2048 esac
2049 rm -f conftest.make
2051 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2052 { echo "$as_me:$LINENO: result: yes" >&5
2053 echo "${ECHO_T}yes" >&6; }
2054 SET_MAKE=
2055 else
2056 { echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6; }
2058 SET_MAKE="MAKE=${MAKE-make}"
2061 ac_ext=c
2062 ac_cpp='$CPP $CPPFLAGS'
2063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2066 if test -n "$ac_tool_prefix"; then
2067 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2068 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2071 if test "${ac_cv_prog_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 else
2074 if test -n "$CC"; then
2075 ac_cv_prog_CC="$CC" # Let the user override the test.
2076 else
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in $PATH
2080 IFS=$as_save_IFS
2081 test -z "$as_dir" && as_dir=.
2082 for ac_exec_ext in '' $ac_executable_extensions; do
2083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2084 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 break 2
2088 done
2089 done
2090 IFS=$as_save_IFS
2094 CC=$ac_cv_prog_CC
2095 if test -n "$CC"; then
2096 { echo "$as_me:$LINENO: result: $CC" >&5
2097 echo "${ECHO_T}$CC" >&6; }
2098 else
2099 { echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6; }
2105 if test -z "$ac_cv_prog_CC"; then
2106 ac_ct_CC=$CC
2107 # Extract the first word of "gcc", so it can be a program name with args.
2108 set dummy gcc; ac_word=$2
2109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 else
2114 if test -n "$ac_ct_CC"; then
2115 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2116 else
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2124 ac_cv_prog_ac_ct_CC="gcc"
2125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 break 2
2128 done
2129 done
2130 IFS=$as_save_IFS
2134 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2135 if test -n "$ac_ct_CC"; then
2136 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2137 echo "${ECHO_T}$ac_ct_CC" >&6; }
2138 else
2139 { echo "$as_me:$LINENO: result: no" >&5
2140 echo "${ECHO_T}no" >&6; }
2143 if test "x$ac_ct_CC" = x; then
2144 CC=""
2145 else
2146 case $cross_compiling:$ac_tool_warned in
2147 yes:)
2148 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2149 whose name does not start with the host triplet. If you think this
2150 configuration is useful to you, please write to autoconf@gnu.org." >&5
2151 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2152 whose name does not start with the host triplet. If you think this
2153 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2154 ac_tool_warned=yes ;;
2155 esac
2156 CC=$ac_ct_CC
2158 else
2159 CC="$ac_cv_prog_CC"
2162 if test -z "$CC"; then
2163 if test -n "$ac_tool_prefix"; then
2164 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2165 set dummy ${ac_tool_prefix}cc; ac_word=$2
2166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2168 if test "${ac_cv_prog_CC+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 else
2171 if test -n "$CC"; then
2172 ac_cv_prog_CC="$CC" # Let the user override the test.
2173 else
2174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 for as_dir in $PATH
2177 IFS=$as_save_IFS
2178 test -z "$as_dir" && as_dir=.
2179 for ac_exec_ext in '' $ac_executable_extensions; do
2180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2181 ac_cv_prog_CC="${ac_tool_prefix}cc"
2182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 break 2
2185 done
2186 done
2187 IFS=$as_save_IFS
2191 CC=$ac_cv_prog_CC
2192 if test -n "$CC"; then
2193 { echo "$as_me:$LINENO: result: $CC" >&5
2194 echo "${ECHO_T}$CC" >&6; }
2195 else
2196 { echo "$as_me:$LINENO: result: no" >&5
2197 echo "${ECHO_T}no" >&6; }
2203 if test -z "$CC"; then
2204 # Extract the first word of "cc", so it can be a program name with args.
2205 set dummy cc; ac_word=$2
2206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2208 if test "${ac_cv_prog_CC+set}" = set; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 else
2211 if test -n "$CC"; then
2212 ac_cv_prog_CC="$CC" # Let the user override the test.
2213 else
2214 ac_prog_rejected=no
2215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216 for as_dir in $PATH
2218 IFS=$as_save_IFS
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2223 ac_prog_rejected=yes
2224 continue
2226 ac_cv_prog_CC="cc"
2227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2228 break 2
2230 done
2231 done
2232 IFS=$as_save_IFS
2234 if test $ac_prog_rejected = yes; then
2235 # We found a bogon in the path, so make sure we never use it.
2236 set dummy $ac_cv_prog_CC
2237 shift
2238 if test $# != 0; then
2239 # We chose a different compiler from the bogus one.
2240 # However, it has the same basename, so the bogon will be chosen
2241 # first if we set CC to just the basename; use the full file name.
2242 shift
2243 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2248 CC=$ac_cv_prog_CC
2249 if test -n "$CC"; then
2250 { echo "$as_me:$LINENO: result: $CC" >&5
2251 echo "${ECHO_T}$CC" >&6; }
2252 else
2253 { echo "$as_me:$LINENO: result: no" >&5
2254 echo "${ECHO_T}no" >&6; }
2259 if test -z "$CC"; then
2260 if test -n "$ac_tool_prefix"; then
2261 for ac_prog in cl.exe
2263 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2267 if test "${ac_cv_prog_CC+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 else
2270 if test -n "$CC"; then
2271 ac_cv_prog_CC="$CC" # Let the user override the test.
2272 else
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 for as_dir in $PATH
2276 IFS=$as_save_IFS
2277 test -z "$as_dir" && as_dir=.
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2280 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 break 2
2284 done
2285 done
2286 IFS=$as_save_IFS
2290 CC=$ac_cv_prog_CC
2291 if test -n "$CC"; then
2292 { echo "$as_me:$LINENO: result: $CC" >&5
2293 echo "${ECHO_T}$CC" >&6; }
2294 else
2295 { echo "$as_me:$LINENO: result: no" >&5
2296 echo "${ECHO_T}no" >&6; }
2300 test -n "$CC" && break
2301 done
2303 if test -z "$CC"; then
2304 ac_ct_CC=$CC
2305 for ac_prog in cl.exe
2307 # Extract the first word of "$ac_prog", so it can be a program name with args.
2308 set dummy $ac_prog; ac_word=$2
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 else
2314 if test -n "$ac_ct_CC"; then
2315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316 else
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 for as_dir in $PATH
2320 IFS=$as_save_IFS
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_ac_ct_CC="$ac_prog"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 break 2
2328 done
2329 done
2330 IFS=$as_save_IFS
2334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2335 if test -n "$ac_ct_CC"; then
2336 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2337 echo "${ECHO_T}$ac_ct_CC" >&6; }
2338 else
2339 { echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6; }
2344 test -n "$ac_ct_CC" && break
2345 done
2347 if test "x$ac_ct_CC" = x; then
2348 CC=""
2349 else
2350 case $cross_compiling:$ac_tool_warned in
2351 yes:)
2352 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2353 whose name does not start with the host triplet. If you think this
2354 configuration is useful to you, please write to autoconf@gnu.org." >&5
2355 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2356 whose name does not start with the host triplet. If you think this
2357 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2358 ac_tool_warned=yes ;;
2359 esac
2360 CC=$ac_ct_CC
2367 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2368 See \`config.log' for more details." >&5
2369 echo "$as_me: error: no acceptable C compiler found in \$PATH
2370 See \`config.log' for more details." >&2;}
2371 { (exit 1); exit 1; }; }
2373 # Provide some information about the compiler.
2374 echo "$as_me:$LINENO: checking for C compiler version" >&5
2375 ac_compiler=`set X $ac_compile; echo $2`
2376 { (ac_try="$ac_compiler --version >&5"
2377 case "(($ac_try" in
2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2380 esac
2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_compiler --version >&5") 2>&5
2383 ac_status=$?
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }
2386 { (ac_try="$ac_compiler -v >&5"
2387 case "(($ac_try" in
2388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2389 *) ac_try_echo=$ac_try;;
2390 esac
2391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2392 (eval "$ac_compiler -v >&5") 2>&5
2393 ac_status=$?
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }
2396 { (ac_try="$ac_compiler -V >&5"
2397 case "(($ac_try" in
2398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2399 *) ac_try_echo=$ac_try;;
2400 esac
2401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2402 (eval "$ac_compiler -V >&5") 2>&5
2403 ac_status=$?
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); }
2407 cat >conftest.$ac_ext <<_ACEOF
2408 /* confdefs.h. */
2409 _ACEOF
2410 cat confdefs.h >>conftest.$ac_ext
2411 cat >>conftest.$ac_ext <<_ACEOF
2412 /* end confdefs.h. */
2415 main ()
2419 return 0;
2421 _ACEOF
2422 ac_clean_files_save=$ac_clean_files
2423 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2424 # Try to create an executable without -o first, disregard a.out.
2425 # It will help us diagnose broken compilers, and finding out an intuition
2426 # of exeext.
2427 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2428 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2429 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2431 # List of possible output files, starting from the most likely.
2432 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2433 # only as a last resort. b.out is created by i960 compilers.
2434 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2436 # The IRIX 6 linker writes into existing files which may not be
2437 # executable, retaining their permissions. Remove them first so a
2438 # subsequent execution test works.
2439 ac_rmfiles=
2440 for ac_file in $ac_files
2442 case $ac_file in
2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2444 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2445 esac
2446 done
2447 rm -f $ac_rmfiles
2449 if { (ac_try="$ac_link_default"
2450 case "(($ac_try" in
2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2453 esac
2454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2455 (eval "$ac_link_default") 2>&5
2456 ac_status=$?
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; then
2459 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2460 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2461 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2462 # so that the user can short-circuit this test for compilers unknown to
2463 # Autoconf.
2464 for ac_file in $ac_files ''
2466 test -f "$ac_file" || continue
2467 case $ac_file in
2468 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2470 [ab].out )
2471 # We found the default executable, but exeext='' is most
2472 # certainly right.
2473 break;;
2474 *.* )
2475 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2476 then :; else
2477 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2479 # We set ac_cv_exeext here because the later test for it is not
2480 # safe: cross compilers may not add the suffix if given an `-o'
2481 # argument, so we may need to know it at that point already.
2482 # Even if this section looks crufty: it has the advantage of
2483 # actually working.
2484 break;;
2486 break;;
2487 esac
2488 done
2489 test "$ac_cv_exeext" = no && ac_cv_exeext=
2491 else
2492 ac_file=''
2495 { echo "$as_me:$LINENO: result: $ac_file" >&5
2496 echo "${ECHO_T}$ac_file" >&6; }
2497 if test -z "$ac_file"; then
2498 echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.$ac_ext >&5
2501 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2502 See \`config.log' for more details." >&5
2503 echo "$as_me: error: C compiler cannot create executables
2504 See \`config.log' for more details." >&2;}
2505 { (exit 77); exit 77; }; }
2508 ac_exeext=$ac_cv_exeext
2510 # Check that the compiler produces executables we can run. If not, either
2511 # the compiler is broken, or we cross compile.
2512 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2513 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2514 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2515 # If not cross compiling, check that we can run a simple program.
2516 if test "$cross_compiling" != yes; then
2517 if { ac_try='./$ac_file'
2518 { (case "(($ac_try" in
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2521 esac
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_try") 2>&5
2524 ac_status=$?
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; }; then
2527 cross_compiling=no
2528 else
2529 if test "$cross_compiling" = maybe; then
2530 cross_compiling=yes
2531 else
2532 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2533 If you meant to cross compile, use \`--host'.
2534 See \`config.log' for more details." >&5
2535 echo "$as_me: error: cannot run C compiled programs.
2536 If you meant to cross compile, use \`--host'.
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2542 { echo "$as_me:$LINENO: result: yes" >&5
2543 echo "${ECHO_T}yes" >&6; }
2545 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2546 ac_clean_files=$ac_clean_files_save
2547 # Check that the compiler produces executables we can run. If not, either
2548 # the compiler is broken, or we cross compile.
2549 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2550 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2551 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2552 echo "${ECHO_T}$cross_compiling" >&6; }
2554 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2555 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2556 if { (ac_try="$ac_link"
2557 case "(($ac_try" in
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2560 esac
2561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2562 (eval "$ac_link") 2>&5
2563 ac_status=$?
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; then
2566 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2567 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2568 # work properly (i.e., refer to `conftest.exe'), while it won't with
2569 # `rm'.
2570 for ac_file in conftest.exe conftest conftest.*; do
2571 test -f "$ac_file" || continue
2572 case $ac_file in
2573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2574 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2575 break;;
2576 * ) break;;
2577 esac
2578 done
2579 else
2580 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2581 See \`config.log' for more details." >&5
2582 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2583 See \`config.log' for more details." >&2;}
2584 { (exit 1); exit 1; }; }
2587 rm -f conftest$ac_cv_exeext
2588 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2589 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2591 rm -f conftest.$ac_ext
2592 EXEEXT=$ac_cv_exeext
2593 ac_exeext=$EXEEXT
2594 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2595 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2596 if test "${ac_cv_objext+set}" = set; then
2597 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 else
2599 cat >conftest.$ac_ext <<_ACEOF
2600 /* confdefs.h. */
2601 _ACEOF
2602 cat confdefs.h >>conftest.$ac_ext
2603 cat >>conftest.$ac_ext <<_ACEOF
2604 /* end confdefs.h. */
2607 main ()
2611 return 0;
2613 _ACEOF
2614 rm -f conftest.o conftest.obj
2615 if { (ac_try="$ac_compile"
2616 case "(($ac_try" in
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2619 esac
2620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2621 (eval "$ac_compile") 2>&5
2622 ac_status=$?
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; then
2625 for ac_file in conftest.o conftest.obj conftest.*; do
2626 test -f "$ac_file" || continue;
2627 case $ac_file in
2628 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2629 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2630 break;;
2631 esac
2632 done
2633 else
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.$ac_ext >&5
2637 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2638 See \`config.log' for more details." >&5
2639 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2640 See \`config.log' for more details." >&2;}
2641 { (exit 1); exit 1; }; }
2644 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2646 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2647 echo "${ECHO_T}$ac_cv_objext" >&6; }
2648 OBJEXT=$ac_cv_objext
2649 ac_objext=$OBJEXT
2650 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2651 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2652 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 else
2655 cat >conftest.$ac_ext <<_ACEOF
2656 /* confdefs.h. */
2657 _ACEOF
2658 cat confdefs.h >>conftest.$ac_ext
2659 cat >>conftest.$ac_ext <<_ACEOF
2660 /* end confdefs.h. */
2663 main ()
2665 #ifndef __GNUC__
2666 choke me
2667 #endif
2670 return 0;
2672 _ACEOF
2673 rm -f conftest.$ac_objext
2674 if { (ac_try="$ac_compile"
2675 case "(($ac_try" in
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2678 esac
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_compile") 2>conftest.er1
2681 ac_status=$?
2682 grep -v '^ *+' conftest.er1 >conftest.err
2683 rm -f conftest.er1
2684 cat conftest.err >&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); } && {
2687 test -z "$ac_c_werror_flag" ||
2688 test ! -s conftest.err
2689 } && test -s conftest.$ac_objext; then
2690 ac_compiler_gnu=yes
2691 else
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.$ac_ext >&5
2695 ac_compiler_gnu=no
2698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2702 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2703 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2704 GCC=`test $ac_compiler_gnu = yes && echo yes`
2705 ac_test_CFLAGS=${CFLAGS+set}
2706 ac_save_CFLAGS=$CFLAGS
2707 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2708 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2709 if test "${ac_cv_prog_cc_g+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 else
2712 ac_save_c_werror_flag=$ac_c_werror_flag
2713 ac_c_werror_flag=yes
2714 ac_cv_prog_cc_g=no
2715 CFLAGS="-g"
2716 cat >conftest.$ac_ext <<_ACEOF
2717 /* confdefs.h. */
2718 _ACEOF
2719 cat confdefs.h >>conftest.$ac_ext
2720 cat >>conftest.$ac_ext <<_ACEOF
2721 /* end confdefs.h. */
2724 main ()
2728 return 0;
2730 _ACEOF
2731 rm -f conftest.$ac_objext
2732 if { (ac_try="$ac_compile"
2733 case "(($ac_try" in
2734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2736 esac
2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2738 (eval "$ac_compile") 2>conftest.er1
2739 ac_status=$?
2740 grep -v '^ *+' conftest.er1 >conftest.err
2741 rm -f conftest.er1
2742 cat conftest.err >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); } && {
2745 test -z "$ac_c_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest.$ac_objext; then
2748 ac_cv_prog_cc_g=yes
2749 else
2750 echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2753 CFLAGS=""
2754 cat >conftest.$ac_ext <<_ACEOF
2755 /* confdefs.h. */
2756 _ACEOF
2757 cat confdefs.h >>conftest.$ac_ext
2758 cat >>conftest.$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2762 main ()
2766 return 0;
2768 _ACEOF
2769 rm -f conftest.$ac_objext
2770 if { (ac_try="$ac_compile"
2771 case "(($ac_try" in
2772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2773 *) ac_try_echo=$ac_try;;
2774 esac
2775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2776 (eval "$ac_compile") 2>conftest.er1
2777 ac_status=$?
2778 grep -v '^ *+' conftest.er1 >conftest.err
2779 rm -f conftest.er1
2780 cat conftest.err >&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } && {
2783 test -z "$ac_c_werror_flag" ||
2784 test ! -s conftest.err
2785 } && test -s conftest.$ac_objext; then
2787 else
2788 echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2791 ac_c_werror_flag=$ac_save_c_werror_flag
2792 CFLAGS="-g"
2793 cat >conftest.$ac_ext <<_ACEOF
2794 /* confdefs.h. */
2795 _ACEOF
2796 cat confdefs.h >>conftest.$ac_ext
2797 cat >>conftest.$ac_ext <<_ACEOF
2798 /* end confdefs.h. */
2801 main ()
2805 return 0;
2807 _ACEOF
2808 rm -f conftest.$ac_objext
2809 if { (ac_try="$ac_compile"
2810 case "(($ac_try" in
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2813 esac
2814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2815 (eval "$ac_compile") 2>conftest.er1
2816 ac_status=$?
2817 grep -v '^ *+' conftest.er1 >conftest.err
2818 rm -f conftest.er1
2819 cat conftest.err >&5
2820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821 (exit $ac_status); } && {
2822 test -z "$ac_c_werror_flag" ||
2823 test ! -s conftest.err
2824 } && test -s conftest.$ac_objext; then
2825 ac_cv_prog_cc_g=yes
2826 else
2827 echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 ac_c_werror_flag=$ac_save_c_werror_flag
2842 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2844 if test "$ac_test_CFLAGS" = set; then
2845 CFLAGS=$ac_save_CFLAGS
2846 elif test $ac_cv_prog_cc_g = yes; then
2847 if test "$GCC" = yes; then
2848 CFLAGS="-g -O2"
2849 else
2850 CFLAGS="-g"
2852 else
2853 if test "$GCC" = yes; then
2854 CFLAGS="-O2"
2855 else
2856 CFLAGS=
2859 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2860 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2861 if test "${ac_cv_prog_cc_c89+set}" = set; then
2862 echo $ECHO_N "(cached) $ECHO_C" >&6
2863 else
2864 ac_cv_prog_cc_c89=no
2865 ac_save_CC=$CC
2866 cat >conftest.$ac_ext <<_ACEOF
2867 /* confdefs.h. */
2868 _ACEOF
2869 cat confdefs.h >>conftest.$ac_ext
2870 cat >>conftest.$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2872 #include <stdarg.h>
2873 #include <stdio.h>
2874 #include <sys/types.h>
2875 #include <sys/stat.h>
2876 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2877 struct buf { int x; };
2878 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2879 static char *e (p, i)
2880 char **p;
2881 int i;
2883 return p[i];
2885 static char *f (char * (*g) (char **, int), char **p, ...)
2887 char *s;
2888 va_list v;
2889 va_start (v,p);
2890 s = g (p, va_arg (v,int));
2891 va_end (v);
2892 return s;
2895 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2896 function prototypes and stuff, but not '\xHH' hex character constants.
2897 These don't provoke an error unfortunately, instead are silently treated
2898 as 'x'. The following induces an error, until -std is added to get
2899 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2900 array size at least. It's necessary to write '\x00'==0 to get something
2901 that's true only with -std. */
2902 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2904 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2905 inside strings and character constants. */
2906 #define FOO(x) 'x'
2907 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2909 int test (int i, double x);
2910 struct s1 {int (*f) (int a);};
2911 struct s2 {int (*f) (double a);};
2912 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2913 int argc;
2914 char **argv;
2916 main ()
2918 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2920 return 0;
2922 _ACEOF
2923 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2924 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2926 CC="$ac_save_CC $ac_arg"
2927 rm -f conftest.$ac_objext
2928 if { (ac_try="$ac_compile"
2929 case "(($ac_try" in
2930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931 *) ac_try_echo=$ac_try;;
2932 esac
2933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2934 (eval "$ac_compile") 2>conftest.er1
2935 ac_status=$?
2936 grep -v '^ *+' conftest.er1 >conftest.err
2937 rm -f conftest.er1
2938 cat conftest.err >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); } && {
2941 test -z "$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2943 } && test -s conftest.$ac_objext; then
2944 ac_cv_prog_cc_c89=$ac_arg
2945 else
2946 echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2952 rm -f core conftest.err conftest.$ac_objext
2953 test "x$ac_cv_prog_cc_c89" != "xno" && break
2954 done
2955 rm -f conftest.$ac_ext
2956 CC=$ac_save_CC
2959 # AC_CACHE_VAL
2960 case "x$ac_cv_prog_cc_c89" in
2962 { echo "$as_me:$LINENO: result: none needed" >&5
2963 echo "${ECHO_T}none needed" >&6; } ;;
2964 xno)
2965 { echo "$as_me:$LINENO: result: unsupported" >&5
2966 echo "${ECHO_T}unsupported" >&6; } ;;
2968 CC="$CC $ac_cv_prog_cc_c89"
2969 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2970 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2971 esac
2974 ac_ext=c
2975 ac_cpp='$CPP $CPPFLAGS'
2976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2980 ac_ext=cpp
2981 ac_cpp='$CXXCPP $CPPFLAGS'
2982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2985 if test -z "$CXX"; then
2986 if test -n "$CCC"; then
2987 CXX=$CCC
2988 else
2989 if test -n "$ac_tool_prefix"; then
2990 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2992 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2993 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2996 if test "${ac_cv_prog_CXX+set}" = set; then
2997 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 else
2999 if test -n "$CXX"; then
3000 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3001 else
3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3003 for as_dir in $PATH
3005 IFS=$as_save_IFS
3006 test -z "$as_dir" && as_dir=.
3007 for ac_exec_ext in '' $ac_executable_extensions; do
3008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3011 break 2
3013 done
3014 done
3015 IFS=$as_save_IFS
3019 CXX=$ac_cv_prog_CXX
3020 if test -n "$CXX"; then
3021 { echo "$as_me:$LINENO: result: $CXX" >&5
3022 echo "${ECHO_T}$CXX" >&6; }
3023 else
3024 { echo "$as_me:$LINENO: result: no" >&5
3025 echo "${ECHO_T}no" >&6; }
3029 test -n "$CXX" && break
3030 done
3032 if test -z "$CXX"; then
3033 ac_ct_CXX=$CXX
3034 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3036 # Extract the first word of "$ac_prog", so it can be a program name with args.
3037 set dummy $ac_prog; ac_word=$2
3038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3040 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3041 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 else
3043 if test -n "$ac_ct_CXX"; then
3044 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3049 IFS=$as_save_IFS
3050 test -z "$as_dir" && as_dir=.
3051 for ac_exec_ext in '' $ac_executable_extensions; do
3052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3053 ac_cv_prog_ac_ct_CXX="$ac_prog"
3054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 break 2
3057 done
3058 done
3059 IFS=$as_save_IFS
3063 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3064 if test -n "$ac_ct_CXX"; then
3065 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3066 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3067 else
3068 { echo "$as_me:$LINENO: result: no" >&5
3069 echo "${ECHO_T}no" >&6; }
3073 test -n "$ac_ct_CXX" && break
3074 done
3076 if test "x$ac_ct_CXX" = x; then
3077 CXX="g++"
3078 else
3079 case $cross_compiling:$ac_tool_warned in
3080 yes:)
3081 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3082 whose name does not start with the host triplet. If you think this
3083 configuration is useful to you, please write to autoconf@gnu.org." >&5
3084 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3085 whose name does not start with the host triplet. If you think this
3086 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3087 ac_tool_warned=yes ;;
3088 esac
3089 CXX=$ac_ct_CXX
3095 # Provide some information about the compiler.
3096 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3097 ac_compiler=`set X $ac_compile; echo $2`
3098 { (ac_try="$ac_compiler --version >&5"
3099 case "(($ac_try" in
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3102 esac
3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compiler --version >&5") 2>&5
3105 ac_status=$?
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3108 { (ac_try="$ac_compiler -v >&5"
3109 case "(($ac_try" in
3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111 *) ac_try_echo=$ac_try;;
3112 esac
3113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3114 (eval "$ac_compiler -v >&5") 2>&5
3115 ac_status=$?
3116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117 (exit $ac_status); }
3118 { (ac_try="$ac_compiler -V >&5"
3119 case "(($ac_try" in
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3122 esac
3123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3124 (eval "$ac_compiler -V >&5") 2>&5
3125 ac_status=$?
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }
3129 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3130 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3131 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3132 echo $ECHO_N "(cached) $ECHO_C" >&6
3133 else
3134 cat >conftest.$ac_ext <<_ACEOF
3135 /* confdefs.h. */
3136 _ACEOF
3137 cat confdefs.h >>conftest.$ac_ext
3138 cat >>conftest.$ac_ext <<_ACEOF
3139 /* end confdefs.h. */
3142 main ()
3144 #ifndef __GNUC__
3145 choke me
3146 #endif
3149 return 0;
3151 _ACEOF
3152 rm -f conftest.$ac_objext
3153 if { (ac_try="$ac_compile"
3154 case "(($ac_try" in
3155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3157 esac
3158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3159 (eval "$ac_compile") 2>conftest.er1
3160 ac_status=$?
3161 grep -v '^ *+' conftest.er1 >conftest.err
3162 rm -f conftest.er1
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } && {
3166 test -z "$ac_cxx_werror_flag" ||
3167 test ! -s conftest.err
3168 } && test -s conftest.$ac_objext; then
3169 ac_compiler_gnu=yes
3170 else
3171 echo "$as_me: failed program was:" >&5
3172 sed 's/^/| /' conftest.$ac_ext >&5
3174 ac_compiler_gnu=no
3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3178 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3181 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3182 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3183 GXX=`test $ac_compiler_gnu = yes && echo yes`
3184 ac_test_CXXFLAGS=${CXXFLAGS+set}
3185 ac_save_CXXFLAGS=$CXXFLAGS
3186 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3187 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3188 if test "${ac_cv_prog_cxx_g+set}" = set; then
3189 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 else
3191 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3192 ac_cxx_werror_flag=yes
3193 ac_cv_prog_cxx_g=no
3194 CXXFLAGS="-g"
3195 cat >conftest.$ac_ext <<_ACEOF
3196 /* confdefs.h. */
3197 _ACEOF
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3203 main ()
3207 return 0;
3209 _ACEOF
3210 rm -f conftest.$ac_objext
3211 if { (ac_try="$ac_compile"
3212 case "(($ac_try" in
3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3215 esac
3216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3217 (eval "$ac_compile") 2>conftest.er1
3218 ac_status=$?
3219 grep -v '^ *+' conftest.er1 >conftest.err
3220 rm -f conftest.er1
3221 cat conftest.err >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); } && {
3224 test -z "$ac_cxx_werror_flag" ||
3225 test ! -s conftest.err
3226 } && test -s conftest.$ac_objext; then
3227 ac_cv_prog_cxx_g=yes
3228 else
3229 echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3232 CXXFLAGS=""
3233 cat >conftest.$ac_ext <<_ACEOF
3234 /* confdefs.h. */
3235 _ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3241 main ()
3245 return 0;
3247 _ACEOF
3248 rm -f conftest.$ac_objext
3249 if { (ac_try="$ac_compile"
3250 case "(($ac_try" in
3251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3252 *) ac_try_echo=$ac_try;;
3253 esac
3254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3255 (eval "$ac_compile") 2>conftest.er1
3256 ac_status=$?
3257 grep -v '^ *+' conftest.er1 >conftest.err
3258 rm -f conftest.er1
3259 cat conftest.err >&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } && {
3262 test -z "$ac_cxx_werror_flag" ||
3263 test ! -s conftest.err
3264 } && test -s conftest.$ac_objext; then
3266 else
3267 echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.$ac_ext >&5
3270 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3271 CXXFLAGS="-g"
3272 cat >conftest.$ac_ext <<_ACEOF
3273 /* confdefs.h. */
3274 _ACEOF
3275 cat confdefs.h >>conftest.$ac_ext
3276 cat >>conftest.$ac_ext <<_ACEOF
3277 /* end confdefs.h. */
3280 main ()
3284 return 0;
3286 _ACEOF
3287 rm -f conftest.$ac_objext
3288 if { (ac_try="$ac_compile"
3289 case "(($ac_try" in
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3292 esac
3293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_compile") 2>conftest.er1
3295 ac_status=$?
3296 grep -v '^ *+' conftest.er1 >conftest.err
3297 rm -f conftest.er1
3298 cat conftest.err >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); } && {
3301 test -z "$ac_cxx_werror_flag" ||
3302 test ! -s conftest.err
3303 } && test -s conftest.$ac_objext; then
3304 ac_cv_prog_cxx_g=yes
3305 else
3306 echo "$as_me: failed program was:" >&5
3307 sed 's/^/| /' conftest.$ac_ext >&5
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3321 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3322 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3323 if test "$ac_test_CXXFLAGS" = set; then
3324 CXXFLAGS=$ac_save_CXXFLAGS
3325 elif test $ac_cv_prog_cxx_g = yes; then
3326 if test "$GXX" = yes; then
3327 CXXFLAGS="-g -O2"
3328 else
3329 CXXFLAGS="-g"
3331 else
3332 if test "$GXX" = yes; then
3333 CXXFLAGS="-O2"
3334 else
3335 CXXFLAGS=
3338 ac_ext=c
3339 ac_cpp='$CPP $CPPFLAGS'
3340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3344 if test -n "$ac_tool_prefix"; then
3345 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3346 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3349 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 else
3352 if test -n "$CPPBIN"; then
3353 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3354 else
3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356 for as_dir in $PATH
3358 IFS=$as_save_IFS
3359 test -z "$as_dir" && as_dir=.
3360 for ac_exec_ext in '' $ac_executable_extensions; do
3361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3362 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3364 break 2
3366 done
3367 done
3368 IFS=$as_save_IFS
3372 CPPBIN=$ac_cv_prog_CPPBIN
3373 if test -n "$CPPBIN"; then
3374 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3375 echo "${ECHO_T}$CPPBIN" >&6; }
3376 else
3377 { echo "$as_me:$LINENO: result: no" >&5
3378 echo "${ECHO_T}no" >&6; }
3383 if test -z "$ac_cv_prog_CPPBIN"; then
3384 ac_ct_CPPBIN=$CPPBIN
3385 # Extract the first word of "cpp", so it can be a program name with args.
3386 set dummy cpp; ac_word=$2
3387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3389 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3390 echo $ECHO_N "(cached) $ECHO_C" >&6
3391 else
3392 if test -n "$ac_ct_CPPBIN"; then
3393 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3394 else
3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3396 for as_dir in $PATH
3398 IFS=$as_save_IFS
3399 test -z "$as_dir" && as_dir=.
3400 for ac_exec_ext in '' $ac_executable_extensions; do
3401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3402 ac_cv_prog_ac_ct_CPPBIN="cpp"
3403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 break 2
3406 done
3407 done
3408 IFS=$as_save_IFS
3412 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3413 if test -n "$ac_ct_CPPBIN"; then
3414 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3415 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3416 else
3417 { echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6; }
3421 if test "x$ac_ct_CPPBIN" = x; then
3422 CPPBIN="cpp"
3423 else
3424 case $cross_compiling:$ac_tool_warned in
3425 yes:)
3426 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3427 whose name does not start with the host triplet. If you think this
3428 configuration is useful to you, please write to autoconf@gnu.org." >&5
3429 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3430 whose name does not start with the host triplet. If you think this
3431 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3432 ac_tool_warned=yes ;;
3433 esac
3434 CPPBIN=$ac_ct_CPPBIN
3436 else
3437 CPPBIN="$ac_cv_prog_CPPBIN"
3441 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3442 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3443 if test "${wine_cv_toolsdir+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 else
3446 if test -z "$with_wine_tools"; then
3447 if test "$cross_compiling" = "yes"; then
3448 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3449 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3450 { (exit 1); exit 1; }; }
3451 else
3452 wine_cv_toolsdir="\$(TOPOBJDIR)"
3454 elif test -d "$with_wine_tools/tools/winebuild"; then
3455 case $with_wine_tools in
3456 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3457 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3458 esac
3459 else
3460 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3461 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3462 { (exit 1); exit 1; }; }
3465 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3466 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3467 TOOLSDIR=$wine_cv_toolsdir
3471 ac_ext=c
3472 ac_cpp='$CPP $CPPFLAGS'
3473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3476 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3477 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3478 # On Suns, sometimes $CPP names a directory.
3479 if test -n "$CPP" && test -d "$CPP"; then
3480 CPP=
3482 if test -z "$CPP"; then
3483 if test "${ac_cv_prog_CPP+set}" = set; then
3484 echo $ECHO_N "(cached) $ECHO_C" >&6
3485 else
3486 # Double quotes because CPP needs to be expanded
3487 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3489 ac_preproc_ok=false
3490 for ac_c_preproc_warn_flag in '' yes
3492 # Use a header file that comes with gcc, so configuring glibc
3493 # with a fresh cross-compiler works.
3494 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3495 # <limits.h> exists even on freestanding compilers.
3496 # On the NeXT, cc -E runs the code through the compiler's parser,
3497 # not just through cpp. "Syntax error" is here to catch this case.
3498 cat >conftest.$ac_ext <<_ACEOF
3499 /* confdefs.h. */
3500 _ACEOF
3501 cat confdefs.h >>conftest.$ac_ext
3502 cat >>conftest.$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3504 #ifdef __STDC__
3505 # include <limits.h>
3506 #else
3507 # include <assert.h>
3508 #endif
3509 Syntax error
3510 _ACEOF
3511 if { (ac_try="$ac_cpp conftest.$ac_ext"
3512 case "(($ac_try" in
3513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3514 *) ac_try_echo=$ac_try;;
3515 esac
3516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3517 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3518 ac_status=$?
3519 grep -v '^ *+' conftest.er1 >conftest.err
3520 rm -f conftest.er1
3521 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } >/dev/null && {
3524 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3525 test ! -s conftest.err
3526 }; then
3528 else
3529 echo "$as_me: failed program was:" >&5
3530 sed 's/^/| /' conftest.$ac_ext >&5
3532 # Broken: fails on valid input.
3533 continue
3536 rm -f conftest.err conftest.$ac_ext
3538 # OK, works on sane cases. Now check whether nonexistent headers
3539 # can be detected and how.
3540 cat >conftest.$ac_ext <<_ACEOF
3541 /* confdefs.h. */
3542 _ACEOF
3543 cat confdefs.h >>conftest.$ac_ext
3544 cat >>conftest.$ac_ext <<_ACEOF
3545 /* end confdefs.h. */
3546 #include <ac_nonexistent.h>
3547 _ACEOF
3548 if { (ac_try="$ac_cpp conftest.$ac_ext"
3549 case "(($ac_try" in
3550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551 *) ac_try_echo=$ac_try;;
3552 esac
3553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3555 ac_status=$?
3556 grep -v '^ *+' conftest.er1 >conftest.err
3557 rm -f conftest.er1
3558 cat conftest.err >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } >/dev/null && {
3561 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3562 test ! -s conftest.err
3563 }; then
3564 # Broken: success on invalid input.
3565 continue
3566 else
3567 echo "$as_me: failed program was:" >&5
3568 sed 's/^/| /' conftest.$ac_ext >&5
3570 # Passes both tests.
3571 ac_preproc_ok=:
3572 break
3575 rm -f conftest.err conftest.$ac_ext
3577 done
3578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3579 rm -f conftest.err conftest.$ac_ext
3580 if $ac_preproc_ok; then
3581 break
3584 done
3585 ac_cv_prog_CPP=$CPP
3588 CPP=$ac_cv_prog_CPP
3589 else
3590 ac_cv_prog_CPP=$CPP
3592 { echo "$as_me:$LINENO: result: $CPP" >&5
3593 echo "${ECHO_T}$CPP" >&6; }
3594 ac_preproc_ok=false
3595 for ac_c_preproc_warn_flag in '' yes
3597 # Use a header file that comes with gcc, so configuring glibc
3598 # with a fresh cross-compiler works.
3599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3600 # <limits.h> exists even on freestanding compilers.
3601 # On the NeXT, cc -E runs the code through the compiler's parser,
3602 # not just through cpp. "Syntax error" is here to catch this case.
3603 cat >conftest.$ac_ext <<_ACEOF
3604 /* confdefs.h. */
3605 _ACEOF
3606 cat confdefs.h >>conftest.$ac_ext
3607 cat >>conftest.$ac_ext <<_ACEOF
3608 /* end confdefs.h. */
3609 #ifdef __STDC__
3610 # include <limits.h>
3611 #else
3612 # include <assert.h>
3613 #endif
3614 Syntax error
3615 _ACEOF
3616 if { (ac_try="$ac_cpp conftest.$ac_ext"
3617 case "(($ac_try" in
3618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3619 *) ac_try_echo=$ac_try;;
3620 esac
3621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3623 ac_status=$?
3624 grep -v '^ *+' conftest.er1 >conftest.err
3625 rm -f conftest.er1
3626 cat conftest.err >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } >/dev/null && {
3629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3630 test ! -s conftest.err
3631 }; then
3633 else
3634 echo "$as_me: failed program was:" >&5
3635 sed 's/^/| /' conftest.$ac_ext >&5
3637 # Broken: fails on valid input.
3638 continue
3641 rm -f conftest.err conftest.$ac_ext
3643 # OK, works on sane cases. Now check whether nonexistent headers
3644 # can be detected and how.
3645 cat >conftest.$ac_ext <<_ACEOF
3646 /* confdefs.h. */
3647 _ACEOF
3648 cat confdefs.h >>conftest.$ac_ext
3649 cat >>conftest.$ac_ext <<_ACEOF
3650 /* end confdefs.h. */
3651 #include <ac_nonexistent.h>
3652 _ACEOF
3653 if { (ac_try="$ac_cpp conftest.$ac_ext"
3654 case "(($ac_try" in
3655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656 *) ac_try_echo=$ac_try;;
3657 esac
3658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3660 ac_status=$?
3661 grep -v '^ *+' conftest.er1 >conftest.err
3662 rm -f conftest.er1
3663 cat conftest.err >&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } >/dev/null && {
3666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3667 test ! -s conftest.err
3668 }; then
3669 # Broken: success on invalid input.
3670 continue
3671 else
3672 echo "$as_me: failed program was:" >&5
3673 sed 's/^/| /' conftest.$ac_ext >&5
3675 # Passes both tests.
3676 ac_preproc_ok=:
3677 break
3680 rm -f conftest.err conftest.$ac_ext
3682 done
3683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3684 rm -f conftest.err conftest.$ac_ext
3685 if $ac_preproc_ok; then
3687 else
3688 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3689 See \`config.log' for more details." >&5
3690 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3691 See \`config.log' for more details." >&2;}
3692 { (exit 1); exit 1; }; }
3695 ac_ext=c
3696 ac_cpp='$CPP $CPPFLAGS'
3697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3702 { echo "$as_me:$LINENO: checking for X" >&5
3703 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3706 # Check whether --with-x was given.
3707 if test "${with_x+set}" = set; then
3708 withval=$with_x;
3711 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3712 if test "x$with_x" = xno; then
3713 # The user explicitly disabled X.
3714 have_x=disabled
3715 else
3716 case $x_includes,$x_libraries in #(
3717 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3718 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3719 { (exit 1); exit 1; }; };; #(
3720 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 else
3723 # One or both of the vars are not set, and there is no cached value.
3724 ac_x_includes=no ac_x_libraries=no
3725 rm -f -r conftest.dir
3726 if mkdir conftest.dir; then
3727 cd conftest.dir
3728 cat >Imakefile <<'_ACEOF'
3729 incroot:
3730 @echo incroot='${INCROOT}'
3731 usrlibdir:
3732 @echo usrlibdir='${USRLIBDIR}'
3733 libdir:
3734 @echo libdir='${LIBDIR}'
3735 _ACEOF
3736 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3737 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3738 for ac_var in incroot usrlibdir libdir; do
3739 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3740 done
3741 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3742 for ac_extension in a so sl; do
3743 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3744 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3745 ac_im_usrlibdir=$ac_im_libdir; break
3747 done
3748 # Screen out bogus values from the imake configuration. They are
3749 # bogus both because they are the default anyway, and because
3750 # using them would break gcc on systems where it needs fixed includes.
3751 case $ac_im_incroot in
3752 /usr/include) ac_x_includes= ;;
3753 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3754 esac
3755 case $ac_im_usrlibdir in
3756 /usr/lib | /lib) ;;
3757 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3758 esac
3760 cd ..
3761 rm -f -r conftest.dir
3764 # Standard set of common directories for X headers.
3765 # Check X11 before X11Rn because it is often a symlink to the current release.
3766 ac_x_header_dirs='
3767 /usr/X11/include
3768 /usr/X11R6/include
3769 /usr/X11R5/include
3770 /usr/X11R4/include
3772 /usr/include/X11
3773 /usr/include/X11R6
3774 /usr/include/X11R5
3775 /usr/include/X11R4
3777 /usr/local/X11/include
3778 /usr/local/X11R6/include
3779 /usr/local/X11R5/include
3780 /usr/local/X11R4/include
3782 /usr/local/include/X11
3783 /usr/local/include/X11R6
3784 /usr/local/include/X11R5
3785 /usr/local/include/X11R4
3787 /usr/X386/include
3788 /usr/x386/include
3789 /usr/XFree86/include/X11
3791 /usr/include
3792 /usr/local/include
3793 /usr/unsupported/include
3794 /usr/athena/include
3795 /usr/local/x11r5/include
3796 /usr/lpp/Xamples/include
3798 /usr/openwin/include
3799 /usr/openwin/share/include'
3801 if test "$ac_x_includes" = no; then
3802 # Guess where to find include files, by looking for Xlib.h.
3803 # First, try using that file with no special directory specified.
3804 cat >conftest.$ac_ext <<_ACEOF
3805 /* confdefs.h. */
3806 _ACEOF
3807 cat confdefs.h >>conftest.$ac_ext
3808 cat >>conftest.$ac_ext <<_ACEOF
3809 /* end confdefs.h. */
3810 #include <X11/Xlib.h>
3811 _ACEOF
3812 if { (ac_try="$ac_cpp conftest.$ac_ext"
3813 case "(($ac_try" in
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3816 esac
3817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3819 ac_status=$?
3820 grep -v '^ *+' conftest.er1 >conftest.err
3821 rm -f conftest.er1
3822 cat conftest.err >&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); } >/dev/null && {
3825 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3826 test ! -s conftest.err
3827 }; then
3828 # We can compile using X headers with no special include directory.
3829 ac_x_includes=
3830 else
3831 echo "$as_me: failed program was:" >&5
3832 sed 's/^/| /' conftest.$ac_ext >&5
3834 for ac_dir in $ac_x_header_dirs; do
3835 if test -r "$ac_dir/X11/Xlib.h"; then
3836 ac_x_includes=$ac_dir
3837 break
3839 done
3842 rm -f conftest.err conftest.$ac_ext
3843 fi # $ac_x_includes = no
3845 if test "$ac_x_libraries" = no; then
3846 # Check for the libraries.
3847 # See if we find them without any special options.
3848 # Don't add to $LIBS permanently.
3849 ac_save_LIBS=$LIBS
3850 LIBS="-lX11 $LIBS"
3851 cat >conftest.$ac_ext <<_ACEOF
3852 /* confdefs.h. */
3853 _ACEOF
3854 cat confdefs.h >>conftest.$ac_ext
3855 cat >>conftest.$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3857 #include <X11/Xlib.h>
3859 main ()
3861 XrmInitialize ()
3863 return 0;
3865 _ACEOF
3866 rm -f conftest.$ac_objext conftest$ac_exeext
3867 if { (ac_try="$ac_link"
3868 case "(($ac_try" in
3869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3870 *) ac_try_echo=$ac_try;;
3871 esac
3872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3873 (eval "$ac_link") 2>conftest.er1
3874 ac_status=$?
3875 grep -v '^ *+' conftest.er1 >conftest.err
3876 rm -f conftest.er1
3877 cat conftest.err >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } && {
3880 test -z "$ac_c_werror_flag" ||
3881 test ! -s conftest.err
3882 } && test -s conftest$ac_exeext &&
3883 $as_test_x conftest$ac_exeext; then
3884 LIBS=$ac_save_LIBS
3885 # We can link X programs with no special library path.
3886 ac_x_libraries=
3887 else
3888 echo "$as_me: failed program was:" >&5
3889 sed 's/^/| /' conftest.$ac_ext >&5
3891 LIBS=$ac_save_LIBS
3892 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3894 # Don't even attempt the hair of trying to link an X program!
3895 for ac_extension in a so sl; do
3896 if test -r "$ac_dir/libX11.$ac_extension"; then
3897 ac_x_libraries=$ac_dir
3898 break 2
3900 done
3901 done
3904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3905 conftest$ac_exeext conftest.$ac_ext
3906 fi # $ac_x_libraries = no
3908 case $ac_x_includes,$ac_x_libraries in #(
3909 no,* | *,no | *\'*)
3910 # Didn't find X, or a directory has "'" in its name.
3911 ac_cv_have_x="have_x=no";; #(
3913 # Record where we found X for the cache.
3914 ac_cv_have_x="have_x=yes\
3915 ac_x_includes='$ac_x_includes'\
3916 ac_x_libraries='$ac_x_libraries'"
3917 esac
3919 ;; #(
3920 *) have_x=yes;;
3921 esac
3922 eval "$ac_cv_have_x"
3923 fi # $with_x != no
3925 if test "$have_x" != yes; then
3926 { echo "$as_me:$LINENO: result: $have_x" >&5
3927 echo "${ECHO_T}$have_x" >&6; }
3928 no_x=yes
3929 else
3930 # If each of the values was on the command line, it overrides each guess.
3931 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3932 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3933 # Update the cache value to reflect the command line values.
3934 ac_cv_have_x="have_x=yes\
3935 ac_x_includes='$x_includes'\
3936 ac_x_libraries='$x_libraries'"
3937 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3938 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3941 if test "$no_x" = yes; then
3942 # Not all programs may use this symbol, but it does not hurt to define it.
3944 cat >>confdefs.h <<\_ACEOF
3945 #define X_DISPLAY_MISSING 1
3946 _ACEOF
3948 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3949 else
3950 if test -n "$x_includes"; then
3951 X_CFLAGS="$X_CFLAGS -I$x_includes"
3954 # It would also be nice to do this for all -L options, not just this one.
3955 if test -n "$x_libraries"; then
3956 X_LIBS="$X_LIBS -L$x_libraries"
3957 # For Solaris; some versions of Sun CC require a space after -R and
3958 # others require no space. Words are not sufficient . . . .
3959 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3960 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3961 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3962 ac_xsave_c_werror_flag=$ac_c_werror_flag
3963 ac_c_werror_flag=yes
3964 cat >conftest.$ac_ext <<_ACEOF
3965 /* confdefs.h. */
3966 _ACEOF
3967 cat confdefs.h >>conftest.$ac_ext
3968 cat >>conftest.$ac_ext <<_ACEOF
3969 /* end confdefs.h. */
3972 main ()
3976 return 0;
3978 _ACEOF
3979 rm -f conftest.$ac_objext conftest$ac_exeext
3980 if { (ac_try="$ac_link"
3981 case "(($ac_try" in
3982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3983 *) ac_try_echo=$ac_try;;
3984 esac
3985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3986 (eval "$ac_link") 2>conftest.er1
3987 ac_status=$?
3988 grep -v '^ *+' conftest.er1 >conftest.err
3989 rm -f conftest.er1
3990 cat conftest.err >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } && {
3993 test -z "$ac_c_werror_flag" ||
3994 test ! -s conftest.err
3995 } && test -s conftest$ac_exeext &&
3996 $as_test_x conftest$ac_exeext; then
3997 { echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6; }
3999 X_LIBS="$X_LIBS -R$x_libraries"
4000 else
4001 echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4004 LIBS="$ac_xsave_LIBS -R $x_libraries"
4005 cat >conftest.$ac_ext <<_ACEOF
4006 /* confdefs.h. */
4007 _ACEOF
4008 cat confdefs.h >>conftest.$ac_ext
4009 cat >>conftest.$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4013 main ()
4017 return 0;
4019 _ACEOF
4020 rm -f conftest.$ac_objext conftest$ac_exeext
4021 if { (ac_try="$ac_link"
4022 case "(($ac_try" in
4023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4025 esac
4026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4027 (eval "$ac_link") 2>conftest.er1
4028 ac_status=$?
4029 grep -v '^ *+' conftest.er1 >conftest.err
4030 rm -f conftest.er1
4031 cat conftest.err >&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); } && {
4034 test -z "$ac_c_werror_flag" ||
4035 test ! -s conftest.err
4036 } && test -s conftest$ac_exeext &&
4037 $as_test_x conftest$ac_exeext; then
4038 { echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6; }
4040 X_LIBS="$X_LIBS -R $x_libraries"
4041 else
4042 echo "$as_me: failed program was:" >&5
4043 sed 's/^/| /' conftest.$ac_ext >&5
4045 { echo "$as_me:$LINENO: result: neither works" >&5
4046 echo "${ECHO_T}neither works" >&6; }
4049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4050 conftest$ac_exeext conftest.$ac_ext
4053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4054 conftest$ac_exeext conftest.$ac_ext
4055 ac_c_werror_flag=$ac_xsave_c_werror_flag
4056 LIBS=$ac_xsave_LIBS
4059 # Check for system-dependent libraries X programs must link with.
4060 # Do this before checking for the system-independent R6 libraries
4061 # (-lICE), since we may need -lsocket or whatever for X linking.
4063 if test "$ISC" = yes; then
4064 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4065 else
4066 # Martyn Johnson says this is needed for Ultrix, if the X
4067 # libraries were built with DECnet support. And Karl Berry says
4068 # the Alpha needs dnet_stub (dnet does not exist).
4069 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4070 cat >conftest.$ac_ext <<_ACEOF
4071 /* confdefs.h. */
4072 _ACEOF
4073 cat confdefs.h >>conftest.$ac_ext
4074 cat >>conftest.$ac_ext <<_ACEOF
4075 /* end confdefs.h. */
4077 /* Override any GCC internal prototype to avoid an error.
4078 Use char because int might match the return type of a GCC
4079 builtin and then its argument prototype would still apply. */
4080 #ifdef __cplusplus
4081 extern "C"
4082 #endif
4083 char XOpenDisplay ();
4085 main ()
4087 return XOpenDisplay ();
4089 return 0;
4091 _ACEOF
4092 rm -f conftest.$ac_objext conftest$ac_exeext
4093 if { (ac_try="$ac_link"
4094 case "(($ac_try" in
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4097 esac
4098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4099 (eval "$ac_link") 2>conftest.er1
4100 ac_status=$?
4101 grep -v '^ *+' conftest.er1 >conftest.err
4102 rm -f conftest.er1
4103 cat conftest.err >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } && {
4106 test -z "$ac_c_werror_flag" ||
4107 test ! -s conftest.err
4108 } && test -s conftest$ac_exeext &&
4109 $as_test_x conftest$ac_exeext; then
4111 else
4112 echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4115 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4116 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4117 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 else
4120 ac_check_lib_save_LIBS=$LIBS
4121 LIBS="-ldnet $LIBS"
4122 cat >conftest.$ac_ext <<_ACEOF
4123 /* confdefs.h. */
4124 _ACEOF
4125 cat confdefs.h >>conftest.$ac_ext
4126 cat >>conftest.$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4129 /* Override any GCC internal prototype to avoid an error.
4130 Use char because int might match the return type of a GCC
4131 builtin and then its argument prototype would still apply. */
4132 #ifdef __cplusplus
4133 extern "C"
4134 #endif
4135 char dnet_ntoa ();
4137 main ()
4139 return dnet_ntoa ();
4141 return 0;
4143 _ACEOF
4144 rm -f conftest.$ac_objext conftest$ac_exeext
4145 if { (ac_try="$ac_link"
4146 case "(($ac_try" in
4147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4148 *) ac_try_echo=$ac_try;;
4149 esac
4150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4151 (eval "$ac_link") 2>conftest.er1
4152 ac_status=$?
4153 grep -v '^ *+' conftest.er1 >conftest.err
4154 rm -f conftest.er1
4155 cat conftest.err >&5
4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157 (exit $ac_status); } && {
4158 test -z "$ac_c_werror_flag" ||
4159 test ! -s conftest.err
4160 } && test -s conftest$ac_exeext &&
4161 $as_test_x conftest$ac_exeext; then
4162 ac_cv_lib_dnet_dnet_ntoa=yes
4163 else
4164 echo "$as_me: failed program was:" >&5
4165 sed 's/^/| /' conftest.$ac_ext >&5
4167 ac_cv_lib_dnet_dnet_ntoa=no
4170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4171 conftest$ac_exeext conftest.$ac_ext
4172 LIBS=$ac_check_lib_save_LIBS
4174 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4175 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4176 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4177 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4180 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4181 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4182 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4183 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4184 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 else
4186 ac_check_lib_save_LIBS=$LIBS
4187 LIBS="-ldnet_stub $LIBS"
4188 cat >conftest.$ac_ext <<_ACEOF
4189 /* confdefs.h. */
4190 _ACEOF
4191 cat confdefs.h >>conftest.$ac_ext
4192 cat >>conftest.$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4195 /* Override any GCC internal prototype to avoid an error.
4196 Use char because int might match the return type of a GCC
4197 builtin and then its argument prototype would still apply. */
4198 #ifdef __cplusplus
4199 extern "C"
4200 #endif
4201 char dnet_ntoa ();
4203 main ()
4205 return dnet_ntoa ();
4207 return 0;
4209 _ACEOF
4210 rm -f conftest.$ac_objext conftest$ac_exeext
4211 if { (ac_try="$ac_link"
4212 case "(($ac_try" in
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;
4215 esac
4216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 (eval "$ac_link") 2>conftest.er1
4218 ac_status=$?
4219 grep -v '^ *+' conftest.er1 >conftest.err
4220 rm -f conftest.er1
4221 cat conftest.err >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } && {
4224 test -z "$ac_c_werror_flag" ||
4225 test ! -s conftest.err
4226 } && test -s conftest$ac_exeext &&
4227 $as_test_x conftest$ac_exeext; then
4228 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4229 else
4230 echo "$as_me: failed program was:" >&5
4231 sed 's/^/| /' conftest.$ac_ext >&5
4233 ac_cv_lib_dnet_stub_dnet_ntoa=no
4236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4237 conftest$ac_exeext conftest.$ac_ext
4238 LIBS=$ac_check_lib_save_LIBS
4240 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4241 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4242 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4243 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4250 conftest$ac_exeext conftest.$ac_ext
4251 LIBS="$ac_xsave_LIBS"
4253 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4254 # to get the SysV transport functions.
4255 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4256 # needs -lnsl.
4257 # The nsl library prevents programs from opening the X display
4258 # on Irix 5.2, according to T.E. Dickey.
4259 # The functions gethostbyname, getservbyname, and inet_addr are
4260 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4261 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4262 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4263 if test "${ac_cv_func_gethostbyname+set}" = set; then
4264 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 else
4266 cat >conftest.$ac_ext <<_ACEOF
4267 /* confdefs.h. */
4268 _ACEOF
4269 cat confdefs.h >>conftest.$ac_ext
4270 cat >>conftest.$ac_ext <<_ACEOF
4271 /* end confdefs.h. */
4272 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4274 #define gethostbyname innocuous_gethostbyname
4276 /* System header to define __stub macros and hopefully few prototypes,
4277 which can conflict with char gethostbyname (); below.
4278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4279 <limits.h> exists even on freestanding compilers. */
4281 #ifdef __STDC__
4282 # include <limits.h>
4283 #else
4284 # include <assert.h>
4285 #endif
4287 #undef gethostbyname
4289 /* Override any GCC internal prototype to avoid an error.
4290 Use char because int might match the return type of a GCC
4291 builtin and then its argument prototype would still apply. */
4292 #ifdef __cplusplus
4293 extern "C"
4294 #endif
4295 char gethostbyname ();
4296 /* The GNU C library defines this for functions which it implements
4297 to always fail with ENOSYS. Some functions are actually named
4298 something starting with __ and the normal name is an alias. */
4299 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4300 choke me
4301 #endif
4304 main ()
4306 return gethostbyname ();
4308 return 0;
4310 _ACEOF
4311 rm -f conftest.$ac_objext conftest$ac_exeext
4312 if { (ac_try="$ac_link"
4313 case "(($ac_try" in
4314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4315 *) ac_try_echo=$ac_try;;
4316 esac
4317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4318 (eval "$ac_link") 2>conftest.er1
4319 ac_status=$?
4320 grep -v '^ *+' conftest.er1 >conftest.err
4321 rm -f conftest.er1
4322 cat conftest.err >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); } && {
4325 test -z "$ac_c_werror_flag" ||
4326 test ! -s conftest.err
4327 } && test -s conftest$ac_exeext &&
4328 $as_test_x conftest$ac_exeext; then
4329 ac_cv_func_gethostbyname=yes
4330 else
4331 echo "$as_me: failed program was:" >&5
4332 sed 's/^/| /' conftest.$ac_ext >&5
4334 ac_cv_func_gethostbyname=no
4337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4338 conftest$ac_exeext conftest.$ac_ext
4340 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4341 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4343 if test $ac_cv_func_gethostbyname = no; then
4344 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4345 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4346 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 else
4349 ac_check_lib_save_LIBS=$LIBS
4350 LIBS="-lnsl $LIBS"
4351 cat >conftest.$ac_ext <<_ACEOF
4352 /* confdefs.h. */
4353 _ACEOF
4354 cat confdefs.h >>conftest.$ac_ext
4355 cat >>conftest.$ac_ext <<_ACEOF
4356 /* end confdefs.h. */
4358 /* Override any GCC internal prototype to avoid an error.
4359 Use char because int might match the return type of a GCC
4360 builtin and then its argument prototype would still apply. */
4361 #ifdef __cplusplus
4362 extern "C"
4363 #endif
4364 char gethostbyname ();
4366 main ()
4368 return gethostbyname ();
4370 return 0;
4372 _ACEOF
4373 rm -f conftest.$ac_objext conftest$ac_exeext
4374 if { (ac_try="$ac_link"
4375 case "(($ac_try" in
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4378 esac
4379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4380 (eval "$ac_link") 2>conftest.er1
4381 ac_status=$?
4382 grep -v '^ *+' conftest.er1 >conftest.err
4383 rm -f conftest.er1
4384 cat conftest.err >&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); } && {
4387 test -z "$ac_c_werror_flag" ||
4388 test ! -s conftest.err
4389 } && test -s conftest$ac_exeext &&
4390 $as_test_x conftest$ac_exeext; then
4391 ac_cv_lib_nsl_gethostbyname=yes
4392 else
4393 echo "$as_me: failed program was:" >&5
4394 sed 's/^/| /' conftest.$ac_ext >&5
4396 ac_cv_lib_nsl_gethostbyname=no
4399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4400 conftest$ac_exeext conftest.$ac_ext
4401 LIBS=$ac_check_lib_save_LIBS
4403 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4404 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4405 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4406 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4409 if test $ac_cv_lib_nsl_gethostbyname = no; then
4410 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4411 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4412 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4414 else
4415 ac_check_lib_save_LIBS=$LIBS
4416 LIBS="-lbsd $LIBS"
4417 cat >conftest.$ac_ext <<_ACEOF
4418 /* confdefs.h. */
4419 _ACEOF
4420 cat confdefs.h >>conftest.$ac_ext
4421 cat >>conftest.$ac_ext <<_ACEOF
4422 /* end confdefs.h. */
4424 /* Override any GCC internal prototype to avoid an error.
4425 Use char because int might match the return type of a GCC
4426 builtin and then its argument prototype would still apply. */
4427 #ifdef __cplusplus
4428 extern "C"
4429 #endif
4430 char gethostbyname ();
4432 main ()
4434 return gethostbyname ();
4436 return 0;
4438 _ACEOF
4439 rm -f conftest.$ac_objext conftest$ac_exeext
4440 if { (ac_try="$ac_link"
4441 case "(($ac_try" in
4442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4443 *) ac_try_echo=$ac_try;;
4444 esac
4445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4446 (eval "$ac_link") 2>conftest.er1
4447 ac_status=$?
4448 grep -v '^ *+' conftest.er1 >conftest.err
4449 rm -f conftest.er1
4450 cat conftest.err >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } && {
4453 test -z "$ac_c_werror_flag" ||
4454 test ! -s conftest.err
4455 } && test -s conftest$ac_exeext &&
4456 $as_test_x conftest$ac_exeext; then
4457 ac_cv_lib_bsd_gethostbyname=yes
4458 else
4459 echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.$ac_ext >&5
4462 ac_cv_lib_bsd_gethostbyname=no
4465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4466 conftest$ac_exeext conftest.$ac_ext
4467 LIBS=$ac_check_lib_save_LIBS
4469 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4470 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4471 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4472 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4478 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4479 # socket/setsockopt and other routines are undefined under SCO ODT
4480 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4481 # on later versions), says Simon Leinen: it contains gethostby*
4482 # variants that don't use the name server (or something). -lsocket
4483 # must be given before -lnsl if both are needed. We assume that
4484 # if connect needs -lnsl, so does gethostbyname.
4485 { echo "$as_me:$LINENO: checking for connect" >&5
4486 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4487 if test "${ac_cv_func_connect+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 else
4490 cat >conftest.$ac_ext <<_ACEOF
4491 /* confdefs.h. */
4492 _ACEOF
4493 cat confdefs.h >>conftest.$ac_ext
4494 cat >>conftest.$ac_ext <<_ACEOF
4495 /* end confdefs.h. */
4496 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4498 #define connect innocuous_connect
4500 /* System header to define __stub macros and hopefully few prototypes,
4501 which can conflict with char connect (); below.
4502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4503 <limits.h> exists even on freestanding compilers. */
4505 #ifdef __STDC__
4506 # include <limits.h>
4507 #else
4508 # include <assert.h>
4509 #endif
4511 #undef connect
4513 /* Override any GCC internal prototype to avoid an error.
4514 Use char because int might match the return type of a GCC
4515 builtin and then its argument prototype would still apply. */
4516 #ifdef __cplusplus
4517 extern "C"
4518 #endif
4519 char connect ();
4520 /* The GNU C library defines this for functions which it implements
4521 to always fail with ENOSYS. Some functions are actually named
4522 something starting with __ and the normal name is an alias. */
4523 #if defined __stub_connect || defined __stub___connect
4524 choke me
4525 #endif
4528 main ()
4530 return connect ();
4532 return 0;
4534 _ACEOF
4535 rm -f conftest.$ac_objext conftest$ac_exeext
4536 if { (ac_try="$ac_link"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4542 (eval "$ac_link") 2>conftest.er1
4543 ac_status=$?
4544 grep -v '^ *+' conftest.er1 >conftest.err
4545 rm -f conftest.er1
4546 cat conftest.err >&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); } && {
4549 test -z "$ac_c_werror_flag" ||
4550 test ! -s conftest.err
4551 } && test -s conftest$ac_exeext &&
4552 $as_test_x conftest$ac_exeext; then
4553 ac_cv_func_connect=yes
4554 else
4555 echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.$ac_ext >&5
4558 ac_cv_func_connect=no
4561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4562 conftest$ac_exeext conftest.$ac_ext
4564 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4565 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4567 if test $ac_cv_func_connect = no; then
4568 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4569 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4570 if test "${ac_cv_lib_socket_connect+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 else
4573 ac_check_lib_save_LIBS=$LIBS
4574 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4575 cat >conftest.$ac_ext <<_ACEOF
4576 /* confdefs.h. */
4577 _ACEOF
4578 cat confdefs.h >>conftest.$ac_ext
4579 cat >>conftest.$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4582 /* Override any GCC internal prototype to avoid an error.
4583 Use char because int might match the return type of a GCC
4584 builtin and then its argument prototype would still apply. */
4585 #ifdef __cplusplus
4586 extern "C"
4587 #endif
4588 char connect ();
4590 main ()
4592 return connect ();
4594 return 0;
4596 _ACEOF
4597 rm -f conftest.$ac_objext conftest$ac_exeext
4598 if { (ac_try="$ac_link"
4599 case "(($ac_try" in
4600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4601 *) ac_try_echo=$ac_try;;
4602 esac
4603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4604 (eval "$ac_link") 2>conftest.er1
4605 ac_status=$?
4606 grep -v '^ *+' conftest.er1 >conftest.err
4607 rm -f conftest.er1
4608 cat conftest.err >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); } && {
4611 test -z "$ac_c_werror_flag" ||
4612 test ! -s conftest.err
4613 } && test -s conftest$ac_exeext &&
4614 $as_test_x conftest$ac_exeext; then
4615 ac_cv_lib_socket_connect=yes
4616 else
4617 echo "$as_me: failed program was:" >&5
4618 sed 's/^/| /' conftest.$ac_ext >&5
4620 ac_cv_lib_socket_connect=no
4623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4624 conftest$ac_exeext conftest.$ac_ext
4625 LIBS=$ac_check_lib_save_LIBS
4627 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4628 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4629 if test $ac_cv_lib_socket_connect = yes; then
4630 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4635 # Guillermo Gomez says -lposix is necessary on A/UX.
4636 { echo "$as_me:$LINENO: checking for remove" >&5
4637 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4638 if test "${ac_cv_func_remove+set}" = set; then
4639 echo $ECHO_N "(cached) $ECHO_C" >&6
4640 else
4641 cat >conftest.$ac_ext <<_ACEOF
4642 /* confdefs.h. */
4643 _ACEOF
4644 cat confdefs.h >>conftest.$ac_ext
4645 cat >>conftest.$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4647 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4649 #define remove innocuous_remove
4651 /* System header to define __stub macros and hopefully few prototypes,
4652 which can conflict with char remove (); below.
4653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4654 <limits.h> exists even on freestanding compilers. */
4656 #ifdef __STDC__
4657 # include <limits.h>
4658 #else
4659 # include <assert.h>
4660 #endif
4662 #undef remove
4664 /* Override any GCC internal prototype to avoid an error.
4665 Use char because int might match the return type of a GCC
4666 builtin and then its argument prototype would still apply. */
4667 #ifdef __cplusplus
4668 extern "C"
4669 #endif
4670 char remove ();
4671 /* The GNU C library defines this for functions which it implements
4672 to always fail with ENOSYS. Some functions are actually named
4673 something starting with __ and the normal name is an alias. */
4674 #if defined __stub_remove || defined __stub___remove
4675 choke me
4676 #endif
4679 main ()
4681 return remove ();
4683 return 0;
4685 _ACEOF
4686 rm -f conftest.$ac_objext conftest$ac_exeext
4687 if { (ac_try="$ac_link"
4688 case "(($ac_try" in
4689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4690 *) ac_try_echo=$ac_try;;
4691 esac
4692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4693 (eval "$ac_link") 2>conftest.er1
4694 ac_status=$?
4695 grep -v '^ *+' conftest.er1 >conftest.err
4696 rm -f conftest.er1
4697 cat conftest.err >&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); } && {
4700 test -z "$ac_c_werror_flag" ||
4701 test ! -s conftest.err
4702 } && test -s conftest$ac_exeext &&
4703 $as_test_x conftest$ac_exeext; then
4704 ac_cv_func_remove=yes
4705 else
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.$ac_ext >&5
4709 ac_cv_func_remove=no
4712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4713 conftest$ac_exeext conftest.$ac_ext
4715 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4716 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4718 if test $ac_cv_func_remove = no; then
4719 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4720 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4721 if test "${ac_cv_lib_posix_remove+set}" = set; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4723 else
4724 ac_check_lib_save_LIBS=$LIBS
4725 LIBS="-lposix $LIBS"
4726 cat >conftest.$ac_ext <<_ACEOF
4727 /* confdefs.h. */
4728 _ACEOF
4729 cat confdefs.h >>conftest.$ac_ext
4730 cat >>conftest.$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4733 /* Override any GCC internal prototype to avoid an error.
4734 Use char because int might match the return type of a GCC
4735 builtin and then its argument prototype would still apply. */
4736 #ifdef __cplusplus
4737 extern "C"
4738 #endif
4739 char remove ();
4741 main ()
4743 return remove ();
4745 return 0;
4747 _ACEOF
4748 rm -f conftest.$ac_objext conftest$ac_exeext
4749 if { (ac_try="$ac_link"
4750 case "(($ac_try" in
4751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4752 *) ac_try_echo=$ac_try;;
4753 esac
4754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4755 (eval "$ac_link") 2>conftest.er1
4756 ac_status=$?
4757 grep -v '^ *+' conftest.er1 >conftest.err
4758 rm -f conftest.er1
4759 cat conftest.err >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); } && {
4762 test -z "$ac_c_werror_flag" ||
4763 test ! -s conftest.err
4764 } && test -s conftest$ac_exeext &&
4765 $as_test_x conftest$ac_exeext; then
4766 ac_cv_lib_posix_remove=yes
4767 else
4768 echo "$as_me: failed program was:" >&5
4769 sed 's/^/| /' conftest.$ac_ext >&5
4771 ac_cv_lib_posix_remove=no
4774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4775 conftest$ac_exeext conftest.$ac_ext
4776 LIBS=$ac_check_lib_save_LIBS
4778 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4779 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4780 if test $ac_cv_lib_posix_remove = yes; then
4781 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4786 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4787 { echo "$as_me:$LINENO: checking for shmat" >&5
4788 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4789 if test "${ac_cv_func_shmat+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 else
4792 cat >conftest.$ac_ext <<_ACEOF
4793 /* confdefs.h. */
4794 _ACEOF
4795 cat confdefs.h >>conftest.$ac_ext
4796 cat >>conftest.$ac_ext <<_ACEOF
4797 /* end confdefs.h. */
4798 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4800 #define shmat innocuous_shmat
4802 /* System header to define __stub macros and hopefully few prototypes,
4803 which can conflict with char shmat (); below.
4804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4805 <limits.h> exists even on freestanding compilers. */
4807 #ifdef __STDC__
4808 # include <limits.h>
4809 #else
4810 # include <assert.h>
4811 #endif
4813 #undef shmat
4815 /* Override any GCC internal prototype to avoid an error.
4816 Use char because int might match the return type of a GCC
4817 builtin and then its argument prototype would still apply. */
4818 #ifdef __cplusplus
4819 extern "C"
4820 #endif
4821 char shmat ();
4822 /* The GNU C library defines this for functions which it implements
4823 to always fail with ENOSYS. Some functions are actually named
4824 something starting with __ and the normal name is an alias. */
4825 #if defined __stub_shmat || defined __stub___shmat
4826 choke me
4827 #endif
4830 main ()
4832 return shmat ();
4834 return 0;
4836 _ACEOF
4837 rm -f conftest.$ac_objext conftest$ac_exeext
4838 if { (ac_try="$ac_link"
4839 case "(($ac_try" in
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4842 esac
4843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4844 (eval "$ac_link") 2>conftest.er1
4845 ac_status=$?
4846 grep -v '^ *+' conftest.er1 >conftest.err
4847 rm -f conftest.er1
4848 cat conftest.err >&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); } && {
4851 test -z "$ac_c_werror_flag" ||
4852 test ! -s conftest.err
4853 } && test -s conftest$ac_exeext &&
4854 $as_test_x conftest$ac_exeext; then
4855 ac_cv_func_shmat=yes
4856 else
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.$ac_ext >&5
4860 ac_cv_func_shmat=no
4863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4864 conftest$ac_exeext conftest.$ac_ext
4866 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4867 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4869 if test $ac_cv_func_shmat = no; then
4870 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4871 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4872 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 else
4875 ac_check_lib_save_LIBS=$LIBS
4876 LIBS="-lipc $LIBS"
4877 cat >conftest.$ac_ext <<_ACEOF
4878 /* confdefs.h. */
4879 _ACEOF
4880 cat confdefs.h >>conftest.$ac_ext
4881 cat >>conftest.$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4884 /* Override any GCC internal prototype to avoid an error.
4885 Use char because int might match the return type of a GCC
4886 builtin and then its argument prototype would still apply. */
4887 #ifdef __cplusplus
4888 extern "C"
4889 #endif
4890 char shmat ();
4892 main ()
4894 return shmat ();
4896 return 0;
4898 _ACEOF
4899 rm -f conftest.$ac_objext conftest$ac_exeext
4900 if { (ac_try="$ac_link"
4901 case "(($ac_try" in
4902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4904 esac
4905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4906 (eval "$ac_link") 2>conftest.er1
4907 ac_status=$?
4908 grep -v '^ *+' conftest.er1 >conftest.err
4909 rm -f conftest.er1
4910 cat conftest.err >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } && {
4913 test -z "$ac_c_werror_flag" ||
4914 test ! -s conftest.err
4915 } && test -s conftest$ac_exeext &&
4916 $as_test_x conftest$ac_exeext; then
4917 ac_cv_lib_ipc_shmat=yes
4918 else
4919 echo "$as_me: failed program was:" >&5
4920 sed 's/^/| /' conftest.$ac_ext >&5
4922 ac_cv_lib_ipc_shmat=no
4925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4926 conftest$ac_exeext conftest.$ac_ext
4927 LIBS=$ac_check_lib_save_LIBS
4929 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4930 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4931 if test $ac_cv_lib_ipc_shmat = yes; then
4932 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4938 # Check for libraries that X11R6 Xt/Xaw programs need.
4939 ac_save_LDFLAGS=$LDFLAGS
4940 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4941 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4942 # check for ICE first), but we must link in the order -lSM -lICE or
4943 # we get undefined symbols. So assume we have SM if we have ICE.
4944 # These have to be linked with before -lX11, unlike the other
4945 # libraries we check for below, so use a different variable.
4946 # John Interrante, Karl Berry
4947 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4948 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4949 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4950 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 else
4952 ac_check_lib_save_LIBS=$LIBS
4953 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4954 cat >conftest.$ac_ext <<_ACEOF
4955 /* confdefs.h. */
4956 _ACEOF
4957 cat confdefs.h >>conftest.$ac_ext
4958 cat >>conftest.$ac_ext <<_ACEOF
4959 /* end confdefs.h. */
4961 /* Override any GCC internal prototype to avoid an error.
4962 Use char because int might match the return type of a GCC
4963 builtin and then its argument prototype would still apply. */
4964 #ifdef __cplusplus
4965 extern "C"
4966 #endif
4967 char IceConnectionNumber ();
4969 main ()
4971 return IceConnectionNumber ();
4973 return 0;
4975 _ACEOF
4976 rm -f conftest.$ac_objext conftest$ac_exeext
4977 if { (ac_try="$ac_link"
4978 case "(($ac_try" in
4979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4980 *) ac_try_echo=$ac_try;;
4981 esac
4982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4983 (eval "$ac_link") 2>conftest.er1
4984 ac_status=$?
4985 grep -v '^ *+' conftest.er1 >conftest.err
4986 rm -f conftest.er1
4987 cat conftest.err >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); } && {
4990 test -z "$ac_c_werror_flag" ||
4991 test ! -s conftest.err
4992 } && test -s conftest$ac_exeext &&
4993 $as_test_x conftest$ac_exeext; then
4994 ac_cv_lib_ICE_IceConnectionNumber=yes
4995 else
4996 echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.$ac_ext >&5
4999 ac_cv_lib_ICE_IceConnectionNumber=no
5002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5003 conftest$ac_exeext conftest.$ac_ext
5004 LIBS=$ac_check_lib_save_LIBS
5006 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5007 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5008 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5009 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5012 LDFLAGS=$ac_save_LDFLAGS
5017 for ac_prog in flex
5019 # Extract the first word of "$ac_prog", so it can be a program name with args.
5020 set dummy $ac_prog; ac_word=$2
5021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5023 if test "${ac_cv_prog_FLEX+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 else
5026 if test -n "$FLEX"; then
5027 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5028 else
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5030 for as_dir in $PATH
5032 IFS=$as_save_IFS
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5036 ac_cv_prog_FLEX="$ac_prog"
5037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 break 2
5040 done
5041 done
5042 IFS=$as_save_IFS
5046 FLEX=$ac_cv_prog_FLEX
5047 if test -n "$FLEX"; then
5048 { echo "$as_me:$LINENO: result: $FLEX" >&5
5049 echo "${ECHO_T}$FLEX" >&6; }
5050 else
5051 { echo "$as_me:$LINENO: result: no" >&5
5052 echo "${ECHO_T}no" >&6; }
5056 test -n "$FLEX" && break
5057 done
5058 test -n "$FLEX" || FLEX="none"
5060 if test "$FLEX" = "none"
5061 then
5062 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5063 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5064 { (exit 1); exit 1; }; }
5067 for ac_prog in bison
5069 # Extract the first word of "$ac_prog", so it can be a program name with args.
5070 set dummy $ac_prog; ac_word=$2
5071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5073 if test "${ac_cv_prog_BISON+set}" = set; then
5074 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 else
5076 if test -n "$BISON"; then
5077 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5078 else
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH
5082 IFS=$as_save_IFS
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086 ac_cv_prog_BISON="$ac_prog"
5087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 break 2
5090 done
5091 done
5092 IFS=$as_save_IFS
5096 BISON=$ac_cv_prog_BISON
5097 if test -n "$BISON"; then
5098 { echo "$as_me:$LINENO: result: $BISON" >&5
5099 echo "${ECHO_T}$BISON" >&6; }
5100 else
5101 { echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6; }
5106 test -n "$BISON" && break
5107 done
5108 test -n "$BISON" || BISON="none"
5110 if test "$BISON" = "none"
5111 then
5112 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5113 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5114 { (exit 1); exit 1; }; }
5117 if test -n "$ac_tool_prefix"; then
5118 for ac_prog in gas as
5120 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5121 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5124 if test "${ac_cv_prog_AS+set}" = set; then
5125 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 else
5127 if test -n "$AS"; then
5128 ac_cv_prog_AS="$AS" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 AS=$ac_cv_prog_AS
5148 if test -n "$AS"; then
5149 { echo "$as_me:$LINENO: result: $AS" >&5
5150 echo "${ECHO_T}$AS" >&6; }
5151 else
5152 { echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6; }
5157 test -n "$AS" && break
5158 done
5160 if test -z "$AS"; then
5161 ac_ct_AS=$AS
5162 for ac_prog in gas as
5164 # Extract the first word of "$ac_prog", so it can be a program name with args.
5165 set dummy $ac_prog; ac_word=$2
5166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5168 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5169 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 else
5171 if test -n "$ac_ct_AS"; then
5172 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5173 else
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH
5177 IFS=$as_save_IFS
5178 test -z "$as_dir" && as_dir=.
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5181 ac_cv_prog_ac_ct_AS="$ac_prog"
5182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 break 2
5185 done
5186 done
5187 IFS=$as_save_IFS
5191 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5192 if test -n "$ac_ct_AS"; then
5193 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5194 echo "${ECHO_T}$ac_ct_AS" >&6; }
5195 else
5196 { echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6; }
5201 test -n "$ac_ct_AS" && break
5202 done
5204 if test "x$ac_ct_AS" = x; then
5205 AS="as"
5206 else
5207 case $cross_compiling:$ac_tool_warned in
5208 yes:)
5209 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5210 whose name does not start with the host triplet. If you think this
5211 configuration is useful to you, please write to autoconf@gnu.org." >&5
5212 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5213 whose name does not start with the host triplet. If you think this
5214 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 AS=$ac_ct_AS
5221 if test -n "$ac_tool_prefix"; then
5222 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5223 set dummy ${ac_tool_prefix}ld; ac_word=$2
5224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5226 if test "${ac_cv_prog_LD+set}" = set; then
5227 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 else
5229 if test -n "$LD"; then
5230 ac_cv_prog_LD="$LD" # Let the user override the test.
5231 else
5232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233 for as_dir in $PATH
5235 IFS=$as_save_IFS
5236 test -z "$as_dir" && as_dir=.
5237 for ac_exec_ext in '' $ac_executable_extensions; do
5238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239 ac_cv_prog_LD="${ac_tool_prefix}ld"
5240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 break 2
5243 done
5244 done
5245 IFS=$as_save_IFS
5249 LD=$ac_cv_prog_LD
5250 if test -n "$LD"; then
5251 { echo "$as_me:$LINENO: result: $LD" >&5
5252 echo "${ECHO_T}$LD" >&6; }
5253 else
5254 { echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6; }
5260 if test -z "$ac_cv_prog_LD"; then
5261 ac_ct_LD=$LD
5262 # Extract the first word of "ld", so it can be a program name with args.
5263 set dummy ld; ac_word=$2
5264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5266 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 else
5269 if test -n "$ac_ct_LD"; then
5270 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5271 else
5272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5273 for as_dir in $PATH
5275 IFS=$as_save_IFS
5276 test -z "$as_dir" && as_dir=.
5277 for ac_exec_ext in '' $ac_executable_extensions; do
5278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5279 ac_cv_prog_ac_ct_LD="ld"
5280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 break 2
5283 done
5284 done
5285 IFS=$as_save_IFS
5289 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5290 if test -n "$ac_ct_LD"; then
5291 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5292 echo "${ECHO_T}$ac_ct_LD" >&6; }
5293 else
5294 { echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6; }
5298 if test "x$ac_ct_LD" = x; then
5299 LD="ld"
5300 else
5301 case $cross_compiling:$ac_tool_warned in
5302 yes:)
5303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5304 whose name does not start with the host triplet. If you think this
5305 configuration is useful to you, please write to autoconf@gnu.org." >&5
5306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5307 whose name does not start with the host triplet. If you think this
5308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5309 ac_tool_warned=yes ;;
5310 esac
5311 LD=$ac_ct_LD
5313 else
5314 LD="$ac_cv_prog_LD"
5317 if test -n "$ac_tool_prefix"; then
5318 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5319 set dummy ${ac_tool_prefix}ar; ac_word=$2
5320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5322 if test "${ac_cv_prog_AR+set}" = set; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 else
5325 if test -n "$AR"; then
5326 ac_cv_prog_AR="$AR" # Let the user override the test.
5327 else
5328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5329 for as_dir in $PATH
5331 IFS=$as_save_IFS
5332 test -z "$as_dir" && as_dir=.
5333 for ac_exec_ext in '' $ac_executable_extensions; do
5334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5335 ac_cv_prog_AR="${ac_tool_prefix}ar"
5336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5337 break 2
5339 done
5340 done
5341 IFS=$as_save_IFS
5345 AR=$ac_cv_prog_AR
5346 if test -n "$AR"; then
5347 { echo "$as_me:$LINENO: result: $AR" >&5
5348 echo "${ECHO_T}$AR" >&6; }
5349 else
5350 { echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6; }
5356 if test -z "$ac_cv_prog_AR"; then
5357 ac_ct_AR=$AR
5358 # Extract the first word of "ar", so it can be a program name with args.
5359 set dummy ar; ac_word=$2
5360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5362 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5363 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 else
5365 if test -n "$ac_ct_AR"; then
5366 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5367 else
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5375 ac_cv_prog_ac_ct_AR="ar"
5376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 break 2
5379 done
5380 done
5381 IFS=$as_save_IFS
5385 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5386 if test -n "$ac_ct_AR"; then
5387 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5388 echo "${ECHO_T}$ac_ct_AR" >&6; }
5389 else
5390 { echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6; }
5394 if test "x$ac_ct_AR" = x; then
5395 AR="ar"
5396 else
5397 case $cross_compiling:$ac_tool_warned in
5398 yes:)
5399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5400 whose name does not start with the host triplet. If you think this
5401 configuration is useful to you, please write to autoconf@gnu.org." >&5
5402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5403 whose name does not start with the host triplet. If you think this
5404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5405 ac_tool_warned=yes ;;
5406 esac
5407 AR=$ac_ct_AR
5409 else
5410 AR="$ac_cv_prog_AR"
5413 if test -n "$ac_tool_prefix"; then
5414 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5415 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5418 if test "${ac_cv_prog_RANLIB+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 else
5421 if test -n "$RANLIB"; then
5422 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5423 else
5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 for as_dir in $PATH
5427 IFS=$as_save_IFS
5428 test -z "$as_dir" && as_dir=.
5429 for ac_exec_ext in '' $ac_executable_extensions; do
5430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5431 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 break 2
5435 done
5436 done
5437 IFS=$as_save_IFS
5441 RANLIB=$ac_cv_prog_RANLIB
5442 if test -n "$RANLIB"; then
5443 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5444 echo "${ECHO_T}$RANLIB" >&6; }
5445 else
5446 { echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6; }
5452 if test -z "$ac_cv_prog_RANLIB"; then
5453 ac_ct_RANLIB=$RANLIB
5454 # Extract the first word of "ranlib", so it can be a program name with args.
5455 set dummy ranlib; ac_word=$2
5456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5458 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5459 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 else
5461 if test -n "$ac_ct_RANLIB"; then
5462 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5471 ac_cv_prog_ac_ct_RANLIB="ranlib"
5472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5475 done
5476 done
5477 IFS=$as_save_IFS
5481 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5482 if test -n "$ac_ct_RANLIB"; then
5483 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5484 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5485 else
5486 { echo "$as_me:$LINENO: result: no" >&5
5487 echo "${ECHO_T}no" >&6; }
5490 if test "x$ac_ct_RANLIB" = x; then
5491 RANLIB=":"
5492 else
5493 case $cross_compiling:$ac_tool_warned in
5494 yes:)
5495 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5496 whose name does not start with the host triplet. If you think this
5497 configuration is useful to you, please write to autoconf@gnu.org." >&5
5498 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5499 whose name does not start with the host triplet. If you think this
5500 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5501 ac_tool_warned=yes ;;
5502 esac
5503 RANLIB=$ac_ct_RANLIB
5505 else
5506 RANLIB="$ac_cv_prog_RANLIB"
5509 if test -n "$ac_tool_prefix"; then
5510 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5511 set dummy ${ac_tool_prefix}strip; ac_word=$2
5512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5514 if test "${ac_cv_prog_STRIP+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 else
5517 if test -n "$STRIP"; then
5518 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5519 else
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5523 IFS=$as_save_IFS
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5527 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 break 2
5531 done
5532 done
5533 IFS=$as_save_IFS
5537 STRIP=$ac_cv_prog_STRIP
5538 if test -n "$STRIP"; then
5539 { echo "$as_me:$LINENO: result: $STRIP" >&5
5540 echo "${ECHO_T}$STRIP" >&6; }
5541 else
5542 { echo "$as_me:$LINENO: result: no" >&5
5543 echo "${ECHO_T}no" >&6; }
5548 if test -z "$ac_cv_prog_STRIP"; then
5549 ac_ct_STRIP=$STRIP
5550 # Extract the first word of "strip", so it can be a program name with args.
5551 set dummy strip; ac_word=$2
5552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5554 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5555 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 else
5557 if test -n "$ac_ct_STRIP"; then
5558 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5559 else
5560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 for as_dir in $PATH
5563 IFS=$as_save_IFS
5564 test -z "$as_dir" && as_dir=.
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5567 ac_cv_prog_ac_ct_STRIP="strip"
5568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5569 break 2
5571 done
5572 done
5573 IFS=$as_save_IFS
5577 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5578 if test -n "$ac_ct_STRIP"; then
5579 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5580 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5581 else
5582 { echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6; }
5586 if test "x$ac_ct_STRIP" = x; then
5587 STRIP="strip"
5588 else
5589 case $cross_compiling:$ac_tool_warned in
5590 yes:)
5591 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5592 whose name does not start with the host triplet. If you think this
5593 configuration is useful to you, please write to autoconf@gnu.org." >&5
5594 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5595 whose name does not start with the host triplet. If you think this
5596 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5597 ac_tool_warned=yes ;;
5598 esac
5599 STRIP=$ac_ct_STRIP
5601 else
5602 STRIP="$ac_cv_prog_STRIP"
5605 if test -n "$ac_tool_prefix"; then
5606 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5607 set dummy ${ac_tool_prefix}windres; ac_word=$2
5608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5610 if test "${ac_cv_prog_WINDRES+set}" = set; then
5611 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 else
5613 if test -n "$WINDRES"; then
5614 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5615 else
5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5617 for as_dir in $PATH
5619 IFS=$as_save_IFS
5620 test -z "$as_dir" && as_dir=.
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5623 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 break 2
5627 done
5628 done
5629 IFS=$as_save_IFS
5633 WINDRES=$ac_cv_prog_WINDRES
5634 if test -n "$WINDRES"; then
5635 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5636 echo "${ECHO_T}$WINDRES" >&6; }
5637 else
5638 { echo "$as_me:$LINENO: result: no" >&5
5639 echo "${ECHO_T}no" >&6; }
5644 if test -z "$ac_cv_prog_WINDRES"; then
5645 ac_ct_WINDRES=$WINDRES
5646 # Extract the first word of "windres", so it can be a program name with args.
5647 set dummy windres; ac_word=$2
5648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5650 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 else
5653 if test -n "$ac_ct_WINDRES"; then
5654 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5655 else
5656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5657 for as_dir in $PATH
5659 IFS=$as_save_IFS
5660 test -z "$as_dir" && as_dir=.
5661 for ac_exec_ext in '' $ac_executable_extensions; do
5662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5663 ac_cv_prog_ac_ct_WINDRES="windres"
5664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5665 break 2
5667 done
5668 done
5669 IFS=$as_save_IFS
5673 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5674 if test -n "$ac_ct_WINDRES"; then
5675 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5676 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5677 else
5678 { echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6; }
5682 if test "x$ac_ct_WINDRES" = x; then
5683 WINDRES="false"
5684 else
5685 case $cross_compiling:$ac_tool_warned in
5686 yes:)
5687 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5688 whose name does not start with the host triplet. If you think this
5689 configuration is useful to you, please write to autoconf@gnu.org." >&5
5690 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5691 whose name does not start with the host triplet. If you think this
5692 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5693 ac_tool_warned=yes ;;
5694 esac
5695 WINDRES=$ac_ct_WINDRES
5697 else
5698 WINDRES="$ac_cv_prog_WINDRES"
5701 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5702 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5703 LN_S=$as_ln_s
5704 if test "$LN_S" = "ln -s"; then
5705 { echo "$as_me:$LINENO: result: yes" >&5
5706 echo "${ECHO_T}yes" >&6; }
5707 else
5708 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5709 echo "${ECHO_T}no, using $LN_S" >&6; }
5712 { echo "$as_me:$LINENO: checking whether ln works" >&5
5713 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5714 rm -f conf$$ conf$$.file
5715 echo >conf$$.file
5716 if ln conf$$.file conf$$ 2>/dev/null; then
5717 LN=ln
5719 { echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6; }
5721 else
5722 LN="cp -p"
5724 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5725 echo "${ECHO_T}no, using $LN" >&6; }
5727 rm -f conf$$ conf$$.file
5728 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5729 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5730 if test "${ac_cv_path_GREP+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5732 else
5733 # Extract the first word of "grep ggrep" to use in msg output
5734 if test -z "$GREP"; then
5735 set dummy grep ggrep; ac_prog_name=$2
5736 if test "${ac_cv_path_GREP+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 else
5739 ac_path_GREP_found=false
5740 # Loop through the user's path and test for each of PROGNAME-LIST
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5742 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5744 IFS=$as_save_IFS
5745 test -z "$as_dir" && as_dir=.
5746 for ac_prog in grep ggrep; do
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5749 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5750 # Check for GNU ac_path_GREP and select it if it is found.
5751 # Check for GNU $ac_path_GREP
5752 case `"$ac_path_GREP" --version 2>&1` in
5753 *GNU*)
5754 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5756 ac_count=0
5757 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5758 while :
5760 cat "conftest.in" "conftest.in" >"conftest.tmp"
5761 mv "conftest.tmp" "conftest.in"
5762 cp "conftest.in" "conftest.nl"
5763 echo 'GREP' >> "conftest.nl"
5764 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5765 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5766 ac_count=`expr $ac_count + 1`
5767 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5768 # Best one so far, save it but keep looking for a better one
5769 ac_cv_path_GREP="$ac_path_GREP"
5770 ac_path_GREP_max=$ac_count
5772 # 10*(2^10) chars as input seems more than enough
5773 test $ac_count -gt 10 && break
5774 done
5775 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5776 esac
5779 $ac_path_GREP_found && break 3
5780 done
5781 done
5783 done
5784 IFS=$as_save_IFS
5789 GREP="$ac_cv_path_GREP"
5790 if test -z "$GREP"; then
5791 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5792 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5793 { (exit 1); exit 1; }; }
5796 else
5797 ac_cv_path_GREP=$GREP
5802 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5803 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5804 GREP="$ac_cv_path_GREP"
5807 { echo "$as_me:$LINENO: checking for egrep" >&5
5808 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5809 if test "${ac_cv_path_EGREP+set}" = set; then
5810 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 else
5812 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5813 then ac_cv_path_EGREP="$GREP -E"
5814 else
5815 # Extract the first word of "egrep" to use in msg output
5816 if test -z "$EGREP"; then
5817 set dummy egrep; ac_prog_name=$2
5818 if test "${ac_cv_path_EGREP+set}" = set; then
5819 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 else
5821 ac_path_EGREP_found=false
5822 # Loop through the user's path and test for each of PROGNAME-LIST
5823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5826 IFS=$as_save_IFS
5827 test -z "$as_dir" && as_dir=.
5828 for ac_prog in egrep; do
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5831 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5832 # Check for GNU ac_path_EGREP and select it if it is found.
5833 # Check for GNU $ac_path_EGREP
5834 case `"$ac_path_EGREP" --version 2>&1` in
5835 *GNU*)
5836 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5838 ac_count=0
5839 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5840 while :
5842 cat "conftest.in" "conftest.in" >"conftest.tmp"
5843 mv "conftest.tmp" "conftest.in"
5844 cp "conftest.in" "conftest.nl"
5845 echo 'EGREP' >> "conftest.nl"
5846 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5847 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5848 ac_count=`expr $ac_count + 1`
5849 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5850 # Best one so far, save it but keep looking for a better one
5851 ac_cv_path_EGREP="$ac_path_EGREP"
5852 ac_path_EGREP_max=$ac_count
5854 # 10*(2^10) chars as input seems more than enough
5855 test $ac_count -gt 10 && break
5856 done
5857 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5858 esac
5861 $ac_path_EGREP_found && break 3
5862 done
5863 done
5865 done
5866 IFS=$as_save_IFS
5871 EGREP="$ac_cv_path_EGREP"
5872 if test -z "$EGREP"; then
5873 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5874 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5875 { (exit 1); exit 1; }; }
5878 else
5879 ac_cv_path_EGREP=$EGREP
5885 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5886 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5887 EGREP="$ac_cv_path_EGREP"
5890 # Extract the first word of "ldconfig", so it can be a program name with args.
5891 set dummy ldconfig; ac_word=$2
5892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5894 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 else
5897 case $LDCONFIG in
5898 [\\/]* | ?:[\\/]*)
5899 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in /sbin /usr/sbin $PATH
5905 IFS=$as_save_IFS
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5909 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5911 break 2
5913 done
5914 done
5915 IFS=$as_save_IFS
5917 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5919 esac
5921 LDCONFIG=$ac_cv_path_LDCONFIG
5922 if test -n "$LDCONFIG"; then
5923 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5924 echo "${ECHO_T}$LDCONFIG" >&6; }
5925 else
5926 { echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6; }
5931 # Find a good install program. We prefer a C program (faster),
5932 # so one script is as good as another. But avoid the broken or
5933 # incompatible versions:
5934 # SysV /etc/install, /usr/sbin/install
5935 # SunOS /usr/etc/install
5936 # IRIX /sbin/install
5937 # AIX /bin/install
5938 # AmigaOS /C/install, which installs bootblocks on floppy discs
5939 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5940 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5941 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5942 # OS/2's system install, which has a completely different semantic
5943 # ./install, which can be erroneously created by make from ./install.sh.
5944 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5945 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5946 if test -z "$INSTALL"; then
5947 if test "${ac_cv_path_install+set}" = set; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 else
5950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951 for as_dir in $PATH
5953 IFS=$as_save_IFS
5954 test -z "$as_dir" && as_dir=.
5955 # Account for people who put trailing slashes in PATH elements.
5956 case $as_dir/ in
5957 ./ | .// | /cC/* | \
5958 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5959 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5960 /usr/ucb/* ) ;;
5962 # OSF1 and SCO ODT 3.0 have their own names for install.
5963 # Don't use installbsd from OSF since it installs stuff as root
5964 # by default.
5965 for ac_prog in ginstall scoinst install; do
5966 for ac_exec_ext in '' $ac_executable_extensions; do
5967 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5968 if test $ac_prog = install &&
5969 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5970 # AIX install. It has an incompatible calling convention.
5972 elif test $ac_prog = install &&
5973 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5974 # program-specific install script used by HP pwplus--don't use.
5976 else
5977 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5978 break 3
5981 done
5982 done
5984 esac
5985 done
5986 IFS=$as_save_IFS
5990 if test "${ac_cv_path_install+set}" = set; then
5991 INSTALL=$ac_cv_path_install
5992 else
5993 # As a last resort, use the slow shell script. Don't cache a
5994 # value for INSTALL within a source directory, because that will
5995 # break other packages using the cache if that directory is
5996 # removed, or if the value is a relative name.
5997 INSTALL=$ac_install_sh
6000 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6001 echo "${ECHO_T}$INSTALL" >&6; }
6003 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6004 # It thinks the first close brace ends the variable substitution.
6005 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6007 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6009 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6011 case "$INSTALL" in
6012 [\\/$]* | ?:[\\/]* ) ;;
6013 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6014 esac
6016 for ac_prog in lclint lint
6018 # Extract the first word of "$ac_prog", so it can be a program name with args.
6019 set dummy $ac_prog; ac_word=$2
6020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6022 if test "${ac_cv_prog_LINT+set}" = set; then
6023 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 else
6025 if test -n "$LINT"; then
6026 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6027 else
6028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6029 for as_dir in $PATH
6031 IFS=$as_save_IFS
6032 test -z "$as_dir" && as_dir=.
6033 for ac_exec_ext in '' $ac_executable_extensions; do
6034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035 ac_cv_prog_LINT="$ac_prog"
6036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6037 break 2
6039 done
6040 done
6041 IFS=$as_save_IFS
6045 LINT=$ac_cv_prog_LINT
6046 if test -n "$LINT"; then
6047 { echo "$as_me:$LINENO: result: $LINT" >&5
6048 echo "${ECHO_T}$LINT" >&6; }
6049 else
6050 { echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6; }
6055 test -n "$LINT" && break
6056 done
6058 if test "$LINT" = "lint"
6059 then
6060 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6065 for ac_prog in fontforge
6067 # Extract the first word of "$ac_prog", so it can be a program name with args.
6068 set dummy $ac_prog; ac_word=$2
6069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6071 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 else
6074 if test -n "$FONTFORGE"; then
6075 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6076 else
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in $PATH
6080 IFS=$as_save_IFS
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6084 ac_cv_prog_FONTFORGE="$ac_prog"
6085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 break 2
6088 done
6089 done
6090 IFS=$as_save_IFS
6094 FONTFORGE=$ac_cv_prog_FONTFORGE
6095 if test -n "$FONTFORGE"; then
6096 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6097 echo "${ECHO_T}$FONTFORGE" >&6; }
6098 else
6099 { echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6; }
6104 test -n "$FONTFORGE" && break
6105 done
6106 test -n "$FONTFORGE" || FONTFORGE="false"
6108 for ac_prog in pkg-config
6110 # Extract the first word of "$ac_prog", so it can be a program name with args.
6111 set dummy $ac_prog; ac_word=$2
6112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6114 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 else
6117 if test -n "$PKG_CONFIG"; then
6118 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6119 else
6120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6121 for as_dir in $PATH
6123 IFS=$as_save_IFS
6124 test -z "$as_dir" && as_dir=.
6125 for ac_exec_ext in '' $ac_executable_extensions; do
6126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6127 ac_cv_prog_PKG_CONFIG="$ac_prog"
6128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 break 2
6131 done
6132 done
6133 IFS=$as_save_IFS
6137 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6138 if test -n "$PKG_CONFIG"; then
6139 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6140 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6141 else
6142 { echo "$as_me:$LINENO: result: no" >&5
6143 echo "${ECHO_T}no" >&6; }
6147 test -n "$PKG_CONFIG" && break
6148 done
6149 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6152 case $host_cpu in
6153 *i[3456789]86*)
6154 # Extract the first word of "prelink", so it can be a program name with args.
6155 set dummy prelink; ac_word=$2
6156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6158 if test "${ac_cv_path_PRELINK+set}" = set; then
6159 echo $ECHO_N "(cached) $ECHO_C" >&6
6160 else
6161 case $PRELINK in
6162 [\\/]* | ?:[\\/]*)
6163 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6167 for as_dir in /sbin /usr/sbin $PATH
6169 IFS=$as_save_IFS
6170 test -z "$as_dir" && as_dir=.
6171 for ac_exec_ext in '' $ac_executable_extensions; do
6172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6173 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6175 break 2
6177 done
6178 done
6179 IFS=$as_save_IFS
6181 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6183 esac
6185 PRELINK=$ac_cv_path_PRELINK
6186 if test -n "$PRELINK"; then
6187 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6188 echo "${ECHO_T}$PRELINK" >&6; }
6189 else
6190 { echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6; }
6196 esac
6200 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6201 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6202 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6203 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 else
6205 ac_check_lib_save_LIBS=$LIBS
6206 LIBS="-li386 $LIBS"
6207 cat >conftest.$ac_ext <<_ACEOF
6208 /* confdefs.h. */
6209 _ACEOF
6210 cat confdefs.h >>conftest.$ac_ext
6211 cat >>conftest.$ac_ext <<_ACEOF
6212 /* end confdefs.h. */
6214 /* Override any GCC internal prototype to avoid an error.
6215 Use char because int might match the return type of a GCC
6216 builtin and then its argument prototype would still apply. */
6217 #ifdef __cplusplus
6218 extern "C"
6219 #endif
6220 char i386_set_ldt ();
6222 main ()
6224 return i386_set_ldt ();
6226 return 0;
6228 _ACEOF
6229 rm -f conftest.$ac_objext conftest$ac_exeext
6230 if { (ac_try="$ac_link"
6231 case "(($ac_try" in
6232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6233 *) ac_try_echo=$ac_try;;
6234 esac
6235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6236 (eval "$ac_link") 2>conftest.er1
6237 ac_status=$?
6238 grep -v '^ *+' conftest.er1 >conftest.err
6239 rm -f conftest.er1
6240 cat conftest.err >&5
6241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); } && {
6243 test -z "$ac_c_werror_flag" ||
6244 test ! -s conftest.err
6245 } && test -s conftest$ac_exeext &&
6246 $as_test_x conftest$ac_exeext; then
6247 ac_cv_lib_i386_i386_set_ldt=yes
6248 else
6249 echo "$as_me: failed program was:" >&5
6250 sed 's/^/| /' conftest.$ac_ext >&5
6252 ac_cv_lib_i386_i386_set_ldt=no
6255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6256 conftest$ac_exeext conftest.$ac_ext
6257 LIBS=$ac_check_lib_save_LIBS
6259 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6260 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6261 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6262 cat >>confdefs.h <<_ACEOF
6263 #define HAVE_LIBI386 1
6264 _ACEOF
6266 LIBS="-li386 $LIBS"
6271 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6272 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6273 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6274 echo $ECHO_N "(cached) $ECHO_C" >&6
6275 else
6276 ac_check_lib_save_LIBS=$LIBS
6277 LIBS="-lossaudio $LIBS"
6278 cat >conftest.$ac_ext <<_ACEOF
6279 /* confdefs.h. */
6280 _ACEOF
6281 cat confdefs.h >>conftest.$ac_ext
6282 cat >>conftest.$ac_ext <<_ACEOF
6283 /* end confdefs.h. */
6285 /* Override any GCC internal prototype to avoid an error.
6286 Use char because int might match the return type of a GCC
6287 builtin and then its argument prototype would still apply. */
6288 #ifdef __cplusplus
6289 extern "C"
6290 #endif
6291 char _oss_ioctl ();
6293 main ()
6295 return _oss_ioctl ();
6297 return 0;
6299 _ACEOF
6300 rm -f conftest.$ac_objext conftest$ac_exeext
6301 if { (ac_try="$ac_link"
6302 case "(($ac_try" in
6303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6304 *) ac_try_echo=$ac_try;;
6305 esac
6306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6307 (eval "$ac_link") 2>conftest.er1
6308 ac_status=$?
6309 grep -v '^ *+' conftest.er1 >conftest.err
6310 rm -f conftest.er1
6311 cat conftest.err >&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); } && {
6314 test -z "$ac_c_werror_flag" ||
6315 test ! -s conftest.err
6316 } && test -s conftest$ac_exeext &&
6317 $as_test_x conftest$ac_exeext; then
6318 ac_cv_lib_ossaudio__oss_ioctl=yes
6319 else
6320 echo "$as_me: failed program was:" >&5
6321 sed 's/^/| /' conftest.$ac_ext >&5
6323 ac_cv_lib_ossaudio__oss_ioctl=no
6326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6327 conftest$ac_exeext conftest.$ac_ext
6328 LIBS=$ac_check_lib_save_LIBS
6330 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6331 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6332 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6333 cat >>confdefs.h <<_ACEOF
6334 #define HAVE_LIBOSSAUDIO 1
6335 _ACEOF
6337 LIBS="-lossaudio $LIBS"
6341 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6342 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6343 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 else
6346 ac_check_lib_save_LIBS=$LIBS
6347 LIBS="-lpthread $LIBS"
6348 cat >conftest.$ac_ext <<_ACEOF
6349 /* confdefs.h. */
6350 _ACEOF
6351 cat confdefs.h >>conftest.$ac_ext
6352 cat >>conftest.$ac_ext <<_ACEOF
6353 /* end confdefs.h. */
6355 /* Override any GCC internal prototype to avoid an error.
6356 Use char because int might match the return type of a GCC
6357 builtin and then its argument prototype would still apply. */
6358 #ifdef __cplusplus
6359 extern "C"
6360 #endif
6361 char pthread_create ();
6363 main ()
6365 return pthread_create ();
6367 return 0;
6369 _ACEOF
6370 rm -f conftest.$ac_objext conftest$ac_exeext
6371 if { (ac_try="$ac_link"
6372 case "(($ac_try" in
6373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6374 *) ac_try_echo=$ac_try;;
6375 esac
6376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6377 (eval "$ac_link") 2>conftest.er1
6378 ac_status=$?
6379 grep -v '^ *+' conftest.er1 >conftest.err
6380 rm -f conftest.er1
6381 cat conftest.err >&5
6382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); } && {
6384 test -z "$ac_c_werror_flag" ||
6385 test ! -s conftest.err
6386 } && test -s conftest$ac_exeext &&
6387 $as_test_x conftest$ac_exeext; then
6388 ac_cv_lib_pthread_pthread_create=yes
6389 else
6390 echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.$ac_ext >&5
6393 ac_cv_lib_pthread_pthread_create=no
6396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6397 conftest$ac_exeext conftest.$ac_ext
6398 LIBS=$ac_check_lib_save_LIBS
6400 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6401 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6402 if test $ac_cv_lib_pthread_pthread_create = yes; then
6403 LIBPTHREAD="-lpthread"
6408 XLIB=""
6410 XFILES=""
6412 OPENGLFILES=""
6414 GLU32FILES=""
6416 OPENGL_LIBS=""
6418 QUARTZFILES=""
6422 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6423 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6424 if test "${ac_cv_header_stdc+set}" = set; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6426 else
6427 cat >conftest.$ac_ext <<_ACEOF
6428 /* confdefs.h. */
6429 _ACEOF
6430 cat confdefs.h >>conftest.$ac_ext
6431 cat >>conftest.$ac_ext <<_ACEOF
6432 /* end confdefs.h. */
6433 #include <stdlib.h>
6434 #include <stdarg.h>
6435 #include <string.h>
6436 #include <float.h>
6439 main ()
6443 return 0;
6445 _ACEOF
6446 rm -f conftest.$ac_objext
6447 if { (ac_try="$ac_compile"
6448 case "(($ac_try" in
6449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6450 *) ac_try_echo=$ac_try;;
6451 esac
6452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6453 (eval "$ac_compile") 2>conftest.er1
6454 ac_status=$?
6455 grep -v '^ *+' conftest.er1 >conftest.err
6456 rm -f conftest.er1
6457 cat conftest.err >&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); } && {
6460 test -z "$ac_c_werror_flag" ||
6461 test ! -s conftest.err
6462 } && test -s conftest.$ac_objext; then
6463 ac_cv_header_stdc=yes
6464 else
6465 echo "$as_me: failed program was:" >&5
6466 sed 's/^/| /' conftest.$ac_ext >&5
6468 ac_cv_header_stdc=no
6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6473 if test $ac_cv_header_stdc = yes; then
6474 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6475 cat >conftest.$ac_ext <<_ACEOF
6476 /* confdefs.h. */
6477 _ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 #include <string.h>
6483 _ACEOF
6484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6485 $EGREP "memchr" >/dev/null 2>&1; then
6487 else
6488 ac_cv_header_stdc=no
6490 rm -f conftest*
6494 if test $ac_cv_header_stdc = yes; then
6495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6496 cat >conftest.$ac_ext <<_ACEOF
6497 /* confdefs.h. */
6498 _ACEOF
6499 cat confdefs.h >>conftest.$ac_ext
6500 cat >>conftest.$ac_ext <<_ACEOF
6501 /* end confdefs.h. */
6502 #include <stdlib.h>
6504 _ACEOF
6505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6506 $EGREP "free" >/dev/null 2>&1; then
6508 else
6509 ac_cv_header_stdc=no
6511 rm -f conftest*
6515 if test $ac_cv_header_stdc = yes; then
6516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6517 if test "$cross_compiling" = yes; then
6519 else
6520 cat >conftest.$ac_ext <<_ACEOF
6521 /* confdefs.h. */
6522 _ACEOF
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6526 #include <ctype.h>
6527 #include <stdlib.h>
6528 #if ((' ' & 0x0FF) == 0x020)
6529 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6530 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6531 #else
6532 # define ISLOWER(c) \
6533 (('a' <= (c) && (c) <= 'i') \
6534 || ('j' <= (c) && (c) <= 'r') \
6535 || ('s' <= (c) && (c) <= 'z'))
6536 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6537 #endif
6539 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6541 main ()
6543 int i;
6544 for (i = 0; i < 256; i++)
6545 if (XOR (islower (i), ISLOWER (i))
6546 || toupper (i) != TOUPPER (i))
6547 return 2;
6548 return 0;
6550 _ACEOF
6551 rm -f conftest$ac_exeext
6552 if { (ac_try="$ac_link"
6553 case "(($ac_try" in
6554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6555 *) ac_try_echo=$ac_try;;
6556 esac
6557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6558 (eval "$ac_link") 2>&5
6559 ac_status=$?
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6562 { (case "(($ac_try" in
6563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6564 *) ac_try_echo=$ac_try;;
6565 esac
6566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6567 (eval "$ac_try") 2>&5
6568 ac_status=$?
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; }; then
6572 else
6573 echo "$as_me: program exited with status $ac_status" >&5
6574 echo "$as_me: failed program was:" >&5
6575 sed 's/^/| /' conftest.$ac_ext >&5
6577 ( exit $ac_status )
6578 ac_cv_header_stdc=no
6580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6586 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6587 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6588 if test $ac_cv_header_stdc = yes; then
6590 cat >>confdefs.h <<\_ACEOF
6591 #define STDC_HEADERS 1
6592 _ACEOF
6596 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6606 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6607 inttypes.h stdint.h unistd.h
6609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6613 echo $ECHO_N "(cached) $ECHO_C" >&6
6614 else
6615 cat >conftest.$ac_ext <<_ACEOF
6616 /* confdefs.h. */
6617 _ACEOF
6618 cat confdefs.h >>conftest.$ac_ext
6619 cat >>conftest.$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6621 $ac_includes_default
6623 #include <$ac_header>
6624 _ACEOF
6625 rm -f conftest.$ac_objext
6626 if { (ac_try="$ac_compile"
6627 case "(($ac_try" in
6628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6629 *) ac_try_echo=$ac_try;;
6630 esac
6631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6632 (eval "$ac_compile") 2>conftest.er1
6633 ac_status=$?
6634 grep -v '^ *+' conftest.er1 >conftest.err
6635 rm -f conftest.er1
6636 cat conftest.err >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } && {
6639 test -z "$ac_c_werror_flag" ||
6640 test ! -s conftest.err
6641 } && test -s conftest.$ac_objext; then
6642 eval "$as_ac_Header=yes"
6643 else
6644 echo "$as_me: failed program was:" >&5
6645 sed 's/^/| /' conftest.$ac_ext >&5
6647 eval "$as_ac_Header=no"
6650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6652 ac_res=`eval echo '${'$as_ac_Header'}'`
6653 { echo "$as_me:$LINENO: result: $ac_res" >&5
6654 echo "${ECHO_T}$ac_res" >&6; }
6655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6656 cat >>confdefs.h <<_ACEOF
6657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6658 _ACEOF
6662 done
6775 for ac_header in \
6776 AudioUnit/AudioUnit.h \
6777 Carbon/Carbon.h \
6778 CoreAudio/CoreAudio.h \
6779 DiskArbitration/DiskArbitration.h \
6780 IOKit/IOKitLib.h \
6781 alsa/asoundlib.h \
6782 arpa/inet.h \
6783 arpa/nameser.h \
6784 asm/types.h \
6785 capi20.h \
6786 cups/cups.h \
6787 curses.h \
6788 direct.h \
6789 dlfcn.h \
6790 elf.h \
6791 float.h \
6792 fontconfig/fontconfig.h \
6793 getopt.h \
6794 ieeefp.h \
6795 io.h \
6796 jack/jack.h \
6797 jpeglib.h \
6798 lber.h \
6799 lcms.h \
6800 lcms/lcms.h \
6801 ldap.h \
6802 libaudioio.h \
6803 link.h \
6804 linux/cdrom.h \
6805 linux/compiler.h \
6806 linux/hdreg.h \
6807 linux/input.h \
6808 linux/ioctl.h \
6809 linux/joystick.h \
6810 linux/major.h \
6811 linux/param.h \
6812 linux/serial.h \
6813 linux/ucdrom.h \
6814 mach/mach.h \
6815 mach/machine.h \
6816 machine/cpu.h \
6817 machine/limits.h \
6818 machine/soundcard.h \
6819 mntent.h \
6820 ncurses.h \
6821 netdb.h \
6822 netinet/in.h \
6823 netinet/in_systm.h \
6824 netinet/tcp.h \
6825 netinet/tcp_fsm.h \
6826 openssl/err.h \
6827 openssl/ssl.h \
6828 png.h \
6829 poll.h \
6830 process.h \
6831 pthread.h \
6832 pwd.h \
6833 regex.h \
6834 sched.h \
6835 scsi/scsi.h \
6836 scsi/scsi_ioctl.h \
6837 scsi/sg.h \
6838 soundcard.h \
6839 stdint.h \
6840 strings.h \
6841 sys/asoundlib.h \
6842 sys/cdio.h \
6843 sys/elf32.h \
6844 sys/epoll.h \
6845 sys/errno.h \
6846 sys/event.h \
6847 sys/exec_elf.h \
6848 sys/filio.h \
6849 sys/ioctl.h \
6850 sys/ipc.h \
6851 sys/limits.h \
6852 sys/link.h \
6853 sys/lwp.h \
6854 sys/mman.h \
6855 sys/modem.h \
6856 sys/msg.h \
6857 sys/mtio.h \
6858 sys/param.h \
6859 sys/poll.h \
6860 sys/prctl.h \
6861 sys/ptrace.h \
6862 sys/reg.h \
6863 sys/resource.h \
6864 sys/scsiio.h \
6865 sys/shm.h \
6866 sys/signal.h \
6867 sys/socket.h \
6868 sys/socketvar.h \
6869 sys/sockio.h \
6870 sys/soundcard.h \
6871 sys/statvfs.h \
6872 sys/strtio.h \
6873 sys/syscall.h \
6874 sys/sysctl.h \
6875 sys/time.h \
6876 sys/times.h \
6877 sys/uio.h \
6878 sys/un.h \
6879 sys/vm86.h \
6880 sys/wait.h \
6881 syscall.h \
6882 termios.h \
6883 unistd.h \
6884 utime.h \
6885 valgrind/memcheck.h
6888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6889 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6890 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 ac_res=`eval echo '${'$as_ac_Header'}'`
6896 { echo "$as_me:$LINENO: result: $ac_res" >&5
6897 echo "${ECHO_T}$ac_res" >&6; }
6898 else
6899 # Is the header compilable?
6900 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6902 cat >conftest.$ac_ext <<_ACEOF
6903 /* confdefs.h. */
6904 _ACEOF
6905 cat confdefs.h >>conftest.$ac_ext
6906 cat >>conftest.$ac_ext <<_ACEOF
6907 /* end confdefs.h. */
6908 $ac_includes_default
6909 #include <$ac_header>
6910 _ACEOF
6911 rm -f conftest.$ac_objext
6912 if { (ac_try="$ac_compile"
6913 case "(($ac_try" in
6914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6915 *) ac_try_echo=$ac_try;;
6916 esac
6917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6918 (eval "$ac_compile") 2>conftest.er1
6919 ac_status=$?
6920 grep -v '^ *+' conftest.er1 >conftest.err
6921 rm -f conftest.er1
6922 cat conftest.err >&5
6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); } && {
6925 test -z "$ac_c_werror_flag" ||
6926 test ! -s conftest.err
6927 } && test -s conftest.$ac_objext; then
6928 ac_header_compiler=yes
6929 else
6930 echo "$as_me: failed program was:" >&5
6931 sed 's/^/| /' conftest.$ac_ext >&5
6933 ac_header_compiler=no
6936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6937 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6938 echo "${ECHO_T}$ac_header_compiler" >&6; }
6940 # Is the header present?
6941 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6942 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6943 cat >conftest.$ac_ext <<_ACEOF
6944 /* confdefs.h. */
6945 _ACEOF
6946 cat confdefs.h >>conftest.$ac_ext
6947 cat >>conftest.$ac_ext <<_ACEOF
6948 /* end confdefs.h. */
6949 #include <$ac_header>
6950 _ACEOF
6951 if { (ac_try="$ac_cpp conftest.$ac_ext"
6952 case "(($ac_try" in
6953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6954 *) ac_try_echo=$ac_try;;
6955 esac
6956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6958 ac_status=$?
6959 grep -v '^ *+' conftest.er1 >conftest.err
6960 rm -f conftest.er1
6961 cat conftest.err >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } >/dev/null && {
6964 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6965 test ! -s conftest.err
6966 }; then
6967 ac_header_preproc=yes
6968 else
6969 echo "$as_me: failed program was:" >&5
6970 sed 's/^/| /' conftest.$ac_ext >&5
6972 ac_header_preproc=no
6975 rm -f conftest.err conftest.$ac_ext
6976 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6977 echo "${ECHO_T}$ac_header_preproc" >&6; }
6979 # So? What about this header?
6980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6981 yes:no: )
6982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6986 ac_header_preproc=yes
6988 no:yes:* )
6989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7001 ( cat <<\_ASBOX
7002 ## ------------------------------------ ##
7003 ## Report this to wine-devel@winehq.org ##
7004 ## ------------------------------------ ##
7005 _ASBOX
7006 ) | sed "s/^/$as_me: WARNING: /" >&2
7008 esac
7009 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 else
7014 eval "$as_ac_Header=\$ac_header_preproc"
7016 ac_res=`eval echo '${'$as_ac_Header'}'`
7017 { echo "$as_me:$LINENO: result: $ac_res" >&5
7018 echo "${ECHO_T}$ac_res" >&6; }
7021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7022 cat >>confdefs.h <<_ACEOF
7023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7024 _ACEOF
7028 done
7030 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7031 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7032 if test "${ac_cv_header_stat_broken+set}" = set; then
7033 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 else
7035 cat >conftest.$ac_ext <<_ACEOF
7036 /* confdefs.h. */
7037 _ACEOF
7038 cat confdefs.h >>conftest.$ac_ext
7039 cat >>conftest.$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7041 #include <sys/types.h>
7042 #include <sys/stat.h>
7044 #if defined S_ISBLK && defined S_IFDIR
7045 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7046 #endif
7048 #if defined S_ISBLK && defined S_IFCHR
7049 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7050 #endif
7052 #if defined S_ISLNK && defined S_IFREG
7053 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7054 #endif
7056 #if defined S_ISSOCK && defined S_IFREG
7057 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7058 #endif
7060 _ACEOF
7061 rm -f conftest.$ac_objext
7062 if { (ac_try="$ac_compile"
7063 case "(($ac_try" in
7064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7065 *) ac_try_echo=$ac_try;;
7066 esac
7067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7068 (eval "$ac_compile") 2>conftest.er1
7069 ac_status=$?
7070 grep -v '^ *+' conftest.er1 >conftest.err
7071 rm -f conftest.er1
7072 cat conftest.err >&5
7073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074 (exit $ac_status); } && {
7075 test -z "$ac_c_werror_flag" ||
7076 test ! -s conftest.err
7077 } && test -s conftest.$ac_objext; then
7078 ac_cv_header_stat_broken=no
7079 else
7080 echo "$as_me: failed program was:" >&5
7081 sed 's/^/| /' conftest.$ac_ext >&5
7083 ac_cv_header_stat_broken=yes
7086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7088 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7089 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7090 if test $ac_cv_header_stat_broken = yes; then
7092 cat >>confdefs.h <<\_ACEOF
7093 #define STAT_MACROS_BROKEN 1
7094 _ACEOF
7104 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7110 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 else
7112 cat >conftest.$ac_ext <<_ACEOF
7113 /* confdefs.h. */
7114 _ACEOF
7115 cat confdefs.h >>conftest.$ac_ext
7116 cat >>conftest.$ac_ext <<_ACEOF
7117 /* end confdefs.h. */
7118 #include <sys/types.h>
7119 #if HAVE_SYS_PARAM_H
7120 # include <sys/param.h>
7121 #endif
7123 #include <$ac_header>
7124 _ACEOF
7125 rm -f conftest.$ac_objext
7126 if { (ac_try="$ac_compile"
7127 case "(($ac_try" in
7128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7129 *) ac_try_echo=$ac_try;;
7130 esac
7131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7132 (eval "$ac_compile") 2>conftest.er1
7133 ac_status=$?
7134 grep -v '^ *+' conftest.er1 >conftest.err
7135 rm -f conftest.er1
7136 cat conftest.err >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); } && {
7139 test -z "$ac_c_werror_flag" ||
7140 test ! -s conftest.err
7141 } && test -s conftest.$ac_objext; then
7142 eval "$as_ac_Header=yes"
7143 else
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.$ac_ext >&5
7147 eval "$as_ac_Header=no"
7150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7152 ac_res=`eval echo '${'$as_ac_Header'}'`
7153 { echo "$as_me:$LINENO: result: $ac_res" >&5
7154 echo "${ECHO_T}$ac_res" >&6; }
7155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7156 cat >>confdefs.h <<_ACEOF
7157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7158 _ACEOF
7162 done
7173 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
7175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7176 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7179 echo $ECHO_N "(cached) $ECHO_C" >&6
7180 else
7181 cat >conftest.$ac_ext <<_ACEOF
7182 /* confdefs.h. */
7183 _ACEOF
7184 cat confdefs.h >>conftest.$ac_ext
7185 cat >>conftest.$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7187 #include <sys/types.h>
7188 #if HAVE_SYS_SOCKET_H
7189 # include <sys/socket.h>
7190 #endif
7191 #if HAVE_SYS_SOCKETVAR_H
7192 # include <sys/socketvar.h>
7193 #endif
7194 #if HAVE_NETINET_IN_H
7195 # include <netinet/in.h>
7196 #endif
7198 #include <$ac_header>
7199 _ACEOF
7200 rm -f conftest.$ac_objext
7201 if { (ac_try="$ac_compile"
7202 case "(($ac_try" in
7203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7204 *) ac_try_echo=$ac_try;;
7205 esac
7206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7207 (eval "$ac_compile") 2>conftest.er1
7208 ac_status=$?
7209 grep -v '^ *+' conftest.er1 >conftest.err
7210 rm -f conftest.er1
7211 cat conftest.err >&5
7212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213 (exit $ac_status); } && {
7214 test -z "$ac_c_werror_flag" ||
7215 test ! -s conftest.err
7216 } && test -s conftest.$ac_objext; then
7217 eval "$as_ac_Header=yes"
7218 else
7219 echo "$as_me: failed program was:" >&5
7220 sed 's/^/| /' conftest.$ac_ext >&5
7222 eval "$as_ac_Header=no"
7225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7227 ac_res=`eval echo '${'$as_ac_Header'}'`
7228 { echo "$as_me:$LINENO: result: $ac_res" >&5
7229 echo "${ECHO_T}$ac_res" >&6; }
7230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7231 cat >>confdefs.h <<_ACEOF
7232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7233 _ACEOF
7237 done
7241 for ac_header in netinet/tcp_var.h
7243 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7244 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7247 echo $ECHO_N "(cached) $ECHO_C" >&6
7248 else
7249 cat >conftest.$ac_ext <<_ACEOF
7250 /* confdefs.h. */
7251 _ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 #include <sys/types.h>
7256 #if HAVE_SYS_SOCKET_H
7257 # include <sys/socket.h>
7258 #endif
7259 #if HAVE_SYS_SOCKETVAR_H
7260 # include <sys/socketvar.h>
7261 #endif
7262 #if HAVE_NETINET_IN_H
7263 # include <netinet/in.h>
7264 #endif
7265 #ifdef HAVE_NETINET_TCP_H
7266 # include <netinet/tcp.h>
7267 #endif
7269 #include <$ac_header>
7270 _ACEOF
7271 rm -f conftest.$ac_objext
7272 if { (ac_try="$ac_compile"
7273 case "(($ac_try" in
7274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7275 *) ac_try_echo=$ac_try;;
7276 esac
7277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7278 (eval "$ac_compile") 2>conftest.er1
7279 ac_status=$?
7280 grep -v '^ *+' conftest.er1 >conftest.err
7281 rm -f conftest.er1
7282 cat conftest.err >&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } && {
7285 test -z "$ac_c_werror_flag" ||
7286 test ! -s conftest.err
7287 } && test -s conftest.$ac_objext; then
7288 eval "$as_ac_Header=yes"
7289 else
7290 echo "$as_me: failed program was:" >&5
7291 sed 's/^/| /' conftest.$ac_ext >&5
7293 eval "$as_ac_Header=no"
7296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7298 ac_res=`eval echo '${'$as_ac_Header'}'`
7299 { echo "$as_me:$LINENO: result: $ac_res" >&5
7300 echo "${ECHO_T}$ac_res" >&6; }
7301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7302 cat >>confdefs.h <<_ACEOF
7303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7304 _ACEOF
7308 done
7312 for ac_header in linux/ipx.h
7314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7315 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7318 echo $ECHO_N "(cached) $ECHO_C" >&6
7319 else
7320 cat >conftest.$ac_ext <<_ACEOF
7321 /* confdefs.h. */
7322 _ACEOF
7323 cat confdefs.h >>conftest.$ac_ext
7324 cat >>conftest.$ac_ext <<_ACEOF
7325 /* end confdefs.h. */
7326 #include <sys/types.h>
7327 #ifdef HAVE_ASM_TYPES_H
7328 # include <asm/types.h>
7329 #endif
7330 #if HAVE_SYS_SOCKET_H
7331 # include <sys/socket.h>
7332 #endif
7334 #include <$ac_header>
7335 _ACEOF
7336 rm -f conftest.$ac_objext
7337 if { (ac_try="$ac_compile"
7338 case "(($ac_try" in
7339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7340 *) ac_try_echo=$ac_try;;
7341 esac
7342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7343 (eval "$ac_compile") 2>conftest.er1
7344 ac_status=$?
7345 grep -v '^ *+' conftest.er1 >conftest.err
7346 rm -f conftest.er1
7347 cat conftest.err >&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); } && {
7350 test -z "$ac_c_werror_flag" ||
7351 test ! -s conftest.err
7352 } && test -s conftest.$ac_objext; then
7353 eval "$as_ac_Header=yes"
7354 else
7355 echo "$as_me: failed program was:" >&5
7356 sed 's/^/| /' conftest.$ac_ext >&5
7358 eval "$as_ac_Header=no"
7361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7363 ac_res=`eval echo '${'$as_ac_Header'}'`
7364 { echo "$as_me:$LINENO: result: $ac_res" >&5
7365 echo "${ECHO_T}$ac_res" >&6; }
7366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7367 cat >>confdefs.h <<_ACEOF
7368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7369 _ACEOF
7373 done
7377 for ac_header in resolv.h
7379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7380 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7382 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7383 echo $ECHO_N "(cached) $ECHO_C" >&6
7384 else
7385 cat >conftest.$ac_ext <<_ACEOF
7386 /* confdefs.h. */
7387 _ACEOF
7388 cat confdefs.h >>conftest.$ac_ext
7389 cat >>conftest.$ac_ext <<_ACEOF
7390 /* end confdefs.h. */
7391 #include <sys/types.h>
7392 #if HAVE_SYS_SOCKET_H
7393 # include <sys/socket.h>
7394 #endif
7395 #if HAVE_NETINET_IN_H
7396 # include <netinet/in.h>
7397 #endif
7398 #if HAVE_ARPA_NAMESER_H
7399 # include <arpa/nameser.h>
7400 #endif
7402 #include <$ac_header>
7403 _ACEOF
7404 rm -f conftest.$ac_objext
7405 if { (ac_try="$ac_compile"
7406 case "(($ac_try" in
7407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7408 *) ac_try_echo=$ac_try;;
7409 esac
7410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7411 (eval "$ac_compile") 2>conftest.er1
7412 ac_status=$?
7413 grep -v '^ *+' conftest.er1 >conftest.err
7414 rm -f conftest.er1
7415 cat conftest.err >&5
7416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); } && {
7418 test -z "$ac_c_werror_flag" ||
7419 test ! -s conftest.err
7420 } && test -s conftest.$ac_objext; then
7421 eval "$as_ac_Header=yes"
7422 else
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7426 eval "$as_ac_Header=no"
7429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7431 ac_res=`eval echo '${'$as_ac_Header'}'`
7432 { echo "$as_me:$LINENO: result: $ac_res" >&5
7433 echo "${ECHO_T}$ac_res" >&6; }
7434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7435 cat >>confdefs.h <<_ACEOF
7436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7437 _ACEOF
7441 done
7445 for ac_header in ucontext.h
7447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7448 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7452 else
7453 cat >conftest.$ac_ext <<_ACEOF
7454 /* confdefs.h. */
7455 _ACEOF
7456 cat confdefs.h >>conftest.$ac_ext
7457 cat >>conftest.$ac_ext <<_ACEOF
7458 /* end confdefs.h. */
7459 #include <signal.h>
7461 #include <$ac_header>
7462 _ACEOF
7463 rm -f conftest.$ac_objext
7464 if { (ac_try="$ac_compile"
7465 case "(($ac_try" in
7466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7467 *) ac_try_echo=$ac_try;;
7468 esac
7469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7470 (eval "$ac_compile") 2>conftest.er1
7471 ac_status=$?
7472 grep -v '^ *+' conftest.er1 >conftest.err
7473 rm -f conftest.er1
7474 cat conftest.err >&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } && {
7477 test -z "$ac_c_werror_flag" ||
7478 test ! -s conftest.err
7479 } && test -s conftest.$ac_objext; then
7480 eval "$as_ac_Header=yes"
7481 else
7482 echo "$as_me: failed program was:" >&5
7483 sed 's/^/| /' conftest.$ac_ext >&5
7485 eval "$as_ac_Header=no"
7488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7490 ac_res=`eval echo '${'$as_ac_Header'}'`
7491 { echo "$as_me:$LINENO: result: $ac_res" >&5
7492 echo "${ECHO_T}$ac_res" >&6; }
7493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7494 cat >>confdefs.h <<_ACEOF
7495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7496 _ACEOF
7500 done
7504 for ac_header in sys/thr.h
7506 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7507 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7510 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 else
7512 cat >conftest.$ac_ext <<_ACEOF
7513 /* confdefs.h. */
7514 _ACEOF
7515 cat confdefs.h >>conftest.$ac_ext
7516 cat >>conftest.$ac_ext <<_ACEOF
7517 /* end confdefs.h. */
7518 #include <sys/types.h>
7519 #if HAVE_UCONTEXT_H
7520 #include <ucontext.h>
7521 #endif
7523 #include <$ac_header>
7524 _ACEOF
7525 rm -f conftest.$ac_objext
7526 if { (ac_try="$ac_compile"
7527 case "(($ac_try" in
7528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7529 *) ac_try_echo=$ac_try;;
7530 esac
7531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7532 (eval "$ac_compile") 2>conftest.er1
7533 ac_status=$?
7534 grep -v '^ *+' conftest.er1 >conftest.err
7535 rm -f conftest.er1
7536 cat conftest.err >&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); } && {
7539 test -z "$ac_c_werror_flag" ||
7540 test ! -s conftest.err
7541 } && test -s conftest.$ac_objext; then
7542 eval "$as_ac_Header=yes"
7543 else
7544 echo "$as_me: failed program was:" >&5
7545 sed 's/^/| /' conftest.$ac_ext >&5
7547 eval "$as_ac_Header=no"
7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7552 ac_res=`eval echo '${'$as_ac_Header'}'`
7553 { echo "$as_me:$LINENO: result: $ac_res" >&5
7554 echo "${ECHO_T}$ac_res" >&6; }
7555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7556 cat >>confdefs.h <<_ACEOF
7557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7558 _ACEOF
7562 done
7566 for ac_header in pthread_np.h
7568 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7569 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 else
7574 cat >conftest.$ac_ext <<_ACEOF
7575 /* confdefs.h. */
7576 _ACEOF
7577 cat confdefs.h >>conftest.$ac_ext
7578 cat >>conftest.$ac_ext <<_ACEOF
7579 /* end confdefs.h. */
7580 #ifdef HAVE_PTHREAD_H
7581 #include <pthread.h>
7582 #endif
7584 #include <$ac_header>
7585 _ACEOF
7586 rm -f conftest.$ac_objext
7587 if { (ac_try="$ac_compile"
7588 case "(($ac_try" in
7589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7590 *) ac_try_echo=$ac_try;;
7591 esac
7592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7593 (eval "$ac_compile") 2>conftest.er1
7594 ac_status=$?
7595 grep -v '^ *+' conftest.er1 >conftest.err
7596 rm -f conftest.er1
7597 cat conftest.err >&5
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7599 (exit $ac_status); } && {
7600 test -z "$ac_c_werror_flag" ||
7601 test ! -s conftest.err
7602 } && test -s conftest.$ac_objext; then
7603 eval "$as_ac_Header=yes"
7604 else
7605 echo "$as_me: failed program was:" >&5
7606 sed 's/^/| /' conftest.$ac_ext >&5
7608 eval "$as_ac_Header=no"
7611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7613 ac_res=`eval echo '${'$as_ac_Header'}'`
7614 { echo "$as_me:$LINENO: result: $ac_res" >&5
7615 echo "${ECHO_T}$ac_res" >&6; }
7616 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7617 cat >>confdefs.h <<_ACEOF
7618 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7619 _ACEOF
7623 done
7627 for ac_header in linux/videodev.h
7629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 else
7635 cat >conftest.$ac_ext <<_ACEOF
7636 /* confdefs.h. */
7637 _ACEOF
7638 cat confdefs.h >>conftest.$ac_ext
7639 cat >>conftest.$ac_ext <<_ACEOF
7640 /* end confdefs.h. */
7641 #ifdef HAVE_SYS_TIME_H
7642 #include <sys/time.h>
7643 #endif
7644 #include <sys/types.h>
7645 #ifdef HAVE_ASM_TYPES_H
7646 #include <asm/types.h>
7647 #endif
7649 #include <$ac_header>
7650 _ACEOF
7651 rm -f conftest.$ac_objext
7652 if { (ac_try="$ac_compile"
7653 case "(($ac_try" in
7654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7655 *) ac_try_echo=$ac_try;;
7656 esac
7657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7658 (eval "$ac_compile") 2>conftest.er1
7659 ac_status=$?
7660 grep -v '^ *+' conftest.er1 >conftest.err
7661 rm -f conftest.er1
7662 cat conftest.err >&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); } && {
7665 test -z "$ac_c_werror_flag" ||
7666 test ! -s conftest.err
7667 } && test -s conftest.$ac_objext; then
7668 eval "$as_ac_Header=yes"
7669 else
7670 echo "$as_me: failed program was:" >&5
7671 sed 's/^/| /' conftest.$ac_ext >&5
7673 eval "$as_ac_Header=no"
7676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7678 ac_res=`eval echo '${'$as_ac_Header'}'`
7679 { echo "$as_me:$LINENO: result: $ac_res" >&5
7680 echo "${ECHO_T}$ac_res" >&6; }
7681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7682 cat >>confdefs.h <<_ACEOF
7683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7684 _ACEOF
7688 done
7692 for ac_header in linux/capi.h
7694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7695 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7698 echo $ECHO_N "(cached) $ECHO_C" >&6
7699 else
7700 cat >conftest.$ac_ext <<_ACEOF
7701 /* confdefs.h. */
7702 _ACEOF
7703 cat confdefs.h >>conftest.$ac_ext
7704 cat >>conftest.$ac_ext <<_ACEOF
7705 /* end confdefs.h. */
7706 #define __user
7708 #include <$ac_header>
7709 _ACEOF
7710 rm -f conftest.$ac_objext
7711 if { (ac_try="$ac_compile"
7712 case "(($ac_try" in
7713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7714 *) ac_try_echo=$ac_try;;
7715 esac
7716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7717 (eval "$ac_compile") 2>conftest.er1
7718 ac_status=$?
7719 grep -v '^ *+' conftest.er1 >conftest.err
7720 rm -f conftest.er1
7721 cat conftest.err >&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } && {
7724 test -z "$ac_c_werror_flag" ||
7725 test ! -s conftest.err
7726 } && test -s conftest.$ac_objext; then
7727 eval "$as_ac_Header=yes"
7728 else
7729 echo "$as_me: failed program was:" >&5
7730 sed 's/^/| /' conftest.$ac_ext >&5
7732 eval "$as_ac_Header=no"
7735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7737 ac_res=`eval echo '${'$as_ac_Header'}'`
7738 { echo "$as_me:$LINENO: result: $ac_res" >&5
7739 echo "${ECHO_T}$ac_res" >&6; }
7740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7741 cat >>confdefs.h <<_ACEOF
7742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7743 _ACEOF
7747 done
7751 DLLEXT=""
7753 DLLFLAGS="-D_REENTRANT"
7755 LDSHARED=""
7757 LDDLLFLAGS=""
7759 LIBEXT="so"
7761 IMPLIBEXT="def"
7763 LDRPATH_INSTALL=""
7765 LDRPATH_LOCAL=""
7767 # Extract the first word of "ldd", so it can be a program name with args.
7768 set dummy ldd; ac_word=$2
7769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7771 if test "${ac_cv_path_LDD+set}" = set; then
7772 echo $ECHO_N "(cached) $ECHO_C" >&6
7773 else
7774 case $LDD in
7775 [\\/]* | ?:[\\/]*)
7776 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7780 as_dummy="/sbin:/usr/sbin:$PATH"
7781 for as_dir in $as_dummy
7783 IFS=$as_save_IFS
7784 test -z "$as_dir" && as_dir=.
7785 for ac_exec_ext in '' $ac_executable_extensions; do
7786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7787 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7789 break 2
7791 done
7792 done
7793 IFS=$as_save_IFS
7795 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7797 esac
7799 LDD=$ac_cv_path_LDD
7800 if test -n "$LDD"; then
7801 { echo "$as_me:$LINENO: result: $LDD" >&5
7802 echo "${ECHO_T}$LDD" >&6; }
7803 else
7804 { echo "$as_me:$LINENO: result: no" >&5
7805 echo "${ECHO_T}no" >&6; }
7810 case $host_os in
7811 cygwin*|mingw32*)
7812 if test -n "$ac_tool_prefix"; then
7813 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7814 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7817 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7818 echo $ECHO_N "(cached) $ECHO_C" >&6
7819 else
7820 if test -n "$DLLTOOL"; then
7821 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7822 else
7823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 for as_dir in $PATH
7826 IFS=$as_save_IFS
7827 test -z "$as_dir" && as_dir=.
7828 for ac_exec_ext in '' $ac_executable_extensions; do
7829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7830 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7832 break 2
7834 done
7835 done
7836 IFS=$as_save_IFS
7840 DLLTOOL=$ac_cv_prog_DLLTOOL
7841 if test -n "$DLLTOOL"; then
7842 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7843 echo "${ECHO_T}$DLLTOOL" >&6; }
7844 else
7845 { echo "$as_me:$LINENO: result: no" >&5
7846 echo "${ECHO_T}no" >&6; }
7851 if test -z "$ac_cv_prog_DLLTOOL"; then
7852 ac_ct_DLLTOOL=$DLLTOOL
7853 # Extract the first word of "dlltool", so it can be a program name with args.
7854 set dummy dlltool; ac_word=$2
7855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7857 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 else
7860 if test -n "$ac_ct_DLLTOOL"; then
7861 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7862 else
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7864 for as_dir in $PATH
7866 IFS=$as_save_IFS
7867 test -z "$as_dir" && as_dir=.
7868 for ac_exec_ext in '' $ac_executable_extensions; do
7869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7870 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7872 break 2
7874 done
7875 done
7876 IFS=$as_save_IFS
7880 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7881 if test -n "$ac_ct_DLLTOOL"; then
7882 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7883 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7884 else
7885 { echo "$as_me:$LINENO: result: no" >&5
7886 echo "${ECHO_T}no" >&6; }
7889 if test "x$ac_ct_DLLTOOL" = x; then
7890 DLLTOOL="false"
7891 else
7892 case $cross_compiling:$ac_tool_warned in
7893 yes:)
7894 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7895 whose name does not start with the host triplet. If you think this
7896 configuration is useful to you, please write to autoconf@gnu.org." >&5
7897 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7898 whose name does not start with the host triplet. If you think this
7899 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7900 ac_tool_warned=yes ;;
7901 esac
7902 DLLTOOL=$ac_ct_DLLTOOL
7904 else
7905 DLLTOOL="$ac_cv_prog_DLLTOOL"
7908 if test -n "$ac_tool_prefix"; then
7909 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7910 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7913 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7914 echo $ECHO_N "(cached) $ECHO_C" >&6
7915 else
7916 if test -n "$DLLWRAP"; then
7917 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7918 else
7919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 for as_dir in $PATH
7922 IFS=$as_save_IFS
7923 test -z "$as_dir" && as_dir=.
7924 for ac_exec_ext in '' $ac_executable_extensions; do
7925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7926 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7928 break 2
7930 done
7931 done
7932 IFS=$as_save_IFS
7936 DLLWRAP=$ac_cv_prog_DLLWRAP
7937 if test -n "$DLLWRAP"; then
7938 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7939 echo "${ECHO_T}$DLLWRAP" >&6; }
7940 else
7941 { echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6; }
7947 if test -z "$ac_cv_prog_DLLWRAP"; then
7948 ac_ct_DLLWRAP=$DLLWRAP
7949 # Extract the first word of "dllwrap", so it can be a program name with args.
7950 set dummy dllwrap; ac_word=$2
7951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7953 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7955 else
7956 if test -n "$ac_ct_DLLWRAP"; then
7957 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7958 else
7959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 for as_dir in $PATH
7962 IFS=$as_save_IFS
7963 test -z "$as_dir" && as_dir=.
7964 for ac_exec_ext in '' $ac_executable_extensions; do
7965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7966 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 break 2
7970 done
7971 done
7972 IFS=$as_save_IFS
7976 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7977 if test -n "$ac_ct_DLLWRAP"; then
7978 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7979 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7980 else
7981 { echo "$as_me:$LINENO: result: no" >&5
7982 echo "${ECHO_T}no" >&6; }
7985 if test "x$ac_ct_DLLWRAP" = x; then
7986 DLLWRAP="false"
7987 else
7988 case $cross_compiling:$ac_tool_warned in
7989 yes:)
7990 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7991 whose name does not start with the host triplet. If you think this
7992 configuration is useful to you, please write to autoconf@gnu.org." >&5
7993 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7994 whose name does not start with the host triplet. If you think this
7995 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7996 ac_tool_warned=yes ;;
7997 esac
7998 DLLWRAP=$ac_ct_DLLWRAP
8000 else
8001 DLLWRAP="$ac_cv_prog_DLLWRAP"
8004 if test -n "$ac_tool_prefix"; then
8005 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8006 set dummy ${ac_tool_prefix}ar; ac_word=$2
8007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8009 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8010 echo $ECHO_N "(cached) $ECHO_C" >&6
8011 else
8012 if test -n "$MINGWAR"; then
8013 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8014 else
8015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8016 for as_dir in $PATH
8018 IFS=$as_save_IFS
8019 test -z "$as_dir" && as_dir=.
8020 for ac_exec_ext in '' $ac_executable_extensions; do
8021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8022 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8024 break 2
8026 done
8027 done
8028 IFS=$as_save_IFS
8032 MINGWAR=$ac_cv_prog_MINGWAR
8033 if test -n "$MINGWAR"; then
8034 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8035 echo "${ECHO_T}$MINGWAR" >&6; }
8036 else
8037 { echo "$as_me:$LINENO: result: no" >&5
8038 echo "${ECHO_T}no" >&6; }
8043 if test -z "$ac_cv_prog_MINGWAR"; then
8044 ac_ct_MINGWAR=$MINGWAR
8045 # Extract the first word of "ar", so it can be a program name with args.
8046 set dummy ar; ac_word=$2
8047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8049 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 else
8052 if test -n "$ac_ct_MINGWAR"; then
8053 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8054 else
8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8056 for as_dir in $PATH
8058 IFS=$as_save_IFS
8059 test -z "$as_dir" && as_dir=.
8060 for ac_exec_ext in '' $ac_executable_extensions; do
8061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8062 ac_cv_prog_ac_ct_MINGWAR="ar"
8063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8064 break 2
8066 done
8067 done
8068 IFS=$as_save_IFS
8072 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8073 if test -n "$ac_ct_MINGWAR"; then
8074 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8075 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8076 else
8077 { echo "$as_me:$LINENO: result: no" >&5
8078 echo "${ECHO_T}no" >&6; }
8081 if test "x$ac_ct_MINGWAR" = x; then
8082 MINGWAR="false"
8083 else
8084 case $cross_compiling:$ac_tool_warned in
8085 yes:)
8086 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8087 whose name does not start with the host triplet. If you think this
8088 configuration is useful to you, please write to autoconf@gnu.org." >&5
8089 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8090 whose name does not start with the host triplet. If you think this
8091 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8092 ac_tool_warned=yes ;;
8093 esac
8094 MINGWAR=$ac_ct_MINGWAR
8096 else
8097 MINGWAR="$ac_cv_prog_MINGWAR"
8100 if test "$DLLWRAP" = "false"; then
8101 LIBEXT="a"
8102 else
8103 LIBEXT="dll"
8105 IMPLIBEXT="a"
8106 WIN16_FILES=""
8107 WIN16_INSTALL=""
8109 darwin*|macosx*)
8110 DLLEXT=".so"
8111 LIBEXT="dylib"
8112 DLLFLAGS="$DLLFLAGS -fPIC"
8113 LDDLLFLAGS="-bundle -multiply_defined suppress"
8114 LIBWINE_LDFLAGS="-multiply_defined suppress"
8115 LDSHARED="\$(CC) -dynamiclib"
8116 STRIP="$STRIP -x"
8117 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8118 SECURITYLIB="-framework Security -framework CoreFoundation"
8120 COREFOUNDATIONLIB="-framework CoreFoundation"
8122 IOKITLIB="-framework IOKit -framework CoreFoundation"
8124 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8126 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8127 then
8128 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8131 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8132 then
8133 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8136 case $host_cpu in
8137 *powerpc*)
8138 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8139 esac
8140 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8141 then
8142 CARBONLIB="-framework Carbon"
8144 QUARTZFILES='$(QUARTZFILES)'
8148 DLLFLAGS="$DLLFLAGS -fPIC"
8149 DLLEXT=".so"
8150 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8151 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8152 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8153 echo $ECHO_N "(cached) $ECHO_C" >&6
8154 else
8155 ac_wine_try_cflags_saved=$CFLAGS
8156 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8157 cat >conftest.$ac_ext <<_ACEOF
8158 void myfunc() {}
8159 _ACEOF
8160 rm -f conftest.$ac_objext conftest$ac_exeext
8161 if { (ac_try="$ac_link"
8162 case "(($ac_try" in
8163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8164 *) ac_try_echo=$ac_try;;
8165 esac
8166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8167 (eval "$ac_link") 2>conftest.er1
8168 ac_status=$?
8169 grep -v '^ *+' conftest.er1 >conftest.err
8170 rm -f conftest.er1
8171 cat conftest.err >&5
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); } && {
8174 test -z "$ac_c_werror_flag" ||
8175 test ! -s conftest.err
8176 } && test -s conftest$ac_exeext &&
8177 $as_test_x conftest$ac_exeext; then
8178 ac_cv_c_dll_gnuelf="yes"
8179 else
8180 echo "$as_me: failed program was:" >&5
8181 sed 's/^/| /' conftest.$ac_ext >&5
8183 ac_cv_c_dll_gnuelf="no"
8186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8187 conftest$ac_exeext conftest.$ac_ext
8188 CFLAGS=$ac_wine_try_cflags_saved
8190 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8191 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8192 if test "$ac_cv_c_dll_gnuelf" = "yes"
8193 then
8194 LDSHARED="\$(CC) -shared"
8195 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8196 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8197 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8198 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8199 echo $ECHO_N "(cached) $ECHO_C" >&6
8200 else
8201 ac_wine_try_cflags_saved=$CFLAGS
8202 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8203 cat >conftest.$ac_ext <<_ACEOF
8204 /* confdefs.h. */
8205 _ACEOF
8206 cat confdefs.h >>conftest.$ac_ext
8207 cat >>conftest.$ac_ext <<_ACEOF
8208 /* end confdefs.h. */
8211 main ()
8215 return 0;
8217 _ACEOF
8218 rm -f conftest.$ac_objext conftest$ac_exeext
8219 if { (ac_try="$ac_link"
8220 case "(($ac_try" in
8221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8222 *) ac_try_echo=$ac_try;;
8223 esac
8224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8225 (eval "$ac_link") 2>conftest.er1
8226 ac_status=$?
8227 grep -v '^ *+' conftest.er1 >conftest.err
8228 rm -f conftest.er1
8229 cat conftest.err >&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); } && {
8232 test -z "$ac_c_werror_flag" ||
8233 test ! -s conftest.err
8234 } && test -s conftest$ac_exeext &&
8235 $as_test_x conftest$ac_exeext; then
8236 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8237 else
8238 echo "$as_me: failed program was:" >&5
8239 sed 's/^/| /' conftest.$ac_ext >&5
8241 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8245 conftest$ac_exeext conftest.$ac_ext
8246 CFLAGS=$ac_wine_try_cflags_saved
8248 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8249 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8250 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8251 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8252 else
8253 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8254 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8255 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8257 else
8258 ac_wine_try_cflags_saved=$CFLAGS
8259 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8260 cat >conftest.$ac_ext <<_ACEOF
8261 /* confdefs.h. */
8262 _ACEOF
8263 cat confdefs.h >>conftest.$ac_ext
8264 cat >>conftest.$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8268 main ()
8272 return 0;
8274 _ACEOF
8275 rm -f conftest.$ac_objext conftest$ac_exeext
8276 if { (ac_try="$ac_link"
8277 case "(($ac_try" in
8278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8279 *) ac_try_echo=$ac_try;;
8280 esac
8281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8282 (eval "$ac_link") 2>conftest.er1
8283 ac_status=$?
8284 grep -v '^ *+' conftest.er1 >conftest.err
8285 rm -f conftest.er1
8286 cat conftest.err >&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } && {
8289 test -z "$ac_c_werror_flag" ||
8290 test ! -s conftest.err
8291 } && test -s conftest$ac_exeext &&
8292 $as_test_x conftest$ac_exeext; then
8293 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8294 else
8295 echo "$as_me: failed program was:" >&5
8296 sed 's/^/| /' conftest.$ac_ext >&5
8298 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8302 conftest$ac_exeext conftest.$ac_ext
8303 CFLAGS=$ac_wine_try_cflags_saved
8305 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8306 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8307 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8308 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8314 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8315 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8316 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8317 echo $ECHO_N "(cached) $ECHO_C" >&6
8318 else
8319 ac_wine_try_cflags_saved=$CFLAGS
8320 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8321 cat >conftest.$ac_ext <<_ACEOF
8322 /* confdefs.h. */
8323 _ACEOF
8324 cat confdefs.h >>conftest.$ac_ext
8325 cat >>conftest.$ac_ext <<_ACEOF
8326 /* end confdefs.h. */
8329 main ()
8333 return 0;
8335 _ACEOF
8336 rm -f conftest.$ac_objext conftest$ac_exeext
8337 if { (ac_try="$ac_link"
8338 case "(($ac_try" in
8339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8340 *) ac_try_echo=$ac_try;;
8341 esac
8342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8343 (eval "$ac_link") 2>conftest.er1
8344 ac_status=$?
8345 grep -v '^ *+' conftest.er1 >conftest.err
8346 rm -f conftest.er1
8347 cat conftest.err >&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } && {
8350 test -z "$ac_c_werror_flag" ||
8351 test ! -s conftest.err
8352 } && test -s conftest$ac_exeext &&
8353 $as_test_x conftest$ac_exeext; then
8354 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8355 else
8356 echo "$as_me: failed program was:" >&5
8357 sed 's/^/| /' conftest.$ac_ext >&5
8359 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8363 conftest$ac_exeext conftest.$ac_ext
8364 CFLAGS=$ac_wine_try_cflags_saved
8366 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8367 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8368 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8369 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8373 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8374 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8375 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8376 echo $ECHO_N "(cached) $ECHO_C" >&6
8377 else
8378 ac_wine_try_cflags_saved=$CFLAGS
8379 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8380 cat >conftest.$ac_ext <<_ACEOF
8381 /* confdefs.h. */
8382 _ACEOF
8383 cat confdefs.h >>conftest.$ac_ext
8384 cat >>conftest.$ac_ext <<_ACEOF
8385 /* end confdefs.h. */
8388 main ()
8392 return 0;
8394 _ACEOF
8395 rm -f conftest.$ac_objext conftest$ac_exeext
8396 if { (ac_try="$ac_link"
8397 case "(($ac_try" in
8398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8399 *) ac_try_echo=$ac_try;;
8400 esac
8401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8402 (eval "$ac_link") 2>conftest.er1
8403 ac_status=$?
8404 grep -v '^ *+' conftest.er1 >conftest.err
8405 rm -f conftest.er1
8406 cat conftest.err >&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); } && {
8409 test -z "$ac_c_werror_flag" ||
8410 test ! -s conftest.err
8411 } && test -s conftest$ac_exeext &&
8412 $as_test_x conftest$ac_exeext; then
8413 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8414 else
8415 echo "$as_me: failed program was:" >&5
8416 sed 's/^/| /' conftest.$ac_ext >&5
8418 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8422 conftest$ac_exeext conftest.$ac_ext
8423 CFLAGS=$ac_wine_try_cflags_saved
8425 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8426 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8427 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8428 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8432 echo '{ global: *; };' >conftest.map
8433 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8434 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8435 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8436 echo $ECHO_N "(cached) $ECHO_C" >&6
8437 else
8438 ac_wine_try_cflags_saved=$CFLAGS
8439 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8440 cat >conftest.$ac_ext <<_ACEOF
8441 /* confdefs.h. */
8442 _ACEOF
8443 cat confdefs.h >>conftest.$ac_ext
8444 cat >>conftest.$ac_ext <<_ACEOF
8445 /* end confdefs.h. */
8448 main ()
8452 return 0;
8454 _ACEOF
8455 rm -f conftest.$ac_objext conftest$ac_exeext
8456 if { (ac_try="$ac_link"
8457 case "(($ac_try" in
8458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8459 *) ac_try_echo=$ac_try;;
8460 esac
8461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8462 (eval "$ac_link") 2>conftest.er1
8463 ac_status=$?
8464 grep -v '^ *+' conftest.er1 >conftest.err
8465 rm -f conftest.er1
8466 cat conftest.err >&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); } && {
8469 test -z "$ac_c_werror_flag" ||
8470 test ! -s conftest.err
8471 } && test -s conftest$ac_exeext &&
8472 $as_test_x conftest$ac_exeext; then
8473 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8474 else
8475 echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.$ac_ext >&5
8478 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8482 conftest$ac_exeext conftest.$ac_ext
8483 CFLAGS=$ac_wine_try_cflags_saved
8485 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8486 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8487 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8488 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8491 rm -f conftest.map
8493 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8494 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8495 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8496 echo $ECHO_N "(cached) $ECHO_C" >&6
8497 else
8498 ac_wine_try_cflags_saved=$CFLAGS
8499 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8500 cat >conftest.$ac_ext <<_ACEOF
8501 /* confdefs.h. */
8502 _ACEOF
8503 cat confdefs.h >>conftest.$ac_ext
8504 cat >>conftest.$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8508 main ()
8512 return 0;
8514 _ACEOF
8515 rm -f conftest.$ac_objext conftest$ac_exeext
8516 if { (ac_try="$ac_link"
8517 case "(($ac_try" in
8518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8519 *) ac_try_echo=$ac_try;;
8520 esac
8521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8522 (eval "$ac_link") 2>conftest.er1
8523 ac_status=$?
8524 grep -v '^ *+' conftest.er1 >conftest.err
8525 rm -f conftest.er1
8526 cat conftest.err >&5
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); } && {
8529 test -z "$ac_c_werror_flag" ||
8530 test ! -s conftest.err
8531 } && test -s conftest$ac_exeext &&
8532 $as_test_x conftest$ac_exeext; then
8533 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8534 else
8535 echo "$as_me: failed program was:" >&5
8536 sed 's/^/| /' conftest.$ac_ext >&5
8538 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8542 conftest$ac_exeext conftest.$ac_ext
8543 CFLAGS=$ac_wine_try_cflags_saved
8545 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8546 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8547 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8548 LDEXECFLAGS="-Wl,--export-dynamic"
8553 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8554 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8555 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8556 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8557 echo $ECHO_N "(cached) $ECHO_C" >&6
8558 else
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8561 cat >conftest.$ac_ext <<_ACEOF
8562 /* confdefs.h. */
8563 _ACEOF
8564 cat confdefs.h >>conftest.$ac_ext
8565 cat >>conftest.$ac_ext <<_ACEOF
8566 /* end confdefs.h. */
8569 main ()
8573 return 0;
8575 _ACEOF
8576 rm -f conftest.$ac_objext conftest$ac_exeext
8577 if { (ac_try="$ac_link"
8578 case "(($ac_try" in
8579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8580 *) ac_try_echo=$ac_try;;
8581 esac
8582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8583 (eval "$ac_link") 2>conftest.er1
8584 ac_status=$?
8585 grep -v '^ *+' conftest.er1 >conftest.err
8586 rm -f conftest.er1
8587 cat conftest.err >&5
8588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8589 (exit $ac_status); } && {
8590 test -z "$ac_c_werror_flag" ||
8591 test ! -s conftest.err
8592 } && test -s conftest$ac_exeext &&
8593 $as_test_x conftest$ac_exeext; then
8594 eval "$as_ac_var=yes"
8595 else
8596 echo "$as_me: failed program was:" >&5
8597 sed 's/^/| /' conftest.$ac_ext >&5
8599 eval "$as_ac_var=no"
8602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8603 conftest$ac_exeext conftest.$ac_ext
8604 CFLAGS=$ac_wine_try_cflags_saved
8606 ac_res=`eval echo '${'$as_ac_var'}'`
8607 { echo "$as_me:$LINENO: result: $ac_res" >&5
8608 echo "${ECHO_T}$ac_res" >&6; }
8609 if test `eval echo '${'$as_ac_var'}'` = yes; then
8610 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8611 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8612 else
8613 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8614 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8615 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8616 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8618 else
8619 ac_wine_try_cflags_saved=$CFLAGS
8620 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8621 cat >conftest.$ac_ext <<_ACEOF
8622 /* confdefs.h. */
8623 _ACEOF
8624 cat confdefs.h >>conftest.$ac_ext
8625 cat >>conftest.$ac_ext <<_ACEOF
8626 /* end confdefs.h. */
8629 main ()
8633 return 0;
8635 _ACEOF
8636 rm -f conftest.$ac_objext conftest$ac_exeext
8637 if { (ac_try="$ac_link"
8638 case "(($ac_try" in
8639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8640 *) ac_try_echo=$ac_try;;
8641 esac
8642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8643 (eval "$ac_link") 2>conftest.er1
8644 ac_status=$?
8645 grep -v '^ *+' conftest.er1 >conftest.err
8646 rm -f conftest.er1
8647 cat conftest.err >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } && {
8650 test -z "$ac_c_werror_flag" ||
8651 test ! -s conftest.err
8652 } && test -s conftest$ac_exeext &&
8653 $as_test_x conftest$ac_exeext; then
8654 eval "$as_ac_var=yes"
8655 else
8656 echo "$as_me: failed program was:" >&5
8657 sed 's/^/| /' conftest.$ac_ext >&5
8659 eval "$as_ac_var=no"
8662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 ac_res=`eval echo '${'$as_ac_var'}'`
8667 { echo "$as_me:$LINENO: result: $ac_res" >&5
8668 echo "${ECHO_T}$ac_res" >&6; }
8669 if test `eval echo '${'$as_ac_var'}'` = yes; then
8670 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8671 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8677 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8678 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8679 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8680 echo $ECHO_N "(cached) $ECHO_C" >&6
8681 else
8682 ac_wine_try_cflags_saved=$CFLAGS
8683 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8684 cat >conftest.$ac_ext <<_ACEOF
8685 /* confdefs.h. */
8686 _ACEOF
8687 cat confdefs.h >>conftest.$ac_ext
8688 cat >>conftest.$ac_ext <<_ACEOF
8689 /* end confdefs.h. */
8692 main ()
8696 return 0;
8698 _ACEOF
8699 rm -f conftest.$ac_objext conftest$ac_exeext
8700 if { (ac_try="$ac_link"
8701 case "(($ac_try" in
8702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8703 *) ac_try_echo=$ac_try;;
8704 esac
8705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8706 (eval "$ac_link") 2>conftest.er1
8707 ac_status=$?
8708 grep -v '^ *+' conftest.er1 >conftest.err
8709 rm -f conftest.er1
8710 cat conftest.err >&5
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); } && {
8713 test -z "$ac_c_werror_flag" ||
8714 test ! -s conftest.err
8715 } && test -s conftest$ac_exeext &&
8716 $as_test_x conftest$ac_exeext; then
8717 ac_cv_cflags__Wl___enable_new_dtags=yes
8718 else
8719 echo "$as_me: failed program was:" >&5
8720 sed 's/^/| /' conftest.$ac_ext >&5
8722 ac_cv_cflags__Wl___enable_new_dtags=no
8725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8726 conftest$ac_exeext conftest.$ac_ext
8727 CFLAGS=$ac_wine_try_cflags_saved
8729 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8730 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8731 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8732 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8736 case $host_cpu in
8737 *i[3456789]86* | x86_64)
8738 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8739 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8740 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8741 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 else
8743 ac_wine_try_cflags_saved=$CFLAGS
8744 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8745 cat >conftest.$ac_ext <<_ACEOF
8746 /* confdefs.h. */
8747 _ACEOF
8748 cat confdefs.h >>conftest.$ac_ext
8749 cat >>conftest.$ac_ext <<_ACEOF
8750 /* end confdefs.h. */
8753 main ()
8757 return 0;
8759 _ACEOF
8760 rm -f conftest.$ac_objext conftest$ac_exeext
8761 if { (ac_try="$ac_link"
8762 case "(($ac_try" in
8763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8764 *) ac_try_echo=$ac_try;;
8765 esac
8766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8767 (eval "$ac_link") 2>conftest.er1
8768 ac_status=$?
8769 grep -v '^ *+' conftest.er1 >conftest.err
8770 rm -f conftest.er1
8771 cat conftest.err >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } && {
8774 test -z "$ac_c_werror_flag" ||
8775 test ! -s conftest.err
8776 } && test -s conftest$ac_exeext &&
8777 $as_test_x conftest$ac_exeext; then
8778 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8779 else
8780 echo "$as_me: failed program was:" >&5
8781 sed 's/^/| /' conftest.$ac_ext >&5
8783 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8787 conftest$ac_exeext conftest.$ac_ext
8788 CFLAGS=$ac_wine_try_cflags_saved
8790 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8791 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8792 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8793 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8797 esac
8799 else
8800 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8801 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8802 if test "${ac_cv_c_dll_unixware+set}" = set; then
8803 echo $ECHO_N "(cached) $ECHO_C" >&6
8804 else
8805 ac_wine_try_cflags_saved=$CFLAGS
8806 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8807 cat >conftest.$ac_ext <<_ACEOF
8808 void myfunc() {}
8809 _ACEOF
8810 rm -f conftest.$ac_objext conftest$ac_exeext
8811 if { (ac_try="$ac_link"
8812 case "(($ac_try" in
8813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8814 *) ac_try_echo=$ac_try;;
8815 esac
8816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8817 (eval "$ac_link") 2>conftest.er1
8818 ac_status=$?
8819 grep -v '^ *+' conftest.er1 >conftest.err
8820 rm -f conftest.er1
8821 cat conftest.err >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); } && {
8824 test -z "$ac_c_werror_flag" ||
8825 test ! -s conftest.err
8826 } && test -s conftest$ac_exeext &&
8827 $as_test_x conftest$ac_exeext; then
8828 ac_cv_c_dll_unixware="yes"
8829 else
8830 echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.$ac_ext >&5
8833 ac_cv_c_dll_unixware="no"
8836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8837 conftest$ac_exeext conftest.$ac_ext
8838 CFLAGS=$ac_wine_try_cflags_saved
8840 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8841 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8842 if test "$ac_cv_c_dll_unixware" = "yes"
8843 then
8844 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8845 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8847 else
8848 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8849 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8850 if test "${ac_cv_c_dll_hpux+set}" = set; then
8851 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 else
8853 ac_wine_try_cflags_saved=$CFLAGS
8854 CFLAGS="$CFLAGS -shared"
8855 cat >conftest.$ac_ext <<_ACEOF
8856 void myfunc() {}
8857 _ACEOF
8858 rm -f conftest.$ac_objext conftest$ac_exeext
8859 if { (ac_try="$ac_link"
8860 case "(($ac_try" in
8861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8862 *) ac_try_echo=$ac_try;;
8863 esac
8864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8865 (eval "$ac_link") 2>conftest.er1
8866 ac_status=$?
8867 grep -v '^ *+' conftest.er1 >conftest.err
8868 rm -f conftest.er1
8869 cat conftest.err >&5
8870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8871 (exit $ac_status); } && {
8872 test -z "$ac_c_werror_flag" ||
8873 test ! -s conftest.err
8874 } && test -s conftest$ac_exeext &&
8875 $as_test_x conftest$ac_exeext; then
8876 ac_cv_c_dll_hpux="yes"
8877 else
8878 echo "$as_me: failed program was:" >&5
8879 sed 's/^/| /' conftest.$ac_ext >&5
8881 ac_cv_c_dll_hpux="no"
8884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8885 conftest$ac_exeext conftest.$ac_ext
8886 CFLAGS=$ac_wine_try_cflags_saved
8888 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8889 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8890 if test "$ac_cv_c_dll_hpux" = "yes"
8891 then
8892 LIBEXT="sl"
8893 DLLEXT=".sl"
8894 LDDLLFLAGS="-shared -fPIC"
8895 LDSHARED="\$(CC) -shared"
8900 CROSSTEST=""
8902 if test "$cross_compiling" = "no"
8903 then
8904 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8906 # Extract the first word of "$ac_prog", so it can be a program name with args.
8907 set dummy $ac_prog; ac_word=$2
8908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8910 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8911 echo $ECHO_N "(cached) $ECHO_C" >&6
8912 else
8913 if test -n "$CROSSCC"; then
8914 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8915 else
8916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8917 for as_dir in $PATH
8919 IFS=$as_save_IFS
8920 test -z "$as_dir" && as_dir=.
8921 for ac_exec_ext in '' $ac_executable_extensions; do
8922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8923 ac_cv_prog_CROSSCC="$ac_prog"
8924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8925 break 2
8927 done
8928 done
8929 IFS=$as_save_IFS
8933 CROSSCC=$ac_cv_prog_CROSSCC
8934 if test -n "$CROSSCC"; then
8935 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8936 echo "${ECHO_T}$CROSSCC" >&6; }
8937 else
8938 { echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6; }
8943 test -n "$CROSSCC" && break
8944 done
8945 test -n "$CROSSCC" || CROSSCC="false"
8947 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8949 # Extract the first word of "$ac_prog", so it can be a program name with args.
8950 set dummy $ac_prog; ac_word=$2
8951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8953 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8954 echo $ECHO_N "(cached) $ECHO_C" >&6
8955 else
8956 if test -n "$DLLTOOL"; then
8957 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8958 else
8959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8960 for as_dir in $PATH
8962 IFS=$as_save_IFS
8963 test -z "$as_dir" && as_dir=.
8964 for ac_exec_ext in '' $ac_executable_extensions; do
8965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8966 ac_cv_prog_DLLTOOL="$ac_prog"
8967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8968 break 2
8970 done
8971 done
8972 IFS=$as_save_IFS
8976 DLLTOOL=$ac_cv_prog_DLLTOOL
8977 if test -n "$DLLTOOL"; then
8978 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8979 echo "${ECHO_T}$DLLTOOL" >&6; }
8980 else
8981 { echo "$as_me:$LINENO: result: no" >&5
8982 echo "${ECHO_T}no" >&6; }
8986 test -n "$DLLTOOL" && break
8987 done
8988 test -n "$DLLTOOL" || DLLTOOL="false"
8990 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
8992 # Extract the first word of "$ac_prog", so it can be a program name with args.
8993 set dummy $ac_prog; ac_word=$2
8994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8996 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8997 echo $ECHO_N "(cached) $ECHO_C" >&6
8998 else
8999 if test -n "$CROSSWINDRES"; then
9000 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9001 else
9002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9003 for as_dir in $PATH
9005 IFS=$as_save_IFS
9006 test -z "$as_dir" && as_dir=.
9007 for ac_exec_ext in '' $ac_executable_extensions; do
9008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9009 ac_cv_prog_CROSSWINDRES="$ac_prog"
9010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9011 break 2
9013 done
9014 done
9015 IFS=$as_save_IFS
9019 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9020 if test -n "$CROSSWINDRES"; then
9021 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9022 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9023 else
9024 { echo "$as_me:$LINENO: result: no" >&5
9025 echo "${ECHO_T}no" >&6; }
9029 test -n "$CROSSWINDRES" && break
9030 done
9031 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9033 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9035 # Extract the first word of "$ac_prog", so it can be a program name with args.
9036 set dummy $ac_prog; ac_word=$2
9037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9039 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9040 echo $ECHO_N "(cached) $ECHO_C" >&6
9041 else
9042 if test -n "$MINGWAR"; then
9043 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9044 else
9045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9046 for as_dir in $PATH
9048 IFS=$as_save_IFS
9049 test -z "$as_dir" && as_dir=.
9050 for ac_exec_ext in '' $ac_executable_extensions; do
9051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9052 ac_cv_prog_MINGWAR="$ac_prog"
9053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9054 break 2
9056 done
9057 done
9058 IFS=$as_save_IFS
9062 MINGWAR=$ac_cv_prog_MINGWAR
9063 if test -n "$MINGWAR"; then
9064 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9065 echo "${ECHO_T}$MINGWAR" >&6; }
9066 else
9067 { echo "$as_me:$LINENO: result: no" >&5
9068 echo "${ECHO_T}no" >&6; }
9072 test -n "$MINGWAR" && break
9073 done
9074 test -n "$MINGWAR" || MINGWAR="false"
9076 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9079 esac
9081 if test "$LIBEXT" = "a"; then
9082 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9083 It is currently not possible to build Wine without shared library
9084 (.so) support to allow transparent switch between .so and .dll files.
9085 If you are using Linux, you will need a newer binutils.
9086 " >&5
9087 echo "$as_me: error: could not find a way to build shared libraries.
9088 It is currently not possible to build Wine without shared library
9089 (.so) support to allow transparent switch between .so and .dll files.
9090 If you are using Linux, you will need a newer binutils.
9091 " >&2;}
9092 { (exit 1); exit 1; }; }
9096 if test "$have_x" = "yes"
9097 then
9098 XLIB="-lXext -lX11"
9099 ac_save_CPPFLAGS="$CPPFLAGS"
9100 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9102 { echo "$as_me:$LINENO: checking for -lX11" >&5
9103 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9104 if test "${ac_cv_lib_soname_X11+set}" = set; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9106 else
9107 ac_check_soname_save_LIBS=$LIBS
9108 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9109 cat >conftest.$ac_ext <<_ACEOF
9110 /* confdefs.h. */
9111 _ACEOF
9112 cat confdefs.h >>conftest.$ac_ext
9113 cat >>conftest.$ac_ext <<_ACEOF
9114 /* end confdefs.h. */
9116 /* Override any GCC internal prototype to avoid an error.
9117 Use char because int might match the return type of a GCC
9118 builtin and then its argument prototype would still apply. */
9119 #ifdef __cplusplus
9120 extern "C"
9121 #endif
9122 char XCreateWindow ();
9124 main ()
9126 return XCreateWindow ();
9128 return 0;
9130 _ACEOF
9131 rm -f conftest.$ac_objext conftest$ac_exeext
9132 if { (ac_try="$ac_link"
9133 case "(($ac_try" in
9134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9135 *) ac_try_echo=$ac_try;;
9136 esac
9137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9138 (eval "$ac_link") 2>conftest.er1
9139 ac_status=$?
9140 grep -v '^ *+' conftest.er1 >conftest.err
9141 rm -f conftest.er1
9142 cat conftest.err >&5
9143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9144 (exit $ac_status); } && {
9145 test -z "$ac_c_werror_flag" ||
9146 test ! -s conftest.err
9147 } && test -s conftest$ac_exeext &&
9148 $as_test_x conftest$ac_exeext; then
9149 case "$LIBEXT" in
9150 dll) ;;
9151 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'` ;;
9152 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9153 esac
9154 else
9155 echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.$ac_ext >&5
9161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9162 conftest$ac_exeext conftest.$ac_ext
9163 LIBS=$ac_check_soname_save_LIBS
9165 if test "x$ac_cv_lib_soname_X11" = "x"; then
9166 { echo "$as_me:$LINENO: result: not found" >&5
9167 echo "${ECHO_T}not found" >&6; }
9169 else
9170 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9171 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9173 cat >>confdefs.h <<_ACEOF
9174 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9175 _ACEOF
9180 { echo "$as_me:$LINENO: checking for -lXext" >&5
9181 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9182 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9183 echo $ECHO_N "(cached) $ECHO_C" >&6
9184 else
9185 ac_check_soname_save_LIBS=$LIBS
9186 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9187 cat >conftest.$ac_ext <<_ACEOF
9188 /* confdefs.h. */
9189 _ACEOF
9190 cat confdefs.h >>conftest.$ac_ext
9191 cat >>conftest.$ac_ext <<_ACEOF
9192 /* end confdefs.h. */
9194 /* Override any GCC internal prototype to avoid an error.
9195 Use char because int might match the return type of a GCC
9196 builtin and then its argument prototype would still apply. */
9197 #ifdef __cplusplus
9198 extern "C"
9199 #endif
9200 char XextCreateExtension ();
9202 main ()
9204 return XextCreateExtension ();
9206 return 0;
9208 _ACEOF
9209 rm -f conftest.$ac_objext conftest$ac_exeext
9210 if { (ac_try="$ac_link"
9211 case "(($ac_try" in
9212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9213 *) ac_try_echo=$ac_try;;
9214 esac
9215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9216 (eval "$ac_link") 2>conftest.er1
9217 ac_status=$?
9218 grep -v '^ *+' conftest.er1 >conftest.err
9219 rm -f conftest.er1
9220 cat conftest.err >&5
9221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222 (exit $ac_status); } && {
9223 test -z "$ac_c_werror_flag" ||
9224 test ! -s conftest.err
9225 } && test -s conftest$ac_exeext &&
9226 $as_test_x conftest$ac_exeext; then
9227 case "$LIBEXT" in
9228 dll) ;;
9229 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'` ;;
9230 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9231 esac
9232 else
9233 echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.$ac_ext >&5
9239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_soname_save_LIBS
9243 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9244 { echo "$as_me:$LINENO: result: not found" >&5
9245 echo "${ECHO_T}not found" >&6; }
9247 else
9248 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9249 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9251 cat >>confdefs.h <<_ACEOF
9252 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9253 _ACEOF
9271 for ac_header in X11/Xlib.h \
9272 X11/XKBlib.h \
9273 X11/Xutil.h \
9274 X11/Xcursor/Xcursor.h \
9275 X11/extensions/shape.h \
9276 X11/extensions/XInput.h \
9277 X11/extensions/XShm.h \
9278 X11/extensions/Xcomposite.h \
9279 X11/extensions/Xinerama.h \
9280 X11/extensions/Xrandr.h \
9281 X11/extensions/Xrender.h \
9282 X11/extensions/xf86vmode.h
9284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9288 echo $ECHO_N "(cached) $ECHO_C" >&6
9289 else
9290 cat >conftest.$ac_ext <<_ACEOF
9291 /* confdefs.h. */
9292 _ACEOF
9293 cat confdefs.h >>conftest.$ac_ext
9294 cat >>conftest.$ac_ext <<_ACEOF
9295 /* end confdefs.h. */
9296 #ifdef HAVE_X11_XLIB_H
9297 # include <X11/Xlib.h>
9298 #endif
9299 #ifdef HAVE_X11_XUTIL_H
9300 # include <X11/Xutil.h>
9301 #endif
9303 #include <$ac_header>
9304 _ACEOF
9305 rm -f conftest.$ac_objext
9306 if { (ac_try="$ac_compile"
9307 case "(($ac_try" in
9308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9309 *) ac_try_echo=$ac_try;;
9310 esac
9311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9312 (eval "$ac_compile") 2>conftest.er1
9313 ac_status=$?
9314 grep -v '^ *+' conftest.er1 >conftest.err
9315 rm -f conftest.er1
9316 cat conftest.err >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); } && {
9319 test -z "$ac_c_werror_flag" ||
9320 test ! -s conftest.err
9321 } && test -s conftest.$ac_objext; then
9322 eval "$as_ac_Header=yes"
9323 else
9324 echo "$as_me: failed program was:" >&5
9325 sed 's/^/| /' conftest.$ac_ext >&5
9327 eval "$as_ac_Header=no"
9330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9332 ac_res=`eval echo '${'$as_ac_Header'}'`
9333 { echo "$as_me:$LINENO: result: $ac_res" >&5
9334 echo "${ECHO_T}$ac_res" >&6; }
9335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9336 cat >>confdefs.h <<_ACEOF
9337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9338 _ACEOF
9342 done
9345 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9346 then
9347 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9348 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9349 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9351 else
9352 ac_check_lib_save_LIBS=$LIBS
9353 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9354 cat >conftest.$ac_ext <<_ACEOF
9355 /* confdefs.h. */
9356 _ACEOF
9357 cat confdefs.h >>conftest.$ac_ext
9358 cat >>conftest.$ac_ext <<_ACEOF
9359 /* end confdefs.h. */
9361 /* Override any GCC internal prototype to avoid an error.
9362 Use char because int might match the return type of a GCC
9363 builtin and then its argument prototype would still apply. */
9364 #ifdef __cplusplus
9365 extern "C"
9366 #endif
9367 char XkbQueryExtension ();
9369 main ()
9371 return XkbQueryExtension ();
9373 return 0;
9375 _ACEOF
9376 rm -f conftest.$ac_objext conftest$ac_exeext
9377 if { (ac_try="$ac_link"
9378 case "(($ac_try" in
9379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9380 *) ac_try_echo=$ac_try;;
9381 esac
9382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9383 (eval "$ac_link") 2>conftest.er1
9384 ac_status=$?
9385 grep -v '^ *+' conftest.er1 >conftest.err
9386 rm -f conftest.er1
9387 cat conftest.err >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); } && {
9390 test -z "$ac_c_werror_flag" ||
9391 test ! -s conftest.err
9392 } && test -s conftest$ac_exeext &&
9393 $as_test_x conftest$ac_exeext; then
9394 ac_cv_lib_X11_XkbQueryExtension=yes
9395 else
9396 echo "$as_me: failed program was:" >&5
9397 sed 's/^/| /' conftest.$ac_ext >&5
9399 ac_cv_lib_X11_XkbQueryExtension=no
9402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9403 conftest$ac_exeext conftest.$ac_ext
9404 LIBS=$ac_check_lib_save_LIBS
9406 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9407 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9408 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9410 cat >>confdefs.h <<\_ACEOF
9411 #define HAVE_XKB 1
9412 _ACEOF
9418 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9419 then
9420 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9421 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9422 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9423 echo $ECHO_N "(cached) $ECHO_C" >&6
9424 else
9425 ac_check_soname_save_LIBS=$LIBS
9426 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9427 cat >conftest.$ac_ext <<_ACEOF
9428 /* confdefs.h. */
9429 _ACEOF
9430 cat confdefs.h >>conftest.$ac_ext
9431 cat >>conftest.$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9434 /* Override any GCC internal prototype to avoid an error.
9435 Use char because int might match the return type of a GCC
9436 builtin and then its argument prototype would still apply. */
9437 #ifdef __cplusplus
9438 extern "C"
9439 #endif
9440 char XcursorImageLoadCursor ();
9442 main ()
9444 return XcursorImageLoadCursor ();
9446 return 0;
9448 _ACEOF
9449 rm -f conftest.$ac_objext conftest$ac_exeext
9450 if { (ac_try="$ac_link"
9451 case "(($ac_try" in
9452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9453 *) ac_try_echo=$ac_try;;
9454 esac
9455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9456 (eval "$ac_link") 2>conftest.er1
9457 ac_status=$?
9458 grep -v '^ *+' conftest.er1 >conftest.err
9459 rm -f conftest.er1
9460 cat conftest.err >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); } && {
9463 test -z "$ac_c_werror_flag" ||
9464 test ! -s conftest.err
9465 } && test -s conftest$ac_exeext &&
9466 $as_test_x conftest$ac_exeext; then
9467 case "$LIBEXT" in
9468 dll) ;;
9469 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'` ;;
9470 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9471 esac
9472 else
9473 echo "$as_me: failed program was:" >&5
9474 sed 's/^/| /' conftest.$ac_ext >&5
9479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9480 conftest$ac_exeext conftest.$ac_ext
9481 LIBS=$ac_check_soname_save_LIBS
9483 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9484 { echo "$as_me:$LINENO: result: not found" >&5
9485 echo "${ECHO_T}not found" >&6; }
9487 else
9488 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9489 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9491 cat >>confdefs.h <<_ACEOF
9492 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9493 _ACEOF
9500 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9501 then
9502 { echo "$as_me:$LINENO: checking for -lXi" >&5
9503 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9504 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9505 echo $ECHO_N "(cached) $ECHO_C" >&6
9506 else
9507 ac_check_soname_save_LIBS=$LIBS
9508 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9509 cat >conftest.$ac_ext <<_ACEOF
9510 /* confdefs.h. */
9511 _ACEOF
9512 cat confdefs.h >>conftest.$ac_ext
9513 cat >>conftest.$ac_ext <<_ACEOF
9514 /* end confdefs.h. */
9516 /* Override any GCC internal prototype to avoid an error.
9517 Use char because int might match the return type of a GCC
9518 builtin and then its argument prototype would still apply. */
9519 #ifdef __cplusplus
9520 extern "C"
9521 #endif
9522 char XOpenDevice ();
9524 main ()
9526 return XOpenDevice ();
9528 return 0;
9530 _ACEOF
9531 rm -f conftest.$ac_objext conftest$ac_exeext
9532 if { (ac_try="$ac_link"
9533 case "(($ac_try" in
9534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9535 *) ac_try_echo=$ac_try;;
9536 esac
9537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9538 (eval "$ac_link") 2>conftest.er1
9539 ac_status=$?
9540 grep -v '^ *+' conftest.er1 >conftest.err
9541 rm -f conftest.er1
9542 cat conftest.err >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); } && {
9545 test -z "$ac_c_werror_flag" ||
9546 test ! -s conftest.err
9547 } && test -s conftest$ac_exeext &&
9548 $as_test_x conftest$ac_exeext; then
9549 case "$LIBEXT" in
9550 dll) ;;
9551 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'` ;;
9552 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9553 esac
9554 else
9555 echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.$ac_ext >&5
9561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9562 conftest$ac_exeext conftest.$ac_ext
9563 LIBS=$ac_check_soname_save_LIBS
9565 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9566 { echo "$as_me:$LINENO: result: not found" >&5
9567 echo "${ECHO_T}not found" >&6; }
9569 else
9570 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9571 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9573 cat >>confdefs.h <<_ACEOF
9574 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9575 _ACEOF
9582 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9583 then
9584 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9585 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9586 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9588 else
9589 ac_check_lib_save_LIBS=$LIBS
9590 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9591 cat >conftest.$ac_ext <<_ACEOF
9592 /* confdefs.h. */
9593 _ACEOF
9594 cat confdefs.h >>conftest.$ac_ext
9595 cat >>conftest.$ac_ext <<_ACEOF
9596 /* end confdefs.h. */
9598 /* Override any GCC internal prototype to avoid an error.
9599 Use char because int might match the return type of a GCC
9600 builtin and then its argument prototype would still apply. */
9601 #ifdef __cplusplus
9602 extern "C"
9603 #endif
9604 char XShmQueryExtension ();
9606 main ()
9608 return XShmQueryExtension ();
9610 return 0;
9612 _ACEOF
9613 rm -f conftest.$ac_objext conftest$ac_exeext
9614 if { (ac_try="$ac_link"
9615 case "(($ac_try" in
9616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9617 *) ac_try_echo=$ac_try;;
9618 esac
9619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9620 (eval "$ac_link") 2>conftest.er1
9621 ac_status=$?
9622 grep -v '^ *+' conftest.er1 >conftest.err
9623 rm -f conftest.er1
9624 cat conftest.err >&5
9625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 (exit $ac_status); } && {
9627 test -z "$ac_c_werror_flag" ||
9628 test ! -s conftest.err
9629 } && test -s conftest$ac_exeext &&
9630 $as_test_x conftest$ac_exeext; then
9631 ac_cv_lib_Xext_XShmQueryExtension=yes
9632 else
9633 echo "$as_me: failed program was:" >&5
9634 sed 's/^/| /' conftest.$ac_ext >&5
9636 ac_cv_lib_Xext_XShmQueryExtension=no
9639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9640 conftest$ac_exeext conftest.$ac_ext
9641 LIBS=$ac_check_lib_save_LIBS
9643 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9644 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9645 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9647 cat >>confdefs.h <<\_ACEOF
9648 #define HAVE_LIBXXSHM 1
9649 _ACEOF
9654 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9655 wine_notices="$wine_notices|XShm development files not found.
9656 Wine will be built without XShm support. (winex11.drv)"
9660 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9661 then
9662 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9663 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9664 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9665 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 else
9667 ac_check_lib_save_LIBS=$LIBS
9668 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9669 cat >conftest.$ac_ext <<_ACEOF
9670 /* confdefs.h. */
9671 _ACEOF
9672 cat confdefs.h >>conftest.$ac_ext
9673 cat >>conftest.$ac_ext <<_ACEOF
9674 /* end confdefs.h. */
9676 /* Override any GCC internal prototype to avoid an error.
9677 Use char because int might match the return type of a GCC
9678 builtin and then its argument prototype would still apply. */
9679 #ifdef __cplusplus
9680 extern "C"
9681 #endif
9682 char XShapeQueryExtension ();
9684 main ()
9686 return XShapeQueryExtension ();
9688 return 0;
9690 _ACEOF
9691 rm -f conftest.$ac_objext conftest$ac_exeext
9692 if { (ac_try="$ac_link"
9693 case "(($ac_try" in
9694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9695 *) ac_try_echo=$ac_try;;
9696 esac
9697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9698 (eval "$ac_link") 2>conftest.er1
9699 ac_status=$?
9700 grep -v '^ *+' conftest.er1 >conftest.err
9701 rm -f conftest.er1
9702 cat conftest.err >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); } && {
9705 test -z "$ac_c_werror_flag" ||
9706 test ! -s conftest.err
9707 } && test -s conftest$ac_exeext &&
9708 $as_test_x conftest$ac_exeext; then
9709 ac_cv_lib_Xext_XShapeQueryExtension=yes
9710 else
9711 echo "$as_me: failed program was:" >&5
9712 sed 's/^/| /' conftest.$ac_ext >&5
9714 ac_cv_lib_Xext_XShapeQueryExtension=no
9717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9718 conftest$ac_exeext conftest.$ac_ext
9719 LIBS=$ac_check_lib_save_LIBS
9721 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9722 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9723 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9725 cat >>confdefs.h <<\_ACEOF
9726 #define HAVE_LIBXSHAPE 1
9727 _ACEOF
9732 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9733 wine_notices="$wine_notices|XShape development files not found.
9734 Wine will be built without XShape support. (winex11.drv)"
9738 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9739 then
9740 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9741 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9742 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 else
9745 ac_check_lib_save_LIBS=$LIBS
9746 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9747 cat >conftest.$ac_ext <<_ACEOF
9748 /* confdefs.h. */
9749 _ACEOF
9750 cat confdefs.h >>conftest.$ac_ext
9751 cat >>conftest.$ac_ext <<_ACEOF
9752 /* end confdefs.h. */
9754 /* Override any GCC internal prototype to avoid an error.
9755 Use char because int might match the return type of a GCC
9756 builtin and then its argument prototype would still apply. */
9757 #ifdef __cplusplus
9758 extern "C"
9759 #endif
9760 char XF86VidModeQueryExtension ();
9762 main ()
9764 return XF86VidModeQueryExtension ();
9766 return 0;
9768 _ACEOF
9769 rm -f conftest.$ac_objext conftest$ac_exeext
9770 if { (ac_try="$ac_link"
9771 case "(($ac_try" in
9772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9773 *) ac_try_echo=$ac_try;;
9774 esac
9775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9776 (eval "$ac_link") 2>conftest.er1
9777 ac_status=$?
9778 grep -v '^ *+' conftest.er1 >conftest.err
9779 rm -f conftest.er1
9780 cat conftest.err >&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } && {
9783 test -z "$ac_c_werror_flag" ||
9784 test ! -s conftest.err
9785 } && test -s conftest$ac_exeext &&
9786 $as_test_x conftest$ac_exeext; then
9787 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9788 else
9789 echo "$as_me: failed program was:" >&5
9790 sed 's/^/| /' conftest.$ac_ext >&5
9792 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9796 conftest$ac_exeext conftest.$ac_ext
9797 LIBS=$ac_check_lib_save_LIBS
9799 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9800 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9801 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9803 cat >>confdefs.h <<\_ACEOF
9804 #define HAVE_LIBXXF86VM 1
9805 _ACEOF
9807 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9812 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
9813 wine_notices="$wine_notices|Xxf86vm development files not found.
9814 Wine will be built without XF86 Vidmode support. (winex11.drv)"
9818 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"
9819 then
9820 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9821 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9822 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9823 echo $ECHO_N "(cached) $ECHO_C" >&6
9824 else
9825 ac_check_soname_save_LIBS=$LIBS
9826 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9827 cat >conftest.$ac_ext <<_ACEOF
9828 /* confdefs.h. */
9829 _ACEOF
9830 cat confdefs.h >>conftest.$ac_ext
9831 cat >>conftest.$ac_ext <<_ACEOF
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9837 #ifdef __cplusplus
9838 extern "C"
9839 #endif
9840 char XRenderQueryExtension ();
9842 main ()
9844 return XRenderQueryExtension ();
9846 return 0;
9848 _ACEOF
9849 rm -f conftest.$ac_objext conftest$ac_exeext
9850 if { (ac_try="$ac_link"
9851 case "(($ac_try" in
9852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9853 *) ac_try_echo=$ac_try;;
9854 esac
9855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9856 (eval "$ac_link") 2>conftest.er1
9857 ac_status=$?
9858 grep -v '^ *+' conftest.er1 >conftest.err
9859 rm -f conftest.er1
9860 cat conftest.err >&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 (exit $ac_status); } && {
9863 test -z "$ac_c_werror_flag" ||
9864 test ! -s conftest.err
9865 } && test -s conftest$ac_exeext &&
9866 $as_test_x conftest$ac_exeext; then
9867 case "$LIBEXT" in
9868 dll) ;;
9869 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'` ;;
9870 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9871 esac
9872 else
9873 echo "$as_me: failed program was:" >&5
9874 sed 's/^/| /' conftest.$ac_ext >&5
9879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9880 conftest$ac_exeext conftest.$ac_ext
9881 LIBS=$ac_check_soname_save_LIBS
9883 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9884 { echo "$as_me:$LINENO: result: not found" >&5
9885 echo "${ECHO_T}not found" >&6; }
9887 else
9888 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9889 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9891 cat >>confdefs.h <<_ACEOF
9892 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9893 _ACEOF
9895 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9896 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9897 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9898 echo $ECHO_N "(cached) $ECHO_C" >&6
9899 else
9900 ac_check_lib_save_LIBS=$LIBS
9901 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9902 cat >conftest.$ac_ext <<_ACEOF
9903 /* confdefs.h. */
9904 _ACEOF
9905 cat confdefs.h >>conftest.$ac_ext
9906 cat >>conftest.$ac_ext <<_ACEOF
9907 /* end confdefs.h. */
9909 /* Override any GCC internal prototype to avoid an error.
9910 Use char because int might match the return type of a GCC
9911 builtin and then its argument prototype would still apply. */
9912 #ifdef __cplusplus
9913 extern "C"
9914 #endif
9915 char XRenderSetPictureTransform ();
9917 main ()
9919 return XRenderSetPictureTransform ();
9921 return 0;
9923 _ACEOF
9924 rm -f conftest.$ac_objext conftest$ac_exeext
9925 if { (ac_try="$ac_link"
9926 case "(($ac_try" in
9927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9928 *) ac_try_echo=$ac_try;;
9929 esac
9930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9931 (eval "$ac_link") 2>conftest.er1
9932 ac_status=$?
9933 grep -v '^ *+' conftest.er1 >conftest.err
9934 rm -f conftest.er1
9935 cat conftest.err >&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); } && {
9938 test -z "$ac_c_werror_flag" ||
9939 test ! -s conftest.err
9940 } && test -s conftest$ac_exeext &&
9941 $as_test_x conftest$ac_exeext; then
9942 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9943 else
9944 echo "$as_me: failed program was:" >&5
9945 sed 's/^/| /' conftest.$ac_ext >&5
9947 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9951 conftest$ac_exeext conftest.$ac_ext
9952 LIBS=$ac_check_lib_save_LIBS
9954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9955 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9956 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9958 cat >>confdefs.h <<\_ACEOF
9959 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9960 _ACEOF
9968 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9969 wine_notices="$wine_notices|XRender development files not found.
9970 Wine will be built without XRender support. (winex11.drv)"
9974 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9975 then
9976 cat >conftest.$ac_ext <<_ACEOF
9977 /* confdefs.h. */
9978 _ACEOF
9979 cat confdefs.h >>conftest.$ac_ext
9980 cat >>conftest.$ac_ext <<_ACEOF
9981 /* end confdefs.h. */
9982 #include <X11/Xlib.h>
9983 #include <X11/extensions/Xrandr.h>
9985 main ()
9987 static typeof(XRRSetScreenConfigAndRate) * func;
9989 return 0;
9991 _ACEOF
9992 rm -f conftest.$ac_objext
9993 if { (ac_try="$ac_compile"
9994 case "(($ac_try" in
9995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9996 *) ac_try_echo=$ac_try;;
9997 esac
9998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9999 (eval "$ac_compile") 2>conftest.er1
10000 ac_status=$?
10001 grep -v '^ *+' conftest.er1 >conftest.err
10002 rm -f conftest.er1
10003 cat conftest.err >&5
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); } && {
10006 test -z "$ac_c_werror_flag" ||
10007 test ! -s conftest.err
10008 } && test -s conftest.$ac_objext; then
10009 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10010 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10011 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10012 echo $ECHO_N "(cached) $ECHO_C" >&6
10013 else
10014 ac_check_soname_save_LIBS=$LIBS
10015 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10016 cat >conftest.$ac_ext <<_ACEOF
10017 /* confdefs.h. */
10018 _ACEOF
10019 cat confdefs.h >>conftest.$ac_ext
10020 cat >>conftest.$ac_ext <<_ACEOF
10021 /* end confdefs.h. */
10023 /* Override any GCC internal prototype to avoid an error.
10024 Use char because int might match the return type of a GCC
10025 builtin and then its argument prototype would still apply. */
10026 #ifdef __cplusplus
10027 extern "C"
10028 #endif
10029 char XRRQueryExtension ();
10031 main ()
10033 return XRRQueryExtension ();
10035 return 0;
10037 _ACEOF
10038 rm -f conftest.$ac_objext conftest$ac_exeext
10039 if { (ac_try="$ac_link"
10040 case "(($ac_try" in
10041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10042 *) ac_try_echo=$ac_try;;
10043 esac
10044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10045 (eval "$ac_link") 2>conftest.er1
10046 ac_status=$?
10047 grep -v '^ *+' conftest.er1 >conftest.err
10048 rm -f conftest.er1
10049 cat conftest.err >&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); } && {
10052 test -z "$ac_c_werror_flag" ||
10053 test ! -s conftest.err
10054 } && test -s conftest$ac_exeext &&
10055 $as_test_x conftest$ac_exeext; then
10056 case "$LIBEXT" in
10057 dll) ;;
10058 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'` ;;
10059 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10060 esac
10061 else
10062 echo "$as_me: failed program was:" >&5
10063 sed 's/^/| /' conftest.$ac_ext >&5
10068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10069 conftest$ac_exeext conftest.$ac_ext
10070 LIBS=$ac_check_soname_save_LIBS
10072 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10073 { echo "$as_me:$LINENO: result: not found" >&5
10074 echo "${ECHO_T}not found" >&6; }
10076 else
10077 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10078 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10080 cat >>confdefs.h <<_ACEOF
10081 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10082 _ACEOF
10087 else
10088 echo "$as_me: failed program was:" >&5
10089 sed 's/^/| /' conftest.$ac_ext >&5
10094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10096 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10097 wine_notices="$wine_notices|XRandr development files not found.
10098 Wine will be built without XRandr support. (winex11.drv)"
10102 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10103 then
10104 cat >conftest.$ac_ext <<_ACEOF
10105 /* confdefs.h. */
10106 _ACEOF
10107 cat confdefs.h >>conftest.$ac_ext
10108 cat >>conftest.$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10110 #include <X11/Xlib.h>
10111 #include <X11/extensions/Xinerama.h>
10113 main ()
10115 static typeof(XineramaQueryScreens) * func;
10117 return 0;
10119 _ACEOF
10120 rm -f conftest.$ac_objext
10121 if { (ac_try="$ac_compile"
10122 case "(($ac_try" in
10123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10124 *) ac_try_echo=$ac_try;;
10125 esac
10126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10127 (eval "$ac_compile") 2>conftest.er1
10128 ac_status=$?
10129 grep -v '^ *+' conftest.er1 >conftest.err
10130 rm -f conftest.er1
10131 cat conftest.err >&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } && {
10134 test -z "$ac_c_werror_flag" ||
10135 test ! -s conftest.err
10136 } && test -s conftest.$ac_objext; then
10137 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10138 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10139 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10140 echo $ECHO_N "(cached) $ECHO_C" >&6
10141 else
10142 ac_check_soname_save_LIBS=$LIBS
10143 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10144 cat >conftest.$ac_ext <<_ACEOF
10145 /* confdefs.h. */
10146 _ACEOF
10147 cat confdefs.h >>conftest.$ac_ext
10148 cat >>conftest.$ac_ext <<_ACEOF
10149 /* end confdefs.h. */
10151 /* Override any GCC internal prototype to avoid an error.
10152 Use char because int might match the return type of a GCC
10153 builtin and then its argument prototype would still apply. */
10154 #ifdef __cplusplus
10155 extern "C"
10156 #endif
10157 char XineramaQueryScreens ();
10159 main ()
10161 return XineramaQueryScreens ();
10163 return 0;
10165 _ACEOF
10166 rm -f conftest.$ac_objext conftest$ac_exeext
10167 if { (ac_try="$ac_link"
10168 case "(($ac_try" in
10169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10170 *) ac_try_echo=$ac_try;;
10171 esac
10172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10173 (eval "$ac_link") 2>conftest.er1
10174 ac_status=$?
10175 grep -v '^ *+' conftest.er1 >conftest.err
10176 rm -f conftest.er1
10177 cat conftest.err >&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); } && {
10180 test -z "$ac_c_werror_flag" ||
10181 test ! -s conftest.err
10182 } && test -s conftest$ac_exeext &&
10183 $as_test_x conftest$ac_exeext; then
10184 case "$LIBEXT" in
10185 dll) ;;
10186 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'` ;;
10187 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10188 esac
10189 else
10190 echo "$as_me: failed program was:" >&5
10191 sed 's/^/| /' conftest.$ac_ext >&5
10196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_soname_save_LIBS
10200 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10201 { echo "$as_me:$LINENO: result: not found" >&5
10202 echo "${ECHO_T}not found" >&6; }
10204 else
10205 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10206 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10208 cat >>confdefs.h <<_ACEOF
10209 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10210 _ACEOF
10215 else
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.$ac_ext >&5
10222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10224 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10225 wine_notices="$wine_notices|Xinerama development files not found.
10226 Wine will be built without Xinerama support. (winex11.drv)"
10230 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10231 then
10232 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10233 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10234 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10235 echo $ECHO_N "(cached) $ECHO_C" >&6
10236 else
10237 ac_check_soname_save_LIBS=$LIBS
10238 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10239 cat >conftest.$ac_ext <<_ACEOF
10240 /* confdefs.h. */
10241 _ACEOF
10242 cat confdefs.h >>conftest.$ac_ext
10243 cat >>conftest.$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10246 /* Override any GCC internal prototype to avoid an error.
10247 Use char because int might match the return type of a GCC
10248 builtin and then its argument prototype would still apply. */
10249 #ifdef __cplusplus
10250 extern "C"
10251 #endif
10252 char XCompositeRedirectWindow ();
10254 main ()
10256 return XCompositeRedirectWindow ();
10258 return 0;
10260 _ACEOF
10261 rm -f conftest.$ac_objext conftest$ac_exeext
10262 if { (ac_try="$ac_link"
10263 case "(($ac_try" in
10264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10265 *) ac_try_echo=$ac_try;;
10266 esac
10267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10268 (eval "$ac_link") 2>conftest.er1
10269 ac_status=$?
10270 grep -v '^ *+' conftest.er1 >conftest.err
10271 rm -f conftest.er1
10272 cat conftest.err >&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); } && {
10275 test -z "$ac_c_werror_flag" ||
10276 test ! -s conftest.err
10277 } && test -s conftest$ac_exeext &&
10278 $as_test_x conftest$ac_exeext; then
10279 case "$LIBEXT" in
10280 dll) ;;
10281 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'` ;;
10282 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10283 esac
10284 else
10285 echo "$as_me: failed program was:" >&5
10286 sed 's/^/| /' conftest.$ac_ext >&5
10291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10292 conftest$ac_exeext conftest.$ac_ext
10293 LIBS=$ac_check_soname_save_LIBS
10295 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10296 { echo "$as_me:$LINENO: result: not found" >&5
10297 echo "${ECHO_T}not found" >&6; }
10299 else
10300 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10301 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10303 cat >>confdefs.h <<_ACEOF
10304 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10305 _ACEOF
10311 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10312 wine_notices="$wine_notices|XComposite development files not found.
10313 Wine will be built without XComposite support. (winex11.drv)"
10318 if test "x$with_opengl" != "xno"
10319 then
10324 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10327 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10329 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10330 echo $ECHO_N "(cached) $ECHO_C" >&6
10331 else
10332 cat >conftest.$ac_ext <<_ACEOF
10333 /* confdefs.h. */
10334 _ACEOF
10335 cat confdefs.h >>conftest.$ac_ext
10336 cat >>conftest.$ac_ext <<_ACEOF
10337 /* end confdefs.h. */
10338 #ifdef HAVE_GL_GLX_H
10339 # include <GL/glx.h>
10340 #endif
10342 #include <$ac_header>
10343 _ACEOF
10344 rm -f conftest.$ac_objext
10345 if { (ac_try="$ac_compile"
10346 case "(($ac_try" in
10347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10348 *) ac_try_echo=$ac_try;;
10349 esac
10350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10351 (eval "$ac_compile") 2>conftest.er1
10352 ac_status=$?
10353 grep -v '^ *+' conftest.er1 >conftest.err
10354 rm -f conftest.er1
10355 cat conftest.err >&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); } && {
10358 test -z "$ac_c_werror_flag" ||
10359 test ! -s conftest.err
10360 } && test -s conftest.$ac_objext; then
10361 eval "$as_ac_Header=yes"
10362 else
10363 echo "$as_me: failed program was:" >&5
10364 sed 's/^/| /' conftest.$ac_ext >&5
10366 eval "$as_ac_Header=no"
10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10371 ac_res=`eval echo '${'$as_ac_Header'}'`
10372 { echo "$as_me:$LINENO: result: $ac_res" >&5
10373 echo "${ECHO_T}$ac_res" >&6; }
10374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10375 cat >>confdefs.h <<_ACEOF
10376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10377 _ACEOF
10381 done
10383 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10384 then
10385 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10386 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10387 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10389 else
10390 cat >conftest.$ac_ext <<_ACEOF
10391 /* confdefs.h. */
10392 _ACEOF
10393 cat confdefs.h >>conftest.$ac_ext
10394 cat >>conftest.$ac_ext <<_ACEOF
10395 /* end confdefs.h. */
10396 #include <GL/gl.h>
10398 main ()
10400 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10402 return 0;
10404 _ACEOF
10405 rm -f conftest.$ac_objext
10406 if { (ac_try="$ac_compile"
10407 case "(($ac_try" in
10408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10409 *) ac_try_echo=$ac_try;;
10410 esac
10411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10412 (eval "$ac_compile") 2>conftest.er1
10413 ac_status=$?
10414 grep -v '^ *+' conftest.er1 >conftest.err
10415 rm -f conftest.er1
10416 cat conftest.err >&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 (exit $ac_status); } && {
10419 test -z "$ac_c_werror_flag" ||
10420 test ! -s conftest.err
10421 } && test -s conftest.$ac_objext; then
10422 wine_cv_opengl_header_version_OK="yes"
10423 else
10424 echo "$as_me: failed program was:" >&5
10425 sed 's/^/| /' conftest.$ac_ext >&5
10427 wine_cv_opengl_header_version_OK="no"
10430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10432 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10433 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10435 if test "$wine_cv_opengl_header_version_OK" = "yes"
10436 then
10437 { echo "$as_me:$LINENO: checking for -lGL" >&5
10438 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10439 if test "${ac_cv_lib_soname_GL+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 else
10442 ac_check_soname_save_LIBS=$LIBS
10443 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10444 cat >conftest.$ac_ext <<_ACEOF
10445 /* confdefs.h. */
10446 _ACEOF
10447 cat confdefs.h >>conftest.$ac_ext
10448 cat >>conftest.$ac_ext <<_ACEOF
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10454 #ifdef __cplusplus
10455 extern "C"
10456 #endif
10457 char glXCreateContext ();
10459 main ()
10461 return glXCreateContext ();
10463 return 0;
10465 _ACEOF
10466 rm -f conftest.$ac_objext conftest$ac_exeext
10467 if { (ac_try="$ac_link"
10468 case "(($ac_try" in
10469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10470 *) ac_try_echo=$ac_try;;
10471 esac
10472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10473 (eval "$ac_link") 2>conftest.er1
10474 ac_status=$?
10475 grep -v '^ *+' conftest.er1 >conftest.err
10476 rm -f conftest.er1
10477 cat conftest.err >&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); } && {
10480 test -z "$ac_c_werror_flag" ||
10481 test ! -s conftest.err
10482 } && test -s conftest$ac_exeext &&
10483 $as_test_x conftest$ac_exeext; then
10484 case "$LIBEXT" in
10485 dll) ;;
10486 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'` ;;
10487 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10488 esac
10489 else
10490 echo "$as_me: failed program was:" >&5
10491 sed 's/^/| /' conftest.$ac_ext >&5
10496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_soname_save_LIBS
10500 if test "x$ac_cv_lib_soname_GL" = "x"; then
10501 { echo "$as_me:$LINENO: result: not found" >&5
10502 echo "${ECHO_T}not found" >&6; }
10503 if test -f /usr/X11R6/lib/libGL.a
10504 then
10505 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10506 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10507 else
10508 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10509 Wine will be built without OpenGL or Direct3D support."
10511 else
10512 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10513 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10515 cat >>confdefs.h <<_ACEOF
10516 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10517 _ACEOF
10519 OPENGL_LIBS="-lGL"
10520 OPENGLFILES='$(OPENGLFILES)'
10522 cat >>confdefs.h <<\_ACEOF
10523 #define HAVE_OPENGL 1
10524 _ACEOF
10529 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10530 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10531 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10533 else
10534 ac_check_lib_save_LIBS=$LIBS
10535 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10536 cat >conftest.$ac_ext <<_ACEOF
10537 /* confdefs.h. */
10538 _ACEOF
10539 cat confdefs.h >>conftest.$ac_ext
10540 cat >>conftest.$ac_ext <<_ACEOF
10541 /* end confdefs.h. */
10543 /* Override any GCC internal prototype to avoid an error.
10544 Use char because int might match the return type of a GCC
10545 builtin and then its argument prototype would still apply. */
10546 #ifdef __cplusplus
10547 extern "C"
10548 #endif
10549 char gluLookAt ();
10551 main ()
10553 return gluLookAt ();
10555 return 0;
10557 _ACEOF
10558 rm -f conftest.$ac_objext conftest$ac_exeext
10559 if { (ac_try="$ac_link"
10560 case "(($ac_try" in
10561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10562 *) ac_try_echo=$ac_try;;
10563 esac
10564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10565 (eval "$ac_link") 2>conftest.er1
10566 ac_status=$?
10567 grep -v '^ *+' conftest.er1 >conftest.err
10568 rm -f conftest.er1
10569 cat conftest.err >&5
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); } && {
10572 test -z "$ac_c_werror_flag" ||
10573 test ! -s conftest.err
10574 } && test -s conftest$ac_exeext &&
10575 $as_test_x conftest$ac_exeext; then
10576 ac_cv_lib_GLU_gluLookAt=yes
10577 else
10578 echo "$as_me: failed program was:" >&5
10579 sed 's/^/| /' conftest.$ac_ext >&5
10581 ac_cv_lib_GLU_gluLookAt=no
10584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10585 conftest$ac_exeext conftest.$ac_ext
10586 LIBS=$ac_check_lib_save_LIBS
10588 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10589 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10590 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10591 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10592 GLU32FILES='$(GLU32FILES)'
10596 else
10597 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10598 Wine will be built without OpenGL or Direct3D support."
10600 else
10601 wine_warnings="$wine_warnings|OpenGL development headers not found.
10602 Wine will be built without OpenGL or Direct3D support."
10606 NASLIBS=""
10609 for ac_header in audio/audiolib.h
10611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10616 echo $ECHO_N "(cached) $ECHO_C" >&6
10618 ac_res=`eval echo '${'$as_ac_Header'}'`
10619 { echo "$as_me:$LINENO: result: $ac_res" >&5
10620 echo "${ECHO_T}$ac_res" >&6; }
10621 else
10622 # Is the header compilable?
10623 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10625 cat >conftest.$ac_ext <<_ACEOF
10626 /* confdefs.h. */
10627 _ACEOF
10628 cat confdefs.h >>conftest.$ac_ext
10629 cat >>conftest.$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10631 $ac_includes_default
10632 #include <$ac_header>
10633 _ACEOF
10634 rm -f conftest.$ac_objext
10635 if { (ac_try="$ac_compile"
10636 case "(($ac_try" in
10637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10638 *) ac_try_echo=$ac_try;;
10639 esac
10640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10641 (eval "$ac_compile") 2>conftest.er1
10642 ac_status=$?
10643 grep -v '^ *+' conftest.er1 >conftest.err
10644 rm -f conftest.er1
10645 cat conftest.err >&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); } && {
10648 test -z "$ac_c_werror_flag" ||
10649 test ! -s conftest.err
10650 } && test -s conftest.$ac_objext; then
10651 ac_header_compiler=yes
10652 else
10653 echo "$as_me: failed program was:" >&5
10654 sed 's/^/| /' conftest.$ac_ext >&5
10656 ac_header_compiler=no
10659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10660 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10661 echo "${ECHO_T}$ac_header_compiler" >&6; }
10663 # Is the header present?
10664 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10666 cat >conftest.$ac_ext <<_ACEOF
10667 /* confdefs.h. */
10668 _ACEOF
10669 cat confdefs.h >>conftest.$ac_ext
10670 cat >>conftest.$ac_ext <<_ACEOF
10671 /* end confdefs.h. */
10672 #include <$ac_header>
10673 _ACEOF
10674 if { (ac_try="$ac_cpp conftest.$ac_ext"
10675 case "(($ac_try" in
10676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10677 *) ac_try_echo=$ac_try;;
10678 esac
10679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10681 ac_status=$?
10682 grep -v '^ *+' conftest.er1 >conftest.err
10683 rm -f conftest.er1
10684 cat conftest.err >&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); } >/dev/null && {
10687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10688 test ! -s conftest.err
10689 }; then
10690 ac_header_preproc=yes
10691 else
10692 echo "$as_me: failed program was:" >&5
10693 sed 's/^/| /' conftest.$ac_ext >&5
10695 ac_header_preproc=no
10698 rm -f conftest.err conftest.$ac_ext
10699 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10700 echo "${ECHO_T}$ac_header_preproc" >&6; }
10702 # So? What about this header?
10703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10704 yes:no: )
10705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10709 ac_header_preproc=yes
10711 no:yes:* )
10712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10724 ( cat <<\_ASBOX
10725 ## ------------------------------------ ##
10726 ## Report this to wine-devel@winehq.org ##
10727 ## ------------------------------------ ##
10728 _ASBOX
10729 ) | sed "s/^/$as_me: WARNING: /" >&2
10731 esac
10732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10735 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 else
10737 eval "$as_ac_Header=\$ac_header_preproc"
10739 ac_res=`eval echo '${'$as_ac_Header'}'`
10740 { echo "$as_me:$LINENO: result: $ac_res" >&5
10741 echo "${ECHO_T}$ac_res" >&6; }
10744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10745 cat >>confdefs.h <<_ACEOF
10746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10747 _ACEOF
10749 for ac_header in audio/soundlib.h
10751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10752 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10755 echo $ECHO_N "(cached) $ECHO_C" >&6
10756 else
10757 cat >conftest.$ac_ext <<_ACEOF
10758 /* confdefs.h. */
10759 _ACEOF
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 #include <audio/audiolib.h>
10765 #include <$ac_header>
10766 _ACEOF
10767 rm -f conftest.$ac_objext
10768 if { (ac_try="$ac_compile"
10769 case "(($ac_try" in
10770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10771 *) ac_try_echo=$ac_try;;
10772 esac
10773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10774 (eval "$ac_compile") 2>conftest.er1
10775 ac_status=$?
10776 grep -v '^ *+' conftest.er1 >conftest.err
10777 rm -f conftest.er1
10778 cat conftest.err >&5
10779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10780 (exit $ac_status); } && {
10781 test -z "$ac_c_werror_flag" ||
10782 test ! -s conftest.err
10783 } && test -s conftest.$ac_objext; then
10784 eval "$as_ac_Header=yes"
10785 else
10786 echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.$ac_ext >&5
10789 eval "$as_ac_Header=no"
10792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10794 ac_res=`eval echo '${'$as_ac_Header'}'`
10795 { echo "$as_me:$LINENO: result: $ac_res" >&5
10796 echo "${ECHO_T}$ac_res" >&6; }
10797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10798 cat >>confdefs.h <<_ACEOF
10799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10800 _ACEOF
10804 done
10806 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10807 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10808 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10810 else
10811 ac_check_lib_save_LIBS=$LIBS
10812 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10813 cat >conftest.$ac_ext <<_ACEOF
10814 /* confdefs.h. */
10815 _ACEOF
10816 cat confdefs.h >>conftest.$ac_ext
10817 cat >>conftest.$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10820 /* Override any GCC internal prototype to avoid an error.
10821 Use char because int might match the return type of a GCC
10822 builtin and then its argument prototype would still apply. */
10823 #ifdef __cplusplus
10824 extern "C"
10825 #endif
10826 char AuCreateFlow ();
10828 main ()
10830 return AuCreateFlow ();
10832 return 0;
10834 _ACEOF
10835 rm -f conftest.$ac_objext conftest$ac_exeext
10836 if { (ac_try="$ac_link"
10837 case "(($ac_try" in
10838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10839 *) ac_try_echo=$ac_try;;
10840 esac
10841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10842 (eval "$ac_link") 2>conftest.er1
10843 ac_status=$?
10844 grep -v '^ *+' conftest.er1 >conftest.err
10845 rm -f conftest.er1
10846 cat conftest.err >&5
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); } && {
10849 test -z "$ac_c_werror_flag" ||
10850 test ! -s conftest.err
10851 } && test -s conftest$ac_exeext &&
10852 $as_test_x conftest$ac_exeext; then
10853 ac_cv_lib_audio_AuCreateFlow=yes
10854 else
10855 echo "$as_me: failed program was:" >&5
10856 sed 's/^/| /' conftest.$ac_ext >&5
10858 ac_cv_lib_audio_AuCreateFlow=no
10861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10862 conftest$ac_exeext conftest.$ac_ext
10863 LIBS=$ac_check_lib_save_LIBS
10865 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10866 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10867 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10869 cat >>confdefs.h <<\_ACEOF
10870 #define HAVE_NAS 1
10871 _ACEOF
10873 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10874 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10875 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 else
10878 ac_check_lib_save_LIBS=$LIBS
10879 LIBS="-lXau $X_LIBS $LIBS"
10880 cat >conftest.$ac_ext <<_ACEOF
10881 /* confdefs.h. */
10882 _ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10887 /* Override any GCC internal prototype to avoid an error.
10888 Use char because int might match the return type of a GCC
10889 builtin and then its argument prototype would still apply. */
10890 #ifdef __cplusplus
10891 extern "C"
10892 #endif
10893 char XauGetBestAuthByAddr ();
10895 main ()
10897 return XauGetBestAuthByAddr ();
10899 return 0;
10901 _ACEOF
10902 rm -f conftest.$ac_objext conftest$ac_exeext
10903 if { (ac_try="$ac_link"
10904 case "(($ac_try" in
10905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10906 *) ac_try_echo=$ac_try;;
10907 esac
10908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10909 (eval "$ac_link") 2>conftest.er1
10910 ac_status=$?
10911 grep -v '^ *+' conftest.er1 >conftest.err
10912 rm -f conftest.er1
10913 cat conftest.err >&5
10914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915 (exit $ac_status); } && {
10916 test -z "$ac_c_werror_flag" ||
10917 test ! -s conftest.err
10918 } && test -s conftest$ac_exeext &&
10919 $as_test_x conftest$ac_exeext; then
10920 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10921 else
10922 echo "$as_me: failed program was:" >&5
10923 sed 's/^/| /' conftest.$ac_ext >&5
10925 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LIBS=$ac_check_lib_save_LIBS
10932 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10933 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10934 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10935 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10936 else
10937 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10945 done
10948 CPPFLAGS="$ac_save_CPPFLAGS"
10949 XFILES='$(XFILES)'
10950 else
10951 XLIB=""
10952 X_CFLAGS=""
10953 X_LIBS=""
10954 wine_warnings="$wine_warnings|X development files not found. Wine will be built
10955 without X support, which probably isn't what you want. You will need to install
10956 development packages of Xlib/Xfree86 at the very least."
10960 XML2LIBS=""
10962 XML2INCL=""
10964 XSLTLIBS=""
10966 XSLTINCL=""
10968 ac_save_CPPFLAGS="$CPPFLAGS"
10969 if test "$PKG_CONFIG" != "false"
10970 then
10971 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10972 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10973 else
10974 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10975 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10977 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10979 for ac_header in libxml/parser.h
10981 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10983 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10988 ac_res=`eval echo '${'$as_ac_Header'}'`
10989 { echo "$as_me:$LINENO: result: $ac_res" >&5
10990 echo "${ECHO_T}$ac_res" >&6; }
10991 else
10992 # Is the header compilable?
10993 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10995 cat >conftest.$ac_ext <<_ACEOF
10996 /* confdefs.h. */
10997 _ACEOF
10998 cat confdefs.h >>conftest.$ac_ext
10999 cat >>conftest.$ac_ext <<_ACEOF
11000 /* end confdefs.h. */
11001 $ac_includes_default
11002 #include <$ac_header>
11003 _ACEOF
11004 rm -f conftest.$ac_objext
11005 if { (ac_try="$ac_compile"
11006 case "(($ac_try" in
11007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11008 *) ac_try_echo=$ac_try;;
11009 esac
11010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11011 (eval "$ac_compile") 2>conftest.er1
11012 ac_status=$?
11013 grep -v '^ *+' conftest.er1 >conftest.err
11014 rm -f conftest.er1
11015 cat conftest.err >&5
11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11017 (exit $ac_status); } && {
11018 test -z "$ac_c_werror_flag" ||
11019 test ! -s conftest.err
11020 } && test -s conftest.$ac_objext; then
11021 ac_header_compiler=yes
11022 else
11023 echo "$as_me: failed program was:" >&5
11024 sed 's/^/| /' conftest.$ac_ext >&5
11026 ac_header_compiler=no
11029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11030 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11031 echo "${ECHO_T}$ac_header_compiler" >&6; }
11033 # Is the header present?
11034 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11036 cat >conftest.$ac_ext <<_ACEOF
11037 /* confdefs.h. */
11038 _ACEOF
11039 cat confdefs.h >>conftest.$ac_ext
11040 cat >>conftest.$ac_ext <<_ACEOF
11041 /* end confdefs.h. */
11042 #include <$ac_header>
11043 _ACEOF
11044 if { (ac_try="$ac_cpp conftest.$ac_ext"
11045 case "(($ac_try" in
11046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11047 *) ac_try_echo=$ac_try;;
11048 esac
11049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11051 ac_status=$?
11052 grep -v '^ *+' conftest.er1 >conftest.err
11053 rm -f conftest.er1
11054 cat conftest.err >&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); } >/dev/null && {
11057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11058 test ! -s conftest.err
11059 }; then
11060 ac_header_preproc=yes
11061 else
11062 echo "$as_me: failed program was:" >&5
11063 sed 's/^/| /' conftest.$ac_ext >&5
11065 ac_header_preproc=no
11068 rm -f conftest.err conftest.$ac_ext
11069 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11070 echo "${ECHO_T}$ac_header_preproc" >&6; }
11072 # So? What about this header?
11073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11074 yes:no: )
11075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11079 ac_header_preproc=yes
11081 no:yes:* )
11082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11094 ( cat <<\_ASBOX
11095 ## ------------------------------------ ##
11096 ## Report this to wine-devel@winehq.org ##
11097 ## ------------------------------------ ##
11098 _ASBOX
11099 ) | sed "s/^/$as_me: WARNING: /" >&2
11101 esac
11102 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11105 echo $ECHO_N "(cached) $ECHO_C" >&6
11106 else
11107 eval "$as_ac_Header=\$ac_header_preproc"
11109 ac_res=`eval echo '${'$as_ac_Header'}'`
11110 { echo "$as_me:$LINENO: result: $ac_res" >&5
11111 echo "${ECHO_T}$ac_res" >&6; }
11114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11115 cat >>confdefs.h <<_ACEOF
11116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11117 _ACEOF
11118 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11119 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11120 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11121 echo $ECHO_N "(cached) $ECHO_C" >&6
11122 else
11123 ac_check_lib_save_LIBS=$LIBS
11124 LIBS="-lxml2 $ac_xml_libs $LIBS"
11125 cat >conftest.$ac_ext <<_ACEOF
11126 /* confdefs.h. */
11127 _ACEOF
11128 cat confdefs.h >>conftest.$ac_ext
11129 cat >>conftest.$ac_ext <<_ACEOF
11130 /* end confdefs.h. */
11132 /* Override any GCC internal prototype to avoid an error.
11133 Use char because int might match the return type of a GCC
11134 builtin and then its argument prototype would still apply. */
11135 #ifdef __cplusplus
11136 extern "C"
11137 #endif
11138 char xmlParseMemory ();
11140 main ()
11142 return xmlParseMemory ();
11144 return 0;
11146 _ACEOF
11147 rm -f conftest.$ac_objext conftest$ac_exeext
11148 if { (ac_try="$ac_link"
11149 case "(($ac_try" in
11150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11151 *) ac_try_echo=$ac_try;;
11152 esac
11153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11154 (eval "$ac_link") 2>conftest.er1
11155 ac_status=$?
11156 grep -v '^ *+' conftest.er1 >conftest.err
11157 rm -f conftest.er1
11158 cat conftest.err >&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); } && {
11161 test -z "$ac_c_werror_flag" ||
11162 test ! -s conftest.err
11163 } && test -s conftest$ac_exeext &&
11164 $as_test_x conftest$ac_exeext; then
11165 ac_cv_lib_xml2_xmlParseMemory=yes
11166 else
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.$ac_ext >&5
11170 ac_cv_lib_xml2_xmlParseMemory=no
11173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11174 conftest$ac_exeext conftest.$ac_ext
11175 LIBS=$ac_check_lib_save_LIBS
11177 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11178 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11179 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11181 cat >>confdefs.h <<\_ACEOF
11182 #define HAVE_LIBXML2 1
11183 _ACEOF
11185 XML2LIBS="$ac_xml_libs"
11186 XML2INCL="$ac_xml_cflags"
11189 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11190 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11191 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 else
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-lxml2 $ac_xml_libs $LIBS"
11196 cat >conftest.$ac_ext <<_ACEOF
11197 /* confdefs.h. */
11198 _ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h. */
11203 /* Override any GCC internal prototype to avoid an error.
11204 Use char because int might match the return type of a GCC
11205 builtin and then its argument prototype would still apply. */
11206 #ifdef __cplusplus
11207 extern "C"
11208 #endif
11209 char xmlReadMemory ();
11211 main ()
11213 return xmlReadMemory ();
11215 return 0;
11217 _ACEOF
11218 rm -f conftest.$ac_objext conftest$ac_exeext
11219 if { (ac_try="$ac_link"
11220 case "(($ac_try" in
11221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11222 *) ac_try_echo=$ac_try;;
11223 esac
11224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11225 (eval "$ac_link") 2>conftest.er1
11226 ac_status=$?
11227 grep -v '^ *+' conftest.er1 >conftest.err
11228 rm -f conftest.er1
11229 cat conftest.err >&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } && {
11232 test -z "$ac_c_werror_flag" ||
11233 test ! -s conftest.err
11234 } && test -s conftest$ac_exeext &&
11235 $as_test_x conftest$ac_exeext; then
11236 ac_cv_lib_xml2_xmlReadMemory=yes
11237 else
11238 echo "$as_me: failed program was:" >&5
11239 sed 's/^/| /' conftest.$ac_ext >&5
11241 ac_cv_lib_xml2_xmlReadMemory=no
11244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11245 conftest$ac_exeext conftest.$ac_ext
11246 LIBS=$ac_check_lib_save_LIBS
11248 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11249 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11250 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11252 cat >>confdefs.h <<\_ACEOF
11253 #define HAVE_XMLREADMEMORY 1
11254 _ACEOF
11258 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11259 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11260 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11261 echo $ECHO_N "(cached) $ECHO_C" >&6
11262 else
11263 ac_check_lib_save_LIBS=$LIBS
11264 LIBS="-lxml2 $ac_xml_libs $LIBS"
11265 cat >conftest.$ac_ext <<_ACEOF
11266 /* confdefs.h. */
11267 _ACEOF
11268 cat confdefs.h >>conftest.$ac_ext
11269 cat >>conftest.$ac_ext <<_ACEOF
11270 /* end confdefs.h. */
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11275 #ifdef __cplusplus
11276 extern "C"
11277 #endif
11278 char xmlNewDocPI ();
11280 main ()
11282 return xmlNewDocPI ();
11284 return 0;
11286 _ACEOF
11287 rm -f conftest.$ac_objext conftest$ac_exeext
11288 if { (ac_try="$ac_link"
11289 case "(($ac_try" in
11290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11291 *) ac_try_echo=$ac_try;;
11292 esac
11293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11294 (eval "$ac_link") 2>conftest.er1
11295 ac_status=$?
11296 grep -v '^ *+' conftest.er1 >conftest.err
11297 rm -f conftest.er1
11298 cat conftest.err >&5
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); } && {
11301 test -z "$ac_c_werror_flag" ||
11302 test ! -s conftest.err
11303 } && test -s conftest$ac_exeext &&
11304 $as_test_x conftest$ac_exeext; then
11305 ac_cv_lib_xml2_xmlNewDocPI=yes
11306 else
11307 echo "$as_me: failed program was:" >&5
11308 sed 's/^/| /' conftest.$ac_ext >&5
11310 ac_cv_lib_xml2_xmlNewDocPI=no
11313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11314 conftest$ac_exeext conftest.$ac_ext
11315 LIBS=$ac_check_lib_save_LIBS
11317 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11318 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11319 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11321 cat >>confdefs.h <<\_ACEOF
11322 #define HAVE_XMLNEWDOCPI 1
11323 _ACEOF
11330 done
11332 CPPFLAGS="$ac_save_CPPFLAGS"
11333 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11334 wine_notices="$wine_notices|libxml2 development files not found.
11335 Wine will be built without XML support. (msxml.dll)"
11339 if test "$PKG_CONFIG" != "false"
11340 then
11341 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11342 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11343 else
11344 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11345 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11347 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11350 for ac_header in libxslt/pattern.h libxslt/transform.h
11352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11353 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11356 echo $ECHO_N "(cached) $ECHO_C" >&6
11357 else
11358 cat >conftest.$ac_ext <<_ACEOF
11359 /* confdefs.h. */
11360 _ACEOF
11361 cat confdefs.h >>conftest.$ac_ext
11362 cat >>conftest.$ac_ext <<_ACEOF
11363 /* end confdefs.h. */
11364 #ifdef HAVE_LIBXSLT_PATTERN_H
11365 # include <libxslt/pattern.h>
11366 #endif
11368 #include <$ac_header>
11369 _ACEOF
11370 rm -f conftest.$ac_objext
11371 if { (ac_try="$ac_compile"
11372 case "(($ac_try" in
11373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11374 *) ac_try_echo=$ac_try;;
11375 esac
11376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11377 (eval "$ac_compile") 2>conftest.er1
11378 ac_status=$?
11379 grep -v '^ *+' conftest.er1 >conftest.err
11380 rm -f conftest.er1
11381 cat conftest.err >&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } && {
11384 test -z "$ac_c_werror_flag" ||
11385 test ! -s conftest.err
11386 } && test -s conftest.$ac_objext; then
11387 eval "$as_ac_Header=yes"
11388 else
11389 echo "$as_me: failed program was:" >&5
11390 sed 's/^/| /' conftest.$ac_ext >&5
11392 eval "$as_ac_Header=no"
11395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11397 ac_res=`eval echo '${'$as_ac_Header'}'`
11398 { echo "$as_me:$LINENO: result: $ac_res" >&5
11399 echo "${ECHO_T}$ac_res" >&6; }
11400 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11401 cat >>confdefs.h <<_ACEOF
11402 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11403 _ACEOF
11404 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11405 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11406 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11407 echo $ECHO_N "(cached) $ECHO_C" >&6
11408 else
11409 ac_check_lib_save_LIBS=$LIBS
11410 LIBS="-lxslt $ac_xslt_libs $LIBS"
11411 cat >conftest.$ac_ext <<_ACEOF
11412 /* confdefs.h. */
11413 _ACEOF
11414 cat confdefs.h >>conftest.$ac_ext
11415 cat >>conftest.$ac_ext <<_ACEOF
11416 /* end confdefs.h. */
11418 /* Override any GCC internal prototype to avoid an error.
11419 Use char because int might match the return type of a GCC
11420 builtin and then its argument prototype would still apply. */
11421 #ifdef __cplusplus
11422 extern "C"
11423 #endif
11424 char xsltCompilePattern ();
11426 main ()
11428 return xsltCompilePattern ();
11430 return 0;
11432 _ACEOF
11433 rm -f conftest.$ac_objext conftest$ac_exeext
11434 if { (ac_try="$ac_link"
11435 case "(($ac_try" in
11436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11437 *) ac_try_echo=$ac_try;;
11438 esac
11439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11440 (eval "$ac_link") 2>conftest.er1
11441 ac_status=$?
11442 grep -v '^ *+' conftest.er1 >conftest.err
11443 rm -f conftest.er1
11444 cat conftest.err >&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); } && {
11447 test -z "$ac_c_werror_flag" ||
11448 test ! -s conftest.err
11449 } && test -s conftest$ac_exeext &&
11450 $as_test_x conftest$ac_exeext; then
11451 ac_cv_lib_xslt_xsltCompilePattern=yes
11452 else
11453 echo "$as_me: failed program was:" >&5
11454 sed 's/^/| /' conftest.$ac_ext >&5
11456 ac_cv_lib_xslt_xsltCompilePattern=no
11459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11464 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11465 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11467 cat >>confdefs.h <<\_ACEOF
11468 #define HAVE_LIBXSLT 1
11469 _ACEOF
11471 XSLTLIBS="$ac_xslt_libs"
11472 XSLTINCL="$ac_xslt_cflags"
11478 done
11480 CPPFLAGS="$ac_save_CPPFLAGS"
11481 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11482 wine_notices="$wine_notices|libxslt development files not found.
11483 Wine will be built without xslt support. (msxml.dll)"
11487 HALINCL=""
11489 if test "$PKG_CONFIG" != "false"
11490 then
11491 ac_save_CPPFLAGS="$CPPFLAGS"
11492 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11493 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11494 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11497 for ac_header in dbus/dbus.h hal/libhal.h
11499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11501 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 ac_res=`eval echo '${'$as_ac_Header'}'`
11507 { echo "$as_me:$LINENO: result: $ac_res" >&5
11508 echo "${ECHO_T}$ac_res" >&6; }
11509 else
11510 # Is the header compilable?
11511 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11513 cat >conftest.$ac_ext <<_ACEOF
11514 /* confdefs.h. */
11515 _ACEOF
11516 cat confdefs.h >>conftest.$ac_ext
11517 cat >>conftest.$ac_ext <<_ACEOF
11518 /* end confdefs.h. */
11519 $ac_includes_default
11520 #include <$ac_header>
11521 _ACEOF
11522 rm -f conftest.$ac_objext
11523 if { (ac_try="$ac_compile"
11524 case "(($ac_try" in
11525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11526 *) ac_try_echo=$ac_try;;
11527 esac
11528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11529 (eval "$ac_compile") 2>conftest.er1
11530 ac_status=$?
11531 grep -v '^ *+' conftest.er1 >conftest.err
11532 rm -f conftest.er1
11533 cat conftest.err >&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); } && {
11536 test -z "$ac_c_werror_flag" ||
11537 test ! -s conftest.err
11538 } && test -s conftest.$ac_objext; then
11539 ac_header_compiler=yes
11540 else
11541 echo "$as_me: failed program was:" >&5
11542 sed 's/^/| /' conftest.$ac_ext >&5
11544 ac_header_compiler=no
11547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11548 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11549 echo "${ECHO_T}$ac_header_compiler" >&6; }
11551 # Is the header present?
11552 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11553 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11554 cat >conftest.$ac_ext <<_ACEOF
11555 /* confdefs.h. */
11556 _ACEOF
11557 cat confdefs.h >>conftest.$ac_ext
11558 cat >>conftest.$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11560 #include <$ac_header>
11561 _ACEOF
11562 if { (ac_try="$ac_cpp conftest.$ac_ext"
11563 case "(($ac_try" in
11564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11565 *) ac_try_echo=$ac_try;;
11566 esac
11567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11569 ac_status=$?
11570 grep -v '^ *+' conftest.er1 >conftest.err
11571 rm -f conftest.er1
11572 cat conftest.err >&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); } >/dev/null && {
11575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11576 test ! -s conftest.err
11577 }; then
11578 ac_header_preproc=yes
11579 else
11580 echo "$as_me: failed program was:" >&5
11581 sed 's/^/| /' conftest.$ac_ext >&5
11583 ac_header_preproc=no
11586 rm -f conftest.err conftest.$ac_ext
11587 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11588 echo "${ECHO_T}$ac_header_preproc" >&6; }
11590 # So? What about this header?
11591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11592 yes:no: )
11593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11597 ac_header_preproc=yes
11599 no:yes:* )
11600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11612 ( cat <<\_ASBOX
11613 ## ------------------------------------ ##
11614 ## Report this to wine-devel@winehq.org ##
11615 ## ------------------------------------ ##
11616 _ASBOX
11617 ) | sed "s/^/$as_me: WARNING: /" >&2
11619 esac
11620 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11622 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11623 echo $ECHO_N "(cached) $ECHO_C" >&6
11624 else
11625 eval "$as_ac_Header=\$ac_header_preproc"
11627 ac_res=`eval echo '${'$as_ac_Header'}'`
11628 { echo "$as_me:$LINENO: result: $ac_res" >&5
11629 echo "${ECHO_T}$ac_res" >&6; }
11632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11633 cat >>confdefs.h <<_ACEOF
11634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11635 _ACEOF
11639 done
11641 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11642 then
11643 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11644 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11645 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11646 echo $ECHO_N "(cached) $ECHO_C" >&6
11647 else
11648 ac_check_lib_save_LIBS=$LIBS
11649 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11650 cat >conftest.$ac_ext <<_ACEOF
11651 /* confdefs.h. */
11652 _ACEOF
11653 cat confdefs.h >>conftest.$ac_ext
11654 cat >>conftest.$ac_ext <<_ACEOF
11655 /* end confdefs.h. */
11657 /* Override any GCC internal prototype to avoid an error.
11658 Use char because int might match the return type of a GCC
11659 builtin and then its argument prototype would still apply. */
11660 #ifdef __cplusplus
11661 extern "C"
11662 #endif
11663 char dbus_connection_close ();
11665 main ()
11667 return dbus_connection_close ();
11669 return 0;
11671 _ACEOF
11672 rm -f conftest.$ac_objext conftest$ac_exeext
11673 if { (ac_try="$ac_link"
11674 case "(($ac_try" in
11675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11676 *) ac_try_echo=$ac_try;;
11677 esac
11678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11679 (eval "$ac_link") 2>conftest.er1
11680 ac_status=$?
11681 grep -v '^ *+' conftest.er1 >conftest.err
11682 rm -f conftest.er1
11683 cat conftest.err >&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); } && {
11686 test -z "$ac_c_werror_flag" ||
11687 test ! -s conftest.err
11688 } && test -s conftest$ac_exeext &&
11689 $as_test_x conftest$ac_exeext; then
11690 ac_cv_lib_dbus_1_dbus_connection_close=yes
11691 else
11692 echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.$ac_ext >&5
11695 ac_cv_lib_dbus_1_dbus_connection_close=no
11698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11699 conftest$ac_exeext conftest.$ac_ext
11700 LIBS=$ac_check_lib_save_LIBS
11702 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11703 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11704 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11705 { echo "$as_me:$LINENO: checking for -lhal" >&5
11706 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11707 if test "${ac_cv_lib_soname_hal+set}" = set; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11709 else
11710 ac_check_soname_save_LIBS=$LIBS
11711 LIBS="-lhal $ac_hal_libs $LIBS"
11712 cat >conftest.$ac_ext <<_ACEOF
11713 /* confdefs.h. */
11714 _ACEOF
11715 cat confdefs.h >>conftest.$ac_ext
11716 cat >>conftest.$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 char libhal_ctx_new ();
11727 main ()
11729 return libhal_ctx_new ();
11731 return 0;
11733 _ACEOF
11734 rm -f conftest.$ac_objext conftest$ac_exeext
11735 if { (ac_try="$ac_link"
11736 case "(($ac_try" in
11737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11738 *) ac_try_echo=$ac_try;;
11739 esac
11740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11741 (eval "$ac_link") 2>conftest.er1
11742 ac_status=$?
11743 grep -v '^ *+' conftest.er1 >conftest.err
11744 rm -f conftest.er1
11745 cat conftest.err >&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); } && {
11748 test -z "$ac_c_werror_flag" ||
11749 test ! -s conftest.err
11750 } && test -s conftest$ac_exeext &&
11751 $as_test_x conftest$ac_exeext; then
11752 case "$LIBEXT" in
11753 dll) ;;
11754 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'` ;;
11755 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11756 esac
11757 else
11758 echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.$ac_ext >&5
11764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11765 conftest$ac_exeext conftest.$ac_ext
11766 LIBS=$ac_check_soname_save_LIBS
11768 if test "x$ac_cv_lib_soname_hal" = "x"; then
11769 { echo "$as_me:$LINENO: result: not found" >&5
11770 echo "${ECHO_T}not found" >&6; }
11772 else
11773 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11774 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11776 cat >>confdefs.h <<_ACEOF
11777 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11778 _ACEOF
11780 HALINCL="$ac_hal_cflags"
11786 CPPFLAGS="$ac_save_CPPFLAGS"
11788 if test "x$ac_cv_lib_soname_hal" = "x"; then
11789 wine_notices="$wine_notices|libhal development files not found.
11790 Wine will be built without dynamic device support. (explorer.exe)"
11794 CURSESLIBS=""
11795 if test "$ac_cv_header_ncurses_h" = "yes"
11796 then
11797 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11798 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11799 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11800 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 else
11802 ac_check_soname_save_LIBS=$LIBS
11803 LIBS="-lncurses $LIBS"
11804 cat >conftest.$ac_ext <<_ACEOF
11805 /* confdefs.h. */
11806 _ACEOF
11807 cat confdefs.h >>conftest.$ac_ext
11808 cat >>conftest.$ac_ext <<_ACEOF
11809 /* end confdefs.h. */
11811 /* Override any GCC internal prototype to avoid an error.
11812 Use char because int might match the return type of a GCC
11813 builtin and then its argument prototype would still apply. */
11814 #ifdef __cplusplus
11815 extern "C"
11816 #endif
11817 char waddch ();
11819 main ()
11821 return waddch ();
11823 return 0;
11825 _ACEOF
11826 rm -f conftest.$ac_objext conftest$ac_exeext
11827 if { (ac_try="$ac_link"
11828 case "(($ac_try" in
11829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11830 *) ac_try_echo=$ac_try;;
11831 esac
11832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11833 (eval "$ac_link") 2>conftest.er1
11834 ac_status=$?
11835 grep -v '^ *+' conftest.er1 >conftest.err
11836 rm -f conftest.er1
11837 cat conftest.err >&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } && {
11840 test -z "$ac_c_werror_flag" ||
11841 test ! -s conftest.err
11842 } && test -s conftest$ac_exeext &&
11843 $as_test_x conftest$ac_exeext; then
11844 case "$LIBEXT" in
11845 dll) ;;
11846 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'` ;;
11847 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11848 esac
11849 else
11850 echo "$as_me: failed program was:" >&5
11851 sed 's/^/| /' conftest.$ac_ext >&5
11856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11857 conftest$ac_exeext conftest.$ac_ext
11858 LIBS=$ac_check_soname_save_LIBS
11860 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11861 { echo "$as_me:$LINENO: result: not found" >&5
11862 echo "${ECHO_T}not found" >&6; }
11864 else
11865 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11866 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11868 cat >>confdefs.h <<_ACEOF
11869 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11870 _ACEOF
11872 CURSESLIBS="-lncurses"
11875 elif test "$ac_cv_header_curses_h" = "yes"
11876 then
11877 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11878 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11879 if test "${ac_cv_lib_soname_curses+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 else
11882 ac_check_soname_save_LIBS=$LIBS
11883 LIBS="-lcurses $LIBS"
11884 cat >conftest.$ac_ext <<_ACEOF
11885 /* confdefs.h. */
11886 _ACEOF
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11891 /* Override any GCC internal prototype to avoid an error.
11892 Use char because int might match the return type of a GCC
11893 builtin and then its argument prototype would still apply. */
11894 #ifdef __cplusplus
11895 extern "C"
11896 #endif
11897 char waddch ();
11899 main ()
11901 return waddch ();
11903 return 0;
11905 _ACEOF
11906 rm -f conftest.$ac_objext conftest$ac_exeext
11907 if { (ac_try="$ac_link"
11908 case "(($ac_try" in
11909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11910 *) ac_try_echo=$ac_try;;
11911 esac
11912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11913 (eval "$ac_link") 2>conftest.er1
11914 ac_status=$?
11915 grep -v '^ *+' conftest.er1 >conftest.err
11916 rm -f conftest.er1
11917 cat conftest.err >&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } && {
11920 test -z "$ac_c_werror_flag" ||
11921 test ! -s conftest.err
11922 } && test -s conftest$ac_exeext &&
11923 $as_test_x conftest$ac_exeext; then
11924 case "$LIBEXT" in
11925 dll) ;;
11926 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'` ;;
11927 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11928 esac
11929 else
11930 echo "$as_me: failed program was:" >&5
11931 sed 's/^/| /' conftest.$ac_ext >&5
11936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11937 conftest$ac_exeext conftest.$ac_ext
11938 LIBS=$ac_check_soname_save_LIBS
11940 if test "x$ac_cv_lib_soname_curses" = "x"; then
11941 { echo "$as_me:$LINENO: result: not found" >&5
11942 echo "${ECHO_T}not found" >&6; }
11944 else
11945 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11946 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11948 cat >>confdefs.h <<_ACEOF
11949 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11950 _ACEOF
11952 CURSESLIBS="-lcurses"
11956 ac_save_LIBS="$LIBS"
11957 LIBS="$LIBS $CURSESLIBS"
11959 for ac_func in mousemask
11961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11962 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11964 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11966 else
11967 cat >conftest.$ac_ext <<_ACEOF
11968 /* confdefs.h. */
11969 _ACEOF
11970 cat confdefs.h >>conftest.$ac_ext
11971 cat >>conftest.$ac_ext <<_ACEOF
11972 /* end confdefs.h. */
11973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11975 #define $ac_func innocuous_$ac_func
11977 /* System header to define __stub macros and hopefully few prototypes,
11978 which can conflict with char $ac_func (); below.
11979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11980 <limits.h> exists even on freestanding compilers. */
11982 #ifdef __STDC__
11983 # include <limits.h>
11984 #else
11985 # include <assert.h>
11986 #endif
11988 #undef $ac_func
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
11993 #ifdef __cplusplus
11994 extern "C"
11995 #endif
11996 char $ac_func ();
11997 /* The GNU C library defines this for functions which it implements
11998 to always fail with ENOSYS. Some functions are actually named
11999 something starting with __ and the normal name is an alias. */
12000 #if defined __stub_$ac_func || defined __stub___$ac_func
12001 choke me
12002 #endif
12005 main ()
12007 return $ac_func ();
12009 return 0;
12011 _ACEOF
12012 rm -f conftest.$ac_objext conftest$ac_exeext
12013 if { (ac_try="$ac_link"
12014 case "(($ac_try" in
12015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12016 *) ac_try_echo=$ac_try;;
12017 esac
12018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12019 (eval "$ac_link") 2>conftest.er1
12020 ac_status=$?
12021 grep -v '^ *+' conftest.er1 >conftest.err
12022 rm -f conftest.er1
12023 cat conftest.err >&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } && {
12026 test -z "$ac_c_werror_flag" ||
12027 test ! -s conftest.err
12028 } && test -s conftest$ac_exeext &&
12029 $as_test_x conftest$ac_exeext; then
12030 eval "$as_ac_var=yes"
12031 else
12032 echo "$as_me: failed program was:" >&5
12033 sed 's/^/| /' conftest.$ac_ext >&5
12035 eval "$as_ac_var=no"
12038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12039 conftest$ac_exeext conftest.$ac_ext
12041 ac_res=`eval echo '${'$as_ac_var'}'`
12042 { echo "$as_me:$LINENO: result: $ac_res" >&5
12043 echo "${ECHO_T}$ac_res" >&6; }
12044 if test `eval echo '${'$as_ac_var'}'` = yes; then
12045 cat >>confdefs.h <<_ACEOF
12046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12047 _ACEOF
12050 done
12052 LIBS="$ac_save_LIBS"
12053 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12054 wine_notices="$wine_notices|lib(n)curses development files not found.
12055 Wine will be built without (n)curses support. (wineconsole.exe)"
12059 # Extract the first word of "sane-config", so it can be a program name with args.
12060 set dummy sane-config; ac_word=$2
12061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12063 if test "${ac_cv_prog_sane_devel+set}" = set; then
12064 echo $ECHO_N "(cached) $ECHO_C" >&6
12065 else
12066 if test -n "$sane_devel"; then
12067 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12068 else
12069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12070 for as_dir in $PATH
12072 IFS=$as_save_IFS
12073 test -z "$as_dir" && as_dir=.
12074 for ac_exec_ext in '' $ac_executable_extensions; do
12075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12076 ac_cv_prog_sane_devel="sane-config"
12077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12078 break 2
12080 done
12081 done
12082 IFS=$as_save_IFS
12084 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12087 sane_devel=$ac_cv_prog_sane_devel
12088 if test -n "$sane_devel"; then
12089 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12090 echo "${ECHO_T}$sane_devel" >&6; }
12091 else
12092 { echo "$as_me:$LINENO: result: no" >&5
12093 echo "${ECHO_T}no" >&6; }
12097 if test "$sane_devel" != "no"
12098 then
12099 ac_sane_incl="`$sane_devel --cflags`"
12100 ac_save_CPPFLAGS="$CPPFLAGS"
12101 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12102 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12103 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12104 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12105 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12106 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12109 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12110 else
12111 # Is the header compilable?
12112 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12113 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12114 cat >conftest.$ac_ext <<_ACEOF
12115 /* confdefs.h. */
12116 _ACEOF
12117 cat confdefs.h >>conftest.$ac_ext
12118 cat >>conftest.$ac_ext <<_ACEOF
12119 /* end confdefs.h. */
12120 $ac_includes_default
12121 #include <sane/sane.h>
12122 _ACEOF
12123 rm -f conftest.$ac_objext
12124 if { (ac_try="$ac_compile"
12125 case "(($ac_try" in
12126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12127 *) ac_try_echo=$ac_try;;
12128 esac
12129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12130 (eval "$ac_compile") 2>conftest.er1
12131 ac_status=$?
12132 grep -v '^ *+' conftest.er1 >conftest.err
12133 rm -f conftest.er1
12134 cat conftest.err >&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } && {
12137 test -z "$ac_c_werror_flag" ||
12138 test ! -s conftest.err
12139 } && test -s conftest.$ac_objext; then
12140 ac_header_compiler=yes
12141 else
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.$ac_ext >&5
12145 ac_header_compiler=no
12148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12149 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12150 echo "${ECHO_T}$ac_header_compiler" >&6; }
12152 # Is the header present?
12153 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12154 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12155 cat >conftest.$ac_ext <<_ACEOF
12156 /* confdefs.h. */
12157 _ACEOF
12158 cat confdefs.h >>conftest.$ac_ext
12159 cat >>conftest.$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12161 #include <sane/sane.h>
12162 _ACEOF
12163 if { (ac_try="$ac_cpp conftest.$ac_ext"
12164 case "(($ac_try" in
12165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12166 *) ac_try_echo=$ac_try;;
12167 esac
12168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12169 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12170 ac_status=$?
12171 grep -v '^ *+' conftest.er1 >conftest.err
12172 rm -f conftest.er1
12173 cat conftest.err >&5
12174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175 (exit $ac_status); } >/dev/null && {
12176 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12177 test ! -s conftest.err
12178 }; then
12179 ac_header_preproc=yes
12180 else
12181 echo "$as_me: failed program was:" >&5
12182 sed 's/^/| /' conftest.$ac_ext >&5
12184 ac_header_preproc=no
12187 rm -f conftest.err conftest.$ac_ext
12188 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12189 echo "${ECHO_T}$ac_header_preproc" >&6; }
12191 # So? What about this header?
12192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12193 yes:no: )
12194 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12195 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12196 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12197 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12198 ac_header_preproc=yes
12200 no:yes:* )
12201 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12202 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12203 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12204 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12205 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12206 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12207 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12208 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12209 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12210 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12211 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12212 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12213 ( cat <<\_ASBOX
12214 ## ------------------------------------ ##
12215 ## Report this to wine-devel@winehq.org ##
12216 ## ------------------------------------ ##
12217 _ASBOX
12218 ) | sed "s/^/$as_me: WARNING: /" >&2
12220 esac
12221 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12222 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12223 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12224 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 else
12226 ac_cv_header_sane_sane_h=$ac_header_preproc
12228 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12229 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12232 if test $ac_cv_header_sane_sane_h = yes; then
12233 { echo "$as_me:$LINENO: checking for -lsane" >&5
12234 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12235 if test "${ac_cv_lib_soname_sane+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 else
12238 ac_check_soname_save_LIBS=$LIBS
12239 LIBS="-lsane $LIBS"
12240 cat >conftest.$ac_ext <<_ACEOF
12241 /* confdefs.h. */
12242 _ACEOF
12243 cat confdefs.h >>conftest.$ac_ext
12244 cat >>conftest.$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12247 /* Override any GCC internal prototype to avoid an error.
12248 Use char because int might match the return type of a GCC
12249 builtin and then its argument prototype would still apply. */
12250 #ifdef __cplusplus
12251 extern "C"
12252 #endif
12253 char sane_init ();
12255 main ()
12257 return sane_init ();
12259 return 0;
12261 _ACEOF
12262 rm -f conftest.$ac_objext conftest$ac_exeext
12263 if { (ac_try="$ac_link"
12264 case "(($ac_try" in
12265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12266 *) ac_try_echo=$ac_try;;
12267 esac
12268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12269 (eval "$ac_link") 2>conftest.er1
12270 ac_status=$?
12271 grep -v '^ *+' conftest.er1 >conftest.err
12272 rm -f conftest.er1
12273 cat conftest.err >&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); } && {
12276 test -z "$ac_c_werror_flag" ||
12277 test ! -s conftest.err
12278 } && test -s conftest$ac_exeext &&
12279 $as_test_x conftest$ac_exeext; then
12280 case "$LIBEXT" in
12281 dll) ;;
12282 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'` ;;
12283 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12284 esac
12285 else
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5
12292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_soname_save_LIBS
12296 if test "x$ac_cv_lib_soname_sane" = "x"; then
12297 { echo "$as_me:$LINENO: result: not found" >&5
12298 echo "${ECHO_T}not found" >&6; }
12300 else
12301 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12302 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12304 cat >>confdefs.h <<_ACEOF
12305 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12306 _ACEOF
12308 SANEINCL="$ac_sane_incl"
12315 CPPFLAGS="$ac_save_CPPFLAGS"
12317 if test "x$ac_cv_lib_soname_sane" = "x"; then
12318 wine_notices="$wine_notices|libsane development files not found.
12319 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12323 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12324 set dummy gphoto2-config; ac_word=$2
12325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12327 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12328 echo $ECHO_N "(cached) $ECHO_C" >&6
12329 else
12330 if test -n "$gphoto2_devel"; then
12331 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12332 else
12333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12334 for as_dir in $PATH
12336 IFS=$as_save_IFS
12337 test -z "$as_dir" && as_dir=.
12338 for ac_exec_ext in '' $ac_executable_extensions; do
12339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12340 ac_cv_prog_gphoto2_devel="gphoto2-config"
12341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12342 break 2
12344 done
12345 done
12346 IFS=$as_save_IFS
12348 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12351 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12352 if test -n "$gphoto2_devel"; then
12353 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12354 echo "${ECHO_T}$gphoto2_devel" >&6; }
12355 else
12356 { echo "$as_me:$LINENO: result: no" >&5
12357 echo "${ECHO_T}no" >&6; }
12361 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12362 set dummy gphoto2-port-config; ac_word=$2
12363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12365 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12366 echo $ECHO_N "(cached) $ECHO_C" >&6
12367 else
12368 if test -n "$gphoto2port_devel"; then
12369 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12370 else
12371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12372 for as_dir in $PATH
12374 IFS=$as_save_IFS
12375 test -z "$as_dir" && as_dir=.
12376 for ac_exec_ext in '' $ac_executable_extensions; do
12377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12378 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12380 break 2
12382 done
12383 done
12384 IFS=$as_save_IFS
12386 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12389 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12390 if test -n "$gphoto2port_devel"; then
12391 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12392 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12393 else
12394 { echo "$as_me:$LINENO: result: no" >&5
12395 echo "${ECHO_T}no" >&6; }
12399 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12400 then
12401 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12402 ac_gphoto2_libs=""
12403 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12405 case "$i" in
12406 -L/usr/lib|-L/usr/lib64) ;;
12407 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12408 esac
12409 done
12410 ac_save_CPPFLAGS="$CPPFLAGS"
12411 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12412 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12413 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12414 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12415 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12416 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12419 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12420 else
12421 # Is the header compilable?
12422 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12423 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12424 cat >conftest.$ac_ext <<_ACEOF
12425 /* confdefs.h. */
12426 _ACEOF
12427 cat confdefs.h >>conftest.$ac_ext
12428 cat >>conftest.$ac_ext <<_ACEOF
12429 /* end confdefs.h. */
12430 $ac_includes_default
12431 #include <gphoto2-camera.h>
12432 _ACEOF
12433 rm -f conftest.$ac_objext
12434 if { (ac_try="$ac_compile"
12435 case "(($ac_try" in
12436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12437 *) ac_try_echo=$ac_try;;
12438 esac
12439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12440 (eval "$ac_compile") 2>conftest.er1
12441 ac_status=$?
12442 grep -v '^ *+' conftest.er1 >conftest.err
12443 rm -f conftest.er1
12444 cat conftest.err >&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); } && {
12447 test -z "$ac_c_werror_flag" ||
12448 test ! -s conftest.err
12449 } && test -s conftest.$ac_objext; then
12450 ac_header_compiler=yes
12451 else
12452 echo "$as_me: failed program was:" >&5
12453 sed 's/^/| /' conftest.$ac_ext >&5
12455 ac_header_compiler=no
12458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12459 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12460 echo "${ECHO_T}$ac_header_compiler" >&6; }
12462 # Is the header present?
12463 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12464 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12465 cat >conftest.$ac_ext <<_ACEOF
12466 /* confdefs.h. */
12467 _ACEOF
12468 cat confdefs.h >>conftest.$ac_ext
12469 cat >>conftest.$ac_ext <<_ACEOF
12470 /* end confdefs.h. */
12471 #include <gphoto2-camera.h>
12472 _ACEOF
12473 if { (ac_try="$ac_cpp conftest.$ac_ext"
12474 case "(($ac_try" in
12475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12476 *) ac_try_echo=$ac_try;;
12477 esac
12478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12480 ac_status=$?
12481 grep -v '^ *+' conftest.er1 >conftest.err
12482 rm -f conftest.er1
12483 cat conftest.err >&5
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); } >/dev/null && {
12486 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12487 test ! -s conftest.err
12488 }; then
12489 ac_header_preproc=yes
12490 else
12491 echo "$as_me: failed program was:" >&5
12492 sed 's/^/| /' conftest.$ac_ext >&5
12494 ac_header_preproc=no
12497 rm -f conftest.err conftest.$ac_ext
12498 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12499 echo "${ECHO_T}$ac_header_preproc" >&6; }
12501 # So? What about this header?
12502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12503 yes:no: )
12504 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12505 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12506 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12507 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12508 ac_header_preproc=yes
12510 no:yes:* )
12511 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12512 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12513 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12514 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12515 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12516 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12517 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12518 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12519 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12520 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12521 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12522 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12523 ( cat <<\_ASBOX
12524 ## ------------------------------------ ##
12525 ## Report this to wine-devel@winehq.org ##
12526 ## ------------------------------------ ##
12527 _ASBOX
12528 ) | sed "s/^/$as_me: WARNING: /" >&2
12530 esac
12531 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12532 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12533 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12534 echo $ECHO_N "(cached) $ECHO_C" >&6
12535 else
12536 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12538 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12539 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12542 if test $ac_cv_header_gphoto2_camera_h = yes; then
12543 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12544 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12545 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12546 echo $ECHO_N "(cached) $ECHO_C" >&6
12547 else
12548 ac_check_lib_save_LIBS=$LIBS
12549 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12550 cat >conftest.$ac_ext <<_ACEOF
12551 /* confdefs.h. */
12552 _ACEOF
12553 cat confdefs.h >>conftest.$ac_ext
12554 cat >>conftest.$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12557 /* Override any GCC internal prototype to avoid an error.
12558 Use char because int might match the return type of a GCC
12559 builtin and then its argument prototype would still apply. */
12560 #ifdef __cplusplus
12561 extern "C"
12562 #endif
12563 char gp_camera_new ();
12565 main ()
12567 return gp_camera_new ();
12569 return 0;
12571 _ACEOF
12572 rm -f conftest.$ac_objext conftest$ac_exeext
12573 if { (ac_try="$ac_link"
12574 case "(($ac_try" in
12575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12576 *) ac_try_echo=$ac_try;;
12577 esac
12578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12579 (eval "$ac_link") 2>conftest.er1
12580 ac_status=$?
12581 grep -v '^ *+' conftest.er1 >conftest.err
12582 rm -f conftest.er1
12583 cat conftest.err >&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); } && {
12586 test -z "$ac_c_werror_flag" ||
12587 test ! -s conftest.err
12588 } && test -s conftest$ac_exeext &&
12589 $as_test_x conftest$ac_exeext; then
12590 ac_cv_lib_gphoto2_gp_camera_new=yes
12591 else
12592 echo "$as_me: failed program was:" >&5
12593 sed 's/^/| /' conftest.$ac_ext >&5
12595 ac_cv_lib_gphoto2_gp_camera_new=no
12598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12599 conftest$ac_exeext conftest.$ac_ext
12600 LIBS=$ac_check_lib_save_LIBS
12602 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12603 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12604 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12606 cat >>confdefs.h <<\_ACEOF
12607 #define HAVE_GPHOTO2 1
12608 _ACEOF
12610 GPHOTO2LIBS="$ac_gphoto2_libs"
12612 GPHOTO2INCL="$ac_gphoto2_incl"
12619 CPPFLAGS="$ac_save_CPPFLAGS"
12621 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12622 wine_notices="$wine_notices|libgphoto2 development files not found.
12623 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12628 RESOLVLIBS=""
12630 if test "$ac_cv_header_resolv_h" = "yes"
12631 then
12632 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12633 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12634 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 else
12637 ac_check_lib_save_LIBS=$LIBS
12638 LIBS="-lresolv $LIBS"
12639 cat >conftest.$ac_ext <<_ACEOF
12640 /* confdefs.h. */
12641 _ACEOF
12642 cat confdefs.h >>conftest.$ac_ext
12643 cat >>conftest.$ac_ext <<_ACEOF
12644 /* end confdefs.h. */
12646 /* Override any GCC internal prototype to avoid an error.
12647 Use char because int might match the return type of a GCC
12648 builtin and then its argument prototype would still apply. */
12649 #ifdef __cplusplus
12650 extern "C"
12651 #endif
12652 char res_query ();
12654 main ()
12656 return res_query ();
12658 return 0;
12660 _ACEOF
12661 rm -f conftest.$ac_objext conftest$ac_exeext
12662 if { (ac_try="$ac_link"
12663 case "(($ac_try" in
12664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665 *) ac_try_echo=$ac_try;;
12666 esac
12667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12668 (eval "$ac_link") 2>conftest.er1
12669 ac_status=$?
12670 grep -v '^ *+' conftest.er1 >conftest.err
12671 rm -f conftest.er1
12672 cat conftest.err >&5
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); } && {
12675 test -z "$ac_c_werror_flag" ||
12676 test ! -s conftest.err
12677 } && test -s conftest$ac_exeext &&
12678 $as_test_x conftest$ac_exeext; then
12679 ac_cv_lib_resolv_res_query=yes
12680 else
12681 echo "$as_me: failed program was:" >&5
12682 sed 's/^/| /' conftest.$ac_ext >&5
12684 ac_cv_lib_resolv_res_query=no
12687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12688 conftest$ac_exeext conftest.$ac_ext
12689 LIBS=$ac_check_lib_save_LIBS
12691 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12692 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12693 if test $ac_cv_lib_resolv_res_query = yes; then
12695 cat >>confdefs.h <<\_ACEOF
12696 #define HAVE_RESOLV 1
12697 _ACEOF
12699 RESOLVLIBS="-lresolv"
12704 LCMSLIBS=""
12706 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12707 then
12708 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12709 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12710 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12711 echo $ECHO_N "(cached) $ECHO_C" >&6
12712 else
12713 ac_check_lib_save_LIBS=$LIBS
12714 LIBS="-llcms $LIBS"
12715 cat >conftest.$ac_ext <<_ACEOF
12716 /* confdefs.h. */
12717 _ACEOF
12718 cat confdefs.h >>conftest.$ac_ext
12719 cat >>conftest.$ac_ext <<_ACEOF
12720 /* end confdefs.h. */
12722 /* Override any GCC internal prototype to avoid an error.
12723 Use char because int might match the return type of a GCC
12724 builtin and then its argument prototype would still apply. */
12725 #ifdef __cplusplus
12726 extern "C"
12727 #endif
12728 char cmsOpenProfileFromFile ();
12730 main ()
12732 return cmsOpenProfileFromFile ();
12734 return 0;
12736 _ACEOF
12737 rm -f conftest.$ac_objext conftest$ac_exeext
12738 if { (ac_try="$ac_link"
12739 case "(($ac_try" in
12740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12741 *) ac_try_echo=$ac_try;;
12742 esac
12743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12744 (eval "$ac_link") 2>conftest.er1
12745 ac_status=$?
12746 grep -v '^ *+' conftest.er1 >conftest.err
12747 rm -f conftest.er1
12748 cat conftest.err >&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } && {
12751 test -z "$ac_c_werror_flag" ||
12752 test ! -s conftest.err
12753 } && test -s conftest$ac_exeext &&
12754 $as_test_x conftest$ac_exeext; then
12755 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12756 else
12757 echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.$ac_ext >&5
12760 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12764 conftest$ac_exeext conftest.$ac_ext
12765 LIBS=$ac_check_lib_save_LIBS
12767 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12768 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12769 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12771 cat >>confdefs.h <<\_ACEOF
12772 #define HAVE_LCMS 1
12773 _ACEOF
12775 LCMSLIBS="-llcms"
12779 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12780 wine_notices="$wine_notices|liblcms development files not found.
12781 Wine will be built without Color Management support. (mscms.dll)"
12785 LDAPLIBS=""
12787 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12788 then
12789 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12790 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12791 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12792 echo $ECHO_N "(cached) $ECHO_C" >&6
12793 else
12794 ac_check_lib_save_LIBS=$LIBS
12795 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12796 cat >conftest.$ac_ext <<_ACEOF
12797 /* confdefs.h. */
12798 _ACEOF
12799 cat confdefs.h >>conftest.$ac_ext
12800 cat >>conftest.$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12803 /* Override any GCC internal prototype to avoid an error.
12804 Use char because int might match the return type of a GCC
12805 builtin and then its argument prototype would still apply. */
12806 #ifdef __cplusplus
12807 extern "C"
12808 #endif
12809 char ldap_initialize ();
12811 main ()
12813 return ldap_initialize ();
12815 return 0;
12817 _ACEOF
12818 rm -f conftest.$ac_objext conftest$ac_exeext
12819 if { (ac_try="$ac_link"
12820 case "(($ac_try" in
12821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12822 *) ac_try_echo=$ac_try;;
12823 esac
12824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12825 (eval "$ac_link") 2>conftest.er1
12826 ac_status=$?
12827 grep -v '^ *+' conftest.er1 >conftest.err
12828 rm -f conftest.er1
12829 cat conftest.err >&5
12830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); } && {
12832 test -z "$ac_c_werror_flag" ||
12833 test ! -s conftest.err
12834 } && test -s conftest$ac_exeext &&
12835 $as_test_x conftest$ac_exeext; then
12836 ac_cv_lib_ldap_r_ldap_initialize=yes
12837 else
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12841 ac_cv_lib_ldap_r_ldap_initialize=no
12844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12845 conftest$ac_exeext conftest.$ac_ext
12846 LIBS=$ac_check_lib_save_LIBS
12848 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12849 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12850 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12851 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12852 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12853 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12855 else
12856 ac_check_lib_save_LIBS=$LIBS
12857 LIBS="-llber $LIBPTHREAD $LIBS"
12858 cat >conftest.$ac_ext <<_ACEOF
12859 /* confdefs.h. */
12860 _ACEOF
12861 cat confdefs.h >>conftest.$ac_ext
12862 cat >>conftest.$ac_ext <<_ACEOF
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12868 #ifdef __cplusplus
12869 extern "C"
12870 #endif
12871 char ber_init ();
12873 main ()
12875 return ber_init ();
12877 return 0;
12879 _ACEOF
12880 rm -f conftest.$ac_objext conftest$ac_exeext
12881 if { (ac_try="$ac_link"
12882 case "(($ac_try" in
12883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12884 *) ac_try_echo=$ac_try;;
12885 esac
12886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12887 (eval "$ac_link") 2>conftest.er1
12888 ac_status=$?
12889 grep -v '^ *+' conftest.er1 >conftest.err
12890 rm -f conftest.er1
12891 cat conftest.err >&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } && {
12894 test -z "$ac_c_werror_flag" ||
12895 test ! -s conftest.err
12896 } && test -s conftest$ac_exeext &&
12897 $as_test_x conftest$ac_exeext; then
12898 ac_cv_lib_lber_ber_init=yes
12899 else
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.$ac_ext >&5
12903 ac_cv_lib_lber_ber_init=no
12906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12907 conftest$ac_exeext conftest.$ac_ext
12908 LIBS=$ac_check_lib_save_LIBS
12910 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12911 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12912 if test $ac_cv_lib_lber_ber_init = yes; then
12914 cat >>confdefs.h <<\_ACEOF
12915 #define HAVE_LDAP 1
12916 _ACEOF
12918 LDAPLIBS="-lldap_r -llber"
12923 ac_wine_check_funcs_save_LIBS="$LIBS"
12924 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12933 for ac_func in \
12934 ldap_count_references \
12935 ldap_first_reference \
12936 ldap_next_reference \
12937 ldap_parse_reference \
12938 ldap_parse_sort_control \
12939 ldap_parse_sortresponse_control \
12940 ldap_parse_vlv_control \
12941 ldap_parse_vlvresponse_control
12943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12944 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12946 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 else
12949 cat >conftest.$ac_ext <<_ACEOF
12950 /* confdefs.h. */
12951 _ACEOF
12952 cat confdefs.h >>conftest.$ac_ext
12953 cat >>conftest.$ac_ext <<_ACEOF
12954 /* end confdefs.h. */
12955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12957 #define $ac_func innocuous_$ac_func
12959 /* System header to define __stub macros and hopefully few prototypes,
12960 which can conflict with char $ac_func (); below.
12961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12962 <limits.h> exists even on freestanding compilers. */
12964 #ifdef __STDC__
12965 # include <limits.h>
12966 #else
12967 # include <assert.h>
12968 #endif
12970 #undef $ac_func
12972 /* Override any GCC internal prototype to avoid an error.
12973 Use char because int might match the return type of a GCC
12974 builtin and then its argument prototype would still apply. */
12975 #ifdef __cplusplus
12976 extern "C"
12977 #endif
12978 char $ac_func ();
12979 /* The GNU C library defines this for functions which it implements
12980 to always fail with ENOSYS. Some functions are actually named
12981 something starting with __ and the normal name is an alias. */
12982 #if defined __stub_$ac_func || defined __stub___$ac_func
12983 choke me
12984 #endif
12987 main ()
12989 return $ac_func ();
12991 return 0;
12993 _ACEOF
12994 rm -f conftest.$ac_objext conftest$ac_exeext
12995 if { (ac_try="$ac_link"
12996 case "(($ac_try" in
12997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12998 *) ac_try_echo=$ac_try;;
12999 esac
13000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13001 (eval "$ac_link") 2>conftest.er1
13002 ac_status=$?
13003 grep -v '^ *+' conftest.er1 >conftest.err
13004 rm -f conftest.er1
13005 cat conftest.err >&5
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); } && {
13008 test -z "$ac_c_werror_flag" ||
13009 test ! -s conftest.err
13010 } && test -s conftest$ac_exeext &&
13011 $as_test_x conftest$ac_exeext; then
13012 eval "$as_ac_var=yes"
13013 else
13014 echo "$as_me: failed program was:" >&5
13015 sed 's/^/| /' conftest.$ac_ext >&5
13017 eval "$as_ac_var=no"
13020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13021 conftest$ac_exeext conftest.$ac_ext
13023 ac_res=`eval echo '${'$as_ac_var'}'`
13024 { echo "$as_me:$LINENO: result: $ac_res" >&5
13025 echo "${ECHO_T}$ac_res" >&6; }
13026 if test `eval echo '${'$as_ac_var'}'` = yes; then
13027 cat >>confdefs.h <<_ACEOF
13028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13029 _ACEOF
13032 done
13034 LIBS="$ac_wine_check_funcs_save_LIBS"
13036 if test "x$LDAPLIBS" = "x"; then
13037 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13038 Wine will be built without LDAP support. (wldap32.dll)"
13042 for ac_prog in freetype-config freetype2-config
13044 # Extract the first word of "$ac_prog", so it can be a program name with args.
13045 set dummy $ac_prog; ac_word=$2
13046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13048 if test "${ac_cv_prog_ft_devel+set}" = set; then
13049 echo $ECHO_N "(cached) $ECHO_C" >&6
13050 else
13051 if test -n "$ft_devel"; then
13052 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13053 else
13054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13055 for as_dir in $PATH
13057 IFS=$as_save_IFS
13058 test -z "$as_dir" && as_dir=.
13059 for ac_exec_ext in '' $ac_executable_extensions; do
13060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13061 ac_cv_prog_ft_devel="$ac_prog"
13062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13063 break 2
13065 done
13066 done
13067 IFS=$as_save_IFS
13071 ft_devel=$ac_cv_prog_ft_devel
13072 if test -n "$ft_devel"; then
13073 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13074 echo "${ECHO_T}$ft_devel" >&6; }
13075 else
13076 { echo "$as_me:$LINENO: result: no" >&5
13077 echo "${ECHO_T}no" >&6; }
13081 test -n "$ft_devel" && break
13082 done
13083 test -n "$ft_devel" || ft_devel="false"
13085 if test "$ft_devel" != "false"
13086 then
13087 ac_freetype_libs=`$ft_devel --libs`
13088 ac_freetype_incl=`$ft_devel --cflags`
13089 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13090 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13091 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 else
13094 ac_check_soname_save_LIBS=$LIBS
13095 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13096 cat >conftest.$ac_ext <<_ACEOF
13097 /* confdefs.h. */
13098 _ACEOF
13099 cat confdefs.h >>conftest.$ac_ext
13100 cat >>conftest.$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13103 /* Override any GCC internal prototype to avoid an error.
13104 Use char because int might match the return type of a GCC
13105 builtin and then its argument prototype would still apply. */
13106 #ifdef __cplusplus
13107 extern "C"
13108 #endif
13109 char FT_Init_FreeType ();
13111 main ()
13113 return FT_Init_FreeType ();
13115 return 0;
13117 _ACEOF
13118 rm -f conftest.$ac_objext conftest$ac_exeext
13119 if { (ac_try="$ac_link"
13120 case "(($ac_try" in
13121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13122 *) ac_try_echo=$ac_try;;
13123 esac
13124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13125 (eval "$ac_link") 2>conftest.er1
13126 ac_status=$?
13127 grep -v '^ *+' conftest.er1 >conftest.err
13128 rm -f conftest.er1
13129 cat conftest.err >&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); } && {
13132 test -z "$ac_c_werror_flag" ||
13133 test ! -s conftest.err
13134 } && test -s conftest$ac_exeext &&
13135 $as_test_x conftest$ac_exeext; then
13136 case "$LIBEXT" in
13137 dll) ;;
13138 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'` ;;
13139 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13140 esac
13141 else
13142 echo "$as_me: failed program was:" >&5
13143 sed 's/^/| /' conftest.$ac_ext >&5
13148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13149 conftest$ac_exeext conftest.$ac_ext
13150 LIBS=$ac_check_soname_save_LIBS
13152 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13153 { echo "$as_me:$LINENO: result: not found" >&5
13154 echo "${ECHO_T}not found" >&6; }
13155 ft_lib=no
13156 else
13157 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13158 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13160 cat >>confdefs.h <<_ACEOF
13161 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13162 _ACEOF
13164 ft_lib=yes
13167 if test "$ft_lib" = "yes"
13168 then
13169 ac_save_CPPFLAGS="$CPPFLAGS"
13170 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13183 for ac_header in ft2build.h \
13184 freetype/freetype.h \
13185 freetype/ftglyph.h \
13186 freetype/fttypes.h \
13187 freetype/tttables.h \
13188 freetype/ftnames.h \
13189 freetype/ftsnames.h \
13190 freetype/ttnameid.h \
13191 freetype/ftoutln.h \
13192 freetype/ftwinfnt.h \
13193 freetype/ftmodapi.h \
13194 freetype/internal/sfnt.h
13196 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13197 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 else
13202 cat >conftest.$ac_ext <<_ACEOF
13203 /* confdefs.h. */
13204 _ACEOF
13205 cat confdefs.h >>conftest.$ac_ext
13206 cat >>conftest.$ac_ext <<_ACEOF
13207 /* end confdefs.h. */
13208 #if HAVE_FT2BUILD_H
13209 #include <ft2build.h>
13210 #endif
13212 #include <$ac_header>
13213 _ACEOF
13214 rm -f conftest.$ac_objext
13215 if { (ac_try="$ac_compile"
13216 case "(($ac_try" in
13217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13218 *) ac_try_echo=$ac_try;;
13219 esac
13220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13221 (eval "$ac_compile") 2>conftest.er1
13222 ac_status=$?
13223 grep -v '^ *+' conftest.er1 >conftest.err
13224 rm -f conftest.er1
13225 cat conftest.err >&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); } && {
13228 test -z "$ac_c_werror_flag" ||
13229 test ! -s conftest.err
13230 } && test -s conftest.$ac_objext; then
13231 eval "$as_ac_Header=yes"
13232 else
13233 echo "$as_me: failed program was:" >&5
13234 sed 's/^/| /' conftest.$ac_ext >&5
13236 eval "$as_ac_Header=no"
13239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13241 ac_res=`eval echo '${'$as_ac_Header'}'`
13242 { echo "$as_me:$LINENO: result: $ac_res" >&5
13243 echo "${ECHO_T}$ac_res" >&6; }
13244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13245 cat >>confdefs.h <<_ACEOF
13246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13247 _ACEOF
13251 done
13253 cat >conftest.$ac_ext <<_ACEOF
13254 /* confdefs.h. */
13255 _ACEOF
13256 cat confdefs.h >>conftest.$ac_ext
13257 cat >>conftest.$ac_ext <<_ACEOF
13258 /* end confdefs.h. */
13259 #include <ft2build.h>
13260 #include <freetype/fttrigon.h>
13261 _ACEOF
13262 if { (ac_try="$ac_cpp conftest.$ac_ext"
13263 case "(($ac_try" in
13264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13265 *) ac_try_echo=$ac_try;;
13266 esac
13267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13269 ac_status=$?
13270 grep -v '^ *+' conftest.er1 >conftest.err
13271 rm -f conftest.er1
13272 cat conftest.err >&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } >/dev/null && {
13275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13276 test ! -s conftest.err
13277 }; then
13279 cat >>confdefs.h <<\_ACEOF
13280 #define HAVE_FREETYPE_FTTRIGON_H 1
13281 _ACEOF
13283 wine_cv_fttrigon=yes
13284 else
13285 echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.$ac_ext >&5
13288 wine_cv_fttrigon=no
13291 rm -f conftest.err conftest.$ac_ext
13292 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13293 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13294 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13296 else
13297 cat >conftest.$ac_ext <<_ACEOF
13298 /* confdefs.h. */
13299 _ACEOF
13300 cat confdefs.h >>conftest.$ac_ext
13301 cat >>conftest.$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13303 #include <freetype/ftmodapi.h>
13305 typedef FT_TrueTypeEngineType ac__type_new_;
13307 main ()
13309 if ((ac__type_new_ *) 0)
13310 return 0;
13311 if (sizeof (ac__type_new_))
13312 return 0;
13314 return 0;
13316 _ACEOF
13317 rm -f conftest.$ac_objext
13318 if { (ac_try="$ac_compile"
13319 case "(($ac_try" in
13320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13321 *) ac_try_echo=$ac_try;;
13322 esac
13323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13324 (eval "$ac_compile") 2>conftest.er1
13325 ac_status=$?
13326 grep -v '^ *+' conftest.er1 >conftest.err
13327 rm -f conftest.er1
13328 cat conftest.err >&5
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); } && {
13331 test -z "$ac_c_werror_flag" ||
13332 test ! -s conftest.err
13333 } && test -s conftest.$ac_objext; then
13334 ac_cv_type_FT_TrueTypeEngineType=yes
13335 else
13336 echo "$as_me: failed program was:" >&5
13337 sed 's/^/| /' conftest.$ac_ext >&5
13339 ac_cv_type_FT_TrueTypeEngineType=no
13342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13344 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13345 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13346 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13348 cat >>confdefs.h <<_ACEOF
13349 #define HAVE_FT_TRUETYPEENGINETYPE 1
13350 _ACEOF
13355 ac_save_CFLAGS="$CFLAGS"
13356 CFLAGS="$CFLAGS $ac_freetype_libs"
13358 for ac_func in FT_Load_Sfnt_Table
13360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13361 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13363 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13364 echo $ECHO_N "(cached) $ECHO_C" >&6
13365 else
13366 cat >conftest.$ac_ext <<_ACEOF
13367 /* confdefs.h. */
13368 _ACEOF
13369 cat confdefs.h >>conftest.$ac_ext
13370 cat >>conftest.$ac_ext <<_ACEOF
13371 /* end confdefs.h. */
13372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13374 #define $ac_func innocuous_$ac_func
13376 /* System header to define __stub macros and hopefully few prototypes,
13377 which can conflict with char $ac_func (); below.
13378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13379 <limits.h> exists even on freestanding compilers. */
13381 #ifdef __STDC__
13382 # include <limits.h>
13383 #else
13384 # include <assert.h>
13385 #endif
13387 #undef $ac_func
13389 /* Override any GCC internal prototype to avoid an error.
13390 Use char because int might match the return type of a GCC
13391 builtin and then its argument prototype would still apply. */
13392 #ifdef __cplusplus
13393 extern "C"
13394 #endif
13395 char $ac_func ();
13396 /* The GNU C library defines this for functions which it implements
13397 to always fail with ENOSYS. Some functions are actually named
13398 something starting with __ and the normal name is an alias. */
13399 #if defined __stub_$ac_func || defined __stub___$ac_func
13400 choke me
13401 #endif
13404 main ()
13406 return $ac_func ();
13408 return 0;
13410 _ACEOF
13411 rm -f conftest.$ac_objext conftest$ac_exeext
13412 if { (ac_try="$ac_link"
13413 case "(($ac_try" in
13414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13415 *) ac_try_echo=$ac_try;;
13416 esac
13417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13418 (eval "$ac_link") 2>conftest.er1
13419 ac_status=$?
13420 grep -v '^ *+' conftest.er1 >conftest.err
13421 rm -f conftest.er1
13422 cat conftest.err >&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); } && {
13425 test -z "$ac_c_werror_flag" ||
13426 test ! -s conftest.err
13427 } && test -s conftest$ac_exeext &&
13428 $as_test_x conftest$ac_exeext; then
13429 eval "$as_ac_var=yes"
13430 else
13431 echo "$as_me: failed program was:" >&5
13432 sed 's/^/| /' conftest.$ac_ext >&5
13434 eval "$as_ac_var=no"
13437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13438 conftest$ac_exeext conftest.$ac_ext
13440 ac_res=`eval echo '${'$as_ac_var'}'`
13441 { echo "$as_me:$LINENO: result: $ac_res" >&5
13442 echo "${ECHO_T}$ac_res" >&6; }
13443 if test `eval echo '${'$as_ac_var'}'` = yes; then
13444 cat >>confdefs.h <<_ACEOF
13445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13446 _ACEOF
13449 done
13451 CFLAGS="$ac_save_CFLAGS"
13452 CPPFLAGS="$ac_save_CPPFLAGS"
13453 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13454 then
13456 cat >>confdefs.h <<\_ACEOF
13457 #define HAVE_FREETYPE 1
13458 _ACEOF
13460 FREETYPELIBS="$ac_freetype_libs"
13462 FREETYPEINCL="$ac_freetype_incl"
13468 if test "$FONTFORGE" = "false"
13469 then
13470 wine_warnings="$wine_warnings|FontForge is missing.
13471 Fonts will not be built. Dialog text may be invisible or unaligned."
13472 elif test "x$FREETYPELIBS" = "x"
13473 then
13474 wine_warnings="$wine_warnings|FreeType development files not found.
13475 Fonts will not be built. Dialog text may be invisible or unaligned."
13476 else
13477 FONTSSUBDIRS="fonts"
13481 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13482 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13483 if test "${ac_cv_c_ppdev+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 else
13486 cat >conftest.$ac_ext <<_ACEOF
13487 /* confdefs.h. */
13488 _ACEOF
13489 cat confdefs.h >>conftest.$ac_ext
13490 cat >>conftest.$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13492 #include <linux/ppdev.h>
13494 main ()
13496 ioctl (1,PPCLAIM,0)
13498 return 0;
13500 _ACEOF
13501 rm -f conftest.$ac_objext
13502 if { (ac_try="$ac_compile"
13503 case "(($ac_try" in
13504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13505 *) ac_try_echo=$ac_try;;
13506 esac
13507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13508 (eval "$ac_compile") 2>conftest.er1
13509 ac_status=$?
13510 grep -v '^ *+' conftest.er1 >conftest.err
13511 rm -f conftest.er1
13512 cat conftest.err >&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } && {
13515 test -z "$ac_c_werror_flag" ||
13516 test ! -s conftest.err
13517 } && test -s conftest.$ac_objext; then
13518 ac_cv_c_ppdev="yes"
13519 else
13520 echo "$as_me: failed program was:" >&5
13521 sed 's/^/| /' conftest.$ac_ext >&5
13523 ac_cv_c_ppdev="no"
13526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13528 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13529 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13530 if test "$ac_cv_c_ppdev" = "yes"
13531 then
13533 cat >>confdefs.h <<\_ACEOF
13534 #define HAVE_PPDEV 1
13535 _ACEOF
13539 { echo "$as_me:$LINENO: checking for va_copy" >&5
13540 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13541 if test "${ac_cv_c_va_copy+set}" = set; then
13542 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 else
13544 cat >conftest.$ac_ext <<_ACEOF
13545 /* confdefs.h. */
13546 _ACEOF
13547 cat confdefs.h >>conftest.$ac_ext
13548 cat >>conftest.$ac_ext <<_ACEOF
13549 /* end confdefs.h. */
13550 #include <stdarg.h>
13552 main ()
13554 va_list ap1, ap2; va_copy(ap1,ap2);
13556 return 0;
13558 _ACEOF
13559 rm -f conftest.$ac_objext conftest$ac_exeext
13560 if { (ac_try="$ac_link"
13561 case "(($ac_try" in
13562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13563 *) ac_try_echo=$ac_try;;
13564 esac
13565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13566 (eval "$ac_link") 2>conftest.er1
13567 ac_status=$?
13568 grep -v '^ *+' conftest.er1 >conftest.err
13569 rm -f conftest.er1
13570 cat conftest.err >&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); } && {
13573 test -z "$ac_c_werror_flag" ||
13574 test ! -s conftest.err
13575 } && test -s conftest$ac_exeext &&
13576 $as_test_x conftest$ac_exeext; then
13577 ac_cv_c_va_copy="yes"
13578 else
13579 echo "$as_me: failed program was:" >&5
13580 sed 's/^/| /' conftest.$ac_ext >&5
13582 ac_cv_c_va_copy="no"
13585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13586 conftest$ac_exeext conftest.$ac_ext
13589 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13590 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13591 if test "$ac_cv_c_va_copy" = "yes"
13592 then
13594 cat >>confdefs.h <<\_ACEOF
13595 #define HAVE_VA_COPY 1
13596 _ACEOF
13599 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13600 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13601 if test "${ac_cv_c___va_copy+set}" = set; then
13602 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 else
13604 cat >conftest.$ac_ext <<_ACEOF
13605 /* confdefs.h. */
13606 _ACEOF
13607 cat confdefs.h >>conftest.$ac_ext
13608 cat >>conftest.$ac_ext <<_ACEOF
13609 /* end confdefs.h. */
13610 #include <stdarg.h>
13612 main ()
13614 va_list ap1, ap2; __va_copy(ap1,ap2);
13616 return 0;
13618 _ACEOF
13619 rm -f conftest.$ac_objext conftest$ac_exeext
13620 if { (ac_try="$ac_link"
13621 case "(($ac_try" in
13622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13623 *) ac_try_echo=$ac_try;;
13624 esac
13625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13626 (eval "$ac_link") 2>conftest.er1
13627 ac_status=$?
13628 grep -v '^ *+' conftest.er1 >conftest.err
13629 rm -f conftest.er1
13630 cat conftest.err >&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); } && {
13633 test -z "$ac_c_werror_flag" ||
13634 test ! -s conftest.err
13635 } && test -s conftest$ac_exeext &&
13636 $as_test_x conftest$ac_exeext; then
13637 ac_cv_c___va_copy="yes"
13638 else
13639 echo "$as_me: failed program was:" >&5
13640 sed 's/^/| /' conftest.$ac_ext >&5
13642 ac_cv_c___va_copy="no"
13645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13646 conftest$ac_exeext conftest.$ac_ext
13649 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13650 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13651 if test "$ac_cv_c___va_copy" = "yes"
13652 then
13654 cat >>confdefs.h <<\_ACEOF
13655 #define HAVE___VA_COPY 1
13656 _ACEOF
13660 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13661 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13662 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13664 else
13665 cat >conftest.$ac_ext <<_ACEOF
13666 /* confdefs.h. */
13667 _ACEOF
13668 cat confdefs.h >>conftest.$ac_ext
13669 cat >>conftest.$ac_ext <<_ACEOF
13670 /* end confdefs.h. */
13671 #include <setjmp.h>
13673 main ()
13675 sigjmp_buf buf;
13676 sigsetjmp( buf, 1 );
13677 siglongjmp( buf, 1 );
13679 return 0;
13681 _ACEOF
13682 rm -f conftest.$ac_objext conftest$ac_exeext
13683 if { (ac_try="$ac_link"
13684 case "(($ac_try" in
13685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13686 *) ac_try_echo=$ac_try;;
13687 esac
13688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13689 (eval "$ac_link") 2>conftest.er1
13690 ac_status=$?
13691 grep -v '^ *+' conftest.er1 >conftest.err
13692 rm -f conftest.er1
13693 cat conftest.err >&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } && {
13696 test -z "$ac_c_werror_flag" ||
13697 test ! -s conftest.err
13698 } && test -s conftest$ac_exeext &&
13699 $as_test_x conftest$ac_exeext; then
13700 ac_cv_c_sigsetjmp="yes"
13701 else
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.$ac_ext >&5
13705 ac_cv_c_sigsetjmp="no"
13708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13709 conftest$ac_exeext conftest.$ac_ext
13712 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13713 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13714 if test "$ac_cv_c_sigsetjmp" = "yes"
13715 then
13717 cat >>confdefs.h <<\_ACEOF
13718 #define HAVE_SIGSETJMP 1
13719 _ACEOF
13723 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13724 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13725 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 else
13728 cat >conftest.$ac_ext <<_ACEOF
13729 /* confdefs.h. */
13730 _ACEOF
13731 cat confdefs.h >>conftest.$ac_ext
13732 cat >>conftest.$ac_ext <<_ACEOF
13733 /* end confdefs.h. */
13734 #define _GNU_SOURCE
13735 #include <pthread.h>
13737 typedef pthread_rwlock_t ac__type_new_;
13739 main ()
13741 if ((ac__type_new_ *) 0)
13742 return 0;
13743 if (sizeof (ac__type_new_))
13744 return 0;
13746 return 0;
13748 _ACEOF
13749 rm -f conftest.$ac_objext
13750 if { (ac_try="$ac_compile"
13751 case "(($ac_try" in
13752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13753 *) ac_try_echo=$ac_try;;
13754 esac
13755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13756 (eval "$ac_compile") 2>conftest.er1
13757 ac_status=$?
13758 grep -v '^ *+' conftest.er1 >conftest.err
13759 rm -f conftest.er1
13760 cat conftest.err >&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); } && {
13763 test -z "$ac_c_werror_flag" ||
13764 test ! -s conftest.err
13765 } && test -s conftest.$ac_objext; then
13766 ac_cv_type_pthread_rwlock_t=yes
13767 else
13768 echo "$as_me: failed program was:" >&5
13769 sed 's/^/| /' conftest.$ac_ext >&5
13771 ac_cv_type_pthread_rwlock_t=no
13774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13776 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13777 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13778 if test $ac_cv_type_pthread_rwlock_t = yes; then
13780 cat >>confdefs.h <<_ACEOF
13781 #define HAVE_PTHREAD_RWLOCK_T 1
13782 _ACEOF
13786 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13787 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13788 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13789 echo $ECHO_N "(cached) $ECHO_C" >&6
13790 else
13791 cat >conftest.$ac_ext <<_ACEOF
13792 /* confdefs.h. */
13793 _ACEOF
13794 cat confdefs.h >>conftest.$ac_ext
13795 cat >>conftest.$ac_ext <<_ACEOF
13796 /* end confdefs.h. */
13797 #define _GNU_SOURCE
13798 #include <pthread.h>
13800 typedef pthread_rwlockattr_t ac__type_new_;
13802 main ()
13804 if ((ac__type_new_ *) 0)
13805 return 0;
13806 if (sizeof (ac__type_new_))
13807 return 0;
13809 return 0;
13811 _ACEOF
13812 rm -f conftest.$ac_objext
13813 if { (ac_try="$ac_compile"
13814 case "(($ac_try" in
13815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13816 *) ac_try_echo=$ac_try;;
13817 esac
13818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13819 (eval "$ac_compile") 2>conftest.er1
13820 ac_status=$?
13821 grep -v '^ *+' conftest.er1 >conftest.err
13822 rm -f conftest.er1
13823 cat conftest.err >&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); } && {
13826 test -z "$ac_c_werror_flag" ||
13827 test ! -s conftest.err
13828 } && test -s conftest.$ac_objext; then
13829 ac_cv_type_pthread_rwlockattr_t=yes
13830 else
13831 echo "$as_me: failed program was:" >&5
13832 sed 's/^/| /' conftest.$ac_ext >&5
13834 ac_cv_type_pthread_rwlockattr_t=no
13837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13839 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13840 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13841 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13843 cat >>confdefs.h <<_ACEOF
13844 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13845 _ACEOF
13851 ac_wine_check_funcs_save_LIBS="$LIBS"
13852 LIBS="$LIBS $LIBPTHREAD"
13857 for ac_func in \
13858 pthread_attr_get_np \
13859 pthread_getattr_np \
13860 pthread_get_stackaddr_np \
13861 pthread_get_stacksize_np
13863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13864 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13866 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13867 echo $ECHO_N "(cached) $ECHO_C" >&6
13868 else
13869 cat >conftest.$ac_ext <<_ACEOF
13870 /* confdefs.h. */
13871 _ACEOF
13872 cat confdefs.h >>conftest.$ac_ext
13873 cat >>conftest.$ac_ext <<_ACEOF
13874 /* end confdefs.h. */
13875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13877 #define $ac_func innocuous_$ac_func
13879 /* System header to define __stub macros and hopefully few prototypes,
13880 which can conflict with char $ac_func (); below.
13881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13882 <limits.h> exists even on freestanding compilers. */
13884 #ifdef __STDC__
13885 # include <limits.h>
13886 #else
13887 # include <assert.h>
13888 #endif
13890 #undef $ac_func
13892 /* Override any GCC internal prototype to avoid an error.
13893 Use char because int might match the return type of a GCC
13894 builtin and then its argument prototype would still apply. */
13895 #ifdef __cplusplus
13896 extern "C"
13897 #endif
13898 char $ac_func ();
13899 /* The GNU C library defines this for functions which it implements
13900 to always fail with ENOSYS. Some functions are actually named
13901 something starting with __ and the normal name is an alias. */
13902 #if defined __stub_$ac_func || defined __stub___$ac_func
13903 choke me
13904 #endif
13907 main ()
13909 return $ac_func ();
13911 return 0;
13913 _ACEOF
13914 rm -f conftest.$ac_objext conftest$ac_exeext
13915 if { (ac_try="$ac_link"
13916 case "(($ac_try" in
13917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;;
13919 esac
13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13921 (eval "$ac_link") 2>conftest.er1
13922 ac_status=$?
13923 grep -v '^ *+' conftest.er1 >conftest.err
13924 rm -f conftest.er1
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } && {
13928 test -z "$ac_c_werror_flag" ||
13929 test ! -s conftest.err
13930 } && test -s conftest$ac_exeext &&
13931 $as_test_x conftest$ac_exeext; then
13932 eval "$as_ac_var=yes"
13933 else
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13937 eval "$as_ac_var=no"
13940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13941 conftest$ac_exeext conftest.$ac_ext
13943 ac_res=`eval echo '${'$as_ac_var'}'`
13944 { echo "$as_me:$LINENO: result: $ac_res" >&5
13945 echo "${ECHO_T}$ac_res" >&6; }
13946 if test `eval echo '${'$as_ac_var'}'` = yes; then
13947 cat >>confdefs.h <<_ACEOF
13948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13949 _ACEOF
13952 done
13954 LIBS="$ac_wine_check_funcs_save_LIBS"
13956 # Extract the first word of "esd-config", so it can be a program name with args.
13957 set dummy esd-config; ac_word=$2
13958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13960 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13961 echo $ECHO_N "(cached) $ECHO_C" >&6
13962 else
13963 case $ESDCONFIG in
13964 [\\/]* | ?:[\\/]*)
13965 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13969 for as_dir in $PATH
13971 IFS=$as_save_IFS
13972 test -z "$as_dir" && as_dir=.
13973 for ac_exec_ext in '' $ac_executable_extensions; do
13974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13975 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13977 break 2
13979 done
13980 done
13981 IFS=$as_save_IFS
13984 esac
13986 ESDCONFIG=$ac_cv_path_ESDCONFIG
13987 if test -n "$ESDCONFIG"; then
13988 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13989 echo "${ECHO_T}$ESDCONFIG" >&6; }
13990 else
13991 { echo "$as_me:$LINENO: result: no" >&5
13992 echo "${ECHO_T}no" >&6; }
13996 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13997 then
13998 ESD_CFLAGS=""
13999 for i in `$ESDCONFIG --cflags`
14001 case "$i" in
14002 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14003 esac
14004 done
14005 ESD_LIBS=`$ESDCONFIG --libs`
14006 save_CFLAGS="$CFLAGS"
14007 CFLAGS="$CFLAGS $ESD_CFLAGS"
14008 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14009 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14010 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14012 else
14013 ac_check_lib_save_LIBS=$LIBS
14014 LIBS="-lesd $LIBS"
14015 cat >conftest.$ac_ext <<_ACEOF
14016 /* confdefs.h. */
14017 _ACEOF
14018 cat confdefs.h >>conftest.$ac_ext
14019 cat >>conftest.$ac_ext <<_ACEOF
14020 /* end confdefs.h. */
14022 /* Override any GCC internal prototype to avoid an error.
14023 Use char because int might match the return type of a GCC
14024 builtin and then its argument prototype would still apply. */
14025 #ifdef __cplusplus
14026 extern "C"
14027 #endif
14028 char esd_open_sound ();
14030 main ()
14032 return esd_open_sound ();
14034 return 0;
14036 _ACEOF
14037 rm -f conftest.$ac_objext conftest$ac_exeext
14038 if { (ac_try="$ac_link"
14039 case "(($ac_try" in
14040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14041 *) ac_try_echo=$ac_try;;
14042 esac
14043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14044 (eval "$ac_link") 2>conftest.er1
14045 ac_status=$?
14046 grep -v '^ *+' conftest.er1 >conftest.err
14047 rm -f conftest.er1
14048 cat conftest.err >&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } && {
14051 test -z "$ac_c_werror_flag" ||
14052 test ! -s conftest.err
14053 } && test -s conftest$ac_exeext &&
14054 $as_test_x conftest$ac_exeext; then
14055 ac_cv_lib_esd_esd_open_sound=yes
14056 else
14057 echo "$as_me: failed program was:" >&5
14058 sed 's/^/| /' conftest.$ac_ext >&5
14060 ac_cv_lib_esd_esd_open_sound=no
14063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14064 conftest$ac_exeext conftest.$ac_ext
14065 LIBS=$ac_check_lib_save_LIBS
14067 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14068 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14069 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14070 ESDLIBS=$ESD_LIBS
14072 ESDINCL=$ESD_CFLAGS
14075 cat >>confdefs.h <<\_ACEOF
14076 #define HAVE_ESD 1
14077 _ACEOF
14081 CFLAGS="$save_CFLAGS"
14084 ALSALIBS=""
14086 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14087 then
14088 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14089 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14090 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14091 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 else
14093 ac_check_lib_save_LIBS=$LIBS
14094 LIBS="-lasound $LIBS"
14095 cat >conftest.$ac_ext <<_ACEOF
14096 /* confdefs.h. */
14097 _ACEOF
14098 cat confdefs.h >>conftest.$ac_ext
14099 cat >>conftest.$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14102 /* Override any GCC internal prototype to avoid an error.
14103 Use char because int might match the return type of a GCC
14104 builtin and then its argument prototype would still apply. */
14105 #ifdef __cplusplus
14106 extern "C"
14107 #endif
14108 char snd_pcm_hw_params_get_access ();
14110 main ()
14112 return snd_pcm_hw_params_get_access ();
14114 return 0;
14116 _ACEOF
14117 rm -f conftest.$ac_objext conftest$ac_exeext
14118 if { (ac_try="$ac_link"
14119 case "(($ac_try" in
14120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14121 *) ac_try_echo=$ac_try;;
14122 esac
14123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14124 (eval "$ac_link") 2>conftest.er1
14125 ac_status=$?
14126 grep -v '^ *+' conftest.er1 >conftest.err
14127 rm -f conftest.er1
14128 cat conftest.err >&5
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); } && {
14131 test -z "$ac_c_werror_flag" ||
14132 test ! -s conftest.err
14133 } && test -s conftest$ac_exeext &&
14134 $as_test_x conftest$ac_exeext; then
14135 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14136 else
14137 echo "$as_me: failed program was:" >&5
14138 sed 's/^/| /' conftest.$ac_ext >&5
14140 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14144 conftest$ac_exeext conftest.$ac_ext
14145 LIBS=$ac_check_lib_save_LIBS
14147 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14148 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14149 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14150 cat >conftest.$ac_ext <<_ACEOF
14151 /* confdefs.h. */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 #ifdef HAVE_ALSA_ASOUNDLIB_H
14157 #include <alsa/asoundlib.h>
14158 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14159 #include <sys/asoundlib.h>
14160 #endif
14162 main ()
14164 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14166 return 0;
14168 _ACEOF
14169 rm -f conftest.$ac_objext
14170 if { (ac_try="$ac_compile"
14171 case "(($ac_try" in
14172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14173 *) ac_try_echo=$ac_try;;
14174 esac
14175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14176 (eval "$ac_compile") 2>conftest.er1
14177 ac_status=$?
14178 grep -v '^ *+' conftest.er1 >conftest.err
14179 rm -f conftest.er1
14180 cat conftest.err >&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); } && {
14183 test -z "$ac_c_werror_flag" ||
14184 test ! -s conftest.err
14185 } && test -s conftest.$ac_objext; then
14187 cat >>confdefs.h <<\_ACEOF
14188 #define HAVE_ALSA 1
14189 _ACEOF
14191 ALSALIBS="-lasound"
14192 else
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.$ac_ext >&5
14199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14204 AUDIOIOLIBS=""
14206 if test "$ac_cv_header_libaudioio_h" = "yes"
14207 then
14208 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14209 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14210 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14211 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 else
14213 ac_check_lib_save_LIBS=$LIBS
14214 LIBS="-laudioio $LIBS"
14215 cat >conftest.$ac_ext <<_ACEOF
14216 /* confdefs.h. */
14217 _ACEOF
14218 cat confdefs.h >>conftest.$ac_ext
14219 cat >>conftest.$ac_ext <<_ACEOF
14220 /* end confdefs.h. */
14222 /* Override any GCC internal prototype to avoid an error.
14223 Use char because int might match the return type of a GCC
14224 builtin and then its argument prototype would still apply. */
14225 #ifdef __cplusplus
14226 extern "C"
14227 #endif
14228 char AudioIOGetVersion ();
14230 main ()
14232 return AudioIOGetVersion ();
14234 return 0;
14236 _ACEOF
14237 rm -f conftest.$ac_objext conftest$ac_exeext
14238 if { (ac_try="$ac_link"
14239 case "(($ac_try" in
14240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14241 *) ac_try_echo=$ac_try;;
14242 esac
14243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14244 (eval "$ac_link") 2>conftest.er1
14245 ac_status=$?
14246 grep -v '^ *+' conftest.er1 >conftest.err
14247 rm -f conftest.er1
14248 cat conftest.err >&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); } && {
14251 test -z "$ac_c_werror_flag" ||
14252 test ! -s conftest.err
14253 } && test -s conftest$ac_exeext &&
14254 $as_test_x conftest$ac_exeext; then
14255 ac_cv_lib_audioio_AudioIOGetVersion=yes
14256 else
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.$ac_ext >&5
14260 ac_cv_lib_audioio_AudioIOGetVersion=no
14263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14264 conftest$ac_exeext conftest.$ac_ext
14265 LIBS=$ac_check_lib_save_LIBS
14267 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14268 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14269 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14270 AUDIOIOLIBS="-laudioio"
14272 cat >>confdefs.h <<\_ACEOF
14273 #define HAVE_LIBAUDIOIO 1
14274 _ACEOF
14281 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14282 then
14283 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14284 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14285 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14286 echo $ECHO_N "(cached) $ECHO_C" >&6
14287 else
14288 ac_check_soname_save_LIBS=$LIBS
14289 LIBS="-lcapi20 $LIBS"
14290 cat >conftest.$ac_ext <<_ACEOF
14291 /* confdefs.h. */
14292 _ACEOF
14293 cat confdefs.h >>conftest.$ac_ext
14294 cat >>conftest.$ac_ext <<_ACEOF
14295 /* end confdefs.h. */
14297 /* Override any GCC internal prototype to avoid an error.
14298 Use char because int might match the return type of a GCC
14299 builtin and then its argument prototype would still apply. */
14300 #ifdef __cplusplus
14301 extern "C"
14302 #endif
14303 char capi20_register ();
14305 main ()
14307 return capi20_register ();
14309 return 0;
14311 _ACEOF
14312 rm -f conftest.$ac_objext conftest$ac_exeext
14313 if { (ac_try="$ac_link"
14314 case "(($ac_try" in
14315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14316 *) ac_try_echo=$ac_try;;
14317 esac
14318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14319 (eval "$ac_link") 2>conftest.er1
14320 ac_status=$?
14321 grep -v '^ *+' conftest.er1 >conftest.err
14322 rm -f conftest.er1
14323 cat conftest.err >&5
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); } && {
14326 test -z "$ac_c_werror_flag" ||
14327 test ! -s conftest.err
14328 } && test -s conftest$ac_exeext &&
14329 $as_test_x conftest$ac_exeext; then
14330 case "$LIBEXT" in
14331 dll) ;;
14332 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'` ;;
14333 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14334 esac
14335 else
14336 echo "$as_me: failed program was:" >&5
14337 sed 's/^/| /' conftest.$ac_ext >&5
14342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14343 conftest$ac_exeext conftest.$ac_ext
14344 LIBS=$ac_check_soname_save_LIBS
14346 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14347 { echo "$as_me:$LINENO: result: not found" >&5
14348 echo "${ECHO_T}not found" >&6; }
14350 else
14351 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14352 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14354 cat >>confdefs.h <<_ACEOF
14355 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14356 _ACEOF
14362 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14363 wine_notices="$wine_notices|libcapi20 development files not found.
14364 Wine will be built without ISDN support. (capi2032.dll)"
14368 if test "$ac_cv_header_cups_cups_h" = "yes"
14369 then
14370 { echo "$as_me:$LINENO: checking for -lcups" >&5
14371 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14372 if test "${ac_cv_lib_soname_cups+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 else
14375 ac_check_soname_save_LIBS=$LIBS
14376 LIBS="-lcups $LIBS"
14377 cat >conftest.$ac_ext <<_ACEOF
14378 /* confdefs.h. */
14379 _ACEOF
14380 cat confdefs.h >>conftest.$ac_ext
14381 cat >>conftest.$ac_ext <<_ACEOF
14382 /* end confdefs.h. */
14384 /* Override any GCC internal prototype to avoid an error.
14385 Use char because int might match the return type of a GCC
14386 builtin and then its argument prototype would still apply. */
14387 #ifdef __cplusplus
14388 extern "C"
14389 #endif
14390 char cupsGetDefault ();
14392 main ()
14394 return cupsGetDefault ();
14396 return 0;
14398 _ACEOF
14399 rm -f conftest.$ac_objext conftest$ac_exeext
14400 if { (ac_try="$ac_link"
14401 case "(($ac_try" in
14402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14403 *) ac_try_echo=$ac_try;;
14404 esac
14405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14406 (eval "$ac_link") 2>conftest.er1
14407 ac_status=$?
14408 grep -v '^ *+' conftest.er1 >conftest.err
14409 rm -f conftest.er1
14410 cat conftest.err >&5
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); } && {
14413 test -z "$ac_c_werror_flag" ||
14414 test ! -s conftest.err
14415 } && test -s conftest$ac_exeext &&
14416 $as_test_x conftest$ac_exeext; then
14417 case "$LIBEXT" in
14418 dll) ;;
14419 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'` ;;
14420 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14421 esac
14422 else
14423 echo "$as_me: failed program was:" >&5
14424 sed 's/^/| /' conftest.$ac_ext >&5
14429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14430 conftest$ac_exeext conftest.$ac_ext
14431 LIBS=$ac_check_soname_save_LIBS
14433 if test "x$ac_cv_lib_soname_cups" = "x"; then
14434 { echo "$as_me:$LINENO: result: not found" >&5
14435 echo "${ECHO_T}not found" >&6; }
14437 else
14438 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14439 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14441 cat >>confdefs.h <<_ACEOF
14442 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14443 _ACEOF
14449 if test "x$ac_cv_lib_soname_cups" = "x"; then
14450 wine_notices="$wine_notices|libcups development files not found.
14451 Wine will be built without CUPS support."
14455 if test "$ac_cv_header_jack_jack_h" = "yes"
14456 then
14457 { echo "$as_me:$LINENO: checking for -ljack" >&5
14458 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14459 if test "${ac_cv_lib_soname_jack+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14461 else
14462 ac_check_soname_save_LIBS=$LIBS
14463 LIBS="-ljack $LIBS"
14464 cat >conftest.$ac_ext <<_ACEOF
14465 /* confdefs.h. */
14466 _ACEOF
14467 cat confdefs.h >>conftest.$ac_ext
14468 cat >>conftest.$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14471 /* Override any GCC internal prototype to avoid an error.
14472 Use char because int might match the return type of a GCC
14473 builtin and then its argument prototype would still apply. */
14474 #ifdef __cplusplus
14475 extern "C"
14476 #endif
14477 char jack_client_new ();
14479 main ()
14481 return jack_client_new ();
14483 return 0;
14485 _ACEOF
14486 rm -f conftest.$ac_objext conftest$ac_exeext
14487 if { (ac_try="$ac_link"
14488 case "(($ac_try" in
14489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14490 *) ac_try_echo=$ac_try;;
14491 esac
14492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14493 (eval "$ac_link") 2>conftest.er1
14494 ac_status=$?
14495 grep -v '^ *+' conftest.er1 >conftest.err
14496 rm -f conftest.er1
14497 cat conftest.err >&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } && {
14500 test -z "$ac_c_werror_flag" ||
14501 test ! -s conftest.err
14502 } && test -s conftest$ac_exeext &&
14503 $as_test_x conftest$ac_exeext; then
14504 case "$LIBEXT" in
14505 dll) ;;
14506 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'` ;;
14507 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14508 esac
14509 else
14510 echo "$as_me: failed program was:" >&5
14511 sed 's/^/| /' conftest.$ac_ext >&5
14516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14517 conftest$ac_exeext conftest.$ac_ext
14518 LIBS=$ac_check_soname_save_LIBS
14520 if test "x$ac_cv_lib_soname_jack" = "x"; then
14521 { echo "$as_me:$LINENO: result: not found" >&5
14522 echo "${ECHO_T}not found" >&6; }
14524 else
14525 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14526 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14528 cat >>confdefs.h <<_ACEOF
14529 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14530 _ACEOF
14537 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14538 then
14539 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14540 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14541 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 else
14544 ac_check_soname_save_LIBS=$LIBS
14545 LIBS="-lfontconfig $LIBS"
14546 cat >conftest.$ac_ext <<_ACEOF
14547 /* confdefs.h. */
14548 _ACEOF
14549 cat confdefs.h >>conftest.$ac_ext
14550 cat >>conftest.$ac_ext <<_ACEOF
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 #ifdef __cplusplus
14557 extern "C"
14558 #endif
14559 char FcInit ();
14561 main ()
14563 return FcInit ();
14565 return 0;
14567 _ACEOF
14568 rm -f conftest.$ac_objext conftest$ac_exeext
14569 if { (ac_try="$ac_link"
14570 case "(($ac_try" in
14571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14572 *) ac_try_echo=$ac_try;;
14573 esac
14574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14575 (eval "$ac_link") 2>conftest.er1
14576 ac_status=$?
14577 grep -v '^ *+' conftest.er1 >conftest.err
14578 rm -f conftest.er1
14579 cat conftest.err >&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); } && {
14582 test -z "$ac_c_werror_flag" ||
14583 test ! -s conftest.err
14584 } && test -s conftest$ac_exeext &&
14585 $as_test_x conftest$ac_exeext; then
14586 case "$LIBEXT" in
14587 dll) ;;
14588 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'` ;;
14589 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14590 esac
14591 else
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14599 conftest$ac_exeext conftest.$ac_ext
14600 LIBS=$ac_check_soname_save_LIBS
14602 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14603 { echo "$as_me:$LINENO: result: not found" >&5
14604 echo "${ECHO_T}not found" >&6; }
14606 else
14607 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14608 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14610 cat >>confdefs.h <<_ACEOF
14611 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14612 _ACEOF
14617 elif test -n "$X_CFLAGS"
14618 then
14619 ac_save_CPPFLAGS="$CPPFLAGS"
14620 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14621 $as_unset ac_cv_header_fontconfig_fontconfig_h
14623 for ac_header in fontconfig/fontconfig.h
14625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 ac_res=`eval echo '${'$as_ac_Header'}'`
14633 { echo "$as_me:$LINENO: result: $ac_res" >&5
14634 echo "${ECHO_T}$ac_res" >&6; }
14635 else
14636 # Is the header compilable?
14637 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14639 cat >conftest.$ac_ext <<_ACEOF
14640 /* confdefs.h. */
14641 _ACEOF
14642 cat confdefs.h >>conftest.$ac_ext
14643 cat >>conftest.$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14645 $ac_includes_default
14646 #include <$ac_header>
14647 _ACEOF
14648 rm -f conftest.$ac_objext
14649 if { (ac_try="$ac_compile"
14650 case "(($ac_try" in
14651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14652 *) ac_try_echo=$ac_try;;
14653 esac
14654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14655 (eval "$ac_compile") 2>conftest.er1
14656 ac_status=$?
14657 grep -v '^ *+' conftest.er1 >conftest.err
14658 rm -f conftest.er1
14659 cat conftest.err >&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } && {
14662 test -z "$ac_c_werror_flag" ||
14663 test ! -s conftest.err
14664 } && test -s conftest.$ac_objext; then
14665 ac_header_compiler=yes
14666 else
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14670 ac_header_compiler=no
14673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14674 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14675 echo "${ECHO_T}$ac_header_compiler" >&6; }
14677 # Is the header present?
14678 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14680 cat >conftest.$ac_ext <<_ACEOF
14681 /* confdefs.h. */
14682 _ACEOF
14683 cat confdefs.h >>conftest.$ac_ext
14684 cat >>conftest.$ac_ext <<_ACEOF
14685 /* end confdefs.h. */
14686 #include <$ac_header>
14687 _ACEOF
14688 if { (ac_try="$ac_cpp conftest.$ac_ext"
14689 case "(($ac_try" in
14690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14691 *) ac_try_echo=$ac_try;;
14692 esac
14693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14695 ac_status=$?
14696 grep -v '^ *+' conftest.er1 >conftest.err
14697 rm -f conftest.er1
14698 cat conftest.err >&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } >/dev/null && {
14701 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14702 test ! -s conftest.err
14703 }; then
14704 ac_header_preproc=yes
14705 else
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14709 ac_header_preproc=no
14712 rm -f conftest.err conftest.$ac_ext
14713 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14714 echo "${ECHO_T}$ac_header_preproc" >&6; }
14716 # So? What about this header?
14717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14718 yes:no: )
14719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14723 ac_header_preproc=yes
14725 no:yes:* )
14726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14738 ( cat <<\_ASBOX
14739 ## ------------------------------------ ##
14740 ## Report this to wine-devel@winehq.org ##
14741 ## ------------------------------------ ##
14742 _ASBOX
14743 ) | sed "s/^/$as_me: WARNING: /" >&2
14745 esac
14746 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14749 echo $ECHO_N "(cached) $ECHO_C" >&6
14750 else
14751 eval "$as_ac_Header=\$ac_header_preproc"
14753 ac_res=`eval echo '${'$as_ac_Header'}'`
14754 { echo "$as_me:$LINENO: result: $ac_res" >&5
14755 echo "${ECHO_T}$ac_res" >&6; }
14758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14759 cat >>confdefs.h <<_ACEOF
14760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14761 _ACEOF
14765 done
14767 CPPFLAGS="$ac_save_CPPFLAGS"
14768 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14769 then
14770 FONTCONFIGINCL="$X_CFLAGS"
14772 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14773 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14774 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14775 echo $ECHO_N "(cached) $ECHO_C" >&6
14776 else
14777 ac_check_soname_save_LIBS=$LIBS
14778 LIBS="-lfontconfig $X_LIBS $LIBS"
14779 cat >conftest.$ac_ext <<_ACEOF
14780 /* confdefs.h. */
14781 _ACEOF
14782 cat confdefs.h >>conftest.$ac_ext
14783 cat >>conftest.$ac_ext <<_ACEOF
14784 /* end confdefs.h. */
14786 /* Override any GCC internal prototype to avoid an error.
14787 Use char because int might match the return type of a GCC
14788 builtin and then its argument prototype would still apply. */
14789 #ifdef __cplusplus
14790 extern "C"
14791 #endif
14792 char FcInit ();
14794 main ()
14796 return FcInit ();
14798 return 0;
14800 _ACEOF
14801 rm -f conftest.$ac_objext conftest$ac_exeext
14802 if { (ac_try="$ac_link"
14803 case "(($ac_try" in
14804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14805 *) ac_try_echo=$ac_try;;
14806 esac
14807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14808 (eval "$ac_link") 2>conftest.er1
14809 ac_status=$?
14810 grep -v '^ *+' conftest.er1 >conftest.err
14811 rm -f conftest.er1
14812 cat conftest.err >&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); } && {
14815 test -z "$ac_c_werror_flag" ||
14816 test ! -s conftest.err
14817 } && test -s conftest$ac_exeext &&
14818 $as_test_x conftest$ac_exeext; then
14819 case "$LIBEXT" in
14820 dll) ;;
14821 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'` ;;
14822 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14823 esac
14824 else
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.$ac_ext >&5
14831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14832 conftest$ac_exeext conftest.$ac_ext
14833 LIBS=$ac_check_soname_save_LIBS
14835 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14836 { echo "$as_me:$LINENO: result: not found" >&5
14837 echo "${ECHO_T}not found" >&6; }
14839 else
14840 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14841 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14843 cat >>confdefs.h <<_ACEOF
14844 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14845 _ACEOF
14852 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14853 wine_notices="$wine_notices|fontconfig development files not found.
14854 Wine will be built without fontconfig support."
14858 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14859 then
14860 { echo "$as_me:$LINENO: checking for -lssl" >&5
14861 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14862 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14863 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 else
14865 ac_check_soname_save_LIBS=$LIBS
14866 LIBS="-lssl $LIBS"
14867 cat >conftest.$ac_ext <<_ACEOF
14868 /* confdefs.h. */
14869 _ACEOF
14870 cat confdefs.h >>conftest.$ac_ext
14871 cat >>conftest.$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14874 /* Override any GCC internal prototype to avoid an error.
14875 Use char because int might match the return type of a GCC
14876 builtin and then its argument prototype would still apply. */
14877 #ifdef __cplusplus
14878 extern "C"
14879 #endif
14880 char SSL_library_init ();
14882 main ()
14884 return SSL_library_init ();
14886 return 0;
14888 _ACEOF
14889 rm -f conftest.$ac_objext conftest$ac_exeext
14890 if { (ac_try="$ac_link"
14891 case "(($ac_try" in
14892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14893 *) ac_try_echo=$ac_try;;
14894 esac
14895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14896 (eval "$ac_link") 2>conftest.er1
14897 ac_status=$?
14898 grep -v '^ *+' conftest.er1 >conftest.err
14899 rm -f conftest.er1
14900 cat conftest.err >&5
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } && {
14903 test -z "$ac_c_werror_flag" ||
14904 test ! -s conftest.err
14905 } && test -s conftest$ac_exeext &&
14906 $as_test_x conftest$ac_exeext; then
14907 case "$LIBEXT" in
14908 dll) ;;
14909 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'` ;;
14910 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14911 esac
14912 else
14913 echo "$as_me: failed program was:" >&5
14914 sed 's/^/| /' conftest.$ac_ext >&5
14919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14920 conftest$ac_exeext conftest.$ac_ext
14921 LIBS=$ac_check_soname_save_LIBS
14923 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14924 { echo "$as_me:$LINENO: result: not found" >&5
14925 echo "${ECHO_T}not found" >&6; }
14927 else
14928 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14929 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14931 cat >>confdefs.h <<_ACEOF
14932 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14933 _ACEOF
14938 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14939 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14940 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 else
14943 ac_check_soname_save_LIBS=$LIBS
14944 LIBS="-lcrypto $LIBS"
14945 cat >conftest.$ac_ext <<_ACEOF
14946 /* confdefs.h. */
14947 _ACEOF
14948 cat confdefs.h >>conftest.$ac_ext
14949 cat >>conftest.$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14955 #ifdef __cplusplus
14956 extern "C"
14957 #endif
14958 char BIO_new_socket ();
14960 main ()
14962 return BIO_new_socket ();
14964 return 0;
14966 _ACEOF
14967 rm -f conftest.$ac_objext conftest$ac_exeext
14968 if { (ac_try="$ac_link"
14969 case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14972 esac
14973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14974 (eval "$ac_link") 2>conftest.er1
14975 ac_status=$?
14976 grep -v '^ *+' conftest.er1 >conftest.err
14977 rm -f conftest.er1
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } && {
14981 test -z "$ac_c_werror_flag" ||
14982 test ! -s conftest.err
14983 } && test -s conftest$ac_exeext &&
14984 $as_test_x conftest$ac_exeext; then
14985 case "$LIBEXT" in
14986 dll) ;;
14987 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'` ;;
14988 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14989 esac
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14998 conftest$ac_exeext conftest.$ac_ext
14999 LIBS=$ac_check_soname_save_LIBS
15001 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15002 { echo "$as_me:$LINENO: result: not found" >&5
15003 echo "${ECHO_T}not found" >&6; }
15005 else
15006 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15007 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15009 cat >>confdefs.h <<_ACEOF
15010 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15011 _ACEOF
15017 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15018 wine_notices="$wine_notices|OpenSSL development files not found.
15019 Wine will be built without SSL support. (wininet.dll)"
15023 if test "$ac_cv_header_jpeglib_h" = "yes"
15024 then
15025 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15026 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15027 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 else
15030 ac_check_soname_save_LIBS=$LIBS
15031 LIBS="-ljpeg $LIBS"
15032 cat >conftest.$ac_ext <<_ACEOF
15033 /* confdefs.h. */
15034 _ACEOF
15035 cat confdefs.h >>conftest.$ac_ext
15036 cat >>conftest.$ac_ext <<_ACEOF
15037 /* end confdefs.h. */
15039 /* Override any GCC internal prototype to avoid an error.
15040 Use char because int might match the return type of a GCC
15041 builtin and then its argument prototype would still apply. */
15042 #ifdef __cplusplus
15043 extern "C"
15044 #endif
15045 char jpeg_start_decompress ();
15047 main ()
15049 return jpeg_start_decompress ();
15051 return 0;
15053 _ACEOF
15054 rm -f conftest.$ac_objext conftest$ac_exeext
15055 if { (ac_try="$ac_link"
15056 case "(($ac_try" in
15057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15058 *) ac_try_echo=$ac_try;;
15059 esac
15060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15061 (eval "$ac_link") 2>conftest.er1
15062 ac_status=$?
15063 grep -v '^ *+' conftest.er1 >conftest.err
15064 rm -f conftest.er1
15065 cat conftest.err >&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); } && {
15068 test -z "$ac_c_werror_flag" ||
15069 test ! -s conftest.err
15070 } && test -s conftest$ac_exeext &&
15071 $as_test_x conftest$ac_exeext; then
15072 case "$LIBEXT" in
15073 dll) ;;
15074 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'` ;;
15075 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15076 esac
15077 else
15078 echo "$as_me: failed program was:" >&5
15079 sed 's/^/| /' conftest.$ac_ext >&5
15084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15085 conftest$ac_exeext conftest.$ac_ext
15086 LIBS=$ac_check_soname_save_LIBS
15088 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15089 { echo "$as_me:$LINENO: result: not found" >&5
15090 echo "${ECHO_T}not found" >&6; }
15092 else
15093 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15094 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15096 cat >>confdefs.h <<_ACEOF
15097 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15098 _ACEOF
15104 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15105 wine_notices="$wine_notices|libjpeg development files not found.
15106 Wine will be built without JPEG support. (oleaut32.dll)"
15110 if test "$ac_cv_header_png_h" = "yes"
15111 then
15112 { echo "$as_me:$LINENO: checking for -lpng" >&5
15113 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15114 if test "${ac_cv_lib_soname_png+set}" = set; then
15115 echo $ECHO_N "(cached) $ECHO_C" >&6
15116 else
15117 ac_check_soname_save_LIBS=$LIBS
15118 LIBS="-lpng $LIBS"
15119 cat >conftest.$ac_ext <<_ACEOF
15120 /* confdefs.h. */
15121 _ACEOF
15122 cat confdefs.h >>conftest.$ac_ext
15123 cat >>conftest.$ac_ext <<_ACEOF
15124 /* end confdefs.h. */
15126 /* Override any GCC internal prototype to avoid an error.
15127 Use char because int might match the return type of a GCC
15128 builtin and then its argument prototype would still apply. */
15129 #ifdef __cplusplus
15130 extern "C"
15131 #endif
15132 char png_create_read_struct ();
15134 main ()
15136 return png_create_read_struct ();
15138 return 0;
15140 _ACEOF
15141 rm -f conftest.$ac_objext conftest$ac_exeext
15142 if { (ac_try="$ac_link"
15143 case "(($ac_try" in
15144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15145 *) ac_try_echo=$ac_try;;
15146 esac
15147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15148 (eval "$ac_link") 2>conftest.er1
15149 ac_status=$?
15150 grep -v '^ *+' conftest.er1 >conftest.err
15151 rm -f conftest.er1
15152 cat conftest.err >&5
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); } && {
15155 test -z "$ac_c_werror_flag" ||
15156 test ! -s conftest.err
15157 } && test -s conftest$ac_exeext &&
15158 $as_test_x conftest$ac_exeext; then
15159 case "$LIBEXT" in
15160 dll) ;;
15161 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'` ;;
15162 *) 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'` ;;
15163 esac
15164 else
15165 echo "$as_me: failed program was:" >&5
15166 sed 's/^/| /' conftest.$ac_ext >&5
15171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15172 conftest$ac_exeext conftest.$ac_ext
15173 LIBS=$ac_check_soname_save_LIBS
15175 if test "x$ac_cv_lib_soname_png" = "x"; then
15176 { echo "$as_me:$LINENO: result: not found" >&5
15177 echo "${ECHO_T}not found" >&6; }
15179 else
15180 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15181 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15183 cat >>confdefs.h <<_ACEOF
15184 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15185 _ACEOF
15191 if test "x$ac_cv_lib_soname_png" = "x"; then
15192 wine_notices="$wine_notices|libpng development files not found.
15193 Wine will be built without PNG support. (oleaut32.dll)"
15197 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15198 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15199 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15200 "$ac_cv_header_soundcard_h" != "yes"; then
15201 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15206 EXTRACFLAGS=""
15208 if test "x${GCC}" = "xyes"
15209 then
15210 EXTRACFLAGS="-Wall -pipe"
15212 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15213 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15214 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15215 echo $ECHO_N "(cached) $ECHO_C" >&6
15216 else
15217 if test "$cross_compiling" = yes; then
15218 ac_cv_c_gcc_strength_bug="yes"
15219 else
15220 cat >conftest.$ac_ext <<_ACEOF
15221 /* confdefs.h. */
15222 _ACEOF
15223 cat confdefs.h >>conftest.$ac_ext
15224 cat >>conftest.$ac_ext <<_ACEOF
15225 /* end confdefs.h. */
15226 int L[4] = {0,1,2,3};
15228 main ()
15230 static int Array[3];
15231 unsigned int B = 3;
15232 int i;
15233 for(i=0; i<B; i++) Array[i] = i - 3;
15234 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15235 L[i] = 4;
15236 exit( Array[1] != -2 || L[2] != 3)
15238 return 0;
15240 _ACEOF
15241 rm -f conftest$ac_exeext
15242 if { (ac_try="$ac_link"
15243 case "(($ac_try" in
15244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15245 *) ac_try_echo=$ac_try;;
15246 esac
15247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15248 (eval "$ac_link") 2>&5
15249 ac_status=$?
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15252 { (case "(($ac_try" in
15253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15254 *) ac_try_echo=$ac_try;;
15255 esac
15256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15257 (eval "$ac_try") 2>&5
15258 ac_status=$?
15259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260 (exit $ac_status); }; }; then
15261 ac_cv_c_gcc_strength_bug="no"
15262 else
15263 echo "$as_me: program exited with status $ac_status" >&5
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15267 ( exit $ac_status )
15268 ac_cv_c_gcc_strength_bug="yes"
15270 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15275 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15276 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15277 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15278 then
15279 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15283 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15284 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15285 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15286 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 else
15288 ac_wine_try_cflags_saved=$CFLAGS
15289 CFLAGS="$CFLAGS -fshort-wchar"
15290 cat >conftest.$ac_ext <<_ACEOF
15291 /* confdefs.h. */
15292 _ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15298 main ()
15302 return 0;
15304 _ACEOF
15305 rm -f conftest.$ac_objext conftest$ac_exeext
15306 if { (ac_try="$ac_link"
15307 case "(($ac_try" in
15308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15309 *) ac_try_echo=$ac_try;;
15310 esac
15311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15312 (eval "$ac_link") 2>conftest.er1
15313 ac_status=$?
15314 grep -v '^ *+' conftest.er1 >conftest.err
15315 rm -f conftest.er1
15316 cat conftest.err >&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); } && {
15319 test -z "$ac_c_werror_flag" ||
15320 test ! -s conftest.err
15321 } && test -s conftest$ac_exeext &&
15322 $as_test_x conftest$ac_exeext; then
15323 ac_cv_cflags__fshort_wchar=yes
15324 else
15325 echo "$as_me: failed program was:" >&5
15326 sed 's/^/| /' conftest.$ac_ext >&5
15328 ac_cv_cflags__fshort_wchar=no
15331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15332 conftest$ac_exeext conftest.$ac_ext
15333 CFLAGS=$ac_wine_try_cflags_saved
15335 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15336 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15337 if test $ac_cv_cflags__fshort_wchar = yes; then
15339 cat >>confdefs.h <<\_ACEOF
15340 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15341 _ACEOF
15345 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15346 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15347 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15349 else
15350 ac_wine_try_cflags_saved=$CFLAGS
15351 CFLAGS="$CFLAGS -fno-strict-aliasing"
15352 cat >conftest.$ac_ext <<_ACEOF
15353 /* confdefs.h. */
15354 _ACEOF
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15360 main ()
15364 return 0;
15366 _ACEOF
15367 rm -f conftest.$ac_objext conftest$ac_exeext
15368 if { (ac_try="$ac_link"
15369 case "(($ac_try" in
15370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15371 *) ac_try_echo=$ac_try;;
15372 esac
15373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15374 (eval "$ac_link") 2>conftest.er1
15375 ac_status=$?
15376 grep -v '^ *+' conftest.er1 >conftest.err
15377 rm -f conftest.er1
15378 cat conftest.err >&5
15379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 (exit $ac_status); } && {
15381 test -z "$ac_c_werror_flag" ||
15382 test ! -s conftest.err
15383 } && test -s conftest$ac_exeext &&
15384 $as_test_x conftest$ac_exeext; then
15385 ac_cv_cflags__fno_strict_aliasing=yes
15386 else
15387 echo "$as_me: failed program was:" >&5
15388 sed 's/^/| /' conftest.$ac_ext >&5
15390 ac_cv_cflags__fno_strict_aliasing=no
15393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15394 conftest$ac_exeext conftest.$ac_ext
15395 CFLAGS=$ac_wine_try_cflags_saved
15397 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15398 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15399 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15400 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15403 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15404 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15405 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15406 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 else
15408 ac_wine_try_cflags_saved=$CFLAGS
15409 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15410 cat >conftest.$ac_ext <<_ACEOF
15411 /* confdefs.h. */
15412 _ACEOF
15413 cat confdefs.h >>conftest.$ac_ext
15414 cat >>conftest.$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15418 main ()
15422 return 0;
15424 _ACEOF
15425 rm -f conftest.$ac_objext conftest$ac_exeext
15426 if { (ac_try="$ac_link"
15427 case "(($ac_try" in
15428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15429 *) ac_try_echo=$ac_try;;
15430 esac
15431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15432 (eval "$ac_link") 2>conftest.er1
15433 ac_status=$?
15434 grep -v '^ *+' conftest.er1 >conftest.err
15435 rm -f conftest.er1
15436 cat conftest.err >&5
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 (exit $ac_status); } && {
15439 test -z "$ac_c_werror_flag" ||
15440 test ! -s conftest.err
15441 } && test -s conftest$ac_exeext &&
15442 $as_test_x conftest$ac_exeext; then
15443 ac_cv_cflags__Wdeclaration_after_statement=yes
15444 else
15445 echo "$as_me: failed program was:" >&5
15446 sed 's/^/| /' conftest.$ac_ext >&5
15448 ac_cv_cflags__Wdeclaration_after_statement=no
15451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15452 conftest$ac_exeext conftest.$ac_ext
15453 CFLAGS=$ac_wine_try_cflags_saved
15455 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15456 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15457 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15458 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15461 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15462 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15463 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15464 echo $ECHO_N "(cached) $ECHO_C" >&6
15465 else
15466 ac_wine_try_cflags_saved=$CFLAGS
15467 CFLAGS="$CFLAGS -Wwrite-strings"
15468 cat >conftest.$ac_ext <<_ACEOF
15469 /* confdefs.h. */
15470 _ACEOF
15471 cat confdefs.h >>conftest.$ac_ext
15472 cat >>conftest.$ac_ext <<_ACEOF
15473 /* end confdefs.h. */
15476 main ()
15480 return 0;
15482 _ACEOF
15483 rm -f conftest.$ac_objext conftest$ac_exeext
15484 if { (ac_try="$ac_link"
15485 case "(($ac_try" in
15486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15487 *) ac_try_echo=$ac_try;;
15488 esac
15489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15490 (eval "$ac_link") 2>conftest.er1
15491 ac_status=$?
15492 grep -v '^ *+' conftest.er1 >conftest.err
15493 rm -f conftest.er1
15494 cat conftest.err >&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); } && {
15497 test -z "$ac_c_werror_flag" ||
15498 test ! -s conftest.err
15499 } && test -s conftest$ac_exeext &&
15500 $as_test_x conftest$ac_exeext; then
15501 ac_cv_cflags__Wwrite_strings=yes
15502 else
15503 echo "$as_me: failed program was:" >&5
15504 sed 's/^/| /' conftest.$ac_ext >&5
15506 ac_cv_cflags__Wwrite_strings=no
15509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15510 conftest$ac_exeext conftest.$ac_ext
15511 CFLAGS=$ac_wine_try_cflags_saved
15513 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15514 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15515 if test $ac_cv_cflags__Wwrite_strings = yes; then
15516 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15520 saved_CFLAGS="$CFLAGS"
15521 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15522 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15523 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15524 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15525 echo $ECHO_N "(cached) $ECHO_C" >&6
15526 else
15527 cat >conftest.$ac_ext <<_ACEOF
15528 /* confdefs.h. */
15529 _ACEOF
15530 cat confdefs.h >>conftest.$ac_ext
15531 cat >>conftest.$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15533 #include <string.h>
15535 main ()
15539 return 0;
15541 _ACEOF
15542 rm -f conftest.$ac_objext
15543 if { (ac_try="$ac_compile"
15544 case "(($ac_try" in
15545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15546 *) ac_try_echo=$ac_try;;
15547 esac
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_compile") 2>conftest.er1
15550 ac_status=$?
15551 grep -v '^ *+' conftest.er1 >conftest.err
15552 rm -f conftest.er1
15553 cat conftest.err >&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } && {
15556 test -z "$ac_c_werror_flag" ||
15557 test ! -s conftest.err
15558 } && test -s conftest.$ac_objext; then
15559 ac_cv_c_string_h_warnings=no
15560 else
15561 echo "$as_me: failed program was:" >&5
15562 sed 's/^/| /' conftest.$ac_ext >&5
15564 ac_cv_c_string_h_warnings=yes
15567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15569 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15570 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15571 CFLAGS="$saved_CFLAGS"
15572 if test "$ac_cv_c_string_h_warnings" = "no"
15573 then
15574 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15577 BUILTINFLAG=""
15579 saved_CFLAGS="$CFLAGS"
15580 CFLAGS="$CFLAGS -Werror"
15581 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15582 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15583 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15584 echo $ECHO_N "(cached) $ECHO_C" >&6
15585 else
15586 cat >conftest.$ac_ext <<_ACEOF
15587 /* confdefs.h. */
15588 _ACEOF
15589 cat confdefs.h >>conftest.$ac_ext
15590 cat >>conftest.$ac_ext <<_ACEOF
15591 /* end confdefs.h. */
15594 main ()
15596 int iswlower(unsigned short);
15598 return 0;
15600 _ACEOF
15601 rm -f conftest.$ac_objext
15602 if { (ac_try="$ac_compile"
15603 case "(($ac_try" in
15604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15605 *) ac_try_echo=$ac_try;;
15606 esac
15607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15608 (eval "$ac_compile") 2>conftest.er1
15609 ac_status=$?
15610 grep -v '^ *+' conftest.er1 >conftest.err
15611 rm -f conftest.er1
15612 cat conftest.err >&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); } && {
15615 test -z "$ac_c_werror_flag" ||
15616 test ! -s conftest.err
15617 } && test -s conftest.$ac_objext; then
15618 ac_cv_c_builtin_wchar_ctype=no
15619 else
15620 echo "$as_me: failed program was:" >&5
15621 sed 's/^/| /' conftest.$ac_ext >&5
15623 ac_cv_c_builtin_wchar_ctype=yes
15626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15628 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15629 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15630 CFLAGS="$saved_CFLAGS"
15631 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15632 then
15633 BUILTINFLAG="-fno-builtin"
15638 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15639 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15640 if test "${ac_cv_asm_func_def+set}" = set; then
15641 echo $ECHO_N "(cached) $ECHO_C" >&6
15642 else
15643 cat >conftest.$ac_ext <<_ACEOF
15644 /* confdefs.h. */
15645 _ACEOF
15646 cat confdefs.h >>conftest.$ac_ext
15647 cat >>conftest.$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15651 main ()
15653 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15655 return 0;
15657 _ACEOF
15658 rm -f conftest.$ac_objext conftest$ac_exeext
15659 if { (ac_try="$ac_link"
15660 case "(($ac_try" in
15661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15662 *) ac_try_echo=$ac_try;;
15663 esac
15664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15665 (eval "$ac_link") 2>conftest.er1
15666 ac_status=$?
15667 grep -v '^ *+' conftest.er1 >conftest.err
15668 rm -f conftest.er1
15669 cat conftest.err >&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); } && {
15672 test -z "$ac_c_werror_flag" ||
15673 test ! -s conftest.err
15674 } && test -s conftest$ac_exeext &&
15675 $as_test_x conftest$ac_exeext; then
15676 ac_cv_asm_func_def=".def"
15677 else
15678 echo "$as_me: failed program was:" >&5
15679 sed 's/^/| /' conftest.$ac_ext >&5
15681 cat >conftest.$ac_ext <<_ACEOF
15682 /* confdefs.h. */
15683 _ACEOF
15684 cat confdefs.h >>conftest.$ac_ext
15685 cat >>conftest.$ac_ext <<_ACEOF
15686 /* end confdefs.h. */
15689 main ()
15691 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15693 return 0;
15695 _ACEOF
15696 rm -f conftest.$ac_objext conftest$ac_exeext
15697 if { (ac_try="$ac_link"
15698 case "(($ac_try" in
15699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15700 *) ac_try_echo=$ac_try;;
15701 esac
15702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15703 (eval "$ac_link") 2>conftest.er1
15704 ac_status=$?
15705 grep -v '^ *+' conftest.er1 >conftest.err
15706 rm -f conftest.er1
15707 cat conftest.err >&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); } && {
15710 test -z "$ac_c_werror_flag" ||
15711 test ! -s conftest.err
15712 } && test -s conftest$ac_exeext &&
15713 $as_test_x conftest$ac_exeext; then
15714 ac_cv_asm_func_def=".type @function"
15715 else
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.$ac_ext >&5
15719 cat >conftest.$ac_ext <<_ACEOF
15720 /* confdefs.h. */
15721 _ACEOF
15722 cat confdefs.h >>conftest.$ac_ext
15723 cat >>conftest.$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15727 main ()
15729 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15731 return 0;
15733 _ACEOF
15734 rm -f conftest.$ac_objext conftest$ac_exeext
15735 if { (ac_try="$ac_link"
15736 case "(($ac_try" in
15737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15738 *) ac_try_echo=$ac_try;;
15739 esac
15740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15741 (eval "$ac_link") 2>conftest.er1
15742 ac_status=$?
15743 grep -v '^ *+' conftest.er1 >conftest.err
15744 rm -f conftest.er1
15745 cat conftest.err >&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); } && {
15748 test -z "$ac_c_werror_flag" ||
15749 test ! -s conftest.err
15750 } && test -s conftest$ac_exeext &&
15751 $as_test_x conftest$ac_exeext; then
15752 ac_cv_asm_func_def=".type 2"
15753 else
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.$ac_ext >&5
15757 ac_cv_asm_func_def="unknown"
15760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15761 conftest$ac_exeext conftest.$ac_ext
15764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15765 conftest$ac_exeext conftest.$ac_ext
15768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15769 conftest$ac_exeext conftest.$ac_ext
15771 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15772 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15776 case "$ac_cv_asm_func_def" in
15777 ".def")
15778 cat >>confdefs.h <<\_ACEOF
15779 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15780 _ACEOF
15782 ".type @function")
15783 cat >>confdefs.h <<\_ACEOF
15784 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15785 _ACEOF
15787 ".type 2")
15788 cat >>confdefs.h <<\_ACEOF
15789 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15790 _ACEOF
15793 cat >>confdefs.h <<\_ACEOF
15794 #define __ASM_FUNC(name) ""
15795 _ACEOF
15797 esac
15800 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15801 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15802 if test "${ac_cv_c_extern_prefix+set}" = set; then
15803 echo $ECHO_N "(cached) $ECHO_C" >&6
15804 else
15805 cat >conftest.$ac_ext <<_ACEOF
15806 /* confdefs.h. */
15807 _ACEOF
15808 cat confdefs.h >>conftest.$ac_ext
15809 cat >>conftest.$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15811 extern int ac_test;
15813 main ()
15815 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15817 return 0;
15819 _ACEOF
15820 rm -f conftest.$ac_objext conftest$ac_exeext
15821 if { (ac_try="$ac_link"
15822 case "(($ac_try" in
15823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15824 *) ac_try_echo=$ac_try;;
15825 esac
15826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15827 (eval "$ac_link") 2>conftest.er1
15828 ac_status=$?
15829 grep -v '^ *+' conftest.er1 >conftest.err
15830 rm -f conftest.er1
15831 cat conftest.err >&5
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); } && {
15834 test -z "$ac_c_werror_flag" ||
15835 test ! -s conftest.err
15836 } && test -s conftest$ac_exeext &&
15837 $as_test_x conftest$ac_exeext; then
15838 ac_cv_c_extern_prefix="yes"
15839 else
15840 echo "$as_me: failed program was:" >&5
15841 sed 's/^/| /' conftest.$ac_ext >&5
15843 ac_cv_c_extern_prefix="no"
15846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15847 conftest$ac_exeext conftest.$ac_ext
15849 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15850 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15854 if test "$ac_cv_c_extern_prefix" = "yes"
15855 then
15856 cat >>confdefs.h <<\_ACEOF
15857 #define __ASM_NAME(name) "_" name
15858 _ACEOF
15860 else
15861 cat >>confdefs.h <<\_ACEOF
15862 #define __ASM_NAME(name) name
15863 _ACEOF
15868 LDPATH=""
15870 case $build_os in
15871 cygwin*|mingw32*)
15872 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15874 darwin*|macosx*)
15876 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15877 then
15878 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15882 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15884 esac
15886 case $host_os in
15887 mingw32*)
15888 CRTLIBS="-lmsvcrt"
15890 SOCKETLIBS="-lws2_32"
15893 esac
15895 MAIN_BINARY="wine-pthread"
15896 case $host_cpu in
15897 *i[3456789]86*)
15898 case $host_os in
15899 linux* | k*bsd*-gnu)
15900 MAIN_BINARY="wine-glibc"
15902 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15904 freebsd*)
15905 MAIN_BINARY="wine-freebsd"
15907 EXTRA_BINARIES="wine-pthread"
15909 esac
15911 esac
15978 for ac_func in \
15979 _pclose \
15980 _popen \
15981 _snprintf \
15982 _spawnvp \
15983 _strdup \
15984 _stricmp \
15985 _strnicmp \
15986 _vsnprintf \
15987 asctime_r \
15988 chsize \
15989 clone \
15990 dlopen \
15991 epoll_create \
15992 ffs \
15993 finite \
15994 fork \
15995 fpclass \
15996 fstatfs \
15997 fstatvfs \
15998 ftruncate \
15999 futimes \
16000 futimesat \
16001 getdirentries \
16002 getopt_long \
16003 getpagesize \
16004 getpwuid \
16005 gettid \
16006 gettimeofday \
16007 getuid \
16008 inet_pton \
16009 kqueue \
16010 lstat \
16011 memmove \
16012 mmap \
16013 pclose \
16014 poll \
16015 popen \
16016 prctl \
16017 pread \
16018 pwrite \
16019 readlink \
16020 rfork \
16021 sched_yield \
16022 select \
16023 setrlimit \
16024 settimeofday \
16025 sigaltstack \
16026 sigprocmask \
16027 snprintf \
16028 spawnvp \
16029 statfs \
16030 statvfs \
16031 strcasecmp \
16032 strdup \
16033 strerror \
16034 strncasecmp \
16035 strtold \
16036 tcgetattr \
16037 thr_kill2 \
16038 timegm \
16039 usleep \
16040 vsnprintf \
16041 wait4 \
16042 waitpid \
16045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16046 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16048 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16049 echo $ECHO_N "(cached) $ECHO_C" >&6
16050 else
16051 cat >conftest.$ac_ext <<_ACEOF
16052 /* confdefs.h. */
16053 _ACEOF
16054 cat confdefs.h >>conftest.$ac_ext
16055 cat >>conftest.$ac_ext <<_ACEOF
16056 /* end confdefs.h. */
16057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16059 #define $ac_func innocuous_$ac_func
16061 /* System header to define __stub macros and hopefully few prototypes,
16062 which can conflict with char $ac_func (); below.
16063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16064 <limits.h> exists even on freestanding compilers. */
16066 #ifdef __STDC__
16067 # include <limits.h>
16068 #else
16069 # include <assert.h>
16070 #endif
16072 #undef $ac_func
16074 /* Override any GCC internal prototype to avoid an error.
16075 Use char because int might match the return type of a GCC
16076 builtin and then its argument prototype would still apply. */
16077 #ifdef __cplusplus
16078 extern "C"
16079 #endif
16080 char $ac_func ();
16081 /* The GNU C library defines this for functions which it implements
16082 to always fail with ENOSYS. Some functions are actually named
16083 something starting with __ and the normal name is an alias. */
16084 #if defined __stub_$ac_func || defined __stub___$ac_func
16085 choke me
16086 #endif
16089 main ()
16091 return $ac_func ();
16093 return 0;
16095 _ACEOF
16096 rm -f conftest.$ac_objext conftest$ac_exeext
16097 if { (ac_try="$ac_link"
16098 case "(($ac_try" in
16099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16100 *) ac_try_echo=$ac_try;;
16101 esac
16102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16103 (eval "$ac_link") 2>conftest.er1
16104 ac_status=$?
16105 grep -v '^ *+' conftest.er1 >conftest.err
16106 rm -f conftest.er1
16107 cat conftest.err >&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); } && {
16110 test -z "$ac_c_werror_flag" ||
16111 test ! -s conftest.err
16112 } && test -s conftest$ac_exeext &&
16113 $as_test_x conftest$ac_exeext; then
16114 eval "$as_ac_var=yes"
16115 else
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.$ac_ext >&5
16119 eval "$as_ac_var=no"
16122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16123 conftest$ac_exeext conftest.$ac_ext
16125 ac_res=`eval echo '${'$as_ac_var'}'`
16126 { echo "$as_me:$LINENO: result: $ac_res" >&5
16127 echo "${ECHO_T}$ac_res" >&6; }
16128 if test `eval echo '${'$as_ac_var'}'` = yes; then
16129 cat >>confdefs.h <<_ACEOF
16130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16131 _ACEOF
16134 done
16137 if test "$ac_cv_func_dlopen" = no
16138 then
16139 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16140 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16141 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16142 echo $ECHO_N "(cached) $ECHO_C" >&6
16143 else
16144 ac_check_lib_save_LIBS=$LIBS
16145 LIBS="-ldl $LIBS"
16146 cat >conftest.$ac_ext <<_ACEOF
16147 /* confdefs.h. */
16148 _ACEOF
16149 cat confdefs.h >>conftest.$ac_ext
16150 cat >>conftest.$ac_ext <<_ACEOF
16151 /* end confdefs.h. */
16153 /* Override any GCC internal prototype to avoid an error.
16154 Use char because int might match the return type of a GCC
16155 builtin and then its argument prototype would still apply. */
16156 #ifdef __cplusplus
16157 extern "C"
16158 #endif
16159 char dlopen ();
16161 main ()
16163 return dlopen ();
16165 return 0;
16167 _ACEOF
16168 rm -f conftest.$ac_objext conftest$ac_exeext
16169 if { (ac_try="$ac_link"
16170 case "(($ac_try" in
16171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16172 *) ac_try_echo=$ac_try;;
16173 esac
16174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16175 (eval "$ac_link") 2>conftest.er1
16176 ac_status=$?
16177 grep -v '^ *+' conftest.er1 >conftest.err
16178 rm -f conftest.er1
16179 cat conftest.err >&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } && {
16182 test -z "$ac_c_werror_flag" ||
16183 test ! -s conftest.err
16184 } && test -s conftest$ac_exeext &&
16185 $as_test_x conftest$ac_exeext; then
16186 ac_cv_lib_dl_dlopen=yes
16187 else
16188 echo "$as_me: failed program was:" >&5
16189 sed 's/^/| /' conftest.$ac_ext >&5
16191 ac_cv_lib_dl_dlopen=no
16194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16195 conftest$ac_exeext conftest.$ac_ext
16196 LIBS=$ac_check_lib_save_LIBS
16198 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16199 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16200 if test $ac_cv_lib_dl_dlopen = yes; then
16201 cat >>confdefs.h <<\_ACEOF
16202 #define HAVE_DLOPEN 1
16203 _ACEOF
16204 LIBDL="-ldl"
16209 ac_wine_check_funcs_save_LIBS="$LIBS"
16210 LIBS="$LIBS $LIBDL"
16212 for ac_func in dladdr
16214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16215 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16217 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16218 echo $ECHO_N "(cached) $ECHO_C" >&6
16219 else
16220 cat >conftest.$ac_ext <<_ACEOF
16221 /* confdefs.h. */
16222 _ACEOF
16223 cat confdefs.h >>conftest.$ac_ext
16224 cat >>conftest.$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16228 #define $ac_func innocuous_$ac_func
16230 /* System header to define __stub macros and hopefully few prototypes,
16231 which can conflict with char $ac_func (); below.
16232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16233 <limits.h> exists even on freestanding compilers. */
16235 #ifdef __STDC__
16236 # include <limits.h>
16237 #else
16238 # include <assert.h>
16239 #endif
16241 #undef $ac_func
16243 /* Override any GCC internal prototype to avoid an error.
16244 Use char because int might match the return type of a GCC
16245 builtin and then its argument prototype would still apply. */
16246 #ifdef __cplusplus
16247 extern "C"
16248 #endif
16249 char $ac_func ();
16250 /* The GNU C library defines this for functions which it implements
16251 to always fail with ENOSYS. Some functions are actually named
16252 something starting with __ and the normal name is an alias. */
16253 #if defined __stub_$ac_func || defined __stub___$ac_func
16254 choke me
16255 #endif
16258 main ()
16260 return $ac_func ();
16262 return 0;
16264 _ACEOF
16265 rm -f conftest.$ac_objext conftest$ac_exeext
16266 if { (ac_try="$ac_link"
16267 case "(($ac_try" in
16268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16269 *) ac_try_echo=$ac_try;;
16270 esac
16271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16272 (eval "$ac_link") 2>conftest.er1
16273 ac_status=$?
16274 grep -v '^ *+' conftest.er1 >conftest.err
16275 rm -f conftest.er1
16276 cat conftest.err >&5
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } && {
16279 test -z "$ac_c_werror_flag" ||
16280 test ! -s conftest.err
16281 } && test -s conftest$ac_exeext &&
16282 $as_test_x conftest$ac_exeext; then
16283 eval "$as_ac_var=yes"
16284 else
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.$ac_ext >&5
16288 eval "$as_ac_var=no"
16291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16292 conftest$ac_exeext conftest.$ac_ext
16294 ac_res=`eval echo '${'$as_ac_var'}'`
16295 { echo "$as_me:$LINENO: result: $ac_res" >&5
16296 echo "${ECHO_T}$ac_res" >&6; }
16297 if test `eval echo '${'$as_ac_var'}'` = yes; then
16298 cat >>confdefs.h <<_ACEOF
16299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16300 _ACEOF
16303 done
16305 LIBS="$ac_wine_check_funcs_save_LIBS"
16307 if test "$ac_cv_func_poll" = no
16308 then
16309 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16310 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16311 if test "${ac_cv_lib_poll_poll+set}" = set; then
16312 echo $ECHO_N "(cached) $ECHO_C" >&6
16313 else
16314 ac_check_lib_save_LIBS=$LIBS
16315 LIBS="-lpoll $LIBS"
16316 cat >conftest.$ac_ext <<_ACEOF
16317 /* confdefs.h. */
16318 _ACEOF
16319 cat confdefs.h >>conftest.$ac_ext
16320 cat >>conftest.$ac_ext <<_ACEOF
16321 /* end confdefs.h. */
16323 /* Override any GCC internal prototype to avoid an error.
16324 Use char because int might match the return type of a GCC
16325 builtin and then its argument prototype would still apply. */
16326 #ifdef __cplusplus
16327 extern "C"
16328 #endif
16329 char poll ();
16331 main ()
16333 return poll ();
16335 return 0;
16337 _ACEOF
16338 rm -f conftest.$ac_objext conftest$ac_exeext
16339 if { (ac_try="$ac_link"
16340 case "(($ac_try" in
16341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16342 *) ac_try_echo=$ac_try;;
16343 esac
16344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16345 (eval "$ac_link") 2>conftest.er1
16346 ac_status=$?
16347 grep -v '^ *+' conftest.er1 >conftest.err
16348 rm -f conftest.er1
16349 cat conftest.err >&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } && {
16352 test -z "$ac_c_werror_flag" ||
16353 test ! -s conftest.err
16354 } && test -s conftest$ac_exeext &&
16355 $as_test_x conftest$ac_exeext; then
16356 ac_cv_lib_poll_poll=yes
16357 else
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16361 ac_cv_lib_poll_poll=no
16364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16365 conftest$ac_exeext conftest.$ac_ext
16366 LIBS=$ac_check_lib_save_LIBS
16368 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16369 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16370 if test $ac_cv_lib_poll_poll = yes; then
16371 cat >>confdefs.h <<\_ACEOF
16372 #define HAVE_POLL 1
16373 _ACEOF
16374 LIBPOLL="-lpoll"
16380 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16381 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16382 if test "${ac_cv_search_gethostbyname+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 else
16385 ac_func_search_save_LIBS=$LIBS
16386 cat >conftest.$ac_ext <<_ACEOF
16387 /* confdefs.h. */
16388 _ACEOF
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16393 /* Override any GCC internal prototype to avoid an error.
16394 Use char because int might match the return type of a GCC
16395 builtin and then its argument prototype would still apply. */
16396 #ifdef __cplusplus
16397 extern "C"
16398 #endif
16399 char gethostbyname ();
16401 main ()
16403 return gethostbyname ();
16405 return 0;
16407 _ACEOF
16408 for ac_lib in '' nsl; do
16409 if test -z "$ac_lib"; then
16410 ac_res="none required"
16411 else
16412 ac_res=-l$ac_lib
16413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16415 rm -f conftest.$ac_objext conftest$ac_exeext
16416 if { (ac_try="$ac_link"
16417 case "(($ac_try" in
16418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16419 *) ac_try_echo=$ac_try;;
16420 esac
16421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16422 (eval "$ac_link") 2>conftest.er1
16423 ac_status=$?
16424 grep -v '^ *+' conftest.er1 >conftest.err
16425 rm -f conftest.er1
16426 cat conftest.err >&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } && {
16429 test -z "$ac_c_werror_flag" ||
16430 test ! -s conftest.err
16431 } && test -s conftest$ac_exeext &&
16432 $as_test_x conftest$ac_exeext; then
16433 ac_cv_search_gethostbyname=$ac_res
16434 else
16435 echo "$as_me: failed program was:" >&5
16436 sed 's/^/| /' conftest.$ac_ext >&5
16441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16442 conftest$ac_exeext
16443 if test "${ac_cv_search_gethostbyname+set}" = set; then
16444 break
16446 done
16447 if test "${ac_cv_search_gethostbyname+set}" = set; then
16449 else
16450 ac_cv_search_gethostbyname=no
16452 rm conftest.$ac_ext
16453 LIBS=$ac_func_search_save_LIBS
16455 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16456 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16457 ac_res=$ac_cv_search_gethostbyname
16458 if test "$ac_res" != no; then
16459 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16464 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16465 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16466 if test "${ac_cv_search_connect+set}" = set; then
16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 else
16469 ac_func_search_save_LIBS=$LIBS
16470 cat >conftest.$ac_ext <<_ACEOF
16471 /* confdefs.h. */
16472 _ACEOF
16473 cat confdefs.h >>conftest.$ac_ext
16474 cat >>conftest.$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16477 /* Override any GCC internal prototype to avoid an error.
16478 Use char because int might match the return type of a GCC
16479 builtin and then its argument prototype would still apply. */
16480 #ifdef __cplusplus
16481 extern "C"
16482 #endif
16483 char connect ();
16485 main ()
16487 return connect ();
16489 return 0;
16491 _ACEOF
16492 for ac_lib in '' socket; do
16493 if test -z "$ac_lib"; then
16494 ac_res="none required"
16495 else
16496 ac_res=-l$ac_lib
16497 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16499 rm -f conftest.$ac_objext conftest$ac_exeext
16500 if { (ac_try="$ac_link"
16501 case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16504 esac
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_link") 2>conftest.er1
16507 ac_status=$?
16508 grep -v '^ *+' conftest.er1 >conftest.err
16509 rm -f conftest.er1
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } && {
16513 test -z "$ac_c_werror_flag" ||
16514 test ! -s conftest.err
16515 } && test -s conftest$ac_exeext &&
16516 $as_test_x conftest$ac_exeext; then
16517 ac_cv_search_connect=$ac_res
16518 else
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.$ac_ext >&5
16525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16526 conftest$ac_exeext
16527 if test "${ac_cv_search_connect+set}" = set; then
16528 break
16530 done
16531 if test "${ac_cv_search_connect+set}" = set; then
16533 else
16534 ac_cv_search_connect=no
16536 rm conftest.$ac_ext
16537 LIBS=$ac_func_search_save_LIBS
16539 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16540 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16541 ac_res=$ac_cv_search_connect
16542 if test "$ac_res" != no; then
16543 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16548 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16549 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16550 if test "${ac_cv_search_inet_aton+set}" = set; then
16551 echo $ECHO_N "(cached) $ECHO_C" >&6
16552 else
16553 ac_func_search_save_LIBS=$LIBS
16554 cat >conftest.$ac_ext <<_ACEOF
16555 /* confdefs.h. */
16556 _ACEOF
16557 cat confdefs.h >>conftest.$ac_ext
16558 cat >>conftest.$ac_ext <<_ACEOF
16559 /* end confdefs.h. */
16561 /* Override any GCC internal prototype to avoid an error.
16562 Use char because int might match the return type of a GCC
16563 builtin and then its argument prototype would still apply. */
16564 #ifdef __cplusplus
16565 extern "C"
16566 #endif
16567 char inet_aton ();
16569 main ()
16571 return inet_aton ();
16573 return 0;
16575 _ACEOF
16576 for ac_lib in '' resolv; do
16577 if test -z "$ac_lib"; then
16578 ac_res="none required"
16579 else
16580 ac_res=-l$ac_lib
16581 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16583 rm -f conftest.$ac_objext conftest$ac_exeext
16584 if { (ac_try="$ac_link"
16585 case "(($ac_try" in
16586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16587 *) ac_try_echo=$ac_try;;
16588 esac
16589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16590 (eval "$ac_link") 2>conftest.er1
16591 ac_status=$?
16592 grep -v '^ *+' conftest.er1 >conftest.err
16593 rm -f conftest.er1
16594 cat conftest.err >&5
16595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16596 (exit $ac_status); } && {
16597 test -z "$ac_c_werror_flag" ||
16598 test ! -s conftest.err
16599 } && test -s conftest$ac_exeext &&
16600 $as_test_x conftest$ac_exeext; then
16601 ac_cv_search_inet_aton=$ac_res
16602 else
16603 echo "$as_me: failed program was:" >&5
16604 sed 's/^/| /' conftest.$ac_ext >&5
16609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16610 conftest$ac_exeext
16611 if test "${ac_cv_search_inet_aton+set}" = set; then
16612 break
16614 done
16615 if test "${ac_cv_search_inet_aton+set}" = set; then
16617 else
16618 ac_cv_search_inet_aton=no
16620 rm conftest.$ac_ext
16621 LIBS=$ac_func_search_save_LIBS
16623 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16624 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16625 ac_res=$ac_cv_search_inet_aton
16626 if test "$ac_res" != no; then
16627 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16640 for ac_func in \
16641 getaddrinfo \
16642 getnameinfo \
16643 getnetbyname \
16644 getprotobyname \
16645 getprotobynumber \
16646 getservbyport \
16647 inet_network \
16648 sendmsg \
16651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16654 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16655 echo $ECHO_N "(cached) $ECHO_C" >&6
16656 else
16657 cat >conftest.$ac_ext <<_ACEOF
16658 /* confdefs.h. */
16659 _ACEOF
16660 cat confdefs.h >>conftest.$ac_ext
16661 cat >>conftest.$ac_ext <<_ACEOF
16662 /* end confdefs.h. */
16663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16665 #define $ac_func innocuous_$ac_func
16667 /* System header to define __stub macros and hopefully few prototypes,
16668 which can conflict with char $ac_func (); below.
16669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16670 <limits.h> exists even on freestanding compilers. */
16672 #ifdef __STDC__
16673 # include <limits.h>
16674 #else
16675 # include <assert.h>
16676 #endif
16678 #undef $ac_func
16680 /* Override any GCC internal prototype to avoid an error.
16681 Use char because int might match the return type of a GCC
16682 builtin and then its argument prototype would still apply. */
16683 #ifdef __cplusplus
16684 extern "C"
16685 #endif
16686 char $ac_func ();
16687 /* The GNU C library defines this for functions which it implements
16688 to always fail with ENOSYS. Some functions are actually named
16689 something starting with __ and the normal name is an alias. */
16690 #if defined __stub_$ac_func || defined __stub___$ac_func
16691 choke me
16692 #endif
16695 main ()
16697 return $ac_func ();
16699 return 0;
16701 _ACEOF
16702 rm -f conftest.$ac_objext conftest$ac_exeext
16703 if { (ac_try="$ac_link"
16704 case "(($ac_try" in
16705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16706 *) ac_try_echo=$ac_try;;
16707 esac
16708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16709 (eval "$ac_link") 2>conftest.er1
16710 ac_status=$?
16711 grep -v '^ *+' conftest.er1 >conftest.err
16712 rm -f conftest.er1
16713 cat conftest.err >&5
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } && {
16716 test -z "$ac_c_werror_flag" ||
16717 test ! -s conftest.err
16718 } && test -s conftest$ac_exeext &&
16719 $as_test_x conftest$ac_exeext; then
16720 eval "$as_ac_var=yes"
16721 else
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.$ac_ext >&5
16725 eval "$as_ac_var=no"
16728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16729 conftest$ac_exeext conftest.$ac_ext
16731 ac_res=`eval echo '${'$as_ac_var'}'`
16732 { echo "$as_me:$LINENO: result: $ac_res" >&5
16733 echo "${ECHO_T}$ac_res" >&6; }
16734 if test `eval echo '${'$as_ac_var'}'` = yes; then
16735 cat >>confdefs.h <<_ACEOF
16736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16737 _ACEOF
16740 done
16744 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16745 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16746 if test "${ac_cv_c_const+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 else
16749 cat >conftest.$ac_ext <<_ACEOF
16750 /* confdefs.h. */
16751 _ACEOF
16752 cat confdefs.h >>conftest.$ac_ext
16753 cat >>conftest.$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16757 main ()
16759 /* FIXME: Include the comments suggested by Paul. */
16760 #ifndef __cplusplus
16761 /* Ultrix mips cc rejects this. */
16762 typedef int charset[2];
16763 const charset cs;
16764 /* SunOS 4.1.1 cc rejects this. */
16765 char const *const *pcpcc;
16766 char **ppc;
16767 /* NEC SVR4.0.2 mips cc rejects this. */
16768 struct point {int x, y;};
16769 static struct point const zero = {0,0};
16770 /* AIX XL C 1.02.0.0 rejects this.
16771 It does not let you subtract one const X* pointer from another in
16772 an arm of an if-expression whose if-part is not a constant
16773 expression */
16774 const char *g = "string";
16775 pcpcc = &g + (g ? g-g : 0);
16776 /* HPUX 7.0 cc rejects these. */
16777 ++pcpcc;
16778 ppc = (char**) pcpcc;
16779 pcpcc = (char const *const *) ppc;
16780 { /* SCO 3.2v4 cc rejects this. */
16781 char *t;
16782 char const *s = 0 ? (char *) 0 : (char const *) 0;
16784 *t++ = 0;
16785 if (s) return 0;
16787 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16788 int x[] = {25, 17};
16789 const int *foo = &x[0];
16790 ++foo;
16792 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16793 typedef const int *iptr;
16794 iptr p = 0;
16795 ++p;
16797 { /* AIX XL C 1.02.0.0 rejects this saying
16798 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16799 struct s { int j; const int *ap[3]; };
16800 struct s *b; b->j = 5;
16802 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16803 const int foo = 10;
16804 if (!foo) return 0;
16806 return !cs[0] && !zero.x;
16807 #endif
16810 return 0;
16812 _ACEOF
16813 rm -f conftest.$ac_objext
16814 if { (ac_try="$ac_compile"
16815 case "(($ac_try" in
16816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16817 *) ac_try_echo=$ac_try;;
16818 esac
16819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16820 (eval "$ac_compile") 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } && {
16827 test -z "$ac_c_werror_flag" ||
16828 test ! -s conftest.err
16829 } && test -s conftest.$ac_objext; then
16830 ac_cv_c_const=yes
16831 else
16832 echo "$as_me: failed program was:" >&5
16833 sed 's/^/| /' conftest.$ac_ext >&5
16835 ac_cv_c_const=no
16838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16840 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16841 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16842 if test $ac_cv_c_const = no; then
16844 cat >>confdefs.h <<\_ACEOF
16845 #define const
16846 _ACEOF
16850 { echo "$as_me:$LINENO: checking for inline" >&5
16851 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16852 if test "${ac_cv_c_inline+set}" = set; then
16853 echo $ECHO_N "(cached) $ECHO_C" >&6
16854 else
16855 ac_cv_c_inline=no
16856 for ac_kw in inline __inline__ __inline; do
16857 cat >conftest.$ac_ext <<_ACEOF
16858 /* confdefs.h. */
16859 _ACEOF
16860 cat confdefs.h >>conftest.$ac_ext
16861 cat >>conftest.$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16863 #ifndef __cplusplus
16864 typedef int foo_t;
16865 static $ac_kw foo_t static_foo () {return 0; }
16866 $ac_kw foo_t foo () {return 0; }
16867 #endif
16869 _ACEOF
16870 rm -f conftest.$ac_objext
16871 if { (ac_try="$ac_compile"
16872 case "(($ac_try" in
16873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16874 *) ac_try_echo=$ac_try;;
16875 esac
16876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16877 (eval "$ac_compile") 2>conftest.er1
16878 ac_status=$?
16879 grep -v '^ *+' conftest.er1 >conftest.err
16880 rm -f conftest.er1
16881 cat conftest.err >&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); } && {
16884 test -z "$ac_c_werror_flag" ||
16885 test ! -s conftest.err
16886 } && test -s conftest.$ac_objext; then
16887 ac_cv_c_inline=$ac_kw
16888 else
16889 echo "$as_me: failed program was:" >&5
16890 sed 's/^/| /' conftest.$ac_ext >&5
16895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16896 test "$ac_cv_c_inline" != no && break
16897 done
16900 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16901 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16904 case $ac_cv_c_inline in
16905 inline | yes) ;;
16907 case $ac_cv_c_inline in
16908 no) ac_val=;;
16909 *) ac_val=$ac_cv_c_inline;;
16910 esac
16911 cat >>confdefs.h <<_ACEOF
16912 #ifndef __cplusplus
16913 #define inline $ac_val
16914 #endif
16915 _ACEOF
16917 esac
16919 { echo "$as_me:$LINENO: checking for mode_t" >&5
16920 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16921 if test "${ac_cv_type_mode_t+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 else
16924 cat >conftest.$ac_ext <<_ACEOF
16925 /* confdefs.h. */
16926 _ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930 $ac_includes_default
16931 typedef mode_t ac__type_new_;
16933 main ()
16935 if ((ac__type_new_ *) 0)
16936 return 0;
16937 if (sizeof (ac__type_new_))
16938 return 0;
16940 return 0;
16942 _ACEOF
16943 rm -f conftest.$ac_objext
16944 if { (ac_try="$ac_compile"
16945 case "(($ac_try" in
16946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16947 *) ac_try_echo=$ac_try;;
16948 esac
16949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16950 (eval "$ac_compile") 2>conftest.er1
16951 ac_status=$?
16952 grep -v '^ *+' conftest.er1 >conftest.err
16953 rm -f conftest.er1
16954 cat conftest.err >&5
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); } && {
16957 test -z "$ac_c_werror_flag" ||
16958 test ! -s conftest.err
16959 } && test -s conftest.$ac_objext; then
16960 ac_cv_type_mode_t=yes
16961 else
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.$ac_ext >&5
16965 ac_cv_type_mode_t=no
16968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16970 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16971 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16972 if test $ac_cv_type_mode_t = yes; then
16974 cat >>confdefs.h <<_ACEOF
16975 #define HAVE_MODE_T 1
16976 _ACEOF
16980 { echo "$as_me:$LINENO: checking for off_t" >&5
16981 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16982 if test "${ac_cv_type_off_t+set}" = set; then
16983 echo $ECHO_N "(cached) $ECHO_C" >&6
16984 else
16985 cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 $ac_includes_default
16992 typedef off_t ac__type_new_;
16994 main ()
16996 if ((ac__type_new_ *) 0)
16997 return 0;
16998 if (sizeof (ac__type_new_))
16999 return 0;
17001 return 0;
17003 _ACEOF
17004 rm -f conftest.$ac_objext
17005 if { (ac_try="$ac_compile"
17006 case "(($ac_try" in
17007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17008 *) ac_try_echo=$ac_try;;
17009 esac
17010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17011 (eval "$ac_compile") 2>conftest.er1
17012 ac_status=$?
17013 grep -v '^ *+' conftest.er1 >conftest.err
17014 rm -f conftest.er1
17015 cat conftest.err >&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); } && {
17018 test -z "$ac_c_werror_flag" ||
17019 test ! -s conftest.err
17020 } && test -s conftest.$ac_objext; then
17021 ac_cv_type_off_t=yes
17022 else
17023 echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.$ac_ext >&5
17026 ac_cv_type_off_t=no
17029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17031 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17032 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17033 if test $ac_cv_type_off_t = yes; then
17035 cat >>confdefs.h <<_ACEOF
17036 #define HAVE_OFF_T 1
17037 _ACEOF
17041 { echo "$as_me:$LINENO: checking for pid_t" >&5
17042 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17043 if test "${ac_cv_type_pid_t+set}" = set; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17045 else
17046 cat >conftest.$ac_ext <<_ACEOF
17047 /* confdefs.h. */
17048 _ACEOF
17049 cat confdefs.h >>conftest.$ac_ext
17050 cat >>conftest.$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 $ac_includes_default
17053 typedef pid_t ac__type_new_;
17055 main ()
17057 if ((ac__type_new_ *) 0)
17058 return 0;
17059 if (sizeof (ac__type_new_))
17060 return 0;
17062 return 0;
17064 _ACEOF
17065 rm -f conftest.$ac_objext
17066 if { (ac_try="$ac_compile"
17067 case "(($ac_try" in
17068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17069 *) ac_try_echo=$ac_try;;
17070 esac
17071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17072 (eval "$ac_compile") 2>conftest.er1
17073 ac_status=$?
17074 grep -v '^ *+' conftest.er1 >conftest.err
17075 rm -f conftest.er1
17076 cat conftest.err >&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } && {
17079 test -z "$ac_c_werror_flag" ||
17080 test ! -s conftest.err
17081 } && test -s conftest.$ac_objext; then
17082 ac_cv_type_pid_t=yes
17083 else
17084 echo "$as_me: failed program was:" >&5
17085 sed 's/^/| /' conftest.$ac_ext >&5
17087 ac_cv_type_pid_t=no
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17092 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17093 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17094 if test $ac_cv_type_pid_t = yes; then
17096 cat >>confdefs.h <<_ACEOF
17097 #define HAVE_PID_T 1
17098 _ACEOF
17102 { echo "$as_me:$LINENO: checking for size_t" >&5
17103 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17104 if test "${ac_cv_type_size_t+set}" = set; then
17105 echo $ECHO_N "(cached) $ECHO_C" >&6
17106 else
17107 cat >conftest.$ac_ext <<_ACEOF
17108 /* confdefs.h. */
17109 _ACEOF
17110 cat confdefs.h >>conftest.$ac_ext
17111 cat >>conftest.$ac_ext <<_ACEOF
17112 /* end confdefs.h. */
17113 $ac_includes_default
17114 typedef size_t ac__type_new_;
17116 main ()
17118 if ((ac__type_new_ *) 0)
17119 return 0;
17120 if (sizeof (ac__type_new_))
17121 return 0;
17123 return 0;
17125 _ACEOF
17126 rm -f conftest.$ac_objext
17127 if { (ac_try="$ac_compile"
17128 case "(($ac_try" in
17129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17130 *) ac_try_echo=$ac_try;;
17131 esac
17132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17133 (eval "$ac_compile") 2>conftest.er1
17134 ac_status=$?
17135 grep -v '^ *+' conftest.er1 >conftest.err
17136 rm -f conftest.er1
17137 cat conftest.err >&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); } && {
17140 test -z "$ac_c_werror_flag" ||
17141 test ! -s conftest.err
17142 } && test -s conftest.$ac_objext; then
17143 ac_cv_type_size_t=yes
17144 else
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.$ac_ext >&5
17148 ac_cv_type_size_t=no
17151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17153 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17154 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17155 if test $ac_cv_type_size_t = yes; then
17157 cat >>confdefs.h <<_ACEOF
17158 #define HAVE_SIZE_T 1
17159 _ACEOF
17163 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17164 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17165 if test "${ac_cv_type_ssize_t+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 else
17168 cat >conftest.$ac_ext <<_ACEOF
17169 /* confdefs.h. */
17170 _ACEOF
17171 cat confdefs.h >>conftest.$ac_ext
17172 cat >>conftest.$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174 $ac_includes_default
17175 typedef ssize_t ac__type_new_;
17177 main ()
17179 if ((ac__type_new_ *) 0)
17180 return 0;
17181 if (sizeof (ac__type_new_))
17182 return 0;
17184 return 0;
17186 _ACEOF
17187 rm -f conftest.$ac_objext
17188 if { (ac_try="$ac_compile"
17189 case "(($ac_try" in
17190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17192 esac
17193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_compile") 2>conftest.er1
17195 ac_status=$?
17196 grep -v '^ *+' conftest.er1 >conftest.err
17197 rm -f conftest.er1
17198 cat conftest.err >&5
17199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17200 (exit $ac_status); } && {
17201 test -z "$ac_c_werror_flag" ||
17202 test ! -s conftest.err
17203 } && test -s conftest.$ac_objext; then
17204 ac_cv_type_ssize_t=yes
17205 else
17206 echo "$as_me: failed program was:" >&5
17207 sed 's/^/| /' conftest.$ac_ext >&5
17209 ac_cv_type_ssize_t=no
17212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17214 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17215 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17216 if test $ac_cv_type_ssize_t = yes; then
17218 cat >>confdefs.h <<_ACEOF
17219 #define HAVE_SSIZE_T 1
17220 _ACEOF
17224 { echo "$as_me:$LINENO: checking for long long" >&5
17225 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17226 if test "${ac_cv_type_long_long+set}" = set; then
17227 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 else
17229 cat >conftest.$ac_ext <<_ACEOF
17230 /* confdefs.h. */
17231 _ACEOF
17232 cat confdefs.h >>conftest.$ac_ext
17233 cat >>conftest.$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17235 $ac_includes_default
17236 typedef long long ac__type_new_;
17238 main ()
17240 if ((ac__type_new_ *) 0)
17241 return 0;
17242 if (sizeof (ac__type_new_))
17243 return 0;
17245 return 0;
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (ac_try="$ac_compile"
17250 case "(($ac_try" in
17251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17252 *) ac_try_echo=$ac_try;;
17253 esac
17254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17255 (eval "$ac_compile") 2>conftest.er1
17256 ac_status=$?
17257 grep -v '^ *+' conftest.er1 >conftest.err
17258 rm -f conftest.er1
17259 cat conftest.err >&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); } && {
17262 test -z "$ac_c_werror_flag" ||
17263 test ! -s conftest.err
17264 } && test -s conftest.$ac_objext; then
17265 ac_cv_type_long_long=yes
17266 else
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17270 ac_cv_type_long_long=no
17273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17275 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17276 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17277 if test $ac_cv_type_long_long = yes; then
17279 cat >>confdefs.h <<_ACEOF
17280 #define HAVE_LONG_LONG 1
17281 _ACEOF
17285 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17286 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17287 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290 cat >conftest.$ac_ext <<_ACEOF
17291 /* confdefs.h. */
17292 _ACEOF
17293 cat confdefs.h >>conftest.$ac_ext
17294 cat >>conftest.$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296 $ac_includes_default
17297 typedef fsblkcnt_t ac__type_new_;
17299 main ()
17301 if ((ac__type_new_ *) 0)
17302 return 0;
17303 if (sizeof (ac__type_new_))
17304 return 0;
17306 return 0;
17308 _ACEOF
17309 rm -f conftest.$ac_objext
17310 if { (ac_try="$ac_compile"
17311 case "(($ac_try" in
17312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17313 *) ac_try_echo=$ac_try;;
17314 esac
17315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17316 (eval "$ac_compile") 2>conftest.er1
17317 ac_status=$?
17318 grep -v '^ *+' conftest.er1 >conftest.err
17319 rm -f conftest.er1
17320 cat conftest.err >&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } && {
17323 test -z "$ac_c_werror_flag" ||
17324 test ! -s conftest.err
17325 } && test -s conftest.$ac_objext; then
17326 ac_cv_type_fsblkcnt_t=yes
17327 else
17328 echo "$as_me: failed program was:" >&5
17329 sed 's/^/| /' conftest.$ac_ext >&5
17331 ac_cv_type_fsblkcnt_t=no
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17337 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17338 if test $ac_cv_type_fsblkcnt_t = yes; then
17340 cat >>confdefs.h <<_ACEOF
17341 #define HAVE_FSBLKCNT_T 1
17342 _ACEOF
17346 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17347 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17348 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17349 echo $ECHO_N "(cached) $ECHO_C" >&6
17350 else
17351 cat >conftest.$ac_ext <<_ACEOF
17352 /* confdefs.h. */
17353 _ACEOF
17354 cat confdefs.h >>conftest.$ac_ext
17355 cat >>conftest.$ac_ext <<_ACEOF
17356 /* end confdefs.h. */
17357 $ac_includes_default
17358 typedef fsfilcnt_t ac__type_new_;
17360 main ()
17362 if ((ac__type_new_ *) 0)
17363 return 0;
17364 if (sizeof (ac__type_new_))
17365 return 0;
17367 return 0;
17369 _ACEOF
17370 rm -f conftest.$ac_objext
17371 if { (ac_try="$ac_compile"
17372 case "(($ac_try" in
17373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17374 *) ac_try_echo=$ac_try;;
17375 esac
17376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17377 (eval "$ac_compile") 2>conftest.er1
17378 ac_status=$?
17379 grep -v '^ *+' conftest.er1 >conftest.err
17380 rm -f conftest.er1
17381 cat conftest.err >&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); } && {
17384 test -z "$ac_c_werror_flag" ||
17385 test ! -s conftest.err
17386 } && test -s conftest.$ac_objext; then
17387 ac_cv_type_fsfilcnt_t=yes
17388 else
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.$ac_ext >&5
17392 ac_cv_type_fsfilcnt_t=no
17395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17397 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17398 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17399 if test $ac_cv_type_fsfilcnt_t = yes; then
17401 cat >>confdefs.h <<_ACEOF
17402 #define HAVE_FSFILCNT_T 1
17403 _ACEOF
17408 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17409 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17410 if test "${ac_cv_type_sigset_t+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 else
17413 cat >conftest.$ac_ext <<_ACEOF
17414 /* confdefs.h. */
17415 _ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 #include <signal.h>
17421 typedef sigset_t ac__type_new_;
17423 main ()
17425 if ((ac__type_new_ *) 0)
17426 return 0;
17427 if (sizeof (ac__type_new_))
17428 return 0;
17430 return 0;
17432 _ACEOF
17433 rm -f conftest.$ac_objext
17434 if { (ac_try="$ac_compile"
17435 case "(($ac_try" in
17436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17437 *) ac_try_echo=$ac_try;;
17438 esac
17439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17440 (eval "$ac_compile") 2>conftest.er1
17441 ac_status=$?
17442 grep -v '^ *+' conftest.er1 >conftest.err
17443 rm -f conftest.er1
17444 cat conftest.err >&5
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); } && {
17447 test -z "$ac_c_werror_flag" ||
17448 test ! -s conftest.err
17449 } && test -s conftest.$ac_objext; then
17450 ac_cv_type_sigset_t=yes
17451 else
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.$ac_ext >&5
17455 ac_cv_type_sigset_t=no
17458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17460 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17461 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17462 if test $ac_cv_type_sigset_t = yes; then
17464 cat >>confdefs.h <<_ACEOF
17465 #define HAVE_SIGSET_T 1
17466 _ACEOF
17471 { echo "$as_me:$LINENO: checking for request_sense" >&5
17472 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17473 if test "${ac_cv_type_request_sense+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 else
17476 cat >conftest.$ac_ext <<_ACEOF
17477 /* confdefs.h. */
17478 _ACEOF
17479 cat confdefs.h >>conftest.$ac_ext
17480 cat >>conftest.$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17482 #include <linux/cdrom.h>
17484 typedef request_sense ac__type_new_;
17486 main ()
17488 if ((ac__type_new_ *) 0)
17489 return 0;
17490 if (sizeof (ac__type_new_))
17491 return 0;
17493 return 0;
17495 _ACEOF
17496 rm -f conftest.$ac_objext
17497 if { (ac_try="$ac_compile"
17498 case "(($ac_try" in
17499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17500 *) ac_try_echo=$ac_try;;
17501 esac
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_compile") 2>conftest.er1
17504 ac_status=$?
17505 grep -v '^ *+' conftest.er1 >conftest.err
17506 rm -f conftest.er1
17507 cat conftest.err >&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_c_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest.$ac_objext; then
17513 ac_cv_type_request_sense=yes
17514 else
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17518 ac_cv_type_request_sense=no
17521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17523 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17524 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17525 if test $ac_cv_type_request_sense = yes; then
17527 cat >>confdefs.h <<_ACEOF
17528 #define HAVE_REQUEST_SENSE 1
17529 _ACEOF
17535 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17536 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17537 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 else
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 #ifdef HAVE_LINUX_INPUT_H
17547 #include <linux/input.h>
17548 #endif
17551 main ()
17553 static struct ff_effect ac_aggr;
17554 if (ac_aggr.direction)
17555 return 0;
17557 return 0;
17559 _ACEOF
17560 rm -f conftest.$ac_objext
17561 if { (ac_try="$ac_compile"
17562 case "(($ac_try" in
17563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17564 *) ac_try_echo=$ac_try;;
17565 esac
17566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17567 (eval "$ac_compile") 2>conftest.er1
17568 ac_status=$?
17569 grep -v '^ *+' conftest.er1 >conftest.err
17570 rm -f conftest.er1
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } && {
17574 test -z "$ac_c_werror_flag" ||
17575 test ! -s conftest.err
17576 } && test -s conftest.$ac_objext; then
17577 ac_cv_member_struct_ff_effect_direction=yes
17578 else
17579 echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.$ac_ext >&5
17582 cat >conftest.$ac_ext <<_ACEOF
17583 /* confdefs.h. */
17584 _ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17588 #ifdef HAVE_LINUX_INPUT_H
17589 #include <linux/input.h>
17590 #endif
17593 main ()
17595 static struct ff_effect ac_aggr;
17596 if (sizeof ac_aggr.direction)
17597 return 0;
17599 return 0;
17601 _ACEOF
17602 rm -f conftest.$ac_objext
17603 if { (ac_try="$ac_compile"
17604 case "(($ac_try" in
17605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17606 *) ac_try_echo=$ac_try;;
17607 esac
17608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17609 (eval "$ac_compile") 2>conftest.er1
17610 ac_status=$?
17611 grep -v '^ *+' conftest.er1 >conftest.err
17612 rm -f conftest.er1
17613 cat conftest.err >&5
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); } && {
17616 test -z "$ac_c_werror_flag" ||
17617 test ! -s conftest.err
17618 } && test -s conftest.$ac_objext; then
17619 ac_cv_member_struct_ff_effect_direction=yes
17620 else
17621 echo "$as_me: failed program was:" >&5
17622 sed 's/^/| /' conftest.$ac_ext >&5
17624 ac_cv_member_struct_ff_effect_direction=no
17627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17632 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17633 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17634 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17636 cat >>confdefs.h <<_ACEOF
17637 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17638 _ACEOF
17644 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17645 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17646 if test "${wine_cv_have_sigaddset+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649 cat >conftest.$ac_ext <<_ACEOF
17650 /* confdefs.h. */
17651 _ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 #include <signal.h>
17657 main ()
17659 sigset_t set; sigaddset(&set,SIGTERM);
17661 return 0;
17663 _ACEOF
17664 rm -f conftest.$ac_objext conftest$ac_exeext
17665 if { (ac_try="$ac_link"
17666 case "(($ac_try" in
17667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17668 *) ac_try_echo=$ac_try;;
17669 esac
17670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17671 (eval "$ac_link") 2>conftest.er1
17672 ac_status=$?
17673 grep -v '^ *+' conftest.er1 >conftest.err
17674 rm -f conftest.er1
17675 cat conftest.err >&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } && {
17678 test -z "$ac_c_werror_flag" ||
17679 test ! -s conftest.err
17680 } && test -s conftest$ac_exeext &&
17681 $as_test_x conftest$ac_exeext; then
17682 wine_cv_have_sigaddset=yes
17683 else
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.$ac_ext >&5
17687 wine_cv_have_sigaddset=no
17690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17691 conftest$ac_exeext conftest.$ac_ext
17693 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17694 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17695 if test "$wine_cv_have_sigaddset" = "yes"
17696 then
17698 cat >>confdefs.h <<\_ACEOF
17699 #define HAVE_SIGADDSET 1
17700 _ACEOF
17705 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17706 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17707 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17708 echo $ECHO_N "(cached) $ECHO_C" >&6
17709 else
17710 cat >conftest.$ac_ext <<_ACEOF
17711 /* confdefs.h. */
17712 _ACEOF
17713 cat confdefs.h >>conftest.$ac_ext
17714 cat >>conftest.$ac_ext <<_ACEOF
17715 /* end confdefs.h. */
17716 #include <netdb.h>
17718 main ()
17721 char *name=0;
17722 struct hostent he;
17723 struct hostent *result;
17724 char *buf=0;
17725 int bufsize=0;
17726 int res,errnr;
17727 char *addr=0;
17728 int addrlen=0;
17729 int addrtype=0;
17730 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17731 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17734 return 0;
17736 _ACEOF
17737 rm -f conftest.$ac_objext conftest$ac_exeext
17738 if { (ac_try="$ac_link"
17739 case "(($ac_try" in
17740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17741 *) ac_try_echo=$ac_try;;
17742 esac
17743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17744 (eval "$ac_link") 2>conftest.er1
17745 ac_status=$?
17746 grep -v '^ *+' conftest.er1 >conftest.err
17747 rm -f conftest.er1
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } && {
17751 test -z "$ac_c_werror_flag" ||
17752 test ! -s conftest.err
17753 } && test -s conftest$ac_exeext &&
17754 $as_test_x conftest$ac_exeext; then
17755 wine_cv_linux_gethostbyname_r_6=yes
17756 else
17757 echo "$as_me: failed program was:" >&5
17758 sed 's/^/| /' conftest.$ac_ext >&5
17760 wine_cv_linux_gethostbyname_r_6=no
17764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17765 conftest$ac_exeext conftest.$ac_ext
17768 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17769 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17770 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17771 then
17773 cat >>confdefs.h <<\_ACEOF
17774 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17775 _ACEOF
17779 if test "$ac_cv_header_linux_joystick_h" = "yes"
17780 then
17781 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17782 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17783 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17784 echo $ECHO_N "(cached) $ECHO_C" >&6
17785 else
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17793 #include <sys/ioctl.h>
17794 #include <sys/types.h>
17795 #include <linux/joystick.h>
17797 struct js_event blub;
17798 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17799 #error "no 2.2 header"
17800 #endif
17803 main ()
17805 /*empty*/
17807 return 0;
17809 _ACEOF
17810 rm -f conftest.$ac_objext
17811 if { (ac_try="$ac_compile"
17812 case "(($ac_try" in
17813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17814 *) ac_try_echo=$ac_try;;
17815 esac
17816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17817 (eval "$ac_compile") 2>conftest.er1
17818 ac_status=$?
17819 grep -v '^ *+' conftest.er1 >conftest.err
17820 rm -f conftest.er1
17821 cat conftest.err >&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } && {
17824 test -z "$ac_c_werror_flag" ||
17825 test ! -s conftest.err
17826 } && test -s conftest.$ac_objext; then
17827 wine_cv_linux_joystick_22_api=yes
17828 else
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.$ac_ext >&5
17832 wine_cv_linux_joystick_22_api=no
17835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17839 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17840 if test "$wine_cv_linux_joystick_22_api" = "yes"
17841 then
17843 cat >>confdefs.h <<\_ACEOF
17844 #define HAVE_LINUX_22_JOYSTICK_API 1
17845 _ACEOF
17851 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17852 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17853 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17854 echo $ECHO_N "(cached) $ECHO_C" >&6
17855 else
17856 cat >conftest.$ac_ext <<_ACEOF
17857 /* confdefs.h. */
17858 _ACEOF
17859 cat confdefs.h >>conftest.$ac_ext
17860 cat >>conftest.$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862 #include <sys/types.h>
17863 #ifdef HAVE_SYS_PARAM_H
17864 # include <sys/param.h>
17865 #endif
17866 #ifdef HAVE_SYS_MOUNT_H
17867 # include <sys/mount.h>
17868 #endif
17869 #ifdef HAVE_SYS_VFS_H
17870 # include <sys/vfs.h>
17871 #endif
17872 #ifdef HAVE_SYS_STATFS_H
17873 # include <sys/statfs.h>
17874 #endif
17877 main ()
17879 static struct statfs ac_aggr;
17880 if (ac_aggr.f_bfree)
17881 return 0;
17883 return 0;
17885 _ACEOF
17886 rm -f conftest.$ac_objext
17887 if { (ac_try="$ac_compile"
17888 case "(($ac_try" in
17889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17890 *) ac_try_echo=$ac_try;;
17891 esac
17892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17893 (eval "$ac_compile") 2>conftest.er1
17894 ac_status=$?
17895 grep -v '^ *+' conftest.er1 >conftest.err
17896 rm -f conftest.er1
17897 cat conftest.err >&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } && {
17900 test -z "$ac_c_werror_flag" ||
17901 test ! -s conftest.err
17902 } && test -s conftest.$ac_objext; then
17903 ac_cv_member_struct_statfs_f_bfree=yes
17904 else
17905 echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.$ac_ext >&5
17908 cat >conftest.$ac_ext <<_ACEOF
17909 /* confdefs.h. */
17910 _ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 #include <sys/types.h>
17915 #ifdef HAVE_SYS_PARAM_H
17916 # include <sys/param.h>
17917 #endif
17918 #ifdef HAVE_SYS_MOUNT_H
17919 # include <sys/mount.h>
17920 #endif
17921 #ifdef HAVE_SYS_VFS_H
17922 # include <sys/vfs.h>
17923 #endif
17924 #ifdef HAVE_SYS_STATFS_H
17925 # include <sys/statfs.h>
17926 #endif
17929 main ()
17931 static struct statfs ac_aggr;
17932 if (sizeof ac_aggr.f_bfree)
17933 return 0;
17935 return 0;
17937 _ACEOF
17938 rm -f conftest.$ac_objext
17939 if { (ac_try="$ac_compile"
17940 case "(($ac_try" in
17941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17942 *) ac_try_echo=$ac_try;;
17943 esac
17944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17945 (eval "$ac_compile") 2>conftest.er1
17946 ac_status=$?
17947 grep -v '^ *+' conftest.er1 >conftest.err
17948 rm -f conftest.er1
17949 cat conftest.err >&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } && {
17952 test -z "$ac_c_werror_flag" ||
17953 test ! -s conftest.err
17954 } && test -s conftest.$ac_objext; then
17955 ac_cv_member_struct_statfs_f_bfree=yes
17956 else
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.$ac_ext >&5
17960 ac_cv_member_struct_statfs_f_bfree=no
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17968 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17969 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17970 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17972 cat >>confdefs.h <<_ACEOF
17973 #define HAVE_STRUCT_STATFS_F_BFREE 1
17974 _ACEOF
17978 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17979 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17980 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17981 echo $ECHO_N "(cached) $ECHO_C" >&6
17982 else
17983 cat >conftest.$ac_ext <<_ACEOF
17984 /* confdefs.h. */
17985 _ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 #include <sys/types.h>
17990 #ifdef HAVE_SYS_PARAM_H
17991 # include <sys/param.h>
17992 #endif
17993 #ifdef HAVE_SYS_MOUNT_H
17994 # include <sys/mount.h>
17995 #endif
17996 #ifdef HAVE_SYS_VFS_H
17997 # include <sys/vfs.h>
17998 #endif
17999 #ifdef HAVE_SYS_STATFS_H
18000 # include <sys/statfs.h>
18001 #endif
18004 main ()
18006 static struct statfs ac_aggr;
18007 if (ac_aggr.f_bavail)
18008 return 0;
18010 return 0;
18012 _ACEOF
18013 rm -f conftest.$ac_objext
18014 if { (ac_try="$ac_compile"
18015 case "(($ac_try" in
18016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18017 *) ac_try_echo=$ac_try;;
18018 esac
18019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18020 (eval "$ac_compile") 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } && {
18027 test -z "$ac_c_werror_flag" ||
18028 test ! -s conftest.err
18029 } && test -s conftest.$ac_objext; then
18030 ac_cv_member_struct_statfs_f_bavail=yes
18031 else
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.$ac_ext >&5
18035 cat >conftest.$ac_ext <<_ACEOF
18036 /* confdefs.h. */
18037 _ACEOF
18038 cat confdefs.h >>conftest.$ac_ext
18039 cat >>conftest.$ac_ext <<_ACEOF
18040 /* end confdefs.h. */
18041 #include <sys/types.h>
18042 #ifdef HAVE_SYS_PARAM_H
18043 # include <sys/param.h>
18044 #endif
18045 #ifdef HAVE_SYS_MOUNT_H
18046 # include <sys/mount.h>
18047 #endif
18048 #ifdef HAVE_SYS_VFS_H
18049 # include <sys/vfs.h>
18050 #endif
18051 #ifdef HAVE_SYS_STATFS_H
18052 # include <sys/statfs.h>
18053 #endif
18056 main ()
18058 static struct statfs ac_aggr;
18059 if (sizeof ac_aggr.f_bavail)
18060 return 0;
18062 return 0;
18064 _ACEOF
18065 rm -f conftest.$ac_objext
18066 if { (ac_try="$ac_compile"
18067 case "(($ac_try" in
18068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18069 *) ac_try_echo=$ac_try;;
18070 esac
18071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18072 (eval "$ac_compile") 2>conftest.er1
18073 ac_status=$?
18074 grep -v '^ *+' conftest.er1 >conftest.err
18075 rm -f conftest.er1
18076 cat conftest.err >&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); } && {
18079 test -z "$ac_c_werror_flag" ||
18080 test ! -s conftest.err
18081 } && test -s conftest.$ac_objext; then
18082 ac_cv_member_struct_statfs_f_bavail=yes
18083 else
18084 echo "$as_me: failed program was:" >&5
18085 sed 's/^/| /' conftest.$ac_ext >&5
18087 ac_cv_member_struct_statfs_f_bavail=no
18090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18095 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18096 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18097 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18099 cat >>confdefs.h <<_ACEOF
18100 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18101 _ACEOF
18105 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18106 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18107 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18108 echo $ECHO_N "(cached) $ECHO_C" >&6
18109 else
18110 cat >conftest.$ac_ext <<_ACEOF
18111 /* confdefs.h. */
18112 _ACEOF
18113 cat confdefs.h >>conftest.$ac_ext
18114 cat >>conftest.$ac_ext <<_ACEOF
18115 /* end confdefs.h. */
18116 #include <sys/types.h>
18117 #ifdef HAVE_SYS_PARAM_H
18118 # include <sys/param.h>
18119 #endif
18120 #ifdef HAVE_SYS_MOUNT_H
18121 # include <sys/mount.h>
18122 #endif
18123 #ifdef HAVE_SYS_VFS_H
18124 # include <sys/vfs.h>
18125 #endif
18126 #ifdef HAVE_SYS_STATFS_H
18127 # include <sys/statfs.h>
18128 #endif
18131 main ()
18133 static struct statfs ac_aggr;
18134 if (ac_aggr.f_frsize)
18135 return 0;
18137 return 0;
18139 _ACEOF
18140 rm -f conftest.$ac_objext
18141 if { (ac_try="$ac_compile"
18142 case "(($ac_try" in
18143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18144 *) ac_try_echo=$ac_try;;
18145 esac
18146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18147 (eval "$ac_compile") 2>conftest.er1
18148 ac_status=$?
18149 grep -v '^ *+' conftest.er1 >conftest.err
18150 rm -f conftest.er1
18151 cat conftest.err >&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); } && {
18154 test -z "$ac_c_werror_flag" ||
18155 test ! -s conftest.err
18156 } && test -s conftest.$ac_objext; then
18157 ac_cv_member_struct_statfs_f_frsize=yes
18158 else
18159 echo "$as_me: failed program was:" >&5
18160 sed 's/^/| /' conftest.$ac_ext >&5
18162 cat >conftest.$ac_ext <<_ACEOF
18163 /* confdefs.h. */
18164 _ACEOF
18165 cat confdefs.h >>conftest.$ac_ext
18166 cat >>conftest.$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18168 #include <sys/types.h>
18169 #ifdef HAVE_SYS_PARAM_H
18170 # include <sys/param.h>
18171 #endif
18172 #ifdef HAVE_SYS_MOUNT_H
18173 # include <sys/mount.h>
18174 #endif
18175 #ifdef HAVE_SYS_VFS_H
18176 # include <sys/vfs.h>
18177 #endif
18178 #ifdef HAVE_SYS_STATFS_H
18179 # include <sys/statfs.h>
18180 #endif
18183 main ()
18185 static struct statfs ac_aggr;
18186 if (sizeof ac_aggr.f_frsize)
18187 return 0;
18189 return 0;
18191 _ACEOF
18192 rm -f conftest.$ac_objext
18193 if { (ac_try="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18197 esac
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18200 ac_status=$?
18201 grep -v '^ *+' conftest.er1 >conftest.err
18202 rm -f conftest.er1
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_c_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18209 ac_cv_member_struct_statfs_f_frsize=yes
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18214 ac_cv_member_struct_statfs_f_frsize=no
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18222 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18223 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18224 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18226 cat >>confdefs.h <<_ACEOF
18227 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18228 _ACEOF
18232 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18233 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18234 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18235 echo $ECHO_N "(cached) $ECHO_C" >&6
18236 else
18237 cat >conftest.$ac_ext <<_ACEOF
18238 /* confdefs.h. */
18239 _ACEOF
18240 cat confdefs.h >>conftest.$ac_ext
18241 cat >>conftest.$ac_ext <<_ACEOF
18242 /* end confdefs.h. */
18243 #include <sys/types.h>
18244 #ifdef HAVE_SYS_PARAM_H
18245 # include <sys/param.h>
18246 #endif
18247 #ifdef HAVE_SYS_MOUNT_H
18248 # include <sys/mount.h>
18249 #endif
18250 #ifdef HAVE_SYS_VFS_H
18251 # include <sys/vfs.h>
18252 #endif
18253 #ifdef HAVE_SYS_STATFS_H
18254 # include <sys/statfs.h>
18255 #endif
18258 main ()
18260 static struct statfs ac_aggr;
18261 if (ac_aggr.f_ffree)
18262 return 0;
18264 return 0;
18266 _ACEOF
18267 rm -f conftest.$ac_objext
18268 if { (ac_try="$ac_compile"
18269 case "(($ac_try" in
18270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18271 *) ac_try_echo=$ac_try;;
18272 esac
18273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18274 (eval "$ac_compile") 2>conftest.er1
18275 ac_status=$?
18276 grep -v '^ *+' conftest.er1 >conftest.err
18277 rm -f conftest.er1
18278 cat conftest.err >&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } && {
18281 test -z "$ac_c_werror_flag" ||
18282 test ! -s conftest.err
18283 } && test -s conftest.$ac_objext; then
18284 ac_cv_member_struct_statfs_f_ffree=yes
18285 else
18286 echo "$as_me: failed program was:" >&5
18287 sed 's/^/| /' conftest.$ac_ext >&5
18289 cat >conftest.$ac_ext <<_ACEOF
18290 /* confdefs.h. */
18291 _ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 #include <sys/types.h>
18296 #ifdef HAVE_SYS_PARAM_H
18297 # include <sys/param.h>
18298 #endif
18299 #ifdef HAVE_SYS_MOUNT_H
18300 # include <sys/mount.h>
18301 #endif
18302 #ifdef HAVE_SYS_VFS_H
18303 # include <sys/vfs.h>
18304 #endif
18305 #ifdef HAVE_SYS_STATFS_H
18306 # include <sys/statfs.h>
18307 #endif
18310 main ()
18312 static struct statfs ac_aggr;
18313 if (sizeof ac_aggr.f_ffree)
18314 return 0;
18316 return 0;
18318 _ACEOF
18319 rm -f conftest.$ac_objext
18320 if { (ac_try="$ac_compile"
18321 case "(($ac_try" in
18322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18323 *) ac_try_echo=$ac_try;;
18324 esac
18325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18326 (eval "$ac_compile") 2>conftest.er1
18327 ac_status=$?
18328 grep -v '^ *+' conftest.er1 >conftest.err
18329 rm -f conftest.er1
18330 cat conftest.err >&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); } && {
18333 test -z "$ac_c_werror_flag" ||
18334 test ! -s conftest.err
18335 } && test -s conftest.$ac_objext; then
18336 ac_cv_member_struct_statfs_f_ffree=yes
18337 else
18338 echo "$as_me: failed program was:" >&5
18339 sed 's/^/| /' conftest.$ac_ext >&5
18341 ac_cv_member_struct_statfs_f_ffree=no
18344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18349 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18350 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18351 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18353 cat >>confdefs.h <<_ACEOF
18354 #define HAVE_STRUCT_STATFS_F_FFREE 1
18355 _ACEOF
18359 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18360 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18361 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18362 echo $ECHO_N "(cached) $ECHO_C" >&6
18363 else
18364 cat >conftest.$ac_ext <<_ACEOF
18365 /* confdefs.h. */
18366 _ACEOF
18367 cat confdefs.h >>conftest.$ac_ext
18368 cat >>conftest.$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 #include <sys/types.h>
18371 #ifdef HAVE_SYS_PARAM_H
18372 # include <sys/param.h>
18373 #endif
18374 #ifdef HAVE_SYS_MOUNT_H
18375 # include <sys/mount.h>
18376 #endif
18377 #ifdef HAVE_SYS_VFS_H
18378 # include <sys/vfs.h>
18379 #endif
18380 #ifdef HAVE_SYS_STATFS_H
18381 # include <sys/statfs.h>
18382 #endif
18385 main ()
18387 static struct statfs ac_aggr;
18388 if (ac_aggr.f_favail)
18389 return 0;
18391 return 0;
18393 _ACEOF
18394 rm -f conftest.$ac_objext
18395 if { (ac_try="$ac_compile"
18396 case "(($ac_try" in
18397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18398 *) ac_try_echo=$ac_try;;
18399 esac
18400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18401 (eval "$ac_compile") 2>conftest.er1
18402 ac_status=$?
18403 grep -v '^ *+' conftest.er1 >conftest.err
18404 rm -f conftest.er1
18405 cat conftest.err >&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); } && {
18408 test -z "$ac_c_werror_flag" ||
18409 test ! -s conftest.err
18410 } && test -s conftest.$ac_objext; then
18411 ac_cv_member_struct_statfs_f_favail=yes
18412 else
18413 echo "$as_me: failed program was:" >&5
18414 sed 's/^/| /' conftest.$ac_ext >&5
18416 cat >conftest.$ac_ext <<_ACEOF
18417 /* confdefs.h. */
18418 _ACEOF
18419 cat confdefs.h >>conftest.$ac_ext
18420 cat >>conftest.$ac_ext <<_ACEOF
18421 /* end confdefs.h. */
18422 #include <sys/types.h>
18423 #ifdef HAVE_SYS_PARAM_H
18424 # include <sys/param.h>
18425 #endif
18426 #ifdef HAVE_SYS_MOUNT_H
18427 # include <sys/mount.h>
18428 #endif
18429 #ifdef HAVE_SYS_VFS_H
18430 # include <sys/vfs.h>
18431 #endif
18432 #ifdef HAVE_SYS_STATFS_H
18433 # include <sys/statfs.h>
18434 #endif
18437 main ()
18439 static struct statfs ac_aggr;
18440 if (sizeof ac_aggr.f_favail)
18441 return 0;
18443 return 0;
18445 _ACEOF
18446 rm -f conftest.$ac_objext
18447 if { (ac_try="$ac_compile"
18448 case "(($ac_try" in
18449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18450 *) ac_try_echo=$ac_try;;
18451 esac
18452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18453 (eval "$ac_compile") 2>conftest.er1
18454 ac_status=$?
18455 grep -v '^ *+' conftest.er1 >conftest.err
18456 rm -f conftest.er1
18457 cat conftest.err >&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); } && {
18460 test -z "$ac_c_werror_flag" ||
18461 test ! -s conftest.err
18462 } && test -s conftest.$ac_objext; then
18463 ac_cv_member_struct_statfs_f_favail=yes
18464 else
18465 echo "$as_me: failed program was:" >&5
18466 sed 's/^/| /' conftest.$ac_ext >&5
18468 ac_cv_member_struct_statfs_f_favail=no
18471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18476 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18477 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18478 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18480 cat >>confdefs.h <<_ACEOF
18481 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18482 _ACEOF
18486 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18487 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18488 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18490 else
18491 cat >conftest.$ac_ext <<_ACEOF
18492 /* confdefs.h. */
18493 _ACEOF
18494 cat confdefs.h >>conftest.$ac_ext
18495 cat >>conftest.$ac_ext <<_ACEOF
18496 /* end confdefs.h. */
18497 #include <sys/types.h>
18498 #ifdef HAVE_SYS_PARAM_H
18499 # include <sys/param.h>
18500 #endif
18501 #ifdef HAVE_SYS_MOUNT_H
18502 # include <sys/mount.h>
18503 #endif
18504 #ifdef HAVE_SYS_VFS_H
18505 # include <sys/vfs.h>
18506 #endif
18507 #ifdef HAVE_SYS_STATFS_H
18508 # include <sys/statfs.h>
18509 #endif
18512 main ()
18514 static struct statfs ac_aggr;
18515 if (ac_aggr.f_namelen)
18516 return 0;
18518 return 0;
18520 _ACEOF
18521 rm -f conftest.$ac_objext
18522 if { (ac_try="$ac_compile"
18523 case "(($ac_try" in
18524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18525 *) ac_try_echo=$ac_try;;
18526 esac
18527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18528 (eval "$ac_compile") 2>conftest.er1
18529 ac_status=$?
18530 grep -v '^ *+' conftest.er1 >conftest.err
18531 rm -f conftest.er1
18532 cat conftest.err >&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); } && {
18535 test -z "$ac_c_werror_flag" ||
18536 test ! -s conftest.err
18537 } && test -s conftest.$ac_objext; then
18538 ac_cv_member_struct_statfs_f_namelen=yes
18539 else
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.$ac_ext >&5
18543 cat >conftest.$ac_ext <<_ACEOF
18544 /* confdefs.h. */
18545 _ACEOF
18546 cat confdefs.h >>conftest.$ac_ext
18547 cat >>conftest.$ac_ext <<_ACEOF
18548 /* end confdefs.h. */
18549 #include <sys/types.h>
18550 #ifdef HAVE_SYS_PARAM_H
18551 # include <sys/param.h>
18552 #endif
18553 #ifdef HAVE_SYS_MOUNT_H
18554 # include <sys/mount.h>
18555 #endif
18556 #ifdef HAVE_SYS_VFS_H
18557 # include <sys/vfs.h>
18558 #endif
18559 #ifdef HAVE_SYS_STATFS_H
18560 # include <sys/statfs.h>
18561 #endif
18564 main ()
18566 static struct statfs ac_aggr;
18567 if (sizeof ac_aggr.f_namelen)
18568 return 0;
18570 return 0;
18572 _ACEOF
18573 rm -f conftest.$ac_objext
18574 if { (ac_try="$ac_compile"
18575 case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18578 esac
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_compile") 2>conftest.er1
18581 ac_status=$?
18582 grep -v '^ *+' conftest.er1 >conftest.err
18583 rm -f conftest.er1
18584 cat conftest.err >&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } && {
18587 test -z "$ac_c_werror_flag" ||
18588 test ! -s conftest.err
18589 } && test -s conftest.$ac_objext; then
18590 ac_cv_member_struct_statfs_f_namelen=yes
18591 else
18592 echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.$ac_ext >&5
18595 ac_cv_member_struct_statfs_f_namelen=no
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18603 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18604 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18605 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18607 cat >>confdefs.h <<_ACEOF
18608 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18609 _ACEOF
18615 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18616 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18617 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18619 else
18620 cat >conftest.$ac_ext <<_ACEOF
18621 /* confdefs.h. */
18622 _ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18626 #ifdef HAVE_SYS_STATVFS_H
18627 #include <sys/statvfs.h>
18628 #endif
18631 main ()
18633 static struct statvfs ac_aggr;
18634 if (ac_aggr.f_blocks)
18635 return 0;
18637 return 0;
18639 _ACEOF
18640 rm -f conftest.$ac_objext
18641 if { (ac_try="$ac_compile"
18642 case "(($ac_try" in
18643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18644 *) ac_try_echo=$ac_try;;
18645 esac
18646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18647 (eval "$ac_compile") 2>conftest.er1
18648 ac_status=$?
18649 grep -v '^ *+' conftest.er1 >conftest.err
18650 rm -f conftest.er1
18651 cat conftest.err >&5
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); } && {
18654 test -z "$ac_c_werror_flag" ||
18655 test ! -s conftest.err
18656 } && test -s conftest.$ac_objext; then
18657 ac_cv_member_struct_statvfs_f_blocks=yes
18658 else
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.$ac_ext >&5
18662 cat >conftest.$ac_ext <<_ACEOF
18663 /* confdefs.h. */
18664 _ACEOF
18665 cat confdefs.h >>conftest.$ac_ext
18666 cat >>conftest.$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18668 #ifdef HAVE_SYS_STATVFS_H
18669 #include <sys/statvfs.h>
18670 #endif
18673 main ()
18675 static struct statvfs ac_aggr;
18676 if (sizeof ac_aggr.f_blocks)
18677 return 0;
18679 return 0;
18681 _ACEOF
18682 rm -f conftest.$ac_objext
18683 if { (ac_try="$ac_compile"
18684 case "(($ac_try" in
18685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18686 *) ac_try_echo=$ac_try;;
18687 esac
18688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18689 (eval "$ac_compile") 2>conftest.er1
18690 ac_status=$?
18691 grep -v '^ *+' conftest.er1 >conftest.err
18692 rm -f conftest.er1
18693 cat conftest.err >&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); } && {
18696 test -z "$ac_c_werror_flag" ||
18697 test ! -s conftest.err
18698 } && test -s conftest.$ac_objext; then
18699 ac_cv_member_struct_statvfs_f_blocks=yes
18700 else
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.$ac_ext >&5
18704 ac_cv_member_struct_statvfs_f_blocks=no
18707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18712 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18713 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18714 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18716 cat >>confdefs.h <<_ACEOF
18717 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18718 _ACEOF
18724 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18725 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18726 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18727 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 else
18729 cat >conftest.$ac_ext <<_ACEOF
18730 /* confdefs.h. */
18731 _ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18735 #include <sys/types.h>
18736 #ifdef HAVE_SYS_SOCKET_H
18737 # include <sys/socket.h>
18738 #endif
18739 #ifdef HAVE_SYS_UN_H
18740 # include <sys/un.h>
18741 #endif
18744 main ()
18746 static struct msghdr ac_aggr;
18747 if (ac_aggr.msg_accrights)
18748 return 0;
18750 return 0;
18752 _ACEOF
18753 rm -f conftest.$ac_objext
18754 if { (ac_try="$ac_compile"
18755 case "(($ac_try" in
18756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18757 *) ac_try_echo=$ac_try;;
18758 esac
18759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18760 (eval "$ac_compile") 2>conftest.er1
18761 ac_status=$?
18762 grep -v '^ *+' conftest.er1 >conftest.err
18763 rm -f conftest.er1
18764 cat conftest.err >&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } && {
18767 test -z "$ac_c_werror_flag" ||
18768 test ! -s conftest.err
18769 } && test -s conftest.$ac_objext; then
18770 ac_cv_member_struct_msghdr_msg_accrights=yes
18771 else
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.$ac_ext >&5
18775 cat >conftest.$ac_ext <<_ACEOF
18776 /* confdefs.h. */
18777 _ACEOF
18778 cat confdefs.h >>conftest.$ac_ext
18779 cat >>conftest.$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 #include <sys/types.h>
18782 #ifdef HAVE_SYS_SOCKET_H
18783 # include <sys/socket.h>
18784 #endif
18785 #ifdef HAVE_SYS_UN_H
18786 # include <sys/un.h>
18787 #endif
18790 main ()
18792 static struct msghdr ac_aggr;
18793 if (sizeof ac_aggr.msg_accrights)
18794 return 0;
18796 return 0;
18798 _ACEOF
18799 rm -f conftest.$ac_objext
18800 if { (ac_try="$ac_compile"
18801 case "(($ac_try" in
18802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18803 *) ac_try_echo=$ac_try;;
18804 esac
18805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18806 (eval "$ac_compile") 2>conftest.er1
18807 ac_status=$?
18808 grep -v '^ *+' conftest.er1 >conftest.err
18809 rm -f conftest.er1
18810 cat conftest.err >&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } && {
18813 test -z "$ac_c_werror_flag" ||
18814 test ! -s conftest.err
18815 } && test -s conftest.$ac_objext; then
18816 ac_cv_member_struct_msghdr_msg_accrights=yes
18817 else
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.$ac_ext >&5
18821 ac_cv_member_struct_msghdr_msg_accrights=no
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18830 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18831 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18833 cat >>confdefs.h <<_ACEOF
18834 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18835 _ACEOF
18839 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18840 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18841 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18842 echo $ECHO_N "(cached) $ECHO_C" >&6
18843 else
18844 cat >conftest.$ac_ext <<_ACEOF
18845 /* confdefs.h. */
18846 _ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 #include <sys/types.h>
18851 #ifdef HAVE_SYS_SOCKET_H
18852 # include <sys/socket.h>
18853 #endif
18854 #ifdef HAVE_SYS_UN_H
18855 # include <sys/un.h>
18856 #endif
18859 main ()
18861 static struct sockaddr ac_aggr;
18862 if (ac_aggr.sa_len)
18863 return 0;
18865 return 0;
18867 _ACEOF
18868 rm -f conftest.$ac_objext
18869 if { (ac_try="$ac_compile"
18870 case "(($ac_try" in
18871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18872 *) ac_try_echo=$ac_try;;
18873 esac
18874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18875 (eval "$ac_compile") 2>conftest.er1
18876 ac_status=$?
18877 grep -v '^ *+' conftest.er1 >conftest.err
18878 rm -f conftest.er1
18879 cat conftest.err >&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } && {
18882 test -z "$ac_c_werror_flag" ||
18883 test ! -s conftest.err
18884 } && test -s conftest.$ac_objext; then
18885 ac_cv_member_struct_sockaddr_sa_len=yes
18886 else
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18890 cat >conftest.$ac_ext <<_ACEOF
18891 /* confdefs.h. */
18892 _ACEOF
18893 cat confdefs.h >>conftest.$ac_ext
18894 cat >>conftest.$ac_ext <<_ACEOF
18895 /* end confdefs.h. */
18896 #include <sys/types.h>
18897 #ifdef HAVE_SYS_SOCKET_H
18898 # include <sys/socket.h>
18899 #endif
18900 #ifdef HAVE_SYS_UN_H
18901 # include <sys/un.h>
18902 #endif
18905 main ()
18907 static struct sockaddr ac_aggr;
18908 if (sizeof ac_aggr.sa_len)
18909 return 0;
18911 return 0;
18913 _ACEOF
18914 rm -f conftest.$ac_objext
18915 if { (ac_try="$ac_compile"
18916 case "(($ac_try" in
18917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 *) ac_try_echo=$ac_try;;
18919 esac
18920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18921 (eval "$ac_compile") 2>conftest.er1
18922 ac_status=$?
18923 grep -v '^ *+' conftest.er1 >conftest.err
18924 rm -f conftest.er1
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927 (exit $ac_status); } && {
18928 test -z "$ac_c_werror_flag" ||
18929 test ! -s conftest.err
18930 } && test -s conftest.$ac_objext; then
18931 ac_cv_member_struct_sockaddr_sa_len=yes
18932 else
18933 echo "$as_me: failed program was:" >&5
18934 sed 's/^/| /' conftest.$ac_ext >&5
18936 ac_cv_member_struct_sockaddr_sa_len=no
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18944 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18945 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18946 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18948 cat >>confdefs.h <<_ACEOF
18949 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18950 _ACEOF
18954 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18955 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18956 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18957 echo $ECHO_N "(cached) $ECHO_C" >&6
18958 else
18959 cat >conftest.$ac_ext <<_ACEOF
18960 /* confdefs.h. */
18961 _ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 #include <sys/types.h>
18966 #ifdef HAVE_SYS_SOCKET_H
18967 # include <sys/socket.h>
18968 #endif
18969 #ifdef HAVE_SYS_UN_H
18970 # include <sys/un.h>
18971 #endif
18974 main ()
18976 static struct sockaddr_un ac_aggr;
18977 if (ac_aggr.sun_len)
18978 return 0;
18980 return 0;
18982 _ACEOF
18983 rm -f conftest.$ac_objext
18984 if { (ac_try="$ac_compile"
18985 case "(($ac_try" in
18986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18987 *) ac_try_echo=$ac_try;;
18988 esac
18989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18990 (eval "$ac_compile") 2>conftest.er1
18991 ac_status=$?
18992 grep -v '^ *+' conftest.er1 >conftest.err
18993 rm -f conftest.er1
18994 cat conftest.err >&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } && {
18997 test -z "$ac_c_werror_flag" ||
18998 test ! -s conftest.err
18999 } && test -s conftest.$ac_objext; then
19000 ac_cv_member_struct_sockaddr_un_sun_len=yes
19001 else
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19005 cat >conftest.$ac_ext <<_ACEOF
19006 /* confdefs.h. */
19007 _ACEOF
19008 cat confdefs.h >>conftest.$ac_ext
19009 cat >>conftest.$ac_ext <<_ACEOF
19010 /* end confdefs.h. */
19011 #include <sys/types.h>
19012 #ifdef HAVE_SYS_SOCKET_H
19013 # include <sys/socket.h>
19014 #endif
19015 #ifdef HAVE_SYS_UN_H
19016 # include <sys/un.h>
19017 #endif
19020 main ()
19022 static struct sockaddr_un ac_aggr;
19023 if (sizeof ac_aggr.sun_len)
19024 return 0;
19026 return 0;
19028 _ACEOF
19029 rm -f conftest.$ac_objext
19030 if { (ac_try="$ac_compile"
19031 case "(($ac_try" in
19032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19033 *) ac_try_echo=$ac_try;;
19034 esac
19035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19036 (eval "$ac_compile") 2>conftest.er1
19037 ac_status=$?
19038 grep -v '^ *+' conftest.er1 >conftest.err
19039 rm -f conftest.er1
19040 cat conftest.err >&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } && {
19043 test -z "$ac_c_werror_flag" ||
19044 test ! -s conftest.err
19045 } && test -s conftest.$ac_objext; then
19046 ac_cv_member_struct_sockaddr_un_sun_len=yes
19047 else
19048 echo "$as_me: failed program was:" >&5
19049 sed 's/^/| /' conftest.$ac_ext >&5
19051 ac_cv_member_struct_sockaddr_un_sun_len=no
19054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19060 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19061 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19063 cat >>confdefs.h <<_ACEOF
19064 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19065 _ACEOF
19071 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19072 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19073 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19074 echo $ECHO_N "(cached) $ECHO_C" >&6
19075 else
19076 cat >conftest.$ac_ext <<_ACEOF
19077 /* confdefs.h. */
19078 _ACEOF
19079 cat confdefs.h >>conftest.$ac_ext
19080 cat >>conftest.$ac_ext <<_ACEOF
19081 /* end confdefs.h. */
19082 #include <sys/types.h>
19083 #ifdef HAVE_SCSI_SG_H
19084 #include <scsi/sg.h>
19085 #endif
19088 main ()
19090 static scsireq_t ac_aggr;
19091 if (ac_aggr.cmd)
19092 return 0;
19094 return 0;
19096 _ACEOF
19097 rm -f conftest.$ac_objext
19098 if { (ac_try="$ac_compile"
19099 case "(($ac_try" in
19100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19101 *) ac_try_echo=$ac_try;;
19102 esac
19103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19104 (eval "$ac_compile") 2>conftest.er1
19105 ac_status=$?
19106 grep -v '^ *+' conftest.er1 >conftest.err
19107 rm -f conftest.er1
19108 cat conftest.err >&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); } && {
19111 test -z "$ac_c_werror_flag" ||
19112 test ! -s conftest.err
19113 } && test -s conftest.$ac_objext; then
19114 ac_cv_member_scsireq_t_cmd=yes
19115 else
19116 echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19119 cat >conftest.$ac_ext <<_ACEOF
19120 /* confdefs.h. */
19121 _ACEOF
19122 cat confdefs.h >>conftest.$ac_ext
19123 cat >>conftest.$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 #include <sys/types.h>
19126 #ifdef HAVE_SCSI_SG_H
19127 #include <scsi/sg.h>
19128 #endif
19131 main ()
19133 static scsireq_t ac_aggr;
19134 if (sizeof ac_aggr.cmd)
19135 return 0;
19137 return 0;
19139 _ACEOF
19140 rm -f conftest.$ac_objext
19141 if { (ac_try="$ac_compile"
19142 case "(($ac_try" in
19143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19144 *) ac_try_echo=$ac_try;;
19145 esac
19146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19147 (eval "$ac_compile") 2>conftest.er1
19148 ac_status=$?
19149 grep -v '^ *+' conftest.er1 >conftest.err
19150 rm -f conftest.er1
19151 cat conftest.err >&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); } && {
19154 test -z "$ac_c_werror_flag" ||
19155 test ! -s conftest.err
19156 } && test -s conftest.$ac_objext; then
19157 ac_cv_member_scsireq_t_cmd=yes
19158 else
19159 echo "$as_me: failed program was:" >&5
19160 sed 's/^/| /' conftest.$ac_ext >&5
19162 ac_cv_member_scsireq_t_cmd=no
19165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19170 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19171 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19172 if test $ac_cv_member_scsireq_t_cmd = yes; then
19174 cat >>confdefs.h <<_ACEOF
19175 #define HAVE_SCSIREQ_T_CMD 1
19176 _ACEOF
19180 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19181 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19182 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19183 echo $ECHO_N "(cached) $ECHO_C" >&6
19184 else
19185 cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h. */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <sys/types.h>
19192 #ifdef HAVE_SCSI_SG_H
19193 #include <scsi/sg.h>
19194 #endif
19197 main ()
19199 static sg_io_hdr_t ac_aggr;
19200 if (ac_aggr.interface_id)
19201 return 0;
19203 return 0;
19205 _ACEOF
19206 rm -f conftest.$ac_objext
19207 if { (ac_try="$ac_compile"
19208 case "(($ac_try" in
19209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19210 *) ac_try_echo=$ac_try;;
19211 esac
19212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19213 (eval "$ac_compile") 2>conftest.er1
19214 ac_status=$?
19215 grep -v '^ *+' conftest.er1 >conftest.err
19216 rm -f conftest.er1
19217 cat conftest.err >&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } && {
19220 test -z "$ac_c_werror_flag" ||
19221 test ! -s conftest.err
19222 } && test -s conftest.$ac_objext; then
19223 ac_cv_member_sg_io_hdr_t_interface_id=yes
19224 else
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19228 cat >conftest.$ac_ext <<_ACEOF
19229 /* confdefs.h. */
19230 _ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 #include <sys/types.h>
19235 #ifdef HAVE_SCSI_SG_H
19236 #include <scsi/sg.h>
19237 #endif
19240 main ()
19242 static sg_io_hdr_t ac_aggr;
19243 if (sizeof ac_aggr.interface_id)
19244 return 0;
19246 return 0;
19248 _ACEOF
19249 rm -f conftest.$ac_objext
19250 if { (ac_try="$ac_compile"
19251 case "(($ac_try" in
19252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19253 *) ac_try_echo=$ac_try;;
19254 esac
19255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19256 (eval "$ac_compile") 2>conftest.er1
19257 ac_status=$?
19258 grep -v '^ *+' conftest.er1 >conftest.err
19259 rm -f conftest.er1
19260 cat conftest.err >&5
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); } && {
19263 test -z "$ac_c_werror_flag" ||
19264 test ! -s conftest.err
19265 } && test -s conftest.$ac_objext; then
19266 ac_cv_member_sg_io_hdr_t_interface_id=yes
19267 else
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19271 ac_cv_member_sg_io_hdr_t_interface_id=no
19274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19279 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19280 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19281 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19283 cat >>confdefs.h <<_ACEOF
19284 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19285 _ACEOF
19291 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19292 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19293 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19294 echo $ECHO_N "(cached) $ECHO_C" >&6
19295 else
19296 cat >conftest.$ac_ext <<_ACEOF
19297 /* confdefs.h. */
19298 _ACEOF
19299 cat confdefs.h >>conftest.$ac_ext
19300 cat >>conftest.$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19302 #include <signal.h>
19305 main ()
19307 static siginfo_t ac_aggr;
19308 if (ac_aggr.si_fd)
19309 return 0;
19311 return 0;
19313 _ACEOF
19314 rm -f conftest.$ac_objext
19315 if { (ac_try="$ac_compile"
19316 case "(($ac_try" in
19317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19318 *) ac_try_echo=$ac_try;;
19319 esac
19320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19321 (eval "$ac_compile") 2>conftest.er1
19322 ac_status=$?
19323 grep -v '^ *+' conftest.er1 >conftest.err
19324 rm -f conftest.er1
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } && {
19328 test -z "$ac_c_werror_flag" ||
19329 test ! -s conftest.err
19330 } && test -s conftest.$ac_objext; then
19331 ac_cv_member_siginfo_t_si_fd=yes
19332 else
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19336 cat >conftest.$ac_ext <<_ACEOF
19337 /* confdefs.h. */
19338 _ACEOF
19339 cat confdefs.h >>conftest.$ac_ext
19340 cat >>conftest.$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19342 #include <signal.h>
19345 main ()
19347 static siginfo_t ac_aggr;
19348 if (sizeof ac_aggr.si_fd)
19349 return 0;
19351 return 0;
19353 _ACEOF
19354 rm -f conftest.$ac_objext
19355 if { (ac_try="$ac_compile"
19356 case "(($ac_try" in
19357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19358 *) ac_try_echo=$ac_try;;
19359 esac
19360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19361 (eval "$ac_compile") 2>conftest.er1
19362 ac_status=$?
19363 grep -v '^ *+' conftest.er1 >conftest.err
19364 rm -f conftest.er1
19365 cat conftest.err >&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } && {
19368 test -z "$ac_c_werror_flag" ||
19369 test ! -s conftest.err
19370 } && test -s conftest.$ac_objext; then
19371 ac_cv_member_siginfo_t_si_fd=yes
19372 else
19373 echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.$ac_ext >&5
19376 ac_cv_member_siginfo_t_si_fd=no
19379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19384 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19385 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19386 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19388 cat >>confdefs.h <<_ACEOF
19389 #define HAVE_SIGINFO_T_SI_FD 1
19390 _ACEOF
19396 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19397 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19398 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19399 echo $ECHO_N "(cached) $ECHO_C" >&6
19400 else
19401 cat >conftest.$ac_ext <<_ACEOF
19402 /* confdefs.h. */
19403 _ACEOF
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19407 #include <sys/types.h>
19408 #ifdef HAVE_SYS_MTIO_H
19409 #include <sys/mtio.h>
19410 #endif
19413 main ()
19415 static struct mtget ac_aggr;
19416 if (ac_aggr.mt_blksiz)
19417 return 0;
19419 return 0;
19421 _ACEOF
19422 rm -f conftest.$ac_objext
19423 if { (ac_try="$ac_compile"
19424 case "(($ac_try" in
19425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19426 *) ac_try_echo=$ac_try;;
19427 esac
19428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19429 (eval "$ac_compile") 2>conftest.er1
19430 ac_status=$?
19431 grep -v '^ *+' conftest.er1 >conftest.err
19432 rm -f conftest.er1
19433 cat conftest.err >&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } && {
19436 test -z "$ac_c_werror_flag" ||
19437 test ! -s conftest.err
19438 } && test -s conftest.$ac_objext; then
19439 ac_cv_member_struct_mtget_mt_blksiz=yes
19440 else
19441 echo "$as_me: failed program was:" >&5
19442 sed 's/^/| /' conftest.$ac_ext >&5
19444 cat >conftest.$ac_ext <<_ACEOF
19445 /* confdefs.h. */
19446 _ACEOF
19447 cat confdefs.h >>conftest.$ac_ext
19448 cat >>conftest.$ac_ext <<_ACEOF
19449 /* end confdefs.h. */
19450 #include <sys/types.h>
19451 #ifdef HAVE_SYS_MTIO_H
19452 #include <sys/mtio.h>
19453 #endif
19456 main ()
19458 static struct mtget ac_aggr;
19459 if (sizeof ac_aggr.mt_blksiz)
19460 return 0;
19462 return 0;
19464 _ACEOF
19465 rm -f conftest.$ac_objext
19466 if { (ac_try="$ac_compile"
19467 case "(($ac_try" in
19468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19469 *) ac_try_echo=$ac_try;;
19470 esac
19471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19472 (eval "$ac_compile") 2>conftest.er1
19473 ac_status=$?
19474 grep -v '^ *+' conftest.er1 >conftest.err
19475 rm -f conftest.er1
19476 cat conftest.err >&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); } && {
19479 test -z "$ac_c_werror_flag" ||
19480 test ! -s conftest.err
19481 } && test -s conftest.$ac_objext; then
19482 ac_cv_member_struct_mtget_mt_blksiz=yes
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19487 ac_cv_member_struct_mtget_mt_blksiz=no
19490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19495 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19496 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19497 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19499 cat >>confdefs.h <<_ACEOF
19500 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19501 _ACEOF
19505 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19506 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19507 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19509 else
19510 cat >conftest.$ac_ext <<_ACEOF
19511 /* confdefs.h. */
19512 _ACEOF
19513 cat confdefs.h >>conftest.$ac_ext
19514 cat >>conftest.$ac_ext <<_ACEOF
19515 /* end confdefs.h. */
19516 #include <sys/types.h>
19517 #ifdef HAVE_SYS_MTIO_H
19518 #include <sys/mtio.h>
19519 #endif
19522 main ()
19524 static struct mtget ac_aggr;
19525 if (ac_aggr.mt_gstat)
19526 return 0;
19528 return 0;
19530 _ACEOF
19531 rm -f conftest.$ac_objext
19532 if { (ac_try="$ac_compile"
19533 case "(($ac_try" in
19534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19535 *) ac_try_echo=$ac_try;;
19536 esac
19537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19538 (eval "$ac_compile") 2>conftest.er1
19539 ac_status=$?
19540 grep -v '^ *+' conftest.er1 >conftest.err
19541 rm -f conftest.er1
19542 cat conftest.err >&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } && {
19545 test -z "$ac_c_werror_flag" ||
19546 test ! -s conftest.err
19547 } && test -s conftest.$ac_objext; then
19548 ac_cv_member_struct_mtget_mt_gstat=yes
19549 else
19550 echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19553 cat >conftest.$ac_ext <<_ACEOF
19554 /* confdefs.h. */
19555 _ACEOF
19556 cat confdefs.h >>conftest.$ac_ext
19557 cat >>conftest.$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19559 #include <sys/types.h>
19560 #ifdef HAVE_SYS_MTIO_H
19561 #include <sys/mtio.h>
19562 #endif
19565 main ()
19567 static struct mtget ac_aggr;
19568 if (sizeof ac_aggr.mt_gstat)
19569 return 0;
19571 return 0;
19573 _ACEOF
19574 rm -f conftest.$ac_objext
19575 if { (ac_try="$ac_compile"
19576 case "(($ac_try" in
19577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19578 *) ac_try_echo=$ac_try;;
19579 esac
19580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19581 (eval "$ac_compile") 2>conftest.er1
19582 ac_status=$?
19583 grep -v '^ *+' conftest.er1 >conftest.err
19584 rm -f conftest.er1
19585 cat conftest.err >&5
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); } && {
19588 test -z "$ac_c_werror_flag" ||
19589 test ! -s conftest.err
19590 } && test -s conftest.$ac_objext; then
19591 ac_cv_member_struct_mtget_mt_gstat=yes
19592 else
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.$ac_ext >&5
19596 ac_cv_member_struct_mtget_mt_gstat=no
19599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19604 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19605 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19606 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19608 cat >>confdefs.h <<_ACEOF
19609 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19610 _ACEOF
19614 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19615 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19616 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19617 echo $ECHO_N "(cached) $ECHO_C" >&6
19618 else
19619 cat >conftest.$ac_ext <<_ACEOF
19620 /* confdefs.h. */
19621 _ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 #include <sys/types.h>
19626 #ifdef HAVE_SYS_MTIO_H
19627 #include <sys/mtio.h>
19628 #endif
19631 main ()
19633 static struct mtget ac_aggr;
19634 if (ac_aggr.mt_blkno)
19635 return 0;
19637 return 0;
19639 _ACEOF
19640 rm -f conftest.$ac_objext
19641 if { (ac_try="$ac_compile"
19642 case "(($ac_try" in
19643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19644 *) ac_try_echo=$ac_try;;
19645 esac
19646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19647 (eval "$ac_compile") 2>conftest.er1
19648 ac_status=$?
19649 grep -v '^ *+' conftest.er1 >conftest.err
19650 rm -f conftest.er1
19651 cat conftest.err >&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); } && {
19654 test -z "$ac_c_werror_flag" ||
19655 test ! -s conftest.err
19656 } && test -s conftest.$ac_objext; then
19657 ac_cv_member_struct_mtget_mt_blkno=yes
19658 else
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.$ac_ext >&5
19662 cat >conftest.$ac_ext <<_ACEOF
19663 /* confdefs.h. */
19664 _ACEOF
19665 cat confdefs.h >>conftest.$ac_ext
19666 cat >>conftest.$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 #include <sys/types.h>
19669 #ifdef HAVE_SYS_MTIO_H
19670 #include <sys/mtio.h>
19671 #endif
19674 main ()
19676 static struct mtget ac_aggr;
19677 if (sizeof ac_aggr.mt_blkno)
19678 return 0;
19680 return 0;
19682 _ACEOF
19683 rm -f conftest.$ac_objext
19684 if { (ac_try="$ac_compile"
19685 case "(($ac_try" in
19686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687 *) ac_try_echo=$ac_try;;
19688 esac
19689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19690 (eval "$ac_compile") 2>conftest.er1
19691 ac_status=$?
19692 grep -v '^ *+' conftest.er1 >conftest.err
19693 rm -f conftest.er1
19694 cat conftest.err >&5
19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19696 (exit $ac_status); } && {
19697 test -z "$ac_c_werror_flag" ||
19698 test ! -s conftest.err
19699 } && test -s conftest.$ac_objext; then
19700 ac_cv_member_struct_mtget_mt_blkno=yes
19701 else
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.$ac_ext >&5
19705 ac_cv_member_struct_mtget_mt_blkno=no
19708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19713 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19714 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19715 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19717 cat >>confdefs.h <<_ACEOF
19718 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19719 _ACEOF
19725 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19726 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19727 if test "${ac_cv_member_struct_option_name+set}" = set; then
19728 echo $ECHO_N "(cached) $ECHO_C" >&6
19729 else
19730 cat >conftest.$ac_ext <<_ACEOF
19731 /* confdefs.h. */
19732 _ACEOF
19733 cat confdefs.h >>conftest.$ac_ext
19734 cat >>conftest.$ac_ext <<_ACEOF
19735 /* end confdefs.h. */
19736 #ifdef HAVE_GETOPT_H
19737 #include <getopt.h>
19738 #endif
19741 main ()
19743 static struct option ac_aggr;
19744 if (ac_aggr.name)
19745 return 0;
19747 return 0;
19749 _ACEOF
19750 rm -f conftest.$ac_objext
19751 if { (ac_try="$ac_compile"
19752 case "(($ac_try" in
19753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19754 *) ac_try_echo=$ac_try;;
19755 esac
19756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19757 (eval "$ac_compile") 2>conftest.er1
19758 ac_status=$?
19759 grep -v '^ *+' conftest.er1 >conftest.err
19760 rm -f conftest.er1
19761 cat conftest.err >&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } && {
19764 test -z "$ac_c_werror_flag" ||
19765 test ! -s conftest.err
19766 } && test -s conftest.$ac_objext; then
19767 ac_cv_member_struct_option_name=yes
19768 else
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.$ac_ext >&5
19772 cat >conftest.$ac_ext <<_ACEOF
19773 /* confdefs.h. */
19774 _ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 #ifdef HAVE_GETOPT_H
19779 #include <getopt.h>
19780 #endif
19783 main ()
19785 static struct option ac_aggr;
19786 if (sizeof ac_aggr.name)
19787 return 0;
19789 return 0;
19791 _ACEOF
19792 rm -f conftest.$ac_objext
19793 if { (ac_try="$ac_compile"
19794 case "(($ac_try" in
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19797 esac
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_compile") 2>conftest.er1
19800 ac_status=$?
19801 grep -v '^ *+' conftest.er1 >conftest.err
19802 rm -f conftest.er1
19803 cat conftest.err >&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } && {
19806 test -z "$ac_c_werror_flag" ||
19807 test ! -s conftest.err
19808 } && test -s conftest.$ac_objext; then
19809 ac_cv_member_struct_option_name=yes
19810 else
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19814 ac_cv_member_struct_option_name=no
19817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19823 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19824 if test $ac_cv_member_struct_option_name = yes; then
19826 cat >>confdefs.h <<_ACEOF
19827 #define HAVE_STRUCT_OPTION_NAME 1
19828 _ACEOF
19834 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19835 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19836 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19837 echo $ECHO_N "(cached) $ECHO_C" >&6
19838 else
19839 cat >conftest.$ac_ext <<_ACEOF
19840 /* confdefs.h. */
19841 _ACEOF
19842 cat confdefs.h >>conftest.$ac_ext
19843 cat >>conftest.$ac_ext <<_ACEOF
19844 /* end confdefs.h. */
19845 $ac_includes_default
19847 main ()
19849 static struct stat ac_aggr;
19850 if (ac_aggr.st_blocks)
19851 return 0;
19853 return 0;
19855 _ACEOF
19856 rm -f conftest.$ac_objext
19857 if { (ac_try="$ac_compile"
19858 case "(($ac_try" in
19859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19860 *) ac_try_echo=$ac_try;;
19861 esac
19862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19863 (eval "$ac_compile") 2>conftest.er1
19864 ac_status=$?
19865 grep -v '^ *+' conftest.er1 >conftest.err
19866 rm -f conftest.er1
19867 cat conftest.err >&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } && {
19870 test -z "$ac_c_werror_flag" ||
19871 test ! -s conftest.err
19872 } && test -s conftest.$ac_objext; then
19873 ac_cv_member_struct_stat_st_blocks=yes
19874 else
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19878 cat >conftest.$ac_ext <<_ACEOF
19879 /* confdefs.h. */
19880 _ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884 $ac_includes_default
19886 main ()
19888 static struct stat ac_aggr;
19889 if (sizeof ac_aggr.st_blocks)
19890 return 0;
19892 return 0;
19894 _ACEOF
19895 rm -f conftest.$ac_objext
19896 if { (ac_try="$ac_compile"
19897 case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899 *) ac_try_echo=$ac_try;;
19900 esac
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_compile") 2>conftest.er1
19903 ac_status=$?
19904 grep -v '^ *+' conftest.er1 >conftest.err
19905 rm -f conftest.er1
19906 cat conftest.err >&5
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); } && {
19909 test -z "$ac_c_werror_flag" ||
19910 test ! -s conftest.err
19911 } && test -s conftest.$ac_objext; then
19912 ac_cv_member_struct_stat_st_blocks=yes
19913 else
19914 echo "$as_me: failed program was:" >&5
19915 sed 's/^/| /' conftest.$ac_ext >&5
19917 ac_cv_member_struct_stat_st_blocks=no
19920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19925 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19926 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19927 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19929 cat >>confdefs.h <<_ACEOF
19930 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19931 _ACEOF
19937 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19938 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19939 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19940 echo $ECHO_N "(cached) $ECHO_C" >&6
19941 else
19942 cat >conftest.$ac_ext <<_ACEOF
19943 /* confdefs.h. */
19944 _ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 #ifdef HAVE_SYS_TYPES_H
19949 #include <sys/types.h>
19950 #endif
19951 #ifdef HAVE_NETINET_IN_H
19952 #include <netinet/in.h>
19953 #endif
19956 main ()
19958 static struct sockaddr_in6 ac_aggr;
19959 if (ac_aggr.sin6_scope_id)
19960 return 0;
19962 return 0;
19964 _ACEOF
19965 rm -f conftest.$ac_objext
19966 if { (ac_try="$ac_compile"
19967 case "(($ac_try" in
19968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19969 *) ac_try_echo=$ac_try;;
19970 esac
19971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19972 (eval "$ac_compile") 2>conftest.er1
19973 ac_status=$?
19974 grep -v '^ *+' conftest.er1 >conftest.err
19975 rm -f conftest.er1
19976 cat conftest.err >&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } && {
19979 test -z "$ac_c_werror_flag" ||
19980 test ! -s conftest.err
19981 } && test -s conftest.$ac_objext; then
19982 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19983 else
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19987 cat >conftest.$ac_ext <<_ACEOF
19988 /* confdefs.h. */
19989 _ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 #ifdef HAVE_SYS_TYPES_H
19994 #include <sys/types.h>
19995 #endif
19996 #ifdef HAVE_NETINET_IN_H
19997 #include <netinet/in.h>
19998 #endif
20001 main ()
20003 static struct sockaddr_in6 ac_aggr;
20004 if (sizeof ac_aggr.sin6_scope_id)
20005 return 0;
20007 return 0;
20009 _ACEOF
20010 rm -f conftest.$ac_objext
20011 if { (ac_try="$ac_compile"
20012 case "(($ac_try" in
20013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20014 *) ac_try_echo=$ac_try;;
20015 esac
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_compile") 2>conftest.er1
20018 ac_status=$?
20019 grep -v '^ *+' conftest.er1 >conftest.err
20020 rm -f conftest.er1
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } && {
20024 test -z "$ac_c_werror_flag" ||
20025 test ! -s conftest.err
20026 } && test -s conftest.$ac_objext; then
20027 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20028 else
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.$ac_ext >&5
20032 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20040 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20041 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20042 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20044 cat >>confdefs.h <<_ACEOF
20045 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20046 _ACEOF
20052 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20053 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20054 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 else
20057 cat >conftest.$ac_ext <<_ACEOF
20058 /* confdefs.h. */
20059 _ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 #ifdef HAVE_SYS_TYPES_H
20064 #include <sys/types.h>
20065 #endif
20066 #ifdef HAVE_NETINET_IN_H
20067 # include <netinet/in.h>
20068 #endif
20069 #ifdef HAVE_ARPA_NAMESER_H
20070 # include <arpa/nameser.h>
20071 #endif
20074 main ()
20076 static ns_msg ac_aggr;
20077 if (ac_aggr._msg_ptr)
20078 return 0;
20080 return 0;
20082 _ACEOF
20083 rm -f conftest.$ac_objext
20084 if { (ac_try="$ac_compile"
20085 case "(($ac_try" in
20086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20087 *) ac_try_echo=$ac_try;;
20088 esac
20089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20090 (eval "$ac_compile") 2>conftest.er1
20091 ac_status=$?
20092 grep -v '^ *+' conftest.er1 >conftest.err
20093 rm -f conftest.er1
20094 cat conftest.err >&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); } && {
20097 test -z "$ac_c_werror_flag" ||
20098 test ! -s conftest.err
20099 } && test -s conftest.$ac_objext; then
20100 ac_cv_member_ns_msg__msg_ptr=yes
20101 else
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.$ac_ext >&5
20105 cat >conftest.$ac_ext <<_ACEOF
20106 /* confdefs.h. */
20107 _ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111 #ifdef HAVE_SYS_TYPES_H
20112 #include <sys/types.h>
20113 #endif
20114 #ifdef HAVE_NETINET_IN_H
20115 # include <netinet/in.h>
20116 #endif
20117 #ifdef HAVE_ARPA_NAMESER_H
20118 # include <arpa/nameser.h>
20119 #endif
20122 main ()
20124 static ns_msg ac_aggr;
20125 if (sizeof ac_aggr._msg_ptr)
20126 return 0;
20128 return 0;
20130 _ACEOF
20131 rm -f conftest.$ac_objext
20132 if { (ac_try="$ac_compile"
20133 case "(($ac_try" in
20134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20135 *) ac_try_echo=$ac_try;;
20136 esac
20137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20138 (eval "$ac_compile") 2>conftest.er1
20139 ac_status=$?
20140 grep -v '^ *+' conftest.er1 >conftest.err
20141 rm -f conftest.er1
20142 cat conftest.err >&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } && {
20145 test -z "$ac_c_werror_flag" ||
20146 test ! -s conftest.err
20147 } && test -s conftest.$ac_objext; then
20148 ac_cv_member_ns_msg__msg_ptr=yes
20149 else
20150 echo "$as_me: failed program was:" >&5
20151 sed 's/^/| /' conftest.$ac_ext >&5
20153 ac_cv_member_ns_msg__msg_ptr=no
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20161 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20162 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20163 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20165 cat >>confdefs.h <<_ACEOF
20166 #define HAVE_NS_MSG__MSG_PTR 1
20167 _ACEOF
20173 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20174 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20175 if test "${ac_cv_have_timezone+set}" = set; then
20176 echo $ECHO_N "(cached) $ECHO_C" >&6
20177 else
20178 cat >conftest.$ac_ext <<_ACEOF
20179 /* confdefs.h. */
20180 _ACEOF
20181 cat confdefs.h >>conftest.$ac_ext
20182 cat >>conftest.$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 #include <time.h>
20186 main ()
20188 timezone = 1
20190 return 0;
20192 _ACEOF
20193 rm -f conftest.$ac_objext conftest$ac_exeext
20194 if { (ac_try="$ac_link"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20197 *) ac_try_echo=$ac_try;;
20198 esac
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_link") 2>conftest.er1
20201 ac_status=$?
20202 grep -v '^ *+' conftest.er1 >conftest.err
20203 rm -f conftest.er1
20204 cat conftest.err >&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest$ac_exeext &&
20210 $as_test_x conftest$ac_exeext; then
20211 ac_cv_have_timezone="yes"
20212 else
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20216 ac_cv_have_timezone="no"
20219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20220 conftest$ac_exeext conftest.$ac_ext
20222 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20223 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20224 if test "$ac_cv_have_timezone" = "yes"
20225 then
20227 cat >>confdefs.h <<\_ACEOF
20228 #define HAVE_TIMEZONE 1
20229 _ACEOF
20232 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20233 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20234 if test "${ac_cv_have_daylight+set}" = set; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20236 else
20237 cat >conftest.$ac_ext <<_ACEOF
20238 /* confdefs.h. */
20239 _ACEOF
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 #include <time.h>
20245 main ()
20247 daylight = 1
20249 return 0;
20251 _ACEOF
20252 rm -f conftest.$ac_objext conftest$ac_exeext
20253 if { (ac_try="$ac_link"
20254 case "(($ac_try" in
20255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20256 *) ac_try_echo=$ac_try;;
20257 esac
20258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20259 (eval "$ac_link") 2>conftest.er1
20260 ac_status=$?
20261 grep -v '^ *+' conftest.er1 >conftest.err
20262 rm -f conftest.er1
20263 cat conftest.err >&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } && {
20266 test -z "$ac_c_werror_flag" ||
20267 test ! -s conftest.err
20268 } && test -s conftest$ac_exeext &&
20269 $as_test_x conftest$ac_exeext; then
20270 ac_cv_have_daylight="yes"
20271 else
20272 echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.$ac_ext >&5
20275 ac_cv_have_daylight="no"
20278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20279 conftest$ac_exeext conftest.$ac_ext
20281 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20282 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20283 if test "$ac_cv_have_daylight" = "yes"
20284 then
20286 cat >>confdefs.h <<\_ACEOF
20287 #define HAVE_DAYLIGHT 1
20288 _ACEOF
20293 case $host_cpu in
20294 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20295 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20296 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20298 else
20299 cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h. */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 #ifndef __i386__
20307 #endif
20308 _ACEOF
20309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20310 $EGREP "yes" >/dev/null 2>&1; then
20311 ac_cv_cpp_def___i386__=yes
20312 else
20313 ac_cv_cpp_def___i386__=no
20315 rm -f conftest*
20318 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20319 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20320 if test $ac_cv_cpp_def___i386__ = yes; then
20321 CFLAGS="$CFLAGS -D__i386__"
20322 LINTFLAGS="$LINTFLAGS -D__i386__"
20325 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20326 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20327 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20328 echo $ECHO_N "(cached) $ECHO_C" >&6
20329 else
20330 cat >conftest.$ac_ext <<_ACEOF
20331 /* confdefs.h. */
20332 _ACEOF
20333 cat confdefs.h >>conftest.$ac_ext
20334 cat >>conftest.$ac_ext <<_ACEOF
20335 /* end confdefs.h. */
20336 #ifndef __x86_64__
20338 #endif
20339 _ACEOF
20340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20341 $EGREP "yes" >/dev/null 2>&1; then
20342 ac_cv_cpp_def___x86_64__=yes
20343 else
20344 ac_cv_cpp_def___x86_64__=no
20346 rm -f conftest*
20349 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20350 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20351 if test $ac_cv_cpp_def___x86_64__ = yes; then
20352 CFLAGS="$CFLAGS -D__x86_64__"
20353 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20356 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20357 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20358 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20359 echo $ECHO_N "(cached) $ECHO_C" >&6
20360 else
20361 cat >conftest.$ac_ext <<_ACEOF
20362 /* confdefs.h. */
20363 _ACEOF
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 #ifndef __ALPHA__
20369 #endif
20370 _ACEOF
20371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20372 $EGREP "yes" >/dev/null 2>&1; then
20373 ac_cv_cpp_def___ALPHA__=yes
20374 else
20375 ac_cv_cpp_def___ALPHA__=no
20377 rm -f conftest*
20380 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20381 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20382 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20383 CFLAGS="$CFLAGS -D__ALPHA__"
20384 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20387 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20388 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20389 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 else
20392 cat >conftest.$ac_ext <<_ACEOF
20393 /* confdefs.h. */
20394 _ACEOF
20395 cat confdefs.h >>conftest.$ac_ext
20396 cat >>conftest.$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 #ifndef __sparc__
20400 #endif
20401 _ACEOF
20402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20403 $EGREP "yes" >/dev/null 2>&1; then
20404 ac_cv_cpp_def___sparc__=yes
20405 else
20406 ac_cv_cpp_def___sparc__=no
20408 rm -f conftest*
20411 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20412 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20413 if test $ac_cv_cpp_def___sparc__ = yes; then
20414 CFLAGS="$CFLAGS -D__sparc__"
20415 LINTFLAGS="$LINTFLAGS -D__sparc__"
20418 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20419 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20420 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20421 echo $ECHO_N "(cached) $ECHO_C" >&6
20422 else
20423 cat >conftest.$ac_ext <<_ACEOF
20424 /* confdefs.h. */
20425 _ACEOF
20426 cat confdefs.h >>conftest.$ac_ext
20427 cat >>conftest.$ac_ext <<_ACEOF
20428 /* end confdefs.h. */
20429 #ifndef __powerpc__
20431 #endif
20432 _ACEOF
20433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20434 $EGREP "yes" >/dev/null 2>&1; then
20435 ac_cv_cpp_def___powerpc__=yes
20436 else
20437 ac_cv_cpp_def___powerpc__=no
20439 rm -f conftest*
20442 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20443 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20444 if test $ac_cv_cpp_def___powerpc__ = yes; then
20445 CFLAGS="$CFLAGS -D__powerpc__"
20446 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20449 esac
20451 case $host_vendor in
20452 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20453 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20454 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20456 else
20457 cat >conftest.$ac_ext <<_ACEOF
20458 /* confdefs.h. */
20459 _ACEOF
20460 cat confdefs.h >>conftest.$ac_ext
20461 cat >>conftest.$ac_ext <<_ACEOF
20462 /* end confdefs.h. */
20463 #ifndef __sun__
20465 #endif
20466 _ACEOF
20467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20468 $EGREP "yes" >/dev/null 2>&1; then
20469 ac_cv_cpp_def___sun__=yes
20470 else
20471 ac_cv_cpp_def___sun__=no
20473 rm -f conftest*
20476 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20477 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20478 if test $ac_cv_cpp_def___sun__ = yes; then
20479 CFLAGS="$CFLAGS -D__sun__"
20480 LINTFLAGS="$LINTFLAGS -D__sun__"
20483 esac
20486 DEPENDENCIES="### Dependencies:
20488 .INIT: Makefile
20489 .BEGIN: Makefile
20490 Makefile: dummy
20491 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20493 \$(OBJS): \$(IDL_GEN_HEADERS)
20494 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20495 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20496 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20502 ac_config_commands="$ac_config_commands include/stamp-h"
20505 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20507 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20509 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20511 ac_config_commands="$ac_config_commands dlls/user32/resources"
20513 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20515 ac_config_commands="$ac_config_commands include/wine"
20518 MAKE_RULES=Make.rules
20521 MAKE_DLL_RULES=dlls/Makedll.rules
20524 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20527 MAKE_TEST_RULES=dlls/Maketest.rules
20530 MAKE_PROG_RULES=programs/Makeprog.rules
20533 ac_config_files="$ac_config_files Make.rules"
20535 ac_config_files="$ac_config_files dlls/Makedll.rules"
20537 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20539 ac_config_files="$ac_config_files dlls/Maketest.rules"
20541 ac_config_files="$ac_config_files programs/Makeprog.rules"
20543 ac_config_files="$ac_config_files Makefile"
20545 ac_config_files="$ac_config_files dlls/Makefile"
20547 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20549 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20551 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
20553 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20555 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20557 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20559 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20561 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20563 ac_config_files="$ac_config_files dlls/atl/Makefile"
20565 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20567 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20569 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20571 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20573 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20575 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20579 ac_config_files="$ac_config_files dlls/cards/Makefile"
20581 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20583 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20585 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20587 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20589 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20591 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20593 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20595 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20597 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20599 ac_config_files="$ac_config_files dlls/credui/Makefile"
20601 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
20603 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20605 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20607 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20611 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20613 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20615 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
20617 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20619 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20621 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20623 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20625 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20627 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20629 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20631 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20633 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20635 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20637 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20639 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20641 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20643 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20645 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20647 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20649 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20651 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20653 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20655 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20657 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20659 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20661 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20663 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20665 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20667 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20669 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20671 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20673 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20675 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20677 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20679 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20681 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20683 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20685 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20687 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20689 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20691 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20693 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20695 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20697 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20699 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20701 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20703 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20705 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20707 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20709 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20711 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20713 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20715 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20717 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20719 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20721 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20723 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20725 ac_config_files="$ac_config_files dlls/hal/Makefile"
20727 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20729 ac_config_files="$ac_config_files dlls/hid/Makefile"
20731 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20733 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20735 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20737 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20739 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20741 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20743 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20745 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20747 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20749 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
20751 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
20753 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20755 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20757 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20759 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20761 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20763 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20765 ac_config_files="$ac_config_files dlls/itss/Makefile"
20767 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20769 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20771 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20773 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20775 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20777 ac_config_files="$ac_config_files dlls/localui/Makefile"
20779 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20781 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20783 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20785 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20787 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20789 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20791 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20793 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20795 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20797 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20799 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20801 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20803 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20805 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20807 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20809 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20811 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20813 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20815 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20817 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20819 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
20821 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20823 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20825 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20827 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20829 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20831 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20833 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20835 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20837 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20839 ac_config_files="$ac_config_files dlls/msi/Makefile"
20841 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20843 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20845 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20847 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20849 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20851 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20853 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20855 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20857 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20859 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20861 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20863 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20865 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20867 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20869 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20871 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20873 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20875 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20877 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20879 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20881 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20883 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20885 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20887 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20889 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20891 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20893 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20895 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20897 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20899 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20901 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20903 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20905 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20907 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20909 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20911 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20913 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20915 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20917 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20919 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20921 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20923 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
20925 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20927 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
20929 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20931 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20933 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20935 ac_config_files="$ac_config_files dlls/printui/Makefile"
20937 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20939 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20941 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20943 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20945 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
20947 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
20949 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20951 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20953 ac_config_files="$ac_config_files dlls/query/Makefile"
20955 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20957 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20959 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20961 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20963 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20965 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
20967 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20969 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20971 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20973 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20975 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20977 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20979 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20981 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20983 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20985 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20987 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20989 ac_config_files="$ac_config_files dlls/security/Makefile"
20991 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20993 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20995 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20997 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20999 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21001 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21003 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21005 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21007 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21009 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21011 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21013 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21015 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21017 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21019 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21021 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21023 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21025 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21027 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21029 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21031 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21033 ac_config_files="$ac_config_files dlls/sti/Makefile"
21035 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21037 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21039 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21041 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21043 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21045 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21047 ac_config_files="$ac_config_files dlls/url/Makefile"
21049 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21051 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21053 ac_config_files="$ac_config_files dlls/user32/Makefile"
21055 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21057 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21059 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21061 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21063 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21065 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21067 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21069 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21071 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21073 ac_config_files="$ac_config_files dlls/version/Makefile"
21075 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21077 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21079 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21081 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21083 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21085 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21087 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21089 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21091 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21093 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21095 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21097 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21099 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21101 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21103 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21105 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21107 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21109 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21111 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21113 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21115 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21117 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21119 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21121 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21123 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21125 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21127 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21129 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21131 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21133 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21135 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21137 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21139 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21141 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21143 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21145 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21147 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21149 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21151 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21153 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21155 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21157 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21159 ac_config_files="$ac_config_files documentation/Makefile"
21161 ac_config_files="$ac_config_files fonts/Makefile"
21163 ac_config_files="$ac_config_files include/Makefile"
21165 ac_config_files="$ac_config_files libs/Makefile"
21167 ac_config_files="$ac_config_files libs/port/Makefile"
21169 ac_config_files="$ac_config_files libs/wine/Makefile"
21171 ac_config_files="$ac_config_files libs/wpp/Makefile"
21173 ac_config_files="$ac_config_files loader/Makefile"
21175 ac_config_files="$ac_config_files programs/Makefile"
21177 ac_config_files="$ac_config_files programs/clock/Makefile"
21179 ac_config_files="$ac_config_files programs/cmd/Makefile"
21181 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21183 ac_config_files="$ac_config_files programs/control/Makefile"
21185 ac_config_files="$ac_config_files programs/eject/Makefile"
21187 ac_config_files="$ac_config_files programs/expand/Makefile"
21189 ac_config_files="$ac_config_files programs/explorer/Makefile"
21191 ac_config_files="$ac_config_files programs/hh/Makefile"
21193 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21195 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21197 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21199 ac_config_files="$ac_config_files programs/net/Makefile"
21201 ac_config_files="$ac_config_files programs/notepad/Makefile"
21203 ac_config_files="$ac_config_files programs/oleview/Makefile"
21205 ac_config_files="$ac_config_files programs/progman/Makefile"
21207 ac_config_files="$ac_config_files programs/regedit/Makefile"
21209 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21211 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21213 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21215 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21217 ac_config_files="$ac_config_files programs/start/Makefile"
21219 ac_config_files="$ac_config_files programs/svchost/Makefile"
21221 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21223 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21225 ac_config_files="$ac_config_files programs/view/Makefile"
21227 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21229 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21231 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21233 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21235 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21237 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21239 ac_config_files="$ac_config_files programs/winefile/Makefile"
21241 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21243 ac_config_files="$ac_config_files programs/winemine/Makefile"
21245 ac_config_files="$ac_config_files programs/winepath/Makefile"
21247 ac_config_files="$ac_config_files programs/winetest/Makefile"
21249 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21251 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21253 ac_config_files="$ac_config_files programs/winver/Makefile"
21255 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21257 ac_config_files="$ac_config_files programs/write/Makefile"
21259 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21261 ac_config_files="$ac_config_files server/Makefile"
21263 ac_config_files="$ac_config_files tools/Makefile"
21265 ac_config_files="$ac_config_files tools/widl/Makefile"
21267 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21269 ac_config_files="$ac_config_files tools/winedump/Makefile"
21271 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21273 ac_config_files="$ac_config_files tools/wmc/Makefile"
21275 ac_config_files="$ac_config_files tools/wrc/Makefile"
21278 cat >confcache <<\_ACEOF
21279 # This file is a shell script that caches the results of configure
21280 # tests run on this system so they can be shared between configure
21281 # scripts and configure runs, see configure's option --config-cache.
21282 # It is not useful on other systems. If it contains results you don't
21283 # want to keep, you may remove or edit it.
21285 # config.status only pays attention to the cache file if you give it
21286 # the --recheck option to rerun configure.
21288 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21289 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21290 # following values.
21292 _ACEOF
21294 # The following way of writing the cache mishandles newlines in values,
21295 # but we know of no workaround that is simple, portable, and efficient.
21296 # So, we kill variables containing newlines.
21297 # Ultrix sh set writes to stderr and can't be redirected directly,
21298 # and sets the high bit in the cache file unless we assign to the vars.
21300 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21301 eval ac_val=\$$ac_var
21302 case $ac_val in #(
21303 *${as_nl}*)
21304 case $ac_var in #(
21305 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21306 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21307 esac
21308 case $ac_var in #(
21309 _ | IFS | as_nl) ;; #(
21310 *) $as_unset $ac_var ;;
21311 esac ;;
21312 esac
21313 done
21315 (set) 2>&1 |
21316 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21317 *${as_nl}ac_space=\ *)
21318 # `set' does not quote correctly, so add quotes (double-quote
21319 # substitution turns \\\\ into \\, and sed turns \\ into \).
21320 sed -n \
21321 "s/'/'\\\\''/g;
21322 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21323 ;; #(
21325 # `set' quotes correctly as required by POSIX, so do not add quotes.
21326 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21328 esac |
21329 sort
21331 sed '
21332 /^ac_cv_env_/b end
21333 t clear
21334 :clear
21335 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21336 t end
21337 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21338 :end' >>confcache
21339 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21340 if test -w "$cache_file"; then
21341 test "x$cache_file" != "x/dev/null" &&
21342 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21343 echo "$as_me: updating cache $cache_file" >&6;}
21344 cat confcache >$cache_file
21345 else
21346 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21347 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21350 rm -f confcache
21352 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21353 # Let make expand exec_prefix.
21354 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21356 DEFS=-DHAVE_CONFIG_H
21358 ac_libobjs=
21359 ac_ltlibobjs=
21360 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21361 # 1. Remove the extension, and $U if already installed.
21362 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21363 ac_i=`echo "$ac_i" | sed "$ac_script"`
21364 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21365 # will be set to the directory where LIBOBJS objects are built.
21366 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21367 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21368 done
21369 LIBOBJS=$ac_libobjs
21371 LTLIBOBJS=$ac_ltlibobjs
21375 : ${CONFIG_STATUS=./config.status}
21376 ac_clean_files_save=$ac_clean_files
21377 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21378 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21379 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21380 cat >$CONFIG_STATUS <<_ACEOF
21381 #! $SHELL
21382 # Generated by $as_me.
21383 # Run this file to recreate the current configuration.
21384 # Compiler output produced by configure, useful for debugging
21385 # configure, is in config.log if it exists.
21387 debug=false
21388 ac_cs_recheck=false
21389 ac_cs_silent=false
21390 SHELL=\${CONFIG_SHELL-$SHELL}
21391 _ACEOF
21393 cat >>$CONFIG_STATUS <<\_ACEOF
21394 ## --------------------- ##
21395 ## M4sh Initialization. ##
21396 ## --------------------- ##
21398 # Be more Bourne compatible
21399 DUALCASE=1; export DUALCASE # for MKS sh
21400 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21401 emulate sh
21402 NULLCMD=:
21403 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21404 # is contrary to our usage. Disable this feature.
21405 alias -g '${1+"$@"}'='"$@"'
21406 setopt NO_GLOB_SUBST
21407 else
21408 case `(set -o) 2>/dev/null` in
21409 *posix*) set -o posix ;;
21410 esac
21417 # PATH needs CR
21418 # Avoid depending upon Character Ranges.
21419 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21420 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21421 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21422 as_cr_digits='0123456789'
21423 as_cr_alnum=$as_cr_Letters$as_cr_digits
21425 # The user is always right.
21426 if test "${PATH_SEPARATOR+set}" != set; then
21427 echo "#! /bin/sh" >conf$$.sh
21428 echo "exit 0" >>conf$$.sh
21429 chmod +x conf$$.sh
21430 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21431 PATH_SEPARATOR=';'
21432 else
21433 PATH_SEPARATOR=:
21435 rm -f conf$$.sh
21438 # Support unset when possible.
21439 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21440 as_unset=unset
21441 else
21442 as_unset=false
21446 # IFS
21447 # We need space, tab and new line, in precisely that order. Quoting is
21448 # there to prevent editors from complaining about space-tab.
21449 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21450 # splitting by setting IFS to empty value.)
21451 as_nl='
21453 IFS=" "" $as_nl"
21455 # Find who we are. Look in the path if we contain no directory separator.
21456 case $0 in
21457 *[\\/]* ) as_myself=$0 ;;
21458 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21459 for as_dir in $PATH
21461 IFS=$as_save_IFS
21462 test -z "$as_dir" && as_dir=.
21463 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21464 done
21465 IFS=$as_save_IFS
21468 esac
21469 # We did not find ourselves, most probably we were run as `sh COMMAND'
21470 # in which case we are not to be found in the path.
21471 if test "x$as_myself" = x; then
21472 as_myself=$0
21474 if test ! -f "$as_myself"; then
21475 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21476 { (exit 1); exit 1; }
21479 # Work around bugs in pre-3.0 UWIN ksh.
21480 for as_var in ENV MAIL MAILPATH
21481 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21482 done
21483 PS1='$ '
21484 PS2='> '
21485 PS4='+ '
21487 # NLS nuisances.
21488 for as_var in \
21489 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21490 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21491 LC_TELEPHONE LC_TIME
21493 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21494 eval $as_var=C; export $as_var
21495 else
21496 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21498 done
21500 # Required to use basename.
21501 if expr a : '\(a\)' >/dev/null 2>&1 &&
21502 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21503 as_expr=expr
21504 else
21505 as_expr=false
21508 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21509 as_basename=basename
21510 else
21511 as_basename=false
21515 # Name of the executable.
21516 as_me=`$as_basename -- "$0" ||
21517 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21518 X"$0" : 'X\(//\)$' \| \
21519 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21520 echo X/"$0" |
21521 sed '/^.*\/\([^/][^/]*\)\/*$/{
21522 s//\1/
21525 /^X\/\(\/\/\)$/{
21526 s//\1/
21529 /^X\/\(\/\).*/{
21530 s//\1/
21533 s/.*/./; q'`
21535 # CDPATH.
21536 $as_unset CDPATH
21540 as_lineno_1=$LINENO
21541 as_lineno_2=$LINENO
21542 test "x$as_lineno_1" != "x$as_lineno_2" &&
21543 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21545 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21546 # uniformly replaced by the line number. The first 'sed' inserts a
21547 # line-number line after each line using $LINENO; the second 'sed'
21548 # does the real work. The second script uses 'N' to pair each
21549 # line-number line with the line containing $LINENO, and appends
21550 # trailing '-' during substitution so that $LINENO is not a special
21551 # case at line end.
21552 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21553 # scripts with optimization help from Paolo Bonzini. Blame Lee
21554 # E. McMahon (1931-1989) for sed's syntax. :-)
21555 sed -n '
21557 /[$]LINENO/=
21558 ' <$as_myself |
21559 sed '
21560 s/[$]LINENO.*/&-/
21561 t lineno
21563 :lineno
21565 :loop
21566 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21567 t loop
21568 s/-\n.*//
21569 ' >$as_me.lineno &&
21570 chmod +x "$as_me.lineno" ||
21571 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21572 { (exit 1); exit 1; }; }
21574 # Don't try to exec as it changes $[0], causing all sort of problems
21575 # (the dirname of $[0] is not the place where we might find the
21576 # original and so on. Autoconf is especially sensitive to this).
21577 . "./$as_me.lineno"
21578 # Exit status is that of the last command.
21579 exit
21583 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21584 as_dirname=dirname
21585 else
21586 as_dirname=false
21589 ECHO_C= ECHO_N= ECHO_T=
21590 case `echo -n x` in
21591 -n*)
21592 case `echo 'x\c'` in
21593 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21594 *) ECHO_C='\c';;
21595 esac;;
21597 ECHO_N='-n';;
21598 esac
21600 if expr a : '\(a\)' >/dev/null 2>&1 &&
21601 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21602 as_expr=expr
21603 else
21604 as_expr=false
21607 rm -f conf$$ conf$$.exe conf$$.file
21608 if test -d conf$$.dir; then
21609 rm -f conf$$.dir/conf$$.file
21610 else
21611 rm -f conf$$.dir
21612 mkdir conf$$.dir
21614 echo >conf$$.file
21615 if ln -s conf$$.file conf$$ 2>/dev/null; then
21616 as_ln_s='ln -s'
21617 # ... but there are two gotchas:
21618 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21619 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21620 # In both cases, we have to default to `cp -p'.
21621 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21622 as_ln_s='cp -p'
21623 elif ln conf$$.file conf$$ 2>/dev/null; then
21624 as_ln_s=ln
21625 else
21626 as_ln_s='cp -p'
21628 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21629 rmdir conf$$.dir 2>/dev/null
21631 if mkdir -p . 2>/dev/null; then
21632 as_mkdir_p=:
21633 else
21634 test -d ./-p && rmdir ./-p
21635 as_mkdir_p=false
21638 if test -x / >/dev/null 2>&1; then
21639 as_test_x='test -x'
21640 else
21641 if ls -dL / >/dev/null 2>&1; then
21642 as_ls_L_option=L
21643 else
21644 as_ls_L_option=
21646 as_test_x='
21647 eval sh -c '\''
21648 if test -d "$1"; then
21649 test -d "$1/.";
21650 else
21651 case $1 in
21652 -*)set "./$1";;
21653 esac;
21654 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21655 ???[sx]*):;;*)false;;esac;fi
21656 '\'' sh
21659 as_executable_p=$as_test_x
21661 # Sed expression to map a string onto a valid CPP name.
21662 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21664 # Sed expression to map a string onto a valid variable name.
21665 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21668 exec 6>&1
21670 # Save the log message, to keep $[0] and so on meaningful, and to
21671 # report actual input values of CONFIG_FILES etc. instead of their
21672 # values after options handling.
21673 ac_log="
21674 This file was extended by Wine $as_me 0.9.51, which was
21675 generated by GNU Autoconf 2.61. Invocation command line was
21677 CONFIG_FILES = $CONFIG_FILES
21678 CONFIG_HEADERS = $CONFIG_HEADERS
21679 CONFIG_LINKS = $CONFIG_LINKS
21680 CONFIG_COMMANDS = $CONFIG_COMMANDS
21681 $ $0 $@
21683 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21686 _ACEOF
21688 cat >>$CONFIG_STATUS <<_ACEOF
21689 # Files that config.status was made for.
21690 config_files="$ac_config_files"
21691 config_headers="$ac_config_headers"
21692 config_commands="$ac_config_commands"
21694 _ACEOF
21696 cat >>$CONFIG_STATUS <<\_ACEOF
21697 ac_cs_usage="\
21698 \`$as_me' instantiates files from templates according to the
21699 current configuration.
21701 Usage: $0 [OPTIONS] [FILE]...
21703 -h, --help print this help, then exit
21704 -V, --version print version number and configuration settings, then exit
21705 -q, --quiet do not print progress messages
21706 -d, --debug don't remove temporary files
21707 --recheck update $as_me by reconfiguring in the same conditions
21708 --file=FILE[:TEMPLATE]
21709 instantiate the configuration file FILE
21710 --header=FILE[:TEMPLATE]
21711 instantiate the configuration header FILE
21713 Configuration files:
21714 $config_files
21716 Configuration headers:
21717 $config_headers
21719 Configuration commands:
21720 $config_commands
21722 Report bugs to <bug-autoconf@gnu.org>."
21724 _ACEOF
21725 cat >>$CONFIG_STATUS <<_ACEOF
21726 ac_cs_version="\\
21727 Wine config.status 0.9.51
21728 configured by $0, generated by GNU Autoconf 2.61,
21729 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21731 Copyright (C) 2006 Free Software Foundation, Inc.
21732 This config.status script is free software; the Free Software Foundation
21733 gives unlimited permission to copy, distribute and modify it."
21735 ac_pwd='$ac_pwd'
21736 srcdir='$srcdir'
21737 INSTALL='$INSTALL'
21738 _ACEOF
21740 cat >>$CONFIG_STATUS <<\_ACEOF
21741 # If no file are specified by the user, then we need to provide default
21742 # value. By we need to know if files were specified by the user.
21743 ac_need_defaults=:
21744 while test $# != 0
21746 case $1 in
21747 --*=*)
21748 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21749 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21750 ac_shift=:
21753 ac_option=$1
21754 ac_optarg=$2
21755 ac_shift=shift
21757 esac
21759 case $ac_option in
21760 # Handling of the options.
21761 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21762 ac_cs_recheck=: ;;
21763 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21764 echo "$ac_cs_version"; exit ;;
21765 --debug | --debu | --deb | --de | --d | -d )
21766 debug=: ;;
21767 --file | --fil | --fi | --f )
21768 $ac_shift
21769 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21770 ac_need_defaults=false;;
21771 --header | --heade | --head | --hea )
21772 $ac_shift
21773 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21774 ac_need_defaults=false;;
21775 --he | --h)
21776 # Conflict between --help and --header
21777 { echo "$as_me: error: ambiguous option: $1
21778 Try \`$0 --help' for more information." >&2
21779 { (exit 1); exit 1; }; };;
21780 --help | --hel | -h )
21781 echo "$ac_cs_usage"; exit ;;
21782 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21783 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21784 ac_cs_silent=: ;;
21786 # This is an error.
21787 -*) { echo "$as_me: error: unrecognized option: $1
21788 Try \`$0 --help' for more information." >&2
21789 { (exit 1); exit 1; }; } ;;
21791 *) ac_config_targets="$ac_config_targets $1"
21792 ac_need_defaults=false ;;
21794 esac
21795 shift
21796 done
21798 ac_configure_extra_args=
21800 if $ac_cs_silent; then
21801 exec 6>/dev/null
21802 ac_configure_extra_args="$ac_configure_extra_args --silent"
21805 _ACEOF
21806 cat >>$CONFIG_STATUS <<_ACEOF
21807 if \$ac_cs_recheck; then
21808 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21809 CONFIG_SHELL=$SHELL
21810 export CONFIG_SHELL
21811 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21814 _ACEOF
21815 cat >>$CONFIG_STATUS <<\_ACEOF
21816 exec 5>>config.log
21818 echo
21819 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21820 ## Running $as_me. ##
21821 _ASBOX
21822 echo "$ac_log"
21823 } >&5
21825 _ACEOF
21826 cat >>$CONFIG_STATUS <<_ACEOF
21827 _ACEOF
21829 cat >>$CONFIG_STATUS <<\_ACEOF
21831 # Handling of arguments.
21832 for ac_config_target in $ac_config_targets
21834 case $ac_config_target in
21835 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21836 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21837 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21838 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21839 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21840 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21841 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21842 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21843 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21844 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21845 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21846 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21847 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21848 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21849 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21850 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21851 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21852 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
21853 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21854 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21855 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21856 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21857 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21858 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21859 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21860 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21861 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21862 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21863 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21864 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21865 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21866 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21867 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21868 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21869 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21870 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21871 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21872 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21873 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21874 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21875 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21876 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21877 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21878 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21879 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21880 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21881 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21882 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21883 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21884 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21885 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21886 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21887 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21888 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21889 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21890 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21891 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21892 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21893 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21894 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21895 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21896 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21897 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21898 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21899 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21900 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21901 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21902 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21903 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21904 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21905 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21906 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21907 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21908 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21909 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21910 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21911 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21912 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21913 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21914 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21915 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21916 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21917 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21918 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21919 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21920 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21921 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21922 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21923 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
21924 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21925 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21926 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21927 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21928 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21929 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21930 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21931 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21932 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
21933 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21934 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21935 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21936 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21937 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21938 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21939 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21940 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21941 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21942 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21943 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21944 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21945 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21946 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21947 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21948 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21949 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21950 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21951 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
21952 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
21953 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21954 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21955 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
21956 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21957 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21958 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21959 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21960 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21961 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21962 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21963 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21964 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21965 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21966 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21967 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21968 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21969 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21970 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21971 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21972 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21973 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21974 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21975 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21976 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21977 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21978 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21979 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21980 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21981 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21982 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21983 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21984 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21985 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21986 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
21987 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21988 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21989 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21990 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21991 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21992 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21993 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
21994 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21995 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21996 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21997 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21998 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21999 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22000 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22001 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22002 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22003 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22004 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22005 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22006 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22007 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22008 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22009 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22010 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22011 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22012 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22013 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22014 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22015 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22016 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22017 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22018 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22019 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22020 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22021 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22022 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22023 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22024 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22025 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22026 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22027 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22028 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22029 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22030 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22031 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22032 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22033 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22034 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22035 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22036 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22037 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22038 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22039 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22040 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22041 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22042 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22043 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22044 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22045 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22046 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22047 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22048 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22049 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22050 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22051 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22052 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22053 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22054 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22055 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22056 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22057 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22058 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22059 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22060 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22061 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22062 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22063 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22064 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22065 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22066 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22067 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22068 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22069 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22070 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22071 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22072 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22073 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22074 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22075 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22076 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22077 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22078 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22079 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22080 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22081 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22082 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22083 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22084 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22085 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22086 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22087 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22088 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22089 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22090 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22091 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22092 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22093 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22094 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22095 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22096 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22097 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22098 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22099 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22100 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22101 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22102 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22103 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22104 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22105 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22106 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22107 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22108 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22109 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22110 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22111 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22112 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22113 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22114 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22115 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22116 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22117 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22118 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22119 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22120 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22121 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22122 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22123 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22124 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22125 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22126 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22127 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22128 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22129 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22130 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22131 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22132 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22133 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22134 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22135 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22136 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22137 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22138 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22139 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22140 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22141 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22142 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22143 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22144 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22145 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22146 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22147 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22148 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22149 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22150 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22151 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22152 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22153 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22154 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22155 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22156 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22157 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22158 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22159 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22160 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22161 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22162 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22163 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22164 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22165 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22166 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22167 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22168 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22169 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22170 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22171 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22172 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22173 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22174 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22175 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22176 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22177 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22178 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22179 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22180 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22181 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22182 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22183 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22184 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22185 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22186 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
22187 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22188 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22189 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22190 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22191 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22192 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22193 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22194 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22195 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22196 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22197 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22198 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22199 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22200 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22201 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22202 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22203 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22204 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22205 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22206 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22207 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22208 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22209 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22210 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22211 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22212 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22213 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22214 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22216 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22217 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22218 { (exit 1); exit 1; }; };;
22219 esac
22220 done
22223 # If the user did not use the arguments to specify the items to instantiate,
22224 # then the envvar interface is used. Set only those that are not.
22225 # We use the long form for the default assignment because of an extremely
22226 # bizarre bug on SunOS 4.1.3.
22227 if $ac_need_defaults; then
22228 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22229 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22230 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22233 # Have a temporary directory for convenience. Make it in the build tree
22234 # simply because there is no reason against having it here, and in addition,
22235 # creating and moving files from /tmp can sometimes cause problems.
22236 # Hook for its removal unless debugging.
22237 # Note that there is a small window in which the directory will not be cleaned:
22238 # after its creation but before its name has been assigned to `$tmp'.
22239 $debug ||
22241 tmp=
22242 trap 'exit_status=$?
22243 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22245 trap '{ (exit 1); exit 1; }' 1 2 13 15
22247 # Create a (secure) tmp directory for tmp files.
22250 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22251 test -n "$tmp" && test -d "$tmp"
22252 } ||
22254 tmp=./conf$$-$RANDOM
22255 (umask 077 && mkdir "$tmp")
22256 } ||
22258 echo "$me: cannot create a temporary directory in ." >&2
22259 { (exit 1); exit 1; }
22263 # Set up the sed scripts for CONFIG_FILES section.
22266 # No need to generate the scripts if there are no CONFIG_FILES.
22267 # This happens for instance when ./config.status config.h
22268 if test -n "$CONFIG_FILES"; then
22270 _ACEOF
22272 # Create sed commands to just substitute file output variables.
22274 # Remaining file output variables are in a fragment that also has non-file
22275 # output varibles.
22279 ac_delim='%!_!# '
22280 for ac_last_try in false false false false false :; do
22281 cat >conf$$subs.sed <<_ACEOF
22282 SHELL!$SHELL$ac_delim
22283 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22284 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22285 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22286 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22287 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22288 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22289 exec_prefix!$exec_prefix$ac_delim
22290 prefix!$prefix$ac_delim
22291 program_transform_name!$program_transform_name$ac_delim
22292 bindir!$bindir$ac_delim
22293 sbindir!$sbindir$ac_delim
22294 libexecdir!$libexecdir$ac_delim
22295 datarootdir!$datarootdir$ac_delim
22296 datadir!$datadir$ac_delim
22297 sysconfdir!$sysconfdir$ac_delim
22298 sharedstatedir!$sharedstatedir$ac_delim
22299 localstatedir!$localstatedir$ac_delim
22300 includedir!$includedir$ac_delim
22301 oldincludedir!$oldincludedir$ac_delim
22302 docdir!$docdir$ac_delim
22303 infodir!$infodir$ac_delim
22304 htmldir!$htmldir$ac_delim
22305 dvidir!$dvidir$ac_delim
22306 pdfdir!$pdfdir$ac_delim
22307 psdir!$psdir$ac_delim
22308 libdir!$libdir$ac_delim
22309 localedir!$localedir$ac_delim
22310 mandir!$mandir$ac_delim
22311 DEFS!$DEFS$ac_delim
22312 ECHO_C!$ECHO_C$ac_delim
22313 ECHO_N!$ECHO_N$ac_delim
22314 ECHO_T!$ECHO_T$ac_delim
22315 LIBS!$LIBS$ac_delim
22316 build_alias!$build_alias$ac_delim
22317 host_alias!$host_alias$ac_delim
22318 target_alias!$target_alias$ac_delim
22319 build!$build$ac_delim
22320 build_cpu!$build_cpu$ac_delim
22321 build_vendor!$build_vendor$ac_delim
22322 build_os!$build_os$ac_delim
22323 host!$host$ac_delim
22324 host_cpu!$host_cpu$ac_delim
22325 host_vendor!$host_vendor$ac_delim
22326 host_os!$host_os$ac_delim
22327 WIN16_FILES!$WIN16_FILES$ac_delim
22328 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22329 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22330 WINETEST!$WINETEST$ac_delim
22331 SET_MAKE!$SET_MAKE$ac_delim
22332 CC!$CC$ac_delim
22333 CFLAGS!$CFLAGS$ac_delim
22334 LDFLAGS!$LDFLAGS$ac_delim
22335 CPPFLAGS!$CPPFLAGS$ac_delim
22336 ac_ct_CC!$ac_ct_CC$ac_delim
22337 EXEEXT!$EXEEXT$ac_delim
22338 OBJEXT!$OBJEXT$ac_delim
22339 CXX!$CXX$ac_delim
22340 CXXFLAGS!$CXXFLAGS$ac_delim
22341 ac_ct_CXX!$ac_ct_CXX$ac_delim
22342 CPPBIN!$CPPBIN$ac_delim
22343 TOOLSDIR!$TOOLSDIR$ac_delim
22344 XMKMF!$XMKMF$ac_delim
22345 CPP!$CPP$ac_delim
22346 X_CFLAGS!$X_CFLAGS$ac_delim
22347 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22348 X_LIBS!$X_LIBS$ac_delim
22349 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22350 FLEX!$FLEX$ac_delim
22351 BISON!$BISON$ac_delim
22352 AS!$AS$ac_delim
22353 ac_ct_AS!$ac_ct_AS$ac_delim
22354 LD!$LD$ac_delim
22355 AR!$AR$ac_delim
22356 RANLIB!$RANLIB$ac_delim
22357 STRIP!$STRIP$ac_delim
22358 WINDRES!$WINDRES$ac_delim
22359 LN_S!$LN_S$ac_delim
22360 LN!$LN$ac_delim
22361 GREP!$GREP$ac_delim
22362 EGREP!$EGREP$ac_delim
22363 LDCONFIG!$LDCONFIG$ac_delim
22364 _ACEOF
22366 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22367 break
22368 elif $ac_last_try; then
22369 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22370 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22371 { (exit 1); exit 1; }; }
22372 else
22373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22375 done
22377 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22378 if test -n "$ac_eof"; then
22379 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22380 ac_eof=`expr $ac_eof + 1`
22383 cat >>$CONFIG_STATUS <<_ACEOF
22384 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22385 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22386 /^[ ]*@MAKE_RULES@[ ]*$/{
22387 r $MAKE_RULES
22390 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22391 r $MAKE_DLL_RULES
22394 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22395 r $MAKE_IMPLIB_RULES
22398 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22399 r $MAKE_TEST_RULES
22402 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22403 r $MAKE_PROG_RULES
22406 _ACEOF
22407 sed '
22408 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22409 s/^/s,@/; s/!/@,|#_!!_#|/
22412 s/'"$ac_delim"'$/,g/; t
22413 s/$/\\/; p
22414 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22415 ' >>$CONFIG_STATUS <conf$$subs.sed
22416 rm -f conf$$subs.sed
22417 cat >>$CONFIG_STATUS <<_ACEOF
22418 CEOF$ac_eof
22419 _ACEOF
22422 ac_delim='%!_!# '
22423 for ac_last_try in false false false false false :; do
22424 cat >conf$$subs.sed <<_ACEOF
22425 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22426 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22427 INSTALL_DATA!$INSTALL_DATA$ac_delim
22428 LINT!$LINT$ac_delim
22429 LINTFLAGS!$LINTFLAGS$ac_delim
22430 FONTFORGE!$FONTFORGE$ac_delim
22431 PKG_CONFIG!$PKG_CONFIG$ac_delim
22432 PRELINK!$PRELINK$ac_delim
22433 LIBPTHREAD!$LIBPTHREAD$ac_delim
22434 XLIB!$XLIB$ac_delim
22435 XFILES!$XFILES$ac_delim
22436 OPENGLFILES!$OPENGLFILES$ac_delim
22437 GLU32FILES!$GLU32FILES$ac_delim
22438 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22439 QUARTZFILES!$QUARTZFILES$ac_delim
22440 DLLEXT!$DLLEXT$ac_delim
22441 DLLFLAGS!$DLLFLAGS$ac_delim
22442 LDSHARED!$LDSHARED$ac_delim
22443 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22444 LIBEXT!$LIBEXT$ac_delim
22445 IMPLIBEXT!$IMPLIBEXT$ac_delim
22446 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22447 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22448 LDD!$LDD$ac_delim
22449 DLLTOOL!$DLLTOOL$ac_delim
22450 DLLWRAP!$DLLWRAP$ac_delim
22451 MINGWAR!$MINGWAR$ac_delim
22452 SECURITYLIB!$SECURITYLIB$ac_delim
22453 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22454 IOKITLIB!$IOKITLIB$ac_delim
22455 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22456 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22457 COREAUDIO!$COREAUDIO$ac_delim
22458 CARBONLIB!$CARBONLIB$ac_delim
22459 CROSSTEST!$CROSSTEST$ac_delim
22460 CROSSCC!$CROSSCC$ac_delim
22461 CROSSWINDRES!$CROSSWINDRES$ac_delim
22462 NASLIBS!$NASLIBS$ac_delim
22463 XML2LIBS!$XML2LIBS$ac_delim
22464 XML2INCL!$XML2INCL$ac_delim
22465 XSLTLIBS!$XSLTLIBS$ac_delim
22466 XSLTINCL!$XSLTINCL$ac_delim
22467 HALINCL!$HALINCL$ac_delim
22468 sane_devel!$sane_devel$ac_delim
22469 SANEINCL!$SANEINCL$ac_delim
22470 gphoto2_devel!$gphoto2_devel$ac_delim
22471 gphoto2port_devel!$gphoto2port_devel$ac_delim
22472 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22473 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22474 RESOLVLIBS!$RESOLVLIBS$ac_delim
22475 LCMSLIBS!$LCMSLIBS$ac_delim
22476 LDAPLIBS!$LDAPLIBS$ac_delim
22477 ft_devel!$ft_devel$ac_delim
22478 FREETYPELIBS!$FREETYPELIBS$ac_delim
22479 FREETYPEINCL!$FREETYPEINCL$ac_delim
22480 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22481 ESDCONFIG!$ESDCONFIG$ac_delim
22482 ESDLIBS!$ESDLIBS$ac_delim
22483 ESDINCL!$ESDINCL$ac_delim
22484 ALSALIBS!$ALSALIBS$ac_delim
22485 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22486 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22487 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22488 BUILTINFLAG!$BUILTINFLAG$ac_delim
22489 LDPATH!$LDPATH$ac_delim
22490 CRTLIBS!$CRTLIBS$ac_delim
22491 SOCKETLIBS!$SOCKETLIBS$ac_delim
22492 MAIN_BINARY!$MAIN_BINARY$ac_delim
22493 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22494 LIBDL!$LIBDL$ac_delim
22495 LIBPOLL!$LIBPOLL$ac_delim
22496 DEPENDENCIES!$DEPENDENCIES$ac_delim
22497 LIBOBJS!$LIBOBJS$ac_delim
22498 LTLIBOBJS!$LTLIBOBJS$ac_delim
22499 _ACEOF
22501 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
22502 break
22503 elif $ac_last_try; then
22504 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22505 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22506 { (exit 1); exit 1; }; }
22507 else
22508 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22510 done
22512 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22513 if test -n "$ac_eof"; then
22514 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22515 ac_eof=`expr $ac_eof + 1`
22518 cat >>$CONFIG_STATUS <<_ACEOF
22519 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22520 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22521 _ACEOF
22522 sed '
22523 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22524 s/^/s,@/; s/!/@,|#_!!_#|/
22527 s/'"$ac_delim"'$/,g/; t
22528 s/$/\\/; p
22529 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22530 ' >>$CONFIG_STATUS <conf$$subs.sed
22531 rm -f conf$$subs.sed
22532 cat >>$CONFIG_STATUS <<_ACEOF
22533 :end
22534 s/|#_!!_#|//g
22535 CEOF$ac_eof
22536 _ACEOF
22539 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22540 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22541 # trailing colons and then remove the whole line if VPATH becomes empty
22542 # (actually we leave an empty line to preserve line numbers).
22543 if test "x$srcdir" = x.; then
22544 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22545 s/:*\$(srcdir):*/:/
22546 s/:*\${srcdir}:*/:/
22547 s/:*@srcdir@:*/:/
22548 s/^\([^=]*=[ ]*\):*/\1/
22549 s/:*$//
22550 s/^[^=]*=[ ]*$//
22554 cat >>$CONFIG_STATUS <<\_ACEOF
22555 fi # test -n "$CONFIG_FILES"
22558 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22560 case $ac_tag in
22561 :[FHLC]) ac_mode=$ac_tag; continue;;
22562 esac
22563 case $ac_mode$ac_tag in
22564 :[FHL]*:*);;
22565 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22566 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22567 { (exit 1); exit 1; }; };;
22568 :[FH]-) ac_tag=-:-;;
22569 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22570 esac
22571 ac_save_IFS=$IFS
22572 IFS=:
22573 set x $ac_tag
22574 IFS=$ac_save_IFS
22575 shift
22576 ac_file=$1
22577 shift
22579 case $ac_mode in
22580 :L) ac_source=$1;;
22581 :[FH])
22582 ac_file_inputs=
22583 for ac_f
22585 case $ac_f in
22586 -) ac_f="$tmp/stdin";;
22587 *) # Look for the file first in the build tree, then in the source tree
22588 # (if the path is not absolute). The absolute path cannot be DOS-style,
22589 # because $ac_f cannot contain `:'.
22590 test -f "$ac_f" ||
22591 case $ac_f in
22592 [\\/$]*) false;;
22593 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22594 esac ||
22595 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22596 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22597 { (exit 1); exit 1; }; };;
22598 esac
22599 ac_file_inputs="$ac_file_inputs $ac_f"
22600 done
22602 # Let's still pretend it is `configure' which instantiates (i.e., don't
22603 # use $as_me), people would be surprised to read:
22604 # /* config.h. Generated by config.status. */
22605 configure_input="Generated from "`IFS=:
22606 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22607 if test x"$ac_file" != x-; then
22608 configure_input="$ac_file. $configure_input"
22609 { echo "$as_me:$LINENO: creating $ac_file" >&5
22610 echo "$as_me: creating $ac_file" >&6;}
22613 case $ac_tag in
22614 *:-:* | *:-) cat >"$tmp/stdin";;
22615 esac
22617 esac
22619 ac_dir=`$as_dirname -- "$ac_file" ||
22620 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22621 X"$ac_file" : 'X\(//\)[^/]' \| \
22622 X"$ac_file" : 'X\(//\)$' \| \
22623 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22624 echo X"$ac_file" |
22625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22626 s//\1/
22629 /^X\(\/\/\)[^/].*/{
22630 s//\1/
22633 /^X\(\/\/\)$/{
22634 s//\1/
22637 /^X\(\/\).*/{
22638 s//\1/
22641 s/.*/./; q'`
22642 { as_dir="$ac_dir"
22643 case $as_dir in #(
22644 -*) as_dir=./$as_dir;;
22645 esac
22646 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22647 as_dirs=
22648 while :; do
22649 case $as_dir in #(
22650 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22651 *) as_qdir=$as_dir;;
22652 esac
22653 as_dirs="'$as_qdir' $as_dirs"
22654 as_dir=`$as_dirname -- "$as_dir" ||
22655 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22656 X"$as_dir" : 'X\(//\)[^/]' \| \
22657 X"$as_dir" : 'X\(//\)$' \| \
22658 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22659 echo X"$as_dir" |
22660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22661 s//\1/
22664 /^X\(\/\/\)[^/].*/{
22665 s//\1/
22668 /^X\(\/\/\)$/{
22669 s//\1/
22672 /^X\(\/\).*/{
22673 s//\1/
22676 s/.*/./; q'`
22677 test -d "$as_dir" && break
22678 done
22679 test -z "$as_dirs" || eval "mkdir $as_dirs"
22680 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22681 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22682 { (exit 1); exit 1; }; }; }
22683 ac_builddir=.
22685 case "$ac_dir" in
22686 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22688 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22689 # A ".." for each directory in $ac_dir_suffix.
22690 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22691 case $ac_top_builddir_sub in
22692 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22693 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22694 esac ;;
22695 esac
22696 ac_abs_top_builddir=$ac_pwd
22697 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22698 # for backward compatibility:
22699 ac_top_builddir=$ac_top_build_prefix
22701 case $srcdir in
22702 .) # We are building in place.
22703 ac_srcdir=.
22704 ac_top_srcdir=$ac_top_builddir_sub
22705 ac_abs_top_srcdir=$ac_pwd ;;
22706 [\\/]* | ?:[\\/]* ) # Absolute name.
22707 ac_srcdir=$srcdir$ac_dir_suffix;
22708 ac_top_srcdir=$srcdir
22709 ac_abs_top_srcdir=$srcdir ;;
22710 *) # Relative name.
22711 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22712 ac_top_srcdir=$ac_top_build_prefix$srcdir
22713 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22714 esac
22715 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22718 case $ac_mode in
22721 # CONFIG_FILE
22724 case $INSTALL in
22725 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22726 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22727 esac
22728 _ACEOF
22730 cat >>$CONFIG_STATUS <<\_ACEOF
22731 # If the template does not know about datarootdir, expand it.
22732 # FIXME: This hack should be removed a few years after 2.60.
22733 ac_datarootdir_hack=; ac_datarootdir_seen=
22735 case `sed -n '/datarootdir/ {
22739 /@datadir@/p
22740 /@docdir@/p
22741 /@infodir@/p
22742 /@localedir@/p
22743 /@mandir@/p
22744 ' $ac_file_inputs` in
22745 *datarootdir*) ac_datarootdir_seen=yes;;
22746 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22747 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22748 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22749 _ACEOF
22750 cat >>$CONFIG_STATUS <<_ACEOF
22751 ac_datarootdir_hack='
22752 s&@datadir@&$datadir&g
22753 s&@docdir@&$docdir&g
22754 s&@infodir@&$infodir&g
22755 s&@localedir@&$localedir&g
22756 s&@mandir@&$mandir&g
22757 s&\\\${datarootdir}&$datarootdir&g' ;;
22758 esac
22759 _ACEOF
22761 # Neutralize VPATH when `$srcdir' = `.'.
22762 # Shell code in configure.ac might set extrasub.
22763 # FIXME: do we really want to maintain this feature?
22764 cat >>$CONFIG_STATUS <<_ACEOF
22765 sed "$ac_vpsub
22766 $extrasub
22767 _ACEOF
22768 cat >>$CONFIG_STATUS <<\_ACEOF
22770 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22771 s&@configure_input@&$configure_input&;t t
22772 s&@top_builddir@&$ac_top_builddir_sub&;t t
22773 s&@srcdir@&$ac_srcdir&;t t
22774 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22775 s&@top_srcdir@&$ac_top_srcdir&;t t
22776 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22777 s&@builddir@&$ac_builddir&;t t
22778 s&@abs_builddir@&$ac_abs_builddir&;t t
22779 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22780 s&@INSTALL@&$ac_INSTALL&;t t
22781 $ac_datarootdir_hack
22782 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22784 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22785 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22786 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22787 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22788 which seems to be undefined. Please make sure it is defined." >&5
22789 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22790 which seems to be undefined. Please make sure it is defined." >&2;}
22792 rm -f "$tmp/stdin"
22793 case $ac_file in
22794 -) cat "$tmp/out"; rm -f "$tmp/out";;
22795 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22796 esac
22800 # CONFIG_HEADER
22802 _ACEOF
22804 # Transform confdefs.h into a sed script `conftest.defines', that
22805 # substitutes the proper values into config.h.in to produce config.h.
22806 rm -f conftest.defines conftest.tail
22807 # First, append a space to every undef/define line, to ease matching.
22808 echo 's/$/ /' >conftest.defines
22809 # Then, protect against being on the right side of a sed subst, or in
22810 # an unquoted here document, in config.status. If some macros were
22811 # called several times there might be several #defines for the same
22812 # symbol, which is useless. But do not sort them, since the last
22813 # AC_DEFINE must be honored.
22814 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22815 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22816 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22817 # PARAMS is the parameter list in the macro definition--in most cases, it's
22818 # just an empty string.
22819 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22820 ac_dB='\\)[ (].*,\\1define\\2'
22821 ac_dC=' '
22822 ac_dD=' ,'
22824 uniq confdefs.h |
22825 sed -n '
22826 t rset
22827 :rset
22828 s/^[ ]*#[ ]*define[ ][ ]*//
22829 t ok
22832 s/[\\&,]/\\&/g
22833 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22834 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22835 ' >>conftest.defines
22837 # Remove the space that was appended to ease matching.
22838 # Then replace #undef with comments. This is necessary, for
22839 # example, in the case of _POSIX_SOURCE, which is predefined and required
22840 # on some systems where configure will not decide to define it.
22841 # (The regexp can be short, since the line contains either #define or #undef.)
22842 echo 's/ $//
22843 s,^[ #]*u.*,/* & */,' >>conftest.defines
22845 # Break up conftest.defines:
22846 ac_max_sed_lines=50
22848 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22849 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22850 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22851 # et cetera.
22852 ac_in='$ac_file_inputs'
22853 ac_out='"$tmp/out1"'
22854 ac_nxt='"$tmp/out2"'
22856 while :
22858 # Write a here document:
22859 cat >>$CONFIG_STATUS <<_ACEOF
22860 # First, check the format of the line:
22861 cat >"\$tmp/defines.sed" <<\\CEOF
22862 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22863 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22865 :def
22866 _ACEOF
22867 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22868 echo 'CEOF
22869 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22870 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22871 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22872 grep . conftest.tail >/dev/null || break
22873 rm -f conftest.defines
22874 mv conftest.tail conftest.defines
22875 done
22876 rm -f conftest.defines conftest.tail
22878 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22879 cat >>$CONFIG_STATUS <<\_ACEOF
22880 if test x"$ac_file" != x-; then
22881 echo "/* $configure_input */" >"$tmp/config.h"
22882 cat "$ac_result" >>"$tmp/config.h"
22883 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22884 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22885 echo "$as_me: $ac_file is unchanged" >&6;}
22886 else
22887 rm -f $ac_file
22888 mv "$tmp/config.h" $ac_file
22890 else
22891 echo "/* $configure_input */"
22892 cat "$ac_result"
22894 rm -f "$tmp/out12"
22897 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22898 echo "$as_me: executing $ac_file commands" >&6;}
22900 esac
22903 case $ac_file$ac_mode in
22904 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22905 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22906 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22907 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22908 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22909 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22910 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22911 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22912 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22913 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22914 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22915 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22916 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22918 esac
22919 done # for ac_tag
22922 { (exit 0); exit 0; }
22923 _ACEOF
22924 chmod +x $CONFIG_STATUS
22925 ac_clean_files=$ac_clean_files_save
22928 # configure is writing to config.log, and then calls config.status.
22929 # config.status does its own redirection, appending to config.log.
22930 # Unfortunately, on DOS this fails, as config.log is still kept open
22931 # by configure, so config.status won't be able to write to it; its
22932 # output is simply discarded. So we exec the FD to /dev/null,
22933 # effectively closing config.log, so it can be properly (re)opened and
22934 # appended to by config.status. When coming back to configure, we
22935 # need to make the FD available again.
22936 if test "$no_create" != yes; then
22937 ac_cs_success=:
22938 ac_config_status_args=
22939 test "$silent" = yes &&
22940 ac_config_status_args="$ac_config_status_args --quiet"
22941 exec 5>/dev/null
22942 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22943 exec 5>>config.log
22944 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22945 # would make configure fail if this is the last instruction.
22946 $ac_cs_success || { (exit 1); exit 1; }
22950 if test "$no_create" = "yes"
22951 then
22952 exit 0
22955 ac_save_IFS="$IFS"
22956 IFS="|"
22957 if test "$verbose" = "yes"; then
22958 for msg in $wine_notices; do
22959 if test -n "$msg"; then
22960 echo >&2
22961 { echo "$as_me:$LINENO: $msg" >&5
22962 echo "$as_me: $msg" >&6;}
22964 done
22966 for msg in $wine_warnings; do
22967 if test -n "$msg"; then
22968 echo >&2
22969 { echo "$as_me:$LINENO: WARNING: $msg" >&5
22970 echo "$as_me: WARNING: $msg" >&2;}
22972 done
22973 IFS="$ac_save_IFS"
22975 echo
22976 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22977 echo