push 2cb3c55a66a85d63efe36907fa6cad8804808438
[wine/hacks.git] / configure
blob6aa83fd323f50e05d3c2f10014bf10c1fa3e8ddd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.52.
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.52'
578 PACKAGE_STRING='Wine 0.9.52'
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.52 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.52:";;
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.52
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.52, 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 { echo "$as_me:$LINENO: checking for -lGL" >&5
10504 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10505 if test "${ac_cv_lib_soname_GL+set}" = set; then
10506 echo $ECHO_N "(cached) $ECHO_C" >&6
10507 else
10508 ac_check_soname_save_LIBS=$LIBS
10509 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
10510 cat >conftest.$ac_ext <<_ACEOF
10511 /* confdefs.h. */
10512 _ACEOF
10513 cat confdefs.h >>conftest.$ac_ext
10514 cat >>conftest.$ac_ext <<_ACEOF
10515 /* end confdefs.h. */
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10520 #ifdef __cplusplus
10521 extern "C"
10522 #endif
10523 char glXCreateContext ();
10525 main ()
10527 return glXCreateContext ();
10529 return 0;
10531 _ACEOF
10532 rm -f conftest.$ac_objext conftest$ac_exeext
10533 if { (ac_try="$ac_link"
10534 case "(($ac_try" in
10535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10536 *) ac_try_echo=$ac_try;;
10537 esac
10538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10539 (eval "$ac_link") 2>conftest.er1
10540 ac_status=$?
10541 grep -v '^ *+' conftest.er1 >conftest.err
10542 rm -f conftest.er1
10543 cat conftest.err >&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } && {
10546 test -z "$ac_c_werror_flag" ||
10547 test ! -s conftest.err
10548 } && test -s conftest$ac_exeext &&
10549 $as_test_x conftest$ac_exeext; then
10550 case "$LIBEXT" in
10551 dll) ;;
10552 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'` ;;
10553 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10554 esac
10555 else
10556 echo "$as_me: failed program was:" >&5
10557 sed 's/^/| /' conftest.$ac_ext >&5
10562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10563 conftest$ac_exeext conftest.$ac_ext
10564 LIBS=$ac_check_soname_save_LIBS
10566 if test "x$ac_cv_lib_soname_GL" = "x"; then
10567 { echo "$as_me:$LINENO: result: not found" >&5
10568 echo "${ECHO_T}not found" >&6; }
10569 if test -f /usr/X11R6/lib/libGL.a
10570 then
10571 wine_warnings="$wine_warnings|/usr/X11R6/lib/libGL.a is present on your system.
10572 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10573 else
10574 wine_warnings="$wine_warnings|No OpenGL library found on this system.
10575 Wine will be built without OpenGL or Direct3D support."
10577 else
10578 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10579 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10581 cat >>confdefs.h <<_ACEOF
10582 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10583 _ACEOF
10585 OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
10586 OPENGLFILES='$(OPENGLFILES)'
10588 cat >>confdefs.h <<\_ACEOF
10589 #define HAVE_OPENGL 1
10590 _ACEOF
10594 else
10595 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10596 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10598 cat >>confdefs.h <<_ACEOF
10599 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10600 _ACEOF
10602 OPENGL_LIBS="-lGL"
10603 OPENGLFILES='$(OPENGLFILES)'
10605 cat >>confdefs.h <<\_ACEOF
10606 #define HAVE_OPENGL 1
10607 _ACEOF
10612 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10613 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10614 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10615 echo $ECHO_N "(cached) $ECHO_C" >&6
10616 else
10617 ac_check_lib_save_LIBS=$LIBS
10618 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10619 cat >conftest.$ac_ext <<_ACEOF
10620 /* confdefs.h. */
10621 _ACEOF
10622 cat confdefs.h >>conftest.$ac_ext
10623 cat >>conftest.$ac_ext <<_ACEOF
10624 /* end confdefs.h. */
10626 /* Override any GCC internal prototype to avoid an error.
10627 Use char because int might match the return type of a GCC
10628 builtin and then its argument prototype would still apply. */
10629 #ifdef __cplusplus
10630 extern "C"
10631 #endif
10632 char gluLookAt ();
10634 main ()
10636 return gluLookAt ();
10638 return 0;
10640 _ACEOF
10641 rm -f conftest.$ac_objext conftest$ac_exeext
10642 if { (ac_try="$ac_link"
10643 case "(($ac_try" in
10644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10645 *) ac_try_echo=$ac_try;;
10646 esac
10647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10648 (eval "$ac_link") 2>conftest.er1
10649 ac_status=$?
10650 grep -v '^ *+' conftest.er1 >conftest.err
10651 rm -f conftest.er1
10652 cat conftest.err >&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } && {
10655 test -z "$ac_c_werror_flag" ||
10656 test ! -s conftest.err
10657 } && test -s conftest$ac_exeext &&
10658 $as_test_x conftest$ac_exeext; then
10659 ac_cv_lib_GLU_gluLookAt=yes
10660 else
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.$ac_ext >&5
10664 ac_cv_lib_GLU_gluLookAt=no
10667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10668 conftest$ac_exeext conftest.$ac_ext
10669 LIBS=$ac_check_lib_save_LIBS
10671 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10672 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10673 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10674 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10675 GLU32FILES='$(GLU32FILES)'
10679 else
10680 wine_warnings="$wine_warnings|Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/).
10681 Wine will be built without OpenGL or Direct3D support."
10683 else
10684 wine_warnings="$wine_warnings|OpenGL development headers not found.
10685 Wine will be built without OpenGL or Direct3D support."
10689 NASLIBS=""
10692 for ac_header in audio/audiolib.h
10694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10696 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10699 echo $ECHO_N "(cached) $ECHO_C" >&6
10701 ac_res=`eval echo '${'$as_ac_Header'}'`
10702 { echo "$as_me:$LINENO: result: $ac_res" >&5
10703 echo "${ECHO_T}$ac_res" >&6; }
10704 else
10705 # Is the header compilable?
10706 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10707 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10708 cat >conftest.$ac_ext <<_ACEOF
10709 /* confdefs.h. */
10710 _ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 $ac_includes_default
10715 #include <$ac_header>
10716 _ACEOF
10717 rm -f conftest.$ac_objext
10718 if { (ac_try="$ac_compile"
10719 case "(($ac_try" in
10720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10721 *) ac_try_echo=$ac_try;;
10722 esac
10723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10724 (eval "$ac_compile") 2>conftest.er1
10725 ac_status=$?
10726 grep -v '^ *+' conftest.er1 >conftest.err
10727 rm -f conftest.er1
10728 cat conftest.err >&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); } && {
10731 test -z "$ac_c_werror_flag" ||
10732 test ! -s conftest.err
10733 } && test -s conftest.$ac_objext; then
10734 ac_header_compiler=yes
10735 else
10736 echo "$as_me: failed program was:" >&5
10737 sed 's/^/| /' conftest.$ac_ext >&5
10739 ac_header_compiler=no
10742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10743 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10744 echo "${ECHO_T}$ac_header_compiler" >&6; }
10746 # Is the header present?
10747 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10749 cat >conftest.$ac_ext <<_ACEOF
10750 /* confdefs.h. */
10751 _ACEOF
10752 cat confdefs.h >>conftest.$ac_ext
10753 cat >>conftest.$ac_ext <<_ACEOF
10754 /* end confdefs.h. */
10755 #include <$ac_header>
10756 _ACEOF
10757 if { (ac_try="$ac_cpp conftest.$ac_ext"
10758 case "(($ac_try" in
10759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10760 *) ac_try_echo=$ac_try;;
10761 esac
10762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10764 ac_status=$?
10765 grep -v '^ *+' conftest.er1 >conftest.err
10766 rm -f conftest.er1
10767 cat conftest.err >&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); } >/dev/null && {
10770 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10771 test ! -s conftest.err
10772 }; then
10773 ac_header_preproc=yes
10774 else
10775 echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.$ac_ext >&5
10778 ac_header_preproc=no
10781 rm -f conftest.err conftest.$ac_ext
10782 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10783 echo "${ECHO_T}$ac_header_preproc" >&6; }
10785 # So? What about this header?
10786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10787 yes:no: )
10788 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10789 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10791 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10792 ac_header_preproc=yes
10794 no:yes:* )
10795 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10796 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10797 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10798 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10799 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10800 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10801 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10802 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10805 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10806 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10807 ( cat <<\_ASBOX
10808 ## ------------------------------------ ##
10809 ## Report this to wine-devel@winehq.org ##
10810 ## ------------------------------------ ##
10811 _ASBOX
10812 ) | sed "s/^/$as_me: WARNING: /" >&2
10814 esac
10815 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10817 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10818 echo $ECHO_N "(cached) $ECHO_C" >&6
10819 else
10820 eval "$as_ac_Header=\$ac_header_preproc"
10822 ac_res=`eval echo '${'$as_ac_Header'}'`
10823 { echo "$as_me:$LINENO: result: $ac_res" >&5
10824 echo "${ECHO_T}$ac_res" >&6; }
10827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10828 cat >>confdefs.h <<_ACEOF
10829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10830 _ACEOF
10832 for ac_header in audio/soundlib.h
10834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10838 echo $ECHO_N "(cached) $ECHO_C" >&6
10839 else
10840 cat >conftest.$ac_ext <<_ACEOF
10841 /* confdefs.h. */
10842 _ACEOF
10843 cat confdefs.h >>conftest.$ac_ext
10844 cat >>conftest.$ac_ext <<_ACEOF
10845 /* end confdefs.h. */
10846 #include <audio/audiolib.h>
10848 #include <$ac_header>
10849 _ACEOF
10850 rm -f conftest.$ac_objext
10851 if { (ac_try="$ac_compile"
10852 case "(($ac_try" in
10853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10854 *) ac_try_echo=$ac_try;;
10855 esac
10856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10857 (eval "$ac_compile") 2>conftest.er1
10858 ac_status=$?
10859 grep -v '^ *+' conftest.er1 >conftest.err
10860 rm -f conftest.er1
10861 cat conftest.err >&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); } && {
10864 test -z "$ac_c_werror_flag" ||
10865 test ! -s conftest.err
10866 } && test -s conftest.$ac_objext; then
10867 eval "$as_ac_Header=yes"
10868 else
10869 echo "$as_me: failed program was:" >&5
10870 sed 's/^/| /' conftest.$ac_ext >&5
10872 eval "$as_ac_Header=no"
10875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10877 ac_res=`eval echo '${'$as_ac_Header'}'`
10878 { echo "$as_me:$LINENO: result: $ac_res" >&5
10879 echo "${ECHO_T}$ac_res" >&6; }
10880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10881 cat >>confdefs.h <<_ACEOF
10882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10883 _ACEOF
10887 done
10889 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10890 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10891 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10893 else
10894 ac_check_lib_save_LIBS=$LIBS
10895 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10896 cat >conftest.$ac_ext <<_ACEOF
10897 /* confdefs.h. */
10898 _ACEOF
10899 cat confdefs.h >>conftest.$ac_ext
10900 cat >>conftest.$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10903 /* Override any GCC internal prototype to avoid an error.
10904 Use char because int might match the return type of a GCC
10905 builtin and then its argument prototype would still apply. */
10906 #ifdef __cplusplus
10907 extern "C"
10908 #endif
10909 char AuCreateFlow ();
10911 main ()
10913 return AuCreateFlow ();
10915 return 0;
10917 _ACEOF
10918 rm -f conftest.$ac_objext conftest$ac_exeext
10919 if { (ac_try="$ac_link"
10920 case "(($ac_try" in
10921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10922 *) ac_try_echo=$ac_try;;
10923 esac
10924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10925 (eval "$ac_link") 2>conftest.er1
10926 ac_status=$?
10927 grep -v '^ *+' conftest.er1 >conftest.err
10928 rm -f conftest.er1
10929 cat conftest.err >&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); } && {
10932 test -z "$ac_c_werror_flag" ||
10933 test ! -s conftest.err
10934 } && test -s conftest$ac_exeext &&
10935 $as_test_x conftest$ac_exeext; then
10936 ac_cv_lib_audio_AuCreateFlow=yes
10937 else
10938 echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.$ac_ext >&5
10941 ac_cv_lib_audio_AuCreateFlow=no
10944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10945 conftest$ac_exeext conftest.$ac_ext
10946 LIBS=$ac_check_lib_save_LIBS
10948 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10949 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10950 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10952 cat >>confdefs.h <<\_ACEOF
10953 #define HAVE_NAS 1
10954 _ACEOF
10956 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10957 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10958 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10959 echo $ECHO_N "(cached) $ECHO_C" >&6
10960 else
10961 ac_check_lib_save_LIBS=$LIBS
10962 LIBS="-lXau $X_LIBS $LIBS"
10963 cat >conftest.$ac_ext <<_ACEOF
10964 /* confdefs.h. */
10965 _ACEOF
10966 cat confdefs.h >>conftest.$ac_ext
10967 cat >>conftest.$ac_ext <<_ACEOF
10968 /* end confdefs.h. */
10970 /* Override any GCC internal prototype to avoid an error.
10971 Use char because int might match the return type of a GCC
10972 builtin and then its argument prototype would still apply. */
10973 #ifdef __cplusplus
10974 extern "C"
10975 #endif
10976 char XauGetBestAuthByAddr ();
10978 main ()
10980 return XauGetBestAuthByAddr ();
10982 return 0;
10984 _ACEOF
10985 rm -f conftest.$ac_objext conftest$ac_exeext
10986 if { (ac_try="$ac_link"
10987 case "(($ac_try" in
10988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10989 *) ac_try_echo=$ac_try;;
10990 esac
10991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10992 (eval "$ac_link") 2>conftest.er1
10993 ac_status=$?
10994 grep -v '^ *+' conftest.er1 >conftest.err
10995 rm -f conftest.er1
10996 cat conftest.err >&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } && {
10999 test -z "$ac_c_werror_flag" ||
11000 test ! -s conftest.err
11001 } && test -s conftest$ac_exeext &&
11002 $as_test_x conftest$ac_exeext; then
11003 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11004 else
11005 echo "$as_me: failed program was:" >&5
11006 sed 's/^/| /' conftest.$ac_ext >&5
11008 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11012 conftest$ac_exeext conftest.$ac_ext
11013 LIBS=$ac_check_lib_save_LIBS
11015 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11016 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11017 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11018 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11019 else
11020 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11028 done
11031 CPPFLAGS="$ac_save_CPPFLAGS"
11032 XFILES='$(XFILES)'
11033 else
11034 XLIB=""
11035 X_CFLAGS=""
11036 X_LIBS=""
11037 wine_warnings="$wine_warnings|X development files not found. Wine will be built
11038 without X support, which probably isn't what you want. You will need to install
11039 development packages of Xlib/Xfree86 at the very least."
11043 XML2LIBS=""
11045 XML2INCL=""
11047 XSLTLIBS=""
11049 XSLTINCL=""
11051 ac_save_CPPFLAGS="$CPPFLAGS"
11052 if test "$PKG_CONFIG" != "false"
11053 then
11054 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11055 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11056 else
11057 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11058 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11060 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11062 for ac_header in libxml/parser.h
11064 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11065 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11066 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11068 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11069 echo $ECHO_N "(cached) $ECHO_C" >&6
11071 ac_res=`eval echo '${'$as_ac_Header'}'`
11072 { echo "$as_me:$LINENO: result: $ac_res" >&5
11073 echo "${ECHO_T}$ac_res" >&6; }
11074 else
11075 # Is the header compilable?
11076 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11077 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11078 cat >conftest.$ac_ext <<_ACEOF
11079 /* confdefs.h. */
11080 _ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084 $ac_includes_default
11085 #include <$ac_header>
11086 _ACEOF
11087 rm -f conftest.$ac_objext
11088 if { (ac_try="$ac_compile"
11089 case "(($ac_try" in
11090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11091 *) ac_try_echo=$ac_try;;
11092 esac
11093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11094 (eval "$ac_compile") 2>conftest.er1
11095 ac_status=$?
11096 grep -v '^ *+' conftest.er1 >conftest.err
11097 rm -f conftest.er1
11098 cat conftest.err >&5
11099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100 (exit $ac_status); } && {
11101 test -z "$ac_c_werror_flag" ||
11102 test ! -s conftest.err
11103 } && test -s conftest.$ac_objext; then
11104 ac_header_compiler=yes
11105 else
11106 echo "$as_me: failed program was:" >&5
11107 sed 's/^/| /' conftest.$ac_ext >&5
11109 ac_header_compiler=no
11112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11113 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11114 echo "${ECHO_T}$ac_header_compiler" >&6; }
11116 # Is the header present?
11117 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11118 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11119 cat >conftest.$ac_ext <<_ACEOF
11120 /* confdefs.h. */
11121 _ACEOF
11122 cat confdefs.h >>conftest.$ac_ext
11123 cat >>conftest.$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11125 #include <$ac_header>
11126 _ACEOF
11127 if { (ac_try="$ac_cpp conftest.$ac_ext"
11128 case "(($ac_try" in
11129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11130 *) ac_try_echo=$ac_try;;
11131 esac
11132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11134 ac_status=$?
11135 grep -v '^ *+' conftest.er1 >conftest.err
11136 rm -f conftest.er1
11137 cat conftest.err >&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } >/dev/null && {
11140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11141 test ! -s conftest.err
11142 }; then
11143 ac_header_preproc=yes
11144 else
11145 echo "$as_me: failed program was:" >&5
11146 sed 's/^/| /' conftest.$ac_ext >&5
11148 ac_header_preproc=no
11151 rm -f conftest.err conftest.$ac_ext
11152 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11153 echo "${ECHO_T}$ac_header_preproc" >&6; }
11155 # So? What about this header?
11156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11157 yes:no: )
11158 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11159 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11160 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11161 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11162 ac_header_preproc=yes
11164 no:yes:* )
11165 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11167 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11169 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11170 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11171 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11172 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11173 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11174 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11175 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11176 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11177 ( cat <<\_ASBOX
11178 ## ------------------------------------ ##
11179 ## Report this to wine-devel@winehq.org ##
11180 ## ------------------------------------ ##
11181 _ASBOX
11182 ) | sed "s/^/$as_me: WARNING: /" >&2
11184 esac
11185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11187 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11188 echo $ECHO_N "(cached) $ECHO_C" >&6
11189 else
11190 eval "$as_ac_Header=\$ac_header_preproc"
11192 ac_res=`eval echo '${'$as_ac_Header'}'`
11193 { echo "$as_me:$LINENO: result: $ac_res" >&5
11194 echo "${ECHO_T}$ac_res" >&6; }
11197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11198 cat >>confdefs.h <<_ACEOF
11199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11200 _ACEOF
11201 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11202 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11203 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11204 echo $ECHO_N "(cached) $ECHO_C" >&6
11205 else
11206 ac_check_lib_save_LIBS=$LIBS
11207 LIBS="-lxml2 $ac_xml_libs $LIBS"
11208 cat >conftest.$ac_ext <<_ACEOF
11209 /* confdefs.h. */
11210 _ACEOF
11211 cat confdefs.h >>conftest.$ac_ext
11212 cat >>conftest.$ac_ext <<_ACEOF
11213 /* end confdefs.h. */
11215 /* Override any GCC internal prototype to avoid an error.
11216 Use char because int might match the return type of a GCC
11217 builtin and then its argument prototype would still apply. */
11218 #ifdef __cplusplus
11219 extern "C"
11220 #endif
11221 char xmlParseMemory ();
11223 main ()
11225 return xmlParseMemory ();
11227 return 0;
11229 _ACEOF
11230 rm -f conftest.$ac_objext conftest$ac_exeext
11231 if { (ac_try="$ac_link"
11232 case "(($ac_try" in
11233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11234 *) ac_try_echo=$ac_try;;
11235 esac
11236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11237 (eval "$ac_link") 2>conftest.er1
11238 ac_status=$?
11239 grep -v '^ *+' conftest.er1 >conftest.err
11240 rm -f conftest.er1
11241 cat conftest.err >&5
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); } && {
11244 test -z "$ac_c_werror_flag" ||
11245 test ! -s conftest.err
11246 } && test -s conftest$ac_exeext &&
11247 $as_test_x conftest$ac_exeext; then
11248 ac_cv_lib_xml2_xmlParseMemory=yes
11249 else
11250 echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.$ac_ext >&5
11253 ac_cv_lib_xml2_xmlParseMemory=no
11256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11257 conftest$ac_exeext conftest.$ac_ext
11258 LIBS=$ac_check_lib_save_LIBS
11260 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11261 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11262 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11264 cat >>confdefs.h <<\_ACEOF
11265 #define HAVE_LIBXML2 1
11266 _ACEOF
11268 XML2LIBS="$ac_xml_libs"
11269 XML2INCL="$ac_xml_cflags"
11272 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11273 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11274 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11276 else
11277 ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-lxml2 $ac_xml_libs $LIBS"
11279 cat >conftest.$ac_ext <<_ACEOF
11280 /* confdefs.h. */
11281 _ACEOF
11282 cat confdefs.h >>conftest.$ac_ext
11283 cat >>conftest.$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11286 /* Override any GCC internal prototype to avoid an error.
11287 Use char because int might match the return type of a GCC
11288 builtin and then its argument prototype would still apply. */
11289 #ifdef __cplusplus
11290 extern "C"
11291 #endif
11292 char xmlReadMemory ();
11294 main ()
11296 return xmlReadMemory ();
11298 return 0;
11300 _ACEOF
11301 rm -f conftest.$ac_objext conftest$ac_exeext
11302 if { (ac_try="$ac_link"
11303 case "(($ac_try" in
11304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11305 *) ac_try_echo=$ac_try;;
11306 esac
11307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11308 (eval "$ac_link") 2>conftest.er1
11309 ac_status=$?
11310 grep -v '^ *+' conftest.er1 >conftest.err
11311 rm -f conftest.er1
11312 cat conftest.err >&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } && {
11315 test -z "$ac_c_werror_flag" ||
11316 test ! -s conftest.err
11317 } && test -s conftest$ac_exeext &&
11318 $as_test_x conftest$ac_exeext; then
11319 ac_cv_lib_xml2_xmlReadMemory=yes
11320 else
11321 echo "$as_me: failed program was:" >&5
11322 sed 's/^/| /' conftest.$ac_ext >&5
11324 ac_cv_lib_xml2_xmlReadMemory=no
11327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11328 conftest$ac_exeext conftest.$ac_ext
11329 LIBS=$ac_check_lib_save_LIBS
11331 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11332 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11333 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11335 cat >>confdefs.h <<\_ACEOF
11336 #define HAVE_XMLREADMEMORY 1
11337 _ACEOF
11341 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11342 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11343 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11345 else
11346 ac_check_lib_save_LIBS=$LIBS
11347 LIBS="-lxml2 $ac_xml_libs $LIBS"
11348 cat >conftest.$ac_ext <<_ACEOF
11349 /* confdefs.h. */
11350 _ACEOF
11351 cat confdefs.h >>conftest.$ac_ext
11352 cat >>conftest.$ac_ext <<_ACEOF
11353 /* end confdefs.h. */
11355 /* Override any GCC internal prototype to avoid an error.
11356 Use char because int might match the return type of a GCC
11357 builtin and then its argument prototype would still apply. */
11358 #ifdef __cplusplus
11359 extern "C"
11360 #endif
11361 char xmlNewDocPI ();
11363 main ()
11365 return xmlNewDocPI ();
11367 return 0;
11369 _ACEOF
11370 rm -f conftest.$ac_objext conftest$ac_exeext
11371 if { (ac_try="$ac_link"
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_link") 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_exeext &&
11387 $as_test_x conftest$ac_exeext; then
11388 ac_cv_lib_xml2_xmlNewDocPI=yes
11389 else
11390 echo "$as_me: failed program was:" >&5
11391 sed 's/^/| /' conftest.$ac_ext >&5
11393 ac_cv_lib_xml2_xmlNewDocPI=no
11396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11397 conftest$ac_exeext conftest.$ac_ext
11398 LIBS=$ac_check_lib_save_LIBS
11400 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11401 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11402 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11404 cat >>confdefs.h <<\_ACEOF
11405 #define HAVE_XMLNEWDOCPI 1
11406 _ACEOF
11413 done
11415 CPPFLAGS="$ac_save_CPPFLAGS"
11416 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11417 wine_notices="$wine_notices|libxml2 development files not found.
11418 Wine will be built without XML support. (msxml.dll)"
11422 if test "$PKG_CONFIG" != "false"
11423 then
11424 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11425 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11426 else
11427 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11428 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11430 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11433 for ac_header in libxslt/pattern.h libxslt/transform.h
11435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11436 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 else
11441 cat >conftest.$ac_ext <<_ACEOF
11442 /* confdefs.h. */
11443 _ACEOF
11444 cat confdefs.h >>conftest.$ac_ext
11445 cat >>conftest.$ac_ext <<_ACEOF
11446 /* end confdefs.h. */
11447 #ifdef HAVE_LIBXSLT_PATTERN_H
11448 # include <libxslt/pattern.h>
11449 #endif
11451 #include <$ac_header>
11452 _ACEOF
11453 rm -f conftest.$ac_objext
11454 if { (ac_try="$ac_compile"
11455 case "(($ac_try" in
11456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11457 *) ac_try_echo=$ac_try;;
11458 esac
11459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11460 (eval "$ac_compile") 2>conftest.er1
11461 ac_status=$?
11462 grep -v '^ *+' conftest.er1 >conftest.err
11463 rm -f conftest.er1
11464 cat conftest.err >&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); } && {
11467 test -z "$ac_c_werror_flag" ||
11468 test ! -s conftest.err
11469 } && test -s conftest.$ac_objext; then
11470 eval "$as_ac_Header=yes"
11471 else
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.$ac_ext >&5
11475 eval "$as_ac_Header=no"
11478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11480 ac_res=`eval echo '${'$as_ac_Header'}'`
11481 { echo "$as_me:$LINENO: result: $ac_res" >&5
11482 echo "${ECHO_T}$ac_res" >&6; }
11483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11484 cat >>confdefs.h <<_ACEOF
11485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11486 _ACEOF
11487 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11488 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11489 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11490 echo $ECHO_N "(cached) $ECHO_C" >&6
11491 else
11492 ac_check_lib_save_LIBS=$LIBS
11493 LIBS="-lxslt $ac_xslt_libs $LIBS"
11494 cat >conftest.$ac_ext <<_ACEOF
11495 /* confdefs.h. */
11496 _ACEOF
11497 cat confdefs.h >>conftest.$ac_ext
11498 cat >>conftest.$ac_ext <<_ACEOF
11499 /* end confdefs.h. */
11501 /* Override any GCC internal prototype to avoid an error.
11502 Use char because int might match the return type of a GCC
11503 builtin and then its argument prototype would still apply. */
11504 #ifdef __cplusplus
11505 extern "C"
11506 #endif
11507 char xsltCompilePattern ();
11509 main ()
11511 return xsltCompilePattern ();
11513 return 0;
11515 _ACEOF
11516 rm -f conftest.$ac_objext conftest$ac_exeext
11517 if { (ac_try="$ac_link"
11518 case "(($ac_try" in
11519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11520 *) ac_try_echo=$ac_try;;
11521 esac
11522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11523 (eval "$ac_link") 2>conftest.er1
11524 ac_status=$?
11525 grep -v '^ *+' conftest.er1 >conftest.err
11526 rm -f conftest.er1
11527 cat conftest.err >&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); } && {
11530 test -z "$ac_c_werror_flag" ||
11531 test ! -s conftest.err
11532 } && test -s conftest$ac_exeext &&
11533 $as_test_x conftest$ac_exeext; then
11534 ac_cv_lib_xslt_xsltCompilePattern=yes
11535 else
11536 echo "$as_me: failed program was:" >&5
11537 sed 's/^/| /' conftest.$ac_ext >&5
11539 ac_cv_lib_xslt_xsltCompilePattern=no
11542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11543 conftest$ac_exeext conftest.$ac_ext
11544 LIBS=$ac_check_lib_save_LIBS
11546 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11547 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11548 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11550 cat >>confdefs.h <<\_ACEOF
11551 #define HAVE_LIBXSLT 1
11552 _ACEOF
11554 XSLTLIBS="$ac_xslt_libs"
11555 XSLTINCL="$ac_xslt_cflags"
11561 done
11563 CPPFLAGS="$ac_save_CPPFLAGS"
11564 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11565 wine_notices="$wine_notices|libxslt development files not found.
11566 Wine will be built without xslt support. (msxml.dll)"
11570 HALINCL=""
11572 if test "$PKG_CONFIG" != "false"
11573 then
11574 ac_save_CPPFLAGS="$CPPFLAGS"
11575 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11576 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11577 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11580 for ac_header in dbus/dbus.h hal/libhal.h
11582 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11583 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11586 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
11589 ac_res=`eval echo '${'$as_ac_Header'}'`
11590 { echo "$as_me:$LINENO: result: $ac_res" >&5
11591 echo "${ECHO_T}$ac_res" >&6; }
11592 else
11593 # Is the header compilable?
11594 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11595 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11596 cat >conftest.$ac_ext <<_ACEOF
11597 /* confdefs.h. */
11598 _ACEOF
11599 cat confdefs.h >>conftest.$ac_ext
11600 cat >>conftest.$ac_ext <<_ACEOF
11601 /* end confdefs.h. */
11602 $ac_includes_default
11603 #include <$ac_header>
11604 _ACEOF
11605 rm -f conftest.$ac_objext
11606 if { (ac_try="$ac_compile"
11607 case "(($ac_try" in
11608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11609 *) ac_try_echo=$ac_try;;
11610 esac
11611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11612 (eval "$ac_compile") 2>conftest.er1
11613 ac_status=$?
11614 grep -v '^ *+' conftest.er1 >conftest.err
11615 rm -f conftest.er1
11616 cat conftest.err >&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } && {
11619 test -z "$ac_c_werror_flag" ||
11620 test ! -s conftest.err
11621 } && test -s conftest.$ac_objext; then
11622 ac_header_compiler=yes
11623 else
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.$ac_ext >&5
11627 ac_header_compiler=no
11630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11631 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11632 echo "${ECHO_T}$ac_header_compiler" >&6; }
11634 # Is the header present?
11635 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11636 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11637 cat >conftest.$ac_ext <<_ACEOF
11638 /* confdefs.h. */
11639 _ACEOF
11640 cat confdefs.h >>conftest.$ac_ext
11641 cat >>conftest.$ac_ext <<_ACEOF
11642 /* end confdefs.h. */
11643 #include <$ac_header>
11644 _ACEOF
11645 if { (ac_try="$ac_cpp conftest.$ac_ext"
11646 case "(($ac_try" in
11647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11648 *) ac_try_echo=$ac_try;;
11649 esac
11650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11652 ac_status=$?
11653 grep -v '^ *+' conftest.er1 >conftest.err
11654 rm -f conftest.er1
11655 cat conftest.err >&5
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657 (exit $ac_status); } >/dev/null && {
11658 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11659 test ! -s conftest.err
11660 }; then
11661 ac_header_preproc=yes
11662 else
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.$ac_ext >&5
11666 ac_header_preproc=no
11669 rm -f conftest.err conftest.$ac_ext
11670 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11671 echo "${ECHO_T}$ac_header_preproc" >&6; }
11673 # So? What about this header?
11674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11675 yes:no: )
11676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11680 ac_header_preproc=yes
11682 no:yes:* )
11683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11695 ( cat <<\_ASBOX
11696 ## ------------------------------------ ##
11697 ## Report this to wine-devel@winehq.org ##
11698 ## ------------------------------------ ##
11699 _ASBOX
11700 ) | sed "s/^/$as_me: WARNING: /" >&2
11702 esac
11703 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11705 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11706 echo $ECHO_N "(cached) $ECHO_C" >&6
11707 else
11708 eval "$as_ac_Header=\$ac_header_preproc"
11710 ac_res=`eval echo '${'$as_ac_Header'}'`
11711 { echo "$as_me:$LINENO: result: $ac_res" >&5
11712 echo "${ECHO_T}$ac_res" >&6; }
11715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11716 cat >>confdefs.h <<_ACEOF
11717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11718 _ACEOF
11722 done
11724 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11725 then
11726 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11727 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11728 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11730 else
11731 ac_check_lib_save_LIBS=$LIBS
11732 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11733 cat >conftest.$ac_ext <<_ACEOF
11734 /* confdefs.h. */
11735 _ACEOF
11736 cat confdefs.h >>conftest.$ac_ext
11737 cat >>conftest.$ac_ext <<_ACEOF
11738 /* end confdefs.h. */
11740 /* Override any GCC internal prototype to avoid an error.
11741 Use char because int might match the return type of a GCC
11742 builtin and then its argument prototype would still apply. */
11743 #ifdef __cplusplus
11744 extern "C"
11745 #endif
11746 char dbus_connection_close ();
11748 main ()
11750 return dbus_connection_close ();
11752 return 0;
11754 _ACEOF
11755 rm -f conftest.$ac_objext conftest$ac_exeext
11756 if { (ac_try="$ac_link"
11757 case "(($ac_try" in
11758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11759 *) ac_try_echo=$ac_try;;
11760 esac
11761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11762 (eval "$ac_link") 2>conftest.er1
11763 ac_status=$?
11764 grep -v '^ *+' conftest.er1 >conftest.err
11765 rm -f conftest.er1
11766 cat conftest.err >&5
11767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); } && {
11769 test -z "$ac_c_werror_flag" ||
11770 test ! -s conftest.err
11771 } && test -s conftest$ac_exeext &&
11772 $as_test_x conftest$ac_exeext; then
11773 ac_cv_lib_dbus_1_dbus_connection_close=yes
11774 else
11775 echo "$as_me: failed program was:" >&5
11776 sed 's/^/| /' conftest.$ac_ext >&5
11778 ac_cv_lib_dbus_1_dbus_connection_close=no
11781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11782 conftest$ac_exeext conftest.$ac_ext
11783 LIBS=$ac_check_lib_save_LIBS
11785 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11786 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11787 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11788 { echo "$as_me:$LINENO: checking for -lhal" >&5
11789 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11790 if test "${ac_cv_lib_soname_hal+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 else
11793 ac_check_soname_save_LIBS=$LIBS
11794 LIBS="-lhal $ac_hal_libs $LIBS"
11795 cat >conftest.$ac_ext <<_ACEOF
11796 /* confdefs.h. */
11797 _ACEOF
11798 cat confdefs.h >>conftest.$ac_ext
11799 cat >>conftest.$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11805 #ifdef __cplusplus
11806 extern "C"
11807 #endif
11808 char libhal_ctx_new ();
11810 main ()
11812 return libhal_ctx_new ();
11814 return 0;
11816 _ACEOF
11817 rm -f conftest.$ac_objext conftest$ac_exeext
11818 if { (ac_try="$ac_link"
11819 case "(($ac_try" in
11820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11821 *) ac_try_echo=$ac_try;;
11822 esac
11823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11824 (eval "$ac_link") 2>conftest.er1
11825 ac_status=$?
11826 grep -v '^ *+' conftest.er1 >conftest.err
11827 rm -f conftest.er1
11828 cat conftest.err >&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); } && {
11831 test -z "$ac_c_werror_flag" ||
11832 test ! -s conftest.err
11833 } && test -s conftest$ac_exeext &&
11834 $as_test_x conftest$ac_exeext; then
11835 case "$LIBEXT" in
11836 dll) ;;
11837 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'` ;;
11838 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11839 esac
11840 else
11841 echo "$as_me: failed program was:" >&5
11842 sed 's/^/| /' conftest.$ac_ext >&5
11847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11848 conftest$ac_exeext conftest.$ac_ext
11849 LIBS=$ac_check_soname_save_LIBS
11851 if test "x$ac_cv_lib_soname_hal" = "x"; then
11852 { echo "$as_me:$LINENO: result: not found" >&5
11853 echo "${ECHO_T}not found" >&6; }
11855 else
11856 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11857 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11859 cat >>confdefs.h <<_ACEOF
11860 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11861 _ACEOF
11863 HALINCL="$ac_hal_cflags"
11869 CPPFLAGS="$ac_save_CPPFLAGS"
11871 if test "x$ac_cv_lib_soname_hal" = "x"; then
11872 wine_notices="$wine_notices|libhal development files not found.
11873 Wine will be built without dynamic device support. (explorer.exe)"
11877 CURSESLIBS=""
11878 if test "$ac_cv_header_ncurses_h" = "yes"
11879 then
11880 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11881 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11882 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11883 echo $ECHO_N "(cached) $ECHO_C" >&6
11884 else
11885 ac_check_soname_save_LIBS=$LIBS
11886 LIBS="-lncurses $LIBS"
11887 cat >conftest.$ac_ext <<_ACEOF
11888 /* confdefs.h. */
11889 _ACEOF
11890 cat confdefs.h >>conftest.$ac_ext
11891 cat >>conftest.$ac_ext <<_ACEOF
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 char waddch ();
11902 main ()
11904 return waddch ();
11906 return 0;
11908 _ACEOF
11909 rm -f conftest.$ac_objext conftest$ac_exeext
11910 if { (ac_try="$ac_link"
11911 case "(($ac_try" in
11912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11913 *) ac_try_echo=$ac_try;;
11914 esac
11915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11916 (eval "$ac_link") 2>conftest.er1
11917 ac_status=$?
11918 grep -v '^ *+' conftest.er1 >conftest.err
11919 rm -f conftest.er1
11920 cat conftest.err >&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); } && {
11923 test -z "$ac_c_werror_flag" ||
11924 test ! -s conftest.err
11925 } && test -s conftest$ac_exeext &&
11926 $as_test_x conftest$ac_exeext; then
11927 case "$LIBEXT" in
11928 dll) ;;
11929 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'` ;;
11930 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11931 esac
11932 else
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.$ac_ext >&5
11939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11940 conftest$ac_exeext conftest.$ac_ext
11941 LIBS=$ac_check_soname_save_LIBS
11943 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11944 { echo "$as_me:$LINENO: result: not found" >&5
11945 echo "${ECHO_T}not found" >&6; }
11947 else
11948 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11949 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11951 cat >>confdefs.h <<_ACEOF
11952 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11953 _ACEOF
11955 CURSESLIBS="-lncurses"
11958 elif test "$ac_cv_header_curses_h" = "yes"
11959 then
11960 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11961 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11962 if test "${ac_cv_lib_soname_curses+set}" = set; then
11963 echo $ECHO_N "(cached) $ECHO_C" >&6
11964 else
11965 ac_check_soname_save_LIBS=$LIBS
11966 LIBS="-lcurses $LIBS"
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. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11977 #ifdef __cplusplus
11978 extern "C"
11979 #endif
11980 char waddch ();
11982 main ()
11984 return waddch ();
11986 return 0;
11988 _ACEOF
11989 rm -f conftest.$ac_objext conftest$ac_exeext
11990 if { (ac_try="$ac_link"
11991 case "(($ac_try" in
11992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11993 *) ac_try_echo=$ac_try;;
11994 esac
11995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11996 (eval "$ac_link") 2>conftest.er1
11997 ac_status=$?
11998 grep -v '^ *+' conftest.er1 >conftest.err
11999 rm -f conftest.er1
12000 cat conftest.err >&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); } && {
12003 test -z "$ac_c_werror_flag" ||
12004 test ! -s conftest.err
12005 } && test -s conftest$ac_exeext &&
12006 $as_test_x conftest$ac_exeext; then
12007 case "$LIBEXT" in
12008 dll) ;;
12009 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'` ;;
12010 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12011 esac
12012 else
12013 echo "$as_me: failed program was:" >&5
12014 sed 's/^/| /' conftest.$ac_ext >&5
12019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12020 conftest$ac_exeext conftest.$ac_ext
12021 LIBS=$ac_check_soname_save_LIBS
12023 if test "x$ac_cv_lib_soname_curses" = "x"; then
12024 { echo "$as_me:$LINENO: result: not found" >&5
12025 echo "${ECHO_T}not found" >&6; }
12027 else
12028 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12029 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12031 cat >>confdefs.h <<_ACEOF
12032 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12033 _ACEOF
12035 CURSESLIBS="-lcurses"
12039 ac_save_LIBS="$LIBS"
12040 LIBS="$LIBS $CURSESLIBS"
12042 for ac_func in mousemask
12044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12045 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12047 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12049 else
12050 cat >conftest.$ac_ext <<_ACEOF
12051 /* confdefs.h. */
12052 _ACEOF
12053 cat confdefs.h >>conftest.$ac_ext
12054 cat >>conftest.$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12058 #define $ac_func innocuous_$ac_func
12060 /* System header to define __stub macros and hopefully few prototypes,
12061 which can conflict with char $ac_func (); below.
12062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12063 <limits.h> exists even on freestanding compilers. */
12065 #ifdef __STDC__
12066 # include <limits.h>
12067 #else
12068 # include <assert.h>
12069 #endif
12071 #undef $ac_func
12073 /* Override any GCC internal prototype to avoid an error.
12074 Use char because int might match the return type of a GCC
12075 builtin and then its argument prototype would still apply. */
12076 #ifdef __cplusplus
12077 extern "C"
12078 #endif
12079 char $ac_func ();
12080 /* The GNU C library defines this for functions which it implements
12081 to always fail with ENOSYS. Some functions are actually named
12082 something starting with __ and the normal name is an alias. */
12083 #if defined __stub_$ac_func || defined __stub___$ac_func
12084 choke me
12085 #endif
12088 main ()
12090 return $ac_func ();
12092 return 0;
12094 _ACEOF
12095 rm -f conftest.$ac_objext conftest$ac_exeext
12096 if { (ac_try="$ac_link"
12097 case "(($ac_try" in
12098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12099 *) ac_try_echo=$ac_try;;
12100 esac
12101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12102 (eval "$ac_link") 2>conftest.er1
12103 ac_status=$?
12104 grep -v '^ *+' conftest.er1 >conftest.err
12105 rm -f conftest.er1
12106 cat conftest.err >&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } && {
12109 test -z "$ac_c_werror_flag" ||
12110 test ! -s conftest.err
12111 } && test -s conftest$ac_exeext &&
12112 $as_test_x conftest$ac_exeext; then
12113 eval "$as_ac_var=yes"
12114 else
12115 echo "$as_me: failed program was:" >&5
12116 sed 's/^/| /' conftest.$ac_ext >&5
12118 eval "$as_ac_var=no"
12121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12122 conftest$ac_exeext conftest.$ac_ext
12124 ac_res=`eval echo '${'$as_ac_var'}'`
12125 { echo "$as_me:$LINENO: result: $ac_res" >&5
12126 echo "${ECHO_T}$ac_res" >&6; }
12127 if test `eval echo '${'$as_ac_var'}'` = yes; then
12128 cat >>confdefs.h <<_ACEOF
12129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12130 _ACEOF
12133 done
12135 LIBS="$ac_save_LIBS"
12136 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12137 wine_notices="$wine_notices|lib(n)curses development files not found.
12138 Wine will be built without (n)curses support. (wineconsole.exe)"
12142 # Extract the first word of "sane-config", so it can be a program name with args.
12143 set dummy sane-config; ac_word=$2
12144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12146 if test "${ac_cv_prog_sane_devel+set}" = set; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12148 else
12149 if test -n "$sane_devel"; then
12150 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12151 else
12152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12153 for as_dir in $PATH
12155 IFS=$as_save_IFS
12156 test -z "$as_dir" && as_dir=.
12157 for ac_exec_ext in '' $ac_executable_extensions; do
12158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12159 ac_cv_prog_sane_devel="sane-config"
12160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12161 break 2
12163 done
12164 done
12165 IFS=$as_save_IFS
12167 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12170 sane_devel=$ac_cv_prog_sane_devel
12171 if test -n "$sane_devel"; then
12172 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12173 echo "${ECHO_T}$sane_devel" >&6; }
12174 else
12175 { echo "$as_me:$LINENO: result: no" >&5
12176 echo "${ECHO_T}no" >&6; }
12180 if test "$sane_devel" != "no"
12181 then
12182 ac_sane_incl="`$sane_devel --cflags`"
12183 ac_save_CPPFLAGS="$CPPFLAGS"
12184 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12185 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12186 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12187 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12188 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12192 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12193 else
12194 # Is the header compilable?
12195 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12196 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12197 cat >conftest.$ac_ext <<_ACEOF
12198 /* confdefs.h. */
12199 _ACEOF
12200 cat confdefs.h >>conftest.$ac_ext
12201 cat >>conftest.$ac_ext <<_ACEOF
12202 /* end confdefs.h. */
12203 $ac_includes_default
12204 #include <sane/sane.h>
12205 _ACEOF
12206 rm -f conftest.$ac_objext
12207 if { (ac_try="$ac_compile"
12208 case "(($ac_try" in
12209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12210 *) ac_try_echo=$ac_try;;
12211 esac
12212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12213 (eval "$ac_compile") 2>conftest.er1
12214 ac_status=$?
12215 grep -v '^ *+' conftest.er1 >conftest.err
12216 rm -f conftest.er1
12217 cat conftest.err >&5
12218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12219 (exit $ac_status); } && {
12220 test -z "$ac_c_werror_flag" ||
12221 test ! -s conftest.err
12222 } && test -s conftest.$ac_objext; then
12223 ac_header_compiler=yes
12224 else
12225 echo "$as_me: failed program was:" >&5
12226 sed 's/^/| /' conftest.$ac_ext >&5
12228 ac_header_compiler=no
12231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12232 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12233 echo "${ECHO_T}$ac_header_compiler" >&6; }
12235 # Is the header present?
12236 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12237 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12238 cat >conftest.$ac_ext <<_ACEOF
12239 /* confdefs.h. */
12240 _ACEOF
12241 cat confdefs.h >>conftest.$ac_ext
12242 cat >>conftest.$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12244 #include <sane/sane.h>
12245 _ACEOF
12246 if { (ac_try="$ac_cpp conftest.$ac_ext"
12247 case "(($ac_try" in
12248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12249 *) ac_try_echo=$ac_try;;
12250 esac
12251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12253 ac_status=$?
12254 grep -v '^ *+' conftest.er1 >conftest.err
12255 rm -f conftest.er1
12256 cat conftest.err >&5
12257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12258 (exit $ac_status); } >/dev/null && {
12259 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12260 test ! -s conftest.err
12261 }; then
12262 ac_header_preproc=yes
12263 else
12264 echo "$as_me: failed program was:" >&5
12265 sed 's/^/| /' conftest.$ac_ext >&5
12267 ac_header_preproc=no
12270 rm -f conftest.err conftest.$ac_ext
12271 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12272 echo "${ECHO_T}$ac_header_preproc" >&6; }
12274 # So? What about this header?
12275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12276 yes:no: )
12277 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12278 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12279 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12280 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12281 ac_header_preproc=yes
12283 no:yes:* )
12284 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12285 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12286 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12287 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12288 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12289 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12290 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12291 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12292 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12293 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12295 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12296 ( cat <<\_ASBOX
12297 ## ------------------------------------ ##
12298 ## Report this to wine-devel@winehq.org ##
12299 ## ------------------------------------ ##
12300 _ASBOX
12301 ) | sed "s/^/$as_me: WARNING: /" >&2
12303 esac
12304 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12305 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12306 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12308 else
12309 ac_cv_header_sane_sane_h=$ac_header_preproc
12311 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12312 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12315 if test $ac_cv_header_sane_sane_h = yes; then
12316 { echo "$as_me:$LINENO: checking for -lsane" >&5
12317 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12318 if test "${ac_cv_lib_soname_sane+set}" = set; then
12319 echo $ECHO_N "(cached) $ECHO_C" >&6
12320 else
12321 ac_check_soname_save_LIBS=$LIBS
12322 LIBS="-lsane $LIBS"
12323 cat >conftest.$ac_ext <<_ACEOF
12324 /* confdefs.h. */
12325 _ACEOF
12326 cat confdefs.h >>conftest.$ac_ext
12327 cat >>conftest.$ac_ext <<_ACEOF
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12333 #ifdef __cplusplus
12334 extern "C"
12335 #endif
12336 char sane_init ();
12338 main ()
12340 return sane_init ();
12342 return 0;
12344 _ACEOF
12345 rm -f conftest.$ac_objext conftest$ac_exeext
12346 if { (ac_try="$ac_link"
12347 case "(($ac_try" in
12348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12349 *) ac_try_echo=$ac_try;;
12350 esac
12351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12352 (eval "$ac_link") 2>conftest.er1
12353 ac_status=$?
12354 grep -v '^ *+' conftest.er1 >conftest.err
12355 rm -f conftest.er1
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } && {
12359 test -z "$ac_c_werror_flag" ||
12360 test ! -s conftest.err
12361 } && test -s conftest$ac_exeext &&
12362 $as_test_x conftest$ac_exeext; then
12363 case "$LIBEXT" in
12364 dll) ;;
12365 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'` ;;
12366 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12367 esac
12368 else
12369 echo "$as_me: failed program was:" >&5
12370 sed 's/^/| /' conftest.$ac_ext >&5
12375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12376 conftest$ac_exeext conftest.$ac_ext
12377 LIBS=$ac_check_soname_save_LIBS
12379 if test "x$ac_cv_lib_soname_sane" = "x"; then
12380 { echo "$as_me:$LINENO: result: not found" >&5
12381 echo "${ECHO_T}not found" >&6; }
12383 else
12384 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12385 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12387 cat >>confdefs.h <<_ACEOF
12388 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12389 _ACEOF
12391 SANEINCL="$ac_sane_incl"
12398 CPPFLAGS="$ac_save_CPPFLAGS"
12400 if test "x$ac_cv_lib_soname_sane" = "x"; then
12401 wine_notices="$wine_notices|libsane development files not found.
12402 Wine will be built without scanner support. (sane.ds/twain_32.dll)"
12406 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12407 set dummy gphoto2-config; ac_word=$2
12408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12410 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12411 echo $ECHO_N "(cached) $ECHO_C" >&6
12412 else
12413 if test -n "$gphoto2_devel"; then
12414 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12415 else
12416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12417 for as_dir in $PATH
12419 IFS=$as_save_IFS
12420 test -z "$as_dir" && as_dir=.
12421 for ac_exec_ext in '' $ac_executable_extensions; do
12422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12423 ac_cv_prog_gphoto2_devel="gphoto2-config"
12424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12425 break 2
12427 done
12428 done
12429 IFS=$as_save_IFS
12431 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12434 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12435 if test -n "$gphoto2_devel"; then
12436 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12437 echo "${ECHO_T}$gphoto2_devel" >&6; }
12438 else
12439 { echo "$as_me:$LINENO: result: no" >&5
12440 echo "${ECHO_T}no" >&6; }
12444 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12445 set dummy gphoto2-port-config; ac_word=$2
12446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12448 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12449 echo $ECHO_N "(cached) $ECHO_C" >&6
12450 else
12451 if test -n "$gphoto2port_devel"; then
12452 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12453 else
12454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12455 for as_dir in $PATH
12457 IFS=$as_save_IFS
12458 test -z "$as_dir" && as_dir=.
12459 for ac_exec_ext in '' $ac_executable_extensions; do
12460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12461 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12463 break 2
12465 done
12466 done
12467 IFS=$as_save_IFS
12469 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12472 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12473 if test -n "$gphoto2port_devel"; then
12474 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12475 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12476 else
12477 { echo "$as_me:$LINENO: result: no" >&5
12478 echo "${ECHO_T}no" >&6; }
12482 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12483 then
12484 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12485 ac_gphoto2_libs=""
12486 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12488 case "$i" in
12489 -L/usr/lib|-L/usr/lib64) ;;
12490 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12491 esac
12492 done
12493 ac_save_CPPFLAGS="$CPPFLAGS"
12494 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12495 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12496 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12497 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12498 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12502 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12503 else
12504 # Is the header compilable?
12505 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12506 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12507 cat >conftest.$ac_ext <<_ACEOF
12508 /* confdefs.h. */
12509 _ACEOF
12510 cat confdefs.h >>conftest.$ac_ext
12511 cat >>conftest.$ac_ext <<_ACEOF
12512 /* end confdefs.h. */
12513 $ac_includes_default
12514 #include <gphoto2-camera.h>
12515 _ACEOF
12516 rm -f conftest.$ac_objext
12517 if { (ac_try="$ac_compile"
12518 case "(($ac_try" in
12519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12520 *) ac_try_echo=$ac_try;;
12521 esac
12522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12523 (eval "$ac_compile") 2>conftest.er1
12524 ac_status=$?
12525 grep -v '^ *+' conftest.er1 >conftest.err
12526 rm -f conftest.er1
12527 cat conftest.err >&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); } && {
12530 test -z "$ac_c_werror_flag" ||
12531 test ! -s conftest.err
12532 } && test -s conftest.$ac_objext; then
12533 ac_header_compiler=yes
12534 else
12535 echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.$ac_ext >&5
12538 ac_header_compiler=no
12541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12542 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12543 echo "${ECHO_T}$ac_header_compiler" >&6; }
12545 # Is the header present?
12546 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12547 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12548 cat >conftest.$ac_ext <<_ACEOF
12549 /* confdefs.h. */
12550 _ACEOF
12551 cat confdefs.h >>conftest.$ac_ext
12552 cat >>conftest.$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12554 #include <gphoto2-camera.h>
12555 _ACEOF
12556 if { (ac_try="$ac_cpp conftest.$ac_ext"
12557 case "(($ac_try" in
12558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12559 *) ac_try_echo=$ac_try;;
12560 esac
12561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12563 ac_status=$?
12564 grep -v '^ *+' conftest.er1 >conftest.err
12565 rm -f conftest.er1
12566 cat conftest.err >&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); } >/dev/null && {
12569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12570 test ! -s conftest.err
12571 }; then
12572 ac_header_preproc=yes
12573 else
12574 echo "$as_me: failed program was:" >&5
12575 sed 's/^/| /' conftest.$ac_ext >&5
12577 ac_header_preproc=no
12580 rm -f conftest.err conftest.$ac_ext
12581 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12582 echo "${ECHO_T}$ac_header_preproc" >&6; }
12584 # So? What about this header?
12585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12586 yes:no: )
12587 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12588 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12589 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12590 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12591 ac_header_preproc=yes
12593 no:yes:* )
12594 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12595 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12596 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12597 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12598 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12599 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12600 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12601 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12602 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12603 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12604 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12605 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12606 ( cat <<\_ASBOX
12607 ## ------------------------------------ ##
12608 ## Report this to wine-devel@winehq.org ##
12609 ## ------------------------------------ ##
12610 _ASBOX
12611 ) | sed "s/^/$as_me: WARNING: /" >&2
12613 esac
12614 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12615 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12616 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12618 else
12619 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12621 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12622 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12625 if test $ac_cv_header_gphoto2_camera_h = yes; then
12626 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12627 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12628 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12629 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 else
12631 ac_check_lib_save_LIBS=$LIBS
12632 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
12633 cat >conftest.$ac_ext <<_ACEOF
12634 /* confdefs.h. */
12635 _ACEOF
12636 cat confdefs.h >>conftest.$ac_ext
12637 cat >>conftest.$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12640 /* Override any GCC internal prototype to avoid an error.
12641 Use char because int might match the return type of a GCC
12642 builtin and then its argument prototype would still apply. */
12643 #ifdef __cplusplus
12644 extern "C"
12645 #endif
12646 char gp_camera_new ();
12648 main ()
12650 return gp_camera_new ();
12652 return 0;
12654 _ACEOF
12655 rm -f conftest.$ac_objext conftest$ac_exeext
12656 if { (ac_try="$ac_link"
12657 case "(($ac_try" in
12658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12659 *) ac_try_echo=$ac_try;;
12660 esac
12661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12662 (eval "$ac_link") 2>conftest.er1
12663 ac_status=$?
12664 grep -v '^ *+' conftest.er1 >conftest.err
12665 rm -f conftest.er1
12666 cat conftest.err >&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } && {
12669 test -z "$ac_c_werror_flag" ||
12670 test ! -s conftest.err
12671 } && test -s conftest$ac_exeext &&
12672 $as_test_x conftest$ac_exeext; then
12673 ac_cv_lib_gphoto2_gp_camera_new=yes
12674 else
12675 echo "$as_me: failed program was:" >&5
12676 sed 's/^/| /' conftest.$ac_ext >&5
12678 ac_cv_lib_gphoto2_gp_camera_new=no
12681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12682 conftest$ac_exeext conftest.$ac_ext
12683 LIBS=$ac_check_lib_save_LIBS
12685 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12686 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12687 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12689 cat >>confdefs.h <<\_ACEOF
12690 #define HAVE_GPHOTO2 1
12691 _ACEOF
12693 GPHOTO2LIBS="$ac_gphoto2_libs"
12695 GPHOTO2INCL="$ac_gphoto2_incl"
12702 CPPFLAGS="$ac_save_CPPFLAGS"
12704 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
12705 wine_notices="$wine_notices|libgphoto2 development files not found.
12706 Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)"
12711 RESOLVLIBS=""
12713 if test "$ac_cv_header_resolv_h" = "yes"
12714 then
12715 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12716 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12717 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12718 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 else
12720 ac_check_lib_save_LIBS=$LIBS
12721 LIBS="-lresolv $LIBS"
12722 cat >conftest.$ac_ext <<_ACEOF
12723 /* confdefs.h. */
12724 _ACEOF
12725 cat confdefs.h >>conftest.$ac_ext
12726 cat >>conftest.$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12729 /* Override any GCC internal prototype to avoid an error.
12730 Use char because int might match the return type of a GCC
12731 builtin and then its argument prototype would still apply. */
12732 #ifdef __cplusplus
12733 extern "C"
12734 #endif
12735 char res_query ();
12737 main ()
12739 return res_query ();
12741 return 0;
12743 _ACEOF
12744 rm -f conftest.$ac_objext conftest$ac_exeext
12745 if { (ac_try="$ac_link"
12746 case "(($ac_try" in
12747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12748 *) ac_try_echo=$ac_try;;
12749 esac
12750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12751 (eval "$ac_link") 2>conftest.er1
12752 ac_status=$?
12753 grep -v '^ *+' conftest.er1 >conftest.err
12754 rm -f conftest.er1
12755 cat conftest.err >&5
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); } && {
12758 test -z "$ac_c_werror_flag" ||
12759 test ! -s conftest.err
12760 } && test -s conftest$ac_exeext &&
12761 $as_test_x conftest$ac_exeext; then
12762 ac_cv_lib_resolv_res_query=yes
12763 else
12764 echo "$as_me: failed program was:" >&5
12765 sed 's/^/| /' conftest.$ac_ext >&5
12767 ac_cv_lib_resolv_res_query=no
12770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12771 conftest$ac_exeext conftest.$ac_ext
12772 LIBS=$ac_check_lib_save_LIBS
12774 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12775 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12776 if test $ac_cv_lib_resolv_res_query = yes; then
12778 cat >>confdefs.h <<\_ACEOF
12779 #define HAVE_RESOLV 1
12780 _ACEOF
12782 RESOLVLIBS="-lresolv"
12787 LCMSLIBS=""
12789 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12790 then
12791 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12792 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12793 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 else
12796 ac_check_lib_save_LIBS=$LIBS
12797 LIBS="-llcms $LIBS"
12798 cat >conftest.$ac_ext <<_ACEOF
12799 /* confdefs.h. */
12800 _ACEOF
12801 cat confdefs.h >>conftest.$ac_ext
12802 cat >>conftest.$ac_ext <<_ACEOF
12803 /* end confdefs.h. */
12805 /* Override any GCC internal prototype to avoid an error.
12806 Use char because int might match the return type of a GCC
12807 builtin and then its argument prototype would still apply. */
12808 #ifdef __cplusplus
12809 extern "C"
12810 #endif
12811 char cmsOpenProfileFromFile ();
12813 main ()
12815 return cmsOpenProfileFromFile ();
12817 return 0;
12819 _ACEOF
12820 rm -f conftest.$ac_objext conftest$ac_exeext
12821 if { (ac_try="$ac_link"
12822 case "(($ac_try" in
12823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12824 *) ac_try_echo=$ac_try;;
12825 esac
12826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12827 (eval "$ac_link") 2>conftest.er1
12828 ac_status=$?
12829 grep -v '^ *+' conftest.er1 >conftest.err
12830 rm -f conftest.er1
12831 cat conftest.err >&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); } && {
12834 test -z "$ac_c_werror_flag" ||
12835 test ! -s conftest.err
12836 } && test -s conftest$ac_exeext &&
12837 $as_test_x conftest$ac_exeext; then
12838 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12839 else
12840 echo "$as_me: failed program was:" >&5
12841 sed 's/^/| /' conftest.$ac_ext >&5
12843 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12847 conftest$ac_exeext conftest.$ac_ext
12848 LIBS=$ac_check_lib_save_LIBS
12850 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12851 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12852 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12854 cat >>confdefs.h <<\_ACEOF
12855 #define HAVE_LCMS 1
12856 _ACEOF
12858 LCMSLIBS="-llcms"
12862 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
12863 wine_notices="$wine_notices|liblcms development files not found.
12864 Wine will be built without Color Management support. (mscms.dll)"
12868 LDAPLIBS=""
12870 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12871 then
12872 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12873 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12874 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12875 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 else
12877 ac_check_lib_save_LIBS=$LIBS
12878 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12879 cat >conftest.$ac_ext <<_ACEOF
12880 /* confdefs.h. */
12881 _ACEOF
12882 cat confdefs.h >>conftest.$ac_ext
12883 cat >>conftest.$ac_ext <<_ACEOF
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12889 #ifdef __cplusplus
12890 extern "C"
12891 #endif
12892 char ldap_initialize ();
12894 main ()
12896 return ldap_initialize ();
12898 return 0;
12900 _ACEOF
12901 rm -f conftest.$ac_objext conftest$ac_exeext
12902 if { (ac_try="$ac_link"
12903 case "(($ac_try" in
12904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12905 *) ac_try_echo=$ac_try;;
12906 esac
12907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12908 (eval "$ac_link") 2>conftest.er1
12909 ac_status=$?
12910 grep -v '^ *+' conftest.er1 >conftest.err
12911 rm -f conftest.er1
12912 cat conftest.err >&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } && {
12915 test -z "$ac_c_werror_flag" ||
12916 test ! -s conftest.err
12917 } && test -s conftest$ac_exeext &&
12918 $as_test_x conftest$ac_exeext; then
12919 ac_cv_lib_ldap_r_ldap_initialize=yes
12920 else
12921 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.$ac_ext >&5
12924 ac_cv_lib_ldap_r_ldap_initialize=no
12927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12928 conftest$ac_exeext conftest.$ac_ext
12929 LIBS=$ac_check_lib_save_LIBS
12931 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12932 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12933 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12934 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12935 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12936 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12938 else
12939 ac_check_lib_save_LIBS=$LIBS
12940 LIBS="-llber $LIBPTHREAD $LIBS"
12941 cat >conftest.$ac_ext <<_ACEOF
12942 /* confdefs.h. */
12943 _ACEOF
12944 cat confdefs.h >>conftest.$ac_ext
12945 cat >>conftest.$ac_ext <<_ACEOF
12946 /* end confdefs.h. */
12948 /* Override any GCC internal prototype to avoid an error.
12949 Use char because int might match the return type of a GCC
12950 builtin and then its argument prototype would still apply. */
12951 #ifdef __cplusplus
12952 extern "C"
12953 #endif
12954 char ber_init ();
12956 main ()
12958 return ber_init ();
12960 return 0;
12962 _ACEOF
12963 rm -f conftest.$ac_objext conftest$ac_exeext
12964 if { (ac_try="$ac_link"
12965 case "(($ac_try" in
12966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12967 *) ac_try_echo=$ac_try;;
12968 esac
12969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12970 (eval "$ac_link") 2>conftest.er1
12971 ac_status=$?
12972 grep -v '^ *+' conftest.er1 >conftest.err
12973 rm -f conftest.er1
12974 cat conftest.err >&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } && {
12977 test -z "$ac_c_werror_flag" ||
12978 test ! -s conftest.err
12979 } && test -s conftest$ac_exeext &&
12980 $as_test_x conftest$ac_exeext; then
12981 ac_cv_lib_lber_ber_init=yes
12982 else
12983 echo "$as_me: failed program was:" >&5
12984 sed 's/^/| /' conftest.$ac_ext >&5
12986 ac_cv_lib_lber_ber_init=no
12989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12990 conftest$ac_exeext conftest.$ac_ext
12991 LIBS=$ac_check_lib_save_LIBS
12993 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12994 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12995 if test $ac_cv_lib_lber_ber_init = yes; then
12997 cat >>confdefs.h <<\_ACEOF
12998 #define HAVE_LDAP 1
12999 _ACEOF
13001 LDAPLIBS="-lldap_r -llber"
13006 ac_wine_check_funcs_save_LIBS="$LIBS"
13007 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13016 for ac_func in \
13017 ldap_count_references \
13018 ldap_first_reference \
13019 ldap_next_reference \
13020 ldap_parse_reference \
13021 ldap_parse_sort_control \
13022 ldap_parse_sortresponse_control \
13023 ldap_parse_vlv_control \
13024 ldap_parse_vlvresponse_control
13026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13030 echo $ECHO_N "(cached) $ECHO_C" >&6
13031 else
13032 cat >conftest.$ac_ext <<_ACEOF
13033 /* confdefs.h. */
13034 _ACEOF
13035 cat confdefs.h >>conftest.$ac_ext
13036 cat >>conftest.$ac_ext <<_ACEOF
13037 /* end confdefs.h. */
13038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13040 #define $ac_func innocuous_$ac_func
13042 /* System header to define __stub macros and hopefully few prototypes,
13043 which can conflict with char $ac_func (); below.
13044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13045 <limits.h> exists even on freestanding compilers. */
13047 #ifdef __STDC__
13048 # include <limits.h>
13049 #else
13050 # include <assert.h>
13051 #endif
13053 #undef $ac_func
13055 /* Override any GCC internal prototype to avoid an error.
13056 Use char because int might match the return type of a GCC
13057 builtin and then its argument prototype would still apply. */
13058 #ifdef __cplusplus
13059 extern "C"
13060 #endif
13061 char $ac_func ();
13062 /* The GNU C library defines this for functions which it implements
13063 to always fail with ENOSYS. Some functions are actually named
13064 something starting with __ and the normal name is an alias. */
13065 #if defined __stub_$ac_func || defined __stub___$ac_func
13066 choke me
13067 #endif
13070 main ()
13072 return $ac_func ();
13074 return 0;
13076 _ACEOF
13077 rm -f conftest.$ac_objext conftest$ac_exeext
13078 if { (ac_try="$ac_link"
13079 case "(($ac_try" in
13080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13081 *) ac_try_echo=$ac_try;;
13082 esac
13083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13084 (eval "$ac_link") 2>conftest.er1
13085 ac_status=$?
13086 grep -v '^ *+' conftest.er1 >conftest.err
13087 rm -f conftest.er1
13088 cat conftest.err >&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); } && {
13091 test -z "$ac_c_werror_flag" ||
13092 test ! -s conftest.err
13093 } && test -s conftest$ac_exeext &&
13094 $as_test_x conftest$ac_exeext; then
13095 eval "$as_ac_var=yes"
13096 else
13097 echo "$as_me: failed program was:" >&5
13098 sed 's/^/| /' conftest.$ac_ext >&5
13100 eval "$as_ac_var=no"
13103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13104 conftest$ac_exeext conftest.$ac_ext
13106 ac_res=`eval echo '${'$as_ac_var'}'`
13107 { echo "$as_me:$LINENO: result: $ac_res" >&5
13108 echo "${ECHO_T}$ac_res" >&6; }
13109 if test `eval echo '${'$as_ac_var'}'` = yes; then
13110 cat >>confdefs.h <<_ACEOF
13111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13112 _ACEOF
13115 done
13117 LIBS="$ac_wine_check_funcs_save_LIBS"
13119 if test "x$LDAPLIBS" = "x"; then
13120 wine_notices="$wine_notices|libldap (OpenLDAP) development files not found.
13121 Wine will be built without LDAP support. (wldap32.dll)"
13125 for ac_prog in freetype-config freetype2-config
13127 # Extract the first word of "$ac_prog", so it can be a program name with args.
13128 set dummy $ac_prog; ac_word=$2
13129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13131 if test "${ac_cv_prog_ft_devel+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13133 else
13134 if test -n "$ft_devel"; then
13135 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13136 else
13137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13138 for as_dir in $PATH
13140 IFS=$as_save_IFS
13141 test -z "$as_dir" && as_dir=.
13142 for ac_exec_ext in '' $ac_executable_extensions; do
13143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13144 ac_cv_prog_ft_devel="$ac_prog"
13145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13146 break 2
13148 done
13149 done
13150 IFS=$as_save_IFS
13154 ft_devel=$ac_cv_prog_ft_devel
13155 if test -n "$ft_devel"; then
13156 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13157 echo "${ECHO_T}$ft_devel" >&6; }
13158 else
13159 { echo "$as_me:$LINENO: result: no" >&5
13160 echo "${ECHO_T}no" >&6; }
13164 test -n "$ft_devel" && break
13165 done
13166 test -n "$ft_devel" || ft_devel="false"
13168 if test "$ft_devel" != "false"
13169 then
13170 ac_freetype_libs=`$ft_devel --libs`
13171 ac_freetype_incl=`$ft_devel --cflags`
13172 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13173 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13174 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13175 echo $ECHO_N "(cached) $ECHO_C" >&6
13176 else
13177 ac_check_soname_save_LIBS=$LIBS
13178 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13179 cat >conftest.$ac_ext <<_ACEOF
13180 /* confdefs.h. */
13181 _ACEOF
13182 cat confdefs.h >>conftest.$ac_ext
13183 cat >>conftest.$ac_ext <<_ACEOF
13184 /* end confdefs.h. */
13186 /* Override any GCC internal prototype to avoid an error.
13187 Use char because int might match the return type of a GCC
13188 builtin and then its argument prototype would still apply. */
13189 #ifdef __cplusplus
13190 extern "C"
13191 #endif
13192 char FT_Init_FreeType ();
13194 main ()
13196 return FT_Init_FreeType ();
13198 return 0;
13200 _ACEOF
13201 rm -f conftest.$ac_objext conftest$ac_exeext
13202 if { (ac_try="$ac_link"
13203 case "(($ac_try" in
13204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13205 *) ac_try_echo=$ac_try;;
13206 esac
13207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13208 (eval "$ac_link") 2>conftest.er1
13209 ac_status=$?
13210 grep -v '^ *+' conftest.er1 >conftest.err
13211 rm -f conftest.er1
13212 cat conftest.err >&5
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); } && {
13215 test -z "$ac_c_werror_flag" ||
13216 test ! -s conftest.err
13217 } && test -s conftest$ac_exeext &&
13218 $as_test_x conftest$ac_exeext; then
13219 case "$LIBEXT" in
13220 dll) ;;
13221 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'` ;;
13222 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13223 esac
13224 else
13225 echo "$as_me: failed program was:" >&5
13226 sed 's/^/| /' conftest.$ac_ext >&5
13231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13232 conftest$ac_exeext conftest.$ac_ext
13233 LIBS=$ac_check_soname_save_LIBS
13235 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13236 { echo "$as_me:$LINENO: result: not found" >&5
13237 echo "${ECHO_T}not found" >&6; }
13238 ft_lib=no
13239 else
13240 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13241 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13243 cat >>confdefs.h <<_ACEOF
13244 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13245 _ACEOF
13247 ft_lib=yes
13250 if test "$ft_lib" = "yes"
13251 then
13252 ac_save_CPPFLAGS="$CPPFLAGS"
13253 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13266 for ac_header in ft2build.h \
13267 freetype/freetype.h \
13268 freetype/ftglyph.h \
13269 freetype/fttypes.h \
13270 freetype/tttables.h \
13271 freetype/ftnames.h \
13272 freetype/ftsnames.h \
13273 freetype/ttnameid.h \
13274 freetype/ftoutln.h \
13275 freetype/ftwinfnt.h \
13276 freetype/ftmodapi.h \
13277 freetype/internal/sfnt.h
13279 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13280 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13282 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13284 else
13285 cat >conftest.$ac_ext <<_ACEOF
13286 /* confdefs.h. */
13287 _ACEOF
13288 cat confdefs.h >>conftest.$ac_ext
13289 cat >>conftest.$ac_ext <<_ACEOF
13290 /* end confdefs.h. */
13291 #if HAVE_FT2BUILD_H
13292 #include <ft2build.h>
13293 #endif
13295 #include <$ac_header>
13296 _ACEOF
13297 rm -f conftest.$ac_objext
13298 if { (ac_try="$ac_compile"
13299 case "(($ac_try" in
13300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13301 *) ac_try_echo=$ac_try;;
13302 esac
13303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13304 (eval "$ac_compile") 2>conftest.er1
13305 ac_status=$?
13306 grep -v '^ *+' conftest.er1 >conftest.err
13307 rm -f conftest.er1
13308 cat conftest.err >&5
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); } && {
13311 test -z "$ac_c_werror_flag" ||
13312 test ! -s conftest.err
13313 } && test -s conftest.$ac_objext; then
13314 eval "$as_ac_Header=yes"
13315 else
13316 echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.$ac_ext >&5
13319 eval "$as_ac_Header=no"
13322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13324 ac_res=`eval echo '${'$as_ac_Header'}'`
13325 { echo "$as_me:$LINENO: result: $ac_res" >&5
13326 echo "${ECHO_T}$ac_res" >&6; }
13327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13328 cat >>confdefs.h <<_ACEOF
13329 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13330 _ACEOF
13334 done
13336 cat >conftest.$ac_ext <<_ACEOF
13337 /* confdefs.h. */
13338 _ACEOF
13339 cat confdefs.h >>conftest.$ac_ext
13340 cat >>conftest.$ac_ext <<_ACEOF
13341 /* end confdefs.h. */
13342 #include <ft2build.h>
13343 #include <freetype/fttrigon.h>
13344 _ACEOF
13345 if { (ac_try="$ac_cpp conftest.$ac_ext"
13346 case "(($ac_try" in
13347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13348 *) ac_try_echo=$ac_try;;
13349 esac
13350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13351 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13352 ac_status=$?
13353 grep -v '^ *+' conftest.er1 >conftest.err
13354 rm -f conftest.er1
13355 cat conftest.err >&5
13356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13357 (exit $ac_status); } >/dev/null && {
13358 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13359 test ! -s conftest.err
13360 }; then
13362 cat >>confdefs.h <<\_ACEOF
13363 #define HAVE_FREETYPE_FTTRIGON_H 1
13364 _ACEOF
13366 wine_cv_fttrigon=yes
13367 else
13368 echo "$as_me: failed program was:" >&5
13369 sed 's/^/| /' conftest.$ac_ext >&5
13371 wine_cv_fttrigon=no
13374 rm -f conftest.err conftest.$ac_ext
13375 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13376 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13377 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13379 else
13380 cat >conftest.$ac_ext <<_ACEOF
13381 /* confdefs.h. */
13382 _ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13386 #include <freetype/ftmodapi.h>
13388 typedef FT_TrueTypeEngineType ac__type_new_;
13390 main ()
13392 if ((ac__type_new_ *) 0)
13393 return 0;
13394 if (sizeof (ac__type_new_))
13395 return 0;
13397 return 0;
13399 _ACEOF
13400 rm -f conftest.$ac_objext
13401 if { (ac_try="$ac_compile"
13402 case "(($ac_try" in
13403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13404 *) ac_try_echo=$ac_try;;
13405 esac
13406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13407 (eval "$ac_compile") 2>conftest.er1
13408 ac_status=$?
13409 grep -v '^ *+' conftest.er1 >conftest.err
13410 rm -f conftest.er1
13411 cat conftest.err >&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } && {
13414 test -z "$ac_c_werror_flag" ||
13415 test ! -s conftest.err
13416 } && test -s conftest.$ac_objext; then
13417 ac_cv_type_FT_TrueTypeEngineType=yes
13418 else
13419 echo "$as_me: failed program was:" >&5
13420 sed 's/^/| /' conftest.$ac_ext >&5
13422 ac_cv_type_FT_TrueTypeEngineType=no
13425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13427 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13428 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13429 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13431 cat >>confdefs.h <<_ACEOF
13432 #define HAVE_FT_TRUETYPEENGINETYPE 1
13433 _ACEOF
13438 ac_save_CFLAGS="$CFLAGS"
13439 CFLAGS="$CFLAGS $ac_freetype_libs"
13441 for ac_func in FT_Load_Sfnt_Table
13443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13444 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13447 echo $ECHO_N "(cached) $ECHO_C" >&6
13448 else
13449 cat >conftest.$ac_ext <<_ACEOF
13450 /* confdefs.h. */
13451 _ACEOF
13452 cat confdefs.h >>conftest.$ac_ext
13453 cat >>conftest.$ac_ext <<_ACEOF
13454 /* end confdefs.h. */
13455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13457 #define $ac_func innocuous_$ac_func
13459 /* System header to define __stub macros and hopefully few prototypes,
13460 which can conflict with char $ac_func (); below.
13461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13462 <limits.h> exists even on freestanding compilers. */
13464 #ifdef __STDC__
13465 # include <limits.h>
13466 #else
13467 # include <assert.h>
13468 #endif
13470 #undef $ac_func
13472 /* Override any GCC internal prototype to avoid an error.
13473 Use char because int might match the return type of a GCC
13474 builtin and then its argument prototype would still apply. */
13475 #ifdef __cplusplus
13476 extern "C"
13477 #endif
13478 char $ac_func ();
13479 /* The GNU C library defines this for functions which it implements
13480 to always fail with ENOSYS. Some functions are actually named
13481 something starting with __ and the normal name is an alias. */
13482 #if defined __stub_$ac_func || defined __stub___$ac_func
13483 choke me
13484 #endif
13487 main ()
13489 return $ac_func ();
13491 return 0;
13493 _ACEOF
13494 rm -f conftest.$ac_objext conftest$ac_exeext
13495 if { (ac_try="$ac_link"
13496 case "(($ac_try" in
13497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13499 esac
13500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_link") 2>conftest.er1
13502 ac_status=$?
13503 grep -v '^ *+' conftest.er1 >conftest.err
13504 rm -f conftest.er1
13505 cat conftest.err >&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } && {
13508 test -z "$ac_c_werror_flag" ||
13509 test ! -s conftest.err
13510 } && test -s conftest$ac_exeext &&
13511 $as_test_x conftest$ac_exeext; then
13512 eval "$as_ac_var=yes"
13513 else
13514 echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.$ac_ext >&5
13517 eval "$as_ac_var=no"
13520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13521 conftest$ac_exeext conftest.$ac_ext
13523 ac_res=`eval echo '${'$as_ac_var'}'`
13524 { echo "$as_me:$LINENO: result: $ac_res" >&5
13525 echo "${ECHO_T}$ac_res" >&6; }
13526 if test `eval echo '${'$as_ac_var'}'` = yes; then
13527 cat >>confdefs.h <<_ACEOF
13528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13529 _ACEOF
13532 done
13534 CFLAGS="$ac_save_CFLAGS"
13535 CPPFLAGS="$ac_save_CPPFLAGS"
13536 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13537 then
13539 cat >>confdefs.h <<\_ACEOF
13540 #define HAVE_FREETYPE 1
13541 _ACEOF
13543 FREETYPELIBS="$ac_freetype_libs"
13545 FREETYPEINCL="$ac_freetype_incl"
13551 if test "$FONTFORGE" = "false"
13552 then
13553 wine_warnings="$wine_warnings|FontForge is missing.
13554 Fonts will not be built. Dialog text may be invisible or unaligned."
13555 elif test "x$FREETYPELIBS" = "x"
13556 then
13557 wine_warnings="$wine_warnings|FreeType development files not found.
13558 Fonts will not be built. Dialog text may be invisible or unaligned."
13559 else
13560 FONTSSUBDIRS="fonts"
13564 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13565 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13566 if test "${ac_cv_c_ppdev+set}" = set; then
13567 echo $ECHO_N "(cached) $ECHO_C" >&6
13568 else
13569 cat >conftest.$ac_ext <<_ACEOF
13570 /* confdefs.h. */
13571 _ACEOF
13572 cat confdefs.h >>conftest.$ac_ext
13573 cat >>conftest.$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 #include <linux/ppdev.h>
13577 main ()
13579 ioctl (1,PPCLAIM,0)
13581 return 0;
13583 _ACEOF
13584 rm -f conftest.$ac_objext
13585 if { (ac_try="$ac_compile"
13586 case "(($ac_try" in
13587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13588 *) ac_try_echo=$ac_try;;
13589 esac
13590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13591 (eval "$ac_compile") 2>conftest.er1
13592 ac_status=$?
13593 grep -v '^ *+' conftest.er1 >conftest.err
13594 rm -f conftest.er1
13595 cat conftest.err >&5
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); } && {
13598 test -z "$ac_c_werror_flag" ||
13599 test ! -s conftest.err
13600 } && test -s conftest.$ac_objext; then
13601 ac_cv_c_ppdev="yes"
13602 else
13603 echo "$as_me: failed program was:" >&5
13604 sed 's/^/| /' conftest.$ac_ext >&5
13606 ac_cv_c_ppdev="no"
13609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13611 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13612 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13613 if test "$ac_cv_c_ppdev" = "yes"
13614 then
13616 cat >>confdefs.h <<\_ACEOF
13617 #define HAVE_PPDEV 1
13618 _ACEOF
13622 { echo "$as_me:$LINENO: checking for va_copy" >&5
13623 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13624 if test "${ac_cv_c_va_copy+set}" = set; then
13625 echo $ECHO_N "(cached) $ECHO_C" >&6
13626 else
13627 cat >conftest.$ac_ext <<_ACEOF
13628 /* confdefs.h. */
13629 _ACEOF
13630 cat confdefs.h >>conftest.$ac_ext
13631 cat >>conftest.$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13633 #include <stdarg.h>
13635 main ()
13637 va_list ap1, ap2; va_copy(ap1,ap2);
13639 return 0;
13641 _ACEOF
13642 rm -f conftest.$ac_objext conftest$ac_exeext
13643 if { (ac_try="$ac_link"
13644 case "(($ac_try" in
13645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13646 *) ac_try_echo=$ac_try;;
13647 esac
13648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13649 (eval "$ac_link") 2>conftest.er1
13650 ac_status=$?
13651 grep -v '^ *+' conftest.er1 >conftest.err
13652 rm -f conftest.er1
13653 cat conftest.err >&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); } && {
13656 test -z "$ac_c_werror_flag" ||
13657 test ! -s conftest.err
13658 } && test -s conftest$ac_exeext &&
13659 $as_test_x conftest$ac_exeext; then
13660 ac_cv_c_va_copy="yes"
13661 else
13662 echo "$as_me: failed program was:" >&5
13663 sed 's/^/| /' conftest.$ac_ext >&5
13665 ac_cv_c_va_copy="no"
13668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13669 conftest$ac_exeext conftest.$ac_ext
13672 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13673 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13674 if test "$ac_cv_c_va_copy" = "yes"
13675 then
13677 cat >>confdefs.h <<\_ACEOF
13678 #define HAVE_VA_COPY 1
13679 _ACEOF
13682 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13683 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13684 if test "${ac_cv_c___va_copy+set}" = set; then
13685 echo $ECHO_N "(cached) $ECHO_C" >&6
13686 else
13687 cat >conftest.$ac_ext <<_ACEOF
13688 /* confdefs.h. */
13689 _ACEOF
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13693 #include <stdarg.h>
13695 main ()
13697 va_list ap1, ap2; __va_copy(ap1,ap2);
13699 return 0;
13701 _ACEOF
13702 rm -f conftest.$ac_objext conftest$ac_exeext
13703 if { (ac_try="$ac_link"
13704 case "(($ac_try" in
13705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13706 *) ac_try_echo=$ac_try;;
13707 esac
13708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13709 (eval "$ac_link") 2>conftest.er1
13710 ac_status=$?
13711 grep -v '^ *+' conftest.er1 >conftest.err
13712 rm -f conftest.er1
13713 cat conftest.err >&5
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); } && {
13716 test -z "$ac_c_werror_flag" ||
13717 test ! -s conftest.err
13718 } && test -s conftest$ac_exeext &&
13719 $as_test_x conftest$ac_exeext; then
13720 ac_cv_c___va_copy="yes"
13721 else
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.$ac_ext >&5
13725 ac_cv_c___va_copy="no"
13728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13729 conftest$ac_exeext conftest.$ac_ext
13732 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13733 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13734 if test "$ac_cv_c___va_copy" = "yes"
13735 then
13737 cat >>confdefs.h <<\_ACEOF
13738 #define HAVE___VA_COPY 1
13739 _ACEOF
13743 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13744 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13745 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13747 else
13748 cat >conftest.$ac_ext <<_ACEOF
13749 /* confdefs.h. */
13750 _ACEOF
13751 cat confdefs.h >>conftest.$ac_ext
13752 cat >>conftest.$ac_ext <<_ACEOF
13753 /* end confdefs.h. */
13754 #include <setjmp.h>
13756 main ()
13758 sigjmp_buf buf;
13759 sigsetjmp( buf, 1 );
13760 siglongjmp( buf, 1 );
13762 return 0;
13764 _ACEOF
13765 rm -f conftest.$ac_objext conftest$ac_exeext
13766 if { (ac_try="$ac_link"
13767 case "(($ac_try" in
13768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13769 *) ac_try_echo=$ac_try;;
13770 esac
13771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13772 (eval "$ac_link") 2>conftest.er1
13773 ac_status=$?
13774 grep -v '^ *+' conftest.er1 >conftest.err
13775 rm -f conftest.er1
13776 cat conftest.err >&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); } && {
13779 test -z "$ac_c_werror_flag" ||
13780 test ! -s conftest.err
13781 } && test -s conftest$ac_exeext &&
13782 $as_test_x conftest$ac_exeext; then
13783 ac_cv_c_sigsetjmp="yes"
13784 else
13785 echo "$as_me: failed program was:" >&5
13786 sed 's/^/| /' conftest.$ac_ext >&5
13788 ac_cv_c_sigsetjmp="no"
13791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13792 conftest$ac_exeext conftest.$ac_ext
13795 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13796 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13797 if test "$ac_cv_c_sigsetjmp" = "yes"
13798 then
13800 cat >>confdefs.h <<\_ACEOF
13801 #define HAVE_SIGSETJMP 1
13802 _ACEOF
13806 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13807 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13808 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13809 echo $ECHO_N "(cached) $ECHO_C" >&6
13810 else
13811 cat >conftest.$ac_ext <<_ACEOF
13812 /* confdefs.h. */
13813 _ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13817 #define _GNU_SOURCE
13818 #include <pthread.h>
13820 typedef pthread_rwlock_t ac__type_new_;
13822 main ()
13824 if ((ac__type_new_ *) 0)
13825 return 0;
13826 if (sizeof (ac__type_new_))
13827 return 0;
13829 return 0;
13831 _ACEOF
13832 rm -f conftest.$ac_objext
13833 if { (ac_try="$ac_compile"
13834 case "(($ac_try" in
13835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13836 *) ac_try_echo=$ac_try;;
13837 esac
13838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13839 (eval "$ac_compile") 2>conftest.er1
13840 ac_status=$?
13841 grep -v '^ *+' conftest.er1 >conftest.err
13842 rm -f conftest.er1
13843 cat conftest.err >&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); } && {
13846 test -z "$ac_c_werror_flag" ||
13847 test ! -s conftest.err
13848 } && test -s conftest.$ac_objext; then
13849 ac_cv_type_pthread_rwlock_t=yes
13850 else
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.$ac_ext >&5
13854 ac_cv_type_pthread_rwlock_t=no
13857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13859 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13860 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13861 if test $ac_cv_type_pthread_rwlock_t = yes; then
13863 cat >>confdefs.h <<_ACEOF
13864 #define HAVE_PTHREAD_RWLOCK_T 1
13865 _ACEOF
13869 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13870 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13871 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13872 echo $ECHO_N "(cached) $ECHO_C" >&6
13873 else
13874 cat >conftest.$ac_ext <<_ACEOF
13875 /* confdefs.h. */
13876 _ACEOF
13877 cat confdefs.h >>conftest.$ac_ext
13878 cat >>conftest.$ac_ext <<_ACEOF
13879 /* end confdefs.h. */
13880 #define _GNU_SOURCE
13881 #include <pthread.h>
13883 typedef pthread_rwlockattr_t ac__type_new_;
13885 main ()
13887 if ((ac__type_new_ *) 0)
13888 return 0;
13889 if (sizeof (ac__type_new_))
13890 return 0;
13892 return 0;
13894 _ACEOF
13895 rm -f conftest.$ac_objext
13896 if { (ac_try="$ac_compile"
13897 case "(($ac_try" in
13898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13899 *) ac_try_echo=$ac_try;;
13900 esac
13901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13902 (eval "$ac_compile") 2>conftest.er1
13903 ac_status=$?
13904 grep -v '^ *+' conftest.er1 >conftest.err
13905 rm -f conftest.er1
13906 cat conftest.err >&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); } && {
13909 test -z "$ac_c_werror_flag" ||
13910 test ! -s conftest.err
13911 } && test -s conftest.$ac_objext; then
13912 ac_cv_type_pthread_rwlockattr_t=yes
13913 else
13914 echo "$as_me: failed program was:" >&5
13915 sed 's/^/| /' conftest.$ac_ext >&5
13917 ac_cv_type_pthread_rwlockattr_t=no
13920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13922 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13923 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13924 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13926 cat >>confdefs.h <<_ACEOF
13927 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13928 _ACEOF
13934 ac_wine_check_funcs_save_LIBS="$LIBS"
13935 LIBS="$LIBS $LIBPTHREAD"
13940 for ac_func in \
13941 pthread_attr_get_np \
13942 pthread_getattr_np \
13943 pthread_get_stackaddr_np \
13944 pthread_get_stacksize_np
13946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13950 echo $ECHO_N "(cached) $ECHO_C" >&6
13951 else
13952 cat >conftest.$ac_ext <<_ACEOF
13953 /* confdefs.h. */
13954 _ACEOF
13955 cat confdefs.h >>conftest.$ac_ext
13956 cat >>conftest.$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13960 #define $ac_func innocuous_$ac_func
13962 /* System header to define __stub macros and hopefully few prototypes,
13963 which can conflict with char $ac_func (); below.
13964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13965 <limits.h> exists even on freestanding compilers. */
13967 #ifdef __STDC__
13968 # include <limits.h>
13969 #else
13970 # include <assert.h>
13971 #endif
13973 #undef $ac_func
13975 /* Override any GCC internal prototype to avoid an error.
13976 Use char because int might match the return type of a GCC
13977 builtin and then its argument prototype would still apply. */
13978 #ifdef __cplusplus
13979 extern "C"
13980 #endif
13981 char $ac_func ();
13982 /* The GNU C library defines this for functions which it implements
13983 to always fail with ENOSYS. Some functions are actually named
13984 something starting with __ and the normal name is an alias. */
13985 #if defined __stub_$ac_func || defined __stub___$ac_func
13986 choke me
13987 #endif
13990 main ()
13992 return $ac_func ();
13994 return 0;
13996 _ACEOF
13997 rm -f conftest.$ac_objext conftest$ac_exeext
13998 if { (ac_try="$ac_link"
13999 case "(($ac_try" in
14000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14001 *) ac_try_echo=$ac_try;;
14002 esac
14003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14004 (eval "$ac_link") 2>conftest.er1
14005 ac_status=$?
14006 grep -v '^ *+' conftest.er1 >conftest.err
14007 rm -f conftest.er1
14008 cat conftest.err >&5
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); } && {
14011 test -z "$ac_c_werror_flag" ||
14012 test ! -s conftest.err
14013 } && test -s conftest$ac_exeext &&
14014 $as_test_x conftest$ac_exeext; then
14015 eval "$as_ac_var=yes"
14016 else
14017 echo "$as_me: failed program was:" >&5
14018 sed 's/^/| /' conftest.$ac_ext >&5
14020 eval "$as_ac_var=no"
14023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14024 conftest$ac_exeext conftest.$ac_ext
14026 ac_res=`eval echo '${'$as_ac_var'}'`
14027 { echo "$as_me:$LINENO: result: $ac_res" >&5
14028 echo "${ECHO_T}$ac_res" >&6; }
14029 if test `eval echo '${'$as_ac_var'}'` = yes; then
14030 cat >>confdefs.h <<_ACEOF
14031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14032 _ACEOF
14035 done
14037 LIBS="$ac_wine_check_funcs_save_LIBS"
14039 # Extract the first word of "esd-config", so it can be a program name with args.
14040 set dummy esd-config; ac_word=$2
14041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14043 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14044 echo $ECHO_N "(cached) $ECHO_C" >&6
14045 else
14046 case $ESDCONFIG in
14047 [\\/]* | ?:[\\/]*)
14048 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14052 for as_dir in $PATH
14054 IFS=$as_save_IFS
14055 test -z "$as_dir" && as_dir=.
14056 for ac_exec_ext in '' $ac_executable_extensions; do
14057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14058 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14060 break 2
14062 done
14063 done
14064 IFS=$as_save_IFS
14067 esac
14069 ESDCONFIG=$ac_cv_path_ESDCONFIG
14070 if test -n "$ESDCONFIG"; then
14071 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14072 echo "${ECHO_T}$ESDCONFIG" >&6; }
14073 else
14074 { echo "$as_me:$LINENO: result: no" >&5
14075 echo "${ECHO_T}no" >&6; }
14079 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
14080 then
14081 ESD_CFLAGS=""
14082 for i in `$ESDCONFIG --cflags`
14084 case "$i" in
14085 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14086 esac
14087 done
14088 ESD_LIBS=`$ESDCONFIG --libs`
14089 save_CFLAGS="$CFLAGS"
14090 CFLAGS="$CFLAGS $ESD_CFLAGS"
14091 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14092 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14093 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 else
14096 ac_check_lib_save_LIBS=$LIBS
14097 LIBS="-lesd $LIBS"
14098 cat >conftest.$ac_ext <<_ACEOF
14099 /* confdefs.h. */
14100 _ACEOF
14101 cat confdefs.h >>conftest.$ac_ext
14102 cat >>conftest.$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14105 /* Override any GCC internal prototype to avoid an error.
14106 Use char because int might match the return type of a GCC
14107 builtin and then its argument prototype would still apply. */
14108 #ifdef __cplusplus
14109 extern "C"
14110 #endif
14111 char esd_open_sound ();
14113 main ()
14115 return esd_open_sound ();
14117 return 0;
14119 _ACEOF
14120 rm -f conftest.$ac_objext conftest$ac_exeext
14121 if { (ac_try="$ac_link"
14122 case "(($ac_try" in
14123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14124 *) ac_try_echo=$ac_try;;
14125 esac
14126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14127 (eval "$ac_link") 2>conftest.er1
14128 ac_status=$?
14129 grep -v '^ *+' conftest.er1 >conftest.err
14130 rm -f conftest.er1
14131 cat conftest.err >&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); } && {
14134 test -z "$ac_c_werror_flag" ||
14135 test ! -s conftest.err
14136 } && test -s conftest$ac_exeext &&
14137 $as_test_x conftest$ac_exeext; then
14138 ac_cv_lib_esd_esd_open_sound=yes
14139 else
14140 echo "$as_me: failed program was:" >&5
14141 sed 's/^/| /' conftest.$ac_ext >&5
14143 ac_cv_lib_esd_esd_open_sound=no
14146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14147 conftest$ac_exeext conftest.$ac_ext
14148 LIBS=$ac_check_lib_save_LIBS
14150 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14151 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14152 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14153 ESDLIBS=$ESD_LIBS
14155 ESDINCL=$ESD_CFLAGS
14158 cat >>confdefs.h <<\_ACEOF
14159 #define HAVE_ESD 1
14160 _ACEOF
14164 CFLAGS="$save_CFLAGS"
14167 ALSALIBS=""
14169 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14170 then
14171 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14172 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14173 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14174 echo $ECHO_N "(cached) $ECHO_C" >&6
14175 else
14176 ac_check_lib_save_LIBS=$LIBS
14177 LIBS="-lasound $LIBS"
14178 cat >conftest.$ac_ext <<_ACEOF
14179 /* confdefs.h. */
14180 _ACEOF
14181 cat confdefs.h >>conftest.$ac_ext
14182 cat >>conftest.$ac_ext <<_ACEOF
14183 /* end confdefs.h. */
14185 /* Override any GCC internal prototype to avoid an error.
14186 Use char because int might match the return type of a GCC
14187 builtin and then its argument prototype would still apply. */
14188 #ifdef __cplusplus
14189 extern "C"
14190 #endif
14191 char snd_pcm_hw_params_get_access ();
14193 main ()
14195 return snd_pcm_hw_params_get_access ();
14197 return 0;
14199 _ACEOF
14200 rm -f conftest.$ac_objext conftest$ac_exeext
14201 if { (ac_try="$ac_link"
14202 case "(($ac_try" in
14203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14204 *) ac_try_echo=$ac_try;;
14205 esac
14206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14207 (eval "$ac_link") 2>conftest.er1
14208 ac_status=$?
14209 grep -v '^ *+' conftest.er1 >conftest.err
14210 rm -f conftest.er1
14211 cat conftest.err >&5
14212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213 (exit $ac_status); } && {
14214 test -z "$ac_c_werror_flag" ||
14215 test ! -s conftest.err
14216 } && test -s conftest$ac_exeext &&
14217 $as_test_x conftest$ac_exeext; then
14218 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14219 else
14220 echo "$as_me: failed program was:" >&5
14221 sed 's/^/| /' conftest.$ac_ext >&5
14223 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14227 conftest$ac_exeext conftest.$ac_ext
14228 LIBS=$ac_check_lib_save_LIBS
14230 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14231 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14232 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14233 cat >conftest.$ac_ext <<_ACEOF
14234 /* confdefs.h. */
14235 _ACEOF
14236 cat confdefs.h >>conftest.$ac_ext
14237 cat >>conftest.$ac_ext <<_ACEOF
14238 /* end confdefs.h. */
14239 #ifdef HAVE_ALSA_ASOUNDLIB_H
14240 #include <alsa/asoundlib.h>
14241 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14242 #include <sys/asoundlib.h>
14243 #endif
14245 main ()
14247 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14249 return 0;
14251 _ACEOF
14252 rm -f conftest.$ac_objext
14253 if { (ac_try="$ac_compile"
14254 case "(($ac_try" in
14255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14256 *) ac_try_echo=$ac_try;;
14257 esac
14258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14259 (eval "$ac_compile") 2>conftest.er1
14260 ac_status=$?
14261 grep -v '^ *+' conftest.er1 >conftest.err
14262 rm -f conftest.er1
14263 cat conftest.err >&5
14264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14265 (exit $ac_status); } && {
14266 test -z "$ac_c_werror_flag" ||
14267 test ! -s conftest.err
14268 } && test -s conftest.$ac_objext; then
14270 cat >>confdefs.h <<\_ACEOF
14271 #define HAVE_ALSA 1
14272 _ACEOF
14274 ALSALIBS="-lasound"
14275 else
14276 echo "$as_me: failed program was:" >&5
14277 sed 's/^/| /' conftest.$ac_ext >&5
14282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14287 AUDIOIOLIBS=""
14289 if test "$ac_cv_header_libaudioio_h" = "yes"
14290 then
14291 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14292 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14293 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 else
14296 ac_check_lib_save_LIBS=$LIBS
14297 LIBS="-laudioio $LIBS"
14298 cat >conftest.$ac_ext <<_ACEOF
14299 /* confdefs.h. */
14300 _ACEOF
14301 cat confdefs.h >>conftest.$ac_ext
14302 cat >>conftest.$ac_ext <<_ACEOF
14303 /* end confdefs.h. */
14305 /* Override any GCC internal prototype to avoid an error.
14306 Use char because int might match the return type of a GCC
14307 builtin and then its argument prototype would still apply. */
14308 #ifdef __cplusplus
14309 extern "C"
14310 #endif
14311 char AudioIOGetVersion ();
14313 main ()
14315 return AudioIOGetVersion ();
14317 return 0;
14319 _ACEOF
14320 rm -f conftest.$ac_objext conftest$ac_exeext
14321 if { (ac_try="$ac_link"
14322 case "(($ac_try" in
14323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14324 *) ac_try_echo=$ac_try;;
14325 esac
14326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14327 (eval "$ac_link") 2>conftest.er1
14328 ac_status=$?
14329 grep -v '^ *+' conftest.er1 >conftest.err
14330 rm -f conftest.er1
14331 cat conftest.err >&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); } && {
14334 test -z "$ac_c_werror_flag" ||
14335 test ! -s conftest.err
14336 } && test -s conftest$ac_exeext &&
14337 $as_test_x conftest$ac_exeext; then
14338 ac_cv_lib_audioio_AudioIOGetVersion=yes
14339 else
14340 echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.$ac_ext >&5
14343 ac_cv_lib_audioio_AudioIOGetVersion=no
14346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14347 conftest$ac_exeext conftest.$ac_ext
14348 LIBS=$ac_check_lib_save_LIBS
14350 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14351 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14352 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14353 AUDIOIOLIBS="-laudioio"
14355 cat >>confdefs.h <<\_ACEOF
14356 #define HAVE_LIBAUDIOIO 1
14357 _ACEOF
14364 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14365 then
14366 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14367 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14368 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14369 echo $ECHO_N "(cached) $ECHO_C" >&6
14370 else
14371 ac_check_soname_save_LIBS=$LIBS
14372 LIBS="-lcapi20 $LIBS"
14373 cat >conftest.$ac_ext <<_ACEOF
14374 /* confdefs.h. */
14375 _ACEOF
14376 cat confdefs.h >>conftest.$ac_ext
14377 cat >>conftest.$ac_ext <<_ACEOF
14378 /* end confdefs.h. */
14380 /* Override any GCC internal prototype to avoid an error.
14381 Use char because int might match the return type of a GCC
14382 builtin and then its argument prototype would still apply. */
14383 #ifdef __cplusplus
14384 extern "C"
14385 #endif
14386 char capi20_register ();
14388 main ()
14390 return capi20_register ();
14392 return 0;
14394 _ACEOF
14395 rm -f conftest.$ac_objext conftest$ac_exeext
14396 if { (ac_try="$ac_link"
14397 case "(($ac_try" in
14398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14399 *) ac_try_echo=$ac_try;;
14400 esac
14401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14402 (eval "$ac_link") 2>conftest.er1
14403 ac_status=$?
14404 grep -v '^ *+' conftest.er1 >conftest.err
14405 rm -f conftest.er1
14406 cat conftest.err >&5
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); } && {
14409 test -z "$ac_c_werror_flag" ||
14410 test ! -s conftest.err
14411 } && test -s conftest$ac_exeext &&
14412 $as_test_x conftest$ac_exeext; then
14413 case "$LIBEXT" in
14414 dll) ;;
14415 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'` ;;
14416 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14417 esac
14418 else
14419 echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.$ac_ext >&5
14425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14426 conftest$ac_exeext conftest.$ac_ext
14427 LIBS=$ac_check_soname_save_LIBS
14429 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14430 { echo "$as_me:$LINENO: result: not found" >&5
14431 echo "${ECHO_T}not found" >&6; }
14433 else
14434 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14435 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14437 cat >>confdefs.h <<_ACEOF
14438 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14439 _ACEOF
14445 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14446 wine_notices="$wine_notices|libcapi20 development files not found.
14447 Wine will be built without ISDN support. (capi2032.dll)"
14451 if test "$ac_cv_header_cups_cups_h" = "yes"
14452 then
14453 { echo "$as_me:$LINENO: checking for -lcups" >&5
14454 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14455 if test "${ac_cv_lib_soname_cups+set}" = set; then
14456 echo $ECHO_N "(cached) $ECHO_C" >&6
14457 else
14458 ac_check_soname_save_LIBS=$LIBS
14459 LIBS="-lcups $LIBS"
14460 cat >conftest.$ac_ext <<_ACEOF
14461 /* confdefs.h. */
14462 _ACEOF
14463 cat confdefs.h >>conftest.$ac_ext
14464 cat >>conftest.$ac_ext <<_ACEOF
14465 /* end confdefs.h. */
14467 /* Override any GCC internal prototype to avoid an error.
14468 Use char because int might match the return type of a GCC
14469 builtin and then its argument prototype would still apply. */
14470 #ifdef __cplusplus
14471 extern "C"
14472 #endif
14473 char cupsGetDefault ();
14475 main ()
14477 return cupsGetDefault ();
14479 return 0;
14481 _ACEOF
14482 rm -f conftest.$ac_objext conftest$ac_exeext
14483 if { (ac_try="$ac_link"
14484 case "(($ac_try" in
14485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14486 *) ac_try_echo=$ac_try;;
14487 esac
14488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14489 (eval "$ac_link") 2>conftest.er1
14490 ac_status=$?
14491 grep -v '^ *+' conftest.er1 >conftest.err
14492 rm -f conftest.er1
14493 cat conftest.err >&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); } && {
14496 test -z "$ac_c_werror_flag" ||
14497 test ! -s conftest.err
14498 } && test -s conftest$ac_exeext &&
14499 $as_test_x conftest$ac_exeext; then
14500 case "$LIBEXT" in
14501 dll) ;;
14502 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'` ;;
14503 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14504 esac
14505 else
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.$ac_ext >&5
14512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14513 conftest$ac_exeext conftest.$ac_ext
14514 LIBS=$ac_check_soname_save_LIBS
14516 if test "x$ac_cv_lib_soname_cups" = "x"; then
14517 { echo "$as_me:$LINENO: result: not found" >&5
14518 echo "${ECHO_T}not found" >&6; }
14520 else
14521 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14522 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14524 cat >>confdefs.h <<_ACEOF
14525 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14526 _ACEOF
14532 if test "x$ac_cv_lib_soname_cups" = "x"; then
14533 wine_notices="$wine_notices|libcups development files not found.
14534 Wine will be built without CUPS support."
14538 if test "$ac_cv_header_jack_jack_h" = "yes"
14539 then
14540 { echo "$as_me:$LINENO: checking for -ljack" >&5
14541 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14542 if test "${ac_cv_lib_soname_jack+set}" = set; then
14543 echo $ECHO_N "(cached) $ECHO_C" >&6
14544 else
14545 ac_check_soname_save_LIBS=$LIBS
14546 LIBS="-ljack $LIBS"
14547 cat >conftest.$ac_ext <<_ACEOF
14548 /* confdefs.h. */
14549 _ACEOF
14550 cat confdefs.h >>conftest.$ac_ext
14551 cat >>conftest.$ac_ext <<_ACEOF
14552 /* end confdefs.h. */
14554 /* Override any GCC internal prototype to avoid an error.
14555 Use char because int might match the return type of a GCC
14556 builtin and then its argument prototype would still apply. */
14557 #ifdef __cplusplus
14558 extern "C"
14559 #endif
14560 char jack_client_new ();
14562 main ()
14564 return jack_client_new ();
14566 return 0;
14568 _ACEOF
14569 rm -f conftest.$ac_objext conftest$ac_exeext
14570 if { (ac_try="$ac_link"
14571 case "(($ac_try" in
14572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14573 *) ac_try_echo=$ac_try;;
14574 esac
14575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14576 (eval "$ac_link") 2>conftest.er1
14577 ac_status=$?
14578 grep -v '^ *+' conftest.er1 >conftest.err
14579 rm -f conftest.er1
14580 cat conftest.err >&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); } && {
14583 test -z "$ac_c_werror_flag" ||
14584 test ! -s conftest.err
14585 } && test -s conftest$ac_exeext &&
14586 $as_test_x conftest$ac_exeext; then
14587 case "$LIBEXT" in
14588 dll) ;;
14589 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'` ;;
14590 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14591 esac
14592 else
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14600 conftest$ac_exeext conftest.$ac_ext
14601 LIBS=$ac_check_soname_save_LIBS
14603 if test "x$ac_cv_lib_soname_jack" = "x"; then
14604 { echo "$as_me:$LINENO: result: not found" >&5
14605 echo "${ECHO_T}not found" >&6; }
14607 else
14608 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14609 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14611 cat >>confdefs.h <<_ACEOF
14612 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14613 _ACEOF
14620 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14621 then
14622 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14623 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14624 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14625 echo $ECHO_N "(cached) $ECHO_C" >&6
14626 else
14627 ac_check_soname_save_LIBS=$LIBS
14628 LIBS="-lfontconfig $LIBS"
14629 cat >conftest.$ac_ext <<_ACEOF
14630 /* confdefs.h. */
14631 _ACEOF
14632 cat confdefs.h >>conftest.$ac_ext
14633 cat >>conftest.$ac_ext <<_ACEOF
14634 /* end confdefs.h. */
14636 /* Override any GCC internal prototype to avoid an error.
14637 Use char because int might match the return type of a GCC
14638 builtin and then its argument prototype would still apply. */
14639 #ifdef __cplusplus
14640 extern "C"
14641 #endif
14642 char FcInit ();
14644 main ()
14646 return FcInit ();
14648 return 0;
14650 _ACEOF
14651 rm -f conftest.$ac_objext conftest$ac_exeext
14652 if { (ac_try="$ac_link"
14653 case "(($ac_try" in
14654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14655 *) ac_try_echo=$ac_try;;
14656 esac
14657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14658 (eval "$ac_link") 2>conftest.er1
14659 ac_status=$?
14660 grep -v '^ *+' conftest.er1 >conftest.err
14661 rm -f conftest.er1
14662 cat conftest.err >&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); } && {
14665 test -z "$ac_c_werror_flag" ||
14666 test ! -s conftest.err
14667 } && test -s conftest$ac_exeext &&
14668 $as_test_x conftest$ac_exeext; then
14669 case "$LIBEXT" in
14670 dll) ;;
14671 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'` ;;
14672 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14673 esac
14674 else
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.$ac_ext >&5
14681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14682 conftest$ac_exeext conftest.$ac_ext
14683 LIBS=$ac_check_soname_save_LIBS
14685 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14686 { echo "$as_me:$LINENO: result: not found" >&5
14687 echo "${ECHO_T}not found" >&6; }
14689 else
14690 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14691 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14693 cat >>confdefs.h <<_ACEOF
14694 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14695 _ACEOF
14700 elif test -n "$X_CFLAGS"
14701 then
14702 ac_save_CPPFLAGS="$CPPFLAGS"
14703 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14704 $as_unset ac_cv_header_fontconfig_fontconfig_h
14706 for ac_header in fontconfig/fontconfig.h
14708 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14710 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14711 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14712 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 ac_res=`eval echo '${'$as_ac_Header'}'`
14716 { echo "$as_me:$LINENO: result: $ac_res" >&5
14717 echo "${ECHO_T}$ac_res" >&6; }
14718 else
14719 # Is the header compilable?
14720 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
14721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14722 cat >conftest.$ac_ext <<_ACEOF
14723 /* confdefs.h. */
14724 _ACEOF
14725 cat confdefs.h >>conftest.$ac_ext
14726 cat >>conftest.$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14728 $ac_includes_default
14729 #include <$ac_header>
14730 _ACEOF
14731 rm -f conftest.$ac_objext
14732 if { (ac_try="$ac_compile"
14733 case "(($ac_try" in
14734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14735 *) ac_try_echo=$ac_try;;
14736 esac
14737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14738 (eval "$ac_compile") 2>conftest.er1
14739 ac_status=$?
14740 grep -v '^ *+' conftest.er1 >conftest.err
14741 rm -f conftest.er1
14742 cat conftest.err >&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } && {
14745 test -z "$ac_c_werror_flag" ||
14746 test ! -s conftest.err
14747 } && test -s conftest.$ac_objext; then
14748 ac_header_compiler=yes
14749 else
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.$ac_ext >&5
14753 ac_header_compiler=no
14756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14757 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14758 echo "${ECHO_T}$ac_header_compiler" >&6; }
14760 # Is the header present?
14761 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
14762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14763 cat >conftest.$ac_ext <<_ACEOF
14764 /* confdefs.h. */
14765 _ACEOF
14766 cat confdefs.h >>conftest.$ac_ext
14767 cat >>conftest.$ac_ext <<_ACEOF
14768 /* end confdefs.h. */
14769 #include <$ac_header>
14770 _ACEOF
14771 if { (ac_try="$ac_cpp conftest.$ac_ext"
14772 case "(($ac_try" in
14773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14774 *) ac_try_echo=$ac_try;;
14775 esac
14776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14778 ac_status=$?
14779 grep -v '^ *+' conftest.er1 >conftest.err
14780 rm -f conftest.er1
14781 cat conftest.err >&5
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); } >/dev/null && {
14784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14785 test ! -s conftest.err
14786 }; then
14787 ac_header_preproc=yes
14788 else
14789 echo "$as_me: failed program was:" >&5
14790 sed 's/^/| /' conftest.$ac_ext >&5
14792 ac_header_preproc=no
14795 rm -f conftest.err conftest.$ac_ext
14796 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14797 echo "${ECHO_T}$ac_header_preproc" >&6; }
14799 # So? What about this header?
14800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14801 yes:no: )
14802 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14803 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14805 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14806 ac_header_preproc=yes
14808 no:yes:* )
14809 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14811 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14812 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14813 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14814 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14815 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14816 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14819 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14821 ( cat <<\_ASBOX
14822 ## ------------------------------------ ##
14823 ## Report this to wine-devel@winehq.org ##
14824 ## ------------------------------------ ##
14825 _ASBOX
14826 ) | sed "s/^/$as_me: WARNING: /" >&2
14828 esac
14829 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14831 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14832 echo $ECHO_N "(cached) $ECHO_C" >&6
14833 else
14834 eval "$as_ac_Header=\$ac_header_preproc"
14836 ac_res=`eval echo '${'$as_ac_Header'}'`
14837 { echo "$as_me:$LINENO: result: $ac_res" >&5
14838 echo "${ECHO_T}$ac_res" >&6; }
14841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14842 cat >>confdefs.h <<_ACEOF
14843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14844 _ACEOF
14848 done
14850 CPPFLAGS="$ac_save_CPPFLAGS"
14851 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14852 then
14853 FONTCONFIGINCL="$X_CFLAGS"
14855 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14856 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14857 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 else
14860 ac_check_soname_save_LIBS=$LIBS
14861 LIBS="-lfontconfig $X_LIBS $LIBS"
14862 cat >conftest.$ac_ext <<_ACEOF
14863 /* confdefs.h. */
14864 _ACEOF
14865 cat confdefs.h >>conftest.$ac_ext
14866 cat >>conftest.$ac_ext <<_ACEOF
14867 /* end confdefs.h. */
14869 /* Override any GCC internal prototype to avoid an error.
14870 Use char because int might match the return type of a GCC
14871 builtin and then its argument prototype would still apply. */
14872 #ifdef __cplusplus
14873 extern "C"
14874 #endif
14875 char FcInit ();
14877 main ()
14879 return FcInit ();
14881 return 0;
14883 _ACEOF
14884 rm -f conftest.$ac_objext conftest$ac_exeext
14885 if { (ac_try="$ac_link"
14886 case "(($ac_try" in
14887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14888 *) ac_try_echo=$ac_try;;
14889 esac
14890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14891 (eval "$ac_link") 2>conftest.er1
14892 ac_status=$?
14893 grep -v '^ *+' conftest.er1 >conftest.err
14894 rm -f conftest.er1
14895 cat conftest.err >&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } && {
14898 test -z "$ac_c_werror_flag" ||
14899 test ! -s conftest.err
14900 } && test -s conftest$ac_exeext &&
14901 $as_test_x conftest$ac_exeext; then
14902 case "$LIBEXT" in
14903 dll) ;;
14904 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'` ;;
14905 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14906 esac
14907 else
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14915 conftest$ac_exeext conftest.$ac_ext
14916 LIBS=$ac_check_soname_save_LIBS
14918 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14919 { echo "$as_me:$LINENO: result: not found" >&5
14920 echo "${ECHO_T}not found" >&6; }
14922 else
14923 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14924 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14926 cat >>confdefs.h <<_ACEOF
14927 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14928 _ACEOF
14935 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14936 wine_notices="$wine_notices|fontconfig development files not found.
14937 Wine will be built without fontconfig support."
14941 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14942 then
14943 { echo "$as_me:$LINENO: checking for -lssl" >&5
14944 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14945 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14948 ac_check_soname_save_LIBS=$LIBS
14949 LIBS="-lssl $LIBS"
14950 cat >conftest.$ac_ext <<_ACEOF
14951 /* confdefs.h. */
14952 _ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14957 /* Override any GCC internal prototype to avoid an error.
14958 Use char because int might match the return type of a GCC
14959 builtin and then its argument prototype would still apply. */
14960 #ifdef __cplusplus
14961 extern "C"
14962 #endif
14963 char SSL_library_init ();
14965 main ()
14967 return SSL_library_init ();
14969 return 0;
14971 _ACEOF
14972 rm -f conftest.$ac_objext conftest$ac_exeext
14973 if { (ac_try="$ac_link"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14977 esac
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_link") 2>conftest.er1
14980 ac_status=$?
14981 grep -v '^ *+' conftest.er1 >conftest.err
14982 rm -f conftest.er1
14983 cat conftest.err >&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest$ac_exeext &&
14989 $as_test_x conftest$ac_exeext; then
14990 case "$LIBEXT" in
14991 dll) ;;
14992 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'` ;;
14993 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14994 esac
14995 else
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.$ac_ext >&5
15002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15003 conftest$ac_exeext conftest.$ac_ext
15004 LIBS=$ac_check_soname_save_LIBS
15006 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15007 { echo "$as_me:$LINENO: result: not found" >&5
15008 echo "${ECHO_T}not found" >&6; }
15010 else
15011 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15012 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15014 cat >>confdefs.h <<_ACEOF
15015 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15016 _ACEOF
15021 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15022 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15023 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15024 echo $ECHO_N "(cached) $ECHO_C" >&6
15025 else
15026 ac_check_soname_save_LIBS=$LIBS
15027 LIBS="-lcrypto $LIBS"
15028 cat >conftest.$ac_ext <<_ACEOF
15029 /* confdefs.h. */
15030 _ACEOF
15031 cat confdefs.h >>conftest.$ac_ext
15032 cat >>conftest.$ac_ext <<_ACEOF
15033 /* end confdefs.h. */
15035 /* Override any GCC internal prototype to avoid an error.
15036 Use char because int might match the return type of a GCC
15037 builtin and then its argument prototype would still apply. */
15038 #ifdef __cplusplus
15039 extern "C"
15040 #endif
15041 char BIO_new_socket ();
15043 main ()
15045 return BIO_new_socket ();
15047 return 0;
15049 _ACEOF
15050 rm -f conftest.$ac_objext conftest$ac_exeext
15051 if { (ac_try="$ac_link"
15052 case "(($ac_try" in
15053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15054 *) ac_try_echo=$ac_try;;
15055 esac
15056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15057 (eval "$ac_link") 2>conftest.er1
15058 ac_status=$?
15059 grep -v '^ *+' conftest.er1 >conftest.err
15060 rm -f conftest.er1
15061 cat conftest.err >&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } && {
15064 test -z "$ac_c_werror_flag" ||
15065 test ! -s conftest.err
15066 } && test -s conftest$ac_exeext &&
15067 $as_test_x conftest$ac_exeext; then
15068 case "$LIBEXT" in
15069 dll) ;;
15070 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'` ;;
15071 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15072 esac
15073 else
15074 echo "$as_me: failed program was:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15081 conftest$ac_exeext conftest.$ac_ext
15082 LIBS=$ac_check_soname_save_LIBS
15084 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15085 { echo "$as_me:$LINENO: result: not found" >&5
15086 echo "${ECHO_T}not found" >&6; }
15088 else
15089 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15090 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15092 cat >>confdefs.h <<_ACEOF
15093 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15094 _ACEOF
15100 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15101 wine_notices="$wine_notices|OpenSSL development files not found.
15102 Wine will be built without SSL support. (wininet.dll)"
15106 if test "$ac_cv_header_jpeglib_h" = "yes"
15107 then
15108 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15109 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15110 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 else
15113 ac_check_soname_save_LIBS=$LIBS
15114 LIBS="-ljpeg $LIBS"
15115 cat >conftest.$ac_ext <<_ACEOF
15116 /* confdefs.h. */
15117 _ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15122 /* Override any GCC internal prototype to avoid an error.
15123 Use char because int might match the return type of a GCC
15124 builtin and then its argument prototype would still apply. */
15125 #ifdef __cplusplus
15126 extern "C"
15127 #endif
15128 char jpeg_start_decompress ();
15130 main ()
15132 return jpeg_start_decompress ();
15134 return 0;
15136 _ACEOF
15137 rm -f conftest.$ac_objext conftest$ac_exeext
15138 if { (ac_try="$ac_link"
15139 case "(($ac_try" in
15140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15141 *) ac_try_echo=$ac_try;;
15142 esac
15143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15144 (eval "$ac_link") 2>conftest.er1
15145 ac_status=$?
15146 grep -v '^ *+' conftest.er1 >conftest.err
15147 rm -f conftest.er1
15148 cat conftest.err >&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); } && {
15151 test -z "$ac_c_werror_flag" ||
15152 test ! -s conftest.err
15153 } && test -s conftest$ac_exeext &&
15154 $as_test_x conftest$ac_exeext; then
15155 case "$LIBEXT" in
15156 dll) ;;
15157 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'` ;;
15158 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15159 esac
15160 else
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.$ac_ext >&5
15167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15168 conftest$ac_exeext conftest.$ac_ext
15169 LIBS=$ac_check_soname_save_LIBS
15171 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15172 { echo "$as_me:$LINENO: result: not found" >&5
15173 echo "${ECHO_T}not found" >&6; }
15175 else
15176 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15177 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15179 cat >>confdefs.h <<_ACEOF
15180 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15181 _ACEOF
15187 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15188 wine_notices="$wine_notices|libjpeg development files not found.
15189 Wine will be built without JPEG support. (oleaut32.dll)"
15193 if test "$ac_cv_header_png_h" = "yes"
15194 then
15195 { echo "$as_me:$LINENO: checking for -lpng" >&5
15196 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15197 if test "${ac_cv_lib_soname_png+set}" = set; then
15198 echo $ECHO_N "(cached) $ECHO_C" >&6
15199 else
15200 ac_check_soname_save_LIBS=$LIBS
15201 LIBS="-lpng $LIBS"
15202 cat >conftest.$ac_ext <<_ACEOF
15203 /* confdefs.h. */
15204 _ACEOF
15205 cat confdefs.h >>conftest.$ac_ext
15206 cat >>conftest.$ac_ext <<_ACEOF
15207 /* end confdefs.h. */
15209 /* Override any GCC internal prototype to avoid an error.
15210 Use char because int might match the return type of a GCC
15211 builtin and then its argument prototype would still apply. */
15212 #ifdef __cplusplus
15213 extern "C"
15214 #endif
15215 char png_create_read_struct ();
15217 main ()
15219 return png_create_read_struct ();
15221 return 0;
15223 _ACEOF
15224 rm -f conftest.$ac_objext conftest$ac_exeext
15225 if { (ac_try="$ac_link"
15226 case "(($ac_try" in
15227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15228 *) ac_try_echo=$ac_try;;
15229 esac
15230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15231 (eval "$ac_link") 2>conftest.er1
15232 ac_status=$?
15233 grep -v '^ *+' conftest.er1 >conftest.err
15234 rm -f conftest.er1
15235 cat conftest.err >&5
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); } && {
15238 test -z "$ac_c_werror_flag" ||
15239 test ! -s conftest.err
15240 } && test -s conftest$ac_exeext &&
15241 $as_test_x conftest$ac_exeext; then
15242 case "$LIBEXT" in
15243 dll) ;;
15244 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'` ;;
15245 *) 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'` ;;
15246 esac
15247 else
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15255 conftest$ac_exeext conftest.$ac_ext
15256 LIBS=$ac_check_soname_save_LIBS
15258 if test "x$ac_cv_lib_soname_png" = "x"; then
15259 { echo "$as_me:$LINENO: result: not found" >&5
15260 echo "${ECHO_T}not found" >&6; }
15262 else
15263 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15264 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15266 cat >>confdefs.h <<_ACEOF
15267 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15268 _ACEOF
15274 if test "x$ac_cv_lib_soname_png" = "x"; then
15275 wine_notices="$wine_notices|libpng development files not found.
15276 Wine will be built without PNG support. (oleaut32.dll)"
15280 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15281 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15282 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15283 "$ac_cv_header_soundcard_h" != "yes"; then
15284 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15289 EXTRACFLAGS=""
15291 if test "x${GCC}" = "xyes"
15292 then
15293 EXTRACFLAGS="-Wall -pipe"
15295 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15296 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15297 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15298 echo $ECHO_N "(cached) $ECHO_C" >&6
15299 else
15300 if test "$cross_compiling" = yes; then
15301 ac_cv_c_gcc_strength_bug="yes"
15302 else
15303 cat >conftest.$ac_ext <<_ACEOF
15304 /* confdefs.h. */
15305 _ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 int L[4] = {0,1,2,3};
15311 main ()
15313 static int Array[3];
15314 unsigned int B = 3;
15315 int i;
15316 for(i=0; i<B; i++) Array[i] = i - 3;
15317 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15318 L[i] = 4;
15319 exit( Array[1] != -2 || L[2] != 3)
15321 return 0;
15323 _ACEOF
15324 rm -f conftest$ac_exeext
15325 if { (ac_try="$ac_link"
15326 case "(($ac_try" in
15327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15328 *) ac_try_echo=$ac_try;;
15329 esac
15330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15331 (eval "$ac_link") 2>&5
15332 ac_status=$?
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15335 { (case "(($ac_try" in
15336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15337 *) ac_try_echo=$ac_try;;
15338 esac
15339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15340 (eval "$ac_try") 2>&5
15341 ac_status=$?
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 ac_cv_c_gcc_strength_bug="no"
15345 else
15346 echo "$as_me: program exited with status $ac_status" >&5
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.$ac_ext >&5
15350 ( exit $ac_status )
15351 ac_cv_c_gcc_strength_bug="yes"
15353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15358 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15359 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15360 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15361 then
15362 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15366 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15367 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15368 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 else
15371 ac_wine_try_cflags_saved=$CFLAGS
15372 CFLAGS="$CFLAGS -fshort-wchar"
15373 cat >conftest.$ac_ext <<_ACEOF
15374 /* confdefs.h. */
15375 _ACEOF
15376 cat confdefs.h >>conftest.$ac_ext
15377 cat >>conftest.$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15381 main ()
15385 return 0;
15387 _ACEOF
15388 rm -f conftest.$ac_objext conftest$ac_exeext
15389 if { (ac_try="$ac_link"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15393 esac
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_link") 2>conftest.er1
15396 ac_status=$?
15397 grep -v '^ *+' conftest.er1 >conftest.err
15398 rm -f conftest.er1
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_c_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest$ac_exeext &&
15405 $as_test_x conftest$ac_exeext; then
15406 ac_cv_cflags__fshort_wchar=yes
15407 else
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15411 ac_cv_cflags__fshort_wchar=no
15414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15415 conftest$ac_exeext conftest.$ac_ext
15416 CFLAGS=$ac_wine_try_cflags_saved
15418 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15419 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15420 if test $ac_cv_cflags__fshort_wchar = yes; then
15422 cat >>confdefs.h <<\_ACEOF
15423 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15424 _ACEOF
15428 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15429 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15430 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15431 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 else
15433 ac_wine_try_cflags_saved=$CFLAGS
15434 CFLAGS="$CFLAGS -fno-strict-aliasing"
15435 cat >conftest.$ac_ext <<_ACEOF
15436 /* confdefs.h. */
15437 _ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15443 main ()
15447 return 0;
15449 _ACEOF
15450 rm -f conftest.$ac_objext conftest$ac_exeext
15451 if { (ac_try="$ac_link"
15452 case "(($ac_try" in
15453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15454 *) ac_try_echo=$ac_try;;
15455 esac
15456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15457 (eval "$ac_link") 2>conftest.er1
15458 ac_status=$?
15459 grep -v '^ *+' conftest.er1 >conftest.err
15460 rm -f conftest.er1
15461 cat conftest.err >&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } && {
15464 test -z "$ac_c_werror_flag" ||
15465 test ! -s conftest.err
15466 } && test -s conftest$ac_exeext &&
15467 $as_test_x conftest$ac_exeext; then
15468 ac_cv_cflags__fno_strict_aliasing=yes
15469 else
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15473 ac_cv_cflags__fno_strict_aliasing=no
15476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15477 conftest$ac_exeext conftest.$ac_ext
15478 CFLAGS=$ac_wine_try_cflags_saved
15480 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15481 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15482 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15483 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15486 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
15487 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
15488 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15490 else
15491 ac_wine_try_cflags_saved=$CFLAGS
15492 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15493 cat >conftest.$ac_ext <<_ACEOF
15494 /* confdefs.h. */
15495 _ACEOF
15496 cat confdefs.h >>conftest.$ac_ext
15497 cat >>conftest.$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15501 main ()
15505 return 0;
15507 _ACEOF
15508 rm -f conftest.$ac_objext conftest$ac_exeext
15509 if { (ac_try="$ac_link"
15510 case "(($ac_try" in
15511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15512 *) ac_try_echo=$ac_try;;
15513 esac
15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15515 (eval "$ac_link") 2>conftest.er1
15516 ac_status=$?
15517 grep -v '^ *+' conftest.er1 >conftest.err
15518 rm -f conftest.er1
15519 cat conftest.err >&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && {
15522 test -z "$ac_c_werror_flag" ||
15523 test ! -s conftest.err
15524 } && test -s conftest$ac_exeext &&
15525 $as_test_x conftest$ac_exeext; then
15526 ac_cv_cflags__Wdeclaration_after_statement=yes
15527 else
15528 echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.$ac_ext >&5
15531 ac_cv_cflags__Wdeclaration_after_statement=no
15534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15535 conftest$ac_exeext conftest.$ac_ext
15536 CFLAGS=$ac_wine_try_cflags_saved
15538 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
15539 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
15540 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
15541 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
15544 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
15545 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
15546 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15548 else
15549 ac_wine_try_cflags_saved=$CFLAGS
15550 CFLAGS="$CFLAGS -Wwrite-strings"
15551 cat >conftest.$ac_ext <<_ACEOF
15552 /* confdefs.h. */
15553 _ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15559 main ()
15563 return 0;
15565 _ACEOF
15566 rm -f conftest.$ac_objext conftest$ac_exeext
15567 if { (ac_try="$ac_link"
15568 case "(($ac_try" in
15569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15571 esac
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_link") 2>conftest.er1
15574 ac_status=$?
15575 grep -v '^ *+' conftest.er1 >conftest.err
15576 rm -f conftest.er1
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && {
15580 test -z "$ac_c_werror_flag" ||
15581 test ! -s conftest.err
15582 } && test -s conftest$ac_exeext &&
15583 $as_test_x conftest$ac_exeext; then
15584 ac_cv_cflags__Wwrite_strings=yes
15585 else
15586 echo "$as_me: failed program was:" >&5
15587 sed 's/^/| /' conftest.$ac_ext >&5
15589 ac_cv_cflags__Wwrite_strings=no
15592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15593 conftest$ac_exeext conftest.$ac_ext
15594 CFLAGS=$ac_wine_try_cflags_saved
15596 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
15597 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
15598 if test $ac_cv_cflags__Wwrite_strings = yes; then
15599 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15603 saved_CFLAGS="$CFLAGS"
15604 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15605 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
15606 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
15607 if test "${ac_cv_c_string_h_warnings+set}" = set; then
15608 echo $ECHO_N "(cached) $ECHO_C" >&6
15609 else
15610 cat >conftest.$ac_ext <<_ACEOF
15611 /* confdefs.h. */
15612 _ACEOF
15613 cat confdefs.h >>conftest.$ac_ext
15614 cat >>conftest.$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15616 #include <string.h>
15618 main ()
15622 return 0;
15624 _ACEOF
15625 rm -f conftest.$ac_objext
15626 if { (ac_try="$ac_compile"
15627 case "(($ac_try" in
15628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15629 *) ac_try_echo=$ac_try;;
15630 esac
15631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15632 (eval "$ac_compile") 2>conftest.er1
15633 ac_status=$?
15634 grep -v '^ *+' conftest.er1 >conftest.err
15635 rm -f conftest.er1
15636 cat conftest.err >&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } && {
15639 test -z "$ac_c_werror_flag" ||
15640 test ! -s conftest.err
15641 } && test -s conftest.$ac_objext; then
15642 ac_cv_c_string_h_warnings=no
15643 else
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.$ac_ext >&5
15647 ac_cv_c_string_h_warnings=yes
15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15652 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15653 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15654 CFLAGS="$saved_CFLAGS"
15655 if test "$ac_cv_c_string_h_warnings" = "no"
15656 then
15657 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15660 BUILTINFLAG=""
15662 saved_CFLAGS="$CFLAGS"
15663 CFLAGS="$CFLAGS -Werror"
15664 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15665 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15666 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15667 echo $ECHO_N "(cached) $ECHO_C" >&6
15668 else
15669 cat >conftest.$ac_ext <<_ACEOF
15670 /* confdefs.h. */
15671 _ACEOF
15672 cat confdefs.h >>conftest.$ac_ext
15673 cat >>conftest.$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15677 main ()
15679 int iswlower(unsigned short);
15681 return 0;
15683 _ACEOF
15684 rm -f conftest.$ac_objext
15685 if { (ac_try="$ac_compile"
15686 case "(($ac_try" in
15687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15688 *) ac_try_echo=$ac_try;;
15689 esac
15690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15691 (eval "$ac_compile") 2>conftest.er1
15692 ac_status=$?
15693 grep -v '^ *+' conftest.er1 >conftest.err
15694 rm -f conftest.er1
15695 cat conftest.err >&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } && {
15698 test -z "$ac_c_werror_flag" ||
15699 test ! -s conftest.err
15700 } && test -s conftest.$ac_objext; then
15701 ac_cv_c_builtin_wchar_ctype=no
15702 else
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.$ac_ext >&5
15706 ac_cv_c_builtin_wchar_ctype=yes
15709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15711 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15712 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15713 CFLAGS="$saved_CFLAGS"
15714 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15715 then
15716 BUILTINFLAG="-fno-builtin"
15721 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15722 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15723 if test "${ac_cv_asm_func_def+set}" = set; then
15724 echo $ECHO_N "(cached) $ECHO_C" >&6
15725 else
15726 cat >conftest.$ac_ext <<_ACEOF
15727 /* confdefs.h. */
15728 _ACEOF
15729 cat confdefs.h >>conftest.$ac_ext
15730 cat >>conftest.$ac_ext <<_ACEOF
15731 /* end confdefs.h. */
15734 main ()
15736 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15738 return 0;
15740 _ACEOF
15741 rm -f conftest.$ac_objext conftest$ac_exeext
15742 if { (ac_try="$ac_link"
15743 case "(($ac_try" in
15744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15745 *) ac_try_echo=$ac_try;;
15746 esac
15747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15748 (eval "$ac_link") 2>conftest.er1
15749 ac_status=$?
15750 grep -v '^ *+' conftest.er1 >conftest.err
15751 rm -f conftest.er1
15752 cat conftest.err >&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } && {
15755 test -z "$ac_c_werror_flag" ||
15756 test ! -s conftest.err
15757 } && test -s conftest$ac_exeext &&
15758 $as_test_x conftest$ac_exeext; then
15759 ac_cv_asm_func_def=".def"
15760 else
15761 echo "$as_me: failed program was:" >&5
15762 sed 's/^/| /' conftest.$ac_ext >&5
15764 cat >conftest.$ac_ext <<_ACEOF
15765 /* confdefs.h. */
15766 _ACEOF
15767 cat confdefs.h >>conftest.$ac_ext
15768 cat >>conftest.$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15772 main ()
15774 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15776 return 0;
15778 _ACEOF
15779 rm -f conftest.$ac_objext conftest$ac_exeext
15780 if { (ac_try="$ac_link"
15781 case "(($ac_try" in
15782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15783 *) ac_try_echo=$ac_try;;
15784 esac
15785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15786 (eval "$ac_link") 2>conftest.er1
15787 ac_status=$?
15788 grep -v '^ *+' conftest.er1 >conftest.err
15789 rm -f conftest.er1
15790 cat conftest.err >&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); } && {
15793 test -z "$ac_c_werror_flag" ||
15794 test ! -s conftest.err
15795 } && test -s conftest$ac_exeext &&
15796 $as_test_x conftest$ac_exeext; then
15797 ac_cv_asm_func_def=".type @function"
15798 else
15799 echo "$as_me: failed program was:" >&5
15800 sed 's/^/| /' conftest.$ac_ext >&5
15802 cat >conftest.$ac_ext <<_ACEOF
15803 /* confdefs.h. */
15804 _ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15810 main ()
15812 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15814 return 0;
15816 _ACEOF
15817 rm -f conftest.$ac_objext conftest$ac_exeext
15818 if { (ac_try="$ac_link"
15819 case "(($ac_try" in
15820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15821 *) ac_try_echo=$ac_try;;
15822 esac
15823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15824 (eval "$ac_link") 2>conftest.er1
15825 ac_status=$?
15826 grep -v '^ *+' conftest.er1 >conftest.err
15827 rm -f conftest.er1
15828 cat conftest.err >&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } && {
15831 test -z "$ac_c_werror_flag" ||
15832 test ! -s conftest.err
15833 } && test -s conftest$ac_exeext &&
15834 $as_test_x conftest$ac_exeext; then
15835 ac_cv_asm_func_def=".type 2"
15836 else
15837 echo "$as_me: failed program was:" >&5
15838 sed 's/^/| /' conftest.$ac_ext >&5
15840 ac_cv_asm_func_def="unknown"
15843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15844 conftest$ac_exeext conftest.$ac_ext
15847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15848 conftest$ac_exeext conftest.$ac_ext
15851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15852 conftest$ac_exeext conftest.$ac_ext
15854 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15855 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15859 case "$ac_cv_asm_func_def" in
15860 ".def")
15861 cat >>confdefs.h <<\_ACEOF
15862 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15863 _ACEOF
15865 ".type @function")
15866 cat >>confdefs.h <<\_ACEOF
15867 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15868 _ACEOF
15870 ".type 2")
15871 cat >>confdefs.h <<\_ACEOF
15872 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15873 _ACEOF
15876 cat >>confdefs.h <<\_ACEOF
15877 #define __ASM_FUNC(name) ""
15878 _ACEOF
15880 esac
15883 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15884 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15885 if test "${ac_cv_c_extern_prefix+set}" = set; then
15886 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 else
15888 cat >conftest.$ac_ext <<_ACEOF
15889 /* confdefs.h. */
15890 _ACEOF
15891 cat confdefs.h >>conftest.$ac_ext
15892 cat >>conftest.$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 extern int ac_test;
15896 main ()
15898 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15900 return 0;
15902 _ACEOF
15903 rm -f conftest.$ac_objext conftest$ac_exeext
15904 if { (ac_try="$ac_link"
15905 case "(($ac_try" in
15906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15907 *) ac_try_echo=$ac_try;;
15908 esac
15909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15910 (eval "$ac_link") 2>conftest.er1
15911 ac_status=$?
15912 grep -v '^ *+' conftest.er1 >conftest.err
15913 rm -f conftest.er1
15914 cat conftest.err >&5
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); } && {
15917 test -z "$ac_c_werror_flag" ||
15918 test ! -s conftest.err
15919 } && test -s conftest$ac_exeext &&
15920 $as_test_x conftest$ac_exeext; then
15921 ac_cv_c_extern_prefix="yes"
15922 else
15923 echo "$as_me: failed program was:" >&5
15924 sed 's/^/| /' conftest.$ac_ext >&5
15926 ac_cv_c_extern_prefix="no"
15929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15930 conftest$ac_exeext conftest.$ac_ext
15932 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15933 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15937 if test "$ac_cv_c_extern_prefix" = "yes"
15938 then
15939 cat >>confdefs.h <<\_ACEOF
15940 #define __ASM_NAME(name) "_" name
15941 _ACEOF
15943 else
15944 cat >>confdefs.h <<\_ACEOF
15945 #define __ASM_NAME(name) name
15946 _ACEOF
15951 LDPATH=""
15953 case $build_os in
15954 cygwin*|mingw32*)
15955 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15957 darwin*|macosx*)
15959 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15960 then
15961 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15965 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15967 esac
15969 case $host_os in
15970 mingw32*)
15971 CRTLIBS="-lmsvcrt"
15973 SOCKETLIBS="-lws2_32"
15976 esac
15978 MAIN_BINARY="wine-pthread"
15979 case $host_cpu in
15980 *i[3456789]86*)
15981 case $host_os in
15982 linux* | k*bsd*-gnu)
15983 MAIN_BINARY="wine-glibc"
15985 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15987 freebsd*)
15988 MAIN_BINARY="wine-freebsd"
15990 EXTRA_BINARIES="wine-pthread"
15992 esac
15994 esac
16061 for ac_func in \
16062 _pclose \
16063 _popen \
16064 _snprintf \
16065 _spawnvp \
16066 _strdup \
16067 _stricmp \
16068 _strnicmp \
16069 _vsnprintf \
16070 asctime_r \
16071 chsize \
16072 clone \
16073 dlopen \
16074 epoll_create \
16075 ffs \
16076 finite \
16077 fork \
16078 fpclass \
16079 fstatfs \
16080 fstatvfs \
16081 ftruncate \
16082 futimes \
16083 futimesat \
16084 getdirentries \
16085 getopt_long \
16086 getpagesize \
16087 getpwuid \
16088 gettid \
16089 gettimeofday \
16090 getuid \
16091 inet_pton \
16092 kqueue \
16093 lstat \
16094 memmove \
16095 mmap \
16096 pclose \
16097 poll \
16098 popen \
16099 prctl \
16100 pread \
16101 pwrite \
16102 readlink \
16103 rfork \
16104 sched_yield \
16105 select \
16106 setrlimit \
16107 settimeofday \
16108 sigaltstack \
16109 sigprocmask \
16110 snprintf \
16111 spawnvp \
16112 statfs \
16113 statvfs \
16114 strcasecmp \
16115 strdup \
16116 strerror \
16117 strncasecmp \
16118 strtold \
16119 tcgetattr \
16120 thr_kill2 \
16121 timegm \
16122 usleep \
16123 vsnprintf \
16124 wait4 \
16125 waitpid \
16128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16132 echo $ECHO_N "(cached) $ECHO_C" >&6
16133 else
16134 cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h. */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16142 #define $ac_func innocuous_$ac_func
16144 /* System header to define __stub macros and hopefully few prototypes,
16145 which can conflict with char $ac_func (); below.
16146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16147 <limits.h> exists even on freestanding compilers. */
16149 #ifdef __STDC__
16150 # include <limits.h>
16151 #else
16152 # include <assert.h>
16153 #endif
16155 #undef $ac_func
16157 /* Override any GCC internal prototype to avoid an error.
16158 Use char because int might match the return type of a GCC
16159 builtin and then its argument prototype would still apply. */
16160 #ifdef __cplusplus
16161 extern "C"
16162 #endif
16163 char $ac_func ();
16164 /* The GNU C library defines this for functions which it implements
16165 to always fail with ENOSYS. Some functions are actually named
16166 something starting with __ and the normal name is an alias. */
16167 #if defined __stub_$ac_func || defined __stub___$ac_func
16168 choke me
16169 #endif
16172 main ()
16174 return $ac_func ();
16176 return 0;
16178 _ACEOF
16179 rm -f conftest.$ac_objext conftest$ac_exeext
16180 if { (ac_try="$ac_link"
16181 case "(($ac_try" in
16182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16183 *) ac_try_echo=$ac_try;;
16184 esac
16185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16186 (eval "$ac_link") 2>conftest.er1
16187 ac_status=$?
16188 grep -v '^ *+' conftest.er1 >conftest.err
16189 rm -f conftest.er1
16190 cat conftest.err >&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } && {
16193 test -z "$ac_c_werror_flag" ||
16194 test ! -s conftest.err
16195 } && test -s conftest$ac_exeext &&
16196 $as_test_x conftest$ac_exeext; then
16197 eval "$as_ac_var=yes"
16198 else
16199 echo "$as_me: failed program was:" >&5
16200 sed 's/^/| /' conftest.$ac_ext >&5
16202 eval "$as_ac_var=no"
16205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16206 conftest$ac_exeext conftest.$ac_ext
16208 ac_res=`eval echo '${'$as_ac_var'}'`
16209 { echo "$as_me:$LINENO: result: $ac_res" >&5
16210 echo "${ECHO_T}$ac_res" >&6; }
16211 if test `eval echo '${'$as_ac_var'}'` = yes; then
16212 cat >>confdefs.h <<_ACEOF
16213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16214 _ACEOF
16217 done
16220 if test "$ac_cv_func_dlopen" = no
16221 then
16222 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16223 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16224 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16225 echo $ECHO_N "(cached) $ECHO_C" >&6
16226 else
16227 ac_check_lib_save_LIBS=$LIBS
16228 LIBS="-ldl $LIBS"
16229 cat >conftest.$ac_ext <<_ACEOF
16230 /* confdefs.h. */
16231 _ACEOF
16232 cat confdefs.h >>conftest.$ac_ext
16233 cat >>conftest.$ac_ext <<_ACEOF
16234 /* end confdefs.h. */
16236 /* Override any GCC internal prototype to avoid an error.
16237 Use char because int might match the return type of a GCC
16238 builtin and then its argument prototype would still apply. */
16239 #ifdef __cplusplus
16240 extern "C"
16241 #endif
16242 char dlopen ();
16244 main ()
16246 return dlopen ();
16248 return 0;
16250 _ACEOF
16251 rm -f conftest.$ac_objext conftest$ac_exeext
16252 if { (ac_try="$ac_link"
16253 case "(($ac_try" in
16254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16255 *) ac_try_echo=$ac_try;;
16256 esac
16257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16258 (eval "$ac_link") 2>conftest.er1
16259 ac_status=$?
16260 grep -v '^ *+' conftest.er1 >conftest.err
16261 rm -f conftest.er1
16262 cat conftest.err >&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } && {
16265 test -z "$ac_c_werror_flag" ||
16266 test ! -s conftest.err
16267 } && test -s conftest$ac_exeext &&
16268 $as_test_x conftest$ac_exeext; then
16269 ac_cv_lib_dl_dlopen=yes
16270 else
16271 echo "$as_me: failed program was:" >&5
16272 sed 's/^/| /' conftest.$ac_ext >&5
16274 ac_cv_lib_dl_dlopen=no
16277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16278 conftest$ac_exeext conftest.$ac_ext
16279 LIBS=$ac_check_lib_save_LIBS
16281 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16282 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16283 if test $ac_cv_lib_dl_dlopen = yes; then
16284 cat >>confdefs.h <<\_ACEOF
16285 #define HAVE_DLOPEN 1
16286 _ACEOF
16287 LIBDL="-ldl"
16292 ac_wine_check_funcs_save_LIBS="$LIBS"
16293 LIBS="$LIBS $LIBDL"
16295 for ac_func in dladdr
16297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16300 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 cat >conftest.$ac_ext <<_ACEOF
16304 /* confdefs.h. */
16305 _ACEOF
16306 cat confdefs.h >>conftest.$ac_ext
16307 cat >>conftest.$ac_ext <<_ACEOF
16308 /* end confdefs.h. */
16309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16311 #define $ac_func innocuous_$ac_func
16313 /* System header to define __stub macros and hopefully few prototypes,
16314 which can conflict with char $ac_func (); below.
16315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16316 <limits.h> exists even on freestanding compilers. */
16318 #ifdef __STDC__
16319 # include <limits.h>
16320 #else
16321 # include <assert.h>
16322 #endif
16324 #undef $ac_func
16326 /* Override any GCC internal prototype to avoid an error.
16327 Use char because int might match the return type of a GCC
16328 builtin and then its argument prototype would still apply. */
16329 #ifdef __cplusplus
16330 extern "C"
16331 #endif
16332 char $ac_func ();
16333 /* The GNU C library defines this for functions which it implements
16334 to always fail with ENOSYS. Some functions are actually named
16335 something starting with __ and the normal name is an alias. */
16336 #if defined __stub_$ac_func || defined __stub___$ac_func
16337 choke me
16338 #endif
16341 main ()
16343 return $ac_func ();
16345 return 0;
16347 _ACEOF
16348 rm -f conftest.$ac_objext conftest$ac_exeext
16349 if { (ac_try="$ac_link"
16350 case "(($ac_try" in
16351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16352 *) ac_try_echo=$ac_try;;
16353 esac
16354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16355 (eval "$ac_link") 2>conftest.er1
16356 ac_status=$?
16357 grep -v '^ *+' conftest.er1 >conftest.err
16358 rm -f conftest.er1
16359 cat conftest.err >&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); } && {
16362 test -z "$ac_c_werror_flag" ||
16363 test ! -s conftest.err
16364 } && test -s conftest$ac_exeext &&
16365 $as_test_x conftest$ac_exeext; then
16366 eval "$as_ac_var=yes"
16367 else
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.$ac_ext >&5
16371 eval "$as_ac_var=no"
16374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16375 conftest$ac_exeext conftest.$ac_ext
16377 ac_res=`eval echo '${'$as_ac_var'}'`
16378 { echo "$as_me:$LINENO: result: $ac_res" >&5
16379 echo "${ECHO_T}$ac_res" >&6; }
16380 if test `eval echo '${'$as_ac_var'}'` = yes; then
16381 cat >>confdefs.h <<_ACEOF
16382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16383 _ACEOF
16386 done
16388 LIBS="$ac_wine_check_funcs_save_LIBS"
16390 if test "$ac_cv_func_poll" = no
16391 then
16392 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16393 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16394 if test "${ac_cv_lib_poll_poll+set}" = set; then
16395 echo $ECHO_N "(cached) $ECHO_C" >&6
16396 else
16397 ac_check_lib_save_LIBS=$LIBS
16398 LIBS="-lpoll $LIBS"
16399 cat >conftest.$ac_ext <<_ACEOF
16400 /* confdefs.h. */
16401 _ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16406 /* Override any GCC internal prototype to avoid an error.
16407 Use char because int might match the return type of a GCC
16408 builtin and then its argument prototype would still apply. */
16409 #ifdef __cplusplus
16410 extern "C"
16411 #endif
16412 char poll ();
16414 main ()
16416 return poll ();
16418 return 0;
16420 _ACEOF
16421 rm -f conftest.$ac_objext conftest$ac_exeext
16422 if { (ac_try="$ac_link"
16423 case "(($ac_try" in
16424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16425 *) ac_try_echo=$ac_try;;
16426 esac
16427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16428 (eval "$ac_link") 2>conftest.er1
16429 ac_status=$?
16430 grep -v '^ *+' conftest.er1 >conftest.err
16431 rm -f conftest.er1
16432 cat conftest.err >&5
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); } && {
16435 test -z "$ac_c_werror_flag" ||
16436 test ! -s conftest.err
16437 } && test -s conftest$ac_exeext &&
16438 $as_test_x conftest$ac_exeext; then
16439 ac_cv_lib_poll_poll=yes
16440 else
16441 echo "$as_me: failed program was:" >&5
16442 sed 's/^/| /' conftest.$ac_ext >&5
16444 ac_cv_lib_poll_poll=no
16447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16448 conftest$ac_exeext conftest.$ac_ext
16449 LIBS=$ac_check_lib_save_LIBS
16451 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16452 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16453 if test $ac_cv_lib_poll_poll = yes; then
16454 cat >>confdefs.h <<\_ACEOF
16455 #define HAVE_POLL 1
16456 _ACEOF
16457 LIBPOLL="-lpoll"
16463 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16464 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16465 if test "${ac_cv_search_gethostbyname+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16467 else
16468 ac_func_search_save_LIBS=$LIBS
16469 cat >conftest.$ac_ext <<_ACEOF
16470 /* confdefs.h. */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16476 /* Override any GCC internal prototype to avoid an error.
16477 Use char because int might match the return type of a GCC
16478 builtin and then its argument prototype would still apply. */
16479 #ifdef __cplusplus
16480 extern "C"
16481 #endif
16482 char gethostbyname ();
16484 main ()
16486 return gethostbyname ();
16488 return 0;
16490 _ACEOF
16491 for ac_lib in '' nsl; do
16492 if test -z "$ac_lib"; then
16493 ac_res="none required"
16494 else
16495 ac_res=-l$ac_lib
16496 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16498 rm -f conftest.$ac_objext conftest$ac_exeext
16499 if { (ac_try="$ac_link"
16500 case "(($ac_try" in
16501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16502 *) ac_try_echo=$ac_try;;
16503 esac
16504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16505 (eval "$ac_link") 2>conftest.er1
16506 ac_status=$?
16507 grep -v '^ *+' conftest.er1 >conftest.err
16508 rm -f conftest.er1
16509 cat conftest.err >&5
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); } && {
16512 test -z "$ac_c_werror_flag" ||
16513 test ! -s conftest.err
16514 } && test -s conftest$ac_exeext &&
16515 $as_test_x conftest$ac_exeext; then
16516 ac_cv_search_gethostbyname=$ac_res
16517 else
16518 echo "$as_me: failed program was:" >&5
16519 sed 's/^/| /' conftest.$ac_ext >&5
16524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16525 conftest$ac_exeext
16526 if test "${ac_cv_search_gethostbyname+set}" = set; then
16527 break
16529 done
16530 if test "${ac_cv_search_gethostbyname+set}" = set; then
16532 else
16533 ac_cv_search_gethostbyname=no
16535 rm conftest.$ac_ext
16536 LIBS=$ac_func_search_save_LIBS
16538 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16539 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16540 ac_res=$ac_cv_search_gethostbyname
16541 if test "$ac_res" != no; then
16542 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16547 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16548 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16549 if test "${ac_cv_search_connect+set}" = set; then
16550 echo $ECHO_N "(cached) $ECHO_C" >&6
16551 else
16552 ac_func_search_save_LIBS=$LIBS
16553 cat >conftest.$ac_ext <<_ACEOF
16554 /* confdefs.h. */
16555 _ACEOF
16556 cat confdefs.h >>conftest.$ac_ext
16557 cat >>conftest.$ac_ext <<_ACEOF
16558 /* end confdefs.h. */
16560 /* Override any GCC internal prototype to avoid an error.
16561 Use char because int might match the return type of a GCC
16562 builtin and then its argument prototype would still apply. */
16563 #ifdef __cplusplus
16564 extern "C"
16565 #endif
16566 char connect ();
16568 main ()
16570 return connect ();
16572 return 0;
16574 _ACEOF
16575 for ac_lib in '' socket; do
16576 if test -z "$ac_lib"; then
16577 ac_res="none required"
16578 else
16579 ac_res=-l$ac_lib
16580 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16582 rm -f conftest.$ac_objext conftest$ac_exeext
16583 if { (ac_try="$ac_link"
16584 case "(($ac_try" in
16585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16586 *) ac_try_echo=$ac_try;;
16587 esac
16588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16589 (eval "$ac_link") 2>conftest.er1
16590 ac_status=$?
16591 grep -v '^ *+' conftest.er1 >conftest.err
16592 rm -f conftest.er1
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } && {
16596 test -z "$ac_c_werror_flag" ||
16597 test ! -s conftest.err
16598 } && test -s conftest$ac_exeext &&
16599 $as_test_x conftest$ac_exeext; then
16600 ac_cv_search_connect=$ac_res
16601 else
16602 echo "$as_me: failed program was:" >&5
16603 sed 's/^/| /' conftest.$ac_ext >&5
16608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16609 conftest$ac_exeext
16610 if test "${ac_cv_search_connect+set}" = set; then
16611 break
16613 done
16614 if test "${ac_cv_search_connect+set}" = set; then
16616 else
16617 ac_cv_search_connect=no
16619 rm conftest.$ac_ext
16620 LIBS=$ac_func_search_save_LIBS
16622 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16623 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16624 ac_res=$ac_cv_search_connect
16625 if test "$ac_res" != no; then
16626 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16631 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16632 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16633 if test "${ac_cv_search_inet_aton+set}" = set; then
16634 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 else
16636 ac_func_search_save_LIBS=$LIBS
16637 cat >conftest.$ac_ext <<_ACEOF
16638 /* confdefs.h. */
16639 _ACEOF
16640 cat confdefs.h >>conftest.$ac_ext
16641 cat >>conftest.$ac_ext <<_ACEOF
16642 /* end confdefs.h. */
16644 /* Override any GCC internal prototype to avoid an error.
16645 Use char because int might match the return type of a GCC
16646 builtin and then its argument prototype would still apply. */
16647 #ifdef __cplusplus
16648 extern "C"
16649 #endif
16650 char inet_aton ();
16652 main ()
16654 return inet_aton ();
16656 return 0;
16658 _ACEOF
16659 for ac_lib in '' resolv; do
16660 if test -z "$ac_lib"; then
16661 ac_res="none required"
16662 else
16663 ac_res=-l$ac_lib
16664 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16666 rm -f conftest.$ac_objext conftest$ac_exeext
16667 if { (ac_try="$ac_link"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16671 esac
16672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_link") 2>conftest.er1
16674 ac_status=$?
16675 grep -v '^ *+' conftest.er1 >conftest.err
16676 rm -f conftest.er1
16677 cat conftest.err >&5
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); } && {
16680 test -z "$ac_c_werror_flag" ||
16681 test ! -s conftest.err
16682 } && test -s conftest$ac_exeext &&
16683 $as_test_x conftest$ac_exeext; then
16684 ac_cv_search_inet_aton=$ac_res
16685 else
16686 echo "$as_me: failed program was:" >&5
16687 sed 's/^/| /' conftest.$ac_ext >&5
16692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16693 conftest$ac_exeext
16694 if test "${ac_cv_search_inet_aton+set}" = set; then
16695 break
16697 done
16698 if test "${ac_cv_search_inet_aton+set}" = set; then
16700 else
16701 ac_cv_search_inet_aton=no
16703 rm conftest.$ac_ext
16704 LIBS=$ac_func_search_save_LIBS
16706 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16707 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16708 ac_res=$ac_cv_search_inet_aton
16709 if test "$ac_res" != no; then
16710 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16723 for ac_func in \
16724 getaddrinfo \
16725 getnameinfo \
16726 getnetbyname \
16727 getprotobyname \
16728 getprotobynumber \
16729 getservbyport \
16730 inet_network \
16731 sendmsg \
16734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16737 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16738 echo $ECHO_N "(cached) $ECHO_C" >&6
16739 else
16740 cat >conftest.$ac_ext <<_ACEOF
16741 /* confdefs.h. */
16742 _ACEOF
16743 cat confdefs.h >>conftest.$ac_ext
16744 cat >>conftest.$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16748 #define $ac_func innocuous_$ac_func
16750 /* System header to define __stub macros and hopefully few prototypes,
16751 which can conflict with char $ac_func (); below.
16752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16753 <limits.h> exists even on freestanding compilers. */
16755 #ifdef __STDC__
16756 # include <limits.h>
16757 #else
16758 # include <assert.h>
16759 #endif
16761 #undef $ac_func
16763 /* Override any GCC internal prototype to avoid an error.
16764 Use char because int might match the return type of a GCC
16765 builtin and then its argument prototype would still apply. */
16766 #ifdef __cplusplus
16767 extern "C"
16768 #endif
16769 char $ac_func ();
16770 /* The GNU C library defines this for functions which it implements
16771 to always fail with ENOSYS. Some functions are actually named
16772 something starting with __ and the normal name is an alias. */
16773 #if defined __stub_$ac_func || defined __stub___$ac_func
16774 choke me
16775 #endif
16778 main ()
16780 return $ac_func ();
16782 return 0;
16784 _ACEOF
16785 rm -f conftest.$ac_objext conftest$ac_exeext
16786 if { (ac_try="$ac_link"
16787 case "(($ac_try" in
16788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16789 *) ac_try_echo=$ac_try;;
16790 esac
16791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16792 (eval "$ac_link") 2>conftest.er1
16793 ac_status=$?
16794 grep -v '^ *+' conftest.er1 >conftest.err
16795 rm -f conftest.er1
16796 cat conftest.err >&5
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); } && {
16799 test -z "$ac_c_werror_flag" ||
16800 test ! -s conftest.err
16801 } && test -s conftest$ac_exeext &&
16802 $as_test_x conftest$ac_exeext; then
16803 eval "$as_ac_var=yes"
16804 else
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.$ac_ext >&5
16808 eval "$as_ac_var=no"
16811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16812 conftest$ac_exeext conftest.$ac_ext
16814 ac_res=`eval echo '${'$as_ac_var'}'`
16815 { echo "$as_me:$LINENO: result: $ac_res" >&5
16816 echo "${ECHO_T}$ac_res" >&6; }
16817 if test `eval echo '${'$as_ac_var'}'` = yes; then
16818 cat >>confdefs.h <<_ACEOF
16819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16820 _ACEOF
16823 done
16827 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16828 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16829 if test "${ac_cv_c_const+set}" = set; then
16830 echo $ECHO_N "(cached) $ECHO_C" >&6
16831 else
16832 cat >conftest.$ac_ext <<_ACEOF
16833 /* confdefs.h. */
16834 _ACEOF
16835 cat confdefs.h >>conftest.$ac_ext
16836 cat >>conftest.$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16840 main ()
16842 /* FIXME: Include the comments suggested by Paul. */
16843 #ifndef __cplusplus
16844 /* Ultrix mips cc rejects this. */
16845 typedef int charset[2];
16846 const charset cs;
16847 /* SunOS 4.1.1 cc rejects this. */
16848 char const *const *pcpcc;
16849 char **ppc;
16850 /* NEC SVR4.0.2 mips cc rejects this. */
16851 struct point {int x, y;};
16852 static struct point const zero = {0,0};
16853 /* AIX XL C 1.02.0.0 rejects this.
16854 It does not let you subtract one const X* pointer from another in
16855 an arm of an if-expression whose if-part is not a constant
16856 expression */
16857 const char *g = "string";
16858 pcpcc = &g + (g ? g-g : 0);
16859 /* HPUX 7.0 cc rejects these. */
16860 ++pcpcc;
16861 ppc = (char**) pcpcc;
16862 pcpcc = (char const *const *) ppc;
16863 { /* SCO 3.2v4 cc rejects this. */
16864 char *t;
16865 char const *s = 0 ? (char *) 0 : (char const *) 0;
16867 *t++ = 0;
16868 if (s) return 0;
16870 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16871 int x[] = {25, 17};
16872 const int *foo = &x[0];
16873 ++foo;
16875 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16876 typedef const int *iptr;
16877 iptr p = 0;
16878 ++p;
16880 { /* AIX XL C 1.02.0.0 rejects this saying
16881 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16882 struct s { int j; const int *ap[3]; };
16883 struct s *b; b->j = 5;
16885 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16886 const int foo = 10;
16887 if (!foo) return 0;
16889 return !cs[0] && !zero.x;
16890 #endif
16893 return 0;
16895 _ACEOF
16896 rm -f conftest.$ac_objext
16897 if { (ac_try="$ac_compile"
16898 case "(($ac_try" in
16899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16900 *) ac_try_echo=$ac_try;;
16901 esac
16902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16903 (eval "$ac_compile") 2>conftest.er1
16904 ac_status=$?
16905 grep -v '^ *+' conftest.er1 >conftest.err
16906 rm -f conftest.er1
16907 cat conftest.err >&5
16908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 (exit $ac_status); } && {
16910 test -z "$ac_c_werror_flag" ||
16911 test ! -s conftest.err
16912 } && test -s conftest.$ac_objext; then
16913 ac_cv_c_const=yes
16914 else
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.$ac_ext >&5
16918 ac_cv_c_const=no
16921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16923 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16924 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16925 if test $ac_cv_c_const = no; then
16927 cat >>confdefs.h <<\_ACEOF
16928 #define const
16929 _ACEOF
16933 { echo "$as_me:$LINENO: checking for inline" >&5
16934 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16935 if test "${ac_cv_c_inline+set}" = set; then
16936 echo $ECHO_N "(cached) $ECHO_C" >&6
16937 else
16938 ac_cv_c_inline=no
16939 for ac_kw in inline __inline__ __inline; do
16940 cat >conftest.$ac_ext <<_ACEOF
16941 /* confdefs.h. */
16942 _ACEOF
16943 cat confdefs.h >>conftest.$ac_ext
16944 cat >>conftest.$ac_ext <<_ACEOF
16945 /* end confdefs.h. */
16946 #ifndef __cplusplus
16947 typedef int foo_t;
16948 static $ac_kw foo_t static_foo () {return 0; }
16949 $ac_kw foo_t foo () {return 0; }
16950 #endif
16952 _ACEOF
16953 rm -f conftest.$ac_objext
16954 if { (ac_try="$ac_compile"
16955 case "(($ac_try" in
16956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16957 *) ac_try_echo=$ac_try;;
16958 esac
16959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16960 (eval "$ac_compile") 2>conftest.er1
16961 ac_status=$?
16962 grep -v '^ *+' conftest.er1 >conftest.err
16963 rm -f conftest.er1
16964 cat conftest.err >&5
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } && {
16967 test -z "$ac_c_werror_flag" ||
16968 test ! -s conftest.err
16969 } && test -s conftest.$ac_objext; then
16970 ac_cv_c_inline=$ac_kw
16971 else
16972 echo "$as_me: failed program was:" >&5
16973 sed 's/^/| /' conftest.$ac_ext >&5
16978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16979 test "$ac_cv_c_inline" != no && break
16980 done
16983 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16984 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16987 case $ac_cv_c_inline in
16988 inline | yes) ;;
16990 case $ac_cv_c_inline in
16991 no) ac_val=;;
16992 *) ac_val=$ac_cv_c_inline;;
16993 esac
16994 cat >>confdefs.h <<_ACEOF
16995 #ifndef __cplusplus
16996 #define inline $ac_val
16997 #endif
16998 _ACEOF
17000 esac
17002 { echo "$as_me:$LINENO: checking for mode_t" >&5
17003 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17004 if test "${ac_cv_type_mode_t+set}" = set; then
17005 echo $ECHO_N "(cached) $ECHO_C" >&6
17006 else
17007 cat >conftest.$ac_ext <<_ACEOF
17008 /* confdefs.h. */
17009 _ACEOF
17010 cat confdefs.h >>conftest.$ac_ext
17011 cat >>conftest.$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17013 $ac_includes_default
17014 typedef mode_t ac__type_new_;
17016 main ()
17018 if ((ac__type_new_ *) 0)
17019 return 0;
17020 if (sizeof (ac__type_new_))
17021 return 0;
17023 return 0;
17025 _ACEOF
17026 rm -f conftest.$ac_objext
17027 if { (ac_try="$ac_compile"
17028 case "(($ac_try" in
17029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17030 *) ac_try_echo=$ac_try;;
17031 esac
17032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17033 (eval "$ac_compile") 2>conftest.er1
17034 ac_status=$?
17035 grep -v '^ *+' conftest.er1 >conftest.err
17036 rm -f conftest.er1
17037 cat conftest.err >&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); } && {
17040 test -z "$ac_c_werror_flag" ||
17041 test ! -s conftest.err
17042 } && test -s conftest.$ac_objext; then
17043 ac_cv_type_mode_t=yes
17044 else
17045 echo "$as_me: failed program was:" >&5
17046 sed 's/^/| /' conftest.$ac_ext >&5
17048 ac_cv_type_mode_t=no
17051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17053 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17054 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17055 if test $ac_cv_type_mode_t = yes; then
17057 cat >>confdefs.h <<_ACEOF
17058 #define HAVE_MODE_T 1
17059 _ACEOF
17063 { echo "$as_me:$LINENO: checking for off_t" >&5
17064 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17065 if test "${ac_cv_type_off_t+set}" = set; then
17066 echo $ECHO_N "(cached) $ECHO_C" >&6
17067 else
17068 cat >conftest.$ac_ext <<_ACEOF
17069 /* confdefs.h. */
17070 _ACEOF
17071 cat confdefs.h >>conftest.$ac_ext
17072 cat >>conftest.$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17074 $ac_includes_default
17075 typedef off_t ac__type_new_;
17077 main ()
17079 if ((ac__type_new_ *) 0)
17080 return 0;
17081 if (sizeof (ac__type_new_))
17082 return 0;
17084 return 0;
17086 _ACEOF
17087 rm -f conftest.$ac_objext
17088 if { (ac_try="$ac_compile"
17089 case "(($ac_try" in
17090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17091 *) ac_try_echo=$ac_try;;
17092 esac
17093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17094 (eval "$ac_compile") 2>conftest.er1
17095 ac_status=$?
17096 grep -v '^ *+' conftest.er1 >conftest.err
17097 rm -f conftest.er1
17098 cat conftest.err >&5
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); } && {
17101 test -z "$ac_c_werror_flag" ||
17102 test ! -s conftest.err
17103 } && test -s conftest.$ac_objext; then
17104 ac_cv_type_off_t=yes
17105 else
17106 echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.$ac_ext >&5
17109 ac_cv_type_off_t=no
17112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17114 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17115 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17116 if test $ac_cv_type_off_t = yes; then
17118 cat >>confdefs.h <<_ACEOF
17119 #define HAVE_OFF_T 1
17120 _ACEOF
17124 { echo "$as_me:$LINENO: checking for pid_t" >&5
17125 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17126 if test "${ac_cv_type_pid_t+set}" = set; then
17127 echo $ECHO_N "(cached) $ECHO_C" >&6
17128 else
17129 cat >conftest.$ac_ext <<_ACEOF
17130 /* confdefs.h. */
17131 _ACEOF
17132 cat confdefs.h >>conftest.$ac_ext
17133 cat >>conftest.$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135 $ac_includes_default
17136 typedef pid_t ac__type_new_;
17138 main ()
17140 if ((ac__type_new_ *) 0)
17141 return 0;
17142 if (sizeof (ac__type_new_))
17143 return 0;
17145 return 0;
17147 _ACEOF
17148 rm -f conftest.$ac_objext
17149 if { (ac_try="$ac_compile"
17150 case "(($ac_try" in
17151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17152 *) ac_try_echo=$ac_try;;
17153 esac
17154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17155 (eval "$ac_compile") 2>conftest.er1
17156 ac_status=$?
17157 grep -v '^ *+' conftest.er1 >conftest.err
17158 rm -f conftest.er1
17159 cat conftest.err >&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); } && {
17162 test -z "$ac_c_werror_flag" ||
17163 test ! -s conftest.err
17164 } && test -s conftest.$ac_objext; then
17165 ac_cv_type_pid_t=yes
17166 else
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.$ac_ext >&5
17170 ac_cv_type_pid_t=no
17173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17175 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17176 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17177 if test $ac_cv_type_pid_t = yes; then
17179 cat >>confdefs.h <<_ACEOF
17180 #define HAVE_PID_T 1
17181 _ACEOF
17185 { echo "$as_me:$LINENO: checking for size_t" >&5
17186 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17187 if test "${ac_cv_type_size_t+set}" = set; then
17188 echo $ECHO_N "(cached) $ECHO_C" >&6
17189 else
17190 cat >conftest.$ac_ext <<_ACEOF
17191 /* confdefs.h. */
17192 _ACEOF
17193 cat confdefs.h >>conftest.$ac_ext
17194 cat >>conftest.$ac_ext <<_ACEOF
17195 /* end confdefs.h. */
17196 $ac_includes_default
17197 typedef size_t ac__type_new_;
17199 main ()
17201 if ((ac__type_new_ *) 0)
17202 return 0;
17203 if (sizeof (ac__type_new_))
17204 return 0;
17206 return 0;
17208 _ACEOF
17209 rm -f conftest.$ac_objext
17210 if { (ac_try="$ac_compile"
17211 case "(($ac_try" in
17212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17213 *) ac_try_echo=$ac_try;;
17214 esac
17215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17216 (eval "$ac_compile") 2>conftest.er1
17217 ac_status=$?
17218 grep -v '^ *+' conftest.er1 >conftest.err
17219 rm -f conftest.er1
17220 cat conftest.err >&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); } && {
17223 test -z "$ac_c_werror_flag" ||
17224 test ! -s conftest.err
17225 } && test -s conftest.$ac_objext; then
17226 ac_cv_type_size_t=yes
17227 else
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17231 ac_cv_type_size_t=no
17234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17236 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17237 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17238 if test $ac_cv_type_size_t = yes; then
17240 cat >>confdefs.h <<_ACEOF
17241 #define HAVE_SIZE_T 1
17242 _ACEOF
17246 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17247 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17248 if test "${ac_cv_type_ssize_t+set}" = set; then
17249 echo $ECHO_N "(cached) $ECHO_C" >&6
17250 else
17251 cat >conftest.$ac_ext <<_ACEOF
17252 /* confdefs.h. */
17253 _ACEOF
17254 cat confdefs.h >>conftest.$ac_ext
17255 cat >>conftest.$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17257 $ac_includes_default
17258 typedef ssize_t ac__type_new_;
17260 main ()
17262 if ((ac__type_new_ *) 0)
17263 return 0;
17264 if (sizeof (ac__type_new_))
17265 return 0;
17267 return 0;
17269 _ACEOF
17270 rm -f conftest.$ac_objext
17271 if { (ac_try="$ac_compile"
17272 case "(($ac_try" in
17273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17274 *) ac_try_echo=$ac_try;;
17275 esac
17276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17277 (eval "$ac_compile") 2>conftest.er1
17278 ac_status=$?
17279 grep -v '^ *+' conftest.er1 >conftest.err
17280 rm -f conftest.er1
17281 cat conftest.err >&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } && {
17284 test -z "$ac_c_werror_flag" ||
17285 test ! -s conftest.err
17286 } && test -s conftest.$ac_objext; then
17287 ac_cv_type_ssize_t=yes
17288 else
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.$ac_ext >&5
17292 ac_cv_type_ssize_t=no
17295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17297 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17298 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17299 if test $ac_cv_type_ssize_t = yes; then
17301 cat >>confdefs.h <<_ACEOF
17302 #define HAVE_SSIZE_T 1
17303 _ACEOF
17307 { echo "$as_me:$LINENO: checking for long long" >&5
17308 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17309 if test "${ac_cv_type_long_long+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 else
17312 cat >conftest.$ac_ext <<_ACEOF
17313 /* confdefs.h. */
17314 _ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17318 $ac_includes_default
17319 typedef long long ac__type_new_;
17321 main ()
17323 if ((ac__type_new_ *) 0)
17324 return 0;
17325 if (sizeof (ac__type_new_))
17326 return 0;
17328 return 0;
17330 _ACEOF
17331 rm -f conftest.$ac_objext
17332 if { (ac_try="$ac_compile"
17333 case "(($ac_try" in
17334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17335 *) ac_try_echo=$ac_try;;
17336 esac
17337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17338 (eval "$ac_compile") 2>conftest.er1
17339 ac_status=$?
17340 grep -v '^ *+' conftest.er1 >conftest.err
17341 rm -f conftest.er1
17342 cat conftest.err >&5
17343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } && {
17345 test -z "$ac_c_werror_flag" ||
17346 test ! -s conftest.err
17347 } && test -s conftest.$ac_objext; then
17348 ac_cv_type_long_long=yes
17349 else
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17353 ac_cv_type_long_long=no
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17359 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17360 if test $ac_cv_type_long_long = yes; then
17362 cat >>confdefs.h <<_ACEOF
17363 #define HAVE_LONG_LONG 1
17364 _ACEOF
17368 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17369 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17370 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17372 else
17373 cat >conftest.$ac_ext <<_ACEOF
17374 /* confdefs.h. */
17375 _ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17379 $ac_includes_default
17380 typedef fsblkcnt_t ac__type_new_;
17382 main ()
17384 if ((ac__type_new_ *) 0)
17385 return 0;
17386 if (sizeof (ac__type_new_))
17387 return 0;
17389 return 0;
17391 _ACEOF
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17397 esac
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_c_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.$ac_objext; then
17409 ac_cv_type_fsblkcnt_t=yes
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17414 ac_cv_type_fsblkcnt_t=no
17417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17420 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17421 if test $ac_cv_type_fsblkcnt_t = yes; then
17423 cat >>confdefs.h <<_ACEOF
17424 #define HAVE_FSBLKCNT_T 1
17425 _ACEOF
17429 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17430 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17431 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17433 else
17434 cat >conftest.$ac_ext <<_ACEOF
17435 /* confdefs.h. */
17436 _ACEOF
17437 cat confdefs.h >>conftest.$ac_ext
17438 cat >>conftest.$ac_ext <<_ACEOF
17439 /* end confdefs.h. */
17440 $ac_includes_default
17441 typedef fsfilcnt_t ac__type_new_;
17443 main ()
17445 if ((ac__type_new_ *) 0)
17446 return 0;
17447 if (sizeof (ac__type_new_))
17448 return 0;
17450 return 0;
17452 _ACEOF
17453 rm -f conftest.$ac_objext
17454 if { (ac_try="$ac_compile"
17455 case "(($ac_try" in
17456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17457 *) ac_try_echo=$ac_try;;
17458 esac
17459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17460 (eval "$ac_compile") 2>conftest.er1
17461 ac_status=$?
17462 grep -v '^ *+' conftest.er1 >conftest.err
17463 rm -f conftest.er1
17464 cat conftest.err >&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } && {
17467 test -z "$ac_c_werror_flag" ||
17468 test ! -s conftest.err
17469 } && test -s conftest.$ac_objext; then
17470 ac_cv_type_fsfilcnt_t=yes
17471 else
17472 echo "$as_me: failed program was:" >&5
17473 sed 's/^/| /' conftest.$ac_ext >&5
17475 ac_cv_type_fsfilcnt_t=no
17478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17480 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17481 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17482 if test $ac_cv_type_fsfilcnt_t = yes; then
17484 cat >>confdefs.h <<_ACEOF
17485 #define HAVE_FSFILCNT_T 1
17486 _ACEOF
17491 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17492 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17493 if test "${ac_cv_type_sigset_t+set}" = set; then
17494 echo $ECHO_N "(cached) $ECHO_C" >&6
17495 else
17496 cat >conftest.$ac_ext <<_ACEOF
17497 /* confdefs.h. */
17498 _ACEOF
17499 cat confdefs.h >>conftest.$ac_ext
17500 cat >>conftest.$ac_ext <<_ACEOF
17501 /* end confdefs.h. */
17502 #include <signal.h>
17504 typedef sigset_t ac__type_new_;
17506 main ()
17508 if ((ac__type_new_ *) 0)
17509 return 0;
17510 if (sizeof (ac__type_new_))
17511 return 0;
17513 return 0;
17515 _ACEOF
17516 rm -f conftest.$ac_objext
17517 if { (ac_try="$ac_compile"
17518 case "(($ac_try" in
17519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17520 *) ac_try_echo=$ac_try;;
17521 esac
17522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17523 (eval "$ac_compile") 2>conftest.er1
17524 ac_status=$?
17525 grep -v '^ *+' conftest.er1 >conftest.err
17526 rm -f conftest.er1
17527 cat conftest.err >&5
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); } && {
17530 test -z "$ac_c_werror_flag" ||
17531 test ! -s conftest.err
17532 } && test -s conftest.$ac_objext; then
17533 ac_cv_type_sigset_t=yes
17534 else
17535 echo "$as_me: failed program was:" >&5
17536 sed 's/^/| /' conftest.$ac_ext >&5
17538 ac_cv_type_sigset_t=no
17541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17543 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17544 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17545 if test $ac_cv_type_sigset_t = yes; then
17547 cat >>confdefs.h <<_ACEOF
17548 #define HAVE_SIGSET_T 1
17549 _ACEOF
17554 { echo "$as_me:$LINENO: checking for request_sense" >&5
17555 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17556 if test "${ac_cv_type_request_sense+set}" = set; then
17557 echo $ECHO_N "(cached) $ECHO_C" >&6
17558 else
17559 cat >conftest.$ac_ext <<_ACEOF
17560 /* confdefs.h. */
17561 _ACEOF
17562 cat confdefs.h >>conftest.$ac_ext
17563 cat >>conftest.$ac_ext <<_ACEOF
17564 /* end confdefs.h. */
17565 #include <linux/cdrom.h>
17567 typedef request_sense ac__type_new_;
17569 main ()
17571 if ((ac__type_new_ *) 0)
17572 return 0;
17573 if (sizeof (ac__type_new_))
17574 return 0;
17576 return 0;
17578 _ACEOF
17579 rm -f conftest.$ac_objext
17580 if { (ac_try="$ac_compile"
17581 case "(($ac_try" in
17582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17583 *) ac_try_echo=$ac_try;;
17584 esac
17585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17586 (eval "$ac_compile") 2>conftest.er1
17587 ac_status=$?
17588 grep -v '^ *+' conftest.er1 >conftest.err
17589 rm -f conftest.er1
17590 cat conftest.err >&5
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); } && {
17593 test -z "$ac_c_werror_flag" ||
17594 test ! -s conftest.err
17595 } && test -s conftest.$ac_objext; then
17596 ac_cv_type_request_sense=yes
17597 else
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.$ac_ext >&5
17601 ac_cv_type_request_sense=no
17604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17607 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17608 if test $ac_cv_type_request_sense = yes; then
17610 cat >>confdefs.h <<_ACEOF
17611 #define HAVE_REQUEST_SENSE 1
17612 _ACEOF
17618 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17619 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17620 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17621 echo $ECHO_N "(cached) $ECHO_C" >&6
17622 else
17623 cat >conftest.$ac_ext <<_ACEOF
17624 /* confdefs.h. */
17625 _ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h. */
17629 #ifdef HAVE_LINUX_INPUT_H
17630 #include <linux/input.h>
17631 #endif
17634 main ()
17636 static struct ff_effect ac_aggr;
17637 if (ac_aggr.direction)
17638 return 0;
17640 return 0;
17642 _ACEOF
17643 rm -f conftest.$ac_objext
17644 if { (ac_try="$ac_compile"
17645 case "(($ac_try" in
17646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17647 *) ac_try_echo=$ac_try;;
17648 esac
17649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17650 (eval "$ac_compile") 2>conftest.er1
17651 ac_status=$?
17652 grep -v '^ *+' conftest.er1 >conftest.err
17653 rm -f conftest.er1
17654 cat conftest.err >&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } && {
17657 test -z "$ac_c_werror_flag" ||
17658 test ! -s conftest.err
17659 } && test -s conftest.$ac_objext; then
17660 ac_cv_member_struct_ff_effect_direction=yes
17661 else
17662 echo "$as_me: failed program was:" >&5
17663 sed 's/^/| /' conftest.$ac_ext >&5
17665 cat >conftest.$ac_ext <<_ACEOF
17666 /* confdefs.h. */
17667 _ACEOF
17668 cat confdefs.h >>conftest.$ac_ext
17669 cat >>conftest.$ac_ext <<_ACEOF
17670 /* end confdefs.h. */
17671 #ifdef HAVE_LINUX_INPUT_H
17672 #include <linux/input.h>
17673 #endif
17676 main ()
17678 static struct ff_effect ac_aggr;
17679 if (sizeof ac_aggr.direction)
17680 return 0;
17682 return 0;
17684 _ACEOF
17685 rm -f conftest.$ac_objext
17686 if { (ac_try="$ac_compile"
17687 case "(($ac_try" in
17688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17689 *) ac_try_echo=$ac_try;;
17690 esac
17691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17692 (eval "$ac_compile") 2>conftest.er1
17693 ac_status=$?
17694 grep -v '^ *+' conftest.er1 >conftest.err
17695 rm -f conftest.er1
17696 cat conftest.err >&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } && {
17699 test -z "$ac_c_werror_flag" ||
17700 test ! -s conftest.err
17701 } && test -s conftest.$ac_objext; then
17702 ac_cv_member_struct_ff_effect_direction=yes
17703 else
17704 echo "$as_me: failed program was:" >&5
17705 sed 's/^/| /' conftest.$ac_ext >&5
17707 ac_cv_member_struct_ff_effect_direction=no
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17715 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17716 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17717 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17719 cat >>confdefs.h <<_ACEOF
17720 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17721 _ACEOF
17727 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17728 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17729 if test "${wine_cv_have_sigaddset+set}" = set; then
17730 echo $ECHO_N "(cached) $ECHO_C" >&6
17731 else
17732 cat >conftest.$ac_ext <<_ACEOF
17733 /* confdefs.h. */
17734 _ACEOF
17735 cat confdefs.h >>conftest.$ac_ext
17736 cat >>conftest.$ac_ext <<_ACEOF
17737 /* end confdefs.h. */
17738 #include <signal.h>
17740 main ()
17742 sigset_t set; sigaddset(&set,SIGTERM);
17744 return 0;
17746 _ACEOF
17747 rm -f conftest.$ac_objext conftest$ac_exeext
17748 if { (ac_try="$ac_link"
17749 case "(($ac_try" in
17750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17751 *) ac_try_echo=$ac_try;;
17752 esac
17753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17754 (eval "$ac_link") 2>conftest.er1
17755 ac_status=$?
17756 grep -v '^ *+' conftest.er1 >conftest.err
17757 rm -f conftest.er1
17758 cat conftest.err >&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } && {
17761 test -z "$ac_c_werror_flag" ||
17762 test ! -s conftest.err
17763 } && test -s conftest$ac_exeext &&
17764 $as_test_x conftest$ac_exeext; then
17765 wine_cv_have_sigaddset=yes
17766 else
17767 echo "$as_me: failed program was:" >&5
17768 sed 's/^/| /' conftest.$ac_ext >&5
17770 wine_cv_have_sigaddset=no
17773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17774 conftest$ac_exeext conftest.$ac_ext
17776 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17777 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17778 if test "$wine_cv_have_sigaddset" = "yes"
17779 then
17781 cat >>confdefs.h <<\_ACEOF
17782 #define HAVE_SIGADDSET 1
17783 _ACEOF
17788 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17789 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17790 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17792 else
17793 cat >conftest.$ac_ext <<_ACEOF
17794 /* confdefs.h. */
17795 _ACEOF
17796 cat confdefs.h >>conftest.$ac_ext
17797 cat >>conftest.$ac_ext <<_ACEOF
17798 /* end confdefs.h. */
17799 #include <netdb.h>
17801 main ()
17804 char *name=0;
17805 struct hostent he;
17806 struct hostent *result;
17807 char *buf=0;
17808 int bufsize=0;
17809 int res,errnr;
17810 char *addr=0;
17811 int addrlen=0;
17812 int addrtype=0;
17813 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17814 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17817 return 0;
17819 _ACEOF
17820 rm -f conftest.$ac_objext conftest$ac_exeext
17821 if { (ac_try="$ac_link"
17822 case "(($ac_try" in
17823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17824 *) ac_try_echo=$ac_try;;
17825 esac
17826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17827 (eval "$ac_link") 2>conftest.er1
17828 ac_status=$?
17829 grep -v '^ *+' conftest.er1 >conftest.err
17830 rm -f conftest.er1
17831 cat conftest.err >&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); } && {
17834 test -z "$ac_c_werror_flag" ||
17835 test ! -s conftest.err
17836 } && test -s conftest$ac_exeext &&
17837 $as_test_x conftest$ac_exeext; then
17838 wine_cv_linux_gethostbyname_r_6=yes
17839 else
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.$ac_ext >&5
17843 wine_cv_linux_gethostbyname_r_6=no
17847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17848 conftest$ac_exeext conftest.$ac_ext
17851 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17852 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17853 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17854 then
17856 cat >>confdefs.h <<\_ACEOF
17857 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17858 _ACEOF
17862 if test "$ac_cv_header_linux_joystick_h" = "yes"
17863 then
17864 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17865 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17866 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17867 echo $ECHO_N "(cached) $ECHO_C" >&6
17868 else
17869 cat >conftest.$ac_ext <<_ACEOF
17870 /* confdefs.h. */
17871 _ACEOF
17872 cat confdefs.h >>conftest.$ac_ext
17873 cat >>conftest.$ac_ext <<_ACEOF
17874 /* end confdefs.h. */
17876 #include <sys/ioctl.h>
17877 #include <sys/types.h>
17878 #include <linux/joystick.h>
17880 struct js_event blub;
17881 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17882 #error "no 2.2 header"
17883 #endif
17886 main ()
17888 /*empty*/
17890 return 0;
17892 _ACEOF
17893 rm -f conftest.$ac_objext
17894 if { (ac_try="$ac_compile"
17895 case "(($ac_try" in
17896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17897 *) ac_try_echo=$ac_try;;
17898 esac
17899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17900 (eval "$ac_compile") 2>conftest.er1
17901 ac_status=$?
17902 grep -v '^ *+' conftest.er1 >conftest.err
17903 rm -f conftest.er1
17904 cat conftest.err >&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } && {
17907 test -z "$ac_c_werror_flag" ||
17908 test ! -s conftest.err
17909 } && test -s conftest.$ac_objext; then
17910 wine_cv_linux_joystick_22_api=yes
17911 else
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.$ac_ext >&5
17915 wine_cv_linux_joystick_22_api=no
17918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17921 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17922 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17923 if test "$wine_cv_linux_joystick_22_api" = "yes"
17924 then
17926 cat >>confdefs.h <<\_ACEOF
17927 #define HAVE_LINUX_22_JOYSTICK_API 1
17928 _ACEOF
17934 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17935 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17936 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17939 cat >conftest.$ac_ext <<_ACEOF
17940 /* confdefs.h. */
17941 _ACEOF
17942 cat confdefs.h >>conftest.$ac_ext
17943 cat >>conftest.$ac_ext <<_ACEOF
17944 /* end confdefs.h. */
17945 #include <sys/types.h>
17946 #ifdef HAVE_SYS_PARAM_H
17947 # include <sys/param.h>
17948 #endif
17949 #ifdef HAVE_SYS_MOUNT_H
17950 # include <sys/mount.h>
17951 #endif
17952 #ifdef HAVE_SYS_VFS_H
17953 # include <sys/vfs.h>
17954 #endif
17955 #ifdef HAVE_SYS_STATFS_H
17956 # include <sys/statfs.h>
17957 #endif
17960 main ()
17962 static struct statfs ac_aggr;
17963 if (ac_aggr.f_bfree)
17964 return 0;
17966 return 0;
17968 _ACEOF
17969 rm -f conftest.$ac_objext
17970 if { (ac_try="$ac_compile"
17971 case "(($ac_try" in
17972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17973 *) ac_try_echo=$ac_try;;
17974 esac
17975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17976 (eval "$ac_compile") 2>conftest.er1
17977 ac_status=$?
17978 grep -v '^ *+' conftest.er1 >conftest.err
17979 rm -f conftest.er1
17980 cat conftest.err >&5
17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982 (exit $ac_status); } && {
17983 test -z "$ac_c_werror_flag" ||
17984 test ! -s conftest.err
17985 } && test -s conftest.$ac_objext; then
17986 ac_cv_member_struct_statfs_f_bfree=yes
17987 else
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17991 cat >conftest.$ac_ext <<_ACEOF
17992 /* confdefs.h. */
17993 _ACEOF
17994 cat confdefs.h >>conftest.$ac_ext
17995 cat >>conftest.$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
17997 #include <sys/types.h>
17998 #ifdef HAVE_SYS_PARAM_H
17999 # include <sys/param.h>
18000 #endif
18001 #ifdef HAVE_SYS_MOUNT_H
18002 # include <sys/mount.h>
18003 #endif
18004 #ifdef HAVE_SYS_VFS_H
18005 # include <sys/vfs.h>
18006 #endif
18007 #ifdef HAVE_SYS_STATFS_H
18008 # include <sys/statfs.h>
18009 #endif
18012 main ()
18014 static struct statfs ac_aggr;
18015 if (sizeof ac_aggr.f_bfree)
18016 return 0;
18018 return 0;
18020 _ACEOF
18021 rm -f conftest.$ac_objext
18022 if { (ac_try="$ac_compile"
18023 case "(($ac_try" in
18024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18025 *) ac_try_echo=$ac_try;;
18026 esac
18027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18028 (eval "$ac_compile") 2>conftest.er1
18029 ac_status=$?
18030 grep -v '^ *+' conftest.er1 >conftest.err
18031 rm -f conftest.er1
18032 cat conftest.err >&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } && {
18035 test -z "$ac_c_werror_flag" ||
18036 test ! -s conftest.err
18037 } && test -s conftest.$ac_objext; then
18038 ac_cv_member_struct_statfs_f_bfree=yes
18039 else
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.$ac_ext >&5
18043 ac_cv_member_struct_statfs_f_bfree=no
18046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18052 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18053 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18055 cat >>confdefs.h <<_ACEOF
18056 #define HAVE_STRUCT_STATFS_F_BFREE 1
18057 _ACEOF
18061 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18062 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18063 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18065 else
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h. */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #include <sys/types.h>
18073 #ifdef HAVE_SYS_PARAM_H
18074 # include <sys/param.h>
18075 #endif
18076 #ifdef HAVE_SYS_MOUNT_H
18077 # include <sys/mount.h>
18078 #endif
18079 #ifdef HAVE_SYS_VFS_H
18080 # include <sys/vfs.h>
18081 #endif
18082 #ifdef HAVE_SYS_STATFS_H
18083 # include <sys/statfs.h>
18084 #endif
18087 main ()
18089 static struct statfs ac_aggr;
18090 if (ac_aggr.f_bavail)
18091 return 0;
18093 return 0;
18095 _ACEOF
18096 rm -f conftest.$ac_objext
18097 if { (ac_try="$ac_compile"
18098 case "(($ac_try" in
18099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18100 *) ac_try_echo=$ac_try;;
18101 esac
18102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18103 (eval "$ac_compile") 2>conftest.er1
18104 ac_status=$?
18105 grep -v '^ *+' conftest.er1 >conftest.err
18106 rm -f conftest.er1
18107 cat conftest.err >&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); } && {
18110 test -z "$ac_c_werror_flag" ||
18111 test ! -s conftest.err
18112 } && test -s conftest.$ac_objext; then
18113 ac_cv_member_struct_statfs_f_bavail=yes
18114 else
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.$ac_ext >&5
18118 cat >conftest.$ac_ext <<_ACEOF
18119 /* confdefs.h. */
18120 _ACEOF
18121 cat confdefs.h >>conftest.$ac_ext
18122 cat >>conftest.$ac_ext <<_ACEOF
18123 /* end confdefs.h. */
18124 #include <sys/types.h>
18125 #ifdef HAVE_SYS_PARAM_H
18126 # include <sys/param.h>
18127 #endif
18128 #ifdef HAVE_SYS_MOUNT_H
18129 # include <sys/mount.h>
18130 #endif
18131 #ifdef HAVE_SYS_VFS_H
18132 # include <sys/vfs.h>
18133 #endif
18134 #ifdef HAVE_SYS_STATFS_H
18135 # include <sys/statfs.h>
18136 #endif
18139 main ()
18141 static struct statfs ac_aggr;
18142 if (sizeof ac_aggr.f_bavail)
18143 return 0;
18145 return 0;
18147 _ACEOF
18148 rm -f conftest.$ac_objext
18149 if { (ac_try="$ac_compile"
18150 case "(($ac_try" in
18151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18152 *) ac_try_echo=$ac_try;;
18153 esac
18154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18155 (eval "$ac_compile") 2>conftest.er1
18156 ac_status=$?
18157 grep -v '^ *+' conftest.er1 >conftest.err
18158 rm -f conftest.er1
18159 cat conftest.err >&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } && {
18162 test -z "$ac_c_werror_flag" ||
18163 test ! -s conftest.err
18164 } && test -s conftest.$ac_objext; then
18165 ac_cv_member_struct_statfs_f_bavail=yes
18166 else
18167 echo "$as_me: failed program was:" >&5
18168 sed 's/^/| /' conftest.$ac_ext >&5
18170 ac_cv_member_struct_statfs_f_bavail=no
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18178 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18179 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18180 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18182 cat >>confdefs.h <<_ACEOF
18183 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18184 _ACEOF
18188 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18189 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18190 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18191 echo $ECHO_N "(cached) $ECHO_C" >&6
18192 else
18193 cat >conftest.$ac_ext <<_ACEOF
18194 /* confdefs.h. */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 #include <sys/types.h>
18200 #ifdef HAVE_SYS_PARAM_H
18201 # include <sys/param.h>
18202 #endif
18203 #ifdef HAVE_SYS_MOUNT_H
18204 # include <sys/mount.h>
18205 #endif
18206 #ifdef HAVE_SYS_VFS_H
18207 # include <sys/vfs.h>
18208 #endif
18209 #ifdef HAVE_SYS_STATFS_H
18210 # include <sys/statfs.h>
18211 #endif
18214 main ()
18216 static struct statfs ac_aggr;
18217 if (ac_aggr.f_frsize)
18218 return 0;
18220 return 0;
18222 _ACEOF
18223 rm -f conftest.$ac_objext
18224 if { (ac_try="$ac_compile"
18225 case "(($ac_try" in
18226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18227 *) ac_try_echo=$ac_try;;
18228 esac
18229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18230 (eval "$ac_compile") 2>conftest.er1
18231 ac_status=$?
18232 grep -v '^ *+' conftest.er1 >conftest.err
18233 rm -f conftest.er1
18234 cat conftest.err >&5
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); } && {
18237 test -z "$ac_c_werror_flag" ||
18238 test ! -s conftest.err
18239 } && test -s conftest.$ac_objext; then
18240 ac_cv_member_struct_statfs_f_frsize=yes
18241 else
18242 echo "$as_me: failed program was:" >&5
18243 sed 's/^/| /' conftest.$ac_ext >&5
18245 cat >conftest.$ac_ext <<_ACEOF
18246 /* confdefs.h. */
18247 _ACEOF
18248 cat confdefs.h >>conftest.$ac_ext
18249 cat >>conftest.$ac_ext <<_ACEOF
18250 /* end confdefs.h. */
18251 #include <sys/types.h>
18252 #ifdef HAVE_SYS_PARAM_H
18253 # include <sys/param.h>
18254 #endif
18255 #ifdef HAVE_SYS_MOUNT_H
18256 # include <sys/mount.h>
18257 #endif
18258 #ifdef HAVE_SYS_VFS_H
18259 # include <sys/vfs.h>
18260 #endif
18261 #ifdef HAVE_SYS_STATFS_H
18262 # include <sys/statfs.h>
18263 #endif
18266 main ()
18268 static struct statfs ac_aggr;
18269 if (sizeof ac_aggr.f_frsize)
18270 return 0;
18272 return 0;
18274 _ACEOF
18275 rm -f conftest.$ac_objext
18276 if { (ac_try="$ac_compile"
18277 case "(($ac_try" in
18278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18279 *) ac_try_echo=$ac_try;;
18280 esac
18281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18282 (eval "$ac_compile") 2>conftest.er1
18283 ac_status=$?
18284 grep -v '^ *+' conftest.er1 >conftest.err
18285 rm -f conftest.er1
18286 cat conftest.err >&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } && {
18289 test -z "$ac_c_werror_flag" ||
18290 test ! -s conftest.err
18291 } && test -s conftest.$ac_objext; then
18292 ac_cv_member_struct_statfs_f_frsize=yes
18293 else
18294 echo "$as_me: failed program was:" >&5
18295 sed 's/^/| /' conftest.$ac_ext >&5
18297 ac_cv_member_struct_statfs_f_frsize=no
18300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18305 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18306 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18307 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18309 cat >>confdefs.h <<_ACEOF
18310 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18311 _ACEOF
18315 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18316 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18317 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18318 echo $ECHO_N "(cached) $ECHO_C" >&6
18319 else
18320 cat >conftest.$ac_ext <<_ACEOF
18321 /* confdefs.h. */
18322 _ACEOF
18323 cat confdefs.h >>conftest.$ac_ext
18324 cat >>conftest.$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18326 #include <sys/types.h>
18327 #ifdef HAVE_SYS_PARAM_H
18328 # include <sys/param.h>
18329 #endif
18330 #ifdef HAVE_SYS_MOUNT_H
18331 # include <sys/mount.h>
18332 #endif
18333 #ifdef HAVE_SYS_VFS_H
18334 # include <sys/vfs.h>
18335 #endif
18336 #ifdef HAVE_SYS_STATFS_H
18337 # include <sys/statfs.h>
18338 #endif
18341 main ()
18343 static struct statfs ac_aggr;
18344 if (ac_aggr.f_ffree)
18345 return 0;
18347 return 0;
18349 _ACEOF
18350 rm -f conftest.$ac_objext
18351 if { (ac_try="$ac_compile"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18354 *) ac_try_echo=$ac_try;;
18355 esac
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_compile") 2>conftest.er1
18358 ac_status=$?
18359 grep -v '^ *+' conftest.er1 >conftest.err
18360 rm -f conftest.er1
18361 cat conftest.err >&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_c_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest.$ac_objext; then
18367 ac_cv_member_struct_statfs_f_ffree=yes
18368 else
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.$ac_ext >&5
18372 cat >conftest.$ac_ext <<_ACEOF
18373 /* confdefs.h. */
18374 _ACEOF
18375 cat confdefs.h >>conftest.$ac_ext
18376 cat >>conftest.$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18378 #include <sys/types.h>
18379 #ifdef HAVE_SYS_PARAM_H
18380 # include <sys/param.h>
18381 #endif
18382 #ifdef HAVE_SYS_MOUNT_H
18383 # include <sys/mount.h>
18384 #endif
18385 #ifdef HAVE_SYS_VFS_H
18386 # include <sys/vfs.h>
18387 #endif
18388 #ifdef HAVE_SYS_STATFS_H
18389 # include <sys/statfs.h>
18390 #endif
18393 main ()
18395 static struct statfs ac_aggr;
18396 if (sizeof ac_aggr.f_ffree)
18397 return 0;
18399 return 0;
18401 _ACEOF
18402 rm -f conftest.$ac_objext
18403 if { (ac_try="$ac_compile"
18404 case "(($ac_try" in
18405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18406 *) ac_try_echo=$ac_try;;
18407 esac
18408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18409 (eval "$ac_compile") 2>conftest.er1
18410 ac_status=$?
18411 grep -v '^ *+' conftest.er1 >conftest.err
18412 rm -f conftest.er1
18413 cat conftest.err >&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } && {
18416 test -z "$ac_c_werror_flag" ||
18417 test ! -s conftest.err
18418 } && test -s conftest.$ac_objext; then
18419 ac_cv_member_struct_statfs_f_ffree=yes
18420 else
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18424 ac_cv_member_struct_statfs_f_ffree=no
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18433 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18434 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18436 cat >>confdefs.h <<_ACEOF
18437 #define HAVE_STRUCT_STATFS_F_FFREE 1
18438 _ACEOF
18442 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18443 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18444 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18446 else
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 #include <sys/types.h>
18454 #ifdef HAVE_SYS_PARAM_H
18455 # include <sys/param.h>
18456 #endif
18457 #ifdef HAVE_SYS_MOUNT_H
18458 # include <sys/mount.h>
18459 #endif
18460 #ifdef HAVE_SYS_VFS_H
18461 # include <sys/vfs.h>
18462 #endif
18463 #ifdef HAVE_SYS_STATFS_H
18464 # include <sys/statfs.h>
18465 #endif
18468 main ()
18470 static struct statfs ac_aggr;
18471 if (ac_aggr.f_favail)
18472 return 0;
18474 return 0;
18476 _ACEOF
18477 rm -f conftest.$ac_objext
18478 if { (ac_try="$ac_compile"
18479 case "(($ac_try" in
18480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18481 *) ac_try_echo=$ac_try;;
18482 esac
18483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18484 (eval "$ac_compile") 2>conftest.er1
18485 ac_status=$?
18486 grep -v '^ *+' conftest.er1 >conftest.err
18487 rm -f conftest.er1
18488 cat conftest.err >&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); } && {
18491 test -z "$ac_c_werror_flag" ||
18492 test ! -s conftest.err
18493 } && test -s conftest.$ac_objext; then
18494 ac_cv_member_struct_statfs_f_favail=yes
18495 else
18496 echo "$as_me: failed program was:" >&5
18497 sed 's/^/| /' conftest.$ac_ext >&5
18499 cat >conftest.$ac_ext <<_ACEOF
18500 /* confdefs.h. */
18501 _ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 #include <sys/types.h>
18506 #ifdef HAVE_SYS_PARAM_H
18507 # include <sys/param.h>
18508 #endif
18509 #ifdef HAVE_SYS_MOUNT_H
18510 # include <sys/mount.h>
18511 #endif
18512 #ifdef HAVE_SYS_VFS_H
18513 # include <sys/vfs.h>
18514 #endif
18515 #ifdef HAVE_SYS_STATFS_H
18516 # include <sys/statfs.h>
18517 #endif
18520 main ()
18522 static struct statfs ac_aggr;
18523 if (sizeof ac_aggr.f_favail)
18524 return 0;
18526 return 0;
18528 _ACEOF
18529 rm -f conftest.$ac_objext
18530 if { (ac_try="$ac_compile"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18534 esac
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_compile") 2>conftest.er1
18537 ac_status=$?
18538 grep -v '^ *+' conftest.er1 >conftest.err
18539 rm -f conftest.er1
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_c_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then
18546 ac_cv_member_struct_statfs_f_favail=yes
18547 else
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18551 ac_cv_member_struct_statfs_f_favail=no
18554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18560 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18561 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18563 cat >>confdefs.h <<_ACEOF
18564 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18565 _ACEOF
18569 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18570 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18571 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18572 echo $ECHO_N "(cached) $ECHO_C" >&6
18573 else
18574 cat >conftest.$ac_ext <<_ACEOF
18575 /* confdefs.h. */
18576 _ACEOF
18577 cat confdefs.h >>conftest.$ac_ext
18578 cat >>conftest.$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 #include <sys/types.h>
18581 #ifdef HAVE_SYS_PARAM_H
18582 # include <sys/param.h>
18583 #endif
18584 #ifdef HAVE_SYS_MOUNT_H
18585 # include <sys/mount.h>
18586 #endif
18587 #ifdef HAVE_SYS_VFS_H
18588 # include <sys/vfs.h>
18589 #endif
18590 #ifdef HAVE_SYS_STATFS_H
18591 # include <sys/statfs.h>
18592 #endif
18595 main ()
18597 static struct statfs ac_aggr;
18598 if (ac_aggr.f_namelen)
18599 return 0;
18601 return 0;
18603 _ACEOF
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18608 *) ac_try_echo=$ac_try;;
18609 esac
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18612 ac_status=$?
18613 grep -v '^ *+' conftest.er1 >conftest.err
18614 rm -f conftest.er1
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_c_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.$ac_objext; then
18621 ac_cv_member_struct_statfs_f_namelen=yes
18622 else
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18626 cat >conftest.$ac_ext <<_ACEOF
18627 /* confdefs.h. */
18628 _ACEOF
18629 cat confdefs.h >>conftest.$ac_ext
18630 cat >>conftest.$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 #include <sys/types.h>
18633 #ifdef HAVE_SYS_PARAM_H
18634 # include <sys/param.h>
18635 #endif
18636 #ifdef HAVE_SYS_MOUNT_H
18637 # include <sys/mount.h>
18638 #endif
18639 #ifdef HAVE_SYS_VFS_H
18640 # include <sys/vfs.h>
18641 #endif
18642 #ifdef HAVE_SYS_STATFS_H
18643 # include <sys/statfs.h>
18644 #endif
18647 main ()
18649 static struct statfs ac_aggr;
18650 if (sizeof ac_aggr.f_namelen)
18651 return 0;
18653 return 0;
18655 _ACEOF
18656 rm -f conftest.$ac_objext
18657 if { (ac_try="$ac_compile"
18658 case "(($ac_try" in
18659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18660 *) ac_try_echo=$ac_try;;
18661 esac
18662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18663 (eval "$ac_compile") 2>conftest.er1
18664 ac_status=$?
18665 grep -v '^ *+' conftest.er1 >conftest.err
18666 rm -f conftest.er1
18667 cat conftest.err >&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } && {
18670 test -z "$ac_c_werror_flag" ||
18671 test ! -s conftest.err
18672 } && test -s conftest.$ac_objext; then
18673 ac_cv_member_struct_statfs_f_namelen=yes
18674 else
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.$ac_ext >&5
18678 ac_cv_member_struct_statfs_f_namelen=no
18681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18686 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18687 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18688 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18690 cat >>confdefs.h <<_ACEOF
18691 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18692 _ACEOF
18698 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18699 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18700 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18701 echo $ECHO_N "(cached) $ECHO_C" >&6
18702 else
18703 cat >conftest.$ac_ext <<_ACEOF
18704 /* confdefs.h. */
18705 _ACEOF
18706 cat confdefs.h >>conftest.$ac_ext
18707 cat >>conftest.$ac_ext <<_ACEOF
18708 /* end confdefs.h. */
18709 #ifdef HAVE_SYS_STATVFS_H
18710 #include <sys/statvfs.h>
18711 #endif
18714 main ()
18716 static struct statvfs ac_aggr;
18717 if (ac_aggr.f_blocks)
18718 return 0;
18720 return 0;
18722 _ACEOF
18723 rm -f conftest.$ac_objext
18724 if { (ac_try="$ac_compile"
18725 case "(($ac_try" in
18726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18727 *) ac_try_echo=$ac_try;;
18728 esac
18729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18730 (eval "$ac_compile") 2>conftest.er1
18731 ac_status=$?
18732 grep -v '^ *+' conftest.er1 >conftest.err
18733 rm -f conftest.er1
18734 cat conftest.err >&5
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); } && {
18737 test -z "$ac_c_werror_flag" ||
18738 test ! -s conftest.err
18739 } && test -s conftest.$ac_objext; then
18740 ac_cv_member_struct_statvfs_f_blocks=yes
18741 else
18742 echo "$as_me: failed program was:" >&5
18743 sed 's/^/| /' conftest.$ac_ext >&5
18745 cat >conftest.$ac_ext <<_ACEOF
18746 /* confdefs.h. */
18747 _ACEOF
18748 cat confdefs.h >>conftest.$ac_ext
18749 cat >>conftest.$ac_ext <<_ACEOF
18750 /* end confdefs.h. */
18751 #ifdef HAVE_SYS_STATVFS_H
18752 #include <sys/statvfs.h>
18753 #endif
18756 main ()
18758 static struct statvfs ac_aggr;
18759 if (sizeof ac_aggr.f_blocks)
18760 return 0;
18762 return 0;
18764 _ACEOF
18765 rm -f conftest.$ac_objext
18766 if { (ac_try="$ac_compile"
18767 case "(($ac_try" in
18768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18769 *) ac_try_echo=$ac_try;;
18770 esac
18771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18772 (eval "$ac_compile") 2>conftest.er1
18773 ac_status=$?
18774 grep -v '^ *+' conftest.er1 >conftest.err
18775 rm -f conftest.er1
18776 cat conftest.err >&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } && {
18779 test -z "$ac_c_werror_flag" ||
18780 test ! -s conftest.err
18781 } && test -s conftest.$ac_objext; then
18782 ac_cv_member_struct_statvfs_f_blocks=yes
18783 else
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.$ac_ext >&5
18787 ac_cv_member_struct_statvfs_f_blocks=no
18790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18796 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18797 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18799 cat >>confdefs.h <<_ACEOF
18800 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18801 _ACEOF
18807 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18808 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18809 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18810 echo $ECHO_N "(cached) $ECHO_C" >&6
18811 else
18812 cat >conftest.$ac_ext <<_ACEOF
18813 /* confdefs.h. */
18814 _ACEOF
18815 cat confdefs.h >>conftest.$ac_ext
18816 cat >>conftest.$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18818 #include <sys/types.h>
18819 #ifdef HAVE_SYS_SOCKET_H
18820 # include <sys/socket.h>
18821 #endif
18822 #ifdef HAVE_SYS_UN_H
18823 # include <sys/un.h>
18824 #endif
18827 main ()
18829 static struct msghdr ac_aggr;
18830 if (ac_aggr.msg_accrights)
18831 return 0;
18833 return 0;
18835 _ACEOF
18836 rm -f conftest.$ac_objext
18837 if { (ac_try="$ac_compile"
18838 case "(($ac_try" in
18839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18840 *) ac_try_echo=$ac_try;;
18841 esac
18842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18843 (eval "$ac_compile") 2>conftest.er1
18844 ac_status=$?
18845 grep -v '^ *+' conftest.er1 >conftest.err
18846 rm -f conftest.er1
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } && {
18850 test -z "$ac_c_werror_flag" ||
18851 test ! -s conftest.err
18852 } && test -s conftest.$ac_objext; then
18853 ac_cv_member_struct_msghdr_msg_accrights=yes
18854 else
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18858 cat >conftest.$ac_ext <<_ACEOF
18859 /* confdefs.h. */
18860 _ACEOF
18861 cat confdefs.h >>conftest.$ac_ext
18862 cat >>conftest.$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 #include <sys/types.h>
18865 #ifdef HAVE_SYS_SOCKET_H
18866 # include <sys/socket.h>
18867 #endif
18868 #ifdef HAVE_SYS_UN_H
18869 # include <sys/un.h>
18870 #endif
18873 main ()
18875 static struct msghdr ac_aggr;
18876 if (sizeof ac_aggr.msg_accrights)
18877 return 0;
18879 return 0;
18881 _ACEOF
18882 rm -f conftest.$ac_objext
18883 if { (ac_try="$ac_compile"
18884 case "(($ac_try" in
18885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18886 *) ac_try_echo=$ac_try;;
18887 esac
18888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18889 (eval "$ac_compile") 2>conftest.er1
18890 ac_status=$?
18891 grep -v '^ *+' conftest.er1 >conftest.err
18892 rm -f conftest.er1
18893 cat conftest.err >&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } && {
18896 test -z "$ac_c_werror_flag" ||
18897 test ! -s conftest.err
18898 } && test -s conftest.$ac_objext; then
18899 ac_cv_member_struct_msghdr_msg_accrights=yes
18900 else
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18904 ac_cv_member_struct_msghdr_msg_accrights=no
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18913 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18914 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18916 cat >>confdefs.h <<_ACEOF
18917 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18918 _ACEOF
18922 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18923 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18924 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 else
18927 cat >conftest.$ac_ext <<_ACEOF
18928 /* confdefs.h. */
18929 _ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 #include <sys/types.h>
18934 #ifdef HAVE_SYS_SOCKET_H
18935 # include <sys/socket.h>
18936 #endif
18937 #ifdef HAVE_SYS_UN_H
18938 # include <sys/un.h>
18939 #endif
18942 main ()
18944 static struct sockaddr ac_aggr;
18945 if (ac_aggr.sa_len)
18946 return 0;
18948 return 0;
18950 _ACEOF
18951 rm -f conftest.$ac_objext
18952 if { (ac_try="$ac_compile"
18953 case "(($ac_try" in
18954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18955 *) ac_try_echo=$ac_try;;
18956 esac
18957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18958 (eval "$ac_compile") 2>conftest.er1
18959 ac_status=$?
18960 grep -v '^ *+' conftest.er1 >conftest.err
18961 rm -f conftest.er1
18962 cat conftest.err >&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); } && {
18965 test -z "$ac_c_werror_flag" ||
18966 test ! -s conftest.err
18967 } && test -s conftest.$ac_objext; then
18968 ac_cv_member_struct_sockaddr_sa_len=yes
18969 else
18970 echo "$as_me: failed program was:" >&5
18971 sed 's/^/| /' conftest.$ac_ext >&5
18973 cat >conftest.$ac_ext <<_ACEOF
18974 /* confdefs.h. */
18975 _ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 #include <sys/types.h>
18980 #ifdef HAVE_SYS_SOCKET_H
18981 # include <sys/socket.h>
18982 #endif
18983 #ifdef HAVE_SYS_UN_H
18984 # include <sys/un.h>
18985 #endif
18988 main ()
18990 static struct sockaddr ac_aggr;
18991 if (sizeof ac_aggr.sa_len)
18992 return 0;
18994 return 0;
18996 _ACEOF
18997 rm -f conftest.$ac_objext
18998 if { (ac_try="$ac_compile"
18999 case "(($ac_try" in
19000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19001 *) ac_try_echo=$ac_try;;
19002 esac
19003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19004 (eval "$ac_compile") 2>conftest.er1
19005 ac_status=$?
19006 grep -v '^ *+' conftest.er1 >conftest.err
19007 rm -f conftest.er1
19008 cat conftest.err >&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); } && {
19011 test -z "$ac_c_werror_flag" ||
19012 test ! -s conftest.err
19013 } && test -s conftest.$ac_objext; then
19014 ac_cv_member_struct_sockaddr_sa_len=yes
19015 else
19016 echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.$ac_ext >&5
19019 ac_cv_member_struct_sockaddr_sa_len=no
19022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19027 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19028 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19029 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19033 _ACEOF
19037 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19038 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19039 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19040 echo $ECHO_N "(cached) $ECHO_C" >&6
19041 else
19042 cat >conftest.$ac_ext <<_ACEOF
19043 /* confdefs.h. */
19044 _ACEOF
19045 cat confdefs.h >>conftest.$ac_ext
19046 cat >>conftest.$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 #include <sys/types.h>
19049 #ifdef HAVE_SYS_SOCKET_H
19050 # include <sys/socket.h>
19051 #endif
19052 #ifdef HAVE_SYS_UN_H
19053 # include <sys/un.h>
19054 #endif
19057 main ()
19059 static struct sockaddr_un ac_aggr;
19060 if (ac_aggr.sun_len)
19061 return 0;
19063 return 0;
19065 _ACEOF
19066 rm -f conftest.$ac_objext
19067 if { (ac_try="$ac_compile"
19068 case "(($ac_try" in
19069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19070 *) ac_try_echo=$ac_try;;
19071 esac
19072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19073 (eval "$ac_compile") 2>conftest.er1
19074 ac_status=$?
19075 grep -v '^ *+' conftest.er1 >conftest.err
19076 rm -f conftest.er1
19077 cat conftest.err >&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } && {
19080 test -z "$ac_c_werror_flag" ||
19081 test ! -s conftest.err
19082 } && test -s conftest.$ac_objext; then
19083 ac_cv_member_struct_sockaddr_un_sun_len=yes
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19088 cat >conftest.$ac_ext <<_ACEOF
19089 /* confdefs.h. */
19090 _ACEOF
19091 cat confdefs.h >>conftest.$ac_ext
19092 cat >>conftest.$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094 #include <sys/types.h>
19095 #ifdef HAVE_SYS_SOCKET_H
19096 # include <sys/socket.h>
19097 #endif
19098 #ifdef HAVE_SYS_UN_H
19099 # include <sys/un.h>
19100 #endif
19103 main ()
19105 static struct sockaddr_un ac_aggr;
19106 if (sizeof ac_aggr.sun_len)
19107 return 0;
19109 return 0;
19111 _ACEOF
19112 rm -f conftest.$ac_objext
19113 if { (ac_try="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19117 esac
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19129 ac_cv_member_struct_sockaddr_un_sun_len=yes
19130 else
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 ac_cv_member_struct_sockaddr_un_sun_len=no
19137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19143 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19144 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19148 _ACEOF
19154 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19155 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19156 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19157 echo $ECHO_N "(cached) $ECHO_C" >&6
19158 else
19159 cat >conftest.$ac_ext <<_ACEOF
19160 /* confdefs.h. */
19161 _ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 #include <sys/types.h>
19166 #ifdef HAVE_SCSI_SG_H
19167 #include <scsi/sg.h>
19168 #endif
19171 main ()
19173 static scsireq_t ac_aggr;
19174 if (ac_aggr.cmd)
19175 return 0;
19177 return 0;
19179 _ACEOF
19180 rm -f conftest.$ac_objext
19181 if { (ac_try="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19185 esac
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19188 ac_status=$?
19189 grep -v '^ *+' conftest.er1 >conftest.err
19190 rm -f conftest.er1
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_c_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.$ac_objext; then
19197 ac_cv_member_scsireq_t_cmd=yes
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19202 cat >conftest.$ac_ext <<_ACEOF
19203 /* confdefs.h. */
19204 _ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 #include <sys/types.h>
19209 #ifdef HAVE_SCSI_SG_H
19210 #include <scsi/sg.h>
19211 #endif
19214 main ()
19216 static scsireq_t ac_aggr;
19217 if (sizeof ac_aggr.cmd)
19218 return 0;
19220 return 0;
19222 _ACEOF
19223 rm -f conftest.$ac_objext
19224 if { (ac_try="$ac_compile"
19225 case "(($ac_try" in
19226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19227 *) ac_try_echo=$ac_try;;
19228 esac
19229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19230 (eval "$ac_compile") 2>conftest.er1
19231 ac_status=$?
19232 grep -v '^ *+' conftest.er1 >conftest.err
19233 rm -f conftest.er1
19234 cat conftest.err >&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } && {
19237 test -z "$ac_c_werror_flag" ||
19238 test ! -s conftest.err
19239 } && test -s conftest.$ac_objext; then
19240 ac_cv_member_scsireq_t_cmd=yes
19241 else
19242 echo "$as_me: failed program was:" >&5
19243 sed 's/^/| /' conftest.$ac_ext >&5
19245 ac_cv_member_scsireq_t_cmd=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19254 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19255 if test $ac_cv_member_scsireq_t_cmd = yes; then
19257 cat >>confdefs.h <<_ACEOF
19258 #define HAVE_SCSIREQ_T_CMD 1
19259 _ACEOF
19263 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19264 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19265 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19266 echo $ECHO_N "(cached) $ECHO_C" >&6
19267 else
19268 cat >conftest.$ac_ext <<_ACEOF
19269 /* confdefs.h. */
19270 _ACEOF
19271 cat confdefs.h >>conftest.$ac_ext
19272 cat >>conftest.$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 #include <sys/types.h>
19275 #ifdef HAVE_SCSI_SG_H
19276 #include <scsi/sg.h>
19277 #endif
19280 main ()
19282 static sg_io_hdr_t ac_aggr;
19283 if (ac_aggr.interface_id)
19284 return 0;
19286 return 0;
19288 _ACEOF
19289 rm -f conftest.$ac_objext
19290 if { (ac_try="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19294 esac
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19297 ac_status=$?
19298 grep -v '^ *+' conftest.er1 >conftest.err
19299 rm -f conftest.er1
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.$ac_objext; then
19306 ac_cv_member_sg_io_hdr_t_interface_id=yes
19307 else
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19311 cat >conftest.$ac_ext <<_ACEOF
19312 /* confdefs.h. */
19313 _ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 #include <sys/types.h>
19318 #ifdef HAVE_SCSI_SG_H
19319 #include <scsi/sg.h>
19320 #endif
19323 main ()
19325 static sg_io_hdr_t ac_aggr;
19326 if (sizeof ac_aggr.interface_id)
19327 return 0;
19329 return 0;
19331 _ACEOF
19332 rm -f conftest.$ac_objext
19333 if { (ac_try="$ac_compile"
19334 case "(($ac_try" in
19335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19336 *) ac_try_echo=$ac_try;;
19337 esac
19338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19339 (eval "$ac_compile") 2>conftest.er1
19340 ac_status=$?
19341 grep -v '^ *+' conftest.er1 >conftest.err
19342 rm -f conftest.er1
19343 cat conftest.err >&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } && {
19346 test -z "$ac_c_werror_flag" ||
19347 test ! -s conftest.err
19348 } && test -s conftest.$ac_objext; then
19349 ac_cv_member_sg_io_hdr_t_interface_id=yes
19350 else
19351 echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.$ac_ext >&5
19354 ac_cv_member_sg_io_hdr_t_interface_id=no
19357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19362 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19363 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19364 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19366 cat >>confdefs.h <<_ACEOF
19367 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19368 _ACEOF
19374 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19375 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19376 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19377 echo $ECHO_N "(cached) $ECHO_C" >&6
19378 else
19379 cat >conftest.$ac_ext <<_ACEOF
19380 /* confdefs.h. */
19381 _ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 #include <signal.h>
19388 main ()
19390 static siginfo_t ac_aggr;
19391 if (ac_aggr.si_fd)
19392 return 0;
19394 return 0;
19396 _ACEOF
19397 rm -f conftest.$ac_objext
19398 if { (ac_try="$ac_compile"
19399 case "(($ac_try" in
19400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19401 *) ac_try_echo=$ac_try;;
19402 esac
19403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19404 (eval "$ac_compile") 2>conftest.er1
19405 ac_status=$?
19406 grep -v '^ *+' conftest.er1 >conftest.err
19407 rm -f conftest.er1
19408 cat conftest.err >&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } && {
19411 test -z "$ac_c_werror_flag" ||
19412 test ! -s conftest.err
19413 } && test -s conftest.$ac_objext; then
19414 ac_cv_member_siginfo_t_si_fd=yes
19415 else
19416 echo "$as_me: failed program was:" >&5
19417 sed 's/^/| /' conftest.$ac_ext >&5
19419 cat >conftest.$ac_ext <<_ACEOF
19420 /* confdefs.h. */
19421 _ACEOF
19422 cat confdefs.h >>conftest.$ac_ext
19423 cat >>conftest.$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 #include <signal.h>
19428 main ()
19430 static siginfo_t ac_aggr;
19431 if (sizeof ac_aggr.si_fd)
19432 return 0;
19434 return 0;
19436 _ACEOF
19437 rm -f conftest.$ac_objext
19438 if { (ac_try="$ac_compile"
19439 case "(($ac_try" in
19440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19441 *) ac_try_echo=$ac_try;;
19442 esac
19443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19444 (eval "$ac_compile") 2>conftest.er1
19445 ac_status=$?
19446 grep -v '^ *+' conftest.er1 >conftest.err
19447 rm -f conftest.er1
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } && {
19451 test -z "$ac_c_werror_flag" ||
19452 test ! -s conftest.err
19453 } && test -s conftest.$ac_objext; then
19454 ac_cv_member_siginfo_t_si_fd=yes
19455 else
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.$ac_ext >&5
19459 ac_cv_member_siginfo_t_si_fd=no
19462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19467 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19468 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19469 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19471 cat >>confdefs.h <<_ACEOF
19472 #define HAVE_SIGINFO_T_SI_FD 1
19473 _ACEOF
19479 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19480 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19481 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19483 else
19484 cat >conftest.$ac_ext <<_ACEOF
19485 /* confdefs.h. */
19486 _ACEOF
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 #include <sys/types.h>
19491 #ifdef HAVE_SYS_MTIO_H
19492 #include <sys/mtio.h>
19493 #endif
19496 main ()
19498 static struct mtget ac_aggr;
19499 if (ac_aggr.mt_blksiz)
19500 return 0;
19502 return 0;
19504 _ACEOF
19505 rm -f conftest.$ac_objext
19506 if { (ac_try="$ac_compile"
19507 case "(($ac_try" in
19508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19509 *) ac_try_echo=$ac_try;;
19510 esac
19511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19512 (eval "$ac_compile") 2>conftest.er1
19513 ac_status=$?
19514 grep -v '^ *+' conftest.er1 >conftest.err
19515 rm -f conftest.er1
19516 cat conftest.err >&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } && {
19519 test -z "$ac_c_werror_flag" ||
19520 test ! -s conftest.err
19521 } && test -s conftest.$ac_objext; then
19522 ac_cv_member_struct_mtget_mt_blksiz=yes
19523 else
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19527 cat >conftest.$ac_ext <<_ACEOF
19528 /* confdefs.h. */
19529 _ACEOF
19530 cat confdefs.h >>conftest.$ac_ext
19531 cat >>conftest.$ac_ext <<_ACEOF
19532 /* end confdefs.h. */
19533 #include <sys/types.h>
19534 #ifdef HAVE_SYS_MTIO_H
19535 #include <sys/mtio.h>
19536 #endif
19539 main ()
19541 static struct mtget ac_aggr;
19542 if (sizeof ac_aggr.mt_blksiz)
19543 return 0;
19545 return 0;
19547 _ACEOF
19548 rm -f conftest.$ac_objext
19549 if { (ac_try="$ac_compile"
19550 case "(($ac_try" in
19551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19552 *) ac_try_echo=$ac_try;;
19553 esac
19554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19555 (eval "$ac_compile") 2>conftest.er1
19556 ac_status=$?
19557 grep -v '^ *+' conftest.er1 >conftest.err
19558 rm -f conftest.er1
19559 cat conftest.err >&5
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } && {
19562 test -z "$ac_c_werror_flag" ||
19563 test ! -s conftest.err
19564 } && test -s conftest.$ac_objext; then
19565 ac_cv_member_struct_mtget_mt_blksiz=yes
19566 else
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.$ac_ext >&5
19570 ac_cv_member_struct_mtget_mt_blksiz=no
19573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19578 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19579 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19580 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19582 cat >>confdefs.h <<_ACEOF
19583 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19584 _ACEOF
19588 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19589 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19590 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19592 else
19593 cat >conftest.$ac_ext <<_ACEOF
19594 /* confdefs.h. */
19595 _ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 #include <sys/types.h>
19600 #ifdef HAVE_SYS_MTIO_H
19601 #include <sys/mtio.h>
19602 #endif
19605 main ()
19607 static struct mtget ac_aggr;
19608 if (ac_aggr.mt_gstat)
19609 return 0;
19611 return 0;
19613 _ACEOF
19614 rm -f conftest.$ac_objext
19615 if { (ac_try="$ac_compile"
19616 case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19619 esac
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_compile") 2>conftest.er1
19622 ac_status=$?
19623 grep -v '^ *+' conftest.er1 >conftest.err
19624 rm -f conftest.er1
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } && {
19628 test -z "$ac_c_werror_flag" ||
19629 test ! -s conftest.err
19630 } && test -s conftest.$ac_objext; then
19631 ac_cv_member_struct_mtget_mt_gstat=yes
19632 else
19633 echo "$as_me: failed program was:" >&5
19634 sed 's/^/| /' conftest.$ac_ext >&5
19636 cat >conftest.$ac_ext <<_ACEOF
19637 /* confdefs.h. */
19638 _ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 #include <sys/types.h>
19643 #ifdef HAVE_SYS_MTIO_H
19644 #include <sys/mtio.h>
19645 #endif
19648 main ()
19650 static struct mtget ac_aggr;
19651 if (sizeof ac_aggr.mt_gstat)
19652 return 0;
19654 return 0;
19656 _ACEOF
19657 rm -f conftest.$ac_objext
19658 if { (ac_try="$ac_compile"
19659 case "(($ac_try" in
19660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19661 *) ac_try_echo=$ac_try;;
19662 esac
19663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19664 (eval "$ac_compile") 2>conftest.er1
19665 ac_status=$?
19666 grep -v '^ *+' conftest.er1 >conftest.err
19667 rm -f conftest.er1
19668 cat conftest.err >&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } && {
19671 test -z "$ac_c_werror_flag" ||
19672 test ! -s conftest.err
19673 } && test -s conftest.$ac_objext; then
19674 ac_cv_member_struct_mtget_mt_gstat=yes
19675 else
19676 echo "$as_me: failed program was:" >&5
19677 sed 's/^/| /' conftest.$ac_ext >&5
19679 ac_cv_member_struct_mtget_mt_gstat=no
19682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19688 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19689 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19691 cat >>confdefs.h <<_ACEOF
19692 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19693 _ACEOF
19697 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19698 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19699 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19701 else
19702 cat >conftest.$ac_ext <<_ACEOF
19703 /* confdefs.h. */
19704 _ACEOF
19705 cat confdefs.h >>conftest.$ac_ext
19706 cat >>conftest.$ac_ext <<_ACEOF
19707 /* end confdefs.h. */
19708 #include <sys/types.h>
19709 #ifdef HAVE_SYS_MTIO_H
19710 #include <sys/mtio.h>
19711 #endif
19714 main ()
19716 static struct mtget ac_aggr;
19717 if (ac_aggr.mt_blkno)
19718 return 0;
19720 return 0;
19722 _ACEOF
19723 rm -f conftest.$ac_objext
19724 if { (ac_try="$ac_compile"
19725 case "(($ac_try" in
19726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19727 *) ac_try_echo=$ac_try;;
19728 esac
19729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19730 (eval "$ac_compile") 2>conftest.er1
19731 ac_status=$?
19732 grep -v '^ *+' conftest.er1 >conftest.err
19733 rm -f conftest.er1
19734 cat conftest.err >&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } && {
19737 test -z "$ac_c_werror_flag" ||
19738 test ! -s conftest.err
19739 } && test -s conftest.$ac_objext; then
19740 ac_cv_member_struct_mtget_mt_blkno=yes
19741 else
19742 echo "$as_me: failed program was:" >&5
19743 sed 's/^/| /' conftest.$ac_ext >&5
19745 cat >conftest.$ac_ext <<_ACEOF
19746 /* confdefs.h. */
19747 _ACEOF
19748 cat confdefs.h >>conftest.$ac_ext
19749 cat >>conftest.$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19751 #include <sys/types.h>
19752 #ifdef HAVE_SYS_MTIO_H
19753 #include <sys/mtio.h>
19754 #endif
19757 main ()
19759 static struct mtget ac_aggr;
19760 if (sizeof ac_aggr.mt_blkno)
19761 return 0;
19763 return 0;
19765 _ACEOF
19766 rm -f conftest.$ac_objext
19767 if { (ac_try="$ac_compile"
19768 case "(($ac_try" in
19769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19770 *) ac_try_echo=$ac_try;;
19771 esac
19772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19773 (eval "$ac_compile") 2>conftest.er1
19774 ac_status=$?
19775 grep -v '^ *+' conftest.er1 >conftest.err
19776 rm -f conftest.er1
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } && {
19780 test -z "$ac_c_werror_flag" ||
19781 test ! -s conftest.err
19782 } && test -s conftest.$ac_objext; then
19783 ac_cv_member_struct_mtget_mt_blkno=yes
19784 else
19785 echo "$as_me: failed program was:" >&5
19786 sed 's/^/| /' conftest.$ac_ext >&5
19788 ac_cv_member_struct_mtget_mt_blkno=no
19791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19797 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19798 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19800 cat >>confdefs.h <<_ACEOF
19801 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19802 _ACEOF
19808 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19809 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19810 if test "${ac_cv_member_struct_option_name+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19812 else
19813 cat >conftest.$ac_ext <<_ACEOF
19814 /* confdefs.h. */
19815 _ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 #ifdef HAVE_GETOPT_H
19820 #include <getopt.h>
19821 #endif
19824 main ()
19826 static struct option ac_aggr;
19827 if (ac_aggr.name)
19828 return 0;
19830 return 0;
19832 _ACEOF
19833 rm -f conftest.$ac_objext
19834 if { (ac_try="$ac_compile"
19835 case "(($ac_try" in
19836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19837 *) ac_try_echo=$ac_try;;
19838 esac
19839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19840 (eval "$ac_compile") 2>conftest.er1
19841 ac_status=$?
19842 grep -v '^ *+' conftest.er1 >conftest.err
19843 rm -f conftest.er1
19844 cat conftest.err >&5
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); } && {
19847 test -z "$ac_c_werror_flag" ||
19848 test ! -s conftest.err
19849 } && test -s conftest.$ac_objext; then
19850 ac_cv_member_struct_option_name=yes
19851 else
19852 echo "$as_me: failed program was:" >&5
19853 sed 's/^/| /' conftest.$ac_ext >&5
19855 cat >conftest.$ac_ext <<_ACEOF
19856 /* confdefs.h. */
19857 _ACEOF
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 #ifdef HAVE_GETOPT_H
19862 #include <getopt.h>
19863 #endif
19866 main ()
19868 static struct option ac_aggr;
19869 if (sizeof ac_aggr.name)
19870 return 0;
19872 return 0;
19874 _ACEOF
19875 rm -f conftest.$ac_objext
19876 if { (ac_try="$ac_compile"
19877 case "(($ac_try" in
19878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19879 *) ac_try_echo=$ac_try;;
19880 esac
19881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19882 (eval "$ac_compile") 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } && {
19889 test -z "$ac_c_werror_flag" ||
19890 test ! -s conftest.err
19891 } && test -s conftest.$ac_objext; then
19892 ac_cv_member_struct_option_name=yes
19893 else
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 ac_cv_member_struct_option_name=no
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19905 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19906 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19907 if test $ac_cv_member_struct_option_name = yes; then
19909 cat >>confdefs.h <<_ACEOF
19910 #define HAVE_STRUCT_OPTION_NAME 1
19911 _ACEOF
19917 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19918 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19919 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19920 echo $ECHO_N "(cached) $ECHO_C" >&6
19921 else
19922 cat >conftest.$ac_ext <<_ACEOF
19923 /* confdefs.h. */
19924 _ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 $ac_includes_default
19930 main ()
19932 static struct stat ac_aggr;
19933 if (ac_aggr.st_blocks)
19934 return 0;
19936 return 0;
19938 _ACEOF
19939 rm -f conftest.$ac_objext
19940 if { (ac_try="$ac_compile"
19941 case "(($ac_try" in
19942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19943 *) ac_try_echo=$ac_try;;
19944 esac
19945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19946 (eval "$ac_compile") 2>conftest.er1
19947 ac_status=$?
19948 grep -v '^ *+' conftest.er1 >conftest.err
19949 rm -f conftest.er1
19950 cat conftest.err >&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); } && {
19953 test -z "$ac_c_werror_flag" ||
19954 test ! -s conftest.err
19955 } && test -s conftest.$ac_objext; then
19956 ac_cv_member_struct_stat_st_blocks=yes
19957 else
19958 echo "$as_me: failed program was:" >&5
19959 sed 's/^/| /' conftest.$ac_ext >&5
19961 cat >conftest.$ac_ext <<_ACEOF
19962 /* confdefs.h. */
19963 _ACEOF
19964 cat confdefs.h >>conftest.$ac_ext
19965 cat >>conftest.$ac_ext <<_ACEOF
19966 /* end confdefs.h. */
19967 $ac_includes_default
19969 main ()
19971 static struct stat ac_aggr;
19972 if (sizeof ac_aggr.st_blocks)
19973 return 0;
19975 return 0;
19977 _ACEOF
19978 rm -f conftest.$ac_objext
19979 if { (ac_try="$ac_compile"
19980 case "(($ac_try" in
19981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19982 *) ac_try_echo=$ac_try;;
19983 esac
19984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19985 (eval "$ac_compile") 2>conftest.er1
19986 ac_status=$?
19987 grep -v '^ *+' conftest.er1 >conftest.err
19988 rm -f conftest.er1
19989 cat conftest.err >&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); } && {
19992 test -z "$ac_c_werror_flag" ||
19993 test ! -s conftest.err
19994 } && test -s conftest.$ac_objext; then
19995 ac_cv_member_struct_stat_st_blocks=yes
19996 else
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.$ac_ext >&5
20000 ac_cv_member_struct_stat_st_blocks=no
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20008 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20009 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20010 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20012 cat >>confdefs.h <<_ACEOF
20013 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20014 _ACEOF
20020 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20021 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20022 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20023 echo $ECHO_N "(cached) $ECHO_C" >&6
20024 else
20025 cat >conftest.$ac_ext <<_ACEOF
20026 /* confdefs.h. */
20027 _ACEOF
20028 cat confdefs.h >>conftest.$ac_ext
20029 cat >>conftest.$ac_ext <<_ACEOF
20030 /* end confdefs.h. */
20031 #ifdef HAVE_SYS_TYPES_H
20032 #include <sys/types.h>
20033 #endif
20034 #ifdef HAVE_NETINET_IN_H
20035 #include <netinet/in.h>
20036 #endif
20039 main ()
20041 static struct sockaddr_in6 ac_aggr;
20042 if (ac_aggr.sin6_scope_id)
20043 return 0;
20045 return 0;
20047 _ACEOF
20048 rm -f conftest.$ac_objext
20049 if { (ac_try="$ac_compile"
20050 case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20053 esac
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_compile") 2>conftest.er1
20056 ac_status=$?
20057 grep -v '^ *+' conftest.er1 >conftest.err
20058 rm -f conftest.er1
20059 cat conftest.err >&5
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && {
20062 test -z "$ac_c_werror_flag" ||
20063 test ! -s conftest.err
20064 } && test -s conftest.$ac_objext; then
20065 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20066 else
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.$ac_ext >&5
20070 cat >conftest.$ac_ext <<_ACEOF
20071 /* confdefs.h. */
20072 _ACEOF
20073 cat confdefs.h >>conftest.$ac_ext
20074 cat >>conftest.$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 #ifdef HAVE_SYS_TYPES_H
20077 #include <sys/types.h>
20078 #endif
20079 #ifdef HAVE_NETINET_IN_H
20080 #include <netinet/in.h>
20081 #endif
20084 main ()
20086 static struct sockaddr_in6 ac_aggr;
20087 if (sizeof ac_aggr.sin6_scope_id)
20088 return 0;
20090 return 0;
20092 _ACEOF
20093 rm -f conftest.$ac_objext
20094 if { (ac_try="$ac_compile"
20095 case "(($ac_try" in
20096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20097 *) ac_try_echo=$ac_try;;
20098 esac
20099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20100 (eval "$ac_compile") 2>conftest.er1
20101 ac_status=$?
20102 grep -v '^ *+' conftest.er1 >conftest.err
20103 rm -f conftest.er1
20104 cat conftest.err >&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } && {
20107 test -z "$ac_c_werror_flag" ||
20108 test ! -s conftest.err
20109 } && test -s conftest.$ac_objext; then
20110 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20111 else
20112 echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.$ac_ext >&5
20115 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20123 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20124 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20125 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20127 cat >>confdefs.h <<_ACEOF
20128 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20129 _ACEOF
20135 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20136 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20137 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20138 echo $ECHO_N "(cached) $ECHO_C" >&6
20139 else
20140 cat >conftest.$ac_ext <<_ACEOF
20141 /* confdefs.h. */
20142 _ACEOF
20143 cat confdefs.h >>conftest.$ac_ext
20144 cat >>conftest.$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20146 #ifdef HAVE_SYS_TYPES_H
20147 #include <sys/types.h>
20148 #endif
20149 #ifdef HAVE_NETINET_IN_H
20150 # include <netinet/in.h>
20151 #endif
20152 #ifdef HAVE_ARPA_NAMESER_H
20153 # include <arpa/nameser.h>
20154 #endif
20157 main ()
20159 static ns_msg ac_aggr;
20160 if (ac_aggr._msg_ptr)
20161 return 0;
20163 return 0;
20165 _ACEOF
20166 rm -f conftest.$ac_objext
20167 if { (ac_try="$ac_compile"
20168 case "(($ac_try" in
20169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20170 *) ac_try_echo=$ac_try;;
20171 esac
20172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20173 (eval "$ac_compile") 2>conftest.er1
20174 ac_status=$?
20175 grep -v '^ *+' conftest.er1 >conftest.err
20176 rm -f conftest.er1
20177 cat conftest.err >&5
20178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179 (exit $ac_status); } && {
20180 test -z "$ac_c_werror_flag" ||
20181 test ! -s conftest.err
20182 } && test -s conftest.$ac_objext; then
20183 ac_cv_member_ns_msg__msg_ptr=yes
20184 else
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.$ac_ext >&5
20188 cat >conftest.$ac_ext <<_ACEOF
20189 /* confdefs.h. */
20190 _ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 #ifdef HAVE_SYS_TYPES_H
20195 #include <sys/types.h>
20196 #endif
20197 #ifdef HAVE_NETINET_IN_H
20198 # include <netinet/in.h>
20199 #endif
20200 #ifdef HAVE_ARPA_NAMESER_H
20201 # include <arpa/nameser.h>
20202 #endif
20205 main ()
20207 static ns_msg ac_aggr;
20208 if (sizeof ac_aggr._msg_ptr)
20209 return 0;
20211 return 0;
20213 _ACEOF
20214 rm -f conftest.$ac_objext
20215 if { (ac_try="$ac_compile"
20216 case "(($ac_try" in
20217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20219 esac
20220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20222 ac_status=$?
20223 grep -v '^ *+' conftest.er1 >conftest.err
20224 rm -f conftest.er1
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20231 ac_cv_member_ns_msg__msg_ptr=yes
20232 else
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20236 ac_cv_member_ns_msg__msg_ptr=no
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20244 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20245 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20246 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20248 cat >>confdefs.h <<_ACEOF
20249 #define HAVE_NS_MSG__MSG_PTR 1
20250 _ACEOF
20256 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20257 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20258 if test "${ac_cv_have_timezone+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 else
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 #include <time.h>
20269 main ()
20271 timezone = 1
20273 return 0;
20275 _ACEOF
20276 rm -f conftest.$ac_objext conftest$ac_exeext
20277 if { (ac_try="$ac_link"
20278 case "(($ac_try" in
20279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20281 esac
20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_link") 2>conftest.er1
20284 ac_status=$?
20285 grep -v '^ *+' conftest.er1 >conftest.err
20286 rm -f conftest.er1
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && {
20290 test -z "$ac_c_werror_flag" ||
20291 test ! -s conftest.err
20292 } && test -s conftest$ac_exeext &&
20293 $as_test_x conftest$ac_exeext; then
20294 ac_cv_have_timezone="yes"
20295 else
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20299 ac_cv_have_timezone="no"
20302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20303 conftest$ac_exeext conftest.$ac_ext
20305 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20306 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20307 if test "$ac_cv_have_timezone" = "yes"
20308 then
20310 cat >>confdefs.h <<\_ACEOF
20311 #define HAVE_TIMEZONE 1
20312 _ACEOF
20315 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20316 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20317 if test "${ac_cv_have_daylight+set}" = set; then
20318 echo $ECHO_N "(cached) $ECHO_C" >&6
20319 else
20320 cat >conftest.$ac_ext <<_ACEOF
20321 /* confdefs.h. */
20322 _ACEOF
20323 cat confdefs.h >>conftest.$ac_ext
20324 cat >>conftest.$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20326 #include <time.h>
20328 main ()
20330 daylight = 1
20332 return 0;
20334 _ACEOF
20335 rm -f conftest.$ac_objext conftest$ac_exeext
20336 if { (ac_try="$ac_link"
20337 case "(($ac_try" in
20338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20339 *) ac_try_echo=$ac_try;;
20340 esac
20341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20342 (eval "$ac_link") 2>conftest.er1
20343 ac_status=$?
20344 grep -v '^ *+' conftest.er1 >conftest.err
20345 rm -f conftest.er1
20346 cat conftest.err >&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } && {
20349 test -z "$ac_c_werror_flag" ||
20350 test ! -s conftest.err
20351 } && test -s conftest$ac_exeext &&
20352 $as_test_x conftest$ac_exeext; then
20353 ac_cv_have_daylight="yes"
20354 else
20355 echo "$as_me: failed program was:" >&5
20356 sed 's/^/| /' conftest.$ac_ext >&5
20358 ac_cv_have_daylight="no"
20361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20362 conftest$ac_exeext conftest.$ac_ext
20364 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20365 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20366 if test "$ac_cv_have_daylight" = "yes"
20367 then
20369 cat >>confdefs.h <<\_ACEOF
20370 #define HAVE_DAYLIGHT 1
20371 _ACEOF
20376 case $host_cpu in
20377 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20378 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20379 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20380 echo $ECHO_N "(cached) $ECHO_C" >&6
20381 else
20382 cat >conftest.$ac_ext <<_ACEOF
20383 /* confdefs.h. */
20384 _ACEOF
20385 cat confdefs.h >>conftest.$ac_ext
20386 cat >>conftest.$ac_ext <<_ACEOF
20387 /* end confdefs.h. */
20388 #ifndef __i386__
20390 #endif
20391 _ACEOF
20392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20393 $EGREP "yes" >/dev/null 2>&1; then
20394 ac_cv_cpp_def___i386__=yes
20395 else
20396 ac_cv_cpp_def___i386__=no
20398 rm -f conftest*
20401 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20402 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20403 if test $ac_cv_cpp_def___i386__ = yes; then
20404 CFLAGS="$CFLAGS -D__i386__"
20405 LINTFLAGS="$LINTFLAGS -D__i386__"
20408 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20409 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20410 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20411 echo $ECHO_N "(cached) $ECHO_C" >&6
20412 else
20413 cat >conftest.$ac_ext <<_ACEOF
20414 /* confdefs.h. */
20415 _ACEOF
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20419 #ifndef __x86_64__
20421 #endif
20422 _ACEOF
20423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20424 $EGREP "yes" >/dev/null 2>&1; then
20425 ac_cv_cpp_def___x86_64__=yes
20426 else
20427 ac_cv_cpp_def___x86_64__=no
20429 rm -f conftest*
20432 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20433 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20434 if test $ac_cv_cpp_def___x86_64__ = yes; then
20435 CFLAGS="$CFLAGS -D__x86_64__"
20436 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20439 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20440 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20441 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20442 echo $ECHO_N "(cached) $ECHO_C" >&6
20443 else
20444 cat >conftest.$ac_ext <<_ACEOF
20445 /* confdefs.h. */
20446 _ACEOF
20447 cat confdefs.h >>conftest.$ac_ext
20448 cat >>conftest.$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 #ifndef __ALPHA__
20452 #endif
20453 _ACEOF
20454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20455 $EGREP "yes" >/dev/null 2>&1; then
20456 ac_cv_cpp_def___ALPHA__=yes
20457 else
20458 ac_cv_cpp_def___ALPHA__=no
20460 rm -f conftest*
20463 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20464 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20465 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20466 CFLAGS="$CFLAGS -D__ALPHA__"
20467 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20470 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20471 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20472 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20473 echo $ECHO_N "(cached) $ECHO_C" >&6
20474 else
20475 cat >conftest.$ac_ext <<_ACEOF
20476 /* confdefs.h. */
20477 _ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 #ifndef __sparc__
20483 #endif
20484 _ACEOF
20485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20486 $EGREP "yes" >/dev/null 2>&1; then
20487 ac_cv_cpp_def___sparc__=yes
20488 else
20489 ac_cv_cpp_def___sparc__=no
20491 rm -f conftest*
20494 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20495 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20496 if test $ac_cv_cpp_def___sparc__ = yes; then
20497 CFLAGS="$CFLAGS -D__sparc__"
20498 LINTFLAGS="$LINTFLAGS -D__sparc__"
20501 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20502 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20503 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20504 echo $ECHO_N "(cached) $ECHO_C" >&6
20505 else
20506 cat >conftest.$ac_ext <<_ACEOF
20507 /* confdefs.h. */
20508 _ACEOF
20509 cat confdefs.h >>conftest.$ac_ext
20510 cat >>conftest.$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20512 #ifndef __powerpc__
20514 #endif
20515 _ACEOF
20516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20517 $EGREP "yes" >/dev/null 2>&1; then
20518 ac_cv_cpp_def___powerpc__=yes
20519 else
20520 ac_cv_cpp_def___powerpc__=no
20522 rm -f conftest*
20525 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20526 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20527 if test $ac_cv_cpp_def___powerpc__ = yes; then
20528 CFLAGS="$CFLAGS -D__powerpc__"
20529 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20532 esac
20534 case $host_vendor in
20535 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20536 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20537 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20538 echo $ECHO_N "(cached) $ECHO_C" >&6
20539 else
20540 cat >conftest.$ac_ext <<_ACEOF
20541 /* confdefs.h. */
20542 _ACEOF
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 #ifndef __sun__
20548 #endif
20549 _ACEOF
20550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20551 $EGREP "yes" >/dev/null 2>&1; then
20552 ac_cv_cpp_def___sun__=yes
20553 else
20554 ac_cv_cpp_def___sun__=no
20556 rm -f conftest*
20559 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20560 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20561 if test $ac_cv_cpp_def___sun__ = yes; then
20562 CFLAGS="$CFLAGS -D__sun__"
20563 LINTFLAGS="$LINTFLAGS -D__sun__"
20566 esac
20569 DEPENDENCIES="### Dependencies:
20571 .INIT: Makefile
20572 .BEGIN: Makefile
20573 Makefile: dummy
20574 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20576 \$(OBJS): \$(IDL_GEN_HEADERS)
20577 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20578 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20579 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20585 ac_config_commands="$ac_config_commands include/stamp-h"
20588 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20590 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20592 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20594 ac_config_commands="$ac_config_commands dlls/user32/resources"
20596 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20598 ac_config_commands="$ac_config_commands include/wine"
20601 MAKE_RULES=Make.rules
20604 MAKE_DLL_RULES=dlls/Makedll.rules
20607 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20610 MAKE_TEST_RULES=dlls/Maketest.rules
20613 MAKE_PROG_RULES=programs/Makeprog.rules
20616 ac_config_files="$ac_config_files Make.rules"
20618 ac_config_files="$ac_config_files dlls/Makedll.rules"
20620 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20622 ac_config_files="$ac_config_files dlls/Maketest.rules"
20624 ac_config_files="$ac_config_files programs/Makeprog.rules"
20626 ac_config_files="$ac_config_files Makefile"
20628 ac_config_files="$ac_config_files dlls/Makefile"
20630 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20632 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20634 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
20636 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20638 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20640 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20642 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20646 ac_config_files="$ac_config_files dlls/atl/Makefile"
20648 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20650 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20652 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20654 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20656 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20658 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20660 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20662 ac_config_files="$ac_config_files dlls/cards/Makefile"
20664 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20666 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20668 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20670 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20672 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20674 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20676 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20678 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20680 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20682 ac_config_files="$ac_config_files dlls/credui/Makefile"
20684 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
20686 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20688 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20690 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20692 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20694 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20696 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
20698 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
20700 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20702 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
20704 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20706 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20708 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20710 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20712 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20714 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20716 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20718 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20720 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
20722 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20724 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20726 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20728 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20730 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20732 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20734 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20736 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20738 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20740 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20742 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20744 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20746 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20748 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20750 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20752 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20754 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20756 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20758 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20760 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20762 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20764 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20766 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20768 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20770 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20772 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20774 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20776 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
20778 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20780 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20782 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20784 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20786 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20788 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20790 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20792 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20794 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
20796 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20798 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20800 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20802 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20804 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20806 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20808 ac_config_files="$ac_config_files dlls/hal/Makefile"
20810 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20812 ac_config_files="$ac_config_files dlls/hid/Makefile"
20814 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20816 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20818 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20820 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20822 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20824 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20826 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20828 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20830 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20832 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
20834 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
20836 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20838 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20840 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
20842 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20844 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20846 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20848 ac_config_files="$ac_config_files dlls/itss/Makefile"
20850 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20852 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20854 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20856 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20858 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20860 ac_config_files="$ac_config_files dlls/localui/Makefile"
20862 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20864 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20866 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20868 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20870 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20872 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20874 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20876 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20878 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20880 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20882 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20884 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20886 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20888 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20890 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20892 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20894 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20896 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20898 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20900 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20902 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
20904 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20906 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20908 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20910 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20912 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20914 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20916 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
20918 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20920 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20922 ac_config_files="$ac_config_files dlls/msi/Makefile"
20924 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20926 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20928 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
20930 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20932 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20934 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20936 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
20938 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20940 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20942 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20944 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20946 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20948 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20950 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20952 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20954 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20956 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20958 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20960 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20962 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20964 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20966 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20968 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20970 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20972 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20974 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20976 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20978 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20980 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20982 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20984 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20986 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20988 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20990 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20992 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20994 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20996 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20998 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21000 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21002 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21004 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21006 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21008 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21010 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21012 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21014 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21016 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21018 ac_config_files="$ac_config_files dlls/printui/Makefile"
21020 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21022 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21024 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21026 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21028 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21030 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21032 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21034 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21036 ac_config_files="$ac_config_files dlls/query/Makefile"
21038 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21040 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21042 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21044 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21046 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21048 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21050 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21052 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21054 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21056 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21058 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21060 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21062 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21064 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21066 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21068 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21070 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21072 ac_config_files="$ac_config_files dlls/security/Makefile"
21074 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21076 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21078 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21080 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21082 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21084 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21086 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21088 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21090 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21092 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21094 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21096 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21098 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21100 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21102 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21104 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21106 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21108 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21110 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21112 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21114 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21116 ac_config_files="$ac_config_files dlls/sti/Makefile"
21118 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21120 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21122 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21124 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21126 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21128 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21130 ac_config_files="$ac_config_files dlls/url/Makefile"
21132 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21134 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21136 ac_config_files="$ac_config_files dlls/user32/Makefile"
21138 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21140 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21142 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21144 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21146 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21148 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21150 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21152 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21154 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21156 ac_config_files="$ac_config_files dlls/version/Makefile"
21158 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21160 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21162 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21164 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21166 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21168 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21170 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21172 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21174 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21176 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21178 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21180 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21182 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21184 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21186 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21188 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21190 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21192 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21194 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21196 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21198 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21200 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21202 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21204 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21206 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21208 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21210 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21212 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21214 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21216 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21218 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21220 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21222 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21224 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21226 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21228 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21230 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21232 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21234 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21236 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21238 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21240 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21242 ac_config_files="$ac_config_files documentation/Makefile"
21244 ac_config_files="$ac_config_files fonts/Makefile"
21246 ac_config_files="$ac_config_files include/Makefile"
21248 ac_config_files="$ac_config_files libs/Makefile"
21250 ac_config_files="$ac_config_files libs/port/Makefile"
21252 ac_config_files="$ac_config_files libs/wine/Makefile"
21254 ac_config_files="$ac_config_files libs/wpp/Makefile"
21256 ac_config_files="$ac_config_files loader/Makefile"
21258 ac_config_files="$ac_config_files programs/Makefile"
21260 ac_config_files="$ac_config_files programs/clock/Makefile"
21262 ac_config_files="$ac_config_files programs/cmd/Makefile"
21264 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21266 ac_config_files="$ac_config_files programs/control/Makefile"
21268 ac_config_files="$ac_config_files programs/eject/Makefile"
21270 ac_config_files="$ac_config_files programs/expand/Makefile"
21272 ac_config_files="$ac_config_files programs/explorer/Makefile"
21274 ac_config_files="$ac_config_files programs/hh/Makefile"
21276 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21278 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21280 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21282 ac_config_files="$ac_config_files programs/net/Makefile"
21284 ac_config_files="$ac_config_files programs/notepad/Makefile"
21286 ac_config_files="$ac_config_files programs/oleview/Makefile"
21288 ac_config_files="$ac_config_files programs/progman/Makefile"
21290 ac_config_files="$ac_config_files programs/regedit/Makefile"
21292 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21294 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21296 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21298 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21300 ac_config_files="$ac_config_files programs/start/Makefile"
21302 ac_config_files="$ac_config_files programs/svchost/Makefile"
21304 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21306 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21308 ac_config_files="$ac_config_files programs/view/Makefile"
21310 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21312 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21314 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21316 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21318 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21320 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21322 ac_config_files="$ac_config_files programs/winefile/Makefile"
21324 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21326 ac_config_files="$ac_config_files programs/winemine/Makefile"
21328 ac_config_files="$ac_config_files programs/winepath/Makefile"
21330 ac_config_files="$ac_config_files programs/winetest/Makefile"
21332 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21334 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21336 ac_config_files="$ac_config_files programs/winver/Makefile"
21338 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21340 ac_config_files="$ac_config_files programs/write/Makefile"
21342 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21344 ac_config_files="$ac_config_files server/Makefile"
21346 ac_config_files="$ac_config_files tools/Makefile"
21348 ac_config_files="$ac_config_files tools/widl/Makefile"
21350 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21352 ac_config_files="$ac_config_files tools/winedump/Makefile"
21354 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21356 ac_config_files="$ac_config_files tools/wmc/Makefile"
21358 ac_config_files="$ac_config_files tools/wrc/Makefile"
21361 cat >confcache <<\_ACEOF
21362 # This file is a shell script that caches the results of configure
21363 # tests run on this system so they can be shared between configure
21364 # scripts and configure runs, see configure's option --config-cache.
21365 # It is not useful on other systems. If it contains results you don't
21366 # want to keep, you may remove or edit it.
21368 # config.status only pays attention to the cache file if you give it
21369 # the --recheck option to rerun configure.
21371 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21372 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21373 # following values.
21375 _ACEOF
21377 # The following way of writing the cache mishandles newlines in values,
21378 # but we know of no workaround that is simple, portable, and efficient.
21379 # So, we kill variables containing newlines.
21380 # Ultrix sh set writes to stderr and can't be redirected directly,
21381 # and sets the high bit in the cache file unless we assign to the vars.
21383 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21384 eval ac_val=\$$ac_var
21385 case $ac_val in #(
21386 *${as_nl}*)
21387 case $ac_var in #(
21388 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21389 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21390 esac
21391 case $ac_var in #(
21392 _ | IFS | as_nl) ;; #(
21393 *) $as_unset $ac_var ;;
21394 esac ;;
21395 esac
21396 done
21398 (set) 2>&1 |
21399 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21400 *${as_nl}ac_space=\ *)
21401 # `set' does not quote correctly, so add quotes (double-quote
21402 # substitution turns \\\\ into \\, and sed turns \\ into \).
21403 sed -n \
21404 "s/'/'\\\\''/g;
21405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21406 ;; #(
21408 # `set' quotes correctly as required by POSIX, so do not add quotes.
21409 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21411 esac |
21412 sort
21414 sed '
21415 /^ac_cv_env_/b end
21416 t clear
21417 :clear
21418 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21419 t end
21420 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21421 :end' >>confcache
21422 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21423 if test -w "$cache_file"; then
21424 test "x$cache_file" != "x/dev/null" &&
21425 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21426 echo "$as_me: updating cache $cache_file" >&6;}
21427 cat confcache >$cache_file
21428 else
21429 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21430 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21433 rm -f confcache
21435 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21436 # Let make expand exec_prefix.
21437 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21439 DEFS=-DHAVE_CONFIG_H
21441 ac_libobjs=
21442 ac_ltlibobjs=
21443 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21444 # 1. Remove the extension, and $U if already installed.
21445 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21446 ac_i=`echo "$ac_i" | sed "$ac_script"`
21447 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21448 # will be set to the directory where LIBOBJS objects are built.
21449 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21450 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21451 done
21452 LIBOBJS=$ac_libobjs
21454 LTLIBOBJS=$ac_ltlibobjs
21458 : ${CONFIG_STATUS=./config.status}
21459 ac_clean_files_save=$ac_clean_files
21460 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21461 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21462 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21463 cat >$CONFIG_STATUS <<_ACEOF
21464 #! $SHELL
21465 # Generated by $as_me.
21466 # Run this file to recreate the current configuration.
21467 # Compiler output produced by configure, useful for debugging
21468 # configure, is in config.log if it exists.
21470 debug=false
21471 ac_cs_recheck=false
21472 ac_cs_silent=false
21473 SHELL=\${CONFIG_SHELL-$SHELL}
21474 _ACEOF
21476 cat >>$CONFIG_STATUS <<\_ACEOF
21477 ## --------------------- ##
21478 ## M4sh Initialization. ##
21479 ## --------------------- ##
21481 # Be more Bourne compatible
21482 DUALCASE=1; export DUALCASE # for MKS sh
21483 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21484 emulate sh
21485 NULLCMD=:
21486 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21487 # is contrary to our usage. Disable this feature.
21488 alias -g '${1+"$@"}'='"$@"'
21489 setopt NO_GLOB_SUBST
21490 else
21491 case `(set -o) 2>/dev/null` in
21492 *posix*) set -o posix ;;
21493 esac
21500 # PATH needs CR
21501 # Avoid depending upon Character Ranges.
21502 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21503 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21504 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21505 as_cr_digits='0123456789'
21506 as_cr_alnum=$as_cr_Letters$as_cr_digits
21508 # The user is always right.
21509 if test "${PATH_SEPARATOR+set}" != set; then
21510 echo "#! /bin/sh" >conf$$.sh
21511 echo "exit 0" >>conf$$.sh
21512 chmod +x conf$$.sh
21513 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21514 PATH_SEPARATOR=';'
21515 else
21516 PATH_SEPARATOR=:
21518 rm -f conf$$.sh
21521 # Support unset when possible.
21522 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21523 as_unset=unset
21524 else
21525 as_unset=false
21529 # IFS
21530 # We need space, tab and new line, in precisely that order. Quoting is
21531 # there to prevent editors from complaining about space-tab.
21532 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21533 # splitting by setting IFS to empty value.)
21534 as_nl='
21536 IFS=" "" $as_nl"
21538 # Find who we are. Look in the path if we contain no directory separator.
21539 case $0 in
21540 *[\\/]* ) as_myself=$0 ;;
21541 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21542 for as_dir in $PATH
21544 IFS=$as_save_IFS
21545 test -z "$as_dir" && as_dir=.
21546 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21547 done
21548 IFS=$as_save_IFS
21551 esac
21552 # We did not find ourselves, most probably we were run as `sh COMMAND'
21553 # in which case we are not to be found in the path.
21554 if test "x$as_myself" = x; then
21555 as_myself=$0
21557 if test ! -f "$as_myself"; then
21558 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21559 { (exit 1); exit 1; }
21562 # Work around bugs in pre-3.0 UWIN ksh.
21563 for as_var in ENV MAIL MAILPATH
21564 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21565 done
21566 PS1='$ '
21567 PS2='> '
21568 PS4='+ '
21570 # NLS nuisances.
21571 for as_var in \
21572 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21573 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21574 LC_TELEPHONE LC_TIME
21576 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21577 eval $as_var=C; export $as_var
21578 else
21579 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21581 done
21583 # Required to use basename.
21584 if expr a : '\(a\)' >/dev/null 2>&1 &&
21585 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21586 as_expr=expr
21587 else
21588 as_expr=false
21591 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21592 as_basename=basename
21593 else
21594 as_basename=false
21598 # Name of the executable.
21599 as_me=`$as_basename -- "$0" ||
21600 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21601 X"$0" : 'X\(//\)$' \| \
21602 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21603 echo X/"$0" |
21604 sed '/^.*\/\([^/][^/]*\)\/*$/{
21605 s//\1/
21608 /^X\/\(\/\/\)$/{
21609 s//\1/
21612 /^X\/\(\/\).*/{
21613 s//\1/
21616 s/.*/./; q'`
21618 # CDPATH.
21619 $as_unset CDPATH
21623 as_lineno_1=$LINENO
21624 as_lineno_2=$LINENO
21625 test "x$as_lineno_1" != "x$as_lineno_2" &&
21626 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21628 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21629 # uniformly replaced by the line number. The first 'sed' inserts a
21630 # line-number line after each line using $LINENO; the second 'sed'
21631 # does the real work. The second script uses 'N' to pair each
21632 # line-number line with the line containing $LINENO, and appends
21633 # trailing '-' during substitution so that $LINENO is not a special
21634 # case at line end.
21635 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21636 # scripts with optimization help from Paolo Bonzini. Blame Lee
21637 # E. McMahon (1931-1989) for sed's syntax. :-)
21638 sed -n '
21640 /[$]LINENO/=
21641 ' <$as_myself |
21642 sed '
21643 s/[$]LINENO.*/&-/
21644 t lineno
21646 :lineno
21648 :loop
21649 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21650 t loop
21651 s/-\n.*//
21652 ' >$as_me.lineno &&
21653 chmod +x "$as_me.lineno" ||
21654 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21655 { (exit 1); exit 1; }; }
21657 # Don't try to exec as it changes $[0], causing all sort of problems
21658 # (the dirname of $[0] is not the place where we might find the
21659 # original and so on. Autoconf is especially sensitive to this).
21660 . "./$as_me.lineno"
21661 # Exit status is that of the last command.
21662 exit
21666 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21667 as_dirname=dirname
21668 else
21669 as_dirname=false
21672 ECHO_C= ECHO_N= ECHO_T=
21673 case `echo -n x` in
21674 -n*)
21675 case `echo 'x\c'` in
21676 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21677 *) ECHO_C='\c';;
21678 esac;;
21680 ECHO_N='-n';;
21681 esac
21683 if expr a : '\(a\)' >/dev/null 2>&1 &&
21684 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21685 as_expr=expr
21686 else
21687 as_expr=false
21690 rm -f conf$$ conf$$.exe conf$$.file
21691 if test -d conf$$.dir; then
21692 rm -f conf$$.dir/conf$$.file
21693 else
21694 rm -f conf$$.dir
21695 mkdir conf$$.dir
21697 echo >conf$$.file
21698 if ln -s conf$$.file conf$$ 2>/dev/null; then
21699 as_ln_s='ln -s'
21700 # ... but there are two gotchas:
21701 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21702 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21703 # In both cases, we have to default to `cp -p'.
21704 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21705 as_ln_s='cp -p'
21706 elif ln conf$$.file conf$$ 2>/dev/null; then
21707 as_ln_s=ln
21708 else
21709 as_ln_s='cp -p'
21711 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21712 rmdir conf$$.dir 2>/dev/null
21714 if mkdir -p . 2>/dev/null; then
21715 as_mkdir_p=:
21716 else
21717 test -d ./-p && rmdir ./-p
21718 as_mkdir_p=false
21721 if test -x / >/dev/null 2>&1; then
21722 as_test_x='test -x'
21723 else
21724 if ls -dL / >/dev/null 2>&1; then
21725 as_ls_L_option=L
21726 else
21727 as_ls_L_option=
21729 as_test_x='
21730 eval sh -c '\''
21731 if test -d "$1"; then
21732 test -d "$1/.";
21733 else
21734 case $1 in
21735 -*)set "./$1";;
21736 esac;
21737 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21738 ???[sx]*):;;*)false;;esac;fi
21739 '\'' sh
21742 as_executable_p=$as_test_x
21744 # Sed expression to map a string onto a valid CPP name.
21745 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21747 # Sed expression to map a string onto a valid variable name.
21748 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21751 exec 6>&1
21753 # Save the log message, to keep $[0] and so on meaningful, and to
21754 # report actual input values of CONFIG_FILES etc. instead of their
21755 # values after options handling.
21756 ac_log="
21757 This file was extended by Wine $as_me 0.9.52, which was
21758 generated by GNU Autoconf 2.61. Invocation command line was
21760 CONFIG_FILES = $CONFIG_FILES
21761 CONFIG_HEADERS = $CONFIG_HEADERS
21762 CONFIG_LINKS = $CONFIG_LINKS
21763 CONFIG_COMMANDS = $CONFIG_COMMANDS
21764 $ $0 $@
21766 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21769 _ACEOF
21771 cat >>$CONFIG_STATUS <<_ACEOF
21772 # Files that config.status was made for.
21773 config_files="$ac_config_files"
21774 config_headers="$ac_config_headers"
21775 config_commands="$ac_config_commands"
21777 _ACEOF
21779 cat >>$CONFIG_STATUS <<\_ACEOF
21780 ac_cs_usage="\
21781 \`$as_me' instantiates files from templates according to the
21782 current configuration.
21784 Usage: $0 [OPTIONS] [FILE]...
21786 -h, --help print this help, then exit
21787 -V, --version print version number and configuration settings, then exit
21788 -q, --quiet do not print progress messages
21789 -d, --debug don't remove temporary files
21790 --recheck update $as_me by reconfiguring in the same conditions
21791 --file=FILE[:TEMPLATE]
21792 instantiate the configuration file FILE
21793 --header=FILE[:TEMPLATE]
21794 instantiate the configuration header FILE
21796 Configuration files:
21797 $config_files
21799 Configuration headers:
21800 $config_headers
21802 Configuration commands:
21803 $config_commands
21805 Report bugs to <bug-autoconf@gnu.org>."
21807 _ACEOF
21808 cat >>$CONFIG_STATUS <<_ACEOF
21809 ac_cs_version="\\
21810 Wine config.status 0.9.52
21811 configured by $0, generated by GNU Autoconf 2.61,
21812 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21814 Copyright (C) 2006 Free Software Foundation, Inc.
21815 This config.status script is free software; the Free Software Foundation
21816 gives unlimited permission to copy, distribute and modify it."
21818 ac_pwd='$ac_pwd'
21819 srcdir='$srcdir'
21820 INSTALL='$INSTALL'
21821 _ACEOF
21823 cat >>$CONFIG_STATUS <<\_ACEOF
21824 # If no file are specified by the user, then we need to provide default
21825 # value. By we need to know if files were specified by the user.
21826 ac_need_defaults=:
21827 while test $# != 0
21829 case $1 in
21830 --*=*)
21831 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21832 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21833 ac_shift=:
21836 ac_option=$1
21837 ac_optarg=$2
21838 ac_shift=shift
21840 esac
21842 case $ac_option in
21843 # Handling of the options.
21844 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21845 ac_cs_recheck=: ;;
21846 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21847 echo "$ac_cs_version"; exit ;;
21848 --debug | --debu | --deb | --de | --d | -d )
21849 debug=: ;;
21850 --file | --fil | --fi | --f )
21851 $ac_shift
21852 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21853 ac_need_defaults=false;;
21854 --header | --heade | --head | --hea )
21855 $ac_shift
21856 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21857 ac_need_defaults=false;;
21858 --he | --h)
21859 # Conflict between --help and --header
21860 { echo "$as_me: error: ambiguous option: $1
21861 Try \`$0 --help' for more information." >&2
21862 { (exit 1); exit 1; }; };;
21863 --help | --hel | -h )
21864 echo "$ac_cs_usage"; exit ;;
21865 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21866 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21867 ac_cs_silent=: ;;
21869 # This is an error.
21870 -*) { echo "$as_me: error: unrecognized option: $1
21871 Try \`$0 --help' for more information." >&2
21872 { (exit 1); exit 1; }; } ;;
21874 *) ac_config_targets="$ac_config_targets $1"
21875 ac_need_defaults=false ;;
21877 esac
21878 shift
21879 done
21881 ac_configure_extra_args=
21883 if $ac_cs_silent; then
21884 exec 6>/dev/null
21885 ac_configure_extra_args="$ac_configure_extra_args --silent"
21888 _ACEOF
21889 cat >>$CONFIG_STATUS <<_ACEOF
21890 if \$ac_cs_recheck; then
21891 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21892 CONFIG_SHELL=$SHELL
21893 export CONFIG_SHELL
21894 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21897 _ACEOF
21898 cat >>$CONFIG_STATUS <<\_ACEOF
21899 exec 5>>config.log
21901 echo
21902 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21903 ## Running $as_me. ##
21904 _ASBOX
21905 echo "$ac_log"
21906 } >&5
21908 _ACEOF
21909 cat >>$CONFIG_STATUS <<_ACEOF
21910 _ACEOF
21912 cat >>$CONFIG_STATUS <<\_ACEOF
21914 # Handling of arguments.
21915 for ac_config_target in $ac_config_targets
21917 case $ac_config_target in
21918 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21919 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21920 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21921 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21922 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21923 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21924 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21925 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21926 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21927 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21928 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21929 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21930 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21931 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21932 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21933 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21934 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21935 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
21936 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21937 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21938 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21939 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21940 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21941 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21942 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21943 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21944 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21945 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21946 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21947 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21948 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21949 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21950 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21951 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21952 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21953 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21954 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21955 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21956 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21957 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21958 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21959 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21960 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
21961 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21962 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21963 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21964 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21965 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21966 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
21967 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
21968 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21969 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
21970 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21971 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21972 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21973 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21974 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21975 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21976 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21977 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21978 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
21979 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21980 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21981 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21982 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21983 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21984 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21985 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21986 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21987 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21988 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21989 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21990 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21991 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21992 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21993 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21994 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21995 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21996 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21997 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21998 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21999 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22000 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22001 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22002 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22003 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22004 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22005 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22006 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22007 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22008 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22009 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22010 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22011 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22012 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22013 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22014 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22015 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22016 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22017 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22018 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22019 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22020 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22021 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22022 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22023 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22024 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22025 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22026 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22027 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22028 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22029 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22030 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22031 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22032 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22033 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22034 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22035 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22036 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22037 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22038 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22039 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22040 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22041 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22042 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22043 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22044 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22045 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22046 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22047 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22048 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22049 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22050 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22051 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22052 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22053 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22054 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22055 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22056 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22057 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22058 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22059 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22060 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22061 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22062 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22063 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22064 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22065 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22066 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22067 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22068 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22069 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22070 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22071 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22072 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22073 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22074 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22075 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22076 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22077 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22078 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22079 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22080 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22081 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22082 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22083 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22084 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22085 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22086 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22087 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22088 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22089 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22090 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22091 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22092 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22093 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22094 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22095 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22096 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22097 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22098 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22099 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22100 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22101 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22102 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22103 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22104 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22105 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22106 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22107 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22108 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22109 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22110 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22111 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22112 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22113 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22114 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22115 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22116 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22117 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22118 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22119 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22120 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22121 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22122 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22123 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22124 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22125 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22126 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22127 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22128 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22129 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22130 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22131 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22132 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22133 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22134 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22135 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22136 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22137 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22138 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22139 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22140 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22141 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22142 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22143 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22144 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22145 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22146 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22147 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22148 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22149 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22150 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22151 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22152 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22153 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22154 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22155 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22156 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22157 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22158 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22159 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22160 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22161 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22162 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22163 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22164 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22165 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22166 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22167 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22168 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22169 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22170 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22171 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22172 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22173 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22174 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22175 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22176 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22177 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22178 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22179 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22180 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22181 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22182 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22183 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22184 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22185 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22186 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22187 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22188 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22189 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22190 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22191 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22192 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22193 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22194 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22195 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22196 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22197 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22198 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22199 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22200 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22201 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22202 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22203 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22204 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22205 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22206 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22207 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22208 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22209 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22210 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22211 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22212 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22213 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22214 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22215 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22216 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22217 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22218 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22219 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22220 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22221 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22222 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22223 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22224 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22225 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22226 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22227 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22228 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22229 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22230 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22231 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22232 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22233 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22234 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22235 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22236 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22237 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22238 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22239 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22240 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22241 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22242 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22243 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22244 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22245 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22246 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22247 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22248 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22249 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22250 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22251 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22252 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22253 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22254 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22255 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22256 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22257 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22258 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22259 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22260 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22261 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22262 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22263 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22264 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22265 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22266 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22267 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22268 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22269 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
22270 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22271 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22272 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22273 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22274 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22275 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22276 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22277 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22278 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22279 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22280 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22281 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22282 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22283 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22284 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22285 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22286 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22287 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22288 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22289 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22290 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22291 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22292 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22293 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22294 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22295 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22296 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22297 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22299 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22300 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22301 { (exit 1); exit 1; }; };;
22302 esac
22303 done
22306 # If the user did not use the arguments to specify the items to instantiate,
22307 # then the envvar interface is used. Set only those that are not.
22308 # We use the long form for the default assignment because of an extremely
22309 # bizarre bug on SunOS 4.1.3.
22310 if $ac_need_defaults; then
22311 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22312 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22313 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22316 # Have a temporary directory for convenience. Make it in the build tree
22317 # simply because there is no reason against having it here, and in addition,
22318 # creating and moving files from /tmp can sometimes cause problems.
22319 # Hook for its removal unless debugging.
22320 # Note that there is a small window in which the directory will not be cleaned:
22321 # after its creation but before its name has been assigned to `$tmp'.
22322 $debug ||
22324 tmp=
22325 trap 'exit_status=$?
22326 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22328 trap '{ (exit 1); exit 1; }' 1 2 13 15
22330 # Create a (secure) tmp directory for tmp files.
22333 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22334 test -n "$tmp" && test -d "$tmp"
22335 } ||
22337 tmp=./conf$$-$RANDOM
22338 (umask 077 && mkdir "$tmp")
22339 } ||
22341 echo "$me: cannot create a temporary directory in ." >&2
22342 { (exit 1); exit 1; }
22346 # Set up the sed scripts for CONFIG_FILES section.
22349 # No need to generate the scripts if there are no CONFIG_FILES.
22350 # This happens for instance when ./config.status config.h
22351 if test -n "$CONFIG_FILES"; then
22353 _ACEOF
22355 # Create sed commands to just substitute file output variables.
22357 # Remaining file output variables are in a fragment that also has non-file
22358 # output varibles.
22362 ac_delim='%!_!# '
22363 for ac_last_try in false false false false false :; do
22364 cat >conf$$subs.sed <<_ACEOF
22365 SHELL!$SHELL$ac_delim
22366 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22367 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22368 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22369 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22370 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22371 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22372 exec_prefix!$exec_prefix$ac_delim
22373 prefix!$prefix$ac_delim
22374 program_transform_name!$program_transform_name$ac_delim
22375 bindir!$bindir$ac_delim
22376 sbindir!$sbindir$ac_delim
22377 libexecdir!$libexecdir$ac_delim
22378 datarootdir!$datarootdir$ac_delim
22379 datadir!$datadir$ac_delim
22380 sysconfdir!$sysconfdir$ac_delim
22381 sharedstatedir!$sharedstatedir$ac_delim
22382 localstatedir!$localstatedir$ac_delim
22383 includedir!$includedir$ac_delim
22384 oldincludedir!$oldincludedir$ac_delim
22385 docdir!$docdir$ac_delim
22386 infodir!$infodir$ac_delim
22387 htmldir!$htmldir$ac_delim
22388 dvidir!$dvidir$ac_delim
22389 pdfdir!$pdfdir$ac_delim
22390 psdir!$psdir$ac_delim
22391 libdir!$libdir$ac_delim
22392 localedir!$localedir$ac_delim
22393 mandir!$mandir$ac_delim
22394 DEFS!$DEFS$ac_delim
22395 ECHO_C!$ECHO_C$ac_delim
22396 ECHO_N!$ECHO_N$ac_delim
22397 ECHO_T!$ECHO_T$ac_delim
22398 LIBS!$LIBS$ac_delim
22399 build_alias!$build_alias$ac_delim
22400 host_alias!$host_alias$ac_delim
22401 target_alias!$target_alias$ac_delim
22402 build!$build$ac_delim
22403 build_cpu!$build_cpu$ac_delim
22404 build_vendor!$build_vendor$ac_delim
22405 build_os!$build_os$ac_delim
22406 host!$host$ac_delim
22407 host_cpu!$host_cpu$ac_delim
22408 host_vendor!$host_vendor$ac_delim
22409 host_os!$host_os$ac_delim
22410 WIN16_FILES!$WIN16_FILES$ac_delim
22411 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22412 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
22413 WINETEST!$WINETEST$ac_delim
22414 SET_MAKE!$SET_MAKE$ac_delim
22415 CC!$CC$ac_delim
22416 CFLAGS!$CFLAGS$ac_delim
22417 LDFLAGS!$LDFLAGS$ac_delim
22418 CPPFLAGS!$CPPFLAGS$ac_delim
22419 ac_ct_CC!$ac_ct_CC$ac_delim
22420 EXEEXT!$EXEEXT$ac_delim
22421 OBJEXT!$OBJEXT$ac_delim
22422 CXX!$CXX$ac_delim
22423 CXXFLAGS!$CXXFLAGS$ac_delim
22424 ac_ct_CXX!$ac_ct_CXX$ac_delim
22425 CPPBIN!$CPPBIN$ac_delim
22426 TOOLSDIR!$TOOLSDIR$ac_delim
22427 XMKMF!$XMKMF$ac_delim
22428 CPP!$CPP$ac_delim
22429 X_CFLAGS!$X_CFLAGS$ac_delim
22430 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22431 X_LIBS!$X_LIBS$ac_delim
22432 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22433 FLEX!$FLEX$ac_delim
22434 BISON!$BISON$ac_delim
22435 AS!$AS$ac_delim
22436 ac_ct_AS!$ac_ct_AS$ac_delim
22437 LD!$LD$ac_delim
22438 AR!$AR$ac_delim
22439 RANLIB!$RANLIB$ac_delim
22440 STRIP!$STRIP$ac_delim
22441 WINDRES!$WINDRES$ac_delim
22442 LN_S!$LN_S$ac_delim
22443 LN!$LN$ac_delim
22444 GREP!$GREP$ac_delim
22445 EGREP!$EGREP$ac_delim
22446 LDCONFIG!$LDCONFIG$ac_delim
22447 _ACEOF
22449 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22450 break
22451 elif $ac_last_try; then
22452 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22453 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22454 { (exit 1); exit 1; }; }
22455 else
22456 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22458 done
22460 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22461 if test -n "$ac_eof"; then
22462 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22463 ac_eof=`expr $ac_eof + 1`
22466 cat >>$CONFIG_STATUS <<_ACEOF
22467 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22469 /^[ ]*@MAKE_RULES@[ ]*$/{
22470 r $MAKE_RULES
22473 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22474 r $MAKE_DLL_RULES
22477 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22478 r $MAKE_IMPLIB_RULES
22481 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22482 r $MAKE_TEST_RULES
22485 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22486 r $MAKE_PROG_RULES
22489 _ACEOF
22490 sed '
22491 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22492 s/^/s,@/; s/!/@,|#_!!_#|/
22495 s/'"$ac_delim"'$/,g/; t
22496 s/$/\\/; p
22497 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22498 ' >>$CONFIG_STATUS <conf$$subs.sed
22499 rm -f conf$$subs.sed
22500 cat >>$CONFIG_STATUS <<_ACEOF
22501 CEOF$ac_eof
22502 _ACEOF
22505 ac_delim='%!_!# '
22506 for ac_last_try in false false false false false :; do
22507 cat >conf$$subs.sed <<_ACEOF
22508 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22509 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22510 INSTALL_DATA!$INSTALL_DATA$ac_delim
22511 LINT!$LINT$ac_delim
22512 LINTFLAGS!$LINTFLAGS$ac_delim
22513 FONTFORGE!$FONTFORGE$ac_delim
22514 PKG_CONFIG!$PKG_CONFIG$ac_delim
22515 PRELINK!$PRELINK$ac_delim
22516 LIBPTHREAD!$LIBPTHREAD$ac_delim
22517 XLIB!$XLIB$ac_delim
22518 XFILES!$XFILES$ac_delim
22519 OPENGLFILES!$OPENGLFILES$ac_delim
22520 GLU32FILES!$GLU32FILES$ac_delim
22521 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22522 QUARTZFILES!$QUARTZFILES$ac_delim
22523 DLLEXT!$DLLEXT$ac_delim
22524 DLLFLAGS!$DLLFLAGS$ac_delim
22525 LDSHARED!$LDSHARED$ac_delim
22526 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22527 LIBEXT!$LIBEXT$ac_delim
22528 IMPLIBEXT!$IMPLIBEXT$ac_delim
22529 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22530 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22531 LDD!$LDD$ac_delim
22532 DLLTOOL!$DLLTOOL$ac_delim
22533 DLLWRAP!$DLLWRAP$ac_delim
22534 MINGWAR!$MINGWAR$ac_delim
22535 SECURITYLIB!$SECURITYLIB$ac_delim
22536 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22537 IOKITLIB!$IOKITLIB$ac_delim
22538 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22539 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22540 COREAUDIO!$COREAUDIO$ac_delim
22541 CARBONLIB!$CARBONLIB$ac_delim
22542 CROSSTEST!$CROSSTEST$ac_delim
22543 CROSSCC!$CROSSCC$ac_delim
22544 CROSSWINDRES!$CROSSWINDRES$ac_delim
22545 NASLIBS!$NASLIBS$ac_delim
22546 XML2LIBS!$XML2LIBS$ac_delim
22547 XML2INCL!$XML2INCL$ac_delim
22548 XSLTLIBS!$XSLTLIBS$ac_delim
22549 XSLTINCL!$XSLTINCL$ac_delim
22550 HALINCL!$HALINCL$ac_delim
22551 sane_devel!$sane_devel$ac_delim
22552 SANEINCL!$SANEINCL$ac_delim
22553 gphoto2_devel!$gphoto2_devel$ac_delim
22554 gphoto2port_devel!$gphoto2port_devel$ac_delim
22555 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22556 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22557 RESOLVLIBS!$RESOLVLIBS$ac_delim
22558 LCMSLIBS!$LCMSLIBS$ac_delim
22559 LDAPLIBS!$LDAPLIBS$ac_delim
22560 ft_devel!$ft_devel$ac_delim
22561 FREETYPELIBS!$FREETYPELIBS$ac_delim
22562 FREETYPEINCL!$FREETYPEINCL$ac_delim
22563 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22564 ESDCONFIG!$ESDCONFIG$ac_delim
22565 ESDLIBS!$ESDLIBS$ac_delim
22566 ESDINCL!$ESDINCL$ac_delim
22567 ALSALIBS!$ALSALIBS$ac_delim
22568 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22569 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
22570 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22571 BUILTINFLAG!$BUILTINFLAG$ac_delim
22572 LDPATH!$LDPATH$ac_delim
22573 CRTLIBS!$CRTLIBS$ac_delim
22574 SOCKETLIBS!$SOCKETLIBS$ac_delim
22575 MAIN_BINARY!$MAIN_BINARY$ac_delim
22576 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22577 LIBDL!$LIBDL$ac_delim
22578 LIBPOLL!$LIBPOLL$ac_delim
22579 DEPENDENCIES!$DEPENDENCIES$ac_delim
22580 LIBOBJS!$LIBOBJS$ac_delim
22581 LTLIBOBJS!$LTLIBOBJS$ac_delim
22582 _ACEOF
22584 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
22585 break
22586 elif $ac_last_try; then
22587 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22588 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22589 { (exit 1); exit 1; }; }
22590 else
22591 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22593 done
22595 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22596 if test -n "$ac_eof"; then
22597 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22598 ac_eof=`expr $ac_eof + 1`
22601 cat >>$CONFIG_STATUS <<_ACEOF
22602 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22603 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22604 _ACEOF
22605 sed '
22606 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22607 s/^/s,@/; s/!/@,|#_!!_#|/
22610 s/'"$ac_delim"'$/,g/; t
22611 s/$/\\/; p
22612 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22613 ' >>$CONFIG_STATUS <conf$$subs.sed
22614 rm -f conf$$subs.sed
22615 cat >>$CONFIG_STATUS <<_ACEOF
22616 :end
22617 s/|#_!!_#|//g
22618 CEOF$ac_eof
22619 _ACEOF
22622 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22623 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22624 # trailing colons and then remove the whole line if VPATH becomes empty
22625 # (actually we leave an empty line to preserve line numbers).
22626 if test "x$srcdir" = x.; then
22627 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22628 s/:*\$(srcdir):*/:/
22629 s/:*\${srcdir}:*/:/
22630 s/:*@srcdir@:*/:/
22631 s/^\([^=]*=[ ]*\):*/\1/
22632 s/:*$//
22633 s/^[^=]*=[ ]*$//
22637 cat >>$CONFIG_STATUS <<\_ACEOF
22638 fi # test -n "$CONFIG_FILES"
22641 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22643 case $ac_tag in
22644 :[FHLC]) ac_mode=$ac_tag; continue;;
22645 esac
22646 case $ac_mode$ac_tag in
22647 :[FHL]*:*);;
22648 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22649 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22650 { (exit 1); exit 1; }; };;
22651 :[FH]-) ac_tag=-:-;;
22652 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22653 esac
22654 ac_save_IFS=$IFS
22655 IFS=:
22656 set x $ac_tag
22657 IFS=$ac_save_IFS
22658 shift
22659 ac_file=$1
22660 shift
22662 case $ac_mode in
22663 :L) ac_source=$1;;
22664 :[FH])
22665 ac_file_inputs=
22666 for ac_f
22668 case $ac_f in
22669 -) ac_f="$tmp/stdin";;
22670 *) # Look for the file first in the build tree, then in the source tree
22671 # (if the path is not absolute). The absolute path cannot be DOS-style,
22672 # because $ac_f cannot contain `:'.
22673 test -f "$ac_f" ||
22674 case $ac_f in
22675 [\\/$]*) false;;
22676 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22677 esac ||
22678 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22679 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22680 { (exit 1); exit 1; }; };;
22681 esac
22682 ac_file_inputs="$ac_file_inputs $ac_f"
22683 done
22685 # Let's still pretend it is `configure' which instantiates (i.e., don't
22686 # use $as_me), people would be surprised to read:
22687 # /* config.h. Generated by config.status. */
22688 configure_input="Generated from "`IFS=:
22689 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22690 if test x"$ac_file" != x-; then
22691 configure_input="$ac_file. $configure_input"
22692 { echo "$as_me:$LINENO: creating $ac_file" >&5
22693 echo "$as_me: creating $ac_file" >&6;}
22696 case $ac_tag in
22697 *:-:* | *:-) cat >"$tmp/stdin";;
22698 esac
22700 esac
22702 ac_dir=`$as_dirname -- "$ac_file" ||
22703 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22704 X"$ac_file" : 'X\(//\)[^/]' \| \
22705 X"$ac_file" : 'X\(//\)$' \| \
22706 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22707 echo X"$ac_file" |
22708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22709 s//\1/
22712 /^X\(\/\/\)[^/].*/{
22713 s//\1/
22716 /^X\(\/\/\)$/{
22717 s//\1/
22720 /^X\(\/\).*/{
22721 s//\1/
22724 s/.*/./; q'`
22725 { as_dir="$ac_dir"
22726 case $as_dir in #(
22727 -*) as_dir=./$as_dir;;
22728 esac
22729 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22730 as_dirs=
22731 while :; do
22732 case $as_dir in #(
22733 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22734 *) as_qdir=$as_dir;;
22735 esac
22736 as_dirs="'$as_qdir' $as_dirs"
22737 as_dir=`$as_dirname -- "$as_dir" ||
22738 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22739 X"$as_dir" : 'X\(//\)[^/]' \| \
22740 X"$as_dir" : 'X\(//\)$' \| \
22741 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22742 echo X"$as_dir" |
22743 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22744 s//\1/
22747 /^X\(\/\/\)[^/].*/{
22748 s//\1/
22751 /^X\(\/\/\)$/{
22752 s//\1/
22755 /^X\(\/\).*/{
22756 s//\1/
22759 s/.*/./; q'`
22760 test -d "$as_dir" && break
22761 done
22762 test -z "$as_dirs" || eval "mkdir $as_dirs"
22763 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22764 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22765 { (exit 1); exit 1; }; }; }
22766 ac_builddir=.
22768 case "$ac_dir" in
22769 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22771 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22772 # A ".." for each directory in $ac_dir_suffix.
22773 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22774 case $ac_top_builddir_sub in
22775 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22776 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22777 esac ;;
22778 esac
22779 ac_abs_top_builddir=$ac_pwd
22780 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22781 # for backward compatibility:
22782 ac_top_builddir=$ac_top_build_prefix
22784 case $srcdir in
22785 .) # We are building in place.
22786 ac_srcdir=.
22787 ac_top_srcdir=$ac_top_builddir_sub
22788 ac_abs_top_srcdir=$ac_pwd ;;
22789 [\\/]* | ?:[\\/]* ) # Absolute name.
22790 ac_srcdir=$srcdir$ac_dir_suffix;
22791 ac_top_srcdir=$srcdir
22792 ac_abs_top_srcdir=$srcdir ;;
22793 *) # Relative name.
22794 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22795 ac_top_srcdir=$ac_top_build_prefix$srcdir
22796 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22797 esac
22798 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22801 case $ac_mode in
22804 # CONFIG_FILE
22807 case $INSTALL in
22808 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22809 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22810 esac
22811 _ACEOF
22813 cat >>$CONFIG_STATUS <<\_ACEOF
22814 # If the template does not know about datarootdir, expand it.
22815 # FIXME: This hack should be removed a few years after 2.60.
22816 ac_datarootdir_hack=; ac_datarootdir_seen=
22818 case `sed -n '/datarootdir/ {
22822 /@datadir@/p
22823 /@docdir@/p
22824 /@infodir@/p
22825 /@localedir@/p
22826 /@mandir@/p
22827 ' $ac_file_inputs` in
22828 *datarootdir*) ac_datarootdir_seen=yes;;
22829 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22830 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22831 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22832 _ACEOF
22833 cat >>$CONFIG_STATUS <<_ACEOF
22834 ac_datarootdir_hack='
22835 s&@datadir@&$datadir&g
22836 s&@docdir@&$docdir&g
22837 s&@infodir@&$infodir&g
22838 s&@localedir@&$localedir&g
22839 s&@mandir@&$mandir&g
22840 s&\\\${datarootdir}&$datarootdir&g' ;;
22841 esac
22842 _ACEOF
22844 # Neutralize VPATH when `$srcdir' = `.'.
22845 # Shell code in configure.ac might set extrasub.
22846 # FIXME: do we really want to maintain this feature?
22847 cat >>$CONFIG_STATUS <<_ACEOF
22848 sed "$ac_vpsub
22849 $extrasub
22850 _ACEOF
22851 cat >>$CONFIG_STATUS <<\_ACEOF
22853 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22854 s&@configure_input@&$configure_input&;t t
22855 s&@top_builddir@&$ac_top_builddir_sub&;t t
22856 s&@srcdir@&$ac_srcdir&;t t
22857 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22858 s&@top_srcdir@&$ac_top_srcdir&;t t
22859 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22860 s&@builddir@&$ac_builddir&;t t
22861 s&@abs_builddir@&$ac_abs_builddir&;t t
22862 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22863 s&@INSTALL@&$ac_INSTALL&;t t
22864 $ac_datarootdir_hack
22865 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22867 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22868 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22869 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22870 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22871 which seems to be undefined. Please make sure it is defined." >&5
22872 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22873 which seems to be undefined. Please make sure it is defined." >&2;}
22875 rm -f "$tmp/stdin"
22876 case $ac_file in
22877 -) cat "$tmp/out"; rm -f "$tmp/out";;
22878 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22879 esac
22883 # CONFIG_HEADER
22885 _ACEOF
22887 # Transform confdefs.h into a sed script `conftest.defines', that
22888 # substitutes the proper values into config.h.in to produce config.h.
22889 rm -f conftest.defines conftest.tail
22890 # First, append a space to every undef/define line, to ease matching.
22891 echo 's/$/ /' >conftest.defines
22892 # Then, protect against being on the right side of a sed subst, or in
22893 # an unquoted here document, in config.status. If some macros were
22894 # called several times there might be several #defines for the same
22895 # symbol, which is useless. But do not sort them, since the last
22896 # AC_DEFINE must be honored.
22897 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22898 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22899 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22900 # PARAMS is the parameter list in the macro definition--in most cases, it's
22901 # just an empty string.
22902 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22903 ac_dB='\\)[ (].*,\\1define\\2'
22904 ac_dC=' '
22905 ac_dD=' ,'
22907 uniq confdefs.h |
22908 sed -n '
22909 t rset
22910 :rset
22911 s/^[ ]*#[ ]*define[ ][ ]*//
22912 t ok
22915 s/[\\&,]/\\&/g
22916 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22917 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22918 ' >>conftest.defines
22920 # Remove the space that was appended to ease matching.
22921 # Then replace #undef with comments. This is necessary, for
22922 # example, in the case of _POSIX_SOURCE, which is predefined and required
22923 # on some systems where configure will not decide to define it.
22924 # (The regexp can be short, since the line contains either #define or #undef.)
22925 echo 's/ $//
22926 s,^[ #]*u.*,/* & */,' >>conftest.defines
22928 # Break up conftest.defines:
22929 ac_max_sed_lines=50
22931 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22932 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22933 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22934 # et cetera.
22935 ac_in='$ac_file_inputs'
22936 ac_out='"$tmp/out1"'
22937 ac_nxt='"$tmp/out2"'
22939 while :
22941 # Write a here document:
22942 cat >>$CONFIG_STATUS <<_ACEOF
22943 # First, check the format of the line:
22944 cat >"\$tmp/defines.sed" <<\\CEOF
22945 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22946 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22948 :def
22949 _ACEOF
22950 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22951 echo 'CEOF
22952 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22953 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22954 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22955 grep . conftest.tail >/dev/null || break
22956 rm -f conftest.defines
22957 mv conftest.tail conftest.defines
22958 done
22959 rm -f conftest.defines conftest.tail
22961 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22962 cat >>$CONFIG_STATUS <<\_ACEOF
22963 if test x"$ac_file" != x-; then
22964 echo "/* $configure_input */" >"$tmp/config.h"
22965 cat "$ac_result" >>"$tmp/config.h"
22966 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22967 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22968 echo "$as_me: $ac_file is unchanged" >&6;}
22969 else
22970 rm -f $ac_file
22971 mv "$tmp/config.h" $ac_file
22973 else
22974 echo "/* $configure_input */"
22975 cat "$ac_result"
22977 rm -f "$tmp/out12"
22980 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22981 echo "$as_me: executing $ac_file commands" >&6;}
22983 esac
22986 case $ac_file$ac_mode in
22987 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22988 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22989 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22990 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22991 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22992 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22993 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22994 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22995 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22996 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22997 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22998 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22999 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23001 esac
23002 done # for ac_tag
23005 { (exit 0); exit 0; }
23006 _ACEOF
23007 chmod +x $CONFIG_STATUS
23008 ac_clean_files=$ac_clean_files_save
23011 # configure is writing to config.log, and then calls config.status.
23012 # config.status does its own redirection, appending to config.log.
23013 # Unfortunately, on DOS this fails, as config.log is still kept open
23014 # by configure, so config.status won't be able to write to it; its
23015 # output is simply discarded. So we exec the FD to /dev/null,
23016 # effectively closing config.log, so it can be properly (re)opened and
23017 # appended to by config.status. When coming back to configure, we
23018 # need to make the FD available again.
23019 if test "$no_create" != yes; then
23020 ac_cs_success=:
23021 ac_config_status_args=
23022 test "$silent" = yes &&
23023 ac_config_status_args="$ac_config_status_args --quiet"
23024 exec 5>/dev/null
23025 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23026 exec 5>>config.log
23027 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23028 # would make configure fail if this is the last instruction.
23029 $ac_cs_success || { (exit 1); exit 1; }
23033 if test "$no_create" = "yes"
23034 then
23035 exit 0
23038 ac_save_IFS="$IFS"
23039 IFS="|"
23040 if test "$verbose" = "yes"; then
23041 for msg in $wine_notices; do
23042 if test -n "$msg"; then
23043 echo >&2
23044 { echo "$as_me:$LINENO: $msg" >&5
23045 echo "$as_me: $msg" >&6;}
23047 done
23049 for msg in $wine_warnings; do
23050 if test -n "$msg"; then
23051 echo >&2
23052 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23053 echo "$as_me: WARNING: $msg" >&2;}
23055 done
23056 IFS="$ac_save_IFS"
23058 echo
23059 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
23060 echo