push fff118d46b45c0bf6869af7aa4ceefbdaadbb47a
[wine/hacks.git] / configure
blob25dfa294c5084cf7d90c7797f2d8b0903ca6c1f6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.57.
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.57'
578 PACKAGE_STRING='Wine 0.9.57'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 TESTSUBDIRS
667 WINETEST
668 SET_MAKE
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
677 CXXFLAGS
678 ac_ct_CXX
679 CPPBIN
680 TOOLSDIR
681 XMKMF
683 X_CFLAGS
684 X_PRE_LIBS
685 X_LIBS
686 X_EXTRA_LIBS
687 FLEX
688 BISON
690 ac_ct_AS
693 ARFLAGS
694 RANLIB
695 STRIP
696 WINDRES
697 LN_S
699 GREP
700 EGREP
701 LDCONFIG
702 INSTALL_PROGRAM
703 INSTALL_SCRIPT
704 INSTALL_DATA
705 LINT
706 LINTFLAGS
707 FONTFORGE
708 PKG_CONFIG
709 PRELINK
710 LIBPTHREAD
711 XLIB
712 XFILES
713 OPENGLFILES
714 GLU32FILES
715 OPENGL_LIBS
716 QUARTZFILES
717 DLLEXT
718 DLLFLAGS
719 LDSHARED
720 LDDLLFLAGS
721 LIBEXT
722 IMPLIBEXT
723 LDRPATH_INSTALL
724 LDRPATH_LOCAL
726 DLLTOOL
727 DLLWRAP
728 MINGWAR
729 SECURITYLIB
730 COREFOUNDATIONLIB
731 IOKITLIB
732 LDEXECFLAGS
733 DISKARBITRATIONLIB
734 COREAUDIO
735 CARBONLIB
736 CROSSTEST
737 CROSSCC
738 CROSSWINDRES
739 NASLIBS
740 XML2LIBS
741 XML2INCL
742 XSLTLIBS
743 XSLTINCL
744 HALINCL
745 sane_devel
746 SANEINCL
747 gphoto2_devel
748 gphoto2port_devel
749 GPHOTO2LIBS
750 GPHOTO2INCL
751 RESOLVLIBS
752 LCMSLIBS
753 LDAPLIBS
754 ft_devel
755 FREETYPELIBS
756 FREETYPEINCL
757 FONTSSUBDIRS
758 ESDCONFIG
759 ESDLIBS
760 ESDINCL
761 ALSALIBS
762 AUDIOIOLIBS
763 FONTCONFIGINCL
764 EXTRACFLAGS
765 BUILTINFLAG
766 LDPATH
767 CRTLIBS
768 SOCKETLIBS
769 MAIN_BINARY
770 EXTRA_BINARIES
771 LIBDL
772 LIBPOLL
773 DEPENDENCIES
774 LIBOBJS
775 LTLIBOBJS'
776 ac_subst_files='MAKE_RULES
777 MAKE_DLL_RULES
778 MAKE_IMPLIB_RULES
779 MAKE_TEST_RULES
780 MAKE_PROG_RULES'
781 ac_precious_vars='build_alias
782 host_alias
783 target_alias
785 CFLAGS
786 LDFLAGS
787 LIBS
788 CPPFLAGS
790 CXXFLAGS
792 XMKMF
793 CPP'
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
842 ac_prev=
843 ac_dashdash=
844 for ac_option
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
849 ac_prev=
850 continue
853 case $ac_option in
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 *) ac_optarg=yes ;;
856 esac
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
862 ac_dashdash=yes ;;
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
865 ac_prev=bindir ;;
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 bindir=$ac_optarg ;;
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
881 --config-cache | -C)
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
885 ac_prev=datadir ;;
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
906 ac_prev=docdir ;;
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 docdir=$ac_optarg ;;
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 ac_prev=dvidir ;;
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 dvidir=$ac_optarg ;;
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
935 with_gas=yes ;;
937 -help | --help | --hel | --he | -h)
938 ac_init_help=long ;;
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 ac_prev=htmldir ;;
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 | --ht=*)
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
963 ac_prev=infodir ;;
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
968 ac_prev=libdir ;;
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 libdir=$ac_optarg ;;
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
980 ac_prev=localedir ;;
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992 ac_prev=mandir ;;
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 mandir=$ac_optarg ;;
996 -nfp | --nfp | --nf)
997 # Obsolete; use --without-fp.
998 with_fp=no ;;
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1002 no_create=yes ;;
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 no_recursion=yes ;;
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018 ac_prev=prefix ;;
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054 ac_prev=pdfdir ;;
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1059 ac_prev=psdir ;;
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 psdir=$ac_optarg ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 silent=yes ;;
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068 ac_prev=sbindir ;;
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070 | --sbi=* | --sb=*)
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1076 | --sha | --sh)
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081 | --sha=* | --sh=*)
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1085 ac_prev=site ;;
1086 -site=* | --site=* | --sit=*)
1087 site=$ac_optarg ;;
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090 ac_prev=srcdir ;;
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 verbose=yes ;;
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1112 -with-* | --with-*)
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1130 --x)
1131 # Obsolete; use --with-x.
1132 with_x=yes ;;
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1153 *=*)
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 esac
1171 done
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1186 case $ac_val in
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189 esac
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1192 done
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1208 cross_compiling=yes
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 echo X"$0" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 s//\1/
1242 /^X\(\/\/\)[^/].*/{
1243 s//\1/
1246 /^X\(\/\/\)$/{
1247 s//\1/
1250 /^X\(\/\).*/{
1251 s//\1/
1254 s/.*/./; q'`
1255 srcdir=$ac_confdir
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 srcdir=..
1259 else
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 ac_abs_confdir=`(
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1271 pwd)`
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 srcdir=.
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1279 case $srcdir in
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 esac
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 done
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1295 cat <<_ACEOF
1296 \`configure' configures Wine 0.9.57 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1305 Configuration:
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 [PREFIX]
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1349 _ACEOF
1351 cat <<\_ACEOF
1353 X features:
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1357 System types:
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1360 _ACEOF
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 0.9.57:";;
1366 esac
1367 cat <<\_ACEOF
1369 Optional Features:
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1374 binaries)
1375 --enable-maintainer-mode
1376 enable maintainer-specific build rules
1377 --disable-tests do not build the testsuites
1379 Optional Packages:
1380 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1381 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1382 --without-alsa do not use the Alsa sound support
1383 --without-audioio do not use the AudioIO sound support
1384 --without-capi do not use CAPI (ISDN support)
1385 --without-cms do not use CMS (color management support)
1386 --without-coreaudio do not use the CoreAudio sound support
1387 --without-cups do not use CUPS
1388 --without-curses do not use (n)curses
1389 --without-esd do not use the EsounD sound support
1390 --without-fontconfig do not use fontconfig
1391 --without-gphoto do not use gphoto (Digital Camera support)
1392 --without-hal do not use HAL (dynamic device support)
1393 --without-jack do not use the Jack sound support
1394 --without-jpeg do not use JPEG
1395 --without-ldap do not use LDAP
1396 --without-nas do not use the NAS sound support
1397 --without-opengl do not use OpenGL
1398 --without-openssl do not use OpenSSL
1399 --without-oss do not use the OSS sound support
1400 --without-png do not use PNG
1401 --without-sane do not use SANE (scanner support)
1402 --without-xcomposite do not use the Xcomposite extension
1403 --without-xcursor do not use the Xcursor extension
1404 --without-xinerama do not use Xinerama (multi-monitor support)
1405 --without-xinput do not use the Xinput extension
1406 --without-xml do not use XML
1407 --without-xrandr do not use Xrandr (resolution changes)
1408 --without-xrender do not use the Xrender extension
1409 --without-xshape do not use the Xshape extension
1410 --without-xshm do not use XShm (shared memory extension)
1411 --without-xslt do not use XSLT
1412 --without-xvidmode do not use XFree video mode extension
1413 --with-wine-tools=DIR use Wine tools from directory DIR
1414 --with-x use the X Window System
1416 Some influential environment variables:
1417 CC C compiler command
1418 CFLAGS C compiler flags
1419 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1420 nonstandard directory <lib dir>
1421 LIBS libraries to pass to the linker, e.g. -l<library>
1422 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1423 you have headers in a nonstandard directory <include dir>
1424 CXX C++ compiler command
1425 CXXFLAGS C++ compiler flags
1426 XMKMF Path to xmkmf, Makefile generator for X Window System
1427 CPP C preprocessor
1429 Use these variables to override the choices made by `configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1432 Report bugs to <wine-devel@winehq.org>.
1433 _ACEOF
1434 ac_status=$?
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1440 test -d "$ac_dir" || continue
1441 ac_builddir=.
1443 case "$ac_dir" in
1444 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1447 # A ".." for each directory in $ac_dir_suffix.
1448 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1449 case $ac_top_builddir_sub in
1450 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1452 esac ;;
1453 esac
1454 ac_abs_top_builddir=$ac_pwd
1455 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1456 # for backward compatibility:
1457 ac_top_builddir=$ac_top_build_prefix
1459 case $srcdir in
1460 .) # We are building in place.
1461 ac_srcdir=.
1462 ac_top_srcdir=$ac_top_builddir_sub
1463 ac_abs_top_srcdir=$ac_pwd ;;
1464 [\\/]* | ?:[\\/]* ) # Absolute name.
1465 ac_srcdir=$srcdir$ac_dir_suffix;
1466 ac_top_srcdir=$srcdir
1467 ac_abs_top_srcdir=$srcdir ;;
1468 *) # Relative name.
1469 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1470 ac_top_srcdir=$ac_top_build_prefix$srcdir
1471 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 esac
1473 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1475 cd "$ac_dir" || { ac_status=$?; continue; }
1476 # Check for guested configure.
1477 if test -f "$ac_srcdir/configure.gnu"; then
1478 echo &&
1479 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1480 elif test -f "$ac_srcdir/configure"; then
1481 echo &&
1482 $SHELL "$ac_srcdir/configure" --help=recursive
1483 else
1484 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485 fi || ac_status=$?
1486 cd "$ac_pwd" || { ac_status=$?; break; }
1487 done
1490 test -n "$ac_init_help" && exit $ac_status
1491 if $ac_init_version; then
1492 cat <<\_ACEOF
1493 Wine configure 0.9.57
1494 generated by GNU Autoconf 2.61
1496 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1497 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1498 This configure script is free software; the Free Software Foundation
1499 gives unlimited permission to copy, distribute and modify it.
1500 _ACEOF
1501 exit
1503 cat >config.log <<_ACEOF
1504 This file contains any messages produced by compilers while
1505 running configure, to aid debugging if configure makes a mistake.
1507 It was created by Wine $as_me 0.9.57, which was
1508 generated by GNU Autoconf 2.61. Invocation command line was
1510 $ $0 $@
1512 _ACEOF
1513 exec 5>>config.log
1515 cat <<_ASUNAME
1516 ## --------- ##
1517 ## Platform. ##
1518 ## --------- ##
1520 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1521 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1522 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1523 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1524 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1526 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1527 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1529 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1530 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1531 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1532 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1533 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1534 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1535 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1537 _ASUNAME
1539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1540 for as_dir in $PATH
1542 IFS=$as_save_IFS
1543 test -z "$as_dir" && as_dir=.
1544 echo "PATH: $as_dir"
1545 done
1546 IFS=$as_save_IFS
1548 } >&5
1550 cat >&5 <<_ACEOF
1553 ## ----------- ##
1554 ## Core tests. ##
1555 ## ----------- ##
1557 _ACEOF
1560 # Keep a trace of the command line.
1561 # Strip out --no-create and --no-recursion so they do not pile up.
1562 # Strip out --silent because we don't want to record it for future runs.
1563 # Also quote any args containing shell meta-characters.
1564 # Make two passes to allow for proper duplicate-argument suppression.
1565 ac_configure_args=
1566 ac_configure_args0=
1567 ac_configure_args1=
1568 ac_must_keep_next=false
1569 for ac_pass in 1 2
1571 for ac_arg
1573 case $ac_arg in
1574 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1575 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1576 | -silent | --silent | --silen | --sile | --sil)
1577 continue ;;
1578 *\'*)
1579 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1580 esac
1581 case $ac_pass in
1582 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1584 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1585 if test $ac_must_keep_next = true; then
1586 ac_must_keep_next=false # Got value, back to normal.
1587 else
1588 case $ac_arg in
1589 *=* | --config-cache | -C | -disable-* | --disable-* \
1590 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1591 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1592 | -with-* | --with-* | -without-* | --without-* | --x)
1593 case "$ac_configure_args0 " in
1594 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1595 esac
1597 -* ) ac_must_keep_next=true ;;
1598 esac
1600 ac_configure_args="$ac_configure_args '$ac_arg'"
1602 esac
1603 done
1604 done
1605 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1606 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1608 # When interrupted or exit'd, cleanup temporary files, and complete
1609 # config.log. We remove comments because anyway the quotes in there
1610 # would cause problems or look ugly.
1611 # WARNING: Use '\'' to represent an apostrophe within the trap.
1612 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1613 trap 'exit_status=$?
1614 # Save into config.log some information that might help in debugging.
1616 echo
1618 cat <<\_ASBOX
1619 ## ---------------- ##
1620 ## Cache variables. ##
1621 ## ---------------- ##
1622 _ASBOX
1623 echo
1624 # The following way of writing the cache mishandles newlines in values,
1626 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1627 eval ac_val=\$$ac_var
1628 case $ac_val in #(
1629 *${as_nl}*)
1630 case $ac_var in #(
1631 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1632 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1633 esac
1634 case $ac_var in #(
1635 _ | IFS | as_nl) ;; #(
1636 *) $as_unset $ac_var ;;
1637 esac ;;
1638 esac
1639 done
1640 (set) 2>&1 |
1641 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1642 *${as_nl}ac_space=\ *)
1643 sed -n \
1644 "s/'\''/'\''\\\\'\'''\''/g;
1645 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1646 ;; #(
1648 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1650 esac |
1651 sort
1653 echo
1655 cat <<\_ASBOX
1656 ## ----------------- ##
1657 ## Output variables. ##
1658 ## ----------------- ##
1659 _ASBOX
1660 echo
1661 for ac_var in $ac_subst_vars
1663 eval ac_val=\$$ac_var
1664 case $ac_val in
1665 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1666 esac
1667 echo "$ac_var='\''$ac_val'\''"
1668 done | sort
1669 echo
1671 if test -n "$ac_subst_files"; then
1672 cat <<\_ASBOX
1673 ## ------------------- ##
1674 ## File substitutions. ##
1675 ## ------------------- ##
1676 _ASBOX
1677 echo
1678 for ac_var in $ac_subst_files
1680 eval ac_val=\$$ac_var
1681 case $ac_val in
1682 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1683 esac
1684 echo "$ac_var='\''$ac_val'\''"
1685 done | sort
1686 echo
1689 if test -s confdefs.h; then
1690 cat <<\_ASBOX
1691 ## ----------- ##
1692 ## confdefs.h. ##
1693 ## ----------- ##
1694 _ASBOX
1695 echo
1696 cat confdefs.h
1697 echo
1699 test "$ac_signal" != 0 &&
1700 echo "$as_me: caught signal $ac_signal"
1701 echo "$as_me: exit $exit_status"
1702 } >&5
1703 rm -f core *.core core.conftest.* &&
1704 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1705 exit $exit_status
1707 for ac_signal in 1 2 13 15; do
1708 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1709 done
1710 ac_signal=0
1712 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1713 rm -f -r conftest* confdefs.h
1715 # Predefined preprocessor variables.
1717 cat >>confdefs.h <<_ACEOF
1718 #define PACKAGE_NAME "$PACKAGE_NAME"
1719 _ACEOF
1722 cat >>confdefs.h <<_ACEOF
1723 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1724 _ACEOF
1727 cat >>confdefs.h <<_ACEOF
1728 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1729 _ACEOF
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_STRING "$PACKAGE_STRING"
1734 _ACEOF
1737 cat >>confdefs.h <<_ACEOF
1738 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1739 _ACEOF
1742 # Let the site file select an alternate cache file if it wants to.
1743 # Prefer explicitly selected file to automatically selected ones.
1744 if test -n "$CONFIG_SITE"; then
1745 set x "$CONFIG_SITE"
1746 elif test "x$prefix" != xNONE; then
1747 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1748 else
1749 set x "$ac_default_prefix/share/config.site" \
1750 "$ac_default_prefix/etc/config.site"
1752 shift
1753 for ac_site_file
1755 if test -r "$ac_site_file"; then
1756 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1757 echo "$as_me: loading site script $ac_site_file" >&6;}
1758 sed 's/^/| /' "$ac_site_file" >&5
1759 . "$ac_site_file"
1761 done
1763 if test -r "$cache_file"; then
1764 # Some versions of bash will fail to source /dev/null (special
1765 # files actually), so we avoid doing that.
1766 if test -f "$cache_file"; then
1767 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1768 echo "$as_me: loading cache $cache_file" >&6;}
1769 case $cache_file in
1770 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1771 *) . "./$cache_file";;
1772 esac
1774 else
1775 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1776 echo "$as_me: creating cache $cache_file" >&6;}
1777 >$cache_file
1780 # Check that the precious variables saved in the cache have kept the same
1781 # value.
1782 ac_cache_corrupted=false
1783 for ac_var in $ac_precious_vars; do
1784 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1785 eval ac_new_set=\$ac_env_${ac_var}_set
1786 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1787 eval ac_new_val=\$ac_env_${ac_var}_value
1788 case $ac_old_set,$ac_new_set in
1789 set,)
1790 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1791 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1792 ac_cache_corrupted=: ;;
1793 ,set)
1794 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1795 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1796 ac_cache_corrupted=: ;;
1797 ,);;
1799 if test "x$ac_old_val" != "x$ac_new_val"; then
1800 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1801 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1802 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1803 echo "$as_me: former value: $ac_old_val" >&2;}
1804 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1805 echo "$as_me: current value: $ac_new_val" >&2;}
1806 ac_cache_corrupted=:
1807 fi;;
1808 esac
1809 # Pass precious variables to config.status.
1810 if test "$ac_new_set" = set; then
1811 case $ac_new_val in
1812 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1813 *) ac_arg=$ac_var=$ac_new_val ;;
1814 esac
1815 case " $ac_configure_args " in
1816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1817 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1818 esac
1820 done
1821 if $ac_cache_corrupted; then
1822 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1823 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1824 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1825 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1826 { (exit 1); exit 1; }; }
1853 ac_ext=c
1854 ac_cpp='$CPP $CPPFLAGS'
1855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1861 ac_config_headers="$ac_config_headers include/config.h"
1863 ac_aux_dir=
1864 for ac_dir in tools "$srcdir"/tools; do
1865 if test -f "$ac_dir/install-sh"; then
1866 ac_aux_dir=$ac_dir
1867 ac_install_sh="$ac_aux_dir/install-sh -c"
1868 break
1869 elif test -f "$ac_dir/install.sh"; then
1870 ac_aux_dir=$ac_dir
1871 ac_install_sh="$ac_aux_dir/install.sh -c"
1872 break
1873 elif test -f "$ac_dir/shtool"; then
1874 ac_aux_dir=$ac_dir
1875 ac_install_sh="$ac_aux_dir/shtool install -c"
1876 break
1878 done
1879 if test -z "$ac_aux_dir"; then
1880 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1881 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1882 { (exit 1); exit 1; }; }
1885 # These three variables are undocumented and unsupported,
1886 # and are intended to be withdrawn in a future Autoconf release.
1887 # They can cause serious problems if a builder's source tree is in a directory
1888 # whose full name contains unusual characters.
1889 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1890 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1891 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1896 # Check whether --enable-win16 was given.
1897 if test "${enable_win16+set}" = set; then
1898 enableval=$enable_win16;
1901 # Check whether --enable-win64 was given.
1902 if test "${enable_win64+set}" = set; then
1903 enableval=$enable_win64;
1906 # Check whether --enable-maintainer-mode was given.
1907 if test "${enable_maintainer_mode+set}" = set; then
1908 enableval=$enable_maintainer_mode;
1909 else
1910 MAINTAINER_MODE=\#
1916 # Check whether --with-alsa was given.
1917 if test "${with_alsa+set}" = set; then
1918 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1922 # Check whether --with-audioio was given.
1923 if test "${with_audioio+set}" = set; then
1924 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1928 # Check whether --with-capi was given.
1929 if test "${with_capi+set}" = set; then
1930 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1934 # Check whether --with-cms was given.
1935 if test "${with_cms+set}" = set; then
1936 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1940 # Check whether --with-coreaudio was given.
1941 if test "${with_coreaudio+set}" = set; then
1942 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1946 # Check whether --with-cups was given.
1947 if test "${with_cups+set}" = set; then
1948 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1952 # Check whether --with-curses was given.
1953 if test "${with_curses+set}" = set; then
1954 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1958 # Check whether --with-esd was given.
1959 if test "${with_esd+set}" = set; then
1960 withval=$with_esd;
1964 # Check whether --with-fontconfig was given.
1965 if test "${with_fontconfig+set}" = set; then
1966 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1970 # Check whether --with-gphoto was given.
1971 if test "${with_gphoto+set}" = set; then
1972 withval=$with_gphoto;
1976 # Check whether --with-hal was given.
1977 if test "${with_hal+set}" = set; then
1978 withval=$with_hal;
1982 # Check whether --with-jack was given.
1983 if test "${with_jack+set}" = set; then
1984 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1988 # Check whether --with-jpeg was given.
1989 if test "${with_jpeg+set}" = set; then
1990 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1994 # Check whether --with-ldap was given.
1995 if test "${with_ldap+set}" = set; then
1996 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2000 # Check whether --with-nas was given.
2001 if test "${with_nas+set}" = set; then
2002 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2006 # Check whether --with-opengl was given.
2007 if test "${with_opengl+set}" = set; then
2008 withval=$with_opengl;
2012 # Check whether --with-openssl was given.
2013 if test "${with_openssl+set}" = set; then
2014 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2018 # Check whether --with-oss was given.
2019 if test "${with_oss+set}" = set; then
2020 withval=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h=no; ac_cv_header_sys_soundcard_h=no; ac_cv_header_machine_soundcard_h=no; fi
2024 # Check whether --with-png was given.
2025 if test "${with_png+set}" = set; then
2026 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2030 # Check whether --with-sane was given.
2031 if test "${with_sane+set}" = set; then
2032 withval=$with_sane;
2036 # Check whether --with-xcomposite was given.
2037 if test "${with_xcomposite+set}" = set; then
2038 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2042 # Check whether --with-xcursor was given.
2043 if test "${with_xcursor+set}" = set; then
2044 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2048 # Check whether --with-xinerama was given.
2049 if test "${with_xinerama+set}" = set; then
2050 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2054 # Check whether --with-xinput was given.
2055 if test "${with_xinput+set}" = set; then
2056 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2060 # Check whether --with-xml was given.
2061 if test "${with_xml+set}" = set; then
2062 withval=$with_xml;
2066 # Check whether --with-xrandr was given.
2067 if test "${with_xrandr+set}" = set; then
2068 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2072 # Check whether --with-xrender was given.
2073 if test "${with_xrender+set}" = set; then
2074 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2078 # Check whether --with-xshape was given.
2079 if test "${with_xshape+set}" = set; then
2080 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2084 # Check whether --with-xshm was given.
2085 if test "${with_xshm+set}" = set; then
2086 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2090 # Check whether --with-xslt was given.
2091 if test "${with_xslt+set}" = set; then
2092 withval=$with_xslt;
2096 # Check whether --with-xvidmode was given.
2097 if test "${with_xvidmode+set}" = set; then
2098 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2103 # Check whether --with-wine-tools was given.
2104 if test "${with_wine_tools+set}" = set; then
2105 withval=$with_wine_tools;
2108 # Check whether --enable-tests was given.
2109 if test "${enable_tests+set}" = set; then
2110 enableval=$enable_tests;
2114 # Make sure we can run config.sub.
2115 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2116 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2117 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2118 { (exit 1); exit 1; }; }
2120 { echo "$as_me:$LINENO: checking build system type" >&5
2121 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2122 if test "${ac_cv_build+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125 ac_build_alias=$build_alias
2126 test "x$ac_build_alias" = x &&
2127 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2128 test "x$ac_build_alias" = x &&
2129 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2130 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2131 { (exit 1); exit 1; }; }
2132 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2133 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2134 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2135 { (exit 1); exit 1; }; }
2138 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2139 echo "${ECHO_T}$ac_cv_build" >&6; }
2140 case $ac_cv_build in
2141 *-*-*) ;;
2142 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2143 echo "$as_me: error: invalid value of canonical build" >&2;}
2144 { (exit 1); exit 1; }; };;
2145 esac
2146 build=$ac_cv_build
2147 ac_save_IFS=$IFS; IFS='-'
2148 set x $ac_cv_build
2149 shift
2150 build_cpu=$1
2151 build_vendor=$2
2152 shift; shift
2153 # Remember, the first character of IFS is used to create $*,
2154 # except with old shells:
2155 build_os=$*
2156 IFS=$ac_save_IFS
2157 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2160 { echo "$as_me:$LINENO: checking host system type" >&5
2161 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2162 if test "${ac_cv_host+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2164 else
2165 if test "x$host_alias" = x; then
2166 ac_cv_host=$ac_cv_build
2167 else
2168 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2169 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2170 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2171 { (exit 1); exit 1; }; }
2175 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2176 echo "${ECHO_T}$ac_cv_host" >&6; }
2177 case $ac_cv_host in
2178 *-*-*) ;;
2179 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2180 echo "$as_me: error: invalid value of canonical host" >&2;}
2181 { (exit 1); exit 1; }; };;
2182 esac
2183 host=$ac_cv_host
2184 ac_save_IFS=$IFS; IFS='-'
2185 set x $ac_cv_host
2186 shift
2187 host_cpu=$1
2188 host_vendor=$2
2189 shift; shift
2190 # Remember, the first character of IFS is used to create $*,
2191 # except with old shells:
2192 host_os=$*
2193 IFS=$ac_save_IFS
2194 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2197 case $host in
2198 x86_64*linux*)
2199 if test "x$enable_win64" != "xyes"
2200 then
2201 test -n "$CC" || CC="gcc -m32"
2202 test -n "$CXX"|| CXX="g++ -m32"
2203 test -n "$LD" || LD="ld -m elf_i386"
2204 test -n "$AS" || AS="as --32"
2205 host_cpu="i386"
2208 esac
2210 case $host_cpu in
2211 *i[3456789]86*)
2212 if test "x$enable_win16" != "xno"
2213 then
2214 enable_win16="yes"
2217 esac
2219 WIN16_FILES="\$(WIN16_FILES)"
2221 WIN16_INSTALL="\$(WIN16_INSTALL)"
2223 if test "x$enable_win16" != "xyes"
2224 then
2225 WIN16_FILES=""
2226 WIN16_INSTALL=""
2229 if test "x$enable_tests" == "xno"
2230 then
2231 TESTSUBDIRS=""
2233 WINETEST=""
2235 else
2236 TESTSUBDIRS="\$(TESTSUBDIRS)"
2238 WINETEST="winetest"
2242 case "$srcdir" in
2243 .) ;;
2244 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2245 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2246 You need to run 'make distclean' in the source tree first." >&5
2247 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2248 You need to run 'make distclean' in the source tree first." >&2;}
2249 { (exit 1); exit 1; }; }
2250 fi ;;
2251 esac
2254 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2255 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2256 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2257 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 else
2260 cat >conftest.make <<\_ACEOF
2261 SHELL = /bin/sh
2262 all:
2263 @echo '@@@%%%=$(MAKE)=@@@%%%'
2264 _ACEOF
2265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2266 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2267 *@@@%%%=?*=@@@%%%*)
2268 eval ac_cv_prog_make_${ac_make}_set=yes;;
2270 eval ac_cv_prog_make_${ac_make}_set=no;;
2271 esac
2272 rm -f conftest.make
2274 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2275 { echo "$as_me:$LINENO: result: yes" >&5
2276 echo "${ECHO_T}yes" >&6; }
2277 SET_MAKE=
2278 else
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2281 SET_MAKE="MAKE=${MAKE-make}"
2284 ac_ext=c
2285 ac_cpp='$CPP $CPPFLAGS'
2286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2291 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 else
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
2299 else
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 for as_dir in $PATH
2303 IFS=$as_save_IFS
2304 test -z "$as_dir" && as_dir=.
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 break 2
2311 done
2312 done
2313 IFS=$as_save_IFS
2317 CC=$ac_cv_prog_CC
2318 if test -n "$CC"; then
2319 { echo "$as_me:$LINENO: result: $CC" >&5
2320 echo "${ECHO_T}$CC" >&6; }
2321 else
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2328 if test -z "$ac_cv_prog_CC"; then
2329 ac_ct_CC=$CC
2330 # Extract the first word of "gcc", so it can be a program name with args.
2331 set dummy gcc; ac_word=$2
2332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2334 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2335 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 else
2337 if test -n "$ac_ct_CC"; then
2338 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2339 else
2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 for as_dir in $PATH
2343 IFS=$as_save_IFS
2344 test -z "$as_dir" && as_dir=.
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 ac_cv_prog_ac_ct_CC="gcc"
2348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 break 2
2351 done
2352 done
2353 IFS=$as_save_IFS
2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2358 if test -n "$ac_ct_CC"; then
2359 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2360 echo "${ECHO_T}$ac_ct_CC" >&6; }
2361 else
2362 { echo "$as_me:$LINENO: result: no" >&5
2363 echo "${ECHO_T}no" >&6; }
2366 if test "x$ac_ct_CC" = x; then
2367 CC=""
2368 else
2369 case $cross_compiling:$ac_tool_warned in
2370 yes:)
2371 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2372 whose name does not start with the host triplet. If you think this
2373 configuration is useful to you, please write to autoconf@gnu.org." >&5
2374 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2375 whose name does not start with the host triplet. If you think this
2376 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2377 ac_tool_warned=yes ;;
2378 esac
2379 CC=$ac_ct_CC
2381 else
2382 CC="$ac_cv_prog_CC"
2385 if test -z "$CC"; then
2386 if test -n "$ac_tool_prefix"; then
2387 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2388 set dummy ${ac_tool_prefix}cc; ac_word=$2
2389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2391 if test "${ac_cv_prog_CC+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 else
2394 if test -n "$CC"; then
2395 ac_cv_prog_CC="$CC" # Let the user override the test.
2396 else
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398 for as_dir in $PATH
2400 IFS=$as_save_IFS
2401 test -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404 ac_cv_prog_CC="${ac_tool_prefix}cc"
2405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2406 break 2
2408 done
2409 done
2410 IFS=$as_save_IFS
2414 CC=$ac_cv_prog_CC
2415 if test -n "$CC"; then
2416 { echo "$as_me:$LINENO: result: $CC" >&5
2417 echo "${ECHO_T}$CC" >&6; }
2418 else
2419 { echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6; }
2426 if test -z "$CC"; then
2427 # Extract the first word of "cc", so it can be a program name with args.
2428 set dummy cc; ac_word=$2
2429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2431 if test "${ac_cv_prog_CC+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 else
2434 if test -n "$CC"; then
2435 ac_cv_prog_CC="$CC" # Let the user override the test.
2436 else
2437 ac_prog_rejected=no
2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2439 for as_dir in $PATH
2441 IFS=$as_save_IFS
2442 test -z "$as_dir" && as_dir=.
2443 for ac_exec_ext in '' $ac_executable_extensions; do
2444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2445 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2446 ac_prog_rejected=yes
2447 continue
2449 ac_cv_prog_CC="cc"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 break 2
2453 done
2454 done
2455 IFS=$as_save_IFS
2457 if test $ac_prog_rejected = yes; then
2458 # We found a bogon in the path, so make sure we never use it.
2459 set dummy $ac_cv_prog_CC
2460 shift
2461 if test $# != 0; then
2462 # We chose a different compiler from the bogus one.
2463 # However, it has the same basename, so the bogon will be chosen
2464 # first if we set CC to just the basename; use the full file name.
2465 shift
2466 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2471 CC=$ac_cv_prog_CC
2472 if test -n "$CC"; then
2473 { echo "$as_me:$LINENO: result: $CC" >&5
2474 echo "${ECHO_T}$CC" >&6; }
2475 else
2476 { echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6; }
2482 if test -z "$CC"; then
2483 if test -n "$ac_tool_prefix"; then
2484 for ac_prog in cl.exe
2486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2492 else
2493 if test -n "$CC"; then
2494 ac_cv_prog_CC="$CC" # Let the user override the test.
2495 else
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 for as_dir in $PATH
2499 IFS=$as_save_IFS
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2503 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2505 break 2
2507 done
2508 done
2509 IFS=$as_save_IFS
2513 CC=$ac_cv_prog_CC
2514 if test -n "$CC"; then
2515 { echo "$as_me:$LINENO: result: $CC" >&5
2516 echo "${ECHO_T}$CC" >&6; }
2517 else
2518 { echo "$as_me:$LINENO: result: no" >&5
2519 echo "${ECHO_T}no" >&6; }
2523 test -n "$CC" && break
2524 done
2526 if test -z "$CC"; then
2527 ac_ct_CC=$CC
2528 for ac_prog in cl.exe
2530 # Extract the first word of "$ac_prog", so it can be a program name with args.
2531 set dummy $ac_prog; ac_word=$2
2532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2534 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2536 else
2537 if test -n "$ac_ct_CC"; then
2538 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2539 else
2540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 for as_dir in $PATH
2543 IFS=$as_save_IFS
2544 test -z "$as_dir" && as_dir=.
2545 for ac_exec_ext in '' $ac_executable_extensions; do
2546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2547 ac_cv_prog_ac_ct_CC="$ac_prog"
2548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 break 2
2551 done
2552 done
2553 IFS=$as_save_IFS
2557 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2558 if test -n "$ac_ct_CC"; then
2559 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2560 echo "${ECHO_T}$ac_ct_CC" >&6; }
2561 else
2562 { echo "$as_me:$LINENO: result: no" >&5
2563 echo "${ECHO_T}no" >&6; }
2567 test -n "$ac_ct_CC" && break
2568 done
2570 if test "x$ac_ct_CC" = x; then
2571 CC=""
2572 else
2573 case $cross_compiling:$ac_tool_warned in
2574 yes:)
2575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2576 whose name does not start with the host triplet. If you think this
2577 configuration is useful to you, please write to autoconf@gnu.org." >&5
2578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2579 whose name does not start with the host triplet. If you think this
2580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2581 ac_tool_warned=yes ;;
2582 esac
2583 CC=$ac_ct_CC
2590 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2591 See \`config.log' for more details." >&5
2592 echo "$as_me: error: no acceptable C compiler found in \$PATH
2593 See \`config.log' for more details." >&2;}
2594 { (exit 1); exit 1; }; }
2596 # Provide some information about the compiler.
2597 echo "$as_me:$LINENO: checking for C compiler version" >&5
2598 ac_compiler=`set X $ac_compile; echo $2`
2599 { (ac_try="$ac_compiler --version >&5"
2600 case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2603 esac
2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2605 (eval "$ac_compiler --version >&5") 2>&5
2606 ac_status=$?
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }
2609 { (ac_try="$ac_compiler -v >&5"
2610 case "(($ac_try" in
2611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2612 *) ac_try_echo=$ac_try;;
2613 esac
2614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2615 (eval "$ac_compiler -v >&5") 2>&5
2616 ac_status=$?
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }
2619 { (ac_try="$ac_compiler -V >&5"
2620 case "(($ac_try" in
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2623 esac
2624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2625 (eval "$ac_compiler -V >&5") 2>&5
2626 ac_status=$?
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }
2630 cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h. */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2638 main ()
2642 return 0;
2644 _ACEOF
2645 ac_clean_files_save=$ac_clean_files
2646 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2647 # Try to create an executable without -o first, disregard a.out.
2648 # It will help us diagnose broken compilers, and finding out an intuition
2649 # of exeext.
2650 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2651 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2652 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2654 # List of possible output files, starting from the most likely.
2655 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2656 # only as a last resort. b.out is created by i960 compilers.
2657 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2659 # The IRIX 6 linker writes into existing files which may not be
2660 # executable, retaining their permissions. Remove them first so a
2661 # subsequent execution test works.
2662 ac_rmfiles=
2663 for ac_file in $ac_files
2665 case $ac_file in
2666 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2667 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2668 esac
2669 done
2670 rm -f $ac_rmfiles
2672 if { (ac_try="$ac_link_default"
2673 case "(($ac_try" in
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2676 esac
2677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2678 (eval "$ac_link_default") 2>&5
2679 ac_status=$?
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; then
2682 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2683 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2684 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2685 # so that the user can short-circuit this test for compilers unknown to
2686 # Autoconf.
2687 for ac_file in $ac_files ''
2689 test -f "$ac_file" || continue
2690 case $ac_file in
2691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2693 [ab].out )
2694 # We found the default executable, but exeext='' is most
2695 # certainly right.
2696 break;;
2697 *.* )
2698 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2699 then :; else
2700 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2702 # We set ac_cv_exeext here because the later test for it is not
2703 # safe: cross compilers may not add the suffix if given an `-o'
2704 # argument, so we may need to know it at that point already.
2705 # Even if this section looks crufty: it has the advantage of
2706 # actually working.
2707 break;;
2709 break;;
2710 esac
2711 done
2712 test "$ac_cv_exeext" = no && ac_cv_exeext=
2714 else
2715 ac_file=''
2718 { echo "$as_me:$LINENO: result: $ac_file" >&5
2719 echo "${ECHO_T}$ac_file" >&6; }
2720 if test -z "$ac_file"; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2724 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2725 See \`config.log' for more details." >&5
2726 echo "$as_me: error: C compiler cannot create executables
2727 See \`config.log' for more details." >&2;}
2728 { (exit 77); exit 77; }; }
2731 ac_exeext=$ac_cv_exeext
2733 # Check that the compiler produces executables we can run. If not, either
2734 # the compiler is broken, or we cross compile.
2735 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2736 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2737 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2738 # If not cross compiling, check that we can run a simple program.
2739 if test "$cross_compiling" != yes; then
2740 if { ac_try='./$ac_file'
2741 { (case "(($ac_try" in
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2744 esac
2745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2746 (eval "$ac_try") 2>&5
2747 ac_status=$?
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2750 cross_compiling=no
2751 else
2752 if test "$cross_compiling" = maybe; then
2753 cross_compiling=yes
2754 else
2755 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2756 If you meant to cross compile, use \`--host'.
2757 See \`config.log' for more details." >&5
2758 echo "$as_me: error: cannot run C compiled programs.
2759 If you meant to cross compile, use \`--host'.
2760 See \`config.log' for more details." >&2;}
2761 { (exit 1); exit 1; }; }
2765 { echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6; }
2768 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2769 ac_clean_files=$ac_clean_files_save
2770 # Check that the compiler produces executables we can run. If not, either
2771 # the compiler is broken, or we cross compile.
2772 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2773 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2774 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2775 echo "${ECHO_T}$cross_compiling" >&6; }
2777 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2778 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2779 if { (ac_try="$ac_link"
2780 case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2783 esac
2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_link") 2>&5
2786 ac_status=$?
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; then
2789 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2790 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2791 # work properly (i.e., refer to `conftest.exe'), while it won't with
2792 # `rm'.
2793 for ac_file in conftest.exe conftest conftest.*; do
2794 test -f "$ac_file" || continue
2795 case $ac_file in
2796 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2797 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2798 break;;
2799 * ) break;;
2800 esac
2801 done
2802 else
2803 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2804 See \`config.log' for more details." >&5
2805 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2806 See \`config.log' for more details." >&2;}
2807 { (exit 1); exit 1; }; }
2810 rm -f conftest$ac_cv_exeext
2811 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2812 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2814 rm -f conftest.$ac_ext
2815 EXEEXT=$ac_cv_exeext
2816 ac_exeext=$EXEEXT
2817 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2818 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2819 if test "${ac_cv_objext+set}" = set; then
2820 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 else
2822 cat >conftest.$ac_ext <<_ACEOF
2823 /* confdefs.h. */
2824 _ACEOF
2825 cat confdefs.h >>conftest.$ac_ext
2826 cat >>conftest.$ac_ext <<_ACEOF
2827 /* end confdefs.h. */
2830 main ()
2834 return 0;
2836 _ACEOF
2837 rm -f conftest.o conftest.obj
2838 if { (ac_try="$ac_compile"
2839 case "(($ac_try" in
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2842 esac
2843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2844 (eval "$ac_compile") 2>&5
2845 ac_status=$?
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; then
2848 for ac_file in conftest.o conftest.obj conftest.*; do
2849 test -f "$ac_file" || continue;
2850 case $ac_file in
2851 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2852 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2853 break;;
2854 esac
2855 done
2856 else
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2861 See \`config.log' for more details." >&5
2862 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2863 See \`config.log' for more details." >&2;}
2864 { (exit 1); exit 1; }; }
2867 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2869 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2870 echo "${ECHO_T}$ac_cv_objext" >&6; }
2871 OBJEXT=$ac_cv_objext
2872 ac_objext=$OBJEXT
2873 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2874 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2875 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2877 else
2878 cat >conftest.$ac_ext <<_ACEOF
2879 /* confdefs.h. */
2880 _ACEOF
2881 cat confdefs.h >>conftest.$ac_ext
2882 cat >>conftest.$ac_ext <<_ACEOF
2883 /* end confdefs.h. */
2886 main ()
2888 #ifndef __GNUC__
2889 choke me
2890 #endif
2893 return 0;
2895 _ACEOF
2896 rm -f conftest.$ac_objext
2897 if { (ac_try="$ac_compile"
2898 case "(($ac_try" in
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2901 esac
2902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_compile") 2>conftest.er1
2904 ac_status=$?
2905 grep -v '^ *+' conftest.er1 >conftest.err
2906 rm -f conftest.er1
2907 cat conftest.err >&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); } && {
2910 test -z "$ac_c_werror_flag" ||
2911 test ! -s conftest.err
2912 } && test -s conftest.$ac_objext; then
2913 ac_compiler_gnu=yes
2914 else
2915 echo "$as_me: failed program was:" >&5
2916 sed 's/^/| /' conftest.$ac_ext >&5
2918 ac_compiler_gnu=no
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2925 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2926 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2927 GCC=`test $ac_compiler_gnu = yes && echo yes`
2928 ac_test_CFLAGS=${CFLAGS+set}
2929 ac_save_CFLAGS=$CFLAGS
2930 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2931 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2932 if test "${ac_cv_prog_cc_g+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 else
2935 ac_save_c_werror_flag=$ac_c_werror_flag
2936 ac_c_werror_flag=yes
2937 ac_cv_prog_cc_g=no
2938 CFLAGS="-g"
2939 cat >conftest.$ac_ext <<_ACEOF
2940 /* confdefs.h. */
2941 _ACEOF
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2947 main ()
2951 return 0;
2953 _ACEOF
2954 rm -f conftest.$ac_objext
2955 if { (ac_try="$ac_compile"
2956 case "(($ac_try" in
2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958 *) ac_try_echo=$ac_try;;
2959 esac
2960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2961 (eval "$ac_compile") 2>conftest.er1
2962 ac_status=$?
2963 grep -v '^ *+' conftest.er1 >conftest.err
2964 rm -f conftest.er1
2965 cat conftest.err >&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); } && {
2968 test -z "$ac_c_werror_flag" ||
2969 test ! -s conftest.err
2970 } && test -s conftest.$ac_objext; then
2971 ac_cv_prog_cc_g=yes
2972 else
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2976 CFLAGS=""
2977 cat >conftest.$ac_ext <<_ACEOF
2978 /* confdefs.h. */
2979 _ACEOF
2980 cat confdefs.h >>conftest.$ac_ext
2981 cat >>conftest.$ac_ext <<_ACEOF
2982 /* end confdefs.h. */
2985 main ()
2989 return 0;
2991 _ACEOF
2992 rm -f conftest.$ac_objext
2993 if { (ac_try="$ac_compile"
2994 case "(($ac_try" in
2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2996 *) ac_try_echo=$ac_try;;
2997 esac
2998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2999 (eval "$ac_compile") 2>conftest.er1
3000 ac_status=$?
3001 grep -v '^ *+' conftest.er1 >conftest.err
3002 rm -f conftest.er1
3003 cat conftest.err >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); } && {
3006 test -z "$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3008 } && test -s conftest.$ac_objext; then
3010 else
3011 echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 ac_c_werror_flag=$ac_save_c_werror_flag
3015 CFLAGS="-g"
3016 cat >conftest.$ac_ext <<_ACEOF
3017 /* confdefs.h. */
3018 _ACEOF
3019 cat confdefs.h >>conftest.$ac_ext
3020 cat >>conftest.$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3024 main ()
3028 return 0;
3030 _ACEOF
3031 rm -f conftest.$ac_objext
3032 if { (ac_try="$ac_compile"
3033 case "(($ac_try" in
3034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3036 esac
3037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3038 (eval "$ac_compile") 2>conftest.er1
3039 ac_status=$?
3040 grep -v '^ *+' conftest.er1 >conftest.err
3041 rm -f conftest.er1
3042 cat conftest.err >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } && {
3045 test -z "$ac_c_werror_flag" ||
3046 test ! -s conftest.err
3047 } && test -s conftest.$ac_objext; then
3048 ac_cv_prog_cc_g=yes
3049 else
3050 echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3063 ac_c_werror_flag=$ac_save_c_werror_flag
3065 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3066 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3067 if test "$ac_test_CFLAGS" = set; then
3068 CFLAGS=$ac_save_CFLAGS
3069 elif test $ac_cv_prog_cc_g = yes; then
3070 if test "$GCC" = yes; then
3071 CFLAGS="-g -O2"
3072 else
3073 CFLAGS="-g"
3075 else
3076 if test "$GCC" = yes; then
3077 CFLAGS="-O2"
3078 else
3079 CFLAGS=
3082 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3083 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3084 if test "${ac_cv_prog_cc_c89+set}" = set; then
3085 echo $ECHO_N "(cached) $ECHO_C" >&6
3086 else
3087 ac_cv_prog_cc_c89=no
3088 ac_save_CC=$CC
3089 cat >conftest.$ac_ext <<_ACEOF
3090 /* confdefs.h. */
3091 _ACEOF
3092 cat confdefs.h >>conftest.$ac_ext
3093 cat >>conftest.$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3095 #include <stdarg.h>
3096 #include <stdio.h>
3097 #include <sys/types.h>
3098 #include <sys/stat.h>
3099 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3100 struct buf { int x; };
3101 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3102 static char *e (p, i)
3103 char **p;
3104 int i;
3106 return p[i];
3108 static char *f (char * (*g) (char **, int), char **p, ...)
3110 char *s;
3111 va_list v;
3112 va_start (v,p);
3113 s = g (p, va_arg (v,int));
3114 va_end (v);
3115 return s;
3118 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3119 function prototypes and stuff, but not '\xHH' hex character constants.
3120 These don't provoke an error unfortunately, instead are silently treated
3121 as 'x'. The following induces an error, until -std is added to get
3122 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3123 array size at least. It's necessary to write '\x00'==0 to get something
3124 that's true only with -std. */
3125 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3127 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3128 inside strings and character constants. */
3129 #define FOO(x) 'x'
3130 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3132 int test (int i, double x);
3133 struct s1 {int (*f) (int a);};
3134 struct s2 {int (*f) (double a);};
3135 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3136 int argc;
3137 char **argv;
3139 main ()
3141 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3143 return 0;
3145 _ACEOF
3146 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3147 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3149 CC="$ac_save_CC $ac_arg"
3150 rm -f conftest.$ac_objext
3151 if { (ac_try="$ac_compile"
3152 case "(($ac_try" in
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3155 esac
3156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3158 ac_status=$?
3159 grep -v '^ *+' conftest.er1 >conftest.err
3160 rm -f conftest.er1
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_c_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3167 ac_cv_prog_cc_c89=$ac_arg
3168 else
3169 echo "$as_me: failed program was:" >&5
3170 sed 's/^/| /' conftest.$ac_ext >&5
3175 rm -f core conftest.err conftest.$ac_objext
3176 test "x$ac_cv_prog_cc_c89" != "xno" && break
3177 done
3178 rm -f conftest.$ac_ext
3179 CC=$ac_save_CC
3182 # AC_CACHE_VAL
3183 case "x$ac_cv_prog_cc_c89" in
3185 { echo "$as_me:$LINENO: result: none needed" >&5
3186 echo "${ECHO_T}none needed" >&6; } ;;
3187 xno)
3188 { echo "$as_me:$LINENO: result: unsupported" >&5
3189 echo "${ECHO_T}unsupported" >&6; } ;;
3191 CC="$CC $ac_cv_prog_cc_c89"
3192 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3193 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3194 esac
3197 ac_ext=c
3198 ac_cpp='$CPP $CPPFLAGS'
3199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3203 ac_ext=cpp
3204 ac_cpp='$CXXCPP $CPPFLAGS'
3205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3208 if test -z "$CXX"; then
3209 if test -n "$CCC"; then
3210 CXX=$CCC
3211 else
3212 if test -n "$ac_tool_prefix"; then
3213 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3219 if test "${ac_cv_prog_CXX+set}" = set; then
3220 echo $ECHO_N "(cached) $ECHO_C" >&6
3221 else
3222 if test -n "$CXX"; then
3223 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3224 else
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH
3228 IFS=$as_save_IFS
3229 test -z "$as_dir" && as_dir=.
3230 for ac_exec_ext in '' $ac_executable_extensions; do
3231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3232 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3234 break 2
3236 done
3237 done
3238 IFS=$as_save_IFS
3242 CXX=$ac_cv_prog_CXX
3243 if test -n "$CXX"; then
3244 { echo "$as_me:$LINENO: result: $CXX" >&5
3245 echo "${ECHO_T}$CXX" >&6; }
3246 else
3247 { echo "$as_me:$LINENO: result: no" >&5
3248 echo "${ECHO_T}no" >&6; }
3252 test -n "$CXX" && break
3253 done
3255 if test -z "$CXX"; then
3256 ac_ct_CXX=$CXX
3257 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3259 # Extract the first word of "$ac_prog", so it can be a program name with args.
3260 set dummy $ac_prog; ac_word=$2
3261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3263 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3265 else
3266 if test -n "$ac_ct_CXX"; then
3267 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3268 else
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3272 IFS=$as_save_IFS
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_ac_ct_CXX="$ac_prog"
3277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 break 2
3280 done
3281 done
3282 IFS=$as_save_IFS
3286 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3287 if test -n "$ac_ct_CXX"; then
3288 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3289 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3290 else
3291 { echo "$as_me:$LINENO: result: no" >&5
3292 echo "${ECHO_T}no" >&6; }
3296 test -n "$ac_ct_CXX" && break
3297 done
3299 if test "x$ac_ct_CXX" = x; then
3300 CXX="g++"
3301 else
3302 case $cross_compiling:$ac_tool_warned in
3303 yes:)
3304 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3305 whose name does not start with the host triplet. If you think this
3306 configuration is useful to you, please write to autoconf@gnu.org." >&5
3307 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3308 whose name does not start with the host triplet. If you think this
3309 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3310 ac_tool_warned=yes ;;
3311 esac
3312 CXX=$ac_ct_CXX
3318 # Provide some information about the compiler.
3319 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3320 ac_compiler=`set X $ac_compile; echo $2`
3321 { (ac_try="$ac_compiler --version >&5"
3322 case "(($ac_try" in
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3325 esac
3326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3327 (eval "$ac_compiler --version >&5") 2>&5
3328 ac_status=$?
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }
3331 { (ac_try="$ac_compiler -v >&5"
3332 case "(($ac_try" in
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3335 esac
3336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3337 (eval "$ac_compiler -v >&5") 2>&5
3338 ac_status=$?
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); }
3341 { (ac_try="$ac_compiler -V >&5"
3342 case "(($ac_try" in
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3345 esac
3346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3347 (eval "$ac_compiler -V >&5") 2>&5
3348 ac_status=$?
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }
3352 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3353 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3354 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3355 echo $ECHO_N "(cached) $ECHO_C" >&6
3356 else
3357 cat >conftest.$ac_ext <<_ACEOF
3358 /* confdefs.h. */
3359 _ACEOF
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3365 main ()
3367 #ifndef __GNUC__
3368 choke me
3369 #endif
3372 return 0;
3374 _ACEOF
3375 rm -f conftest.$ac_objext
3376 if { (ac_try="$ac_compile"
3377 case "(($ac_try" in
3378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379 *) ac_try_echo=$ac_try;;
3380 esac
3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_compile") 2>conftest.er1
3383 ac_status=$?
3384 grep -v '^ *+' conftest.er1 >conftest.err
3385 rm -f conftest.er1
3386 cat conftest.err >&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } && {
3389 test -z "$ac_cxx_werror_flag" ||
3390 test ! -s conftest.err
3391 } && test -s conftest.$ac_objext; then
3392 ac_compiler_gnu=yes
3393 else
3394 echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3397 ac_compiler_gnu=no
3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3401 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3404 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3405 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3406 GXX=`test $ac_compiler_gnu = yes && echo yes`
3407 ac_test_CXXFLAGS=${CXXFLAGS+set}
3408 ac_save_CXXFLAGS=$CXXFLAGS
3409 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3410 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3411 if test "${ac_cv_prog_cxx_g+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 else
3414 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3415 ac_cxx_werror_flag=yes
3416 ac_cv_prog_cxx_g=no
3417 CXXFLAGS="-g"
3418 cat >conftest.$ac_ext <<_ACEOF
3419 /* confdefs.h. */
3420 _ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3426 main ()
3430 return 0;
3432 _ACEOF
3433 rm -f conftest.$ac_objext
3434 if { (ac_try="$ac_compile"
3435 case "(($ac_try" in
3436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3438 esac
3439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3440 (eval "$ac_compile") 2>conftest.er1
3441 ac_status=$?
3442 grep -v '^ *+' conftest.er1 >conftest.err
3443 rm -f conftest.er1
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } && {
3447 test -z "$ac_cxx_werror_flag" ||
3448 test ! -s conftest.err
3449 } && test -s conftest.$ac_objext; then
3450 ac_cv_prog_cxx_g=yes
3451 else
3452 echo "$as_me: failed program was:" >&5
3453 sed 's/^/| /' conftest.$ac_ext >&5
3455 CXXFLAGS=""
3456 cat >conftest.$ac_ext <<_ACEOF
3457 /* confdefs.h. */
3458 _ACEOF
3459 cat confdefs.h >>conftest.$ac_ext
3460 cat >>conftest.$ac_ext <<_ACEOF
3461 /* end confdefs.h. */
3464 main ()
3468 return 0;
3470 _ACEOF
3471 rm -f conftest.$ac_objext
3472 if { (ac_try="$ac_compile"
3473 case "(($ac_try" in
3474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475 *) ac_try_echo=$ac_try;;
3476 esac
3477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3478 (eval "$ac_compile") 2>conftest.er1
3479 ac_status=$?
3480 grep -v '^ *+' conftest.er1 >conftest.err
3481 rm -f conftest.er1
3482 cat conftest.err >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); } && {
3485 test -z "$ac_cxx_werror_flag" ||
3486 test ! -s conftest.err
3487 } && test -s conftest.$ac_objext; then
3489 else
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3494 CXXFLAGS="-g"
3495 cat >conftest.$ac_ext <<_ACEOF
3496 /* confdefs.h. */
3497 _ACEOF
3498 cat confdefs.h >>conftest.$ac_ext
3499 cat >>conftest.$ac_ext <<_ACEOF
3500 /* end confdefs.h. */
3503 main ()
3507 return 0;
3509 _ACEOF
3510 rm -f conftest.$ac_objext
3511 if { (ac_try="$ac_compile"
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_compile") 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); } && {
3524 test -z "$ac_cxx_werror_flag" ||
3525 test ! -s conftest.err
3526 } && test -s conftest.$ac_objext; then
3527 ac_cv_prog_cxx_g=yes
3528 else
3529 echo "$as_me: failed program was:" >&5
3530 sed 's/^/| /' conftest.$ac_ext >&5
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3544 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3545 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3546 if test "$ac_test_CXXFLAGS" = set; then
3547 CXXFLAGS=$ac_save_CXXFLAGS
3548 elif test $ac_cv_prog_cxx_g = yes; then
3549 if test "$GXX" = yes; then
3550 CXXFLAGS="-g -O2"
3551 else
3552 CXXFLAGS="-g"
3554 else
3555 if test "$GXX" = yes; then
3556 CXXFLAGS="-O2"
3557 else
3558 CXXFLAGS=
3561 ac_ext=c
3562 ac_cpp='$CPP $CPPFLAGS'
3563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3567 if test -n "$ac_tool_prefix"; then
3568 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3569 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3572 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 else
3575 if test -n "$CPPBIN"; then
3576 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3577 else
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3581 IFS=$as_save_IFS
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 break 2
3589 done
3590 done
3591 IFS=$as_save_IFS
3595 CPPBIN=$ac_cv_prog_CPPBIN
3596 if test -n "$CPPBIN"; then
3597 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3598 echo "${ECHO_T}$CPPBIN" >&6; }
3599 else
3600 { echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6; }
3606 if test -z "$ac_cv_prog_CPPBIN"; then
3607 ac_ct_CPPBIN=$CPPBIN
3608 # Extract the first word of "cpp", so it can be a program name with args.
3609 set dummy cpp; ac_word=$2
3610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3612 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3614 else
3615 if test -n "$ac_ct_CPPBIN"; then
3616 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3617 else
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619 for as_dir in $PATH
3621 IFS=$as_save_IFS
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_ac_ct_CPPBIN="cpp"
3626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 break 2
3629 done
3630 done
3631 IFS=$as_save_IFS
3635 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3636 if test -n "$ac_ct_CPPBIN"; then
3637 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3638 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3639 else
3640 { echo "$as_me:$LINENO: result: no" >&5
3641 echo "${ECHO_T}no" >&6; }
3644 if test "x$ac_ct_CPPBIN" = x; then
3645 CPPBIN="cpp"
3646 else
3647 case $cross_compiling:$ac_tool_warned in
3648 yes:)
3649 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3650 whose name does not start with the host triplet. If you think this
3651 configuration is useful to you, please write to autoconf@gnu.org." >&5
3652 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3653 whose name does not start with the host triplet. If you think this
3654 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3655 ac_tool_warned=yes ;;
3656 esac
3657 CPPBIN=$ac_ct_CPPBIN
3659 else
3660 CPPBIN="$ac_cv_prog_CPPBIN"
3664 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3665 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3666 if test "${wine_cv_toolsdir+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3668 else
3669 if test -z "$with_wine_tools"; then
3670 if test "$cross_compiling" = "yes"; then
3671 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3672 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3673 { (exit 1); exit 1; }; }
3674 else
3675 wine_cv_toolsdir="\$(TOPOBJDIR)"
3677 elif test -d "$with_wine_tools/tools/winebuild"; then
3678 case $with_wine_tools in
3679 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3680 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3681 esac
3682 else
3683 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3684 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3685 { (exit 1); exit 1; }; }
3688 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3689 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3690 TOOLSDIR=$wine_cv_toolsdir
3694 ac_ext=c
3695 ac_cpp='$CPP $CPPFLAGS'
3696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3699 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3700 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3701 # On Suns, sometimes $CPP names a directory.
3702 if test -n "$CPP" && test -d "$CPP"; then
3703 CPP=
3705 if test -z "$CPP"; then
3706 if test "${ac_cv_prog_CPP+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 else
3709 # Double quotes because CPP needs to be expanded
3710 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3712 ac_preproc_ok=false
3713 for ac_c_preproc_warn_flag in '' yes
3715 # Use a header file that comes with gcc, so configuring glibc
3716 # with a fresh cross-compiler works.
3717 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3718 # <limits.h> exists even on freestanding compilers.
3719 # On the NeXT, cc -E runs the code through the compiler's parser,
3720 # not just through cpp. "Syntax error" is here to catch this case.
3721 cat >conftest.$ac_ext <<_ACEOF
3722 /* confdefs.h. */
3723 _ACEOF
3724 cat confdefs.h >>conftest.$ac_ext
3725 cat >>conftest.$ac_ext <<_ACEOF
3726 /* end confdefs.h. */
3727 #ifdef __STDC__
3728 # include <limits.h>
3729 #else
3730 # include <assert.h>
3731 #endif
3732 Syntax error
3733 _ACEOF
3734 if { (ac_try="$ac_cpp conftest.$ac_ext"
3735 case "(($ac_try" in
3736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3737 *) ac_try_echo=$ac_try;;
3738 esac
3739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3741 ac_status=$?
3742 grep -v '^ *+' conftest.er1 >conftest.err
3743 rm -f conftest.er1
3744 cat conftest.err >&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); } >/dev/null && {
3747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3748 test ! -s conftest.err
3749 }; then
3751 else
3752 echo "$as_me: failed program was:" >&5
3753 sed 's/^/| /' conftest.$ac_ext >&5
3755 # Broken: fails on valid input.
3756 continue
3759 rm -f conftest.err conftest.$ac_ext
3761 # OK, works on sane cases. Now check whether nonexistent headers
3762 # can be detected and how.
3763 cat >conftest.$ac_ext <<_ACEOF
3764 /* confdefs.h. */
3765 _ACEOF
3766 cat confdefs.h >>conftest.$ac_ext
3767 cat >>conftest.$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3769 #include <ac_nonexistent.h>
3770 _ACEOF
3771 if { (ac_try="$ac_cpp conftest.$ac_ext"
3772 case "(($ac_try" in
3773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774 *) ac_try_echo=$ac_try;;
3775 esac
3776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3777 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3778 ac_status=$?
3779 grep -v '^ *+' conftest.er1 >conftest.err
3780 rm -f conftest.er1
3781 cat conftest.err >&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } >/dev/null && {
3784 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3785 test ! -s conftest.err
3786 }; then
3787 # Broken: success on invalid input.
3788 continue
3789 else
3790 echo "$as_me: failed program was:" >&5
3791 sed 's/^/| /' conftest.$ac_ext >&5
3793 # Passes both tests.
3794 ac_preproc_ok=:
3795 break
3798 rm -f conftest.err conftest.$ac_ext
3800 done
3801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3802 rm -f conftest.err conftest.$ac_ext
3803 if $ac_preproc_ok; then
3804 break
3807 done
3808 ac_cv_prog_CPP=$CPP
3811 CPP=$ac_cv_prog_CPP
3812 else
3813 ac_cv_prog_CPP=$CPP
3815 { echo "$as_me:$LINENO: result: $CPP" >&5
3816 echo "${ECHO_T}$CPP" >&6; }
3817 ac_preproc_ok=false
3818 for ac_c_preproc_warn_flag in '' yes
3820 # Use a header file that comes with gcc, so configuring glibc
3821 # with a fresh cross-compiler works.
3822 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3823 # <limits.h> exists even on freestanding compilers.
3824 # On the NeXT, cc -E runs the code through the compiler's parser,
3825 # not just through cpp. "Syntax error" is here to catch this case.
3826 cat >conftest.$ac_ext <<_ACEOF
3827 /* confdefs.h. */
3828 _ACEOF
3829 cat confdefs.h >>conftest.$ac_ext
3830 cat >>conftest.$ac_ext <<_ACEOF
3831 /* end confdefs.h. */
3832 #ifdef __STDC__
3833 # include <limits.h>
3834 #else
3835 # include <assert.h>
3836 #endif
3837 Syntax error
3838 _ACEOF
3839 if { (ac_try="$ac_cpp conftest.$ac_ext"
3840 case "(($ac_try" in
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3843 esac
3844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3846 ac_status=$?
3847 grep -v '^ *+' conftest.er1 >conftest.err
3848 rm -f conftest.er1
3849 cat conftest.err >&5
3850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851 (exit $ac_status); } >/dev/null && {
3852 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3853 test ! -s conftest.err
3854 }; then
3856 else
3857 echo "$as_me: failed program was:" >&5
3858 sed 's/^/| /' conftest.$ac_ext >&5
3860 # Broken: fails on valid input.
3861 continue
3864 rm -f conftest.err conftest.$ac_ext
3866 # OK, works on sane cases. Now check whether nonexistent headers
3867 # can be detected and how.
3868 cat >conftest.$ac_ext <<_ACEOF
3869 /* confdefs.h. */
3870 _ACEOF
3871 cat confdefs.h >>conftest.$ac_ext
3872 cat >>conftest.$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3874 #include <ac_nonexistent.h>
3875 _ACEOF
3876 if { (ac_try="$ac_cpp conftest.$ac_ext"
3877 case "(($ac_try" in
3878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3879 *) ac_try_echo=$ac_try;;
3880 esac
3881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3883 ac_status=$?
3884 grep -v '^ *+' conftest.er1 >conftest.err
3885 rm -f conftest.er1
3886 cat conftest.err >&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } >/dev/null && {
3889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3890 test ! -s conftest.err
3891 }; then
3892 # Broken: success on invalid input.
3893 continue
3894 else
3895 echo "$as_me: failed program was:" >&5
3896 sed 's/^/| /' conftest.$ac_ext >&5
3898 # Passes both tests.
3899 ac_preproc_ok=:
3900 break
3903 rm -f conftest.err conftest.$ac_ext
3905 done
3906 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3907 rm -f conftest.err conftest.$ac_ext
3908 if $ac_preproc_ok; then
3910 else
3911 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3912 See \`config.log' for more details." >&5
3913 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3914 See \`config.log' for more details." >&2;}
3915 { (exit 1); exit 1; }; }
3918 ac_ext=c
3919 ac_cpp='$CPP $CPPFLAGS'
3920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925 { echo "$as_me:$LINENO: checking for X" >&5
3926 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3929 # Check whether --with-x was given.
3930 if test "${with_x+set}" = set; then
3931 withval=$with_x;
3934 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3935 if test "x$with_x" = xno; then
3936 # The user explicitly disabled X.
3937 have_x=disabled
3938 else
3939 case $x_includes,$x_libraries in #(
3940 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3941 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3942 { (exit 1); exit 1; }; };; #(
3943 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 else
3946 # One or both of the vars are not set, and there is no cached value.
3947 ac_x_includes=no ac_x_libraries=no
3948 rm -f -r conftest.dir
3949 if mkdir conftest.dir; then
3950 cd conftest.dir
3951 cat >Imakefile <<'_ACEOF'
3952 incroot:
3953 @echo incroot='${INCROOT}'
3954 usrlibdir:
3955 @echo usrlibdir='${USRLIBDIR}'
3956 libdir:
3957 @echo libdir='${LIBDIR}'
3958 _ACEOF
3959 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3961 for ac_var in incroot usrlibdir libdir; do
3962 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3963 done
3964 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3965 for ac_extension in a so sl; do
3966 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3967 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3968 ac_im_usrlibdir=$ac_im_libdir; break
3970 done
3971 # Screen out bogus values from the imake configuration. They are
3972 # bogus both because they are the default anyway, and because
3973 # using them would break gcc on systems where it needs fixed includes.
3974 case $ac_im_incroot in
3975 /usr/include) ac_x_includes= ;;
3976 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3977 esac
3978 case $ac_im_usrlibdir in
3979 /usr/lib | /lib) ;;
3980 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3981 esac
3983 cd ..
3984 rm -f -r conftest.dir
3987 # Standard set of common directories for X headers.
3988 # Check X11 before X11Rn because it is often a symlink to the current release.
3989 ac_x_header_dirs='
3990 /usr/X11/include
3991 /usr/X11R6/include
3992 /usr/X11R5/include
3993 /usr/X11R4/include
3995 /usr/include/X11
3996 /usr/include/X11R6
3997 /usr/include/X11R5
3998 /usr/include/X11R4
4000 /usr/local/X11/include
4001 /usr/local/X11R6/include
4002 /usr/local/X11R5/include
4003 /usr/local/X11R4/include
4005 /usr/local/include/X11
4006 /usr/local/include/X11R6
4007 /usr/local/include/X11R5
4008 /usr/local/include/X11R4
4010 /usr/X386/include
4011 /usr/x386/include
4012 /usr/XFree86/include/X11
4014 /usr/include
4015 /usr/local/include
4016 /usr/unsupported/include
4017 /usr/athena/include
4018 /usr/local/x11r5/include
4019 /usr/lpp/Xamples/include
4021 /usr/openwin/include
4022 /usr/openwin/share/include'
4024 if test "$ac_x_includes" = no; then
4025 # Guess where to find include files, by looking for Xlib.h.
4026 # First, try using that file with no special directory specified.
4027 cat >conftest.$ac_ext <<_ACEOF
4028 /* confdefs.h. */
4029 _ACEOF
4030 cat confdefs.h >>conftest.$ac_ext
4031 cat >>conftest.$ac_ext <<_ACEOF
4032 /* end confdefs.h. */
4033 #include <X11/Xlib.h>
4034 _ACEOF
4035 if { (ac_try="$ac_cpp conftest.$ac_ext"
4036 case "(($ac_try" in
4037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4039 esac
4040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4042 ac_status=$?
4043 grep -v '^ *+' conftest.er1 >conftest.err
4044 rm -f conftest.er1
4045 cat conftest.err >&5
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); } >/dev/null && {
4048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4049 test ! -s conftest.err
4050 }; then
4051 # We can compile using X headers with no special include directory.
4052 ac_x_includes=
4053 else
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4057 for ac_dir in $ac_x_header_dirs; do
4058 if test -r "$ac_dir/X11/Xlib.h"; then
4059 ac_x_includes=$ac_dir
4060 break
4062 done
4065 rm -f conftest.err conftest.$ac_ext
4066 fi # $ac_x_includes = no
4068 if test "$ac_x_libraries" = no; then
4069 # Check for the libraries.
4070 # See if we find them without any special options.
4071 # Don't add to $LIBS permanently.
4072 ac_save_LIBS=$LIBS
4073 LIBS="-lX11 $LIBS"
4074 cat >conftest.$ac_ext <<_ACEOF
4075 /* confdefs.h. */
4076 _ACEOF
4077 cat confdefs.h >>conftest.$ac_ext
4078 cat >>conftest.$ac_ext <<_ACEOF
4079 /* end confdefs.h. */
4080 #include <X11/Xlib.h>
4082 main ()
4084 XrmInitialize ()
4086 return 0;
4088 _ACEOF
4089 rm -f conftest.$ac_objext conftest$ac_exeext
4090 if { (ac_try="$ac_link"
4091 case "(($ac_try" in
4092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4093 *) ac_try_echo=$ac_try;;
4094 esac
4095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4096 (eval "$ac_link") 2>conftest.er1
4097 ac_status=$?
4098 grep -v '^ *+' conftest.er1 >conftest.err
4099 rm -f conftest.er1
4100 cat conftest.err >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); } && {
4103 test -z "$ac_c_werror_flag" ||
4104 test ! -s conftest.err
4105 } && test -s conftest$ac_exeext &&
4106 $as_test_x conftest$ac_exeext; then
4107 LIBS=$ac_save_LIBS
4108 # We can link X programs with no special library path.
4109 ac_x_libraries=
4110 else
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 LIBS=$ac_save_LIBS
4115 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4117 # Don't even attempt the hair of trying to link an X program!
4118 for ac_extension in a so sl; do
4119 if test -r "$ac_dir/libX11.$ac_extension"; then
4120 ac_x_libraries=$ac_dir
4121 break 2
4123 done
4124 done
4127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4128 conftest$ac_exeext conftest.$ac_ext
4129 fi # $ac_x_libraries = no
4131 case $ac_x_includes,$ac_x_libraries in #(
4132 no,* | *,no | *\'*)
4133 # Didn't find X, or a directory has "'" in its name.
4134 ac_cv_have_x="have_x=no";; #(
4136 # Record where we found X for the cache.
4137 ac_cv_have_x="have_x=yes\
4138 ac_x_includes='$ac_x_includes'\
4139 ac_x_libraries='$ac_x_libraries'"
4140 esac
4142 ;; #(
4143 *) have_x=yes;;
4144 esac
4145 eval "$ac_cv_have_x"
4146 fi # $with_x != no
4148 if test "$have_x" != yes; then
4149 { echo "$as_me:$LINENO: result: $have_x" >&5
4150 echo "${ECHO_T}$have_x" >&6; }
4151 no_x=yes
4152 else
4153 # If each of the values was on the command line, it overrides each guess.
4154 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4155 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4156 # Update the cache value to reflect the command line values.
4157 ac_cv_have_x="have_x=yes\
4158 ac_x_includes='$x_includes'\
4159 ac_x_libraries='$x_libraries'"
4160 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4161 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4164 if test "$no_x" = yes; then
4165 # Not all programs may use this symbol, but it does not hurt to define it.
4167 cat >>confdefs.h <<\_ACEOF
4168 #define X_DISPLAY_MISSING 1
4169 _ACEOF
4171 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4172 else
4173 if test -n "$x_includes"; then
4174 X_CFLAGS="$X_CFLAGS -I$x_includes"
4177 # It would also be nice to do this for all -L options, not just this one.
4178 if test -n "$x_libraries"; then
4179 X_LIBS="$X_LIBS -L$x_libraries"
4180 # For Solaris; some versions of Sun CC require a space after -R and
4181 # others require no space. Words are not sufficient . . . .
4182 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4183 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4184 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4185 ac_xsave_c_werror_flag=$ac_c_werror_flag
4186 ac_c_werror_flag=yes
4187 cat >conftest.$ac_ext <<_ACEOF
4188 /* confdefs.h. */
4189 _ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4195 main ()
4199 return 0;
4201 _ACEOF
4202 rm -f conftest.$ac_objext conftest$ac_exeext
4203 if { (ac_try="$ac_link"
4204 case "(($ac_try" in
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4207 esac
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_link") 2>conftest.er1
4210 ac_status=$?
4211 grep -v '^ *+' conftest.er1 >conftest.err
4212 rm -f conftest.er1
4213 cat conftest.err >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } && {
4216 test -z "$ac_c_werror_flag" ||
4217 test ! -s conftest.err
4218 } && test -s conftest$ac_exeext &&
4219 $as_test_x conftest$ac_exeext; then
4220 { echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6; }
4222 X_LIBS="$X_LIBS -R$x_libraries"
4223 else
4224 echo "$as_me: failed program was:" >&5
4225 sed 's/^/| /' conftest.$ac_ext >&5
4227 LIBS="$ac_xsave_LIBS -R $x_libraries"
4228 cat >conftest.$ac_ext <<_ACEOF
4229 /* confdefs.h. */
4230 _ACEOF
4231 cat confdefs.h >>conftest.$ac_ext
4232 cat >>conftest.$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4236 main ()
4240 return 0;
4242 _ACEOF
4243 rm -f conftest.$ac_objext conftest$ac_exeext
4244 if { (ac_try="$ac_link"
4245 case "(($ac_try" in
4246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4248 esac
4249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4250 (eval "$ac_link") 2>conftest.er1
4251 ac_status=$?
4252 grep -v '^ *+' conftest.er1 >conftest.err
4253 rm -f conftest.er1
4254 cat conftest.err >&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } && {
4257 test -z "$ac_c_werror_flag" ||
4258 test ! -s conftest.err
4259 } && test -s conftest$ac_exeext &&
4260 $as_test_x conftest$ac_exeext; then
4261 { echo "$as_me:$LINENO: result: yes" >&5
4262 echo "${ECHO_T}yes" >&6; }
4263 X_LIBS="$X_LIBS -R $x_libraries"
4264 else
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 { echo "$as_me:$LINENO: result: neither works" >&5
4269 echo "${ECHO_T}neither works" >&6; }
4272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4273 conftest$ac_exeext conftest.$ac_ext
4276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4277 conftest$ac_exeext conftest.$ac_ext
4278 ac_c_werror_flag=$ac_xsave_c_werror_flag
4279 LIBS=$ac_xsave_LIBS
4282 # Check for system-dependent libraries X programs must link with.
4283 # Do this before checking for the system-independent R6 libraries
4284 # (-lICE), since we may need -lsocket or whatever for X linking.
4286 if test "$ISC" = yes; then
4287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4288 else
4289 # Martyn Johnson says this is needed for Ultrix, if the X
4290 # libraries were built with DECnet support. And Karl Berry says
4291 # the Alpha needs dnet_stub (dnet does not exist).
4292 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4293 cat >conftest.$ac_ext <<_ACEOF
4294 /* confdefs.h. */
4295 _ACEOF
4296 cat confdefs.h >>conftest.$ac_ext
4297 cat >>conftest.$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4300 /* Override any GCC internal prototype to avoid an error.
4301 Use char because int might match the return type of a GCC
4302 builtin and then its argument prototype would still apply. */
4303 #ifdef __cplusplus
4304 extern "C"
4305 #endif
4306 char XOpenDisplay ();
4308 main ()
4310 return XOpenDisplay ();
4312 return 0;
4314 _ACEOF
4315 rm -f conftest.$ac_objext conftest$ac_exeext
4316 if { (ac_try="$ac_link"
4317 case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4320 esac
4321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4322 (eval "$ac_link") 2>conftest.er1
4323 ac_status=$?
4324 grep -v '^ *+' conftest.er1 >conftest.err
4325 rm -f conftest.er1
4326 cat conftest.err >&5
4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4328 (exit $ac_status); } && {
4329 test -z "$ac_c_werror_flag" ||
4330 test ! -s conftest.err
4331 } && test -s conftest$ac_exeext &&
4332 $as_test_x conftest$ac_exeext; then
4334 else
4335 echo "$as_me: failed program was:" >&5
4336 sed 's/^/| /' conftest.$ac_ext >&5
4338 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4339 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4340 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4341 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 else
4343 ac_check_lib_save_LIBS=$LIBS
4344 LIBS="-ldnet $LIBS"
4345 cat >conftest.$ac_ext <<_ACEOF
4346 /* confdefs.h. */
4347 _ACEOF
4348 cat confdefs.h >>conftest.$ac_ext
4349 cat >>conftest.$ac_ext <<_ACEOF
4350 /* end confdefs.h. */
4352 /* Override any GCC internal prototype to avoid an error.
4353 Use char because int might match the return type of a GCC
4354 builtin and then its argument prototype would still apply. */
4355 #ifdef __cplusplus
4356 extern "C"
4357 #endif
4358 char dnet_ntoa ();
4360 main ()
4362 return dnet_ntoa ();
4364 return 0;
4366 _ACEOF
4367 rm -f conftest.$ac_objext conftest$ac_exeext
4368 if { (ac_try="$ac_link"
4369 case "(($ac_try" in
4370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4371 *) ac_try_echo=$ac_try;;
4372 esac
4373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4374 (eval "$ac_link") 2>conftest.er1
4375 ac_status=$?
4376 grep -v '^ *+' conftest.er1 >conftest.err
4377 rm -f conftest.er1
4378 cat conftest.err >&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); } && {
4381 test -z "$ac_c_werror_flag" ||
4382 test ! -s conftest.err
4383 } && test -s conftest$ac_exeext &&
4384 $as_test_x conftest$ac_exeext; then
4385 ac_cv_lib_dnet_dnet_ntoa=yes
4386 else
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4390 ac_cv_lib_dnet_dnet_ntoa=no
4393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4394 conftest$ac_exeext conftest.$ac_ext
4395 LIBS=$ac_check_lib_save_LIBS
4397 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4398 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4399 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4400 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4403 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4404 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4405 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4406 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4407 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 else
4409 ac_check_lib_save_LIBS=$LIBS
4410 LIBS="-ldnet_stub $LIBS"
4411 cat >conftest.$ac_ext <<_ACEOF
4412 /* confdefs.h. */
4413 _ACEOF
4414 cat confdefs.h >>conftest.$ac_ext
4415 cat >>conftest.$ac_ext <<_ACEOF
4416 /* end confdefs.h. */
4418 /* Override any GCC internal prototype to avoid an error.
4419 Use char because int might match the return type of a GCC
4420 builtin and then its argument prototype would still apply. */
4421 #ifdef __cplusplus
4422 extern "C"
4423 #endif
4424 char dnet_ntoa ();
4426 main ()
4428 return dnet_ntoa ();
4430 return 0;
4432 _ACEOF
4433 rm -f conftest.$ac_objext conftest$ac_exeext
4434 if { (ac_try="$ac_link"
4435 case "(($ac_try" in
4436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437 *) ac_try_echo=$ac_try;;
4438 esac
4439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4440 (eval "$ac_link") 2>conftest.er1
4441 ac_status=$?
4442 grep -v '^ *+' conftest.er1 >conftest.err
4443 rm -f conftest.er1
4444 cat conftest.err >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } && {
4447 test -z "$ac_c_werror_flag" ||
4448 test ! -s conftest.err
4449 } && test -s conftest$ac_exeext &&
4450 $as_test_x conftest$ac_exeext; then
4451 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4452 else
4453 echo "$as_me: failed program was:" >&5
4454 sed 's/^/| /' conftest.$ac_ext >&5
4456 ac_cv_lib_dnet_stub_dnet_ntoa=no
4459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4460 conftest$ac_exeext conftest.$ac_ext
4461 LIBS=$ac_check_lib_save_LIBS
4463 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4464 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4465 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4466 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4473 conftest$ac_exeext conftest.$ac_ext
4474 LIBS="$ac_xsave_LIBS"
4476 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4477 # to get the SysV transport functions.
4478 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4479 # needs -lnsl.
4480 # The nsl library prevents programs from opening the X display
4481 # on Irix 5.2, according to T.E. Dickey.
4482 # The functions gethostbyname, getservbyname, and inet_addr are
4483 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4484 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4485 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4486 if test "${ac_cv_func_gethostbyname+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 else
4489 cat >conftest.$ac_ext <<_ACEOF
4490 /* confdefs.h. */
4491 _ACEOF
4492 cat confdefs.h >>conftest.$ac_ext
4493 cat >>conftest.$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4495 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4497 #define gethostbyname innocuous_gethostbyname
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char gethostbyname (); below.
4501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4502 <limits.h> exists even on freestanding compilers. */
4504 #ifdef __STDC__
4505 # include <limits.h>
4506 #else
4507 # include <assert.h>
4508 #endif
4510 #undef gethostbyname
4512 /* Override any GCC internal prototype to avoid an error.
4513 Use char because int might match the return type of a GCC
4514 builtin and then its argument prototype would still apply. */
4515 #ifdef __cplusplus
4516 extern "C"
4517 #endif
4518 char gethostbyname ();
4519 /* The GNU C library defines this for functions which it implements
4520 to always fail with ENOSYS. Some functions are actually named
4521 something starting with __ and the normal name is an alias. */
4522 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4523 choke me
4524 #endif
4527 main ()
4529 return gethostbyname ();
4531 return 0;
4533 _ACEOF
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (ac_try="$ac_link"
4536 case "(($ac_try" in
4537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 *) ac_try_echo=$ac_try;;
4539 esac
4540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 (eval "$ac_link") 2>conftest.er1
4542 ac_status=$?
4543 grep -v '^ *+' conftest.er1 >conftest.err
4544 rm -f conftest.er1
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && {
4548 test -z "$ac_c_werror_flag" ||
4549 test ! -s conftest.err
4550 } && test -s conftest$ac_exeext &&
4551 $as_test_x conftest$ac_exeext; then
4552 ac_cv_func_gethostbyname=yes
4553 else
4554 echo "$as_me: failed program was:" >&5
4555 sed 's/^/| /' conftest.$ac_ext >&5
4557 ac_cv_func_gethostbyname=no
4560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4561 conftest$ac_exeext conftest.$ac_ext
4563 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4564 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4566 if test $ac_cv_func_gethostbyname = no; then
4567 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4568 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4569 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 else
4572 ac_check_lib_save_LIBS=$LIBS
4573 LIBS="-lnsl $LIBS"
4574 cat >conftest.$ac_ext <<_ACEOF
4575 /* confdefs.h. */
4576 _ACEOF
4577 cat confdefs.h >>conftest.$ac_ext
4578 cat >>conftest.$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 /* Override any GCC internal prototype to avoid an error.
4582 Use char because int might match the return type of a GCC
4583 builtin and then its argument prototype would still apply. */
4584 #ifdef __cplusplus
4585 extern "C"
4586 #endif
4587 char gethostbyname ();
4589 main ()
4591 return gethostbyname ();
4593 return 0;
4595 _ACEOF
4596 rm -f conftest.$ac_objext conftest$ac_exeext
4597 if { (ac_try="$ac_link"
4598 case "(($ac_try" in
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4601 esac
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_link") 2>conftest.er1
4604 ac_status=$?
4605 grep -v '^ *+' conftest.er1 >conftest.err
4606 rm -f conftest.er1
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } && {
4610 test -z "$ac_c_werror_flag" ||
4611 test ! -s conftest.err
4612 } && test -s conftest$ac_exeext &&
4613 $as_test_x conftest$ac_exeext; then
4614 ac_cv_lib_nsl_gethostbyname=yes
4615 else
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.$ac_ext >&5
4619 ac_cv_lib_nsl_gethostbyname=no
4622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4623 conftest$ac_exeext conftest.$ac_ext
4624 LIBS=$ac_check_lib_save_LIBS
4626 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4627 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4628 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4629 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4632 if test $ac_cv_lib_nsl_gethostbyname = no; then
4633 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4634 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4635 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4637 else
4638 ac_check_lib_save_LIBS=$LIBS
4639 LIBS="-lbsd $LIBS"
4640 cat >conftest.$ac_ext <<_ACEOF
4641 /* confdefs.h. */
4642 _ACEOF
4643 cat confdefs.h >>conftest.$ac_ext
4644 cat >>conftest.$ac_ext <<_ACEOF
4645 /* end confdefs.h. */
4647 /* Override any GCC internal prototype to avoid an error.
4648 Use char because int might match the return type of a GCC
4649 builtin and then its argument prototype would still apply. */
4650 #ifdef __cplusplus
4651 extern "C"
4652 #endif
4653 char gethostbyname ();
4655 main ()
4657 return gethostbyname ();
4659 return 0;
4661 _ACEOF
4662 rm -f conftest.$ac_objext conftest$ac_exeext
4663 if { (ac_try="$ac_link"
4664 case "(($ac_try" in
4665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4666 *) ac_try_echo=$ac_try;;
4667 esac
4668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4669 (eval "$ac_link") 2>conftest.er1
4670 ac_status=$?
4671 grep -v '^ *+' conftest.er1 >conftest.err
4672 rm -f conftest.er1
4673 cat conftest.err >&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } && {
4676 test -z "$ac_c_werror_flag" ||
4677 test ! -s conftest.err
4678 } && test -s conftest$ac_exeext &&
4679 $as_test_x conftest$ac_exeext; then
4680 ac_cv_lib_bsd_gethostbyname=yes
4681 else
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4685 ac_cv_lib_bsd_gethostbyname=no
4688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4689 conftest$ac_exeext conftest.$ac_ext
4690 LIBS=$ac_check_lib_save_LIBS
4692 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4693 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4694 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4695 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4701 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4702 # socket/setsockopt and other routines are undefined under SCO ODT
4703 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4704 # on later versions), says Simon Leinen: it contains gethostby*
4705 # variants that don't use the name server (or something). -lsocket
4706 # must be given before -lnsl if both are needed. We assume that
4707 # if connect needs -lnsl, so does gethostbyname.
4708 { echo "$as_me:$LINENO: checking for connect" >&5
4709 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4710 if test "${ac_cv_func_connect+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 else
4713 cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h. */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4718 /* end confdefs.h. */
4719 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4721 #define connect innocuous_connect
4723 /* System header to define __stub macros and hopefully few prototypes,
4724 which can conflict with char connect (); below.
4725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4726 <limits.h> exists even on freestanding compilers. */
4728 #ifdef __STDC__
4729 # include <limits.h>
4730 #else
4731 # include <assert.h>
4732 #endif
4734 #undef connect
4736 /* Override any GCC internal prototype to avoid an error.
4737 Use char because int might match the return type of a GCC
4738 builtin and then its argument prototype would still apply. */
4739 #ifdef __cplusplus
4740 extern "C"
4741 #endif
4742 char connect ();
4743 /* The GNU C library defines this for functions which it implements
4744 to always fail with ENOSYS. Some functions are actually named
4745 something starting with __ and the normal name is an alias. */
4746 #if defined __stub_connect || defined __stub___connect
4747 choke me
4748 #endif
4751 main ()
4753 return connect ();
4755 return 0;
4757 _ACEOF
4758 rm -f conftest.$ac_objext conftest$ac_exeext
4759 if { (ac_try="$ac_link"
4760 case "(($ac_try" in
4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4762 *) ac_try_echo=$ac_try;;
4763 esac
4764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4765 (eval "$ac_link") 2>conftest.er1
4766 ac_status=$?
4767 grep -v '^ *+' conftest.er1 >conftest.err
4768 rm -f conftest.er1
4769 cat conftest.err >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); } && {
4772 test -z "$ac_c_werror_flag" ||
4773 test ! -s conftest.err
4774 } && test -s conftest$ac_exeext &&
4775 $as_test_x conftest$ac_exeext; then
4776 ac_cv_func_connect=yes
4777 else
4778 echo "$as_me: failed program was:" >&5
4779 sed 's/^/| /' conftest.$ac_ext >&5
4781 ac_cv_func_connect=no
4784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4785 conftest$ac_exeext conftest.$ac_ext
4787 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4788 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4790 if test $ac_cv_func_connect = no; then
4791 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4792 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4793 if test "${ac_cv_lib_socket_connect+set}" = set; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4795 else
4796 ac_check_lib_save_LIBS=$LIBS
4797 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4798 cat >conftest.$ac_ext <<_ACEOF
4799 /* confdefs.h. */
4800 _ACEOF
4801 cat confdefs.h >>conftest.$ac_ext
4802 cat >>conftest.$ac_ext <<_ACEOF
4803 /* end confdefs.h. */
4805 /* Override any GCC internal prototype to avoid an error.
4806 Use char because int might match the return type of a GCC
4807 builtin and then its argument prototype would still apply. */
4808 #ifdef __cplusplus
4809 extern "C"
4810 #endif
4811 char connect ();
4813 main ()
4815 return connect ();
4817 return 0;
4819 _ACEOF
4820 rm -f conftest.$ac_objext conftest$ac_exeext
4821 if { (ac_try="$ac_link"
4822 case "(($ac_try" in
4823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4824 *) ac_try_echo=$ac_try;;
4825 esac
4826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4827 (eval "$ac_link") 2>conftest.er1
4828 ac_status=$?
4829 grep -v '^ *+' conftest.er1 >conftest.err
4830 rm -f conftest.er1
4831 cat conftest.err >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } && {
4834 test -z "$ac_c_werror_flag" ||
4835 test ! -s conftest.err
4836 } && test -s conftest$ac_exeext &&
4837 $as_test_x conftest$ac_exeext; then
4838 ac_cv_lib_socket_connect=yes
4839 else
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.$ac_ext >&5
4843 ac_cv_lib_socket_connect=no
4846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4847 conftest$ac_exeext conftest.$ac_ext
4848 LIBS=$ac_check_lib_save_LIBS
4850 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4851 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4852 if test $ac_cv_lib_socket_connect = yes; then
4853 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4858 # Guillermo Gomez says -lposix is necessary on A/UX.
4859 { echo "$as_me:$LINENO: checking for remove" >&5
4860 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4861 if test "${ac_cv_func_remove+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 else
4864 cat >conftest.$ac_ext <<_ACEOF
4865 /* confdefs.h. */
4866 _ACEOF
4867 cat confdefs.h >>conftest.$ac_ext
4868 cat >>conftest.$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4870 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4872 #define remove innocuous_remove
4874 /* System header to define __stub macros and hopefully few prototypes,
4875 which can conflict with char remove (); below.
4876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4877 <limits.h> exists even on freestanding compilers. */
4879 #ifdef __STDC__
4880 # include <limits.h>
4881 #else
4882 # include <assert.h>
4883 #endif
4885 #undef remove
4887 /* Override any GCC internal prototype to avoid an error.
4888 Use char because int might match the return type of a GCC
4889 builtin and then its argument prototype would still apply. */
4890 #ifdef __cplusplus
4891 extern "C"
4892 #endif
4893 char remove ();
4894 /* The GNU C library defines this for functions which it implements
4895 to always fail with ENOSYS. Some functions are actually named
4896 something starting with __ and the normal name is an alias. */
4897 #if defined __stub_remove || defined __stub___remove
4898 choke me
4899 #endif
4902 main ()
4904 return remove ();
4906 return 0;
4908 _ACEOF
4909 rm -f conftest.$ac_objext conftest$ac_exeext
4910 if { (ac_try="$ac_link"
4911 case "(($ac_try" in
4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4913 *) ac_try_echo=$ac_try;;
4914 esac
4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4916 (eval "$ac_link") 2>conftest.er1
4917 ac_status=$?
4918 grep -v '^ *+' conftest.er1 >conftest.err
4919 rm -f conftest.er1
4920 cat conftest.err >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); } && {
4923 test -z "$ac_c_werror_flag" ||
4924 test ! -s conftest.err
4925 } && test -s conftest$ac_exeext &&
4926 $as_test_x conftest$ac_exeext; then
4927 ac_cv_func_remove=yes
4928 else
4929 echo "$as_me: failed program was:" >&5
4930 sed 's/^/| /' conftest.$ac_ext >&5
4932 ac_cv_func_remove=no
4935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4936 conftest$ac_exeext conftest.$ac_ext
4938 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4939 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4941 if test $ac_cv_func_remove = no; then
4942 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4943 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4944 if test "${ac_cv_lib_posix_remove+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 else
4947 ac_check_lib_save_LIBS=$LIBS
4948 LIBS="-lposix $LIBS"
4949 cat >conftest.$ac_ext <<_ACEOF
4950 /* confdefs.h. */
4951 _ACEOF
4952 cat confdefs.h >>conftest.$ac_ext
4953 cat >>conftest.$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4956 /* Override any GCC internal prototype to avoid an error.
4957 Use char because int might match the return type of a GCC
4958 builtin and then its argument prototype would still apply. */
4959 #ifdef __cplusplus
4960 extern "C"
4961 #endif
4962 char remove ();
4964 main ()
4966 return remove ();
4968 return 0;
4970 _ACEOF
4971 rm -f conftest.$ac_objext conftest$ac_exeext
4972 if { (ac_try="$ac_link"
4973 case "(($ac_try" in
4974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975 *) ac_try_echo=$ac_try;;
4976 esac
4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_link") 2>conftest.er1
4979 ac_status=$?
4980 grep -v '^ *+' conftest.er1 >conftest.err
4981 rm -f conftest.er1
4982 cat conftest.err >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } && {
4985 test -z "$ac_c_werror_flag" ||
4986 test ! -s conftest.err
4987 } && test -s conftest$ac_exeext &&
4988 $as_test_x conftest$ac_exeext; then
4989 ac_cv_lib_posix_remove=yes
4990 else
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.$ac_ext >&5
4994 ac_cv_lib_posix_remove=no
4997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4998 conftest$ac_exeext conftest.$ac_ext
4999 LIBS=$ac_check_lib_save_LIBS
5001 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5002 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5003 if test $ac_cv_lib_posix_remove = yes; then
5004 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5009 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5010 { echo "$as_me:$LINENO: checking for shmat" >&5
5011 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5012 if test "${ac_cv_func_shmat+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5014 else
5015 cat >conftest.$ac_ext <<_ACEOF
5016 /* confdefs.h. */
5017 _ACEOF
5018 cat confdefs.h >>conftest.$ac_ext
5019 cat >>conftest.$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5021 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5023 #define shmat innocuous_shmat
5025 /* System header to define __stub macros and hopefully few prototypes,
5026 which can conflict with char shmat (); below.
5027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5028 <limits.h> exists even on freestanding compilers. */
5030 #ifdef __STDC__
5031 # include <limits.h>
5032 #else
5033 # include <assert.h>
5034 #endif
5036 #undef shmat
5038 /* Override any GCC internal prototype to avoid an error.
5039 Use char because int might match the return type of a GCC
5040 builtin and then its argument prototype would still apply. */
5041 #ifdef __cplusplus
5042 extern "C"
5043 #endif
5044 char shmat ();
5045 /* The GNU C library defines this for functions which it implements
5046 to always fail with ENOSYS. Some functions are actually named
5047 something starting with __ and the normal name is an alias. */
5048 #if defined __stub_shmat || defined __stub___shmat
5049 choke me
5050 #endif
5053 main ()
5055 return shmat ();
5057 return 0;
5059 _ACEOF
5060 rm -f conftest.$ac_objext conftest$ac_exeext
5061 if { (ac_try="$ac_link"
5062 case "(($ac_try" in
5063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5064 *) ac_try_echo=$ac_try;;
5065 esac
5066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5067 (eval "$ac_link") 2>conftest.er1
5068 ac_status=$?
5069 grep -v '^ *+' conftest.er1 >conftest.err
5070 rm -f conftest.er1
5071 cat conftest.err >&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } && {
5074 test -z "$ac_c_werror_flag" ||
5075 test ! -s conftest.err
5076 } && test -s conftest$ac_exeext &&
5077 $as_test_x conftest$ac_exeext; then
5078 ac_cv_func_shmat=yes
5079 else
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.$ac_ext >&5
5083 ac_cv_func_shmat=no
5086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5087 conftest$ac_exeext conftest.$ac_ext
5089 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5090 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5092 if test $ac_cv_func_shmat = no; then
5093 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5094 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5095 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5097 else
5098 ac_check_lib_save_LIBS=$LIBS
5099 LIBS="-lipc $LIBS"
5100 cat >conftest.$ac_ext <<_ACEOF
5101 /* confdefs.h. */
5102 _ACEOF
5103 cat confdefs.h >>conftest.$ac_ext
5104 cat >>conftest.$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5107 /* Override any GCC internal prototype to avoid an error.
5108 Use char because int might match the return type of a GCC
5109 builtin and then its argument prototype would still apply. */
5110 #ifdef __cplusplus
5111 extern "C"
5112 #endif
5113 char shmat ();
5115 main ()
5117 return shmat ();
5119 return 0;
5121 _ACEOF
5122 rm -f conftest.$ac_objext conftest$ac_exeext
5123 if { (ac_try="$ac_link"
5124 case "(($ac_try" in
5125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5126 *) ac_try_echo=$ac_try;;
5127 esac
5128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5129 (eval "$ac_link") 2>conftest.er1
5130 ac_status=$?
5131 grep -v '^ *+' conftest.er1 >conftest.err
5132 rm -f conftest.er1
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } && {
5136 test -z "$ac_c_werror_flag" ||
5137 test ! -s conftest.err
5138 } && test -s conftest$ac_exeext &&
5139 $as_test_x conftest$ac_exeext; then
5140 ac_cv_lib_ipc_shmat=yes
5141 else
5142 echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5145 ac_cv_lib_ipc_shmat=no
5148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5149 conftest$ac_exeext conftest.$ac_ext
5150 LIBS=$ac_check_lib_save_LIBS
5152 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5153 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5154 if test $ac_cv_lib_ipc_shmat = yes; then
5155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5161 # Check for libraries that X11R6 Xt/Xaw programs need.
5162 ac_save_LDFLAGS=$LDFLAGS
5163 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5164 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5165 # check for ICE first), but we must link in the order -lSM -lICE or
5166 # we get undefined symbols. So assume we have SM if we have ICE.
5167 # These have to be linked with before -lX11, unlike the other
5168 # libraries we check for below, so use a different variable.
5169 # John Interrante, Karl Berry
5170 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5171 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5172 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5173 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 else
5175 ac_check_lib_save_LIBS=$LIBS
5176 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5177 cat >conftest.$ac_ext <<_ACEOF
5178 /* confdefs.h. */
5179 _ACEOF
5180 cat confdefs.h >>conftest.$ac_ext
5181 cat >>conftest.$ac_ext <<_ACEOF
5182 /* end confdefs.h. */
5184 /* Override any GCC internal prototype to avoid an error.
5185 Use char because int might match the return type of a GCC
5186 builtin and then its argument prototype would still apply. */
5187 #ifdef __cplusplus
5188 extern "C"
5189 #endif
5190 char IceConnectionNumber ();
5192 main ()
5194 return IceConnectionNumber ();
5196 return 0;
5198 _ACEOF
5199 rm -f conftest.$ac_objext conftest$ac_exeext
5200 if { (ac_try="$ac_link"
5201 case "(($ac_try" in
5202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5203 *) ac_try_echo=$ac_try;;
5204 esac
5205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5206 (eval "$ac_link") 2>conftest.er1
5207 ac_status=$?
5208 grep -v '^ *+' conftest.er1 >conftest.err
5209 rm -f conftest.er1
5210 cat conftest.err >&5
5211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 (exit $ac_status); } && {
5213 test -z "$ac_c_werror_flag" ||
5214 test ! -s conftest.err
5215 } && test -s conftest$ac_exeext &&
5216 $as_test_x conftest$ac_exeext; then
5217 ac_cv_lib_ICE_IceConnectionNumber=yes
5218 else
5219 echo "$as_me: failed program was:" >&5
5220 sed 's/^/| /' conftest.$ac_ext >&5
5222 ac_cv_lib_ICE_IceConnectionNumber=no
5225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5226 conftest$ac_exeext conftest.$ac_ext
5227 LIBS=$ac_check_lib_save_LIBS
5229 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5230 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5231 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5232 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5235 LDFLAGS=$ac_save_LDFLAGS
5240 for ac_prog in flex
5242 # Extract the first word of "$ac_prog", so it can be a program name with args.
5243 set dummy $ac_prog; ac_word=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_FLEX+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 else
5249 if test -n "$FLEX"; then
5250 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5251 else
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH
5255 IFS=$as_save_IFS
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_FLEX="$ac_prog"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 break 2
5263 done
5264 done
5265 IFS=$as_save_IFS
5269 FLEX=$ac_cv_prog_FLEX
5270 if test -n "$FLEX"; then
5271 { echo "$as_me:$LINENO: result: $FLEX" >&5
5272 echo "${ECHO_T}$FLEX" >&6; }
5273 else
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5279 test -n "$FLEX" && break
5280 done
5281 test -n "$FLEX" || FLEX="none"
5283 if test "$FLEX" = "none"
5284 then
5285 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5286 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5287 { (exit 1); exit 1; }; }
5290 for ac_prog in bison
5292 # Extract the first word of "$ac_prog", so it can be a program name with args.
5293 set dummy $ac_prog; ac_word=$2
5294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5296 if test "${ac_cv_prog_BISON+set}" = set; then
5297 echo $ECHO_N "(cached) $ECHO_C" >&6
5298 else
5299 if test -n "$BISON"; then
5300 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5301 else
5302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5303 for as_dir in $PATH
5305 IFS=$as_save_IFS
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5309 ac_cv_prog_BISON="$ac_prog"
5310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 break 2
5313 done
5314 done
5315 IFS=$as_save_IFS
5319 BISON=$ac_cv_prog_BISON
5320 if test -n "$BISON"; then
5321 { echo "$as_me:$LINENO: result: $BISON" >&5
5322 echo "${ECHO_T}$BISON" >&6; }
5323 else
5324 { echo "$as_me:$LINENO: result: no" >&5
5325 echo "${ECHO_T}no" >&6; }
5329 test -n "$BISON" && break
5330 done
5331 test -n "$BISON" || BISON="none"
5333 if test "$BISON" = "none"
5334 then
5335 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5336 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5337 { (exit 1); exit 1; }; }
5340 if test -n "$ac_tool_prefix"; then
5341 for ac_prog in gas as
5343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5347 if test "${ac_cv_prog_AS+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5349 else
5350 if test -n "$AS"; then
5351 ac_cv_prog_AS="$AS" # Let the user override the test.
5352 else
5353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 for as_dir in $PATH
5356 IFS=$as_save_IFS
5357 test -z "$as_dir" && as_dir=.
5358 for ac_exec_ext in '' $ac_executable_extensions; do
5359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5360 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 break 2
5364 done
5365 done
5366 IFS=$as_save_IFS
5370 AS=$ac_cv_prog_AS
5371 if test -n "$AS"; then
5372 { echo "$as_me:$LINENO: result: $AS" >&5
5373 echo "${ECHO_T}$AS" >&6; }
5374 else
5375 { echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6; }
5380 test -n "$AS" && break
5381 done
5383 if test -z "$AS"; then
5384 ac_ct_AS=$AS
5385 for ac_prog in gas as
5387 # Extract the first word of "$ac_prog", so it can be a program name with args.
5388 set dummy $ac_prog; ac_word=$2
5389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5391 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5392 echo $ECHO_N "(cached) $ECHO_C" >&6
5393 else
5394 if test -n "$ac_ct_AS"; then
5395 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5396 else
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5400 IFS=$as_save_IFS
5401 test -z "$as_dir" && as_dir=.
5402 for ac_exec_ext in '' $ac_executable_extensions; do
5403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5404 ac_cv_prog_ac_ct_AS="$ac_prog"
5405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5406 break 2
5408 done
5409 done
5410 IFS=$as_save_IFS
5414 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5415 if test -n "$ac_ct_AS"; then
5416 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5417 echo "${ECHO_T}$ac_ct_AS" >&6; }
5418 else
5419 { echo "$as_me:$LINENO: result: no" >&5
5420 echo "${ECHO_T}no" >&6; }
5424 test -n "$ac_ct_AS" && break
5425 done
5427 if test "x$ac_ct_AS" = x; then
5428 AS="as"
5429 else
5430 case $cross_compiling:$ac_tool_warned in
5431 yes:)
5432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5433 whose name does not start with the host triplet. If you think this
5434 configuration is useful to you, please write to autoconf@gnu.org." >&5
5435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5436 whose name does not start with the host triplet. If you think this
5437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5438 ac_tool_warned=yes ;;
5439 esac
5440 AS=$ac_ct_AS
5444 if test -n "$ac_tool_prefix"; then
5445 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5446 set dummy ${ac_tool_prefix}ld; ac_word=$2
5447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5449 if test "${ac_cv_prog_LD+set}" = set; then
5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5451 else
5452 if test -n "$LD"; then
5453 ac_cv_prog_LD="$LD" # Let the user override the test.
5454 else
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 for as_dir in $PATH
5458 IFS=$as_save_IFS
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5462 ac_cv_prog_LD="${ac_tool_prefix}ld"
5463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 break 2
5466 done
5467 done
5468 IFS=$as_save_IFS
5472 LD=$ac_cv_prog_LD
5473 if test -n "$LD"; then
5474 { echo "$as_me:$LINENO: result: $LD" >&5
5475 echo "${ECHO_T}$LD" >&6; }
5476 else
5477 { echo "$as_me:$LINENO: result: no" >&5
5478 echo "${ECHO_T}no" >&6; }
5483 if test -z "$ac_cv_prog_LD"; then
5484 ac_ct_LD=$LD
5485 # Extract the first word of "ld", so it can be a program name with args.
5486 set dummy ld; ac_word=$2
5487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5489 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5490 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 else
5492 if test -n "$ac_ct_LD"; then
5493 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5494 else
5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5496 for as_dir in $PATH
5498 IFS=$as_save_IFS
5499 test -z "$as_dir" && as_dir=.
5500 for ac_exec_ext in '' $ac_executable_extensions; do
5501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5502 ac_cv_prog_ac_ct_LD="ld"
5503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 break 2
5506 done
5507 done
5508 IFS=$as_save_IFS
5512 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5513 if test -n "$ac_ct_LD"; then
5514 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5515 echo "${ECHO_T}$ac_ct_LD" >&6; }
5516 else
5517 { echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6; }
5521 if test "x$ac_ct_LD" = x; then
5522 LD="ld"
5523 else
5524 case $cross_compiling:$ac_tool_warned in
5525 yes:)
5526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5527 whose name does not start with the host triplet. If you think this
5528 configuration is useful to you, please write to autoconf@gnu.org." >&5
5529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5530 whose name does not start with the host triplet. If you think this
5531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5532 ac_tool_warned=yes ;;
5533 esac
5534 LD=$ac_ct_LD
5536 else
5537 LD="$ac_cv_prog_LD"
5540 if test -n "$ac_tool_prefix"; then
5541 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5542 set dummy ${ac_tool_prefix}ar; ac_word=$2
5543 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5545 if test "${ac_cv_prog_AR+set}" = set; then
5546 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 else
5548 if test -n "$AR"; then
5549 ac_cv_prog_AR="$AR" # Let the user override the test.
5550 else
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 for as_dir in $PATH
5554 IFS=$as_save_IFS
5555 test -z "$as_dir" && as_dir=.
5556 for ac_exec_ext in '' $ac_executable_extensions; do
5557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5558 ac_cv_prog_AR="${ac_tool_prefix}ar"
5559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 break 2
5562 done
5563 done
5564 IFS=$as_save_IFS
5568 AR=$ac_cv_prog_AR
5569 if test -n "$AR"; then
5570 { echo "$as_me:$LINENO: result: $AR" >&5
5571 echo "${ECHO_T}$AR" >&6; }
5572 else
5573 { echo "$as_me:$LINENO: result: no" >&5
5574 echo "${ECHO_T}no" >&6; }
5579 if test -z "$ac_cv_prog_AR"; then
5580 ac_ct_AR=$AR
5581 # Extract the first word of "ar", so it can be a program name with args.
5582 set dummy ar; ac_word=$2
5583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5585 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 else
5588 if test -n "$ac_ct_AR"; then
5589 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5590 else
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5594 IFS=$as_save_IFS
5595 test -z "$as_dir" && as_dir=.
5596 for ac_exec_ext in '' $ac_executable_extensions; do
5597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5598 ac_cv_prog_ac_ct_AR="ar"
5599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 break 2
5602 done
5603 done
5604 IFS=$as_save_IFS
5608 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5609 if test -n "$ac_ct_AR"; then
5610 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5611 echo "${ECHO_T}$ac_ct_AR" >&6; }
5612 else
5613 { echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6; }
5617 if test "x$ac_ct_AR" = x; then
5618 AR="ar"
5619 else
5620 case $cross_compiling:$ac_tool_warned in
5621 yes:)
5622 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5623 whose name does not start with the host triplet. If you think this
5624 configuration is useful to you, please write to autoconf@gnu.org." >&5
5625 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5626 whose name does not start with the host triplet. If you think this
5627 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5628 ac_tool_warned=yes ;;
5629 esac
5630 AR=$ac_ct_AR
5632 else
5633 AR="$ac_cv_prog_AR"
5636 ARFLAGS=rc
5638 if test -n "$ac_tool_prefix"; then
5639 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5640 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5643 if test "${ac_cv_prog_RANLIB+set}" = set; then
5644 echo $ECHO_N "(cached) $ECHO_C" >&6
5645 else
5646 if test -n "$RANLIB"; then
5647 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5648 else
5649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5650 for as_dir in $PATH
5652 IFS=$as_save_IFS
5653 test -z "$as_dir" && as_dir=.
5654 for ac_exec_ext in '' $ac_executable_extensions; do
5655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5656 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 break 2
5660 done
5661 done
5662 IFS=$as_save_IFS
5666 RANLIB=$ac_cv_prog_RANLIB
5667 if test -n "$RANLIB"; then
5668 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5669 echo "${ECHO_T}$RANLIB" >&6; }
5670 else
5671 { echo "$as_me:$LINENO: result: no" >&5
5672 echo "${ECHO_T}no" >&6; }
5677 if test -z "$ac_cv_prog_RANLIB"; then
5678 ac_ct_RANLIB=$RANLIB
5679 # Extract the first word of "ranlib", so it can be a program name with args.
5680 set dummy ranlib; ac_word=$2
5681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5683 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5684 echo $ECHO_N "(cached) $ECHO_C" >&6
5685 else
5686 if test -n "$ac_ct_RANLIB"; then
5687 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5688 else
5689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5690 for as_dir in $PATH
5692 IFS=$as_save_IFS
5693 test -z "$as_dir" && as_dir=.
5694 for ac_exec_ext in '' $ac_executable_extensions; do
5695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5696 ac_cv_prog_ac_ct_RANLIB="ranlib"
5697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5698 break 2
5700 done
5701 done
5702 IFS=$as_save_IFS
5706 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5707 if test -n "$ac_ct_RANLIB"; then
5708 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5709 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5710 else
5711 { echo "$as_me:$LINENO: result: no" >&5
5712 echo "${ECHO_T}no" >&6; }
5715 if test "x$ac_ct_RANLIB" = x; then
5716 RANLIB=":"
5717 else
5718 case $cross_compiling:$ac_tool_warned in
5719 yes:)
5720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5721 whose name does not start with the host triplet. If you think this
5722 configuration is useful to you, please write to autoconf@gnu.org." >&5
5723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5724 whose name does not start with the host triplet. If you think this
5725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5726 ac_tool_warned=yes ;;
5727 esac
5728 RANLIB=$ac_ct_RANLIB
5730 else
5731 RANLIB="$ac_cv_prog_RANLIB"
5734 if test -n "$ac_tool_prefix"; then
5735 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5736 set dummy ${ac_tool_prefix}strip; ac_word=$2
5737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5739 if test "${ac_cv_prog_STRIP+set}" = set; then
5740 echo $ECHO_N "(cached) $ECHO_C" >&6
5741 else
5742 if test -n "$STRIP"; then
5743 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5744 else
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 for as_dir in $PATH
5748 IFS=$as_save_IFS
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5752 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5753 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 break 2
5756 done
5757 done
5758 IFS=$as_save_IFS
5762 STRIP=$ac_cv_prog_STRIP
5763 if test -n "$STRIP"; then
5764 { echo "$as_me:$LINENO: result: $STRIP" >&5
5765 echo "${ECHO_T}$STRIP" >&6; }
5766 else
5767 { echo "$as_me:$LINENO: result: no" >&5
5768 echo "${ECHO_T}no" >&6; }
5773 if test -z "$ac_cv_prog_STRIP"; then
5774 ac_ct_STRIP=$STRIP
5775 # Extract the first word of "strip", so it can be a program name with args.
5776 set dummy strip; ac_word=$2
5777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5779 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5781 else
5782 if test -n "$ac_ct_STRIP"; then
5783 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5784 else
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH
5788 IFS=$as_save_IFS
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5792 ac_cv_prog_ac_ct_STRIP="strip"
5793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 break 2
5796 done
5797 done
5798 IFS=$as_save_IFS
5802 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5803 if test -n "$ac_ct_STRIP"; then
5804 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5805 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5806 else
5807 { echo "$as_me:$LINENO: result: no" >&5
5808 echo "${ECHO_T}no" >&6; }
5811 if test "x$ac_ct_STRIP" = x; then
5812 STRIP="strip"
5813 else
5814 case $cross_compiling:$ac_tool_warned in
5815 yes:)
5816 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5817 whose name does not start with the host triplet. If you think this
5818 configuration is useful to you, please write to autoconf@gnu.org." >&5
5819 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5820 whose name does not start with the host triplet. If you think this
5821 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5822 ac_tool_warned=yes ;;
5823 esac
5824 STRIP=$ac_ct_STRIP
5826 else
5827 STRIP="$ac_cv_prog_STRIP"
5830 if test -n "$ac_tool_prefix"; then
5831 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5832 set dummy ${ac_tool_prefix}windres; ac_word=$2
5833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5835 if test "${ac_cv_prog_WINDRES+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5837 else
5838 if test -n "$WINDRES"; then
5839 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5840 else
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842 for as_dir in $PATH
5844 IFS=$as_save_IFS
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5848 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 break 2
5852 done
5853 done
5854 IFS=$as_save_IFS
5858 WINDRES=$ac_cv_prog_WINDRES
5859 if test -n "$WINDRES"; then
5860 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5861 echo "${ECHO_T}$WINDRES" >&6; }
5862 else
5863 { echo "$as_me:$LINENO: result: no" >&5
5864 echo "${ECHO_T}no" >&6; }
5869 if test -z "$ac_cv_prog_WINDRES"; then
5870 ac_ct_WINDRES=$WINDRES
5871 # Extract the first word of "windres", so it can be a program name with args.
5872 set dummy windres; ac_word=$2
5873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5875 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 else
5878 if test -n "$ac_ct_WINDRES"; then
5879 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5880 else
5881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 for as_dir in $PATH
5884 IFS=$as_save_IFS
5885 test -z "$as_dir" && as_dir=.
5886 for ac_exec_ext in '' $ac_executable_extensions; do
5887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5888 ac_cv_prog_ac_ct_WINDRES="windres"
5889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 break 2
5892 done
5893 done
5894 IFS=$as_save_IFS
5898 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5899 if test -n "$ac_ct_WINDRES"; then
5900 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5901 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5902 else
5903 { echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6; }
5907 if test "x$ac_ct_WINDRES" = x; then
5908 WINDRES="false"
5909 else
5910 case $cross_compiling:$ac_tool_warned in
5911 yes:)
5912 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5913 whose name does not start with the host triplet. If you think this
5914 configuration is useful to you, please write to autoconf@gnu.org." >&5
5915 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5916 whose name does not start with the host triplet. If you think this
5917 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5918 ac_tool_warned=yes ;;
5919 esac
5920 WINDRES=$ac_ct_WINDRES
5922 else
5923 WINDRES="$ac_cv_prog_WINDRES"
5926 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5927 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5928 LN_S=$as_ln_s
5929 if test "$LN_S" = "ln -s"; then
5930 { echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6; }
5932 else
5933 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5934 echo "${ECHO_T}no, using $LN_S" >&6; }
5937 { echo "$as_me:$LINENO: checking whether ln works" >&5
5938 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5939 rm -f conf$$ conf$$.file
5940 echo >conf$$.file
5941 if ln conf$$.file conf$$ 2>/dev/null; then
5942 LN=ln
5944 { echo "$as_me:$LINENO: result: yes" >&5
5945 echo "${ECHO_T}yes" >&6; }
5946 else
5947 LN="cp -p"
5949 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5950 echo "${ECHO_T}no, using $LN" >&6; }
5952 rm -f conf$$ conf$$.file
5953 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5954 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5955 if test "${ac_cv_path_GREP+set}" = set; then
5956 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 else
5958 # Extract the first word of "grep ggrep" to use in msg output
5959 if test -z "$GREP"; then
5960 set dummy grep ggrep; ac_prog_name=$2
5961 if test "${ac_cv_path_GREP+set}" = set; then
5962 echo $ECHO_N "(cached) $ECHO_C" >&6
5963 else
5964 ac_path_GREP_found=false
5965 # Loop through the user's path and test for each of PROGNAME-LIST
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5969 IFS=$as_save_IFS
5970 test -z "$as_dir" && as_dir=.
5971 for ac_prog in grep ggrep; do
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5974 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5975 # Check for GNU ac_path_GREP and select it if it is found.
5976 # Check for GNU $ac_path_GREP
5977 case `"$ac_path_GREP" --version 2>&1` in
5978 *GNU*)
5979 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5981 ac_count=0
5982 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5983 while :
5985 cat "conftest.in" "conftest.in" >"conftest.tmp"
5986 mv "conftest.tmp" "conftest.in"
5987 cp "conftest.in" "conftest.nl"
5988 echo 'GREP' >> "conftest.nl"
5989 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5990 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5991 ac_count=`expr $ac_count + 1`
5992 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5993 # Best one so far, save it but keep looking for a better one
5994 ac_cv_path_GREP="$ac_path_GREP"
5995 ac_path_GREP_max=$ac_count
5997 # 10*(2^10) chars as input seems more than enough
5998 test $ac_count -gt 10 && break
5999 done
6000 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6001 esac
6004 $ac_path_GREP_found && break 3
6005 done
6006 done
6008 done
6009 IFS=$as_save_IFS
6014 GREP="$ac_cv_path_GREP"
6015 if test -z "$GREP"; then
6016 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6017 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6018 { (exit 1); exit 1; }; }
6021 else
6022 ac_cv_path_GREP=$GREP
6027 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6028 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6029 GREP="$ac_cv_path_GREP"
6032 { echo "$as_me:$LINENO: checking for egrep" >&5
6033 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6034 if test "${ac_cv_path_EGREP+set}" = set; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6036 else
6037 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6038 then ac_cv_path_EGREP="$GREP -E"
6039 else
6040 # Extract the first word of "egrep" to use in msg output
6041 if test -z "$EGREP"; then
6042 set dummy egrep; ac_prog_name=$2
6043 if test "${ac_cv_path_EGREP+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6045 else
6046 ac_path_EGREP_found=false
6047 # Loop through the user's path and test for each of PROGNAME-LIST
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6051 IFS=$as_save_IFS
6052 test -z "$as_dir" && as_dir=.
6053 for ac_prog in egrep; do
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6056 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6057 # Check for GNU ac_path_EGREP and select it if it is found.
6058 # Check for GNU $ac_path_EGREP
6059 case `"$ac_path_EGREP" --version 2>&1` in
6060 *GNU*)
6061 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6063 ac_count=0
6064 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6065 while :
6067 cat "conftest.in" "conftest.in" >"conftest.tmp"
6068 mv "conftest.tmp" "conftest.in"
6069 cp "conftest.in" "conftest.nl"
6070 echo 'EGREP' >> "conftest.nl"
6071 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6072 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6073 ac_count=`expr $ac_count + 1`
6074 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6075 # Best one so far, save it but keep looking for a better one
6076 ac_cv_path_EGREP="$ac_path_EGREP"
6077 ac_path_EGREP_max=$ac_count
6079 # 10*(2^10) chars as input seems more than enough
6080 test $ac_count -gt 10 && break
6081 done
6082 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6083 esac
6086 $ac_path_EGREP_found && break 3
6087 done
6088 done
6090 done
6091 IFS=$as_save_IFS
6096 EGREP="$ac_cv_path_EGREP"
6097 if test -z "$EGREP"; then
6098 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6099 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6100 { (exit 1); exit 1; }; }
6103 else
6104 ac_cv_path_EGREP=$EGREP
6110 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6111 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6112 EGREP="$ac_cv_path_EGREP"
6115 # Extract the first word of "ldconfig", so it can be a program name with args.
6116 set dummy ldconfig; ac_word=$2
6117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6119 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6120 echo $ECHO_N "(cached) $ECHO_C" >&6
6121 else
6122 case $LDCONFIG in
6123 [\\/]* | ?:[\\/]*)
6124 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in /sbin /usr/sbin $PATH
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 break 2
6138 done
6139 done
6140 IFS=$as_save_IFS
6142 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6144 esac
6146 LDCONFIG=$ac_cv_path_LDCONFIG
6147 if test -n "$LDCONFIG"; then
6148 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6149 echo "${ECHO_T}$LDCONFIG" >&6; }
6150 else
6151 { echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6; }
6156 # Find a good install program. We prefer a C program (faster),
6157 # so one script is as good as another. But avoid the broken or
6158 # incompatible versions:
6159 # SysV /etc/install, /usr/sbin/install
6160 # SunOS /usr/etc/install
6161 # IRIX /sbin/install
6162 # AIX /bin/install
6163 # AmigaOS /C/install, which installs bootblocks on floppy discs
6164 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6165 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6166 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6167 # OS/2's system install, which has a completely different semantic
6168 # ./install, which can be erroneously created by make from ./install.sh.
6169 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6170 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6171 if test -z "$INSTALL"; then
6172 if test "${ac_cv_path_install+set}" = set; then
6173 echo $ECHO_N "(cached) $ECHO_C" >&6
6174 else
6175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6176 for as_dir in $PATH
6178 IFS=$as_save_IFS
6179 test -z "$as_dir" && as_dir=.
6180 # Account for people who put trailing slashes in PATH elements.
6181 case $as_dir/ in
6182 ./ | .// | /cC/* | \
6183 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6184 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6185 /usr/ucb/* ) ;;
6187 # OSF1 and SCO ODT 3.0 have their own names for install.
6188 # Don't use installbsd from OSF since it installs stuff as root
6189 # by default.
6190 for ac_prog in ginstall scoinst install; do
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6193 if test $ac_prog = install &&
6194 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6195 # AIX install. It has an incompatible calling convention.
6197 elif test $ac_prog = install &&
6198 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6199 # program-specific install script used by HP pwplus--don't use.
6201 else
6202 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6203 break 3
6206 done
6207 done
6209 esac
6210 done
6211 IFS=$as_save_IFS
6215 if test "${ac_cv_path_install+set}" = set; then
6216 INSTALL=$ac_cv_path_install
6217 else
6218 # As a last resort, use the slow shell script. Don't cache a
6219 # value for INSTALL within a source directory, because that will
6220 # break other packages using the cache if that directory is
6221 # removed, or if the value is a relative name.
6222 INSTALL=$ac_install_sh
6225 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6226 echo "${ECHO_T}$INSTALL" >&6; }
6228 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6229 # It thinks the first close brace ends the variable substitution.
6230 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6232 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6234 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6236 case "$INSTALL" in
6237 [\\/$]* | ?:[\\/]* ) ;;
6238 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6239 esac
6241 for ac_prog in lclint lint
6243 # Extract the first word of "$ac_prog", so it can be a program name with args.
6244 set dummy $ac_prog; ac_word=$2
6245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6247 if test "${ac_cv_prog_LINT+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 else
6250 if test -n "$LINT"; then
6251 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6252 else
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 for as_dir in $PATH
6256 IFS=$as_save_IFS
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260 ac_cv_prog_LINT="$ac_prog"
6261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 break 2
6264 done
6265 done
6266 IFS=$as_save_IFS
6270 LINT=$ac_cv_prog_LINT
6271 if test -n "$LINT"; then
6272 { echo "$as_me:$LINENO: result: $LINT" >&5
6273 echo "${ECHO_T}$LINT" >&6; }
6274 else
6275 { echo "$as_me:$LINENO: result: no" >&5
6276 echo "${ECHO_T}no" >&6; }
6280 test -n "$LINT" && break
6281 done
6283 if test "$LINT" = "lint"
6284 then
6285 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6290 for ac_prog in fontforge
6292 # Extract the first word of "$ac_prog", so it can be a program name with args.
6293 set dummy $ac_prog; ac_word=$2
6294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6296 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6298 else
6299 if test -n "$FONTFORGE"; then
6300 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6301 else
6302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6303 for as_dir in $PATH
6305 IFS=$as_save_IFS
6306 test -z "$as_dir" && as_dir=.
6307 for ac_exec_ext in '' $ac_executable_extensions; do
6308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6309 ac_cv_prog_FONTFORGE="$ac_prog"
6310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6311 break 2
6313 done
6314 done
6315 IFS=$as_save_IFS
6319 FONTFORGE=$ac_cv_prog_FONTFORGE
6320 if test -n "$FONTFORGE"; then
6321 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6322 echo "${ECHO_T}$FONTFORGE" >&6; }
6323 else
6324 { echo "$as_me:$LINENO: result: no" >&5
6325 echo "${ECHO_T}no" >&6; }
6329 test -n "$FONTFORGE" && break
6330 done
6331 test -n "$FONTFORGE" || FONTFORGE="false"
6333 for ac_prog in pkg-config
6335 # Extract the first word of "$ac_prog", so it can be a program name with args.
6336 set dummy $ac_prog; ac_word=$2
6337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6339 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6340 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 else
6342 if test -n "$PKG_CONFIG"; then
6343 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6344 else
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6346 for as_dir in $PATH
6348 IFS=$as_save_IFS
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_PKG_CONFIG="$ac_prog"
6353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6354 break 2
6356 done
6357 done
6358 IFS=$as_save_IFS
6362 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6363 if test -n "$PKG_CONFIG"; then
6364 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6365 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6366 else
6367 { echo "$as_me:$LINENO: result: no" >&5
6368 echo "${ECHO_T}no" >&6; }
6372 test -n "$PKG_CONFIG" && break
6373 done
6374 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6377 case $host_cpu in
6378 *i[3456789]86*)
6379 # Extract the first word of "prelink", so it can be a program name with args.
6380 set dummy prelink; ac_word=$2
6381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6383 if test "${ac_cv_path_PRELINK+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6385 else
6386 case $PRELINK in
6387 [\\/]* | ?:[\\/]*)
6388 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 for as_dir in /sbin /usr/sbin $PATH
6394 IFS=$as_save_IFS
6395 test -z "$as_dir" && as_dir=.
6396 for ac_exec_ext in '' $ac_executable_extensions; do
6397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6398 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 break 2
6402 done
6403 done
6404 IFS=$as_save_IFS
6406 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6408 esac
6410 PRELINK=$ac_cv_path_PRELINK
6411 if test -n "$PRELINK"; then
6412 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6413 echo "${ECHO_T}$PRELINK" >&6; }
6414 else
6415 { echo "$as_me:$LINENO: result: no" >&5
6416 echo "${ECHO_T}no" >&6; }
6421 esac
6425 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6426 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6427 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 else
6430 ac_check_lib_save_LIBS=$LIBS
6431 LIBS="-li386 $LIBS"
6432 cat >conftest.$ac_ext <<_ACEOF
6433 /* confdefs.h. */
6434 _ACEOF
6435 cat confdefs.h >>conftest.$ac_ext
6436 cat >>conftest.$ac_ext <<_ACEOF
6437 /* end confdefs.h. */
6439 /* Override any GCC internal prototype to avoid an error.
6440 Use char because int might match the return type of a GCC
6441 builtin and then its argument prototype would still apply. */
6442 #ifdef __cplusplus
6443 extern "C"
6444 #endif
6445 char i386_set_ldt ();
6447 main ()
6449 return i386_set_ldt ();
6451 return 0;
6453 _ACEOF
6454 rm -f conftest.$ac_objext conftest$ac_exeext
6455 if { (ac_try="$ac_link"
6456 case "(($ac_try" in
6457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6458 *) ac_try_echo=$ac_try;;
6459 esac
6460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6461 (eval "$ac_link") 2>conftest.er1
6462 ac_status=$?
6463 grep -v '^ *+' conftest.er1 >conftest.err
6464 rm -f conftest.er1
6465 cat conftest.err >&5
6466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); } && {
6468 test -z "$ac_c_werror_flag" ||
6469 test ! -s conftest.err
6470 } && test -s conftest$ac_exeext &&
6471 $as_test_x conftest$ac_exeext; then
6472 ac_cv_lib_i386_i386_set_ldt=yes
6473 else
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6477 ac_cv_lib_i386_i386_set_ldt=no
6480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6481 conftest$ac_exeext conftest.$ac_ext
6482 LIBS=$ac_check_lib_save_LIBS
6484 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6485 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6486 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6487 cat >>confdefs.h <<_ACEOF
6488 #define HAVE_LIBI386 1
6489 _ACEOF
6491 LIBS="-li386 $LIBS"
6496 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6497 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6498 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6499 echo $ECHO_N "(cached) $ECHO_C" >&6
6500 else
6501 ac_check_lib_save_LIBS=$LIBS
6502 LIBS="-lossaudio $LIBS"
6503 cat >conftest.$ac_ext <<_ACEOF
6504 /* confdefs.h. */
6505 _ACEOF
6506 cat confdefs.h >>conftest.$ac_ext
6507 cat >>conftest.$ac_ext <<_ACEOF
6508 /* end confdefs.h. */
6510 /* Override any GCC internal prototype to avoid an error.
6511 Use char because int might match the return type of a GCC
6512 builtin and then its argument prototype would still apply. */
6513 #ifdef __cplusplus
6514 extern "C"
6515 #endif
6516 char _oss_ioctl ();
6518 main ()
6520 return _oss_ioctl ();
6522 return 0;
6524 _ACEOF
6525 rm -f conftest.$ac_objext conftest$ac_exeext
6526 if { (ac_try="$ac_link"
6527 case "(($ac_try" in
6528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6529 *) ac_try_echo=$ac_try;;
6530 esac
6531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6532 (eval "$ac_link") 2>conftest.er1
6533 ac_status=$?
6534 grep -v '^ *+' conftest.er1 >conftest.err
6535 rm -f conftest.er1
6536 cat conftest.err >&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } && {
6539 test -z "$ac_c_werror_flag" ||
6540 test ! -s conftest.err
6541 } && test -s conftest$ac_exeext &&
6542 $as_test_x conftest$ac_exeext; then
6543 ac_cv_lib_ossaudio__oss_ioctl=yes
6544 else
6545 echo "$as_me: failed program was:" >&5
6546 sed 's/^/| /' conftest.$ac_ext >&5
6548 ac_cv_lib_ossaudio__oss_ioctl=no
6551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6552 conftest$ac_exeext conftest.$ac_ext
6553 LIBS=$ac_check_lib_save_LIBS
6555 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6556 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6557 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6558 cat >>confdefs.h <<_ACEOF
6559 #define HAVE_LIBOSSAUDIO 1
6560 _ACEOF
6562 LIBS="-lossaudio $LIBS"
6566 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6567 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6568 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6569 echo $ECHO_N "(cached) $ECHO_C" >&6
6570 else
6571 ac_check_lib_save_LIBS=$LIBS
6572 LIBS="-lpthread $LIBS"
6573 cat >conftest.$ac_ext <<_ACEOF
6574 /* confdefs.h. */
6575 _ACEOF
6576 cat confdefs.h >>conftest.$ac_ext
6577 cat >>conftest.$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6580 /* Override any GCC internal prototype to avoid an error.
6581 Use char because int might match the return type of a GCC
6582 builtin and then its argument prototype would still apply. */
6583 #ifdef __cplusplus
6584 extern "C"
6585 #endif
6586 char pthread_create ();
6588 main ()
6590 return pthread_create ();
6592 return 0;
6594 _ACEOF
6595 rm -f conftest.$ac_objext conftest$ac_exeext
6596 if { (ac_try="$ac_link"
6597 case "(($ac_try" in
6598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6599 *) ac_try_echo=$ac_try;;
6600 esac
6601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6602 (eval "$ac_link") 2>conftest.er1
6603 ac_status=$?
6604 grep -v '^ *+' conftest.er1 >conftest.err
6605 rm -f conftest.er1
6606 cat conftest.err >&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); } && {
6609 test -z "$ac_c_werror_flag" ||
6610 test ! -s conftest.err
6611 } && test -s conftest$ac_exeext &&
6612 $as_test_x conftest$ac_exeext; then
6613 ac_cv_lib_pthread_pthread_create=yes
6614 else
6615 echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.$ac_ext >&5
6618 ac_cv_lib_pthread_pthread_create=no
6621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6622 conftest$ac_exeext conftest.$ac_ext
6623 LIBS=$ac_check_lib_save_LIBS
6625 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6626 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6627 if test $ac_cv_lib_pthread_pthread_create = yes; then
6628 LIBPTHREAD="-lpthread"
6633 XLIB=""
6635 XFILES=""
6637 OPENGLFILES=""
6639 GLU32FILES=""
6641 OPENGL_LIBS=""
6643 QUARTZFILES=""
6647 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6648 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6649 if test "${ac_cv_header_stdc+set}" = set; then
6650 echo $ECHO_N "(cached) $ECHO_C" >&6
6651 else
6652 cat >conftest.$ac_ext <<_ACEOF
6653 /* confdefs.h. */
6654 _ACEOF
6655 cat confdefs.h >>conftest.$ac_ext
6656 cat >>conftest.$ac_ext <<_ACEOF
6657 /* end confdefs.h. */
6658 #include <stdlib.h>
6659 #include <stdarg.h>
6660 #include <string.h>
6661 #include <float.h>
6664 main ()
6668 return 0;
6670 _ACEOF
6671 rm -f conftest.$ac_objext
6672 if { (ac_try="$ac_compile"
6673 case "(($ac_try" in
6674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6675 *) ac_try_echo=$ac_try;;
6676 esac
6677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6678 (eval "$ac_compile") 2>conftest.er1
6679 ac_status=$?
6680 grep -v '^ *+' conftest.er1 >conftest.err
6681 rm -f conftest.er1
6682 cat conftest.err >&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); } && {
6685 test -z "$ac_c_werror_flag" ||
6686 test ! -s conftest.err
6687 } && test -s conftest.$ac_objext; then
6688 ac_cv_header_stdc=yes
6689 else
6690 echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.$ac_ext >&5
6693 ac_cv_header_stdc=no
6696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6698 if test $ac_cv_header_stdc = yes; then
6699 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6700 cat >conftest.$ac_ext <<_ACEOF
6701 /* confdefs.h. */
6702 _ACEOF
6703 cat confdefs.h >>conftest.$ac_ext
6704 cat >>conftest.$ac_ext <<_ACEOF
6705 /* end confdefs.h. */
6706 #include <string.h>
6708 _ACEOF
6709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6710 $EGREP "memchr" >/dev/null 2>&1; then
6712 else
6713 ac_cv_header_stdc=no
6715 rm -f conftest*
6719 if test $ac_cv_header_stdc = yes; then
6720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6721 cat >conftest.$ac_ext <<_ACEOF
6722 /* confdefs.h. */
6723 _ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h. */
6727 #include <stdlib.h>
6729 _ACEOF
6730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6731 $EGREP "free" >/dev/null 2>&1; then
6733 else
6734 ac_cv_header_stdc=no
6736 rm -f conftest*
6740 if test $ac_cv_header_stdc = yes; then
6741 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6742 if test "$cross_compiling" = yes; then
6744 else
6745 cat >conftest.$ac_ext <<_ACEOF
6746 /* confdefs.h. */
6747 _ACEOF
6748 cat confdefs.h >>conftest.$ac_ext
6749 cat >>conftest.$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6751 #include <ctype.h>
6752 #include <stdlib.h>
6753 #if ((' ' & 0x0FF) == 0x020)
6754 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6755 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6756 #else
6757 # define ISLOWER(c) \
6758 (('a' <= (c) && (c) <= 'i') \
6759 || ('j' <= (c) && (c) <= 'r') \
6760 || ('s' <= (c) && (c) <= 'z'))
6761 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6762 #endif
6764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6766 main ()
6768 int i;
6769 for (i = 0; i < 256; i++)
6770 if (XOR (islower (i), ISLOWER (i))
6771 || toupper (i) != TOUPPER (i))
6772 return 2;
6773 return 0;
6775 _ACEOF
6776 rm -f conftest$ac_exeext
6777 if { (ac_try="$ac_link"
6778 case "(($ac_try" in
6779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6780 *) ac_try_echo=$ac_try;;
6781 esac
6782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6783 (eval "$ac_link") 2>&5
6784 ac_status=$?
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6787 { (case "(($ac_try" in
6788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6789 *) ac_try_echo=$ac_try;;
6790 esac
6791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6792 (eval "$ac_try") 2>&5
6793 ac_status=$?
6794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795 (exit $ac_status); }; }; then
6797 else
6798 echo "$as_me: program exited with status $ac_status" >&5
6799 echo "$as_me: failed program was:" >&5
6800 sed 's/^/| /' conftest.$ac_ext >&5
6802 ( exit $ac_status )
6803 ac_cv_header_stdc=no
6805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6811 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6812 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6813 if test $ac_cv_header_stdc = yes; then
6815 cat >>confdefs.h <<\_ACEOF
6816 #define STDC_HEADERS 1
6817 _ACEOF
6821 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6831 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6832 inttypes.h stdint.h unistd.h
6834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6838 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 else
6840 cat >conftest.$ac_ext <<_ACEOF
6841 /* confdefs.h. */
6842 _ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 $ac_includes_default
6848 #include <$ac_header>
6849 _ACEOF
6850 rm -f conftest.$ac_objext
6851 if { (ac_try="$ac_compile"
6852 case "(($ac_try" in
6853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6854 *) ac_try_echo=$ac_try;;
6855 esac
6856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6857 (eval "$ac_compile") 2>conftest.er1
6858 ac_status=$?
6859 grep -v '^ *+' conftest.er1 >conftest.err
6860 rm -f conftest.er1
6861 cat conftest.err >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); } && {
6864 test -z "$ac_c_werror_flag" ||
6865 test ! -s conftest.err
6866 } && test -s conftest.$ac_objext; then
6867 eval "$as_ac_Header=yes"
6868 else
6869 echo "$as_me: failed program was:" >&5
6870 sed 's/^/| /' conftest.$ac_ext >&5
6872 eval "$as_ac_Header=no"
6875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6877 ac_res=`eval echo '${'$as_ac_Header'}'`
6878 { echo "$as_me:$LINENO: result: $ac_res" >&5
6879 echo "${ECHO_T}$ac_res" >&6; }
6880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6881 cat >>confdefs.h <<_ACEOF
6882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6883 _ACEOF
6887 done
7000 for ac_header in \
7001 AudioUnit/AudioUnit.h \
7002 Carbon/Carbon.h \
7003 CoreAudio/CoreAudio.h \
7004 DiskArbitration/DiskArbitration.h \
7005 IOKit/IOKitLib.h \
7006 alsa/asoundlib.h \
7007 arpa/inet.h \
7008 arpa/nameser.h \
7009 asm/types.h \
7010 capi20.h \
7011 cups/cups.h \
7012 curses.h \
7013 direct.h \
7014 dlfcn.h \
7015 elf.h \
7016 float.h \
7017 fontconfig/fontconfig.h \
7018 getopt.h \
7019 ieeefp.h \
7020 io.h \
7021 jack/jack.h \
7022 jpeglib.h \
7023 lber.h \
7024 lcms.h \
7025 lcms/lcms.h \
7026 ldap.h \
7027 libaudioio.h \
7028 link.h \
7029 linux/cdrom.h \
7030 linux/compiler.h \
7031 linux/hdreg.h \
7032 linux/input.h \
7033 linux/ioctl.h \
7034 linux/joystick.h \
7035 linux/major.h \
7036 linux/param.h \
7037 linux/serial.h \
7038 linux/ucdrom.h \
7039 mach/mach.h \
7040 mach/machine.h \
7041 machine/cpu.h \
7042 machine/limits.h \
7043 machine/soundcard.h \
7044 mntent.h \
7045 ncurses.h \
7046 netdb.h \
7047 netinet/in.h \
7048 netinet/in_systm.h \
7049 netinet/tcp.h \
7050 netinet/tcp_fsm.h \
7051 openssl/err.h \
7052 openssl/ssl.h \
7053 png.h \
7054 poll.h \
7055 process.h \
7056 pthread.h \
7057 pwd.h \
7058 regex.h \
7059 sched.h \
7060 scsi/scsi.h \
7061 scsi/scsi_ioctl.h \
7062 scsi/sg.h \
7063 soundcard.h \
7064 stdint.h \
7065 strings.h \
7066 sys/asoundlib.h \
7067 sys/cdio.h \
7068 sys/elf32.h \
7069 sys/epoll.h \
7070 sys/errno.h \
7071 sys/event.h \
7072 sys/exec_elf.h \
7073 sys/filio.h \
7074 sys/ioctl.h \
7075 sys/ipc.h \
7076 sys/limits.h \
7077 sys/link.h \
7078 sys/lwp.h \
7079 sys/mman.h \
7080 sys/modem.h \
7081 sys/msg.h \
7082 sys/mtio.h \
7083 sys/param.h \
7084 sys/poll.h \
7085 sys/prctl.h \
7086 sys/ptrace.h \
7087 sys/reg.h \
7088 sys/resource.h \
7089 sys/scsiio.h \
7090 sys/shm.h \
7091 sys/signal.h \
7092 sys/socket.h \
7093 sys/socketvar.h \
7094 sys/sockio.h \
7095 sys/soundcard.h \
7096 sys/statvfs.h \
7097 sys/strtio.h \
7098 sys/syscall.h \
7099 sys/sysctl.h \
7100 sys/time.h \
7101 sys/times.h \
7102 sys/uio.h \
7103 sys/un.h \
7104 sys/vm86.h \
7105 sys/wait.h \
7106 syscall.h \
7107 termios.h \
7108 unistd.h \
7109 utime.h \
7110 valgrind/memcheck.h
7113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7115 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7117 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 ac_res=`eval echo '${'$as_ac_Header'}'`
7121 { echo "$as_me:$LINENO: result: $ac_res" >&5
7122 echo "${ECHO_T}$ac_res" >&6; }
7123 else
7124 # Is the header compilable?
7125 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7126 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7127 cat >conftest.$ac_ext <<_ACEOF
7128 /* confdefs.h. */
7129 _ACEOF
7130 cat confdefs.h >>conftest.$ac_ext
7131 cat >>conftest.$ac_ext <<_ACEOF
7132 /* end confdefs.h. */
7133 $ac_includes_default
7134 #include <$ac_header>
7135 _ACEOF
7136 rm -f conftest.$ac_objext
7137 if { (ac_try="$ac_compile"
7138 case "(($ac_try" in
7139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7140 *) ac_try_echo=$ac_try;;
7141 esac
7142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7143 (eval "$ac_compile") 2>conftest.er1
7144 ac_status=$?
7145 grep -v '^ *+' conftest.er1 >conftest.err
7146 rm -f conftest.er1
7147 cat conftest.err >&5
7148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149 (exit $ac_status); } && {
7150 test -z "$ac_c_werror_flag" ||
7151 test ! -s conftest.err
7152 } && test -s conftest.$ac_objext; then
7153 ac_header_compiler=yes
7154 else
7155 echo "$as_me: failed program was:" >&5
7156 sed 's/^/| /' conftest.$ac_ext >&5
7158 ac_header_compiler=no
7161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7162 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7163 echo "${ECHO_T}$ac_header_compiler" >&6; }
7165 # Is the header present?
7166 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7168 cat >conftest.$ac_ext <<_ACEOF
7169 /* confdefs.h. */
7170 _ACEOF
7171 cat confdefs.h >>conftest.$ac_ext
7172 cat >>conftest.$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7174 #include <$ac_header>
7175 _ACEOF
7176 if { (ac_try="$ac_cpp conftest.$ac_ext"
7177 case "(($ac_try" in
7178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7180 esac
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7183 ac_status=$?
7184 grep -v '^ *+' conftest.er1 >conftest.err
7185 rm -f conftest.er1
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } >/dev/null && {
7189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7190 test ! -s conftest.err
7191 }; then
7192 ac_header_preproc=yes
7193 else
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.$ac_ext >&5
7197 ac_header_preproc=no
7200 rm -f conftest.err conftest.$ac_ext
7201 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7202 echo "${ECHO_T}$ac_header_preproc" >&6; }
7204 # So? What about this header?
7205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7206 yes:no: )
7207 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7208 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7210 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7211 ac_header_preproc=yes
7213 no:yes:* )
7214 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7215 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7216 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7217 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7218 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7219 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7221 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7223 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7225 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7226 ( cat <<\_ASBOX
7227 ## ------------------------------------ ##
7228 ## Report this to wine-devel@winehq.org ##
7229 ## ------------------------------------ ##
7230 _ASBOX
7231 ) | sed "s/^/$as_me: WARNING: /" >&2
7233 esac
7234 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7238 else
7239 eval "$as_ac_Header=\$ac_header_preproc"
7241 ac_res=`eval echo '${'$as_ac_Header'}'`
7242 { echo "$as_me:$LINENO: result: $ac_res" >&5
7243 echo "${ECHO_T}$ac_res" >&6; }
7246 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7247 cat >>confdefs.h <<_ACEOF
7248 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7249 _ACEOF
7253 done
7255 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7256 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7257 if test "${ac_cv_header_stat_broken+set}" = set; then
7258 echo $ECHO_N "(cached) $ECHO_C" >&6
7259 else
7260 cat >conftest.$ac_ext <<_ACEOF
7261 /* confdefs.h. */
7262 _ACEOF
7263 cat confdefs.h >>conftest.$ac_ext
7264 cat >>conftest.$ac_ext <<_ACEOF
7265 /* end confdefs.h. */
7266 #include <sys/types.h>
7267 #include <sys/stat.h>
7269 #if defined S_ISBLK && defined S_IFDIR
7270 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7271 #endif
7273 #if defined S_ISBLK && defined S_IFCHR
7274 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7275 #endif
7277 #if defined S_ISLNK && defined S_IFREG
7278 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7279 #endif
7281 #if defined S_ISSOCK && defined S_IFREG
7282 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7283 #endif
7285 _ACEOF
7286 rm -f conftest.$ac_objext
7287 if { (ac_try="$ac_compile"
7288 case "(($ac_try" in
7289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7290 *) ac_try_echo=$ac_try;;
7291 esac
7292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7293 (eval "$ac_compile") 2>conftest.er1
7294 ac_status=$?
7295 grep -v '^ *+' conftest.er1 >conftest.err
7296 rm -f conftest.er1
7297 cat conftest.err >&5
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7299 (exit $ac_status); } && {
7300 test -z "$ac_c_werror_flag" ||
7301 test ! -s conftest.err
7302 } && test -s conftest.$ac_objext; then
7303 ac_cv_header_stat_broken=no
7304 else
7305 echo "$as_me: failed program was:" >&5
7306 sed 's/^/| /' conftest.$ac_ext >&5
7308 ac_cv_header_stat_broken=yes
7311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7313 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7314 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7315 if test $ac_cv_header_stat_broken = yes; then
7317 cat >>confdefs.h <<\_ACEOF
7318 #define STAT_MACROS_BROKEN 1
7319 _ACEOF
7329 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7332 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7334 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7335 echo $ECHO_N "(cached) $ECHO_C" >&6
7336 else
7337 cat >conftest.$ac_ext <<_ACEOF
7338 /* confdefs.h. */
7339 _ACEOF
7340 cat confdefs.h >>conftest.$ac_ext
7341 cat >>conftest.$ac_ext <<_ACEOF
7342 /* end confdefs.h. */
7343 #include <sys/types.h>
7344 #ifdef HAVE_SYS_PARAM_H
7345 # include <sys/param.h>
7346 #endif
7348 #include <$ac_header>
7349 _ACEOF
7350 rm -f conftest.$ac_objext
7351 if { (ac_try="$ac_compile"
7352 case "(($ac_try" in
7353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7354 *) ac_try_echo=$ac_try;;
7355 esac
7356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7357 (eval "$ac_compile") 2>conftest.er1
7358 ac_status=$?
7359 grep -v '^ *+' conftest.er1 >conftest.err
7360 rm -f conftest.er1
7361 cat conftest.err >&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } && {
7364 test -z "$ac_c_werror_flag" ||
7365 test ! -s conftest.err
7366 } && test -s conftest.$ac_objext; then
7367 eval "$as_ac_Header=yes"
7368 else
7369 echo "$as_me: failed program was:" >&5
7370 sed 's/^/| /' conftest.$ac_ext >&5
7372 eval "$as_ac_Header=no"
7375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7377 ac_res=`eval echo '${'$as_ac_Header'}'`
7378 { echo "$as_me:$LINENO: result: $ac_res" >&5
7379 echo "${ECHO_T}$ac_res" >&6; }
7380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7381 cat >>confdefs.h <<_ACEOF
7382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7383 _ACEOF
7387 done
7398 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
7400 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7401 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7404 echo $ECHO_N "(cached) $ECHO_C" >&6
7405 else
7406 cat >conftest.$ac_ext <<_ACEOF
7407 /* confdefs.h. */
7408 _ACEOF
7409 cat confdefs.h >>conftest.$ac_ext
7410 cat >>conftest.$ac_ext <<_ACEOF
7411 /* end confdefs.h. */
7412 #include <sys/types.h>
7413 #ifdef HAVE_SYS_SOCKET_H
7414 # include <sys/socket.h>
7415 #endif
7416 #ifdef HAVE_SYS_SOCKETVAR_H
7417 # include <sys/socketvar.h>
7418 #endif
7419 #ifdef HAVE_NETINET_IN_H
7420 # include <netinet/in.h>
7421 #endif
7423 #include <$ac_header>
7424 _ACEOF
7425 rm -f conftest.$ac_objext
7426 if { (ac_try="$ac_compile"
7427 case "(($ac_try" in
7428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7429 *) ac_try_echo=$ac_try;;
7430 esac
7431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7432 (eval "$ac_compile") 2>conftest.er1
7433 ac_status=$?
7434 grep -v '^ *+' conftest.er1 >conftest.err
7435 rm -f conftest.er1
7436 cat conftest.err >&5
7437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7438 (exit $ac_status); } && {
7439 test -z "$ac_c_werror_flag" ||
7440 test ! -s conftest.err
7441 } && test -s conftest.$ac_objext; then
7442 eval "$as_ac_Header=yes"
7443 else
7444 echo "$as_me: failed program was:" >&5
7445 sed 's/^/| /' conftest.$ac_ext >&5
7447 eval "$as_ac_Header=no"
7450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7452 ac_res=`eval echo '${'$as_ac_Header'}'`
7453 { echo "$as_me:$LINENO: result: $ac_res" >&5
7454 echo "${ECHO_T}$ac_res" >&6; }
7455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7456 cat >>confdefs.h <<_ACEOF
7457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7458 _ACEOF
7462 done
7466 for ac_header in netinet/tcp_var.h
7468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6
7473 else
7474 cat >conftest.$ac_ext <<_ACEOF
7475 /* confdefs.h. */
7476 _ACEOF
7477 cat confdefs.h >>conftest.$ac_ext
7478 cat >>conftest.$ac_ext <<_ACEOF
7479 /* end confdefs.h. */
7480 #include <sys/types.h>
7481 #ifdef HAVE_SYS_SOCKET_H
7482 # include <sys/socket.h>
7483 #endif
7484 #ifdef HAVE_SYS_SOCKETVAR_H
7485 # include <sys/socketvar.h>
7486 #endif
7487 #ifdef HAVE_NETINET_IN_H
7488 # include <netinet/in.h>
7489 #endif
7490 #ifdef HAVE_NETINET_TCP_H
7491 # include <netinet/tcp.h>
7492 #endif
7494 #include <$ac_header>
7495 _ACEOF
7496 rm -f conftest.$ac_objext
7497 if { (ac_try="$ac_compile"
7498 case "(($ac_try" in
7499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7500 *) ac_try_echo=$ac_try;;
7501 esac
7502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7503 (eval "$ac_compile") 2>conftest.er1
7504 ac_status=$?
7505 grep -v '^ *+' conftest.er1 >conftest.err
7506 rm -f conftest.er1
7507 cat conftest.err >&5
7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509 (exit $ac_status); } && {
7510 test -z "$ac_c_werror_flag" ||
7511 test ! -s conftest.err
7512 } && test -s conftest.$ac_objext; then
7513 eval "$as_ac_Header=yes"
7514 else
7515 echo "$as_me: failed program was:" >&5
7516 sed 's/^/| /' conftest.$ac_ext >&5
7518 eval "$as_ac_Header=no"
7521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7523 ac_res=`eval echo '${'$as_ac_Header'}'`
7524 { echo "$as_me:$LINENO: result: $ac_res" >&5
7525 echo "${ECHO_T}$ac_res" >&6; }
7526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7527 cat >>confdefs.h <<_ACEOF
7528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7529 _ACEOF
7533 done
7537 for ac_header in linux/ipx.h
7539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7540 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7542 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7543 echo $ECHO_N "(cached) $ECHO_C" >&6
7544 else
7545 cat >conftest.$ac_ext <<_ACEOF
7546 /* confdefs.h. */
7547 _ACEOF
7548 cat confdefs.h >>conftest.$ac_ext
7549 cat >>conftest.$ac_ext <<_ACEOF
7550 /* end confdefs.h. */
7551 #include <sys/types.h>
7552 #ifdef HAVE_ASM_TYPES_H
7553 # include <asm/types.h>
7554 #endif
7555 #ifdef HAVE_SYS_SOCKET_H
7556 # include <sys/socket.h>
7557 #endif
7559 #include <$ac_header>
7560 _ACEOF
7561 rm -f conftest.$ac_objext
7562 if { (ac_try="$ac_compile"
7563 case "(($ac_try" in
7564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7565 *) ac_try_echo=$ac_try;;
7566 esac
7567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7568 (eval "$ac_compile") 2>conftest.er1
7569 ac_status=$?
7570 grep -v '^ *+' conftest.er1 >conftest.err
7571 rm -f conftest.er1
7572 cat conftest.err >&5
7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574 (exit $ac_status); } && {
7575 test -z "$ac_c_werror_flag" ||
7576 test ! -s conftest.err
7577 } && test -s conftest.$ac_objext; then
7578 eval "$as_ac_Header=yes"
7579 else
7580 echo "$as_me: failed program was:" >&5
7581 sed 's/^/| /' conftest.$ac_ext >&5
7583 eval "$as_ac_Header=no"
7586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7588 ac_res=`eval echo '${'$as_ac_Header'}'`
7589 { echo "$as_me:$LINENO: result: $ac_res" >&5
7590 echo "${ECHO_T}$ac_res" >&6; }
7591 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7592 cat >>confdefs.h <<_ACEOF
7593 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7594 _ACEOF
7598 done
7602 for ac_header in resolv.h
7604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7608 echo $ECHO_N "(cached) $ECHO_C" >&6
7609 else
7610 cat >conftest.$ac_ext <<_ACEOF
7611 /* confdefs.h. */
7612 _ACEOF
7613 cat confdefs.h >>conftest.$ac_ext
7614 cat >>conftest.$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7616 #include <sys/types.h>
7617 #ifdef HAVE_SYS_SOCKET_H
7618 # include <sys/socket.h>
7619 #endif
7620 #ifdef HAVE_NETINET_IN_H
7621 # include <netinet/in.h>
7622 #endif
7623 #ifdef HAVE_ARPA_NAMESER_H
7624 # include <arpa/nameser.h>
7625 #endif
7627 #include <$ac_header>
7628 _ACEOF
7629 rm -f conftest.$ac_objext
7630 if { (ac_try="$ac_compile"
7631 case "(($ac_try" in
7632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7633 *) ac_try_echo=$ac_try;;
7634 esac
7635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7636 (eval "$ac_compile") 2>conftest.er1
7637 ac_status=$?
7638 grep -v '^ *+' conftest.er1 >conftest.err
7639 rm -f conftest.er1
7640 cat conftest.err >&5
7641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642 (exit $ac_status); } && {
7643 test -z "$ac_c_werror_flag" ||
7644 test ! -s conftest.err
7645 } && test -s conftest.$ac_objext; then
7646 eval "$as_ac_Header=yes"
7647 else
7648 echo "$as_me: failed program was:" >&5
7649 sed 's/^/| /' conftest.$ac_ext >&5
7651 eval "$as_ac_Header=no"
7654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7656 ac_res=`eval echo '${'$as_ac_Header'}'`
7657 { echo "$as_me:$LINENO: result: $ac_res" >&5
7658 echo "${ECHO_T}$ac_res" >&6; }
7659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7660 cat >>confdefs.h <<_ACEOF
7661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7662 _ACEOF
7666 done
7670 for ac_header in ucontext.h
7672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7673 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7676 echo $ECHO_N "(cached) $ECHO_C" >&6
7677 else
7678 cat >conftest.$ac_ext <<_ACEOF
7679 /* confdefs.h. */
7680 _ACEOF
7681 cat confdefs.h >>conftest.$ac_ext
7682 cat >>conftest.$ac_ext <<_ACEOF
7683 /* end confdefs.h. */
7684 #include <signal.h>
7686 #include <$ac_header>
7687 _ACEOF
7688 rm -f conftest.$ac_objext
7689 if { (ac_try="$ac_compile"
7690 case "(($ac_try" in
7691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7692 *) ac_try_echo=$ac_try;;
7693 esac
7694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7695 (eval "$ac_compile") 2>conftest.er1
7696 ac_status=$?
7697 grep -v '^ *+' conftest.er1 >conftest.err
7698 rm -f conftest.er1
7699 cat conftest.err >&5
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); } && {
7702 test -z "$ac_c_werror_flag" ||
7703 test ! -s conftest.err
7704 } && test -s conftest.$ac_objext; then
7705 eval "$as_ac_Header=yes"
7706 else
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.$ac_ext >&5
7710 eval "$as_ac_Header=no"
7713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7715 ac_res=`eval echo '${'$as_ac_Header'}'`
7716 { echo "$as_me:$LINENO: result: $ac_res" >&5
7717 echo "${ECHO_T}$ac_res" >&6; }
7718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7719 cat >>confdefs.h <<_ACEOF
7720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7721 _ACEOF
7725 done
7729 for ac_header in sys/thr.h
7731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7735 echo $ECHO_N "(cached) $ECHO_C" >&6
7736 else
7737 cat >conftest.$ac_ext <<_ACEOF
7738 /* confdefs.h. */
7739 _ACEOF
7740 cat confdefs.h >>conftest.$ac_ext
7741 cat >>conftest.$ac_ext <<_ACEOF
7742 /* end confdefs.h. */
7743 #include <sys/types.h>
7744 #ifdef HAVE_UCONTEXT_H
7745 #include <ucontext.h>
7746 #endif
7748 #include <$ac_header>
7749 _ACEOF
7750 rm -f conftest.$ac_objext
7751 if { (ac_try="$ac_compile"
7752 case "(($ac_try" in
7753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7754 *) ac_try_echo=$ac_try;;
7755 esac
7756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7757 (eval "$ac_compile") 2>conftest.er1
7758 ac_status=$?
7759 grep -v '^ *+' conftest.er1 >conftest.err
7760 rm -f conftest.er1
7761 cat conftest.err >&5
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); } && {
7764 test -z "$ac_c_werror_flag" ||
7765 test ! -s conftest.err
7766 } && test -s conftest.$ac_objext; then
7767 eval "$as_ac_Header=yes"
7768 else
7769 echo "$as_me: failed program was:" >&5
7770 sed 's/^/| /' conftest.$ac_ext >&5
7772 eval "$as_ac_Header=no"
7775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7777 ac_res=`eval echo '${'$as_ac_Header'}'`
7778 { echo "$as_me:$LINENO: result: $ac_res" >&5
7779 echo "${ECHO_T}$ac_res" >&6; }
7780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7781 cat >>confdefs.h <<_ACEOF
7782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7783 _ACEOF
7787 done
7791 for ac_header in pthread_np.h
7793 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7794 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7796 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7797 echo $ECHO_N "(cached) $ECHO_C" >&6
7798 else
7799 cat >conftest.$ac_ext <<_ACEOF
7800 /* confdefs.h. */
7801 _ACEOF
7802 cat confdefs.h >>conftest.$ac_ext
7803 cat >>conftest.$ac_ext <<_ACEOF
7804 /* end confdefs.h. */
7805 #ifdef HAVE_PTHREAD_H
7806 #include <pthread.h>
7807 #endif
7809 #include <$ac_header>
7810 _ACEOF
7811 rm -f conftest.$ac_objext
7812 if { (ac_try="$ac_compile"
7813 case "(($ac_try" in
7814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7815 *) ac_try_echo=$ac_try;;
7816 esac
7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7818 (eval "$ac_compile") 2>conftest.er1
7819 ac_status=$?
7820 grep -v '^ *+' conftest.er1 >conftest.err
7821 rm -f conftest.er1
7822 cat conftest.err >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); } && {
7825 test -z "$ac_c_werror_flag" ||
7826 test ! -s conftest.err
7827 } && test -s conftest.$ac_objext; then
7828 eval "$as_ac_Header=yes"
7829 else
7830 echo "$as_me: failed program was:" >&5
7831 sed 's/^/| /' conftest.$ac_ext >&5
7833 eval "$as_ac_Header=no"
7836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7838 ac_res=`eval echo '${'$as_ac_Header'}'`
7839 { echo "$as_me:$LINENO: result: $ac_res" >&5
7840 echo "${ECHO_T}$ac_res" >&6; }
7841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7842 cat >>confdefs.h <<_ACEOF
7843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7844 _ACEOF
7848 done
7852 for ac_header in linux/videodev.h
7854 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7855 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7857 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 else
7860 cat >conftest.$ac_ext <<_ACEOF
7861 /* confdefs.h. */
7862 _ACEOF
7863 cat confdefs.h >>conftest.$ac_ext
7864 cat >>conftest.$ac_ext <<_ACEOF
7865 /* end confdefs.h. */
7866 #ifdef HAVE_SYS_TIME_H
7867 #include <sys/time.h>
7868 #endif
7869 #include <sys/types.h>
7870 #ifdef HAVE_ASM_TYPES_H
7871 #include <asm/types.h>
7872 #endif
7874 #include <$ac_header>
7875 _ACEOF
7876 rm -f conftest.$ac_objext
7877 if { (ac_try="$ac_compile"
7878 case "(($ac_try" in
7879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7880 *) ac_try_echo=$ac_try;;
7881 esac
7882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7883 (eval "$ac_compile") 2>conftest.er1
7884 ac_status=$?
7885 grep -v '^ *+' conftest.er1 >conftest.err
7886 rm -f conftest.er1
7887 cat conftest.err >&5
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); } && {
7890 test -z "$ac_c_werror_flag" ||
7891 test ! -s conftest.err
7892 } && test -s conftest.$ac_objext; then
7893 eval "$as_ac_Header=yes"
7894 else
7895 echo "$as_me: failed program was:" >&5
7896 sed 's/^/| /' conftest.$ac_ext >&5
7898 eval "$as_ac_Header=no"
7901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7903 ac_res=`eval echo '${'$as_ac_Header'}'`
7904 { echo "$as_me:$LINENO: result: $ac_res" >&5
7905 echo "${ECHO_T}$ac_res" >&6; }
7906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7907 cat >>confdefs.h <<_ACEOF
7908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7909 _ACEOF
7913 done
7917 for ac_header in linux/capi.h
7919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7920 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7922 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 else
7925 cat >conftest.$ac_ext <<_ACEOF
7926 /* confdefs.h. */
7927 _ACEOF
7928 cat confdefs.h >>conftest.$ac_ext
7929 cat >>conftest.$ac_ext <<_ACEOF
7930 /* end confdefs.h. */
7931 #define __user
7933 #include <$ac_header>
7934 _ACEOF
7935 rm -f conftest.$ac_objext
7936 if { (ac_try="$ac_compile"
7937 case "(($ac_try" in
7938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7939 *) ac_try_echo=$ac_try;;
7940 esac
7941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7942 (eval "$ac_compile") 2>conftest.er1
7943 ac_status=$?
7944 grep -v '^ *+' conftest.er1 >conftest.err
7945 rm -f conftest.er1
7946 cat conftest.err >&5
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); } && {
7949 test -z "$ac_c_werror_flag" ||
7950 test ! -s conftest.err
7951 } && test -s conftest.$ac_objext; then
7952 eval "$as_ac_Header=yes"
7953 else
7954 echo "$as_me: failed program was:" >&5
7955 sed 's/^/| /' conftest.$ac_ext >&5
7957 eval "$as_ac_Header=no"
7960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7962 ac_res=`eval echo '${'$as_ac_Header'}'`
7963 { echo "$as_me:$LINENO: result: $ac_res" >&5
7964 echo "${ECHO_T}$ac_res" >&6; }
7965 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7966 cat >>confdefs.h <<_ACEOF
7967 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7968 _ACEOF
7972 done
7976 DLLEXT=""
7978 DLLFLAGS="-D_REENTRANT"
7980 LDSHARED=""
7982 LDDLLFLAGS=""
7984 LIBEXT="so"
7986 IMPLIBEXT="def"
7988 LDRPATH_INSTALL=""
7990 LDRPATH_LOCAL=""
7992 # Extract the first word of "ldd", so it can be a program name with args.
7993 set dummy ldd; ac_word=$2
7994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7996 if test "${ac_cv_path_LDD+set}" = set; then
7997 echo $ECHO_N "(cached) $ECHO_C" >&6
7998 else
7999 case $LDD in
8000 [\\/]* | ?:[\\/]*)
8001 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8005 as_dummy="/sbin:/usr/sbin:$PATH"
8006 for as_dir in $as_dummy
8008 IFS=$as_save_IFS
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8012 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 break 2
8016 done
8017 done
8018 IFS=$as_save_IFS
8020 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8022 esac
8024 LDD=$ac_cv_path_LDD
8025 if test -n "$LDD"; then
8026 { echo "$as_me:$LINENO: result: $LDD" >&5
8027 echo "${ECHO_T}$LDD" >&6; }
8028 else
8029 { echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6; }
8035 case $host_os in
8036 cygwin*|mingw32*)
8037 if test -n "$ac_tool_prefix"; then
8038 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8039 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8042 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8043 echo $ECHO_N "(cached) $ECHO_C" >&6
8044 else
8045 if test -n "$DLLTOOL"; then
8046 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8047 else
8048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8049 for as_dir in $PATH
8051 IFS=$as_save_IFS
8052 test -z "$as_dir" && as_dir=.
8053 for ac_exec_ext in '' $ac_executable_extensions; do
8054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8055 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8057 break 2
8059 done
8060 done
8061 IFS=$as_save_IFS
8065 DLLTOOL=$ac_cv_prog_DLLTOOL
8066 if test -n "$DLLTOOL"; then
8067 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8068 echo "${ECHO_T}$DLLTOOL" >&6; }
8069 else
8070 { echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6; }
8076 if test -z "$ac_cv_prog_DLLTOOL"; then
8077 ac_ct_DLLTOOL=$DLLTOOL
8078 # Extract the first word of "dlltool", so it can be a program name with args.
8079 set dummy dlltool; ac_word=$2
8080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8082 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8083 echo $ECHO_N "(cached) $ECHO_C" >&6
8084 else
8085 if test -n "$ac_ct_DLLTOOL"; then
8086 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8087 else
8088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8089 for as_dir in $PATH
8091 IFS=$as_save_IFS
8092 test -z "$as_dir" && as_dir=.
8093 for ac_exec_ext in '' $ac_executable_extensions; do
8094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8095 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8097 break 2
8099 done
8100 done
8101 IFS=$as_save_IFS
8105 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8106 if test -n "$ac_ct_DLLTOOL"; then
8107 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8108 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8109 else
8110 { echo "$as_me:$LINENO: result: no" >&5
8111 echo "${ECHO_T}no" >&6; }
8114 if test "x$ac_ct_DLLTOOL" = x; then
8115 DLLTOOL="false"
8116 else
8117 case $cross_compiling:$ac_tool_warned in
8118 yes:)
8119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8120 whose name does not start with the host triplet. If you think this
8121 configuration is useful to you, please write to autoconf@gnu.org." >&5
8122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8123 whose name does not start with the host triplet. If you think this
8124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8125 ac_tool_warned=yes ;;
8126 esac
8127 DLLTOOL=$ac_ct_DLLTOOL
8129 else
8130 DLLTOOL="$ac_cv_prog_DLLTOOL"
8133 if test -n "$ac_tool_prefix"; then
8134 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8135 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8138 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8139 echo $ECHO_N "(cached) $ECHO_C" >&6
8140 else
8141 if test -n "$DLLWRAP"; then
8142 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8143 else
8144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8145 for as_dir in $PATH
8147 IFS=$as_save_IFS
8148 test -z "$as_dir" && as_dir=.
8149 for ac_exec_ext in '' $ac_executable_extensions; do
8150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8151 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8153 break 2
8155 done
8156 done
8157 IFS=$as_save_IFS
8161 DLLWRAP=$ac_cv_prog_DLLWRAP
8162 if test -n "$DLLWRAP"; then
8163 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8164 echo "${ECHO_T}$DLLWRAP" >&6; }
8165 else
8166 { echo "$as_me:$LINENO: result: no" >&5
8167 echo "${ECHO_T}no" >&6; }
8172 if test -z "$ac_cv_prog_DLLWRAP"; then
8173 ac_ct_DLLWRAP=$DLLWRAP
8174 # Extract the first word of "dllwrap", so it can be a program name with args.
8175 set dummy dllwrap; ac_word=$2
8176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8178 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 else
8181 if test -n "$ac_ct_DLLWRAP"; then
8182 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8183 else
8184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8185 for as_dir in $PATH
8187 IFS=$as_save_IFS
8188 test -z "$as_dir" && as_dir=.
8189 for ac_exec_ext in '' $ac_executable_extensions; do
8190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8191 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8193 break 2
8195 done
8196 done
8197 IFS=$as_save_IFS
8201 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8202 if test -n "$ac_ct_DLLWRAP"; then
8203 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8204 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8205 else
8206 { echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6; }
8210 if test "x$ac_ct_DLLWRAP" = x; then
8211 DLLWRAP="false"
8212 else
8213 case $cross_compiling:$ac_tool_warned in
8214 yes:)
8215 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8216 whose name does not start with the host triplet. If you think this
8217 configuration is useful to you, please write to autoconf@gnu.org." >&5
8218 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8219 whose name does not start with the host triplet. If you think this
8220 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8221 ac_tool_warned=yes ;;
8222 esac
8223 DLLWRAP=$ac_ct_DLLWRAP
8225 else
8226 DLLWRAP="$ac_cv_prog_DLLWRAP"
8229 if test -n "$ac_tool_prefix"; then
8230 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8231 set dummy ${ac_tool_prefix}ar; ac_word=$2
8232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8234 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 else
8237 if test -n "$MINGWAR"; then
8238 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8239 else
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 for as_dir in $PATH
8243 IFS=$as_save_IFS
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8247 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 break 2
8251 done
8252 done
8253 IFS=$as_save_IFS
8257 MINGWAR=$ac_cv_prog_MINGWAR
8258 if test -n "$MINGWAR"; then
8259 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8260 echo "${ECHO_T}$MINGWAR" >&6; }
8261 else
8262 { echo "$as_me:$LINENO: result: no" >&5
8263 echo "${ECHO_T}no" >&6; }
8268 if test -z "$ac_cv_prog_MINGWAR"; then
8269 ac_ct_MINGWAR=$MINGWAR
8270 # Extract the first word of "ar", so it can be a program name with args.
8271 set dummy ar; ac_word=$2
8272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8274 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8275 echo $ECHO_N "(cached) $ECHO_C" >&6
8276 else
8277 if test -n "$ac_ct_MINGWAR"; then
8278 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8279 else
8280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 for as_dir in $PATH
8283 IFS=$as_save_IFS
8284 test -z "$as_dir" && as_dir=.
8285 for ac_exec_ext in '' $ac_executable_extensions; do
8286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8287 ac_cv_prog_ac_ct_MINGWAR="ar"
8288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8289 break 2
8291 done
8292 done
8293 IFS=$as_save_IFS
8297 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8298 if test -n "$ac_ct_MINGWAR"; then
8299 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8300 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8301 else
8302 { echo "$as_me:$LINENO: result: no" >&5
8303 echo "${ECHO_T}no" >&6; }
8306 if test "x$ac_ct_MINGWAR" = x; then
8307 MINGWAR="false"
8308 else
8309 case $cross_compiling:$ac_tool_warned in
8310 yes:)
8311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8312 whose name does not start with the host triplet. If you think this
8313 configuration is useful to you, please write to autoconf@gnu.org." >&5
8314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8315 whose name does not start with the host triplet. If you think this
8316 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8317 ac_tool_warned=yes ;;
8318 esac
8319 MINGWAR=$ac_ct_MINGWAR
8321 else
8322 MINGWAR="$ac_cv_prog_MINGWAR"
8325 if test "$DLLWRAP" = "false"; then
8326 LIBEXT="a"
8327 else
8328 LIBEXT="dll"
8330 IMPLIBEXT="a"
8331 WIN16_FILES=""
8332 WIN16_INSTALL=""
8334 darwin*|macosx*)
8335 DLLEXT=".so"
8336 LIBEXT="dylib"
8337 DLLFLAGS="$DLLFLAGS -fPIC"
8338 LDDLLFLAGS="-bundle -multiply_defined suppress"
8339 LIBWINE_LDFLAGS="-multiply_defined suppress"
8340 LDSHARED="\$(CC) -dynamiclib"
8341 STRIP="$STRIP -x"
8342 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8343 SECURITYLIB="-framework Security -framework CoreFoundation"
8345 COREFOUNDATIONLIB="-framework CoreFoundation"
8347 IOKITLIB="-framework IOKit -framework CoreFoundation"
8349 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8351 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8352 then
8353 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8356 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8357 then
8358 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8361 case $host_cpu in
8362 *powerpc*)
8363 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8364 esac
8365 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8366 then
8367 CARBONLIB="-framework Carbon"
8369 QUARTZFILES='$(QUARTZFILES)'
8373 DLLFLAGS="$DLLFLAGS -fPIC"
8374 DLLEXT=".so"
8375 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8376 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8377 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8378 echo $ECHO_N "(cached) $ECHO_C" >&6
8379 else
8380 ac_wine_try_cflags_saved=$CFLAGS
8381 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8382 cat >conftest.$ac_ext <<_ACEOF
8383 void myfunc() {}
8384 _ACEOF
8385 rm -f conftest.$ac_objext conftest$ac_exeext
8386 if { (ac_try="$ac_link"
8387 case "(($ac_try" in
8388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8389 *) ac_try_echo=$ac_try;;
8390 esac
8391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8392 (eval "$ac_link") 2>conftest.er1
8393 ac_status=$?
8394 grep -v '^ *+' conftest.er1 >conftest.err
8395 rm -f conftest.er1
8396 cat conftest.err >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } && {
8399 test -z "$ac_c_werror_flag" ||
8400 test ! -s conftest.err
8401 } && test -s conftest$ac_exeext &&
8402 $as_test_x conftest$ac_exeext; then
8403 ac_cv_c_dll_gnuelf="yes"
8404 else
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.$ac_ext >&5
8408 ac_cv_c_dll_gnuelf="no"
8411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8412 conftest$ac_exeext conftest.$ac_ext
8413 CFLAGS=$ac_wine_try_cflags_saved
8415 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8416 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8417 if test "$ac_cv_c_dll_gnuelf" = "yes"
8418 then
8419 LDSHARED="\$(CC) -shared"
8420 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8421 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8422 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8423 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8424 echo $ECHO_N "(cached) $ECHO_C" >&6
8425 else
8426 ac_wine_try_cflags_saved=$CFLAGS
8427 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8428 cat >conftest.$ac_ext <<_ACEOF
8429 /* confdefs.h. */
8430 _ACEOF
8431 cat confdefs.h >>conftest.$ac_ext
8432 cat >>conftest.$ac_ext <<_ACEOF
8433 /* end confdefs.h. */
8436 main ()
8440 return 0;
8442 _ACEOF
8443 rm -f conftest.$ac_objext conftest$ac_exeext
8444 if { (ac_try="$ac_link"
8445 case "(($ac_try" in
8446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8447 *) ac_try_echo=$ac_try;;
8448 esac
8449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8450 (eval "$ac_link") 2>conftest.er1
8451 ac_status=$?
8452 grep -v '^ *+' conftest.er1 >conftest.err
8453 rm -f conftest.er1
8454 cat conftest.err >&5
8455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8456 (exit $ac_status); } && {
8457 test -z "$ac_c_werror_flag" ||
8458 test ! -s conftest.err
8459 } && test -s conftest$ac_exeext &&
8460 $as_test_x conftest$ac_exeext; then
8461 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8462 else
8463 echo "$as_me: failed program was:" >&5
8464 sed 's/^/| /' conftest.$ac_ext >&5
8466 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8470 conftest$ac_exeext conftest.$ac_ext
8471 CFLAGS=$ac_wine_try_cflags_saved
8473 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8474 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8475 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8476 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8477 else
8478 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8479 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8480 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8481 echo $ECHO_N "(cached) $ECHO_C" >&6
8482 else
8483 ac_wine_try_cflags_saved=$CFLAGS
8484 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8485 cat >conftest.$ac_ext <<_ACEOF
8486 /* confdefs.h. */
8487 _ACEOF
8488 cat confdefs.h >>conftest.$ac_ext
8489 cat >>conftest.$ac_ext <<_ACEOF
8490 /* end confdefs.h. */
8493 main ()
8497 return 0;
8499 _ACEOF
8500 rm -f conftest.$ac_objext conftest$ac_exeext
8501 if { (ac_try="$ac_link"
8502 case "(($ac_try" in
8503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8504 *) ac_try_echo=$ac_try;;
8505 esac
8506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8507 (eval "$ac_link") 2>conftest.er1
8508 ac_status=$?
8509 grep -v '^ *+' conftest.er1 >conftest.err
8510 rm -f conftest.er1
8511 cat conftest.err >&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); } && {
8514 test -z "$ac_c_werror_flag" ||
8515 test ! -s conftest.err
8516 } && test -s conftest$ac_exeext &&
8517 $as_test_x conftest$ac_exeext; then
8518 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8519 else
8520 echo "$as_me: failed program was:" >&5
8521 sed 's/^/| /' conftest.$ac_ext >&5
8523 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8527 conftest$ac_exeext conftest.$ac_ext
8528 CFLAGS=$ac_wine_try_cflags_saved
8530 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8531 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8532 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8533 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8539 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8540 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8541 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8542 echo $ECHO_N "(cached) $ECHO_C" >&6
8543 else
8544 ac_wine_try_cflags_saved=$CFLAGS
8545 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8546 cat >conftest.$ac_ext <<_ACEOF
8547 /* confdefs.h. */
8548 _ACEOF
8549 cat confdefs.h >>conftest.$ac_ext
8550 cat >>conftest.$ac_ext <<_ACEOF
8551 /* end confdefs.h. */
8554 main ()
8558 return 0;
8560 _ACEOF
8561 rm -f conftest.$ac_objext conftest$ac_exeext
8562 if { (ac_try="$ac_link"
8563 case "(($ac_try" in
8564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8565 *) ac_try_echo=$ac_try;;
8566 esac
8567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8568 (eval "$ac_link") 2>conftest.er1
8569 ac_status=$?
8570 grep -v '^ *+' conftest.er1 >conftest.err
8571 rm -f conftest.er1
8572 cat conftest.err >&5
8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); } && {
8575 test -z "$ac_c_werror_flag" ||
8576 test ! -s conftest.err
8577 } && test -s conftest$ac_exeext &&
8578 $as_test_x conftest$ac_exeext; then
8579 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8580 else
8581 echo "$as_me: failed program was:" >&5
8582 sed 's/^/| /' conftest.$ac_ext >&5
8584 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8588 conftest$ac_exeext conftest.$ac_ext
8589 CFLAGS=$ac_wine_try_cflags_saved
8591 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8592 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8593 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8594 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8598 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8599 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8600 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8601 echo $ECHO_N "(cached) $ECHO_C" >&6
8602 else
8603 ac_wine_try_cflags_saved=$CFLAGS
8604 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8605 cat >conftest.$ac_ext <<_ACEOF
8606 /* confdefs.h. */
8607 _ACEOF
8608 cat confdefs.h >>conftest.$ac_ext
8609 cat >>conftest.$ac_ext <<_ACEOF
8610 /* end confdefs.h. */
8613 main ()
8617 return 0;
8619 _ACEOF
8620 rm -f conftest.$ac_objext conftest$ac_exeext
8621 if { (ac_try="$ac_link"
8622 case "(($ac_try" in
8623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8624 *) ac_try_echo=$ac_try;;
8625 esac
8626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8627 (eval "$ac_link") 2>conftest.er1
8628 ac_status=$?
8629 grep -v '^ *+' conftest.er1 >conftest.err
8630 rm -f conftest.er1
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && {
8634 test -z "$ac_c_werror_flag" ||
8635 test ! -s conftest.err
8636 } && test -s conftest$ac_exeext &&
8637 $as_test_x conftest$ac_exeext; then
8638 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8639 else
8640 echo "$as_me: failed program was:" >&5
8641 sed 's/^/| /' conftest.$ac_ext >&5
8643 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8647 conftest$ac_exeext conftest.$ac_ext
8648 CFLAGS=$ac_wine_try_cflags_saved
8650 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8651 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8652 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8653 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8657 echo '{ global: *; };' >conftest.map
8658 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8659 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8660 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8661 echo $ECHO_N "(cached) $ECHO_C" >&6
8662 else
8663 ac_wine_try_cflags_saved=$CFLAGS
8664 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8665 cat >conftest.$ac_ext <<_ACEOF
8666 /* confdefs.h. */
8667 _ACEOF
8668 cat confdefs.h >>conftest.$ac_ext
8669 cat >>conftest.$ac_ext <<_ACEOF
8670 /* end confdefs.h. */
8673 main ()
8677 return 0;
8679 _ACEOF
8680 rm -f conftest.$ac_objext conftest$ac_exeext
8681 if { (ac_try="$ac_link"
8682 case "(($ac_try" in
8683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8684 *) ac_try_echo=$ac_try;;
8685 esac
8686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8687 (eval "$ac_link") 2>conftest.er1
8688 ac_status=$?
8689 grep -v '^ *+' conftest.er1 >conftest.err
8690 rm -f conftest.er1
8691 cat conftest.err >&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); } && {
8694 test -z "$ac_c_werror_flag" ||
8695 test ! -s conftest.err
8696 } && test -s conftest$ac_exeext &&
8697 $as_test_x conftest$ac_exeext; then
8698 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8699 else
8700 echo "$as_me: failed program was:" >&5
8701 sed 's/^/| /' conftest.$ac_ext >&5
8703 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8707 conftest$ac_exeext conftest.$ac_ext
8708 CFLAGS=$ac_wine_try_cflags_saved
8710 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8711 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8712 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8713 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8716 rm -f conftest.map
8718 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8719 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8720 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8721 echo $ECHO_N "(cached) $ECHO_C" >&6
8722 else
8723 ac_wine_try_cflags_saved=$CFLAGS
8724 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8725 cat >conftest.$ac_ext <<_ACEOF
8726 /* confdefs.h. */
8727 _ACEOF
8728 cat confdefs.h >>conftest.$ac_ext
8729 cat >>conftest.$ac_ext <<_ACEOF
8730 /* end confdefs.h. */
8733 main ()
8737 return 0;
8739 _ACEOF
8740 rm -f conftest.$ac_objext conftest$ac_exeext
8741 if { (ac_try="$ac_link"
8742 case "(($ac_try" in
8743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8744 *) ac_try_echo=$ac_try;;
8745 esac
8746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8747 (eval "$ac_link") 2>conftest.er1
8748 ac_status=$?
8749 grep -v '^ *+' conftest.er1 >conftest.err
8750 rm -f conftest.er1
8751 cat conftest.err >&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); } && {
8754 test -z "$ac_c_werror_flag" ||
8755 test ! -s conftest.err
8756 } && test -s conftest$ac_exeext &&
8757 $as_test_x conftest$ac_exeext; then
8758 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8759 else
8760 echo "$as_me: failed program was:" >&5
8761 sed 's/^/| /' conftest.$ac_ext >&5
8763 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8767 conftest$ac_exeext conftest.$ac_ext
8768 CFLAGS=$ac_wine_try_cflags_saved
8770 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8771 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8772 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8773 LDEXECFLAGS="-Wl,--export-dynamic"
8778 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8779 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8780 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8781 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8782 echo $ECHO_N "(cached) $ECHO_C" >&6
8783 else
8784 ac_wine_try_cflags_saved=$CFLAGS
8785 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8786 cat >conftest.$ac_ext <<_ACEOF
8787 /* confdefs.h. */
8788 _ACEOF
8789 cat confdefs.h >>conftest.$ac_ext
8790 cat >>conftest.$ac_ext <<_ACEOF
8791 /* end confdefs.h. */
8794 main ()
8798 return 0;
8800 _ACEOF
8801 rm -f conftest.$ac_objext conftest$ac_exeext
8802 if { (ac_try="$ac_link"
8803 case "(($ac_try" in
8804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8805 *) ac_try_echo=$ac_try;;
8806 esac
8807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8808 (eval "$ac_link") 2>conftest.er1
8809 ac_status=$?
8810 grep -v '^ *+' conftest.er1 >conftest.err
8811 rm -f conftest.er1
8812 cat conftest.err >&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); } && {
8815 test -z "$ac_c_werror_flag" ||
8816 test ! -s conftest.err
8817 } && test -s conftest$ac_exeext &&
8818 $as_test_x conftest$ac_exeext; then
8819 eval "$as_ac_var=yes"
8820 else
8821 echo "$as_me: failed program was:" >&5
8822 sed 's/^/| /' conftest.$ac_ext >&5
8824 eval "$as_ac_var=no"
8827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8828 conftest$ac_exeext conftest.$ac_ext
8829 CFLAGS=$ac_wine_try_cflags_saved
8831 ac_res=`eval echo '${'$as_ac_var'}'`
8832 { echo "$as_me:$LINENO: result: $ac_res" >&5
8833 echo "${ECHO_T}$ac_res" >&6; }
8834 if test `eval echo '${'$as_ac_var'}'` = yes; then
8835 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8836 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8837 else
8838 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8839 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8840 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8841 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8842 echo $ECHO_N "(cached) $ECHO_C" >&6
8843 else
8844 ac_wine_try_cflags_saved=$CFLAGS
8845 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8846 cat >conftest.$ac_ext <<_ACEOF
8847 /* confdefs.h. */
8848 _ACEOF
8849 cat confdefs.h >>conftest.$ac_ext
8850 cat >>conftest.$ac_ext <<_ACEOF
8851 /* end confdefs.h. */
8854 main ()
8858 return 0;
8860 _ACEOF
8861 rm -f conftest.$ac_objext conftest$ac_exeext
8862 if { (ac_try="$ac_link"
8863 case "(($ac_try" in
8864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8865 *) ac_try_echo=$ac_try;;
8866 esac
8867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8868 (eval "$ac_link") 2>conftest.er1
8869 ac_status=$?
8870 grep -v '^ *+' conftest.er1 >conftest.err
8871 rm -f conftest.er1
8872 cat conftest.err >&5
8873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874 (exit $ac_status); } && {
8875 test -z "$ac_c_werror_flag" ||
8876 test ! -s conftest.err
8877 } && test -s conftest$ac_exeext &&
8878 $as_test_x conftest$ac_exeext; then
8879 eval "$as_ac_var=yes"
8880 else
8881 echo "$as_me: failed program was:" >&5
8882 sed 's/^/| /' conftest.$ac_ext >&5
8884 eval "$as_ac_var=no"
8887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8888 conftest$ac_exeext conftest.$ac_ext
8889 CFLAGS=$ac_wine_try_cflags_saved
8891 ac_res=`eval echo '${'$as_ac_var'}'`
8892 { echo "$as_me:$LINENO: result: $ac_res" >&5
8893 echo "${ECHO_T}$ac_res" >&6; }
8894 if test `eval echo '${'$as_ac_var'}'` = yes; then
8895 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8896 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8902 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8903 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8904 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8905 echo $ECHO_N "(cached) $ECHO_C" >&6
8906 else
8907 ac_wine_try_cflags_saved=$CFLAGS
8908 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8909 cat >conftest.$ac_ext <<_ACEOF
8910 /* confdefs.h. */
8911 _ACEOF
8912 cat confdefs.h >>conftest.$ac_ext
8913 cat >>conftest.$ac_ext <<_ACEOF
8914 /* end confdefs.h. */
8917 main ()
8921 return 0;
8923 _ACEOF
8924 rm -f conftest.$ac_objext conftest$ac_exeext
8925 if { (ac_try="$ac_link"
8926 case "(($ac_try" in
8927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8928 *) ac_try_echo=$ac_try;;
8929 esac
8930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8931 (eval "$ac_link") 2>conftest.er1
8932 ac_status=$?
8933 grep -v '^ *+' conftest.er1 >conftest.err
8934 rm -f conftest.er1
8935 cat conftest.err >&5
8936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8937 (exit $ac_status); } && {
8938 test -z "$ac_c_werror_flag" ||
8939 test ! -s conftest.err
8940 } && test -s conftest$ac_exeext &&
8941 $as_test_x conftest$ac_exeext; then
8942 ac_cv_cflags__Wl___enable_new_dtags=yes
8943 else
8944 echo "$as_me: failed program was:" >&5
8945 sed 's/^/| /' conftest.$ac_ext >&5
8947 ac_cv_cflags__Wl___enable_new_dtags=no
8950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8951 conftest$ac_exeext conftest.$ac_ext
8952 CFLAGS=$ac_wine_try_cflags_saved
8954 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8955 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8956 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
8957 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8961 case $host_cpu in
8962 *i[3456789]86* | x86_64)
8963 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8964 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8965 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8966 echo $ECHO_N "(cached) $ECHO_C" >&6
8967 else
8968 ac_wine_try_cflags_saved=$CFLAGS
8969 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8970 cat >conftest.$ac_ext <<_ACEOF
8971 /* confdefs.h. */
8972 _ACEOF
8973 cat confdefs.h >>conftest.$ac_ext
8974 cat >>conftest.$ac_ext <<_ACEOF
8975 /* end confdefs.h. */
8978 main ()
8982 return 0;
8984 _ACEOF
8985 rm -f conftest.$ac_objext conftest$ac_exeext
8986 if { (ac_try="$ac_link"
8987 case "(($ac_try" in
8988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8989 *) ac_try_echo=$ac_try;;
8990 esac
8991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8992 (eval "$ac_link") 2>conftest.er1
8993 ac_status=$?
8994 grep -v '^ *+' conftest.er1 >conftest.err
8995 rm -f conftest.er1
8996 cat conftest.err >&5
8997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8998 (exit $ac_status); } && {
8999 test -z "$ac_c_werror_flag" ||
9000 test ! -s conftest.err
9001 } && test -s conftest$ac_exeext &&
9002 $as_test_x conftest$ac_exeext; then
9003 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9004 else
9005 echo "$as_me: failed program was:" >&5
9006 sed 's/^/| /' conftest.$ac_ext >&5
9008 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9012 conftest$ac_exeext conftest.$ac_ext
9013 CFLAGS=$ac_wine_try_cflags_saved
9015 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9016 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9017 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9018 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9022 esac
9024 else
9025 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9026 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9027 if test "${ac_cv_c_dll_unixware+set}" = set; then
9028 echo $ECHO_N "(cached) $ECHO_C" >&6
9029 else
9030 ac_wine_try_cflags_saved=$CFLAGS
9031 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9032 cat >conftest.$ac_ext <<_ACEOF
9033 void myfunc() {}
9034 _ACEOF
9035 rm -f conftest.$ac_objext conftest$ac_exeext
9036 if { (ac_try="$ac_link"
9037 case "(($ac_try" in
9038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9039 *) ac_try_echo=$ac_try;;
9040 esac
9041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9042 (eval "$ac_link") 2>conftest.er1
9043 ac_status=$?
9044 grep -v '^ *+' conftest.er1 >conftest.err
9045 rm -f conftest.er1
9046 cat conftest.err >&5
9047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9048 (exit $ac_status); } && {
9049 test -z "$ac_c_werror_flag" ||
9050 test ! -s conftest.err
9051 } && test -s conftest$ac_exeext &&
9052 $as_test_x conftest$ac_exeext; then
9053 ac_cv_c_dll_unixware="yes"
9054 else
9055 echo "$as_me: failed program was:" >&5
9056 sed 's/^/| /' conftest.$ac_ext >&5
9058 ac_cv_c_dll_unixware="no"
9061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9062 conftest$ac_exeext conftest.$ac_ext
9063 CFLAGS=$ac_wine_try_cflags_saved
9065 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9066 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9067 if test "$ac_cv_c_dll_unixware" = "yes"
9068 then
9069 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9070 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9072 else
9073 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9074 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9075 if test "${ac_cv_c_dll_hpux+set}" = set; then
9076 echo $ECHO_N "(cached) $ECHO_C" >&6
9077 else
9078 ac_wine_try_cflags_saved=$CFLAGS
9079 CFLAGS="$CFLAGS -shared"
9080 cat >conftest.$ac_ext <<_ACEOF
9081 void myfunc() {}
9082 _ACEOF
9083 rm -f conftest.$ac_objext conftest$ac_exeext
9084 if { (ac_try="$ac_link"
9085 case "(($ac_try" in
9086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9087 *) ac_try_echo=$ac_try;;
9088 esac
9089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9090 (eval "$ac_link") 2>conftest.er1
9091 ac_status=$?
9092 grep -v '^ *+' conftest.er1 >conftest.err
9093 rm -f conftest.er1
9094 cat conftest.err >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 (exit $ac_status); } && {
9097 test -z "$ac_c_werror_flag" ||
9098 test ! -s conftest.err
9099 } && test -s conftest$ac_exeext &&
9100 $as_test_x conftest$ac_exeext; then
9101 ac_cv_c_dll_hpux="yes"
9102 else
9103 echo "$as_me: failed program was:" >&5
9104 sed 's/^/| /' conftest.$ac_ext >&5
9106 ac_cv_c_dll_hpux="no"
9109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9110 conftest$ac_exeext conftest.$ac_ext
9111 CFLAGS=$ac_wine_try_cflags_saved
9113 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9114 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9115 if test "$ac_cv_c_dll_hpux" = "yes"
9116 then
9117 LIBEXT="sl"
9118 DLLEXT=".sl"
9119 LDDLLFLAGS="-shared -fPIC"
9120 LDSHARED="\$(CC) -shared"
9125 CROSSTEST=""
9127 if test "$cross_compiling" = "no"
9128 then
9129 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9131 # Extract the first word of "$ac_prog", so it can be a program name with args.
9132 set dummy $ac_prog; ac_word=$2
9133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9135 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9136 echo $ECHO_N "(cached) $ECHO_C" >&6
9137 else
9138 if test -n "$CROSSCC"; then
9139 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9140 else
9141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9142 for as_dir in $PATH
9144 IFS=$as_save_IFS
9145 test -z "$as_dir" && as_dir=.
9146 for ac_exec_ext in '' $ac_executable_extensions; do
9147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9148 ac_cv_prog_CROSSCC="$ac_prog"
9149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9150 break 2
9152 done
9153 done
9154 IFS=$as_save_IFS
9158 CROSSCC=$ac_cv_prog_CROSSCC
9159 if test -n "$CROSSCC"; then
9160 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9161 echo "${ECHO_T}$CROSSCC" >&6; }
9162 else
9163 { echo "$as_me:$LINENO: result: no" >&5
9164 echo "${ECHO_T}no" >&6; }
9168 test -n "$CROSSCC" && break
9169 done
9170 test -n "$CROSSCC" || CROSSCC="false"
9172 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9174 # Extract the first word of "$ac_prog", so it can be a program name with args.
9175 set dummy $ac_prog; ac_word=$2
9176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9178 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9180 else
9181 if test -n "$DLLTOOL"; then
9182 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9183 else
9184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9185 for as_dir in $PATH
9187 IFS=$as_save_IFS
9188 test -z "$as_dir" && as_dir=.
9189 for ac_exec_ext in '' $ac_executable_extensions; do
9190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9191 ac_cv_prog_DLLTOOL="$ac_prog"
9192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9193 break 2
9195 done
9196 done
9197 IFS=$as_save_IFS
9201 DLLTOOL=$ac_cv_prog_DLLTOOL
9202 if test -n "$DLLTOOL"; then
9203 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9204 echo "${ECHO_T}$DLLTOOL" >&6; }
9205 else
9206 { echo "$as_me:$LINENO: result: no" >&5
9207 echo "${ECHO_T}no" >&6; }
9211 test -n "$DLLTOOL" && break
9212 done
9213 test -n "$DLLTOOL" || DLLTOOL="false"
9215 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9217 # Extract the first word of "$ac_prog", so it can be a program name with args.
9218 set dummy $ac_prog; ac_word=$2
9219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9221 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9222 echo $ECHO_N "(cached) $ECHO_C" >&6
9223 else
9224 if test -n "$CROSSWINDRES"; then
9225 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9226 else
9227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9228 for as_dir in $PATH
9230 IFS=$as_save_IFS
9231 test -z "$as_dir" && as_dir=.
9232 for ac_exec_ext in '' $ac_executable_extensions; do
9233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9234 ac_cv_prog_CROSSWINDRES="$ac_prog"
9235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9236 break 2
9238 done
9239 done
9240 IFS=$as_save_IFS
9244 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9245 if test -n "$CROSSWINDRES"; then
9246 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9247 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9248 else
9249 { echo "$as_me:$LINENO: result: no" >&5
9250 echo "${ECHO_T}no" >&6; }
9254 test -n "$CROSSWINDRES" && break
9255 done
9256 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9258 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9260 # Extract the first word of "$ac_prog", so it can be a program name with args.
9261 set dummy $ac_prog; ac_word=$2
9262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9264 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9265 echo $ECHO_N "(cached) $ECHO_C" >&6
9266 else
9267 if test -n "$MINGWAR"; then
9268 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9269 else
9270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9271 for as_dir in $PATH
9273 IFS=$as_save_IFS
9274 test -z "$as_dir" && as_dir=.
9275 for ac_exec_ext in '' $ac_executable_extensions; do
9276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9277 ac_cv_prog_MINGWAR="$ac_prog"
9278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9279 break 2
9281 done
9282 done
9283 IFS=$as_save_IFS
9287 MINGWAR=$ac_cv_prog_MINGWAR
9288 if test -n "$MINGWAR"; then
9289 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9290 echo "${ECHO_T}$MINGWAR" >&6; }
9291 else
9292 { echo "$as_me:$LINENO: result: no" >&5
9293 echo "${ECHO_T}no" >&6; }
9297 test -n "$MINGWAR" && break
9298 done
9299 test -n "$MINGWAR" || MINGWAR="false"
9301 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9304 esac
9306 if test "$LIBEXT" = "a"; then
9307 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9308 It is currently not possible to build Wine without shared library
9309 (.so) support to allow transparent switch between .so and .dll files.
9310 If you are using Linux, you will need a newer binutils.
9311 " >&5
9312 echo "$as_me: error: could not find a way to build shared libraries.
9313 It is currently not possible to build Wine without shared library
9314 (.so) support to allow transparent switch between .so and .dll files.
9315 If you are using Linux, you will need a newer binutils.
9316 " >&2;}
9317 { (exit 1); exit 1; }; }
9321 if test "$have_x" = "yes"
9322 then
9323 XLIB="-lXext -lX11"
9324 ac_save_CPPFLAGS="$CPPFLAGS"
9325 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9327 { echo "$as_me:$LINENO: checking for -lX11" >&5
9328 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9329 if test "${ac_cv_lib_soname_X11+set}" = set; then
9330 echo $ECHO_N "(cached) $ECHO_C" >&6
9331 else
9332 ac_check_soname_save_LIBS=$LIBS
9333 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9334 cat >conftest.$ac_ext <<_ACEOF
9335 /* confdefs.h. */
9336 _ACEOF
9337 cat confdefs.h >>conftest.$ac_ext
9338 cat >>conftest.$ac_ext <<_ACEOF
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9344 #ifdef __cplusplus
9345 extern "C"
9346 #endif
9347 char XCreateWindow ();
9349 main ()
9351 return XCreateWindow ();
9353 return 0;
9355 _ACEOF
9356 rm -f conftest.$ac_objext conftest$ac_exeext
9357 if { (ac_try="$ac_link"
9358 case "(($ac_try" in
9359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9360 *) ac_try_echo=$ac_try;;
9361 esac
9362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9363 (eval "$ac_link") 2>conftest.er1
9364 ac_status=$?
9365 grep -v '^ *+' conftest.er1 >conftest.err
9366 rm -f conftest.er1
9367 cat conftest.err >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); } && {
9370 test -z "$ac_c_werror_flag" ||
9371 test ! -s conftest.err
9372 } && test -s conftest$ac_exeext &&
9373 $as_test_x conftest$ac_exeext; then
9374 case "$LIBEXT" in
9375 dll) ;;
9376 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'` ;;
9377 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9378 esac
9379 else
9380 echo "$as_me: failed program was:" >&5
9381 sed 's/^/| /' conftest.$ac_ext >&5
9386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9387 conftest$ac_exeext conftest.$ac_ext
9388 LIBS=$ac_check_soname_save_LIBS
9390 if test "x$ac_cv_lib_soname_X11" = "x"; then
9391 { echo "$as_me:$LINENO: result: not found" >&5
9392 echo "${ECHO_T}not found" >&6; }
9394 else
9395 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9396 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9398 cat >>confdefs.h <<_ACEOF
9399 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9400 _ACEOF
9405 { echo "$as_me:$LINENO: checking for -lXext" >&5
9406 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9407 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9408 echo $ECHO_N "(cached) $ECHO_C" >&6
9409 else
9410 ac_check_soname_save_LIBS=$LIBS
9411 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9412 cat >conftest.$ac_ext <<_ACEOF
9413 /* confdefs.h. */
9414 _ACEOF
9415 cat confdefs.h >>conftest.$ac_ext
9416 cat >>conftest.$ac_ext <<_ACEOF
9417 /* end confdefs.h. */
9419 /* Override any GCC internal prototype to avoid an error.
9420 Use char because int might match the return type of a GCC
9421 builtin and then its argument prototype would still apply. */
9422 #ifdef __cplusplus
9423 extern "C"
9424 #endif
9425 char XextCreateExtension ();
9427 main ()
9429 return XextCreateExtension ();
9431 return 0;
9433 _ACEOF
9434 rm -f conftest.$ac_objext conftest$ac_exeext
9435 if { (ac_try="$ac_link"
9436 case "(($ac_try" in
9437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9438 *) ac_try_echo=$ac_try;;
9439 esac
9440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9441 (eval "$ac_link") 2>conftest.er1
9442 ac_status=$?
9443 grep -v '^ *+' conftest.er1 >conftest.err
9444 rm -f conftest.er1
9445 cat conftest.err >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); } && {
9448 test -z "$ac_c_werror_flag" ||
9449 test ! -s conftest.err
9450 } && test -s conftest$ac_exeext &&
9451 $as_test_x conftest$ac_exeext; then
9452 case "$LIBEXT" in
9453 dll) ;;
9454 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'` ;;
9455 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9456 esac
9457 else
9458 echo "$as_me: failed program was:" >&5
9459 sed 's/^/| /' conftest.$ac_ext >&5
9464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9465 conftest$ac_exeext conftest.$ac_ext
9466 LIBS=$ac_check_soname_save_LIBS
9468 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9469 { echo "$as_me:$LINENO: result: not found" >&5
9470 echo "${ECHO_T}not found" >&6; }
9472 else
9473 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9474 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9476 cat >>confdefs.h <<_ACEOF
9477 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9478 _ACEOF
9496 for ac_header in X11/Xlib.h \
9497 X11/XKBlib.h \
9498 X11/Xutil.h \
9499 X11/Xcursor/Xcursor.h \
9500 X11/extensions/shape.h \
9501 X11/extensions/XInput.h \
9502 X11/extensions/XShm.h \
9503 X11/extensions/Xcomposite.h \
9504 X11/extensions/Xinerama.h \
9505 X11/extensions/Xrandr.h \
9506 X11/extensions/Xrender.h \
9507 X11/extensions/xf86vmode.h
9509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9513 echo $ECHO_N "(cached) $ECHO_C" >&6
9514 else
9515 cat >conftest.$ac_ext <<_ACEOF
9516 /* confdefs.h. */
9517 _ACEOF
9518 cat confdefs.h >>conftest.$ac_ext
9519 cat >>conftest.$ac_ext <<_ACEOF
9520 /* end confdefs.h. */
9521 #ifdef HAVE_X11_XLIB_H
9522 # include <X11/Xlib.h>
9523 #endif
9524 #ifdef HAVE_X11_XUTIL_H
9525 # include <X11/Xutil.h>
9526 #endif
9528 #include <$ac_header>
9529 _ACEOF
9530 rm -f conftest.$ac_objext
9531 if { (ac_try="$ac_compile"
9532 case "(($ac_try" in
9533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9534 *) ac_try_echo=$ac_try;;
9535 esac
9536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9537 (eval "$ac_compile") 2>conftest.er1
9538 ac_status=$?
9539 grep -v '^ *+' conftest.er1 >conftest.err
9540 rm -f conftest.er1
9541 cat conftest.err >&5
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); } && {
9544 test -z "$ac_c_werror_flag" ||
9545 test ! -s conftest.err
9546 } && test -s conftest.$ac_objext; then
9547 eval "$as_ac_Header=yes"
9548 else
9549 echo "$as_me: failed program was:" >&5
9550 sed 's/^/| /' conftest.$ac_ext >&5
9552 eval "$as_ac_Header=no"
9555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9557 ac_res=`eval echo '${'$as_ac_Header'}'`
9558 { echo "$as_me:$LINENO: result: $ac_res" >&5
9559 echo "${ECHO_T}$ac_res" >&6; }
9560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9561 cat >>confdefs.h <<_ACEOF
9562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9563 _ACEOF
9567 done
9570 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9571 then
9572 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9573 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9574 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9575 echo $ECHO_N "(cached) $ECHO_C" >&6
9576 else
9577 ac_check_lib_save_LIBS=$LIBS
9578 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9579 cat >conftest.$ac_ext <<_ACEOF
9580 /* confdefs.h. */
9581 _ACEOF
9582 cat confdefs.h >>conftest.$ac_ext
9583 cat >>conftest.$ac_ext <<_ACEOF
9584 /* end confdefs.h. */
9586 /* Override any GCC internal prototype to avoid an error.
9587 Use char because int might match the return type of a GCC
9588 builtin and then its argument prototype would still apply. */
9589 #ifdef __cplusplus
9590 extern "C"
9591 #endif
9592 char XkbQueryExtension ();
9594 main ()
9596 return XkbQueryExtension ();
9598 return 0;
9600 _ACEOF
9601 rm -f conftest.$ac_objext conftest$ac_exeext
9602 if { (ac_try="$ac_link"
9603 case "(($ac_try" in
9604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9605 *) ac_try_echo=$ac_try;;
9606 esac
9607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9608 (eval "$ac_link") 2>conftest.er1
9609 ac_status=$?
9610 grep -v '^ *+' conftest.er1 >conftest.err
9611 rm -f conftest.er1
9612 cat conftest.err >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); } && {
9615 test -z "$ac_c_werror_flag" ||
9616 test ! -s conftest.err
9617 } && test -s conftest$ac_exeext &&
9618 $as_test_x conftest$ac_exeext; then
9619 ac_cv_lib_X11_XkbQueryExtension=yes
9620 else
9621 echo "$as_me: failed program was:" >&5
9622 sed 's/^/| /' conftest.$ac_ext >&5
9624 ac_cv_lib_X11_XkbQueryExtension=no
9627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9628 conftest$ac_exeext conftest.$ac_ext
9629 LIBS=$ac_check_lib_save_LIBS
9631 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9632 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9633 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9635 cat >>confdefs.h <<\_ACEOF
9636 #define HAVE_XKB 1
9637 _ACEOF
9643 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9644 then
9645 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9646 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9647 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 else
9650 ac_check_soname_save_LIBS=$LIBS
9651 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9652 cat >conftest.$ac_ext <<_ACEOF
9653 /* confdefs.h. */
9654 _ACEOF
9655 cat confdefs.h >>conftest.$ac_ext
9656 cat >>conftest.$ac_ext <<_ACEOF
9657 /* end confdefs.h. */
9659 /* Override any GCC internal prototype to avoid an error.
9660 Use char because int might match the return type of a GCC
9661 builtin and then its argument prototype would still apply. */
9662 #ifdef __cplusplus
9663 extern "C"
9664 #endif
9665 char XcursorImageLoadCursor ();
9667 main ()
9669 return XcursorImageLoadCursor ();
9671 return 0;
9673 _ACEOF
9674 rm -f conftest.$ac_objext conftest$ac_exeext
9675 if { (ac_try="$ac_link"
9676 case "(($ac_try" in
9677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9678 *) ac_try_echo=$ac_try;;
9679 esac
9680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9681 (eval "$ac_link") 2>conftest.er1
9682 ac_status=$?
9683 grep -v '^ *+' conftest.er1 >conftest.err
9684 rm -f conftest.er1
9685 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } && {
9688 test -z "$ac_c_werror_flag" ||
9689 test ! -s conftest.err
9690 } && test -s conftest$ac_exeext &&
9691 $as_test_x conftest$ac_exeext; then
9692 case "$LIBEXT" in
9693 dll) ;;
9694 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'` ;;
9695 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9696 esac
9697 else
9698 echo "$as_me: failed program was:" >&5
9699 sed 's/^/| /' conftest.$ac_ext >&5
9704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9705 conftest$ac_exeext conftest.$ac_ext
9706 LIBS=$ac_check_soname_save_LIBS
9708 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9709 { echo "$as_me:$LINENO: result: not found" >&5
9710 echo "${ECHO_T}not found" >&6; }
9712 else
9713 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9714 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9716 cat >>confdefs.h <<_ACEOF
9717 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9718 _ACEOF
9724 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9725 case "x$with_xcursor" in
9726 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9727 xno) ;;
9728 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9729 This is an error since --with-xcursor was requested." >&5
9730 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9731 This is an error since --with-xcursor was requested." >&2;}
9732 { (exit 1); exit 1; }; } ;;
9733 esac
9737 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9738 then
9739 { echo "$as_me:$LINENO: checking for -lXi" >&5
9740 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9741 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9743 else
9744 ac_check_soname_save_LIBS=$LIBS
9745 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9746 cat >conftest.$ac_ext <<_ACEOF
9747 /* confdefs.h. */
9748 _ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9753 /* Override any GCC internal prototype to avoid an error.
9754 Use char because int might match the return type of a GCC
9755 builtin and then its argument prototype would still apply. */
9756 #ifdef __cplusplus
9757 extern "C"
9758 #endif
9759 char XOpenDevice ();
9761 main ()
9763 return XOpenDevice ();
9765 return 0;
9767 _ACEOF
9768 rm -f conftest.$ac_objext conftest$ac_exeext
9769 if { (ac_try="$ac_link"
9770 case "(($ac_try" in
9771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9772 *) ac_try_echo=$ac_try;;
9773 esac
9774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9775 (eval "$ac_link") 2>conftest.er1
9776 ac_status=$?
9777 grep -v '^ *+' conftest.er1 >conftest.err
9778 rm -f conftest.er1
9779 cat conftest.err >&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } && {
9782 test -z "$ac_c_werror_flag" ||
9783 test ! -s conftest.err
9784 } && test -s conftest$ac_exeext &&
9785 $as_test_x conftest$ac_exeext; then
9786 case "$LIBEXT" in
9787 dll) ;;
9788 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'` ;;
9789 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9790 esac
9791 else
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5
9798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9799 conftest$ac_exeext conftest.$ac_ext
9800 LIBS=$ac_check_soname_save_LIBS
9802 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9803 { echo "$as_me:$LINENO: result: not found" >&5
9804 echo "${ECHO_T}not found" >&6; }
9806 else
9807 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9808 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9810 cat >>confdefs.h <<_ACEOF
9811 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9812 _ACEOF
9818 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9819 case "x$with_xinput" in
9820 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9821 xno) ;;
9822 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9823 This is an error since --with-xinput was requested." >&5
9824 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9825 This is an error since --with-xinput was requested." >&2;}
9826 { (exit 1); exit 1; }; } ;;
9827 esac
9831 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9832 then
9833 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9834 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9835 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9836 echo $ECHO_N "(cached) $ECHO_C" >&6
9837 else
9838 ac_check_lib_save_LIBS=$LIBS
9839 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9840 cat >conftest.$ac_ext <<_ACEOF
9841 /* confdefs.h. */
9842 _ACEOF
9843 cat confdefs.h >>conftest.$ac_ext
9844 cat >>conftest.$ac_ext <<_ACEOF
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9850 #ifdef __cplusplus
9851 extern "C"
9852 #endif
9853 char XShmQueryExtension ();
9855 main ()
9857 return XShmQueryExtension ();
9859 return 0;
9861 _ACEOF
9862 rm -f conftest.$ac_objext conftest$ac_exeext
9863 if { (ac_try="$ac_link"
9864 case "(($ac_try" in
9865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9866 *) ac_try_echo=$ac_try;;
9867 esac
9868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9869 (eval "$ac_link") 2>conftest.er1
9870 ac_status=$?
9871 grep -v '^ *+' conftest.er1 >conftest.err
9872 rm -f conftest.er1
9873 cat conftest.err >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); } && {
9876 test -z "$ac_c_werror_flag" ||
9877 test ! -s conftest.err
9878 } && test -s conftest$ac_exeext &&
9879 $as_test_x conftest$ac_exeext; then
9880 ac_cv_lib_Xext_XShmQueryExtension=yes
9881 else
9882 echo "$as_me: failed program was:" >&5
9883 sed 's/^/| /' conftest.$ac_ext >&5
9885 ac_cv_lib_Xext_XShmQueryExtension=no
9888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9889 conftest$ac_exeext conftest.$ac_ext
9890 LIBS=$ac_check_lib_save_LIBS
9892 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9893 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9894 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9896 cat >>confdefs.h <<\_ACEOF
9897 #define HAVE_LIBXXSHM 1
9898 _ACEOF
9903 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9904 case "x$with_xshm" in
9905 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9906 xno) ;;
9907 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9908 This is an error since --with-xshm was requested." >&5
9909 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9910 This is an error since --with-xshm was requested." >&2;}
9911 { (exit 1); exit 1; }; } ;;
9912 esac
9916 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9917 then
9918 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9919 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9920 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 else
9923 ac_check_lib_save_LIBS=$LIBS
9924 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9925 cat >conftest.$ac_ext <<_ACEOF
9926 /* confdefs.h. */
9927 _ACEOF
9928 cat confdefs.h >>conftest.$ac_ext
9929 cat >>conftest.$ac_ext <<_ACEOF
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9935 #ifdef __cplusplus
9936 extern "C"
9937 #endif
9938 char XShapeQueryExtension ();
9940 main ()
9942 return XShapeQueryExtension ();
9944 return 0;
9946 _ACEOF
9947 rm -f conftest.$ac_objext conftest$ac_exeext
9948 if { (ac_try="$ac_link"
9949 case "(($ac_try" in
9950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9951 *) ac_try_echo=$ac_try;;
9952 esac
9953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9954 (eval "$ac_link") 2>conftest.er1
9955 ac_status=$?
9956 grep -v '^ *+' conftest.er1 >conftest.err
9957 rm -f conftest.er1
9958 cat conftest.err >&5
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); } && {
9961 test -z "$ac_c_werror_flag" ||
9962 test ! -s conftest.err
9963 } && test -s conftest$ac_exeext &&
9964 $as_test_x conftest$ac_exeext; then
9965 ac_cv_lib_Xext_XShapeQueryExtension=yes
9966 else
9967 echo "$as_me: failed program was:" >&5
9968 sed 's/^/| /' conftest.$ac_ext >&5
9970 ac_cv_lib_Xext_XShapeQueryExtension=no
9973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9974 conftest$ac_exeext conftest.$ac_ext
9975 LIBS=$ac_check_lib_save_LIBS
9977 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9978 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9979 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9981 cat >>confdefs.h <<\_ACEOF
9982 #define HAVE_LIBXSHAPE 1
9983 _ACEOF
9988 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
9989 case "x$with_xshape" in
9990 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
9991 xno) ;;
9992 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
9993 This is an error since --with-xshape was requested." >&5
9994 echo "$as_me: error: XShape development files not found, XShape won't be supported.
9995 This is an error since --with-xshape was requested." >&2;}
9996 { (exit 1); exit 1; }; } ;;
9997 esac
10001 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10002 then
10003 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10004 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10005 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10006 echo $ECHO_N "(cached) $ECHO_C" >&6
10007 else
10008 ac_check_lib_save_LIBS=$LIBS
10009 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10010 cat >conftest.$ac_ext <<_ACEOF
10011 /* confdefs.h. */
10012 _ACEOF
10013 cat confdefs.h >>conftest.$ac_ext
10014 cat >>conftest.$ac_ext <<_ACEOF
10015 /* end confdefs.h. */
10017 /* Override any GCC internal prototype to avoid an error.
10018 Use char because int might match the return type of a GCC
10019 builtin and then its argument prototype would still apply. */
10020 #ifdef __cplusplus
10021 extern "C"
10022 #endif
10023 char XF86VidModeQueryExtension ();
10025 main ()
10027 return XF86VidModeQueryExtension ();
10029 return 0;
10031 _ACEOF
10032 rm -f conftest.$ac_objext conftest$ac_exeext
10033 if { (ac_try="$ac_link"
10034 case "(($ac_try" in
10035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10036 *) ac_try_echo=$ac_try;;
10037 esac
10038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10039 (eval "$ac_link") 2>conftest.er1
10040 ac_status=$?
10041 grep -v '^ *+' conftest.er1 >conftest.err
10042 rm -f conftest.er1
10043 cat conftest.err >&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } && {
10046 test -z "$ac_c_werror_flag" ||
10047 test ! -s conftest.err
10048 } && test -s conftest$ac_exeext &&
10049 $as_test_x conftest$ac_exeext; then
10050 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10051 else
10052 echo "$as_me: failed program was:" >&5
10053 sed 's/^/| /' conftest.$ac_ext >&5
10055 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10059 conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_lib_save_LIBS
10062 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10063 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10064 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10066 cat >>confdefs.h <<\_ACEOF
10067 #define HAVE_LIBXXF86VM 1
10068 _ACEOF
10070 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10075 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10076 case "x$with_xvidmode" in
10077 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10078 xno) ;;
10079 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10080 This is an error since --with-xvidmode was requested." >&5
10081 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10082 This is an error since --with-xvidmode was requested." >&2;}
10083 { (exit 1); exit 1; }; } ;;
10084 esac
10088 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"
10089 then
10090 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10091 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10092 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10093 echo $ECHO_N "(cached) $ECHO_C" >&6
10094 else
10095 ac_check_soname_save_LIBS=$LIBS
10096 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10097 cat >conftest.$ac_ext <<_ACEOF
10098 /* confdefs.h. */
10099 _ACEOF
10100 cat confdefs.h >>conftest.$ac_ext
10101 cat >>conftest.$ac_ext <<_ACEOF
10102 /* end confdefs.h. */
10104 /* Override any GCC internal prototype to avoid an error.
10105 Use char because int might match the return type of a GCC
10106 builtin and then its argument prototype would still apply. */
10107 #ifdef __cplusplus
10108 extern "C"
10109 #endif
10110 char XRenderQueryExtension ();
10112 main ()
10114 return XRenderQueryExtension ();
10116 return 0;
10118 _ACEOF
10119 rm -f conftest.$ac_objext conftest$ac_exeext
10120 if { (ac_try="$ac_link"
10121 case "(($ac_try" in
10122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10123 *) ac_try_echo=$ac_try;;
10124 esac
10125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10126 (eval "$ac_link") 2>conftest.er1
10127 ac_status=$?
10128 grep -v '^ *+' conftest.er1 >conftest.err
10129 rm -f conftest.er1
10130 cat conftest.err >&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); } && {
10133 test -z "$ac_c_werror_flag" ||
10134 test ! -s conftest.err
10135 } && test -s conftest$ac_exeext &&
10136 $as_test_x conftest$ac_exeext; then
10137 case "$LIBEXT" in
10138 dll) ;;
10139 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'` ;;
10140 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10141 esac
10142 else
10143 echo "$as_me: failed program was:" >&5
10144 sed 's/^/| /' conftest.$ac_ext >&5
10149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10150 conftest$ac_exeext conftest.$ac_ext
10151 LIBS=$ac_check_soname_save_LIBS
10153 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10154 { echo "$as_me:$LINENO: result: not found" >&5
10155 echo "${ECHO_T}not found" >&6; }
10157 else
10158 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10159 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10161 cat >>confdefs.h <<_ACEOF
10162 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10163 _ACEOF
10165 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10166 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10167 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 else
10170 ac_check_lib_save_LIBS=$LIBS
10171 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10172 cat >conftest.$ac_ext <<_ACEOF
10173 /* confdefs.h. */
10174 _ACEOF
10175 cat confdefs.h >>conftest.$ac_ext
10176 cat >>conftest.$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10179 /* Override any GCC internal prototype to avoid an error.
10180 Use char because int might match the return type of a GCC
10181 builtin and then its argument prototype would still apply. */
10182 #ifdef __cplusplus
10183 extern "C"
10184 #endif
10185 char XRenderSetPictureTransform ();
10187 main ()
10189 return XRenderSetPictureTransform ();
10191 return 0;
10193 _ACEOF
10194 rm -f conftest.$ac_objext conftest$ac_exeext
10195 if { (ac_try="$ac_link"
10196 case "(($ac_try" in
10197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10198 *) ac_try_echo=$ac_try;;
10199 esac
10200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10201 (eval "$ac_link") 2>conftest.er1
10202 ac_status=$?
10203 grep -v '^ *+' conftest.er1 >conftest.err
10204 rm -f conftest.er1
10205 cat conftest.err >&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); } && {
10208 test -z "$ac_c_werror_flag" ||
10209 test ! -s conftest.err
10210 } && test -s conftest$ac_exeext &&
10211 $as_test_x conftest$ac_exeext; then
10212 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10213 else
10214 echo "$as_me: failed program was:" >&5
10215 sed 's/^/| /' conftest.$ac_ext >&5
10217 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10221 conftest$ac_exeext conftest.$ac_ext
10222 LIBS=$ac_check_lib_save_LIBS
10224 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10225 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10226 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10228 cat >>confdefs.h <<\_ACEOF
10229 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10230 _ACEOF
10238 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10239 case "x$with_xrender" in
10240 x) wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10241 xno) ;;
10242 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10243 This is an error since --with-xrender was requested." >&5
10244 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10245 This is an error since --with-xrender was requested." >&2;}
10246 { (exit 1); exit 1; }; } ;;
10247 esac
10251 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10252 then
10253 cat >conftest.$ac_ext <<_ACEOF
10254 /* confdefs.h. */
10255 _ACEOF
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h. */
10259 #include <X11/Xlib.h>
10260 #include <X11/extensions/Xrandr.h>
10262 main ()
10264 static typeof(XRRSetScreenConfigAndRate) * func;
10266 return 0;
10268 _ACEOF
10269 rm -f conftest.$ac_objext
10270 if { (ac_try="$ac_compile"
10271 case "(($ac_try" in
10272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10273 *) ac_try_echo=$ac_try;;
10274 esac
10275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10276 (eval "$ac_compile") 2>conftest.er1
10277 ac_status=$?
10278 grep -v '^ *+' conftest.er1 >conftest.err
10279 rm -f conftest.er1
10280 cat conftest.err >&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); } && {
10283 test -z "$ac_c_werror_flag" ||
10284 test ! -s conftest.err
10285 } && test -s conftest.$ac_objext; then
10286 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10287 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10288 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10289 echo $ECHO_N "(cached) $ECHO_C" >&6
10290 else
10291 ac_check_soname_save_LIBS=$LIBS
10292 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10293 cat >conftest.$ac_ext <<_ACEOF
10294 /* confdefs.h. */
10295 _ACEOF
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10300 /* Override any GCC internal prototype to avoid an error.
10301 Use char because int might match the return type of a GCC
10302 builtin and then its argument prototype would still apply. */
10303 #ifdef __cplusplus
10304 extern "C"
10305 #endif
10306 char XRRQueryExtension ();
10308 main ()
10310 return XRRQueryExtension ();
10312 return 0;
10314 _ACEOF
10315 rm -f conftest.$ac_objext conftest$ac_exeext
10316 if { (ac_try="$ac_link"
10317 case "(($ac_try" in
10318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10319 *) ac_try_echo=$ac_try;;
10320 esac
10321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10322 (eval "$ac_link") 2>conftest.er1
10323 ac_status=$?
10324 grep -v '^ *+' conftest.er1 >conftest.err
10325 rm -f conftest.er1
10326 cat conftest.err >&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } && {
10329 test -z "$ac_c_werror_flag" ||
10330 test ! -s conftest.err
10331 } && test -s conftest$ac_exeext &&
10332 $as_test_x conftest$ac_exeext; then
10333 case "$LIBEXT" in
10334 dll) ;;
10335 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'` ;;
10336 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10337 esac
10338 else
10339 echo "$as_me: failed program was:" >&5
10340 sed 's/^/| /' conftest.$ac_ext >&5
10345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10346 conftest$ac_exeext conftest.$ac_ext
10347 LIBS=$ac_check_soname_save_LIBS
10349 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10350 { echo "$as_me:$LINENO: result: not found" >&5
10351 echo "${ECHO_T}not found" >&6; }
10353 else
10354 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10355 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10357 cat >>confdefs.h <<_ACEOF
10358 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10359 _ACEOF
10364 else
10365 echo "$as_me: failed program was:" >&5
10366 sed 's/^/| /' conftest.$ac_ext >&5
10371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10373 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10374 case "x$with_xrandr" in
10375 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10376 xno) ;;
10377 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10378 This is an error since --with-xrandr was requested." >&5
10379 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10380 This is an error since --with-xrandr was requested." >&2;}
10381 { (exit 1); exit 1; }; } ;;
10382 esac
10386 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10387 then
10388 cat >conftest.$ac_ext <<_ACEOF
10389 /* confdefs.h. */
10390 _ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10394 #include <X11/Xlib.h>
10395 #include <X11/extensions/Xinerama.h>
10397 main ()
10399 static typeof(XineramaQueryScreens) * func;
10401 return 0;
10403 _ACEOF
10404 rm -f conftest.$ac_objext
10405 if { (ac_try="$ac_compile"
10406 case "(($ac_try" in
10407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10408 *) ac_try_echo=$ac_try;;
10409 esac
10410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10411 (eval "$ac_compile") 2>conftest.er1
10412 ac_status=$?
10413 grep -v '^ *+' conftest.er1 >conftest.err
10414 rm -f conftest.er1
10415 cat conftest.err >&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); } && {
10418 test -z "$ac_c_werror_flag" ||
10419 test ! -s conftest.err
10420 } && test -s conftest.$ac_objext; then
10421 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10422 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10423 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10424 echo $ECHO_N "(cached) $ECHO_C" >&6
10425 else
10426 ac_check_soname_save_LIBS=$LIBS
10427 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10428 cat >conftest.$ac_ext <<_ACEOF
10429 /* confdefs.h. */
10430 _ACEOF
10431 cat confdefs.h >>conftest.$ac_ext
10432 cat >>conftest.$ac_ext <<_ACEOF
10433 /* end confdefs.h. */
10435 /* Override any GCC internal prototype to avoid an error.
10436 Use char because int might match the return type of a GCC
10437 builtin and then its argument prototype would still apply. */
10438 #ifdef __cplusplus
10439 extern "C"
10440 #endif
10441 char XineramaQueryScreens ();
10443 main ()
10445 return XineramaQueryScreens ();
10447 return 0;
10449 _ACEOF
10450 rm -f conftest.$ac_objext conftest$ac_exeext
10451 if { (ac_try="$ac_link"
10452 case "(($ac_try" in
10453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10454 *) ac_try_echo=$ac_try;;
10455 esac
10456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10457 (eval "$ac_link") 2>conftest.er1
10458 ac_status=$?
10459 grep -v '^ *+' conftest.er1 >conftest.err
10460 rm -f conftest.er1
10461 cat conftest.err >&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); } && {
10464 test -z "$ac_c_werror_flag" ||
10465 test ! -s conftest.err
10466 } && test -s conftest$ac_exeext &&
10467 $as_test_x conftest$ac_exeext; then
10468 case "$LIBEXT" in
10469 dll) ;;
10470 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'` ;;
10471 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10472 esac
10473 else
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.$ac_ext >&5
10480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10481 conftest$ac_exeext conftest.$ac_ext
10482 LIBS=$ac_check_soname_save_LIBS
10484 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10485 { echo "$as_me:$LINENO: result: not found" >&5
10486 echo "${ECHO_T}not found" >&6; }
10488 else
10489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10490 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10492 cat >>confdefs.h <<_ACEOF
10493 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10494 _ACEOF
10499 else
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10508 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10509 case "x$with_xinerama" in
10510 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10511 xno) ;;
10512 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10513 This is an error since --with-xinerama was requested." >&5
10514 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10515 This is an error since --with-xinerama was requested." >&2;}
10516 { (exit 1); exit 1; }; } ;;
10517 esac
10521 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10522 then
10523 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10524 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10525 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10526 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 else
10528 ac_check_soname_save_LIBS=$LIBS
10529 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10530 cat >conftest.$ac_ext <<_ACEOF
10531 /* confdefs.h. */
10532 _ACEOF
10533 cat confdefs.h >>conftest.$ac_ext
10534 cat >>conftest.$ac_ext <<_ACEOF
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10540 #ifdef __cplusplus
10541 extern "C"
10542 #endif
10543 char XCompositeRedirectWindow ();
10545 main ()
10547 return XCompositeRedirectWindow ();
10549 return 0;
10551 _ACEOF
10552 rm -f conftest.$ac_objext conftest$ac_exeext
10553 if { (ac_try="$ac_link"
10554 case "(($ac_try" in
10555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10556 *) ac_try_echo=$ac_try;;
10557 esac
10558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10559 (eval "$ac_link") 2>conftest.er1
10560 ac_status=$?
10561 grep -v '^ *+' conftest.er1 >conftest.err
10562 rm -f conftest.er1
10563 cat conftest.err >&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } && {
10566 test -z "$ac_c_werror_flag" ||
10567 test ! -s conftest.err
10568 } && test -s conftest$ac_exeext &&
10569 $as_test_x conftest$ac_exeext; then
10570 case "$LIBEXT" in
10571 dll) ;;
10572 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'` ;;
10573 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10574 esac
10575 else
10576 echo "$as_me: failed program was:" >&5
10577 sed 's/^/| /' conftest.$ac_ext >&5
10582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS=$ac_check_soname_save_LIBS
10586 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10587 { echo "$as_me:$LINENO: result: not found" >&5
10588 echo "${ECHO_T}not found" >&6; }
10590 else
10591 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10592 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10594 cat >>confdefs.h <<_ACEOF
10595 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10596 _ACEOF
10602 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10603 case "x$with_xcomposite" in
10604 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10605 xno) ;;
10606 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10607 This is an error since --with-xcomposite was requested." >&5
10608 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10609 This is an error since --with-xcomposite was requested." >&2;}
10610 { (exit 1); exit 1; }; } ;;
10611 esac
10616 opengl_msg=""
10617 if test "x$with_opengl" != "xno"
10618 then
10623 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 else
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10637 #ifdef HAVE_GL_GLX_H
10638 # include <GL/glx.h>
10639 #endif
10641 #include <$ac_header>
10642 _ACEOF
10643 rm -f conftest.$ac_objext
10644 if { (ac_try="$ac_compile"
10645 case "(($ac_try" in
10646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10647 *) ac_try_echo=$ac_try;;
10648 esac
10649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10650 (eval "$ac_compile") 2>conftest.er1
10651 ac_status=$?
10652 grep -v '^ *+' conftest.er1 >conftest.err
10653 rm -f conftest.er1
10654 cat conftest.err >&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); } && {
10657 test -z "$ac_c_werror_flag" ||
10658 test ! -s conftest.err
10659 } && test -s conftest.$ac_objext; then
10660 eval "$as_ac_Header=yes"
10661 else
10662 echo "$as_me: failed program was:" >&5
10663 sed 's/^/| /' conftest.$ac_ext >&5
10665 eval "$as_ac_Header=no"
10668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10670 ac_res=`eval echo '${'$as_ac_Header'}'`
10671 { echo "$as_me:$LINENO: result: $ac_res" >&5
10672 echo "${ECHO_T}$ac_res" >&6; }
10673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10674 cat >>confdefs.h <<_ACEOF
10675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10676 _ACEOF
10680 done
10682 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10683 then
10684 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10685 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10686 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10687 echo $ECHO_N "(cached) $ECHO_C" >&6
10688 else
10689 cat >conftest.$ac_ext <<_ACEOF
10690 /* confdefs.h. */
10691 _ACEOF
10692 cat confdefs.h >>conftest.$ac_ext
10693 cat >>conftest.$ac_ext <<_ACEOF
10694 /* end confdefs.h. */
10695 #include <GL/gl.h>
10697 main ()
10699 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10701 return 0;
10703 _ACEOF
10704 rm -f conftest.$ac_objext
10705 if { (ac_try="$ac_compile"
10706 case "(($ac_try" in
10707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10708 *) ac_try_echo=$ac_try;;
10709 esac
10710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10711 (eval "$ac_compile") 2>conftest.er1
10712 ac_status=$?
10713 grep -v '^ *+' conftest.er1 >conftest.err
10714 rm -f conftest.er1
10715 cat conftest.err >&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } && {
10718 test -z "$ac_c_werror_flag" ||
10719 test ! -s conftest.err
10720 } && test -s conftest.$ac_objext; then
10721 wine_cv_opengl_header_version_OK="yes"
10722 else
10723 echo "$as_me: failed program was:" >&5
10724 sed 's/^/| /' conftest.$ac_ext >&5
10726 wine_cv_opengl_header_version_OK="no"
10729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10731 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10732 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10734 if test "$wine_cv_opengl_header_version_OK" = "yes"
10735 then
10736 { echo "$as_me:$LINENO: checking for -lGL" >&5
10737 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10738 if test "${ac_cv_lib_soname_GL+set}" = set; then
10739 echo $ECHO_N "(cached) $ECHO_C" >&6
10740 else
10741 ac_check_soname_save_LIBS=$LIBS
10742 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10743 cat >conftest.$ac_ext <<_ACEOF
10744 /* confdefs.h. */
10745 _ACEOF
10746 cat confdefs.h >>conftest.$ac_ext
10747 cat >>conftest.$ac_ext <<_ACEOF
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10753 #ifdef __cplusplus
10754 extern "C"
10755 #endif
10756 char glXCreateContext ();
10758 main ()
10760 return glXCreateContext ();
10762 return 0;
10764 _ACEOF
10765 rm -f conftest.$ac_objext conftest$ac_exeext
10766 if { (ac_try="$ac_link"
10767 case "(($ac_try" in
10768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10769 *) ac_try_echo=$ac_try;;
10770 esac
10771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10772 (eval "$ac_link") 2>conftest.er1
10773 ac_status=$?
10774 grep -v '^ *+' conftest.er1 >conftest.err
10775 rm -f conftest.er1
10776 cat conftest.err >&5
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); } && {
10779 test -z "$ac_c_werror_flag" ||
10780 test ! -s conftest.err
10781 } && test -s conftest$ac_exeext &&
10782 $as_test_x conftest$ac_exeext; then
10783 case "$LIBEXT" in
10784 dll) ;;
10785 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'` ;;
10786 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10787 esac
10788 else
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.$ac_ext >&5
10795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10796 conftest$ac_exeext conftest.$ac_ext
10797 LIBS=$ac_check_soname_save_LIBS
10799 if test "x$ac_cv_lib_soname_GL" = "x"; then
10800 { echo "$as_me:$LINENO: result: not found" >&5
10801 echo "${ECHO_T}not found" >&6; }
10802 { echo "$as_me:$LINENO: checking for -lGL" >&5
10803 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10804 if test "${ac_cv_lib_soname_GL+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10806 else
10807 ac_check_soname_save_LIBS=$LIBS
10808 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"
10809 cat >conftest.$ac_ext <<_ACEOF
10810 /* confdefs.h. */
10811 _ACEOF
10812 cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10816 /* Override any GCC internal prototype to avoid an error.
10817 Use char because int might match the return type of a GCC
10818 builtin and then its argument prototype would still apply. */
10819 #ifdef __cplusplus
10820 extern "C"
10821 #endif
10822 char glXCreateContext ();
10824 main ()
10826 return glXCreateContext ();
10828 return 0;
10830 _ACEOF
10831 rm -f conftest.$ac_objext conftest$ac_exeext
10832 if { (ac_try="$ac_link"
10833 case "(($ac_try" in
10834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10835 *) ac_try_echo=$ac_try;;
10836 esac
10837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10838 (eval "$ac_link") 2>conftest.er1
10839 ac_status=$?
10840 grep -v '^ *+' conftest.er1 >conftest.err
10841 rm -f conftest.er1
10842 cat conftest.err >&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); } && {
10845 test -z "$ac_c_werror_flag" ||
10846 test ! -s conftest.err
10847 } && test -s conftest$ac_exeext &&
10848 $as_test_x conftest$ac_exeext; then
10849 case "$LIBEXT" in
10850 dll) ;;
10851 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'` ;;
10852 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10853 esac
10854 else
10855 echo "$as_me: failed program was:" >&5
10856 sed 's/^/| /' conftest.$ac_ext >&5
10861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10862 conftest$ac_exeext conftest.$ac_ext
10863 LIBS=$ac_check_soname_save_LIBS
10865 if test "x$ac_cv_lib_soname_GL" = "x"; then
10866 { echo "$as_me:$LINENO: result: not found" >&5
10867 echo "${ECHO_T}not found" >&6; }
10868 if test -f /usr/X11R6/lib/libGL.a
10869 then
10870 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10871 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10872 else
10873 opengl_msg="No OpenGL library found on this system."
10875 else
10876 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10877 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10879 cat >>confdefs.h <<_ACEOF
10880 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10881 _ACEOF
10883 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"
10884 OPENGLFILES='$(OPENGLFILES)'
10886 cat >>confdefs.h <<\_ACEOF
10887 #define HAVE_OPENGL 1
10888 _ACEOF
10892 else
10893 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10894 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10896 cat >>confdefs.h <<_ACEOF
10897 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10898 _ACEOF
10900 OPENGL_LIBS="-lGL"
10901 OPENGLFILES='$(OPENGLFILES)'
10903 cat >>confdefs.h <<\_ACEOF
10904 #define HAVE_OPENGL 1
10905 _ACEOF
10910 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10911 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10912 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10914 else
10915 ac_check_lib_save_LIBS=$LIBS
10916 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10917 cat >conftest.$ac_ext <<_ACEOF
10918 /* confdefs.h. */
10919 _ACEOF
10920 cat confdefs.h >>conftest.$ac_ext
10921 cat >>conftest.$ac_ext <<_ACEOF
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char gluLookAt ();
10932 main ()
10934 return gluLookAt ();
10936 return 0;
10938 _ACEOF
10939 rm -f conftest.$ac_objext conftest$ac_exeext
10940 if { (ac_try="$ac_link"
10941 case "(($ac_try" in
10942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10943 *) ac_try_echo=$ac_try;;
10944 esac
10945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10946 (eval "$ac_link") 2>conftest.er1
10947 ac_status=$?
10948 grep -v '^ *+' conftest.er1 >conftest.err
10949 rm -f conftest.er1
10950 cat conftest.err >&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); } && {
10953 test -z "$ac_c_werror_flag" ||
10954 test ! -s conftest.err
10955 } && test -s conftest$ac_exeext &&
10956 $as_test_x conftest$ac_exeext; then
10957 ac_cv_lib_GLU_gluLookAt=yes
10958 else
10959 echo "$as_me: failed program was:" >&5
10960 sed 's/^/| /' conftest.$ac_ext >&5
10962 ac_cv_lib_GLU_gluLookAt=no
10965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10966 conftest$ac_exeext conftest.$ac_ext
10967 LIBS=$ac_check_lib_save_LIBS
10969 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10970 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10971 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10972 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10973 GLU32FILES='$(GLU32FILES)'
10977 else
10978 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
10980 else
10981 opengl_msg="OpenGL development headers not found."
10984 if test -n "$opengl_msg"; then
10985 case "x$with_opengl" in
10986 x) wine_warnings="$wine_warnings|$opengl_msg
10987 OpenGL and Direct3D won't be supported." ;;
10988 xno) ;;
10989 *) { { echo "$as_me:$LINENO: error: $opengl_msg
10990 OpenGL and Direct3D won't be supported.
10991 This is an error since --with-opengl was requested." >&5
10992 echo "$as_me: error: $opengl_msg
10993 OpenGL and Direct3D won't be supported.
10994 This is an error since --with-opengl was requested." >&2;}
10995 { (exit 1); exit 1; }; } ;;
10996 esac
11000 NASLIBS=""
11003 for ac_header in audio/audiolib.h
11005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11010 echo $ECHO_N "(cached) $ECHO_C" >&6
11012 ac_res=`eval echo '${'$as_ac_Header'}'`
11013 { echo "$as_me:$LINENO: result: $ac_res" >&5
11014 echo "${ECHO_T}$ac_res" >&6; }
11015 else
11016 # Is the header compilable?
11017 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11018 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11019 cat >conftest.$ac_ext <<_ACEOF
11020 /* confdefs.h. */
11021 _ACEOF
11022 cat confdefs.h >>conftest.$ac_ext
11023 cat >>conftest.$ac_ext <<_ACEOF
11024 /* end confdefs.h. */
11025 $ac_includes_default
11026 #include <$ac_header>
11027 _ACEOF
11028 rm -f conftest.$ac_objext
11029 if { (ac_try="$ac_compile"
11030 case "(($ac_try" in
11031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11032 *) ac_try_echo=$ac_try;;
11033 esac
11034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11035 (eval "$ac_compile") 2>conftest.er1
11036 ac_status=$?
11037 grep -v '^ *+' conftest.er1 >conftest.err
11038 rm -f conftest.er1
11039 cat conftest.err >&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); } && {
11042 test -z "$ac_c_werror_flag" ||
11043 test ! -s conftest.err
11044 } && test -s conftest.$ac_objext; then
11045 ac_header_compiler=yes
11046 else
11047 echo "$as_me: failed program was:" >&5
11048 sed 's/^/| /' conftest.$ac_ext >&5
11050 ac_header_compiler=no
11053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11054 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11055 echo "${ECHO_T}$ac_header_compiler" >&6; }
11057 # Is the header present?
11058 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11059 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11060 cat >conftest.$ac_ext <<_ACEOF
11061 /* confdefs.h. */
11062 _ACEOF
11063 cat confdefs.h >>conftest.$ac_ext
11064 cat >>conftest.$ac_ext <<_ACEOF
11065 /* end confdefs.h. */
11066 #include <$ac_header>
11067 _ACEOF
11068 if { (ac_try="$ac_cpp conftest.$ac_ext"
11069 case "(($ac_try" in
11070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11071 *) ac_try_echo=$ac_try;;
11072 esac
11073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11074 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11075 ac_status=$?
11076 grep -v '^ *+' conftest.er1 >conftest.err
11077 rm -f conftest.er1
11078 cat conftest.err >&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } >/dev/null && {
11081 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11082 test ! -s conftest.err
11083 }; then
11084 ac_header_preproc=yes
11085 else
11086 echo "$as_me: failed program was:" >&5
11087 sed 's/^/| /' conftest.$ac_ext >&5
11089 ac_header_preproc=no
11092 rm -f conftest.err conftest.$ac_ext
11093 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11094 echo "${ECHO_T}$ac_header_preproc" >&6; }
11096 # So? What about this header?
11097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11098 yes:no: )
11099 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11102 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11103 ac_header_preproc=yes
11105 no:yes:* )
11106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11109 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11110 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11111 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11112 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11113 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11114 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11116 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11117 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11118 ( cat <<\_ASBOX
11119 ## ------------------------------------ ##
11120 ## Report this to wine-devel@winehq.org ##
11121 ## ------------------------------------ ##
11122 _ASBOX
11123 ) | sed "s/^/$as_me: WARNING: /" >&2
11125 esac
11126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11129 echo $ECHO_N "(cached) $ECHO_C" >&6
11130 else
11131 eval "$as_ac_Header=\$ac_header_preproc"
11133 ac_res=`eval echo '${'$as_ac_Header'}'`
11134 { echo "$as_me:$LINENO: result: $ac_res" >&5
11135 echo "${ECHO_T}$ac_res" >&6; }
11138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11139 cat >>confdefs.h <<_ACEOF
11140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11141 _ACEOF
11143 for ac_header in audio/soundlib.h
11145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11146 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11148 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11149 echo $ECHO_N "(cached) $ECHO_C" >&6
11150 else
11151 cat >conftest.$ac_ext <<_ACEOF
11152 /* confdefs.h. */
11153 _ACEOF
11154 cat confdefs.h >>conftest.$ac_ext
11155 cat >>conftest.$ac_ext <<_ACEOF
11156 /* end confdefs.h. */
11157 #include <audio/audiolib.h>
11159 #include <$ac_header>
11160 _ACEOF
11161 rm -f conftest.$ac_objext
11162 if { (ac_try="$ac_compile"
11163 case "(($ac_try" in
11164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11165 *) ac_try_echo=$ac_try;;
11166 esac
11167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11168 (eval "$ac_compile") 2>conftest.er1
11169 ac_status=$?
11170 grep -v '^ *+' conftest.er1 >conftest.err
11171 rm -f conftest.er1
11172 cat conftest.err >&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); } && {
11175 test -z "$ac_c_werror_flag" ||
11176 test ! -s conftest.err
11177 } && test -s conftest.$ac_objext; then
11178 eval "$as_ac_Header=yes"
11179 else
11180 echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.$ac_ext >&5
11183 eval "$as_ac_Header=no"
11186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11188 ac_res=`eval echo '${'$as_ac_Header'}'`
11189 { echo "$as_me:$LINENO: result: $ac_res" >&5
11190 echo "${ECHO_T}$ac_res" >&6; }
11191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11192 cat >>confdefs.h <<_ACEOF
11193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11194 _ACEOF
11198 done
11200 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11201 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11202 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11203 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 else
11205 ac_check_lib_save_LIBS=$LIBS
11206 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11207 cat >conftest.$ac_ext <<_ACEOF
11208 /* confdefs.h. */
11209 _ACEOF
11210 cat confdefs.h >>conftest.$ac_ext
11211 cat >>conftest.$ac_ext <<_ACEOF
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char AuCreateFlow ();
11222 main ()
11224 return AuCreateFlow ();
11226 return 0;
11228 _ACEOF
11229 rm -f conftest.$ac_objext conftest$ac_exeext
11230 if { (ac_try="$ac_link"
11231 case "(($ac_try" in
11232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11233 *) ac_try_echo=$ac_try;;
11234 esac
11235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11236 (eval "$ac_link") 2>conftest.er1
11237 ac_status=$?
11238 grep -v '^ *+' conftest.er1 >conftest.err
11239 rm -f conftest.er1
11240 cat conftest.err >&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); } && {
11243 test -z "$ac_c_werror_flag" ||
11244 test ! -s conftest.err
11245 } && test -s conftest$ac_exeext &&
11246 $as_test_x conftest$ac_exeext; then
11247 ac_cv_lib_audio_AuCreateFlow=yes
11248 else
11249 echo "$as_me: failed program was:" >&5
11250 sed 's/^/| /' conftest.$ac_ext >&5
11252 ac_cv_lib_audio_AuCreateFlow=no
11255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11256 conftest$ac_exeext conftest.$ac_ext
11257 LIBS=$ac_check_lib_save_LIBS
11259 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11260 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11261 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11263 cat >>confdefs.h <<\_ACEOF
11264 #define HAVE_NAS 1
11265 _ACEOF
11267 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11268 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11269 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11270 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 else
11272 ac_check_lib_save_LIBS=$LIBS
11273 LIBS="-lXau $X_LIBS $LIBS"
11274 cat >conftest.$ac_ext <<_ACEOF
11275 /* confdefs.h. */
11276 _ACEOF
11277 cat confdefs.h >>conftest.$ac_ext
11278 cat >>conftest.$ac_ext <<_ACEOF
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char XauGetBestAuthByAddr ();
11289 main ()
11291 return XauGetBestAuthByAddr ();
11293 return 0;
11295 _ACEOF
11296 rm -f conftest.$ac_objext conftest$ac_exeext
11297 if { (ac_try="$ac_link"
11298 case "(($ac_try" in
11299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11300 *) ac_try_echo=$ac_try;;
11301 esac
11302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11303 (eval "$ac_link") 2>conftest.er1
11304 ac_status=$?
11305 grep -v '^ *+' conftest.er1 >conftest.err
11306 rm -f conftest.er1
11307 cat conftest.err >&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); } && {
11310 test -z "$ac_c_werror_flag" ||
11311 test ! -s conftest.err
11312 } && test -s conftest$ac_exeext &&
11313 $as_test_x conftest$ac_exeext; then
11314 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11315 else
11316 echo "$as_me: failed program was:" >&5
11317 sed 's/^/| /' conftest.$ac_ext >&5
11319 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11323 conftest$ac_exeext conftest.$ac_ext
11324 LIBS=$ac_check_lib_save_LIBS
11326 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11327 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11328 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11329 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11330 else
11331 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11339 done
11342 CPPFLAGS="$ac_save_CPPFLAGS"
11343 XFILES='$(XFILES)'
11344 else
11345 XLIB=""
11346 X_CFLAGS=""
11347 X_LIBS=""
11349 if test "x$XLIB" = "x"; then
11350 case "x$with_x" in
11351 x) wine_warnings="$wine_warnings|X development files not found. Wine will be built
11352 without X support, which probably isn't what you want. You will need to install
11353 development packages of Xlib/Xfree86 at the very least." ;;
11354 xno) ;;
11355 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11356 without X support, which probably isn't what you want. You will need to install
11357 development packages of Xlib/Xfree86 at the very least.
11358 This is an error since --with-x was requested." >&5
11359 echo "$as_me: error: X development files not found. Wine will be built
11360 without X support, which probably isn't what you want. You will need to install
11361 development packages of Xlib/Xfree86 at the very least.
11362 This is an error since --with-x was requested." >&2;}
11363 { (exit 1); exit 1; }; } ;;
11364 esac
11369 XML2LIBS=""
11371 XML2INCL=""
11373 XSLTLIBS=""
11375 XSLTINCL=""
11377 if test "x$with_xml" != "xno"
11378 then
11379 ac_save_CPPFLAGS="$CPPFLAGS"
11380 if test "$PKG_CONFIG" != "false"
11381 then
11382 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11383 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11384 else
11385 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11386 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11388 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11390 for ac_header in libxml/parser.h
11392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6
11399 ac_res=`eval echo '${'$as_ac_Header'}'`
11400 { echo "$as_me:$LINENO: result: $ac_res" >&5
11401 echo "${ECHO_T}$ac_res" >&6; }
11402 else
11403 # Is the header compilable?
11404 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11406 cat >conftest.$ac_ext <<_ACEOF
11407 /* confdefs.h. */
11408 _ACEOF
11409 cat confdefs.h >>conftest.$ac_ext
11410 cat >>conftest.$ac_ext <<_ACEOF
11411 /* end confdefs.h. */
11412 $ac_includes_default
11413 #include <$ac_header>
11414 _ACEOF
11415 rm -f conftest.$ac_objext
11416 if { (ac_try="$ac_compile"
11417 case "(($ac_try" in
11418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11419 *) ac_try_echo=$ac_try;;
11420 esac
11421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11422 (eval "$ac_compile") 2>conftest.er1
11423 ac_status=$?
11424 grep -v '^ *+' conftest.er1 >conftest.err
11425 rm -f conftest.er1
11426 cat conftest.err >&5
11427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428 (exit $ac_status); } && {
11429 test -z "$ac_c_werror_flag" ||
11430 test ! -s conftest.err
11431 } && test -s conftest.$ac_objext; then
11432 ac_header_compiler=yes
11433 else
11434 echo "$as_me: failed program was:" >&5
11435 sed 's/^/| /' conftest.$ac_ext >&5
11437 ac_header_compiler=no
11440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11441 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11442 echo "${ECHO_T}$ac_header_compiler" >&6; }
11444 # Is the header present?
11445 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11446 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11447 cat >conftest.$ac_ext <<_ACEOF
11448 /* confdefs.h. */
11449 _ACEOF
11450 cat confdefs.h >>conftest.$ac_ext
11451 cat >>conftest.$ac_ext <<_ACEOF
11452 /* end confdefs.h. */
11453 #include <$ac_header>
11454 _ACEOF
11455 if { (ac_try="$ac_cpp conftest.$ac_ext"
11456 case "(($ac_try" in
11457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11458 *) ac_try_echo=$ac_try;;
11459 esac
11460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11461 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11462 ac_status=$?
11463 grep -v '^ *+' conftest.er1 >conftest.err
11464 rm -f conftest.er1
11465 cat conftest.err >&5
11466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11467 (exit $ac_status); } >/dev/null && {
11468 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11469 test ! -s conftest.err
11470 }; then
11471 ac_header_preproc=yes
11472 else
11473 echo "$as_me: failed program was:" >&5
11474 sed 's/^/| /' conftest.$ac_ext >&5
11476 ac_header_preproc=no
11479 rm -f conftest.err conftest.$ac_ext
11480 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11481 echo "${ECHO_T}$ac_header_preproc" >&6; }
11483 # So? What about this header?
11484 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11485 yes:no: )
11486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11489 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11490 ac_header_preproc=yes
11492 no:yes:* )
11493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11497 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11498 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11499 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11500 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11501 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11502 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11503 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11504 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11505 ( cat <<\_ASBOX
11506 ## ------------------------------------ ##
11507 ## Report this to wine-devel@winehq.org ##
11508 ## ------------------------------------ ##
11509 _ASBOX
11510 ) | sed "s/^/$as_me: WARNING: /" >&2
11512 esac
11513 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11516 echo $ECHO_N "(cached) $ECHO_C" >&6
11517 else
11518 eval "$as_ac_Header=\$ac_header_preproc"
11520 ac_res=`eval echo '${'$as_ac_Header'}'`
11521 { echo "$as_me:$LINENO: result: $ac_res" >&5
11522 echo "${ECHO_T}$ac_res" >&6; }
11525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11526 cat >>confdefs.h <<_ACEOF
11527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11528 _ACEOF
11529 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11530 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11531 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11532 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 else
11534 ac_check_lib_save_LIBS=$LIBS
11535 LIBS="-lxml2 $ac_xml_libs $LIBS"
11536 cat >conftest.$ac_ext <<_ACEOF
11537 /* confdefs.h. */
11538 _ACEOF
11539 cat confdefs.h >>conftest.$ac_ext
11540 cat >>conftest.$ac_ext <<_ACEOF
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11546 #ifdef __cplusplus
11547 extern "C"
11548 #endif
11549 char xmlParseMemory ();
11551 main ()
11553 return xmlParseMemory ();
11555 return 0;
11557 _ACEOF
11558 rm -f conftest.$ac_objext conftest$ac_exeext
11559 if { (ac_try="$ac_link"
11560 case "(($ac_try" in
11561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11562 *) ac_try_echo=$ac_try;;
11563 esac
11564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11565 (eval "$ac_link") 2>conftest.er1
11566 ac_status=$?
11567 grep -v '^ *+' conftest.er1 >conftest.err
11568 rm -f conftest.er1
11569 cat conftest.err >&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } && {
11572 test -z "$ac_c_werror_flag" ||
11573 test ! -s conftest.err
11574 } && test -s conftest$ac_exeext &&
11575 $as_test_x conftest$ac_exeext; then
11576 ac_cv_lib_xml2_xmlParseMemory=yes
11577 else
11578 echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.$ac_ext >&5
11581 ac_cv_lib_xml2_xmlParseMemory=no
11584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11585 conftest$ac_exeext conftest.$ac_ext
11586 LIBS=$ac_check_lib_save_LIBS
11588 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11589 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11590 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11592 cat >>confdefs.h <<\_ACEOF
11593 #define HAVE_LIBXML2 1
11594 _ACEOF
11596 XML2LIBS="$ac_xml_libs"
11597 XML2INCL="$ac_xml_cflags"
11600 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11601 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11602 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 else
11605 ac_check_lib_save_LIBS=$LIBS
11606 LIBS="-lxml2 $ac_xml_libs $LIBS"
11607 cat >conftest.$ac_ext <<_ACEOF
11608 /* confdefs.h. */
11609 _ACEOF
11610 cat confdefs.h >>conftest.$ac_ext
11611 cat >>conftest.$ac_ext <<_ACEOF
11612 /* end confdefs.h. */
11614 /* Override any GCC internal prototype to avoid an error.
11615 Use char because int might match the return type of a GCC
11616 builtin and then its argument prototype would still apply. */
11617 #ifdef __cplusplus
11618 extern "C"
11619 #endif
11620 char xmlReadMemory ();
11622 main ()
11624 return xmlReadMemory ();
11626 return 0;
11628 _ACEOF
11629 rm -f conftest.$ac_objext conftest$ac_exeext
11630 if { (ac_try="$ac_link"
11631 case "(($ac_try" in
11632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11633 *) ac_try_echo=$ac_try;;
11634 esac
11635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11636 (eval "$ac_link") 2>conftest.er1
11637 ac_status=$?
11638 grep -v '^ *+' conftest.er1 >conftest.err
11639 rm -f conftest.er1
11640 cat conftest.err >&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } && {
11643 test -z "$ac_c_werror_flag" ||
11644 test ! -s conftest.err
11645 } && test -s conftest$ac_exeext &&
11646 $as_test_x conftest$ac_exeext; then
11647 ac_cv_lib_xml2_xmlReadMemory=yes
11648 else
11649 echo "$as_me: failed program was:" >&5
11650 sed 's/^/| /' conftest.$ac_ext >&5
11652 ac_cv_lib_xml2_xmlReadMemory=no
11655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11656 conftest$ac_exeext conftest.$ac_ext
11657 LIBS=$ac_check_lib_save_LIBS
11659 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11660 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11661 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11663 cat >>confdefs.h <<\_ACEOF
11664 #define HAVE_XMLREADMEMORY 1
11665 _ACEOF
11669 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11670 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11671 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11673 else
11674 ac_check_lib_save_LIBS=$LIBS
11675 LIBS="-lxml2 $ac_xml_libs $LIBS"
11676 cat >conftest.$ac_ext <<_ACEOF
11677 /* confdefs.h. */
11678 _ACEOF
11679 cat confdefs.h >>conftest.$ac_ext
11680 cat >>conftest.$ac_ext <<_ACEOF
11681 /* end confdefs.h. */
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11686 #ifdef __cplusplus
11687 extern "C"
11688 #endif
11689 char xmlNewDocPI ();
11691 main ()
11693 return xmlNewDocPI ();
11695 return 0;
11697 _ACEOF
11698 rm -f conftest.$ac_objext conftest$ac_exeext
11699 if { (ac_try="$ac_link"
11700 case "(($ac_try" in
11701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11702 *) ac_try_echo=$ac_try;;
11703 esac
11704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11705 (eval "$ac_link") 2>conftest.er1
11706 ac_status=$?
11707 grep -v '^ *+' conftest.er1 >conftest.err
11708 rm -f conftest.er1
11709 cat conftest.err >&5
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); } && {
11712 test -z "$ac_c_werror_flag" ||
11713 test ! -s conftest.err
11714 } && test -s conftest$ac_exeext &&
11715 $as_test_x conftest$ac_exeext; then
11716 ac_cv_lib_xml2_xmlNewDocPI=yes
11717 else
11718 echo "$as_me: failed program was:" >&5
11719 sed 's/^/| /' conftest.$ac_ext >&5
11721 ac_cv_lib_xml2_xmlNewDocPI=no
11724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11725 conftest$ac_exeext conftest.$ac_ext
11726 LIBS=$ac_check_lib_save_LIBS
11728 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11729 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11730 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11732 cat >>confdefs.h <<\_ACEOF
11733 #define HAVE_XMLNEWDOCPI 1
11734 _ACEOF
11741 done
11743 CPPFLAGS="$ac_save_CPPFLAGS"
11745 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11746 case "x$with_xml" in
11747 x) wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11748 xno) ;;
11749 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11750 This is an error since --with-xml was requested." >&5
11751 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11752 This is an error since --with-xml was requested." >&2;}
11753 { (exit 1); exit 1; }; } ;;
11754 esac
11758 if test "x$with_xslt" != "xno"
11759 then
11760 if test "$PKG_CONFIG" != "false"
11761 then
11762 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11763 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11764 else
11765 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11766 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11768 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11771 for ac_header in libxslt/pattern.h libxslt/transform.h
11773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11774 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11777 echo $ECHO_N "(cached) $ECHO_C" >&6
11778 else
11779 cat >conftest.$ac_ext <<_ACEOF
11780 /* confdefs.h. */
11781 _ACEOF
11782 cat confdefs.h >>conftest.$ac_ext
11783 cat >>conftest.$ac_ext <<_ACEOF
11784 /* end confdefs.h. */
11785 #ifdef HAVE_LIBXSLT_PATTERN_H
11786 # include <libxslt/pattern.h>
11787 #endif
11789 #include <$ac_header>
11790 _ACEOF
11791 rm -f conftest.$ac_objext
11792 if { (ac_try="$ac_compile"
11793 case "(($ac_try" in
11794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11795 *) ac_try_echo=$ac_try;;
11796 esac
11797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11798 (eval "$ac_compile") 2>conftest.er1
11799 ac_status=$?
11800 grep -v '^ *+' conftest.er1 >conftest.err
11801 rm -f conftest.er1
11802 cat conftest.err >&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); } && {
11805 test -z "$ac_c_werror_flag" ||
11806 test ! -s conftest.err
11807 } && test -s conftest.$ac_objext; then
11808 eval "$as_ac_Header=yes"
11809 else
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11813 eval "$as_ac_Header=no"
11816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11818 ac_res=`eval echo '${'$as_ac_Header'}'`
11819 { echo "$as_me:$LINENO: result: $ac_res" >&5
11820 echo "${ECHO_T}$ac_res" >&6; }
11821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11822 cat >>confdefs.h <<_ACEOF
11823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11824 _ACEOF
11825 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11826 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11827 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11829 else
11830 ac_check_lib_save_LIBS=$LIBS
11831 LIBS="-lxslt $ac_xslt_libs $LIBS"
11832 cat >conftest.$ac_ext <<_ACEOF
11833 /* confdefs.h. */
11834 _ACEOF
11835 cat confdefs.h >>conftest.$ac_ext
11836 cat >>conftest.$ac_ext <<_ACEOF
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11842 #ifdef __cplusplus
11843 extern "C"
11844 #endif
11845 char xsltCompilePattern ();
11847 main ()
11849 return xsltCompilePattern ();
11851 return 0;
11853 _ACEOF
11854 rm -f conftest.$ac_objext conftest$ac_exeext
11855 if { (ac_try="$ac_link"
11856 case "(($ac_try" in
11857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11858 *) ac_try_echo=$ac_try;;
11859 esac
11860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11861 (eval "$ac_link") 2>conftest.er1
11862 ac_status=$?
11863 grep -v '^ *+' conftest.er1 >conftest.err
11864 rm -f conftest.er1
11865 cat conftest.err >&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } && {
11868 test -z "$ac_c_werror_flag" ||
11869 test ! -s conftest.err
11870 } && test -s conftest$ac_exeext &&
11871 $as_test_x conftest$ac_exeext; then
11872 ac_cv_lib_xslt_xsltCompilePattern=yes
11873 else
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11877 ac_cv_lib_xslt_xsltCompilePattern=no
11880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11881 conftest$ac_exeext conftest.$ac_ext
11882 LIBS=$ac_check_lib_save_LIBS
11884 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11885 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11886 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11888 cat >>confdefs.h <<\_ACEOF
11889 #define HAVE_LIBXSLT 1
11890 _ACEOF
11892 XSLTLIBS="$ac_xslt_libs"
11893 XSLTINCL="$ac_xslt_cflags"
11899 done
11901 CPPFLAGS="$ac_save_CPPFLAGS"
11903 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
11904 case "x$with_xslt" in
11905 x) wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
11906 xno) ;;
11907 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
11908 This is an error since --with-xslt was requested." >&5
11909 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
11910 This is an error since --with-xslt was requested." >&2;}
11911 { (exit 1); exit 1; }; } ;;
11912 esac
11916 HALINCL=""
11918 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
11919 then
11920 ac_save_CPPFLAGS="$CPPFLAGS"
11921 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11922 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11923 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11926 for ac_header in dbus/dbus.h hal/libhal.h
11928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11930 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11932 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11933 echo $ECHO_N "(cached) $ECHO_C" >&6
11935 ac_res=`eval echo '${'$as_ac_Header'}'`
11936 { echo "$as_me:$LINENO: result: $ac_res" >&5
11937 echo "${ECHO_T}$ac_res" >&6; }
11938 else
11939 # Is the header compilable?
11940 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11942 cat >conftest.$ac_ext <<_ACEOF
11943 /* confdefs.h. */
11944 _ACEOF
11945 cat confdefs.h >>conftest.$ac_ext
11946 cat >>conftest.$ac_ext <<_ACEOF
11947 /* end confdefs.h. */
11948 $ac_includes_default
11949 #include <$ac_header>
11950 _ACEOF
11951 rm -f conftest.$ac_objext
11952 if { (ac_try="$ac_compile"
11953 case "(($ac_try" in
11954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11955 *) ac_try_echo=$ac_try;;
11956 esac
11957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11958 (eval "$ac_compile") 2>conftest.er1
11959 ac_status=$?
11960 grep -v '^ *+' conftest.er1 >conftest.err
11961 rm -f conftest.er1
11962 cat conftest.err >&5
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); } && {
11965 test -z "$ac_c_werror_flag" ||
11966 test ! -s conftest.err
11967 } && test -s conftest.$ac_objext; then
11968 ac_header_compiler=yes
11969 else
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.$ac_ext >&5
11973 ac_header_compiler=no
11976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11977 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11978 echo "${ECHO_T}$ac_header_compiler" >&6; }
11980 # Is the header present?
11981 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11982 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11983 cat >conftest.$ac_ext <<_ACEOF
11984 /* confdefs.h. */
11985 _ACEOF
11986 cat confdefs.h >>conftest.$ac_ext
11987 cat >>conftest.$ac_ext <<_ACEOF
11988 /* end confdefs.h. */
11989 #include <$ac_header>
11990 _ACEOF
11991 if { (ac_try="$ac_cpp conftest.$ac_ext"
11992 case "(($ac_try" in
11993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11994 *) ac_try_echo=$ac_try;;
11995 esac
11996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11998 ac_status=$?
11999 grep -v '^ *+' conftest.er1 >conftest.err
12000 rm -f conftest.er1
12001 cat conftest.err >&5
12002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12003 (exit $ac_status); } >/dev/null && {
12004 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12005 test ! -s conftest.err
12006 }; then
12007 ac_header_preproc=yes
12008 else
12009 echo "$as_me: failed program was:" >&5
12010 sed 's/^/| /' conftest.$ac_ext >&5
12012 ac_header_preproc=no
12015 rm -f conftest.err conftest.$ac_ext
12016 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12017 echo "${ECHO_T}$ac_header_preproc" >&6; }
12019 # So? What about this header?
12020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12021 yes:no: )
12022 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12025 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12026 ac_header_preproc=yes
12028 no:yes:* )
12029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12033 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12034 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12035 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12036 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12039 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12040 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12041 ( cat <<\_ASBOX
12042 ## ------------------------------------ ##
12043 ## Report this to wine-devel@winehq.org ##
12044 ## ------------------------------------ ##
12045 _ASBOX
12046 ) | sed "s/^/$as_me: WARNING: /" >&2
12048 esac
12049 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12051 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 else
12054 eval "$as_ac_Header=\$ac_header_preproc"
12056 ac_res=`eval echo '${'$as_ac_Header'}'`
12057 { echo "$as_me:$LINENO: result: $ac_res" >&5
12058 echo "${ECHO_T}$ac_res" >&6; }
12061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12062 cat >>confdefs.h <<_ACEOF
12063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12064 _ACEOF
12068 done
12070 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12071 then
12072 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12073 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12074 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 else
12077 ac_check_lib_save_LIBS=$LIBS
12078 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12079 cat >conftest.$ac_ext <<_ACEOF
12080 /* confdefs.h. */
12081 _ACEOF
12082 cat confdefs.h >>conftest.$ac_ext
12083 cat >>conftest.$ac_ext <<_ACEOF
12084 /* end confdefs.h. */
12086 /* Override any GCC internal prototype to avoid an error.
12087 Use char because int might match the return type of a GCC
12088 builtin and then its argument prototype would still apply. */
12089 #ifdef __cplusplus
12090 extern "C"
12091 #endif
12092 char dbus_connection_close ();
12094 main ()
12096 return dbus_connection_close ();
12098 return 0;
12100 _ACEOF
12101 rm -f conftest.$ac_objext conftest$ac_exeext
12102 if { (ac_try="$ac_link"
12103 case "(($ac_try" in
12104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12105 *) ac_try_echo=$ac_try;;
12106 esac
12107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12108 (eval "$ac_link") 2>conftest.er1
12109 ac_status=$?
12110 grep -v '^ *+' conftest.er1 >conftest.err
12111 rm -f conftest.er1
12112 cat conftest.err >&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); } && {
12115 test -z "$ac_c_werror_flag" ||
12116 test ! -s conftest.err
12117 } && test -s conftest$ac_exeext &&
12118 $as_test_x conftest$ac_exeext; then
12119 ac_cv_lib_dbus_1_dbus_connection_close=yes
12120 else
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.$ac_ext >&5
12124 ac_cv_lib_dbus_1_dbus_connection_close=no
12127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12128 conftest$ac_exeext conftest.$ac_ext
12129 LIBS=$ac_check_lib_save_LIBS
12131 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12132 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12133 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12134 { echo "$as_me:$LINENO: checking for -lhal" >&5
12135 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12136 if test "${ac_cv_lib_soname_hal+set}" = set; then
12137 echo $ECHO_N "(cached) $ECHO_C" >&6
12138 else
12139 ac_check_soname_save_LIBS=$LIBS
12140 LIBS="-lhal $ac_hal_libs $LIBS"
12141 cat >conftest.$ac_ext <<_ACEOF
12142 /* confdefs.h. */
12143 _ACEOF
12144 cat confdefs.h >>conftest.$ac_ext
12145 cat >>conftest.$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 #ifdef __cplusplus
12152 extern "C"
12153 #endif
12154 char libhal_ctx_new ();
12156 main ()
12158 return libhal_ctx_new ();
12160 return 0;
12162 _ACEOF
12163 rm -f conftest.$ac_objext conftest$ac_exeext
12164 if { (ac_try="$ac_link"
12165 case "(($ac_try" in
12166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12167 *) ac_try_echo=$ac_try;;
12168 esac
12169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12170 (eval "$ac_link") 2>conftest.er1
12171 ac_status=$?
12172 grep -v '^ *+' conftest.er1 >conftest.err
12173 rm -f conftest.er1
12174 cat conftest.err >&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } && {
12177 test -z "$ac_c_werror_flag" ||
12178 test ! -s conftest.err
12179 } && test -s conftest$ac_exeext &&
12180 $as_test_x conftest$ac_exeext; then
12181 case "$LIBEXT" in
12182 dll) ;;
12183 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'` ;;
12184 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12185 esac
12186 else
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.$ac_ext >&5
12193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_soname_save_LIBS
12197 if test "x$ac_cv_lib_soname_hal" = "x"; then
12198 { echo "$as_me:$LINENO: result: not found" >&5
12199 echo "${ECHO_T}not found" >&6; }
12201 else
12202 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12203 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12205 cat >>confdefs.h <<_ACEOF
12206 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12207 _ACEOF
12209 HALINCL="$ac_hal_cflags"
12215 CPPFLAGS="$ac_save_CPPFLAGS"
12217 if test "x$ac_cv_lib_soname_hal" = "x"; then
12218 case "x$with_hal" in
12219 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12220 xno) ;;
12221 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12222 This is an error since --with-hal was requested." >&5
12223 echo "$as_me: error: libhal development files not found, no dynamic device support.
12224 This is an error since --with-hal was requested." >&2;}
12225 { (exit 1); exit 1; }; } ;;
12226 esac
12230 CURSESLIBS=""
12231 if test "$ac_cv_header_ncurses_h" = "yes"
12232 then
12233 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12234 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12235 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 else
12238 ac_check_soname_save_LIBS=$LIBS
12239 LIBS="-lncurses $LIBS"
12240 cat >conftest.$ac_ext <<_ACEOF
12241 /* confdefs.h. */
12242 _ACEOF
12243 cat confdefs.h >>conftest.$ac_ext
12244 cat >>conftest.$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12247 /* Override any GCC internal prototype to avoid an error.
12248 Use char because int might match the return type of a GCC
12249 builtin and then its argument prototype would still apply. */
12250 #ifdef __cplusplus
12251 extern "C"
12252 #endif
12253 char waddch ();
12255 main ()
12257 return waddch ();
12259 return 0;
12261 _ACEOF
12262 rm -f conftest.$ac_objext conftest$ac_exeext
12263 if { (ac_try="$ac_link"
12264 case "(($ac_try" in
12265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12266 *) ac_try_echo=$ac_try;;
12267 esac
12268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12269 (eval "$ac_link") 2>conftest.er1
12270 ac_status=$?
12271 grep -v '^ *+' conftest.er1 >conftest.err
12272 rm -f conftest.er1
12273 cat conftest.err >&5
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); } && {
12276 test -z "$ac_c_werror_flag" ||
12277 test ! -s conftest.err
12278 } && test -s conftest$ac_exeext &&
12279 $as_test_x conftest$ac_exeext; then
12280 case "$LIBEXT" in
12281 dll) ;;
12282 dylib) ac_cv_lib_soname_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'` ;;
12283 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12284 esac
12285 else
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5
12292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_soname_save_LIBS
12296 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12297 { echo "$as_me:$LINENO: result: not found" >&5
12298 echo "${ECHO_T}not found" >&6; }
12300 else
12301 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12302 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12304 cat >>confdefs.h <<_ACEOF
12305 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12306 _ACEOF
12308 CURSESLIBS="-lncurses"
12311 elif test "$ac_cv_header_curses_h" = "yes"
12312 then
12313 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12314 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12315 if test "${ac_cv_lib_soname_curses+set}" = set; then
12316 echo $ECHO_N "(cached) $ECHO_C" >&6
12317 else
12318 ac_check_soname_save_LIBS=$LIBS
12319 LIBS="-lcurses $LIBS"
12320 cat >conftest.$ac_ext <<_ACEOF
12321 /* confdefs.h. */
12322 _ACEOF
12323 cat confdefs.h >>conftest.$ac_ext
12324 cat >>conftest.$ac_ext <<_ACEOF
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 #ifdef __cplusplus
12331 extern "C"
12332 #endif
12333 char waddch ();
12335 main ()
12337 return waddch ();
12339 return 0;
12341 _ACEOF
12342 rm -f conftest.$ac_objext conftest$ac_exeext
12343 if { (ac_try="$ac_link"
12344 case "(($ac_try" in
12345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12346 *) ac_try_echo=$ac_try;;
12347 esac
12348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12349 (eval "$ac_link") 2>conftest.er1
12350 ac_status=$?
12351 grep -v '^ *+' conftest.er1 >conftest.err
12352 rm -f conftest.er1
12353 cat conftest.err >&5
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); } && {
12356 test -z "$ac_c_werror_flag" ||
12357 test ! -s conftest.err
12358 } && test -s conftest$ac_exeext &&
12359 $as_test_x conftest$ac_exeext; then
12360 case "$LIBEXT" in
12361 dll) ;;
12362 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'` ;;
12363 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12364 esac
12365 else
12366 echo "$as_me: failed program was:" >&5
12367 sed 's/^/| /' conftest.$ac_ext >&5
12372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12373 conftest$ac_exeext conftest.$ac_ext
12374 LIBS=$ac_check_soname_save_LIBS
12376 if test "x$ac_cv_lib_soname_curses" = "x"; then
12377 { echo "$as_me:$LINENO: result: not found" >&5
12378 echo "${ECHO_T}not found" >&6; }
12380 else
12381 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12382 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12384 cat >>confdefs.h <<_ACEOF
12385 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12386 _ACEOF
12388 CURSESLIBS="-lcurses"
12392 ac_save_LIBS="$LIBS"
12393 LIBS="$LIBS $CURSESLIBS"
12395 for ac_func in mousemask
12397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12398 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12400 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12401 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 else
12403 cat >conftest.$ac_ext <<_ACEOF
12404 /* confdefs.h. */
12405 _ACEOF
12406 cat confdefs.h >>conftest.$ac_ext
12407 cat >>conftest.$ac_ext <<_ACEOF
12408 /* end confdefs.h. */
12409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12411 #define $ac_func innocuous_$ac_func
12413 /* System header to define __stub macros and hopefully few prototypes,
12414 which can conflict with char $ac_func (); below.
12415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12416 <limits.h> exists even on freestanding compilers. */
12418 #ifdef __STDC__
12419 # include <limits.h>
12420 #else
12421 # include <assert.h>
12422 #endif
12424 #undef $ac_func
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 #ifdef __cplusplus
12430 extern "C"
12431 #endif
12432 char $ac_func ();
12433 /* The GNU C library defines this for functions which it implements
12434 to always fail with ENOSYS. Some functions are actually named
12435 something starting with __ and the normal name is an alias. */
12436 #if defined __stub_$ac_func || defined __stub___$ac_func
12437 choke me
12438 #endif
12441 main ()
12443 return $ac_func ();
12445 return 0;
12447 _ACEOF
12448 rm -f conftest.$ac_objext conftest$ac_exeext
12449 if { (ac_try="$ac_link"
12450 case "(($ac_try" in
12451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12452 *) ac_try_echo=$ac_try;;
12453 esac
12454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12455 (eval "$ac_link") 2>conftest.er1
12456 ac_status=$?
12457 grep -v '^ *+' conftest.er1 >conftest.err
12458 rm -f conftest.er1
12459 cat conftest.err >&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); } && {
12462 test -z "$ac_c_werror_flag" ||
12463 test ! -s conftest.err
12464 } && test -s conftest$ac_exeext &&
12465 $as_test_x conftest$ac_exeext; then
12466 eval "$as_ac_var=yes"
12467 else
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.$ac_ext >&5
12471 eval "$as_ac_var=no"
12474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12475 conftest$ac_exeext conftest.$ac_ext
12477 ac_res=`eval echo '${'$as_ac_var'}'`
12478 { echo "$as_me:$LINENO: result: $ac_res" >&5
12479 echo "${ECHO_T}$ac_res" >&6; }
12480 if test `eval echo '${'$as_ac_var'}'` = yes; then
12481 cat >>confdefs.h <<_ACEOF
12482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12483 _ACEOF
12486 done
12488 LIBS="$ac_save_LIBS"
12489 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12490 case "x$with_curses" in
12491 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12492 xno) ;;
12493 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12494 This is an error since --with-curses was requested." >&5
12495 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12496 This is an error since --with-curses was requested." >&2;}
12497 { (exit 1); exit 1; }; } ;;
12498 esac
12502 # Extract the first word of "sane-config", so it can be a program name with args.
12503 set dummy sane-config; ac_word=$2
12504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12506 if test "${ac_cv_prog_sane_devel+set}" = set; then
12507 echo $ECHO_N "(cached) $ECHO_C" >&6
12508 else
12509 if test -n "$sane_devel"; then
12510 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12511 else
12512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12513 for as_dir in $PATH
12515 IFS=$as_save_IFS
12516 test -z "$as_dir" && as_dir=.
12517 for ac_exec_ext in '' $ac_executable_extensions; do
12518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12519 ac_cv_prog_sane_devel="sane-config"
12520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12521 break 2
12523 done
12524 done
12525 IFS=$as_save_IFS
12527 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12530 sane_devel=$ac_cv_prog_sane_devel
12531 if test -n "$sane_devel"; then
12532 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12533 echo "${ECHO_T}$sane_devel" >&6; }
12534 else
12535 { echo "$as_me:$LINENO: result: no" >&5
12536 echo "${ECHO_T}no" >&6; }
12540 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12541 then
12542 ac_sane_incl="`$sane_devel --cflags`"
12543 ac_save_CPPFLAGS="$CPPFLAGS"
12544 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12545 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12546 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12547 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12548 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12549 echo $ECHO_N "(cached) $ECHO_C" >&6
12551 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12552 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12553 else
12554 # Is the header compilable?
12555 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12556 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12557 cat >conftest.$ac_ext <<_ACEOF
12558 /* confdefs.h. */
12559 _ACEOF
12560 cat confdefs.h >>conftest.$ac_ext
12561 cat >>conftest.$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12563 $ac_includes_default
12564 #include <sane/sane.h>
12565 _ACEOF
12566 rm -f conftest.$ac_objext
12567 if { (ac_try="$ac_compile"
12568 case "(($ac_try" in
12569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12570 *) ac_try_echo=$ac_try;;
12571 esac
12572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12573 (eval "$ac_compile") 2>conftest.er1
12574 ac_status=$?
12575 grep -v '^ *+' conftest.er1 >conftest.err
12576 rm -f conftest.er1
12577 cat conftest.err >&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); } && {
12580 test -z "$ac_c_werror_flag" ||
12581 test ! -s conftest.err
12582 } && test -s conftest.$ac_objext; then
12583 ac_header_compiler=yes
12584 else
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.$ac_ext >&5
12588 ac_header_compiler=no
12591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12592 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12593 echo "${ECHO_T}$ac_header_compiler" >&6; }
12595 # Is the header present?
12596 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12597 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12598 cat >conftest.$ac_ext <<_ACEOF
12599 /* confdefs.h. */
12600 _ACEOF
12601 cat confdefs.h >>conftest.$ac_ext
12602 cat >>conftest.$ac_ext <<_ACEOF
12603 /* end confdefs.h. */
12604 #include <sane/sane.h>
12605 _ACEOF
12606 if { (ac_try="$ac_cpp conftest.$ac_ext"
12607 case "(($ac_try" in
12608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12609 *) ac_try_echo=$ac_try;;
12610 esac
12611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12613 ac_status=$?
12614 grep -v '^ *+' conftest.er1 >conftest.err
12615 rm -f conftest.er1
12616 cat conftest.err >&5
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } >/dev/null && {
12619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12620 test ! -s conftest.err
12621 }; then
12622 ac_header_preproc=yes
12623 else
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12627 ac_header_preproc=no
12630 rm -f conftest.err conftest.$ac_ext
12631 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12632 echo "${ECHO_T}$ac_header_preproc" >&6; }
12634 # So? What about this header?
12635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12636 yes:no: )
12637 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12638 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12639 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12640 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12641 ac_header_preproc=yes
12643 no:yes:* )
12644 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12645 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12646 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12647 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12648 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12649 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12650 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12651 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12652 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12653 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12654 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12655 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12656 ( cat <<\_ASBOX
12657 ## ------------------------------------ ##
12658 ## Report this to wine-devel@winehq.org ##
12659 ## ------------------------------------ ##
12660 _ASBOX
12661 ) | sed "s/^/$as_me: WARNING: /" >&2
12663 esac
12664 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12665 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12666 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12667 echo $ECHO_N "(cached) $ECHO_C" >&6
12668 else
12669 ac_cv_header_sane_sane_h=$ac_header_preproc
12671 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12672 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12675 if test $ac_cv_header_sane_sane_h = yes; then
12676 { echo "$as_me:$LINENO: checking for -lsane" >&5
12677 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12678 if test "${ac_cv_lib_soname_sane+set}" = set; then
12679 echo $ECHO_N "(cached) $ECHO_C" >&6
12680 else
12681 ac_check_soname_save_LIBS=$LIBS
12682 LIBS="-lsane $LIBS"
12683 cat >conftest.$ac_ext <<_ACEOF
12684 /* confdefs.h. */
12685 _ACEOF
12686 cat confdefs.h >>conftest.$ac_ext
12687 cat >>conftest.$ac_ext <<_ACEOF
12688 /* end confdefs.h. */
12690 /* Override any GCC internal prototype to avoid an error.
12691 Use char because int might match the return type of a GCC
12692 builtin and then its argument prototype would still apply. */
12693 #ifdef __cplusplus
12694 extern "C"
12695 #endif
12696 char sane_init ();
12698 main ()
12700 return sane_init ();
12702 return 0;
12704 _ACEOF
12705 rm -f conftest.$ac_objext conftest$ac_exeext
12706 if { (ac_try="$ac_link"
12707 case "(($ac_try" in
12708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12709 *) ac_try_echo=$ac_try;;
12710 esac
12711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12712 (eval "$ac_link") 2>conftest.er1
12713 ac_status=$?
12714 grep -v '^ *+' conftest.er1 >conftest.err
12715 rm -f conftest.er1
12716 cat conftest.err >&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } && {
12719 test -z "$ac_c_werror_flag" ||
12720 test ! -s conftest.err
12721 } && test -s conftest$ac_exeext &&
12722 $as_test_x conftest$ac_exeext; then
12723 case "$LIBEXT" in
12724 dll) ;;
12725 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'` ;;
12726 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12727 esac
12728 else
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.$ac_ext >&5
12735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12736 conftest$ac_exeext conftest.$ac_ext
12737 LIBS=$ac_check_soname_save_LIBS
12739 if test "x$ac_cv_lib_soname_sane" = "x"; then
12740 { echo "$as_me:$LINENO: result: not found" >&5
12741 echo "${ECHO_T}not found" >&6; }
12743 else
12744 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12745 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12747 cat >>confdefs.h <<_ACEOF
12748 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12749 _ACEOF
12751 SANEINCL="$ac_sane_incl"
12758 CPPFLAGS="$ac_save_CPPFLAGS"
12760 if test "x$ac_cv_lib_soname_sane" = "x"; then
12761 case "x$with_sane" in
12762 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12763 xno) ;;
12764 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12765 This is an error since --with-sane was requested." >&5
12766 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12767 This is an error since --with-sane was requested." >&2;}
12768 { (exit 1); exit 1; }; } ;;
12769 esac
12773 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12774 set dummy gphoto2-config; ac_word=$2
12775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12777 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 else
12780 if test -n "$gphoto2_devel"; then
12781 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12782 else
12783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12784 for as_dir in $PATH
12786 IFS=$as_save_IFS
12787 test -z "$as_dir" && as_dir=.
12788 for ac_exec_ext in '' $ac_executable_extensions; do
12789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790 ac_cv_prog_gphoto2_devel="gphoto2-config"
12791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12792 break 2
12794 done
12795 done
12796 IFS=$as_save_IFS
12798 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12801 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12802 if test -n "$gphoto2_devel"; then
12803 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12804 echo "${ECHO_T}$gphoto2_devel" >&6; }
12805 else
12806 { echo "$as_me:$LINENO: result: no" >&5
12807 echo "${ECHO_T}no" >&6; }
12811 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12812 set dummy gphoto2-port-config; ac_word=$2
12813 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12815 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12816 echo $ECHO_N "(cached) $ECHO_C" >&6
12817 else
12818 if test -n "$gphoto2port_devel"; then
12819 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12820 else
12821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12822 for as_dir in $PATH
12824 IFS=$as_save_IFS
12825 test -z "$as_dir" && as_dir=.
12826 for ac_exec_ext in '' $ac_executable_extensions; do
12827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12828 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12830 break 2
12832 done
12833 done
12834 IFS=$as_save_IFS
12836 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12839 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12840 if test -n "$gphoto2port_devel"; then
12841 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12842 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12843 else
12844 { echo "$as_me:$LINENO: result: no" >&5
12845 echo "${ECHO_T}no" >&6; }
12849 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
12850 then
12851 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12852 ac_gphoto2_libs=""
12853 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12855 case "$i" in
12856 -L/usr/lib|-L/usr/lib64) ;;
12857 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
12858 esac
12859 done
12860 ac_save_CPPFLAGS="$CPPFLAGS"
12861 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
12862 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12863 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12864 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12865 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12868 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12869 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12870 else
12871 # Is the header compilable?
12872 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12873 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12874 cat >conftest.$ac_ext <<_ACEOF
12875 /* confdefs.h. */
12876 _ACEOF
12877 cat confdefs.h >>conftest.$ac_ext
12878 cat >>conftest.$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12880 $ac_includes_default
12881 #include <gphoto2-camera.h>
12882 _ACEOF
12883 rm -f conftest.$ac_objext
12884 if { (ac_try="$ac_compile"
12885 case "(($ac_try" in
12886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12887 *) ac_try_echo=$ac_try;;
12888 esac
12889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12890 (eval "$ac_compile") 2>conftest.er1
12891 ac_status=$?
12892 grep -v '^ *+' conftest.er1 >conftest.err
12893 rm -f conftest.er1
12894 cat conftest.err >&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); } && {
12897 test -z "$ac_c_werror_flag" ||
12898 test ! -s conftest.err
12899 } && test -s conftest.$ac_objext; then
12900 ac_header_compiler=yes
12901 else
12902 echo "$as_me: failed program was:" >&5
12903 sed 's/^/| /' conftest.$ac_ext >&5
12905 ac_header_compiler=no
12908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12909 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12910 echo "${ECHO_T}$ac_header_compiler" >&6; }
12912 # Is the header present?
12913 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12914 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12915 cat >conftest.$ac_ext <<_ACEOF
12916 /* confdefs.h. */
12917 _ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 #include <gphoto2-camera.h>
12922 _ACEOF
12923 if { (ac_try="$ac_cpp conftest.$ac_ext"
12924 case "(($ac_try" in
12925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12926 *) ac_try_echo=$ac_try;;
12927 esac
12928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12930 ac_status=$?
12931 grep -v '^ *+' conftest.er1 >conftest.err
12932 rm -f conftest.er1
12933 cat conftest.err >&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } >/dev/null && {
12936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12937 test ! -s conftest.err
12938 }; then
12939 ac_header_preproc=yes
12940 else
12941 echo "$as_me: failed program was:" >&5
12942 sed 's/^/| /' conftest.$ac_ext >&5
12944 ac_header_preproc=no
12947 rm -f conftest.err conftest.$ac_ext
12948 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12949 echo "${ECHO_T}$ac_header_preproc" >&6; }
12951 # So? What about this header?
12952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12953 yes:no: )
12954 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12955 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12956 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12957 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12958 ac_header_preproc=yes
12960 no:yes:* )
12961 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12962 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12963 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12964 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12965 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12966 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12967 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12968 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12969 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12970 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12971 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12972 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12973 ( cat <<\_ASBOX
12974 ## ------------------------------------ ##
12975 ## Report this to wine-devel@winehq.org ##
12976 ## ------------------------------------ ##
12977 _ASBOX
12978 ) | sed "s/^/$as_me: WARNING: /" >&2
12980 esac
12981 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12982 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12983 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12984 echo $ECHO_N "(cached) $ECHO_C" >&6
12985 else
12986 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12988 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12989 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12992 if test $ac_cv_header_gphoto2_camera_h = yes; then
12993 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12994 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12995 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12996 echo $ECHO_N "(cached) $ECHO_C" >&6
12997 else
12998 ac_check_lib_save_LIBS=$LIBS
12999 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13000 cat >conftest.$ac_ext <<_ACEOF
13001 /* confdefs.h. */
13002 _ACEOF
13003 cat confdefs.h >>conftest.$ac_ext
13004 cat >>conftest.$ac_ext <<_ACEOF
13005 /* end confdefs.h. */
13007 /* Override any GCC internal prototype to avoid an error.
13008 Use char because int might match the return type of a GCC
13009 builtin and then its argument prototype would still apply. */
13010 #ifdef __cplusplus
13011 extern "C"
13012 #endif
13013 char gp_camera_new ();
13015 main ()
13017 return gp_camera_new ();
13019 return 0;
13021 _ACEOF
13022 rm -f conftest.$ac_objext conftest$ac_exeext
13023 if { (ac_try="$ac_link"
13024 case "(($ac_try" in
13025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13026 *) ac_try_echo=$ac_try;;
13027 esac
13028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13029 (eval "$ac_link") 2>conftest.er1
13030 ac_status=$?
13031 grep -v '^ *+' conftest.er1 >conftest.err
13032 rm -f conftest.er1
13033 cat conftest.err >&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); } && {
13036 test -z "$ac_c_werror_flag" ||
13037 test ! -s conftest.err
13038 } && test -s conftest$ac_exeext &&
13039 $as_test_x conftest$ac_exeext; then
13040 ac_cv_lib_gphoto2_gp_camera_new=yes
13041 else
13042 echo "$as_me: failed program was:" >&5
13043 sed 's/^/| /' conftest.$ac_ext >&5
13045 ac_cv_lib_gphoto2_gp_camera_new=no
13048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13049 conftest$ac_exeext conftest.$ac_ext
13050 LIBS=$ac_check_lib_save_LIBS
13052 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13053 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13054 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13056 cat >>confdefs.h <<\_ACEOF
13057 #define HAVE_GPHOTO2 1
13058 _ACEOF
13060 GPHOTO2LIBS="$ac_gphoto2_libs"
13062 GPHOTO2INCL="$ac_gphoto2_incl"
13069 CPPFLAGS="$ac_save_CPPFLAGS"
13071 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13072 case "x$with_gphoto" in
13073 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13074 xno) ;;
13075 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13076 This is an error since --with-gphoto was requested." >&5
13077 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13078 This is an error since --with-gphoto was requested." >&2;}
13079 { (exit 1); exit 1; }; } ;;
13080 esac
13085 RESOLVLIBS=""
13087 if test "$ac_cv_header_resolv_h" = "yes"
13088 then
13089 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13090 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13091 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 else
13094 ac_check_lib_save_LIBS=$LIBS
13095 LIBS="-lresolv $LIBS"
13096 cat >conftest.$ac_ext <<_ACEOF
13097 /* confdefs.h. */
13098 _ACEOF
13099 cat confdefs.h >>conftest.$ac_ext
13100 cat >>conftest.$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13103 /* Override any GCC internal prototype to avoid an error.
13104 Use char because int might match the return type of a GCC
13105 builtin and then its argument prototype would still apply. */
13106 #ifdef __cplusplus
13107 extern "C"
13108 #endif
13109 char res_query ();
13111 main ()
13113 return res_query ();
13115 return 0;
13117 _ACEOF
13118 rm -f conftest.$ac_objext conftest$ac_exeext
13119 if { (ac_try="$ac_link"
13120 case "(($ac_try" in
13121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13122 *) ac_try_echo=$ac_try;;
13123 esac
13124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13125 (eval "$ac_link") 2>conftest.er1
13126 ac_status=$?
13127 grep -v '^ *+' conftest.er1 >conftest.err
13128 rm -f conftest.er1
13129 cat conftest.err >&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); } && {
13132 test -z "$ac_c_werror_flag" ||
13133 test ! -s conftest.err
13134 } && test -s conftest$ac_exeext &&
13135 $as_test_x conftest$ac_exeext; then
13136 ac_cv_lib_resolv_res_query=yes
13137 else
13138 echo "$as_me: failed program was:" >&5
13139 sed 's/^/| /' conftest.$ac_ext >&5
13141 ac_cv_lib_resolv_res_query=no
13144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13145 conftest$ac_exeext conftest.$ac_ext
13146 LIBS=$ac_check_lib_save_LIBS
13148 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13149 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13150 if test $ac_cv_lib_resolv_res_query = yes; then
13152 cat >>confdefs.h <<\_ACEOF
13153 #define HAVE_RESOLV 1
13154 _ACEOF
13156 RESOLVLIBS="-lresolv"
13161 LCMSLIBS=""
13163 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13164 then
13165 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13166 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13167 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13169 else
13170 ac_check_lib_save_LIBS=$LIBS
13171 LIBS="-llcms $LIBS"
13172 cat >conftest.$ac_ext <<_ACEOF
13173 /* confdefs.h. */
13174 _ACEOF
13175 cat confdefs.h >>conftest.$ac_ext
13176 cat >>conftest.$ac_ext <<_ACEOF
13177 /* end confdefs.h. */
13179 /* Override any GCC internal prototype to avoid an error.
13180 Use char because int might match the return type of a GCC
13181 builtin and then its argument prototype would still apply. */
13182 #ifdef __cplusplus
13183 extern "C"
13184 #endif
13185 char cmsOpenProfileFromFile ();
13187 main ()
13189 return cmsOpenProfileFromFile ();
13191 return 0;
13193 _ACEOF
13194 rm -f conftest.$ac_objext conftest$ac_exeext
13195 if { (ac_try="$ac_link"
13196 case "(($ac_try" in
13197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13198 *) ac_try_echo=$ac_try;;
13199 esac
13200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13201 (eval "$ac_link") 2>conftest.er1
13202 ac_status=$?
13203 grep -v '^ *+' conftest.er1 >conftest.err
13204 rm -f conftest.er1
13205 cat conftest.err >&5
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); } && {
13208 test -z "$ac_c_werror_flag" ||
13209 test ! -s conftest.err
13210 } && test -s conftest$ac_exeext &&
13211 $as_test_x conftest$ac_exeext; then
13212 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13213 else
13214 echo "$as_me: failed program was:" >&5
13215 sed 's/^/| /' conftest.$ac_ext >&5
13217 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13221 conftest$ac_exeext conftest.$ac_ext
13222 LIBS=$ac_check_lib_save_LIBS
13224 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13225 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13226 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13228 cat >>confdefs.h <<\_ACEOF
13229 #define HAVE_LCMS 1
13230 _ACEOF
13232 LCMSLIBS="-llcms"
13236 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13237 case "x$with_cms" in
13238 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13239 xno) ;;
13240 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13241 This is an error since --with-cms was requested." >&5
13242 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13243 This is an error since --with-cms was requested." >&2;}
13244 { (exit 1); exit 1; }; } ;;
13245 esac
13249 LDAPLIBS=""
13251 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13252 then
13253 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13254 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13255 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13256 echo $ECHO_N "(cached) $ECHO_C" >&6
13257 else
13258 ac_check_lib_save_LIBS=$LIBS
13259 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13260 cat >conftest.$ac_ext <<_ACEOF
13261 /* confdefs.h. */
13262 _ACEOF
13263 cat confdefs.h >>conftest.$ac_ext
13264 cat >>conftest.$ac_ext <<_ACEOF
13265 /* end confdefs.h. */
13267 /* Override any GCC internal prototype to avoid an error.
13268 Use char because int might match the return type of a GCC
13269 builtin and then its argument prototype would still apply. */
13270 #ifdef __cplusplus
13271 extern "C"
13272 #endif
13273 char ldap_initialize ();
13275 main ()
13277 return ldap_initialize ();
13279 return 0;
13281 _ACEOF
13282 rm -f conftest.$ac_objext conftest$ac_exeext
13283 if { (ac_try="$ac_link"
13284 case "(($ac_try" in
13285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13286 *) ac_try_echo=$ac_try;;
13287 esac
13288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13289 (eval "$ac_link") 2>conftest.er1
13290 ac_status=$?
13291 grep -v '^ *+' conftest.er1 >conftest.err
13292 rm -f conftest.er1
13293 cat conftest.err >&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); } && {
13296 test -z "$ac_c_werror_flag" ||
13297 test ! -s conftest.err
13298 } && test -s conftest$ac_exeext &&
13299 $as_test_x conftest$ac_exeext; then
13300 ac_cv_lib_ldap_r_ldap_initialize=yes
13301 else
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.$ac_ext >&5
13305 ac_cv_lib_ldap_r_ldap_initialize=no
13308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13309 conftest$ac_exeext conftest.$ac_ext
13310 LIBS=$ac_check_lib_save_LIBS
13312 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13313 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13314 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13315 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13316 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13317 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13318 echo $ECHO_N "(cached) $ECHO_C" >&6
13319 else
13320 ac_check_lib_save_LIBS=$LIBS
13321 LIBS="-llber $LIBPTHREAD $LIBS"
13322 cat >conftest.$ac_ext <<_ACEOF
13323 /* confdefs.h. */
13324 _ACEOF
13325 cat confdefs.h >>conftest.$ac_ext
13326 cat >>conftest.$ac_ext <<_ACEOF
13327 /* end confdefs.h. */
13329 /* Override any GCC internal prototype to avoid an error.
13330 Use char because int might match the return type of a GCC
13331 builtin and then its argument prototype would still apply. */
13332 #ifdef __cplusplus
13333 extern "C"
13334 #endif
13335 char ber_init ();
13337 main ()
13339 return ber_init ();
13341 return 0;
13343 _ACEOF
13344 rm -f conftest.$ac_objext conftest$ac_exeext
13345 if { (ac_try="$ac_link"
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_link") 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); } && {
13358 test -z "$ac_c_werror_flag" ||
13359 test ! -s conftest.err
13360 } && test -s conftest$ac_exeext &&
13361 $as_test_x conftest$ac_exeext; then
13362 ac_cv_lib_lber_ber_init=yes
13363 else
13364 echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.$ac_ext >&5
13367 ac_cv_lib_lber_ber_init=no
13370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13371 conftest$ac_exeext conftest.$ac_ext
13372 LIBS=$ac_check_lib_save_LIBS
13374 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13375 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13376 if test $ac_cv_lib_lber_ber_init = yes; then
13378 cat >>confdefs.h <<\_ACEOF
13379 #define HAVE_LDAP 1
13380 _ACEOF
13382 LDAPLIBS="-lldap_r -llber"
13387 ac_wine_check_funcs_save_LIBS="$LIBS"
13388 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13397 for ac_func in \
13398 ldap_count_references \
13399 ldap_first_reference \
13400 ldap_next_reference \
13401 ldap_parse_reference \
13402 ldap_parse_sort_control \
13403 ldap_parse_sortresponse_control \
13404 ldap_parse_vlv_control \
13405 ldap_parse_vlvresponse_control
13407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13408 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 else
13413 cat >conftest.$ac_ext <<_ACEOF
13414 /* confdefs.h. */
13415 _ACEOF
13416 cat confdefs.h >>conftest.$ac_ext
13417 cat >>conftest.$ac_ext <<_ACEOF
13418 /* end confdefs.h. */
13419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13421 #define $ac_func innocuous_$ac_func
13423 /* System header to define __stub macros and hopefully few prototypes,
13424 which can conflict with char $ac_func (); below.
13425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13426 <limits.h> exists even on freestanding compilers. */
13428 #ifdef __STDC__
13429 # include <limits.h>
13430 #else
13431 # include <assert.h>
13432 #endif
13434 #undef $ac_func
13436 /* Override any GCC internal prototype to avoid an error.
13437 Use char because int might match the return type of a GCC
13438 builtin and then its argument prototype would still apply. */
13439 #ifdef __cplusplus
13440 extern "C"
13441 #endif
13442 char $ac_func ();
13443 /* The GNU C library defines this for functions which it implements
13444 to always fail with ENOSYS. Some functions are actually named
13445 something starting with __ and the normal name is an alias. */
13446 #if defined __stub_$ac_func || defined __stub___$ac_func
13447 choke me
13448 #endif
13451 main ()
13453 return $ac_func ();
13455 return 0;
13457 _ACEOF
13458 rm -f conftest.$ac_objext conftest$ac_exeext
13459 if { (ac_try="$ac_link"
13460 case "(($ac_try" in
13461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13462 *) ac_try_echo=$ac_try;;
13463 esac
13464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13465 (eval "$ac_link") 2>conftest.er1
13466 ac_status=$?
13467 grep -v '^ *+' conftest.er1 >conftest.err
13468 rm -f conftest.er1
13469 cat conftest.err >&5
13470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471 (exit $ac_status); } && {
13472 test -z "$ac_c_werror_flag" ||
13473 test ! -s conftest.err
13474 } && test -s conftest$ac_exeext &&
13475 $as_test_x conftest$ac_exeext; then
13476 eval "$as_ac_var=yes"
13477 else
13478 echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13481 eval "$as_ac_var=no"
13484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13485 conftest$ac_exeext conftest.$ac_ext
13487 ac_res=`eval echo '${'$as_ac_var'}'`
13488 { echo "$as_me:$LINENO: result: $ac_res" >&5
13489 echo "${ECHO_T}$ac_res" >&6; }
13490 if test `eval echo '${'$as_ac_var'}'` = yes; then
13491 cat >>confdefs.h <<_ACEOF
13492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13493 _ACEOF
13496 done
13498 LIBS="$ac_wine_check_funcs_save_LIBS"
13500 if test "x$LDAPLIBS" = "x"; then
13501 case "x$with_ldap" in
13502 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13503 xno) ;;
13504 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13505 This is an error since --with-ldap was requested." >&5
13506 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13507 This is an error since --with-ldap was requested." >&2;}
13508 { (exit 1); exit 1; }; } ;;
13509 esac
13513 for ac_prog in freetype-config freetype2-config
13515 # Extract the first word of "$ac_prog", so it can be a program name with args.
13516 set dummy $ac_prog; ac_word=$2
13517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13519 if test "${ac_cv_prog_ft_devel+set}" = set; then
13520 echo $ECHO_N "(cached) $ECHO_C" >&6
13521 else
13522 if test -n "$ft_devel"; then
13523 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13524 else
13525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13526 for as_dir in $PATH
13528 IFS=$as_save_IFS
13529 test -z "$as_dir" && as_dir=.
13530 for ac_exec_ext in '' $ac_executable_extensions; do
13531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13532 ac_cv_prog_ft_devel="$ac_prog"
13533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13534 break 2
13536 done
13537 done
13538 IFS=$as_save_IFS
13542 ft_devel=$ac_cv_prog_ft_devel
13543 if test -n "$ft_devel"; then
13544 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13545 echo "${ECHO_T}$ft_devel" >&6; }
13546 else
13547 { echo "$as_me:$LINENO: result: no" >&5
13548 echo "${ECHO_T}no" >&6; }
13552 test -n "$ft_devel" && break
13553 done
13554 test -n "$ft_devel" || ft_devel="false"
13556 if test "$ft_devel" != "false"
13557 then
13558 ac_freetype_libs=`$ft_devel --libs`
13559 ac_freetype_incl=`$ft_devel --cflags`
13560 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13561 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13562 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13563 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 else
13565 ac_check_soname_save_LIBS=$LIBS
13566 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13567 cat >conftest.$ac_ext <<_ACEOF
13568 /* confdefs.h. */
13569 _ACEOF
13570 cat confdefs.h >>conftest.$ac_ext
13571 cat >>conftest.$ac_ext <<_ACEOF
13572 /* end confdefs.h. */
13574 /* Override any GCC internal prototype to avoid an error.
13575 Use char because int might match the return type of a GCC
13576 builtin and then its argument prototype would still apply. */
13577 #ifdef __cplusplus
13578 extern "C"
13579 #endif
13580 char FT_Init_FreeType ();
13582 main ()
13584 return FT_Init_FreeType ();
13586 return 0;
13588 _ACEOF
13589 rm -f conftest.$ac_objext conftest$ac_exeext
13590 if { (ac_try="$ac_link"
13591 case "(($ac_try" in
13592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13593 *) ac_try_echo=$ac_try;;
13594 esac
13595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13596 (eval "$ac_link") 2>conftest.er1
13597 ac_status=$?
13598 grep -v '^ *+' conftest.er1 >conftest.err
13599 rm -f conftest.er1
13600 cat conftest.err >&5
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); } && {
13603 test -z "$ac_c_werror_flag" ||
13604 test ! -s conftest.err
13605 } && test -s conftest$ac_exeext &&
13606 $as_test_x conftest$ac_exeext; then
13607 case "$LIBEXT" in
13608 dll) ;;
13609 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'` ;;
13610 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13611 esac
13612 else
13613 echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.$ac_ext >&5
13619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13620 conftest$ac_exeext conftest.$ac_ext
13621 LIBS=$ac_check_soname_save_LIBS
13623 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13624 { echo "$as_me:$LINENO: result: not found" >&5
13625 echo "${ECHO_T}not found" >&6; }
13626 ft_lib=no
13627 else
13628 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13629 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13631 cat >>confdefs.h <<_ACEOF
13632 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13633 _ACEOF
13635 ft_lib=yes
13638 if test "$ft_lib" = "yes"
13639 then
13640 ac_save_CPPFLAGS="$CPPFLAGS"
13641 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13654 for ac_header in ft2build.h \
13655 freetype/freetype.h \
13656 freetype/ftglyph.h \
13657 freetype/fttypes.h \
13658 freetype/tttables.h \
13659 freetype/ftnames.h \
13660 freetype/ftsnames.h \
13661 freetype/ttnameid.h \
13662 freetype/ftoutln.h \
13663 freetype/ftwinfnt.h \
13664 freetype/ftmodapi.h \
13665 freetype/internal/sfnt.h
13667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13668 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13671 echo $ECHO_N "(cached) $ECHO_C" >&6
13672 else
13673 cat >conftest.$ac_ext <<_ACEOF
13674 /* confdefs.h. */
13675 _ACEOF
13676 cat confdefs.h >>conftest.$ac_ext
13677 cat >>conftest.$ac_ext <<_ACEOF
13678 /* end confdefs.h. */
13679 #ifdef HAVE_FT2BUILD_H
13680 # include <ft2build.h>
13681 #endif
13683 #include <$ac_header>
13684 _ACEOF
13685 rm -f conftest.$ac_objext
13686 if { (ac_try="$ac_compile"
13687 case "(($ac_try" in
13688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13689 *) ac_try_echo=$ac_try;;
13690 esac
13691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13692 (eval "$ac_compile") 2>conftest.er1
13693 ac_status=$?
13694 grep -v '^ *+' conftest.er1 >conftest.err
13695 rm -f conftest.er1
13696 cat conftest.err >&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); } && {
13699 test -z "$ac_c_werror_flag" ||
13700 test ! -s conftest.err
13701 } && test -s conftest.$ac_objext; then
13702 eval "$as_ac_Header=yes"
13703 else
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.$ac_ext >&5
13707 eval "$as_ac_Header=no"
13710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13712 ac_res=`eval echo '${'$as_ac_Header'}'`
13713 { echo "$as_me:$LINENO: result: $ac_res" >&5
13714 echo "${ECHO_T}$ac_res" >&6; }
13715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13716 cat >>confdefs.h <<_ACEOF
13717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13718 _ACEOF
13722 done
13724 cat >conftest.$ac_ext <<_ACEOF
13725 /* confdefs.h. */
13726 _ACEOF
13727 cat confdefs.h >>conftest.$ac_ext
13728 cat >>conftest.$ac_ext <<_ACEOF
13729 /* end confdefs.h. */
13730 #include <ft2build.h>
13731 #include <freetype/fttrigon.h>
13732 _ACEOF
13733 if { (ac_try="$ac_cpp conftest.$ac_ext"
13734 case "(($ac_try" in
13735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13736 *) ac_try_echo=$ac_try;;
13737 esac
13738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13740 ac_status=$?
13741 grep -v '^ *+' conftest.er1 >conftest.err
13742 rm -f conftest.er1
13743 cat conftest.err >&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } >/dev/null && {
13746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13747 test ! -s conftest.err
13748 }; then
13750 cat >>confdefs.h <<\_ACEOF
13751 #define HAVE_FREETYPE_FTTRIGON_H 1
13752 _ACEOF
13754 wine_cv_fttrigon=yes
13755 else
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13759 wine_cv_fttrigon=no
13762 rm -f conftest.err conftest.$ac_ext
13763 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13764 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13765 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13767 else
13768 cat >conftest.$ac_ext <<_ACEOF
13769 /* confdefs.h. */
13770 _ACEOF
13771 cat confdefs.h >>conftest.$ac_ext
13772 cat >>conftest.$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774 #include <freetype/ftmodapi.h>
13776 typedef FT_TrueTypeEngineType ac__type_new_;
13778 main ()
13780 if ((ac__type_new_ *) 0)
13781 return 0;
13782 if (sizeof (ac__type_new_))
13783 return 0;
13785 return 0;
13787 _ACEOF
13788 rm -f conftest.$ac_objext
13789 if { (ac_try="$ac_compile"
13790 case "(($ac_try" in
13791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13792 *) ac_try_echo=$ac_try;;
13793 esac
13794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13795 (eval "$ac_compile") 2>conftest.er1
13796 ac_status=$?
13797 grep -v '^ *+' conftest.er1 >conftest.err
13798 rm -f conftest.er1
13799 cat conftest.err >&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); } && {
13802 test -z "$ac_c_werror_flag" ||
13803 test ! -s conftest.err
13804 } && test -s conftest.$ac_objext; then
13805 ac_cv_type_FT_TrueTypeEngineType=yes
13806 else
13807 echo "$as_me: failed program was:" >&5
13808 sed 's/^/| /' conftest.$ac_ext >&5
13810 ac_cv_type_FT_TrueTypeEngineType=no
13813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13815 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13816 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13817 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13819 cat >>confdefs.h <<_ACEOF
13820 #define HAVE_FT_TRUETYPEENGINETYPE 1
13821 _ACEOF
13826 ac_save_CFLAGS="$CFLAGS"
13827 CFLAGS="$CFLAGS $ac_freetype_libs"
13829 for ac_func in FT_Load_Sfnt_Table
13831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13834 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13835 echo $ECHO_N "(cached) $ECHO_C" >&6
13836 else
13837 cat >conftest.$ac_ext <<_ACEOF
13838 /* confdefs.h. */
13839 _ACEOF
13840 cat confdefs.h >>conftest.$ac_ext
13841 cat >>conftest.$ac_ext <<_ACEOF
13842 /* end confdefs.h. */
13843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13845 #define $ac_func innocuous_$ac_func
13847 /* System header to define __stub macros and hopefully few prototypes,
13848 which can conflict with char $ac_func (); below.
13849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13850 <limits.h> exists even on freestanding compilers. */
13852 #ifdef __STDC__
13853 # include <limits.h>
13854 #else
13855 # include <assert.h>
13856 #endif
13858 #undef $ac_func
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13863 #ifdef __cplusplus
13864 extern "C"
13865 #endif
13866 char $ac_func ();
13867 /* The GNU C library defines this for functions which it implements
13868 to always fail with ENOSYS. Some functions are actually named
13869 something starting with __ and the normal name is an alias. */
13870 #if defined __stub_$ac_func || defined __stub___$ac_func
13871 choke me
13872 #endif
13875 main ()
13877 return $ac_func ();
13879 return 0;
13881 _ACEOF
13882 rm -f conftest.$ac_objext conftest$ac_exeext
13883 if { (ac_try="$ac_link"
13884 case "(($ac_try" in
13885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13886 *) ac_try_echo=$ac_try;;
13887 esac
13888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13889 (eval "$ac_link") 2>conftest.er1
13890 ac_status=$?
13891 grep -v '^ *+' conftest.er1 >conftest.err
13892 rm -f conftest.er1
13893 cat conftest.err >&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); } && {
13896 test -z "$ac_c_werror_flag" ||
13897 test ! -s conftest.err
13898 } && test -s conftest$ac_exeext &&
13899 $as_test_x conftest$ac_exeext; then
13900 eval "$as_ac_var=yes"
13901 else
13902 echo "$as_me: failed program was:" >&5
13903 sed 's/^/| /' conftest.$ac_ext >&5
13905 eval "$as_ac_var=no"
13908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13909 conftest$ac_exeext conftest.$ac_ext
13911 ac_res=`eval echo '${'$as_ac_var'}'`
13912 { echo "$as_me:$LINENO: result: $ac_res" >&5
13913 echo "${ECHO_T}$ac_res" >&6; }
13914 if test `eval echo '${'$as_ac_var'}'` = yes; then
13915 cat >>confdefs.h <<_ACEOF
13916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13917 _ACEOF
13920 done
13922 CFLAGS="$ac_save_CFLAGS"
13923 CPPFLAGS="$ac_save_CPPFLAGS"
13924 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13925 then
13927 cat >>confdefs.h <<\_ACEOF
13928 #define HAVE_FREETYPE 1
13929 _ACEOF
13931 FREETYPELIBS="$ac_freetype_libs"
13933 FREETYPEINCL="$ac_freetype_incl"
13939 if test "$FONTFORGE" = "false"
13940 then
13941 wine_warnings="$wine_warnings|FontForge is missing.
13942 Fonts will not be built. Dialog text may be invisible or unaligned."
13943 elif test "x$FREETYPELIBS" = "x"
13944 then
13945 wine_warnings="$wine_warnings|FreeType development files not found.
13946 Fonts will not be built. Dialog text may be invisible or unaligned."
13947 else
13948 FONTSSUBDIRS="fonts"
13952 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13953 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13954 if test "${ac_cv_c_ppdev+set}" = set; then
13955 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 else
13957 cat >conftest.$ac_ext <<_ACEOF
13958 /* confdefs.h. */
13959 _ACEOF
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 #include <linux/ppdev.h>
13965 main ()
13967 ioctl (1,PPCLAIM,0)
13969 return 0;
13971 _ACEOF
13972 rm -f conftest.$ac_objext
13973 if { (ac_try="$ac_compile"
13974 case "(($ac_try" in
13975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13976 *) ac_try_echo=$ac_try;;
13977 esac
13978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13979 (eval "$ac_compile") 2>conftest.er1
13980 ac_status=$?
13981 grep -v '^ *+' conftest.er1 >conftest.err
13982 rm -f conftest.er1
13983 cat conftest.err >&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); } && {
13986 test -z "$ac_c_werror_flag" ||
13987 test ! -s conftest.err
13988 } && test -s conftest.$ac_objext; then
13989 ac_cv_c_ppdev="yes"
13990 else
13991 echo "$as_me: failed program was:" >&5
13992 sed 's/^/| /' conftest.$ac_ext >&5
13994 ac_cv_c_ppdev="no"
13997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13999 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14000 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14001 if test "$ac_cv_c_ppdev" = "yes"
14002 then
14004 cat >>confdefs.h <<\_ACEOF
14005 #define HAVE_PPDEV 1
14006 _ACEOF
14010 { echo "$as_me:$LINENO: checking for va_copy" >&5
14011 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14012 if test "${ac_cv_c_va_copy+set}" = set; then
14013 echo $ECHO_N "(cached) $ECHO_C" >&6
14014 else
14015 cat >conftest.$ac_ext <<_ACEOF
14016 /* confdefs.h. */
14017 _ACEOF
14018 cat confdefs.h >>conftest.$ac_ext
14019 cat >>conftest.$ac_ext <<_ACEOF
14020 /* end confdefs.h. */
14021 #include <stdarg.h>
14023 main ()
14025 va_list ap1, ap2; va_copy(ap1,ap2);
14027 return 0;
14029 _ACEOF
14030 rm -f conftest.$ac_objext conftest$ac_exeext
14031 if { (ac_try="$ac_link"
14032 case "(($ac_try" in
14033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14034 *) ac_try_echo=$ac_try;;
14035 esac
14036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14037 (eval "$ac_link") 2>conftest.er1
14038 ac_status=$?
14039 grep -v '^ *+' conftest.er1 >conftest.err
14040 rm -f conftest.er1
14041 cat conftest.err >&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); } && {
14044 test -z "$ac_c_werror_flag" ||
14045 test ! -s conftest.err
14046 } && test -s conftest$ac_exeext &&
14047 $as_test_x conftest$ac_exeext; then
14048 ac_cv_c_va_copy="yes"
14049 else
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.$ac_ext >&5
14053 ac_cv_c_va_copy="no"
14056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14057 conftest$ac_exeext conftest.$ac_ext
14060 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14061 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14062 if test "$ac_cv_c_va_copy" = "yes"
14063 then
14065 cat >>confdefs.h <<\_ACEOF
14066 #define HAVE_VA_COPY 1
14067 _ACEOF
14070 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14071 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14072 if test "${ac_cv_c___va_copy+set}" = set; then
14073 echo $ECHO_N "(cached) $ECHO_C" >&6
14074 else
14075 cat >conftest.$ac_ext <<_ACEOF
14076 /* confdefs.h. */
14077 _ACEOF
14078 cat confdefs.h >>conftest.$ac_ext
14079 cat >>conftest.$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14081 #include <stdarg.h>
14083 main ()
14085 va_list ap1, ap2; __va_copy(ap1,ap2);
14087 return 0;
14089 _ACEOF
14090 rm -f conftest.$ac_objext conftest$ac_exeext
14091 if { (ac_try="$ac_link"
14092 case "(($ac_try" in
14093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14094 *) ac_try_echo=$ac_try;;
14095 esac
14096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14097 (eval "$ac_link") 2>conftest.er1
14098 ac_status=$?
14099 grep -v '^ *+' conftest.er1 >conftest.err
14100 rm -f conftest.er1
14101 cat conftest.err >&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); } && {
14104 test -z "$ac_c_werror_flag" ||
14105 test ! -s conftest.err
14106 } && test -s conftest$ac_exeext &&
14107 $as_test_x conftest$ac_exeext; then
14108 ac_cv_c___va_copy="yes"
14109 else
14110 echo "$as_me: failed program was:" >&5
14111 sed 's/^/| /' conftest.$ac_ext >&5
14113 ac_cv_c___va_copy="no"
14116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14117 conftest$ac_exeext conftest.$ac_ext
14120 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14121 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14122 if test "$ac_cv_c___va_copy" = "yes"
14123 then
14125 cat >>confdefs.h <<\_ACEOF
14126 #define HAVE___VA_COPY 1
14127 _ACEOF
14131 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14132 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14133 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14135 else
14136 cat >conftest.$ac_ext <<_ACEOF
14137 /* confdefs.h. */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 #include <setjmp.h>
14144 main ()
14146 sigjmp_buf buf;
14147 sigsetjmp( buf, 1 );
14148 siglongjmp( buf, 1 );
14150 return 0;
14152 _ACEOF
14153 rm -f conftest.$ac_objext conftest$ac_exeext
14154 if { (ac_try="$ac_link"
14155 case "(($ac_try" in
14156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14157 *) ac_try_echo=$ac_try;;
14158 esac
14159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14160 (eval "$ac_link") 2>conftest.er1
14161 ac_status=$?
14162 grep -v '^ *+' conftest.er1 >conftest.err
14163 rm -f conftest.er1
14164 cat conftest.err >&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } && {
14167 test -z "$ac_c_werror_flag" ||
14168 test ! -s conftest.err
14169 } && test -s conftest$ac_exeext &&
14170 $as_test_x conftest$ac_exeext; then
14171 ac_cv_c_sigsetjmp="yes"
14172 else
14173 echo "$as_me: failed program was:" >&5
14174 sed 's/^/| /' conftest.$ac_ext >&5
14176 ac_cv_c_sigsetjmp="no"
14179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14180 conftest$ac_exeext conftest.$ac_ext
14183 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14184 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14185 if test "$ac_cv_c_sigsetjmp" = "yes"
14186 then
14188 cat >>confdefs.h <<\_ACEOF
14189 #define HAVE_SIGSETJMP 1
14190 _ACEOF
14194 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14195 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14196 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 else
14199 cat >conftest.$ac_ext <<_ACEOF
14200 /* confdefs.h. */
14201 _ACEOF
14202 cat confdefs.h >>conftest.$ac_ext
14203 cat >>conftest.$ac_ext <<_ACEOF
14204 /* end confdefs.h. */
14205 #define _GNU_SOURCE
14206 #include <pthread.h>
14208 typedef pthread_rwlock_t ac__type_new_;
14210 main ()
14212 if ((ac__type_new_ *) 0)
14213 return 0;
14214 if (sizeof (ac__type_new_))
14215 return 0;
14217 return 0;
14219 _ACEOF
14220 rm -f conftest.$ac_objext
14221 if { (ac_try="$ac_compile"
14222 case "(($ac_try" in
14223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14224 *) ac_try_echo=$ac_try;;
14225 esac
14226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14227 (eval "$ac_compile") 2>conftest.er1
14228 ac_status=$?
14229 grep -v '^ *+' conftest.er1 >conftest.err
14230 rm -f conftest.er1
14231 cat conftest.err >&5
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); } && {
14234 test -z "$ac_c_werror_flag" ||
14235 test ! -s conftest.err
14236 } && test -s conftest.$ac_objext; then
14237 ac_cv_type_pthread_rwlock_t=yes
14238 else
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.$ac_ext >&5
14242 ac_cv_type_pthread_rwlock_t=no
14245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14247 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14248 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14249 if test $ac_cv_type_pthread_rwlock_t = yes; then
14251 cat >>confdefs.h <<_ACEOF
14252 #define HAVE_PTHREAD_RWLOCK_T 1
14253 _ACEOF
14257 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14258 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14259 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14260 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 else
14262 cat >conftest.$ac_ext <<_ACEOF
14263 /* confdefs.h. */
14264 _ACEOF
14265 cat confdefs.h >>conftest.$ac_ext
14266 cat >>conftest.$ac_ext <<_ACEOF
14267 /* end confdefs.h. */
14268 #define _GNU_SOURCE
14269 #include <pthread.h>
14271 typedef pthread_rwlockattr_t ac__type_new_;
14273 main ()
14275 if ((ac__type_new_ *) 0)
14276 return 0;
14277 if (sizeof (ac__type_new_))
14278 return 0;
14280 return 0;
14282 _ACEOF
14283 rm -f conftest.$ac_objext
14284 if { (ac_try="$ac_compile"
14285 case "(($ac_try" in
14286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14287 *) ac_try_echo=$ac_try;;
14288 esac
14289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14290 (eval "$ac_compile") 2>conftest.er1
14291 ac_status=$?
14292 grep -v '^ *+' conftest.er1 >conftest.err
14293 rm -f conftest.er1
14294 cat conftest.err >&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } && {
14297 test -z "$ac_c_werror_flag" ||
14298 test ! -s conftest.err
14299 } && test -s conftest.$ac_objext; then
14300 ac_cv_type_pthread_rwlockattr_t=yes
14301 else
14302 echo "$as_me: failed program was:" >&5
14303 sed 's/^/| /' conftest.$ac_ext >&5
14305 ac_cv_type_pthread_rwlockattr_t=no
14308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14310 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14311 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14312 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14314 cat >>confdefs.h <<_ACEOF
14315 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14316 _ACEOF
14322 ac_wine_check_funcs_save_LIBS="$LIBS"
14323 LIBS="$LIBS $LIBPTHREAD"
14328 for ac_func in \
14329 pthread_attr_get_np \
14330 pthread_getattr_np \
14331 pthread_get_stackaddr_np \
14332 pthread_get_stacksize_np
14334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14339 else
14340 cat >conftest.$ac_ext <<_ACEOF
14341 /* confdefs.h. */
14342 _ACEOF
14343 cat confdefs.h >>conftest.$ac_ext
14344 cat >>conftest.$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14348 #define $ac_func innocuous_$ac_func
14350 /* System header to define __stub macros and hopefully few prototypes,
14351 which can conflict with char $ac_func (); below.
14352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14353 <limits.h> exists even on freestanding compilers. */
14355 #ifdef __STDC__
14356 # include <limits.h>
14357 #else
14358 # include <assert.h>
14359 #endif
14361 #undef $ac_func
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14366 #ifdef __cplusplus
14367 extern "C"
14368 #endif
14369 char $ac_func ();
14370 /* The GNU C library defines this for functions which it implements
14371 to always fail with ENOSYS. Some functions are actually named
14372 something starting with __ and the normal name is an alias. */
14373 #if defined __stub_$ac_func || defined __stub___$ac_func
14374 choke me
14375 #endif
14378 main ()
14380 return $ac_func ();
14382 return 0;
14384 _ACEOF
14385 rm -f conftest.$ac_objext conftest$ac_exeext
14386 if { (ac_try="$ac_link"
14387 case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14390 esac
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_link") 2>conftest.er1
14393 ac_status=$?
14394 grep -v '^ *+' conftest.er1 >conftest.err
14395 rm -f conftest.er1
14396 cat conftest.err >&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } && {
14399 test -z "$ac_c_werror_flag" ||
14400 test ! -s conftest.err
14401 } && test -s conftest$ac_exeext &&
14402 $as_test_x conftest$ac_exeext; then
14403 eval "$as_ac_var=yes"
14404 else
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.$ac_ext >&5
14408 eval "$as_ac_var=no"
14411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14412 conftest$ac_exeext conftest.$ac_ext
14414 ac_res=`eval echo '${'$as_ac_var'}'`
14415 { echo "$as_me:$LINENO: result: $ac_res" >&5
14416 echo "${ECHO_T}$ac_res" >&6; }
14417 if test `eval echo '${'$as_ac_var'}'` = yes; then
14418 cat >>confdefs.h <<_ACEOF
14419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14420 _ACEOF
14423 done
14425 LIBS="$ac_wine_check_funcs_save_LIBS"
14427 # Extract the first word of "esd-config", so it can be a program name with args.
14428 set dummy esd-config; ac_word=$2
14429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14431 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 else
14434 case $ESDCONFIG in
14435 [\\/]* | ?:[\\/]*)
14436 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14440 for as_dir in $PATH
14442 IFS=$as_save_IFS
14443 test -z "$as_dir" && as_dir=.
14444 for ac_exec_ext in '' $ac_executable_extensions; do
14445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14446 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14448 break 2
14450 done
14451 done
14452 IFS=$as_save_IFS
14455 esac
14457 ESDCONFIG=$ac_cv_path_ESDCONFIG
14458 if test -n "$ESDCONFIG"; then
14459 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14460 echo "${ECHO_T}$ESDCONFIG" >&6; }
14461 else
14462 { echo "$as_me:$LINENO: result: no" >&5
14463 echo "${ECHO_T}no" >&6; }
14467 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14468 then
14469 ESD_CFLAGS=""
14470 for i in `$ESDCONFIG --cflags`
14472 case "$i" in
14473 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14474 esac
14475 done
14476 ESD_LIBS=`$ESDCONFIG --libs`
14477 save_CFLAGS="$CFLAGS"
14478 CFLAGS="$CFLAGS $ESD_CFLAGS"
14479 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14480 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14481 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14483 else
14484 ac_check_lib_save_LIBS=$LIBS
14485 LIBS="-lesd $LIBS"
14486 cat >conftest.$ac_ext <<_ACEOF
14487 /* confdefs.h. */
14488 _ACEOF
14489 cat confdefs.h >>conftest.$ac_ext
14490 cat >>conftest.$ac_ext <<_ACEOF
14491 /* end confdefs.h. */
14493 /* Override any GCC internal prototype to avoid an error.
14494 Use char because int might match the return type of a GCC
14495 builtin and then its argument prototype would still apply. */
14496 #ifdef __cplusplus
14497 extern "C"
14498 #endif
14499 char esd_open_sound ();
14501 main ()
14503 return esd_open_sound ();
14505 return 0;
14507 _ACEOF
14508 rm -f conftest.$ac_objext conftest$ac_exeext
14509 if { (ac_try="$ac_link"
14510 case "(($ac_try" in
14511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14512 *) ac_try_echo=$ac_try;;
14513 esac
14514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14515 (eval "$ac_link") 2>conftest.er1
14516 ac_status=$?
14517 grep -v '^ *+' conftest.er1 >conftest.err
14518 rm -f conftest.er1
14519 cat conftest.err >&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); } && {
14522 test -z "$ac_c_werror_flag" ||
14523 test ! -s conftest.err
14524 } && test -s conftest$ac_exeext &&
14525 $as_test_x conftest$ac_exeext; then
14526 ac_cv_lib_esd_esd_open_sound=yes
14527 else
14528 echo "$as_me: failed program was:" >&5
14529 sed 's/^/| /' conftest.$ac_ext >&5
14531 ac_cv_lib_esd_esd_open_sound=no
14534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14535 conftest$ac_exeext conftest.$ac_ext
14536 LIBS=$ac_check_lib_save_LIBS
14538 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14539 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14540 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14541 ESDLIBS=$ESD_LIBS
14543 ESDINCL=$ESD_CFLAGS
14546 cat >>confdefs.h <<\_ACEOF
14547 #define HAVE_ESD 1
14548 _ACEOF
14552 CFLAGS="$save_CFLAGS"
14555 ALSALIBS=""
14557 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14558 then
14559 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14560 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14561 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14562 echo $ECHO_N "(cached) $ECHO_C" >&6
14563 else
14564 ac_check_lib_save_LIBS=$LIBS
14565 LIBS="-lasound $LIBS"
14566 cat >conftest.$ac_ext <<_ACEOF
14567 /* confdefs.h. */
14568 _ACEOF
14569 cat confdefs.h >>conftest.$ac_ext
14570 cat >>conftest.$ac_ext <<_ACEOF
14571 /* end confdefs.h. */
14573 /* Override any GCC internal prototype to avoid an error.
14574 Use char because int might match the return type of a GCC
14575 builtin and then its argument prototype would still apply. */
14576 #ifdef __cplusplus
14577 extern "C"
14578 #endif
14579 char snd_pcm_hw_params_get_access ();
14581 main ()
14583 return snd_pcm_hw_params_get_access ();
14585 return 0;
14587 _ACEOF
14588 rm -f conftest.$ac_objext conftest$ac_exeext
14589 if { (ac_try="$ac_link"
14590 case "(($ac_try" in
14591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14592 *) ac_try_echo=$ac_try;;
14593 esac
14594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14595 (eval "$ac_link") 2>conftest.er1
14596 ac_status=$?
14597 grep -v '^ *+' conftest.er1 >conftest.err
14598 rm -f conftest.er1
14599 cat conftest.err >&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); } && {
14602 test -z "$ac_c_werror_flag" ||
14603 test ! -s conftest.err
14604 } && test -s conftest$ac_exeext &&
14605 $as_test_x conftest$ac_exeext; then
14606 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14607 else
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.$ac_ext >&5
14611 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14615 conftest$ac_exeext conftest.$ac_ext
14616 LIBS=$ac_check_lib_save_LIBS
14618 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14619 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14620 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14621 cat >conftest.$ac_ext <<_ACEOF
14622 /* confdefs.h. */
14623 _ACEOF
14624 cat confdefs.h >>conftest.$ac_ext
14625 cat >>conftest.$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14627 #ifdef HAVE_ALSA_ASOUNDLIB_H
14628 #include <alsa/asoundlib.h>
14629 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14630 #include <sys/asoundlib.h>
14631 #endif
14633 main ()
14635 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14637 return 0;
14639 _ACEOF
14640 rm -f conftest.$ac_objext
14641 if { (ac_try="$ac_compile"
14642 case "(($ac_try" in
14643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14644 *) ac_try_echo=$ac_try;;
14645 esac
14646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14647 (eval "$ac_compile") 2>conftest.er1
14648 ac_status=$?
14649 grep -v '^ *+' conftest.er1 >conftest.err
14650 rm -f conftest.er1
14651 cat conftest.err >&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); } && {
14654 test -z "$ac_c_werror_flag" ||
14655 test ! -s conftest.err
14656 } && test -s conftest.$ac_objext; then
14658 cat >>confdefs.h <<\_ACEOF
14659 #define HAVE_ALSA 1
14660 _ACEOF
14662 ALSALIBS="-lasound"
14663 else
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.$ac_ext >&5
14670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14675 AUDIOIOLIBS=""
14677 if test "$ac_cv_header_libaudioio_h" = "yes"
14678 then
14679 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14680 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14681 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14682 echo $ECHO_N "(cached) $ECHO_C" >&6
14683 else
14684 ac_check_lib_save_LIBS=$LIBS
14685 LIBS="-laudioio $LIBS"
14686 cat >conftest.$ac_ext <<_ACEOF
14687 /* confdefs.h. */
14688 _ACEOF
14689 cat confdefs.h >>conftest.$ac_ext
14690 cat >>conftest.$ac_ext <<_ACEOF
14691 /* end confdefs.h. */
14693 /* Override any GCC internal prototype to avoid an error.
14694 Use char because int might match the return type of a GCC
14695 builtin and then its argument prototype would still apply. */
14696 #ifdef __cplusplus
14697 extern "C"
14698 #endif
14699 char AudioIOGetVersion ();
14701 main ()
14703 return AudioIOGetVersion ();
14705 return 0;
14707 _ACEOF
14708 rm -f conftest.$ac_objext conftest$ac_exeext
14709 if { (ac_try="$ac_link"
14710 case "(($ac_try" in
14711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14712 *) ac_try_echo=$ac_try;;
14713 esac
14714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14715 (eval "$ac_link") 2>conftest.er1
14716 ac_status=$?
14717 grep -v '^ *+' conftest.er1 >conftest.err
14718 rm -f conftest.er1
14719 cat conftest.err >&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); } && {
14722 test -z "$ac_c_werror_flag" ||
14723 test ! -s conftest.err
14724 } && test -s conftest$ac_exeext &&
14725 $as_test_x conftest$ac_exeext; then
14726 ac_cv_lib_audioio_AudioIOGetVersion=yes
14727 else
14728 echo "$as_me: failed program was:" >&5
14729 sed 's/^/| /' conftest.$ac_ext >&5
14731 ac_cv_lib_audioio_AudioIOGetVersion=no
14734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14735 conftest$ac_exeext conftest.$ac_ext
14736 LIBS=$ac_check_lib_save_LIBS
14738 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14739 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14740 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14741 AUDIOIOLIBS="-laudioio"
14743 cat >>confdefs.h <<\_ACEOF
14744 #define HAVE_LIBAUDIOIO 1
14745 _ACEOF
14752 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14753 then
14754 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14755 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14756 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14757 echo $ECHO_N "(cached) $ECHO_C" >&6
14758 else
14759 ac_check_soname_save_LIBS=$LIBS
14760 LIBS="-lcapi20 $LIBS"
14761 cat >conftest.$ac_ext <<_ACEOF
14762 /* confdefs.h. */
14763 _ACEOF
14764 cat confdefs.h >>conftest.$ac_ext
14765 cat >>conftest.$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14768 /* Override any GCC internal prototype to avoid an error.
14769 Use char because int might match the return type of a GCC
14770 builtin and then its argument prototype would still apply. */
14771 #ifdef __cplusplus
14772 extern "C"
14773 #endif
14774 char capi20_register ();
14776 main ()
14778 return capi20_register ();
14780 return 0;
14782 _ACEOF
14783 rm -f conftest.$ac_objext conftest$ac_exeext
14784 if { (ac_try="$ac_link"
14785 case "(($ac_try" in
14786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14787 *) ac_try_echo=$ac_try;;
14788 esac
14789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14790 (eval "$ac_link") 2>conftest.er1
14791 ac_status=$?
14792 grep -v '^ *+' conftest.er1 >conftest.err
14793 rm -f conftest.er1
14794 cat conftest.err >&5
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); } && {
14797 test -z "$ac_c_werror_flag" ||
14798 test ! -s conftest.err
14799 } && test -s conftest$ac_exeext &&
14800 $as_test_x conftest$ac_exeext; then
14801 case "$LIBEXT" in
14802 dll) ;;
14803 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'` ;;
14804 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14805 esac
14806 else
14807 echo "$as_me: failed program was:" >&5
14808 sed 's/^/| /' conftest.$ac_ext >&5
14813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14814 conftest$ac_exeext conftest.$ac_ext
14815 LIBS=$ac_check_soname_save_LIBS
14817 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14818 { echo "$as_me:$LINENO: result: not found" >&5
14819 echo "${ECHO_T}not found" >&6; }
14821 else
14822 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14823 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14825 cat >>confdefs.h <<_ACEOF
14826 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14827 _ACEOF
14833 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14834 case "x$with_capi" in
14835 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
14836 xno) ;;
14837 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
14838 This is an error since --with-capi was requested." >&5
14839 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
14840 This is an error since --with-capi was requested." >&2;}
14841 { (exit 1); exit 1; }; } ;;
14842 esac
14846 if test "$ac_cv_header_cups_cups_h" = "yes"
14847 then
14848 { echo "$as_me:$LINENO: checking for -lcups" >&5
14849 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14850 if test "${ac_cv_lib_soname_cups+set}" = set; then
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14852 else
14853 ac_check_soname_save_LIBS=$LIBS
14854 LIBS="-lcups $LIBS"
14855 cat >conftest.$ac_ext <<_ACEOF
14856 /* confdefs.h. */
14857 _ACEOF
14858 cat confdefs.h >>conftest.$ac_ext
14859 cat >>conftest.$ac_ext <<_ACEOF
14860 /* end confdefs.h. */
14862 /* Override any GCC internal prototype to avoid an error.
14863 Use char because int might match the return type of a GCC
14864 builtin and then its argument prototype would still apply. */
14865 #ifdef __cplusplus
14866 extern "C"
14867 #endif
14868 char cupsGetDefault ();
14870 main ()
14872 return cupsGetDefault ();
14874 return 0;
14876 _ACEOF
14877 rm -f conftest.$ac_objext conftest$ac_exeext
14878 if { (ac_try="$ac_link"
14879 case "(($ac_try" in
14880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14881 *) ac_try_echo=$ac_try;;
14882 esac
14883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14884 (eval "$ac_link") 2>conftest.er1
14885 ac_status=$?
14886 grep -v '^ *+' conftest.er1 >conftest.err
14887 rm -f conftest.er1
14888 cat conftest.err >&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } && {
14891 test -z "$ac_c_werror_flag" ||
14892 test ! -s conftest.err
14893 } && test -s conftest$ac_exeext &&
14894 $as_test_x conftest$ac_exeext; then
14895 case "$LIBEXT" in
14896 dll) ;;
14897 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'` ;;
14898 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14899 esac
14900 else
14901 echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14908 conftest$ac_exeext conftest.$ac_ext
14909 LIBS=$ac_check_soname_save_LIBS
14911 if test "x$ac_cv_lib_soname_cups" = "x"; then
14912 { echo "$as_me:$LINENO: result: not found" >&5
14913 echo "${ECHO_T}not found" >&6; }
14915 else
14916 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14917 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14919 cat >>confdefs.h <<_ACEOF
14920 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14921 _ACEOF
14927 if test "x$ac_cv_lib_soname_cups" = "x"; then
14928 case "x$with_cups" in
14929 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
14930 xno) ;;
14931 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
14932 This is an error since --with-cups was requested." >&5
14933 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
14934 This is an error since --with-cups was requested." >&2;}
14935 { (exit 1); exit 1; }; } ;;
14936 esac
14940 if test "$ac_cv_header_jack_jack_h" = "yes"
14941 then
14942 { echo "$as_me:$LINENO: checking for -ljack" >&5
14943 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14944 if test "${ac_cv_lib_soname_jack+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14946 else
14947 ac_check_soname_save_LIBS=$LIBS
14948 LIBS="-ljack $LIBS"
14949 cat >conftest.$ac_ext <<_ACEOF
14950 /* confdefs.h. */
14951 _ACEOF
14952 cat confdefs.h >>conftest.$ac_ext
14953 cat >>conftest.$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14959 #ifdef __cplusplus
14960 extern "C"
14961 #endif
14962 char jack_client_new ();
14964 main ()
14966 return jack_client_new ();
14968 return 0;
14970 _ACEOF
14971 rm -f conftest.$ac_objext conftest$ac_exeext
14972 if { (ac_try="$ac_link"
14973 case "(($ac_try" in
14974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14975 *) ac_try_echo=$ac_try;;
14976 esac
14977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14978 (eval "$ac_link") 2>conftest.er1
14979 ac_status=$?
14980 grep -v '^ *+' conftest.er1 >conftest.err
14981 rm -f conftest.er1
14982 cat conftest.err >&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } && {
14985 test -z "$ac_c_werror_flag" ||
14986 test ! -s conftest.err
14987 } && test -s conftest$ac_exeext &&
14988 $as_test_x conftest$ac_exeext; then
14989 case "$LIBEXT" in
14990 dll) ;;
14991 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'` ;;
14992 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14993 esac
14994 else
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
15001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15002 conftest$ac_exeext conftest.$ac_ext
15003 LIBS=$ac_check_soname_save_LIBS
15005 if test "x$ac_cv_lib_soname_jack" = "x"; then
15006 { echo "$as_me:$LINENO: result: not found" >&5
15007 echo "${ECHO_T}not found" >&6; }
15009 else
15010 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15011 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15013 cat >>confdefs.h <<_ACEOF
15014 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15015 _ACEOF
15022 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15023 then
15024 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15025 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15026 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15028 else
15029 ac_check_soname_save_LIBS=$LIBS
15030 LIBS="-lfontconfig $LIBS"
15031 cat >conftest.$ac_ext <<_ACEOF
15032 /* confdefs.h. */
15033 _ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15038 /* Override any GCC internal prototype to avoid an error.
15039 Use char because int might match the return type of a GCC
15040 builtin and then its argument prototype would still apply. */
15041 #ifdef __cplusplus
15042 extern "C"
15043 #endif
15044 char FcInit ();
15046 main ()
15048 return FcInit ();
15050 return 0;
15052 _ACEOF
15053 rm -f conftest.$ac_objext conftest$ac_exeext
15054 if { (ac_try="$ac_link"
15055 case "(($ac_try" in
15056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15057 *) ac_try_echo=$ac_try;;
15058 esac
15059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15060 (eval "$ac_link") 2>conftest.er1
15061 ac_status=$?
15062 grep -v '^ *+' conftest.er1 >conftest.err
15063 rm -f conftest.er1
15064 cat conftest.err >&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } && {
15067 test -z "$ac_c_werror_flag" ||
15068 test ! -s conftest.err
15069 } && test -s conftest$ac_exeext &&
15070 $as_test_x conftest$ac_exeext; then
15071 case "$LIBEXT" in
15072 dll) ;;
15073 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'` ;;
15074 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15075 esac
15076 else
15077 echo "$as_me: failed program was:" >&5
15078 sed 's/^/| /' conftest.$ac_ext >&5
15083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15084 conftest$ac_exeext conftest.$ac_ext
15085 LIBS=$ac_check_soname_save_LIBS
15087 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15088 { echo "$as_me:$LINENO: result: not found" >&5
15089 echo "${ECHO_T}not found" >&6; }
15091 else
15092 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15093 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15095 cat >>confdefs.h <<_ACEOF
15096 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15097 _ACEOF
15102 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15103 then
15104 ac_save_CPPFLAGS="$CPPFLAGS"
15105 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15106 $as_unset ac_cv_header_fontconfig_fontconfig_h
15108 for ac_header in fontconfig/fontconfig.h
15110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15115 echo $ECHO_N "(cached) $ECHO_C" >&6
15117 ac_res=`eval echo '${'$as_ac_Header'}'`
15118 { echo "$as_me:$LINENO: result: $ac_res" >&5
15119 echo "${ECHO_T}$ac_res" >&6; }
15120 else
15121 # Is the header compilable?
15122 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15124 cat >conftest.$ac_ext <<_ACEOF
15125 /* confdefs.h. */
15126 _ACEOF
15127 cat confdefs.h >>conftest.$ac_ext
15128 cat >>conftest.$ac_ext <<_ACEOF
15129 /* end confdefs.h. */
15130 $ac_includes_default
15131 #include <$ac_header>
15132 _ACEOF
15133 rm -f conftest.$ac_objext
15134 if { (ac_try="$ac_compile"
15135 case "(($ac_try" in
15136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15137 *) ac_try_echo=$ac_try;;
15138 esac
15139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15140 (eval "$ac_compile") 2>conftest.er1
15141 ac_status=$?
15142 grep -v '^ *+' conftest.er1 >conftest.err
15143 rm -f conftest.er1
15144 cat conftest.err >&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); } && {
15147 test -z "$ac_c_werror_flag" ||
15148 test ! -s conftest.err
15149 } && test -s conftest.$ac_objext; then
15150 ac_header_compiler=yes
15151 else
15152 echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.$ac_ext >&5
15155 ac_header_compiler=no
15158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15160 echo "${ECHO_T}$ac_header_compiler" >&6; }
15162 # Is the header present?
15163 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15164 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15165 cat >conftest.$ac_ext <<_ACEOF
15166 /* confdefs.h. */
15167 _ACEOF
15168 cat confdefs.h >>conftest.$ac_ext
15169 cat >>conftest.$ac_ext <<_ACEOF
15170 /* end confdefs.h. */
15171 #include <$ac_header>
15172 _ACEOF
15173 if { (ac_try="$ac_cpp conftest.$ac_ext"
15174 case "(($ac_try" in
15175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15176 *) ac_try_echo=$ac_try;;
15177 esac
15178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15180 ac_status=$?
15181 grep -v '^ *+' conftest.er1 >conftest.err
15182 rm -f conftest.er1
15183 cat conftest.err >&5
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); } >/dev/null && {
15186 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15187 test ! -s conftest.err
15188 }; then
15189 ac_header_preproc=yes
15190 else
15191 echo "$as_me: failed program was:" >&5
15192 sed 's/^/| /' conftest.$ac_ext >&5
15194 ac_header_preproc=no
15197 rm -f conftest.err conftest.$ac_ext
15198 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15199 echo "${ECHO_T}$ac_header_preproc" >&6; }
15201 # So? What about this header?
15202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15203 yes:no: )
15204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15208 ac_header_preproc=yes
15210 no:yes:* )
15211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15223 ( cat <<\_ASBOX
15224 ## ------------------------------------ ##
15225 ## Report this to wine-devel@winehq.org ##
15226 ## ------------------------------------ ##
15227 _ASBOX
15228 ) | sed "s/^/$as_me: WARNING: /" >&2
15230 esac
15231 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15233 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15234 echo $ECHO_N "(cached) $ECHO_C" >&6
15235 else
15236 eval "$as_ac_Header=\$ac_header_preproc"
15238 ac_res=`eval echo '${'$as_ac_Header'}'`
15239 { echo "$as_me:$LINENO: result: $ac_res" >&5
15240 echo "${ECHO_T}$ac_res" >&6; }
15243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15244 cat >>confdefs.h <<_ACEOF
15245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15246 _ACEOF
15250 done
15252 CPPFLAGS="$ac_save_CPPFLAGS"
15253 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15254 then
15255 FONTCONFIGINCL="$X_CFLAGS"
15257 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15258 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15259 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 else
15262 ac_check_soname_save_LIBS=$LIBS
15263 LIBS="-lfontconfig $X_LIBS $LIBS"
15264 cat >conftest.$ac_ext <<_ACEOF
15265 /* confdefs.h. */
15266 _ACEOF
15267 cat confdefs.h >>conftest.$ac_ext
15268 cat >>conftest.$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15271 /* Override any GCC internal prototype to avoid an error.
15272 Use char because int might match the return type of a GCC
15273 builtin and then its argument prototype would still apply. */
15274 #ifdef __cplusplus
15275 extern "C"
15276 #endif
15277 char FcInit ();
15279 main ()
15281 return FcInit ();
15283 return 0;
15285 _ACEOF
15286 rm -f conftest.$ac_objext conftest$ac_exeext
15287 if { (ac_try="$ac_link"
15288 case "(($ac_try" in
15289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15290 *) ac_try_echo=$ac_try;;
15291 esac
15292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15293 (eval "$ac_link") 2>conftest.er1
15294 ac_status=$?
15295 grep -v '^ *+' conftest.er1 >conftest.err
15296 rm -f conftest.er1
15297 cat conftest.err >&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } && {
15300 test -z "$ac_c_werror_flag" ||
15301 test ! -s conftest.err
15302 } && test -s conftest$ac_exeext &&
15303 $as_test_x conftest$ac_exeext; then
15304 case "$LIBEXT" in
15305 dll) ;;
15306 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'` ;;
15307 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15308 esac
15309 else
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15317 conftest$ac_exeext conftest.$ac_ext
15318 LIBS=$ac_check_soname_save_LIBS
15320 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15321 { echo "$as_me:$LINENO: result: not found" >&5
15322 echo "${ECHO_T}not found" >&6; }
15324 else
15325 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15326 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15328 cat >>confdefs.h <<_ACEOF
15329 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15330 _ACEOF
15337 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15338 case "x$with_fontconfig" in
15339 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15340 xno) ;;
15341 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15342 This is an error since --with-fontconfig was requested." >&5
15343 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15344 This is an error since --with-fontconfig was requested." >&2;}
15345 { (exit 1); exit 1; }; } ;;
15346 esac
15350 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15351 then
15352 { echo "$as_me:$LINENO: checking for -lssl" >&5
15353 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15354 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15355 echo $ECHO_N "(cached) $ECHO_C" >&6
15356 else
15357 ac_check_soname_save_LIBS=$LIBS
15358 LIBS="-lssl $LIBS"
15359 cat >conftest.$ac_ext <<_ACEOF
15360 /* confdefs.h. */
15361 _ACEOF
15362 cat confdefs.h >>conftest.$ac_ext
15363 cat >>conftest.$ac_ext <<_ACEOF
15364 /* end confdefs.h. */
15366 /* Override any GCC internal prototype to avoid an error.
15367 Use char because int might match the return type of a GCC
15368 builtin and then its argument prototype would still apply. */
15369 #ifdef __cplusplus
15370 extern "C"
15371 #endif
15372 char SSL_library_init ();
15374 main ()
15376 return SSL_library_init ();
15378 return 0;
15380 _ACEOF
15381 rm -f conftest.$ac_objext conftest$ac_exeext
15382 if { (ac_try="$ac_link"
15383 case "(($ac_try" in
15384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15385 *) ac_try_echo=$ac_try;;
15386 esac
15387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15388 (eval "$ac_link") 2>conftest.er1
15389 ac_status=$?
15390 grep -v '^ *+' conftest.er1 >conftest.err
15391 rm -f conftest.er1
15392 cat conftest.err >&5
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } && {
15395 test -z "$ac_c_werror_flag" ||
15396 test ! -s conftest.err
15397 } && test -s conftest$ac_exeext &&
15398 $as_test_x conftest$ac_exeext; then
15399 case "$LIBEXT" in
15400 dll) ;;
15401 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'` ;;
15402 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15403 esac
15404 else
15405 echo "$as_me: failed program was:" >&5
15406 sed 's/^/| /' conftest.$ac_ext >&5
15411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15412 conftest$ac_exeext conftest.$ac_ext
15413 LIBS=$ac_check_soname_save_LIBS
15415 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15416 { echo "$as_me:$LINENO: result: not found" >&5
15417 echo "${ECHO_T}not found" >&6; }
15419 else
15420 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15421 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15423 cat >>confdefs.h <<_ACEOF
15424 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15425 _ACEOF
15430 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15431 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15432 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 else
15435 ac_check_soname_save_LIBS=$LIBS
15436 LIBS="-lcrypto $LIBS"
15437 cat >conftest.$ac_ext <<_ACEOF
15438 /* confdefs.h. */
15439 _ACEOF
15440 cat confdefs.h >>conftest.$ac_ext
15441 cat >>conftest.$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15444 /* Override any GCC internal prototype to avoid an error.
15445 Use char because int might match the return type of a GCC
15446 builtin and then its argument prototype would still apply. */
15447 #ifdef __cplusplus
15448 extern "C"
15449 #endif
15450 char BIO_new_socket ();
15452 main ()
15454 return BIO_new_socket ();
15456 return 0;
15458 _ACEOF
15459 rm -f conftest.$ac_objext conftest$ac_exeext
15460 if { (ac_try="$ac_link"
15461 case "(($ac_try" in
15462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15463 *) ac_try_echo=$ac_try;;
15464 esac
15465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15466 (eval "$ac_link") 2>conftest.er1
15467 ac_status=$?
15468 grep -v '^ *+' conftest.er1 >conftest.err
15469 rm -f conftest.er1
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } && {
15473 test -z "$ac_c_werror_flag" ||
15474 test ! -s conftest.err
15475 } && test -s conftest$ac_exeext &&
15476 $as_test_x conftest$ac_exeext; then
15477 case "$LIBEXT" in
15478 dll) ;;
15479 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'` ;;
15480 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15481 esac
15482 else
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.$ac_ext >&5
15489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15490 conftest$ac_exeext conftest.$ac_ext
15491 LIBS=$ac_check_soname_save_LIBS
15493 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15494 { echo "$as_me:$LINENO: result: not found" >&5
15495 echo "${ECHO_T}not found" >&6; }
15497 else
15498 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15499 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15501 cat >>confdefs.h <<_ACEOF
15502 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15503 _ACEOF
15509 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15510 case "x$with_openssl" in
15511 x) wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15512 xno) ;;
15513 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15514 This is an error since --with-openssl was requested." >&5
15515 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15516 This is an error since --with-openssl was requested." >&2;}
15517 { (exit 1); exit 1; }; } ;;
15518 esac
15522 if test "$ac_cv_header_jpeglib_h" = "yes"
15523 then
15524 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15525 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15526 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15528 else
15529 ac_check_soname_save_LIBS=$LIBS
15530 LIBS="-ljpeg $LIBS"
15531 cat >conftest.$ac_ext <<_ACEOF
15532 /* confdefs.h. */
15533 _ACEOF
15534 cat confdefs.h >>conftest.$ac_ext
15535 cat >>conftest.$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15541 #ifdef __cplusplus
15542 extern "C"
15543 #endif
15544 char jpeg_start_decompress ();
15546 main ()
15548 return jpeg_start_decompress ();
15550 return 0;
15552 _ACEOF
15553 rm -f conftest.$ac_objext conftest$ac_exeext
15554 if { (ac_try="$ac_link"
15555 case "(($ac_try" in
15556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15557 *) ac_try_echo=$ac_try;;
15558 esac
15559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560 (eval "$ac_link") 2>conftest.er1
15561 ac_status=$?
15562 grep -v '^ *+' conftest.er1 >conftest.err
15563 rm -f conftest.er1
15564 cat conftest.err >&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); } && {
15567 test -z "$ac_c_werror_flag" ||
15568 test ! -s conftest.err
15569 } && test -s conftest$ac_exeext &&
15570 $as_test_x conftest$ac_exeext; then
15571 case "$LIBEXT" in
15572 dll) ;;
15573 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'` ;;
15574 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15575 esac
15576 else
15577 echo "$as_me: failed program was:" >&5
15578 sed 's/^/| /' conftest.$ac_ext >&5
15583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15584 conftest$ac_exeext conftest.$ac_ext
15585 LIBS=$ac_check_soname_save_LIBS
15587 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15588 { echo "$as_me:$LINENO: result: not found" >&5
15589 echo "${ECHO_T}not found" >&6; }
15591 else
15592 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15593 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15595 cat >>confdefs.h <<_ACEOF
15596 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15597 _ACEOF
15603 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15604 case "x$with_jpeg" in
15605 x) wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15606 xno) ;;
15607 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15608 This is an error since --with-jpeg was requested." >&5
15609 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15610 This is an error since --with-jpeg was requested." >&2;}
15611 { (exit 1); exit 1; }; } ;;
15612 esac
15616 if test "$ac_cv_header_png_h" = "yes"
15617 then
15618 { echo "$as_me:$LINENO: checking for -lpng" >&5
15619 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15620 if test "${ac_cv_lib_soname_png+set}" = set; then
15621 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 else
15623 ac_check_soname_save_LIBS=$LIBS
15624 LIBS="-lpng $LIBS"
15625 cat >conftest.$ac_ext <<_ACEOF
15626 /* confdefs.h. */
15627 _ACEOF
15628 cat confdefs.h >>conftest.$ac_ext
15629 cat >>conftest.$ac_ext <<_ACEOF
15630 /* end confdefs.h. */
15632 /* Override any GCC internal prototype to avoid an error.
15633 Use char because int might match the return type of a GCC
15634 builtin and then its argument prototype would still apply. */
15635 #ifdef __cplusplus
15636 extern "C"
15637 #endif
15638 char png_create_read_struct ();
15640 main ()
15642 return png_create_read_struct ();
15644 return 0;
15646 _ACEOF
15647 rm -f conftest.$ac_objext conftest$ac_exeext
15648 if { (ac_try="$ac_link"
15649 case "(($ac_try" in
15650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15651 *) ac_try_echo=$ac_try;;
15652 esac
15653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15654 (eval "$ac_link") 2>conftest.er1
15655 ac_status=$?
15656 grep -v '^ *+' conftest.er1 >conftest.err
15657 rm -f conftest.er1
15658 cat conftest.err >&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && {
15661 test -z "$ac_c_werror_flag" ||
15662 test ! -s conftest.err
15663 } && test -s conftest$ac_exeext &&
15664 $as_test_x conftest$ac_exeext; then
15665 case "$LIBEXT" in
15666 dll) ;;
15667 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'` ;;
15668 *) 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'` ;;
15669 esac
15670 else
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.$ac_ext >&5
15677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15678 conftest$ac_exeext conftest.$ac_ext
15679 LIBS=$ac_check_soname_save_LIBS
15681 if test "x$ac_cv_lib_soname_png" = "x"; then
15682 { echo "$as_me:$LINENO: result: not found" >&5
15683 echo "${ECHO_T}not found" >&6; }
15685 else
15686 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15687 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15689 cat >>confdefs.h <<_ACEOF
15690 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15691 _ACEOF
15697 if test "x$ac_cv_lib_soname_png" = "x"; then
15698 case "x$with_png" in
15699 x) wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15700 xno) ;;
15701 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15702 This is an error since --with-png was requested." >&5
15703 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15704 This is an error since --with-png was requested." >&2;}
15705 { (exit 1); exit 1; }; } ;;
15706 esac
15710 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15711 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15712 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 else
15715 ac_check_soname_save_LIBS=$LIBS
15716 LIBS="-lodbc $LIBS"
15717 cat >conftest.$ac_ext <<_ACEOF
15718 /* confdefs.h. */
15719 _ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15724 /* Override any GCC internal prototype to avoid an error.
15725 Use char because int might match the return type of a GCC
15726 builtin and then its argument prototype would still apply. */
15727 #ifdef __cplusplus
15728 extern "C"
15729 #endif
15730 char SQLConnect ();
15732 main ()
15734 return SQLConnect ();
15736 return 0;
15738 _ACEOF
15739 rm -f conftest.$ac_objext conftest$ac_exeext
15740 if { (ac_try="$ac_link"
15741 case "(($ac_try" in
15742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15743 *) ac_try_echo=$ac_try;;
15744 esac
15745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15746 (eval "$ac_link") 2>conftest.er1
15747 ac_status=$?
15748 grep -v '^ *+' conftest.er1 >conftest.err
15749 rm -f conftest.er1
15750 cat conftest.err >&5
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); } && {
15753 test -z "$ac_c_werror_flag" ||
15754 test ! -s conftest.err
15755 } && test -s conftest$ac_exeext &&
15756 $as_test_x conftest$ac_exeext; then
15757 case "$LIBEXT" in
15758 dll) ;;
15759 dylib) ac_cv_lib_soname_odbc=`otool -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15760 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15761 esac
15762 else
15763 echo "$as_me: failed program was:" >&5
15764 sed 's/^/| /' conftest.$ac_ext >&5
15769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15770 conftest$ac_exeext conftest.$ac_ext
15771 LIBS=$ac_check_soname_save_LIBS
15773 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15774 { echo "$as_me:$LINENO: result: not found" >&5
15775 echo "${ECHO_T}not found" >&6; }
15776 cat >>confdefs.h <<_ACEOF
15777 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15778 _ACEOF
15780 else
15781 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15782 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15784 cat >>confdefs.h <<_ACEOF
15785 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15786 _ACEOF
15792 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15793 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15794 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15795 "$ac_cv_header_soundcard_h" != "yes" -a \
15796 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15797 then
15798 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15802 EXTRACFLAGS=""
15804 if test "x${GCC}" = "xyes"
15805 then
15806 EXTRACFLAGS="-Wall -pipe"
15808 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15809 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15810 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 else
15813 if test "$cross_compiling" = yes; then
15814 ac_cv_c_gcc_strength_bug="yes"
15815 else
15816 cat >conftest.$ac_ext <<_ACEOF
15817 /* confdefs.h. */
15818 _ACEOF
15819 cat confdefs.h >>conftest.$ac_ext
15820 cat >>conftest.$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15822 int L[4] = {0,1,2,3};
15824 main ()
15826 static int Array[3];
15827 unsigned int B = 3;
15828 int i;
15829 for(i=0; i<B; i++) Array[i] = i - 3;
15830 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
15831 L[i] = 4;
15832 exit( Array[1] != -2 || L[2] != 3)
15834 return 0;
15836 _ACEOF
15837 rm -f conftest$ac_exeext
15838 if { (ac_try="$ac_link"
15839 case "(($ac_try" in
15840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15841 *) ac_try_echo=$ac_try;;
15842 esac
15843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_link") 2>&5
15845 ac_status=$?
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15848 { (case "(($ac_try" in
15849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15850 *) ac_try_echo=$ac_try;;
15851 esac
15852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15853 (eval "$ac_try") 2>&5
15854 ac_status=$?
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); }; }; then
15857 ac_cv_c_gcc_strength_bug="no"
15858 else
15859 echo "$as_me: program exited with status $ac_status" >&5
15860 echo "$as_me: failed program was:" >&5
15861 sed 's/^/| /' conftest.$ac_ext >&5
15863 ( exit $ac_status )
15864 ac_cv_c_gcc_strength_bug="yes"
15866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15871 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
15872 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
15873 if test "$ac_cv_c_gcc_strength_bug" = "yes"
15874 then
15875 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
15879 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
15880 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
15881 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
15882 echo $ECHO_N "(cached) $ECHO_C" >&6
15883 else
15884 ac_wine_try_cflags_saved=$CFLAGS
15885 CFLAGS="$CFLAGS -fshort-wchar"
15886 cat >conftest.$ac_ext <<_ACEOF
15887 /* confdefs.h. */
15888 _ACEOF
15889 cat confdefs.h >>conftest.$ac_ext
15890 cat >>conftest.$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15894 main ()
15898 return 0;
15900 _ACEOF
15901 rm -f conftest.$ac_objext conftest$ac_exeext
15902 if { (ac_try="$ac_link"
15903 case "(($ac_try" in
15904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15905 *) ac_try_echo=$ac_try;;
15906 esac
15907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15908 (eval "$ac_link") 2>conftest.er1
15909 ac_status=$?
15910 grep -v '^ *+' conftest.er1 >conftest.err
15911 rm -f conftest.er1
15912 cat conftest.err >&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); } && {
15915 test -z "$ac_c_werror_flag" ||
15916 test ! -s conftest.err
15917 } && test -s conftest$ac_exeext &&
15918 $as_test_x conftest$ac_exeext; then
15919 ac_cv_cflags__fshort_wchar=yes
15920 else
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.$ac_ext >&5
15924 ac_cv_cflags__fshort_wchar=no
15927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15928 conftest$ac_exeext conftest.$ac_ext
15929 CFLAGS=$ac_wine_try_cflags_saved
15931 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
15932 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
15933 if test $ac_cv_cflags__fshort_wchar = yes; then
15935 cat >>confdefs.h <<\_ACEOF
15936 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
15937 _ACEOF
15941 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
15942 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
15943 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
15944 echo $ECHO_N "(cached) $ECHO_C" >&6
15945 else
15946 ac_wine_try_cflags_saved=$CFLAGS
15947 CFLAGS="$CFLAGS -fno-strict-aliasing"
15948 cat >conftest.$ac_ext <<_ACEOF
15949 /* confdefs.h. */
15950 _ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15956 main ()
15960 return 0;
15962 _ACEOF
15963 rm -f conftest.$ac_objext conftest$ac_exeext
15964 if { (ac_try="$ac_link"
15965 case "(($ac_try" in
15966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15967 *) ac_try_echo=$ac_try;;
15968 esac
15969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15970 (eval "$ac_link") 2>conftest.er1
15971 ac_status=$?
15972 grep -v '^ *+' conftest.er1 >conftest.err
15973 rm -f conftest.er1
15974 cat conftest.err >&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); } && {
15977 test -z "$ac_c_werror_flag" ||
15978 test ! -s conftest.err
15979 } && test -s conftest$ac_exeext &&
15980 $as_test_x conftest$ac_exeext; then
15981 ac_cv_cflags__fno_strict_aliasing=yes
15982 else
15983 echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15986 ac_cv_cflags__fno_strict_aliasing=no
15989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15990 conftest$ac_exeext conftest.$ac_ext
15991 CFLAGS=$ac_wine_try_cflags_saved
15993 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
15994 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
15995 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
15996 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
15999 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16000 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16001 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16003 else
16004 ac_wine_try_cflags_saved=$CFLAGS
16005 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16006 cat >conftest.$ac_ext <<_ACEOF
16007 /* confdefs.h. */
16008 _ACEOF
16009 cat confdefs.h >>conftest.$ac_ext
16010 cat >>conftest.$ac_ext <<_ACEOF
16011 /* end confdefs.h. */
16014 main ()
16018 return 0;
16020 _ACEOF
16021 rm -f conftest.$ac_objext conftest$ac_exeext
16022 if { (ac_try="$ac_link"
16023 case "(($ac_try" in
16024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16025 *) ac_try_echo=$ac_try;;
16026 esac
16027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16028 (eval "$ac_link") 2>conftest.er1
16029 ac_status=$?
16030 grep -v '^ *+' conftest.er1 >conftest.err
16031 rm -f conftest.er1
16032 cat conftest.err >&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); } && {
16035 test -z "$ac_c_werror_flag" ||
16036 test ! -s conftest.err
16037 } && test -s conftest$ac_exeext &&
16038 $as_test_x conftest$ac_exeext; then
16039 ac_cv_cflags__Wdeclaration_after_statement=yes
16040 else
16041 echo "$as_me: failed program was:" >&5
16042 sed 's/^/| /' conftest.$ac_ext >&5
16044 ac_cv_cflags__Wdeclaration_after_statement=no
16047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16048 conftest$ac_exeext conftest.$ac_ext
16049 CFLAGS=$ac_wine_try_cflags_saved
16051 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16052 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16053 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16054 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16057 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16058 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16059 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 else
16062 ac_wine_try_cflags_saved=$CFLAGS
16063 CFLAGS="$CFLAGS -Wwrite-strings"
16064 cat >conftest.$ac_ext <<_ACEOF
16065 /* confdefs.h. */
16066 _ACEOF
16067 cat confdefs.h >>conftest.$ac_ext
16068 cat >>conftest.$ac_ext <<_ACEOF
16069 /* end confdefs.h. */
16072 main ()
16076 return 0;
16078 _ACEOF
16079 rm -f conftest.$ac_objext conftest$ac_exeext
16080 if { (ac_try="$ac_link"
16081 case "(($ac_try" in
16082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16083 *) ac_try_echo=$ac_try;;
16084 esac
16085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16086 (eval "$ac_link") 2>conftest.er1
16087 ac_status=$?
16088 grep -v '^ *+' conftest.er1 >conftest.err
16089 rm -f conftest.er1
16090 cat conftest.err >&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } && {
16093 test -z "$ac_c_werror_flag" ||
16094 test ! -s conftest.err
16095 } && test -s conftest$ac_exeext &&
16096 $as_test_x conftest$ac_exeext; then
16097 ac_cv_cflags__Wwrite_strings=yes
16098 else
16099 echo "$as_me: failed program was:" >&5
16100 sed 's/^/| /' conftest.$ac_ext >&5
16102 ac_cv_cflags__Wwrite_strings=no
16105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16106 conftest$ac_exeext conftest.$ac_ext
16107 CFLAGS=$ac_wine_try_cflags_saved
16109 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16110 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16111 if test $ac_cv_cflags__Wwrite_strings = yes; then
16112 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16115 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16116 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16117 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16118 echo $ECHO_N "(cached) $ECHO_C" >&6
16119 else
16120 ac_wine_try_cflags_saved=$CFLAGS
16121 CFLAGS="$CFLAGS -Wtype-limits"
16122 cat >conftest.$ac_ext <<_ACEOF
16123 /* confdefs.h. */
16124 _ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16130 main ()
16134 return 0;
16136 _ACEOF
16137 rm -f conftest.$ac_objext conftest$ac_exeext
16138 if { (ac_try="$ac_link"
16139 case "(($ac_try" in
16140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16141 *) ac_try_echo=$ac_try;;
16142 esac
16143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16144 (eval "$ac_link") 2>conftest.er1
16145 ac_status=$?
16146 grep -v '^ *+' conftest.er1 >conftest.err
16147 rm -f conftest.er1
16148 cat conftest.err >&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } && {
16151 test -z "$ac_c_werror_flag" ||
16152 test ! -s conftest.err
16153 } && test -s conftest$ac_exeext &&
16154 $as_test_x conftest$ac_exeext; then
16155 ac_cv_cflags__Wtype_limits=yes
16156 else
16157 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.$ac_ext >&5
16160 ac_cv_cflags__Wtype_limits=no
16163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16164 conftest$ac_exeext conftest.$ac_ext
16165 CFLAGS=$ac_wine_try_cflags_saved
16167 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16168 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16169 if test $ac_cv_cflags__Wtype_limits = yes; then
16170 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16174 saved_CFLAGS="$CFLAGS"
16175 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16176 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16177 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16178 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16179 echo $ECHO_N "(cached) $ECHO_C" >&6
16180 else
16181 cat >conftest.$ac_ext <<_ACEOF
16182 /* confdefs.h. */
16183 _ACEOF
16184 cat confdefs.h >>conftest.$ac_ext
16185 cat >>conftest.$ac_ext <<_ACEOF
16186 /* end confdefs.h. */
16187 #include <string.h>
16189 main ()
16193 return 0;
16195 _ACEOF
16196 rm -f conftest.$ac_objext
16197 if { (ac_try="$ac_compile"
16198 case "(($ac_try" in
16199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16200 *) ac_try_echo=$ac_try;;
16201 esac
16202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16203 (eval "$ac_compile") 2>conftest.er1
16204 ac_status=$?
16205 grep -v '^ *+' conftest.er1 >conftest.err
16206 rm -f conftest.er1
16207 cat conftest.err >&5
16208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); } && {
16210 test -z "$ac_c_werror_flag" ||
16211 test ! -s conftest.err
16212 } && test -s conftest.$ac_objext; then
16213 ac_cv_c_string_h_warnings=no
16214 else
16215 echo "$as_me: failed program was:" >&5
16216 sed 's/^/| /' conftest.$ac_ext >&5
16218 ac_cv_c_string_h_warnings=yes
16221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16223 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16224 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16225 CFLAGS="$saved_CFLAGS"
16226 if test "$ac_cv_c_string_h_warnings" = "no"
16227 then
16228 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16231 BUILTINFLAG=""
16233 saved_CFLAGS="$CFLAGS"
16234 CFLAGS="$CFLAGS -Werror"
16235 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16236 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16237 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16239 else
16240 cat >conftest.$ac_ext <<_ACEOF
16241 /* confdefs.h. */
16242 _ACEOF
16243 cat confdefs.h >>conftest.$ac_ext
16244 cat >>conftest.$ac_ext <<_ACEOF
16245 /* end confdefs.h. */
16248 main ()
16250 int iswlower(unsigned short);
16252 return 0;
16254 _ACEOF
16255 rm -f conftest.$ac_objext
16256 if { (ac_try="$ac_compile"
16257 case "(($ac_try" in
16258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16259 *) ac_try_echo=$ac_try;;
16260 esac
16261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16262 (eval "$ac_compile") 2>conftest.er1
16263 ac_status=$?
16264 grep -v '^ *+' conftest.er1 >conftest.err
16265 rm -f conftest.er1
16266 cat conftest.err >&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); } && {
16269 test -z "$ac_c_werror_flag" ||
16270 test ! -s conftest.err
16271 } && test -s conftest.$ac_objext; then
16272 ac_cv_c_builtin_wchar_ctype=no
16273 else
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.$ac_ext >&5
16277 ac_cv_c_builtin_wchar_ctype=yes
16280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16282 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16283 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16284 CFLAGS="$saved_CFLAGS"
16285 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16286 then
16287 BUILTINFLAG="-fno-builtin"
16292 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16293 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16294 if test "${ac_cv_asm_func_def+set}" = set; then
16295 echo $ECHO_N "(cached) $ECHO_C" >&6
16296 else
16297 cat >conftest.$ac_ext <<_ACEOF
16298 /* confdefs.h. */
16299 _ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16305 main ()
16307 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16309 return 0;
16311 _ACEOF
16312 rm -f conftest.$ac_objext conftest$ac_exeext
16313 if { (ac_try="$ac_link"
16314 case "(($ac_try" in
16315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16316 *) ac_try_echo=$ac_try;;
16317 esac
16318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16319 (eval "$ac_link") 2>conftest.er1
16320 ac_status=$?
16321 grep -v '^ *+' conftest.er1 >conftest.err
16322 rm -f conftest.er1
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } && {
16326 test -z "$ac_c_werror_flag" ||
16327 test ! -s conftest.err
16328 } && test -s conftest$ac_exeext &&
16329 $as_test_x conftest$ac_exeext; then
16330 ac_cv_asm_func_def=".def"
16331 else
16332 echo "$as_me: failed program was:" >&5
16333 sed 's/^/| /' conftest.$ac_ext >&5
16335 cat >conftest.$ac_ext <<_ACEOF
16336 /* confdefs.h. */
16337 _ACEOF
16338 cat confdefs.h >>conftest.$ac_ext
16339 cat >>conftest.$ac_ext <<_ACEOF
16340 /* end confdefs.h. */
16343 main ()
16345 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16347 return 0;
16349 _ACEOF
16350 rm -f conftest.$ac_objext conftest$ac_exeext
16351 if { (ac_try="$ac_link"
16352 case "(($ac_try" in
16353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16354 *) ac_try_echo=$ac_try;;
16355 esac
16356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16357 (eval "$ac_link") 2>conftest.er1
16358 ac_status=$?
16359 grep -v '^ *+' conftest.er1 >conftest.err
16360 rm -f conftest.er1
16361 cat conftest.err >&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } && {
16364 test -z "$ac_c_werror_flag" ||
16365 test ! -s conftest.err
16366 } && test -s conftest$ac_exeext &&
16367 $as_test_x conftest$ac_exeext; then
16368 ac_cv_asm_func_def=".type @function"
16369 else
16370 echo "$as_me: failed program was:" >&5
16371 sed 's/^/| /' conftest.$ac_ext >&5
16373 cat >conftest.$ac_ext <<_ACEOF
16374 /* confdefs.h. */
16375 _ACEOF
16376 cat confdefs.h >>conftest.$ac_ext
16377 cat >>conftest.$ac_ext <<_ACEOF
16378 /* end confdefs.h. */
16381 main ()
16383 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16385 return 0;
16387 _ACEOF
16388 rm -f conftest.$ac_objext conftest$ac_exeext
16389 if { (ac_try="$ac_link"
16390 case "(($ac_try" in
16391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16392 *) ac_try_echo=$ac_try;;
16393 esac
16394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16395 (eval "$ac_link") 2>conftest.er1
16396 ac_status=$?
16397 grep -v '^ *+' conftest.er1 >conftest.err
16398 rm -f conftest.er1
16399 cat conftest.err >&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } && {
16402 test -z "$ac_c_werror_flag" ||
16403 test ! -s conftest.err
16404 } && test -s conftest$ac_exeext &&
16405 $as_test_x conftest$ac_exeext; then
16406 ac_cv_asm_func_def=".type 2"
16407 else
16408 echo "$as_me: failed program was:" >&5
16409 sed 's/^/| /' conftest.$ac_ext >&5
16411 ac_cv_asm_func_def="unknown"
16414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16415 conftest$ac_exeext conftest.$ac_ext
16418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16419 conftest$ac_exeext conftest.$ac_ext
16422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16423 conftest$ac_exeext conftest.$ac_ext
16425 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16426 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16430 case "$ac_cv_asm_func_def" in
16431 ".def")
16432 cat >>confdefs.h <<\_ACEOF
16433 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16434 _ACEOF
16436 ".type @function")
16437 cat >>confdefs.h <<\_ACEOF
16438 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16439 _ACEOF
16441 ".type 2")
16442 cat >>confdefs.h <<\_ACEOF
16443 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16444 _ACEOF
16447 cat >>confdefs.h <<\_ACEOF
16448 #define __ASM_FUNC(name) ""
16449 _ACEOF
16451 esac
16454 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16455 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16456 if test "${ac_cv_c_extern_prefix+set}" = set; then
16457 echo $ECHO_N "(cached) $ECHO_C" >&6
16458 else
16459 cat >conftest.$ac_ext <<_ACEOF
16460 /* confdefs.h. */
16461 _ACEOF
16462 cat confdefs.h >>conftest.$ac_ext
16463 cat >>conftest.$ac_ext <<_ACEOF
16464 /* end confdefs.h. */
16465 extern int ac_test;
16467 main ()
16469 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16471 return 0;
16473 _ACEOF
16474 rm -f conftest.$ac_objext conftest$ac_exeext
16475 if { (ac_try="$ac_link"
16476 case "(($ac_try" in
16477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16478 *) ac_try_echo=$ac_try;;
16479 esac
16480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16481 (eval "$ac_link") 2>conftest.er1
16482 ac_status=$?
16483 grep -v '^ *+' conftest.er1 >conftest.err
16484 rm -f conftest.er1
16485 cat conftest.err >&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } && {
16488 test -z "$ac_c_werror_flag" ||
16489 test ! -s conftest.err
16490 } && test -s conftest$ac_exeext &&
16491 $as_test_x conftest$ac_exeext; then
16492 ac_cv_c_extern_prefix="yes"
16493 else
16494 echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.$ac_ext >&5
16497 ac_cv_c_extern_prefix="no"
16500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16501 conftest$ac_exeext conftest.$ac_ext
16503 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16504 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16508 if test "$ac_cv_c_extern_prefix" = "yes"
16509 then
16510 cat >>confdefs.h <<\_ACEOF
16511 #define __ASM_NAME(name) "_" name
16512 _ACEOF
16514 else
16515 cat >>confdefs.h <<\_ACEOF
16516 #define __ASM_NAME(name) name
16517 _ACEOF
16522 LDPATH=""
16524 case $build_os in
16525 cygwin*|mingw32*)
16526 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16528 darwin*|macosx*)
16530 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16531 then
16532 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16536 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16538 esac
16540 case $host_os in
16541 mingw32*)
16542 CRTLIBS="-lmsvcrt"
16544 SOCKETLIBS="-lws2_32"
16547 esac
16549 MAIN_BINARY="wine-pthread"
16550 case $host_cpu in
16551 *i[3456789]86*)
16552 case $host_os in
16553 linux* | k*bsd*-gnu)
16554 MAIN_BINARY="wine-glibc"
16556 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16558 freebsd*)
16559 MAIN_BINARY="wine-freebsd"
16561 EXTRA_BINARIES="wine-pthread"
16563 esac
16565 esac
16637 for ac_func in \
16638 _pclose \
16639 _popen \
16640 _snprintf \
16641 _spawnvp \
16642 _strdup \
16643 _stricmp \
16644 _strnicmp \
16645 _strtoi64 \
16646 _strtoui64 \
16647 _vsnprintf \
16648 asctime_r \
16649 chsize \
16650 clone \
16651 dlopen \
16652 epoll_create \
16653 ffs \
16654 finite \
16655 fork \
16656 fpclass \
16657 fstatfs \
16658 fstatvfs \
16659 ftruncate \
16660 futimes \
16661 futimesat \
16662 getdirentries \
16663 getopt_long \
16664 getpagesize \
16665 getpwuid \
16666 gettid \
16667 gettimeofday \
16668 getuid \
16669 inet_pton \
16670 kqueue \
16671 lstat \
16672 memmove \
16673 mmap \
16674 pclose \
16675 poll \
16676 popen \
16677 prctl \
16678 pread \
16679 pwrite \
16680 readlink \
16681 rfork \
16682 sched_yield \
16683 select \
16684 setproctitle \
16685 setrlimit \
16686 settimeofday \
16687 sigaltstack \
16688 sigprocmask \
16689 snprintf \
16690 spawnvp \
16691 statfs \
16692 statvfs \
16693 strcasecmp \
16694 strdup \
16695 strerror \
16696 strncasecmp \
16697 strtold \
16698 strtoll \
16699 strtoull \
16700 tcgetattr \
16701 thr_kill2 \
16702 timegm \
16703 usleep \
16704 vsnprintf \
16705 wait4 \
16706 waitpid \
16709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16713 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 else
16715 cat >conftest.$ac_ext <<_ACEOF
16716 /* confdefs.h. */
16717 _ACEOF
16718 cat confdefs.h >>conftest.$ac_ext
16719 cat >>conftest.$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16723 #define $ac_func innocuous_$ac_func
16725 /* System header to define __stub macros and hopefully few prototypes,
16726 which can conflict with char $ac_func (); below.
16727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16728 <limits.h> exists even on freestanding compilers. */
16730 #ifdef __STDC__
16731 # include <limits.h>
16732 #else
16733 # include <assert.h>
16734 #endif
16736 #undef $ac_func
16738 /* Override any GCC internal prototype to avoid an error.
16739 Use char because int might match the return type of a GCC
16740 builtin and then its argument prototype would still apply. */
16741 #ifdef __cplusplus
16742 extern "C"
16743 #endif
16744 char $ac_func ();
16745 /* The GNU C library defines this for functions which it implements
16746 to always fail with ENOSYS. Some functions are actually named
16747 something starting with __ and the normal name is an alias. */
16748 #if defined __stub_$ac_func || defined __stub___$ac_func
16749 choke me
16750 #endif
16753 main ()
16755 return $ac_func ();
16757 return 0;
16759 _ACEOF
16760 rm -f conftest.$ac_objext conftest$ac_exeext
16761 if { (ac_try="$ac_link"
16762 case "(($ac_try" in
16763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16764 *) ac_try_echo=$ac_try;;
16765 esac
16766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16767 (eval "$ac_link") 2>conftest.er1
16768 ac_status=$?
16769 grep -v '^ *+' conftest.er1 >conftest.err
16770 rm -f conftest.er1
16771 cat conftest.err >&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); } && {
16774 test -z "$ac_c_werror_flag" ||
16775 test ! -s conftest.err
16776 } && test -s conftest$ac_exeext &&
16777 $as_test_x conftest$ac_exeext; then
16778 eval "$as_ac_var=yes"
16779 else
16780 echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.$ac_ext >&5
16783 eval "$as_ac_var=no"
16786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16787 conftest$ac_exeext conftest.$ac_ext
16789 ac_res=`eval echo '${'$as_ac_var'}'`
16790 { echo "$as_me:$LINENO: result: $ac_res" >&5
16791 echo "${ECHO_T}$ac_res" >&6; }
16792 if test `eval echo '${'$as_ac_var'}'` = yes; then
16793 cat >>confdefs.h <<_ACEOF
16794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16795 _ACEOF
16798 done
16801 if test "$ac_cv_func_dlopen" = no
16802 then
16803 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16804 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16805 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16806 echo $ECHO_N "(cached) $ECHO_C" >&6
16807 else
16808 ac_check_lib_save_LIBS=$LIBS
16809 LIBS="-ldl $LIBS"
16810 cat >conftest.$ac_ext <<_ACEOF
16811 /* confdefs.h. */
16812 _ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16817 /* Override any GCC internal prototype to avoid an error.
16818 Use char because int might match the return type of a GCC
16819 builtin and then its argument prototype would still apply. */
16820 #ifdef __cplusplus
16821 extern "C"
16822 #endif
16823 char dlopen ();
16825 main ()
16827 return dlopen ();
16829 return 0;
16831 _ACEOF
16832 rm -f conftest.$ac_objext conftest$ac_exeext
16833 if { (ac_try="$ac_link"
16834 case "(($ac_try" in
16835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16836 *) ac_try_echo=$ac_try;;
16837 esac
16838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16839 (eval "$ac_link") 2>conftest.er1
16840 ac_status=$?
16841 grep -v '^ *+' conftest.er1 >conftest.err
16842 rm -f conftest.er1
16843 cat conftest.err >&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } && {
16846 test -z "$ac_c_werror_flag" ||
16847 test ! -s conftest.err
16848 } && test -s conftest$ac_exeext &&
16849 $as_test_x conftest$ac_exeext; then
16850 ac_cv_lib_dl_dlopen=yes
16851 else
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16855 ac_cv_lib_dl_dlopen=no
16858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16859 conftest$ac_exeext conftest.$ac_ext
16860 LIBS=$ac_check_lib_save_LIBS
16862 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16863 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16864 if test $ac_cv_lib_dl_dlopen = yes; then
16865 cat >>confdefs.h <<\_ACEOF
16866 #define HAVE_DLOPEN 1
16867 _ACEOF
16868 LIBDL="-ldl"
16873 ac_wine_check_funcs_save_LIBS="$LIBS"
16874 LIBS="$LIBS $LIBDL"
16876 for ac_func in dladdr
16878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16879 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16881 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 else
16884 cat >conftest.$ac_ext <<_ACEOF
16885 /* confdefs.h. */
16886 _ACEOF
16887 cat confdefs.h >>conftest.$ac_ext
16888 cat >>conftest.$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16892 #define $ac_func innocuous_$ac_func
16894 /* System header to define __stub macros and hopefully few prototypes,
16895 which can conflict with char $ac_func (); below.
16896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16897 <limits.h> exists even on freestanding compilers. */
16899 #ifdef __STDC__
16900 # include <limits.h>
16901 #else
16902 # include <assert.h>
16903 #endif
16905 #undef $ac_func
16907 /* Override any GCC internal prototype to avoid an error.
16908 Use char because int might match the return type of a GCC
16909 builtin and then its argument prototype would still apply. */
16910 #ifdef __cplusplus
16911 extern "C"
16912 #endif
16913 char $ac_func ();
16914 /* The GNU C library defines this for functions which it implements
16915 to always fail with ENOSYS. Some functions are actually named
16916 something starting with __ and the normal name is an alias. */
16917 #if defined __stub_$ac_func || defined __stub___$ac_func
16918 choke me
16919 #endif
16922 main ()
16924 return $ac_func ();
16926 return 0;
16928 _ACEOF
16929 rm -f conftest.$ac_objext conftest$ac_exeext
16930 if { (ac_try="$ac_link"
16931 case "(($ac_try" in
16932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16933 *) ac_try_echo=$ac_try;;
16934 esac
16935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16936 (eval "$ac_link") 2>conftest.er1
16937 ac_status=$?
16938 grep -v '^ *+' conftest.er1 >conftest.err
16939 rm -f conftest.er1
16940 cat conftest.err >&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); } && {
16943 test -z "$ac_c_werror_flag" ||
16944 test ! -s conftest.err
16945 } && test -s conftest$ac_exeext &&
16946 $as_test_x conftest$ac_exeext; then
16947 eval "$as_ac_var=yes"
16948 else
16949 echo "$as_me: failed program was:" >&5
16950 sed 's/^/| /' conftest.$ac_ext >&5
16952 eval "$as_ac_var=no"
16955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16956 conftest$ac_exeext conftest.$ac_ext
16958 ac_res=`eval echo '${'$as_ac_var'}'`
16959 { echo "$as_me:$LINENO: result: $ac_res" >&5
16960 echo "${ECHO_T}$ac_res" >&6; }
16961 if test `eval echo '${'$as_ac_var'}'` = yes; then
16962 cat >>confdefs.h <<_ACEOF
16963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16964 _ACEOF
16967 done
16969 LIBS="$ac_wine_check_funcs_save_LIBS"
16971 if test "$ac_cv_func_poll" = no
16972 then
16973 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16974 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16975 if test "${ac_cv_lib_poll_poll+set}" = set; then
16976 echo $ECHO_N "(cached) $ECHO_C" >&6
16977 else
16978 ac_check_lib_save_LIBS=$LIBS
16979 LIBS="-lpoll $LIBS"
16980 cat >conftest.$ac_ext <<_ACEOF
16981 /* confdefs.h. */
16982 _ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16987 /* Override any GCC internal prototype to avoid an error.
16988 Use char because int might match the return type of a GCC
16989 builtin and then its argument prototype would still apply. */
16990 #ifdef __cplusplus
16991 extern "C"
16992 #endif
16993 char poll ();
16995 main ()
16997 return poll ();
16999 return 0;
17001 _ACEOF
17002 rm -f conftest.$ac_objext conftest$ac_exeext
17003 if { (ac_try="$ac_link"
17004 case "(($ac_try" in
17005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17006 *) ac_try_echo=$ac_try;;
17007 esac
17008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17009 (eval "$ac_link") 2>conftest.er1
17010 ac_status=$?
17011 grep -v '^ *+' conftest.er1 >conftest.err
17012 rm -f conftest.er1
17013 cat conftest.err >&5
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); } && {
17016 test -z "$ac_c_werror_flag" ||
17017 test ! -s conftest.err
17018 } && test -s conftest$ac_exeext &&
17019 $as_test_x conftest$ac_exeext; then
17020 ac_cv_lib_poll_poll=yes
17021 else
17022 echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17025 ac_cv_lib_poll_poll=no
17028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17029 conftest$ac_exeext conftest.$ac_ext
17030 LIBS=$ac_check_lib_save_LIBS
17032 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17033 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17034 if test $ac_cv_lib_poll_poll = yes; then
17035 cat >>confdefs.h <<\_ACEOF
17036 #define HAVE_POLL 1
17037 _ACEOF
17038 LIBPOLL="-lpoll"
17044 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17045 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17046 if test "${ac_cv_search_gethostbyname+set}" = set; then
17047 echo $ECHO_N "(cached) $ECHO_C" >&6
17048 else
17049 ac_func_search_save_LIBS=$LIBS
17050 cat >conftest.$ac_ext <<_ACEOF
17051 /* confdefs.h. */
17052 _ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17060 #ifdef __cplusplus
17061 extern "C"
17062 #endif
17063 char gethostbyname ();
17065 main ()
17067 return gethostbyname ();
17069 return 0;
17071 _ACEOF
17072 for ac_lib in '' nsl; do
17073 if test -z "$ac_lib"; then
17074 ac_res="none required"
17075 else
17076 ac_res=-l$ac_lib
17077 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17079 rm -f conftest.$ac_objext conftest$ac_exeext
17080 if { (ac_try="$ac_link"
17081 case "(($ac_try" in
17082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17083 *) ac_try_echo=$ac_try;;
17084 esac
17085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17086 (eval "$ac_link") 2>conftest.er1
17087 ac_status=$?
17088 grep -v '^ *+' conftest.er1 >conftest.err
17089 rm -f conftest.er1
17090 cat conftest.err >&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } && {
17093 test -z "$ac_c_werror_flag" ||
17094 test ! -s conftest.err
17095 } && test -s conftest$ac_exeext &&
17096 $as_test_x conftest$ac_exeext; then
17097 ac_cv_search_gethostbyname=$ac_res
17098 else
17099 echo "$as_me: failed program was:" >&5
17100 sed 's/^/| /' conftest.$ac_ext >&5
17105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17106 conftest$ac_exeext
17107 if test "${ac_cv_search_gethostbyname+set}" = set; then
17108 break
17110 done
17111 if test "${ac_cv_search_gethostbyname+set}" = set; then
17113 else
17114 ac_cv_search_gethostbyname=no
17116 rm conftest.$ac_ext
17117 LIBS=$ac_func_search_save_LIBS
17119 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17120 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17121 ac_res=$ac_cv_search_gethostbyname
17122 if test "$ac_res" != no; then
17123 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17128 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17129 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17130 if test "${ac_cv_search_connect+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 else
17133 ac_func_search_save_LIBS=$LIBS
17134 cat >conftest.$ac_ext <<_ACEOF
17135 /* confdefs.h. */
17136 _ACEOF
17137 cat confdefs.h >>conftest.$ac_ext
17138 cat >>conftest.$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17141 /* Override any GCC internal prototype to avoid an error.
17142 Use char because int might match the return type of a GCC
17143 builtin and then its argument prototype would still apply. */
17144 #ifdef __cplusplus
17145 extern "C"
17146 #endif
17147 char connect ();
17149 main ()
17151 return connect ();
17153 return 0;
17155 _ACEOF
17156 for ac_lib in '' socket; do
17157 if test -z "$ac_lib"; then
17158 ac_res="none required"
17159 else
17160 ac_res=-l$ac_lib
17161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17163 rm -f conftest.$ac_objext conftest$ac_exeext
17164 if { (ac_try="$ac_link"
17165 case "(($ac_try" in
17166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17167 *) ac_try_echo=$ac_try;;
17168 esac
17169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17170 (eval "$ac_link") 2>conftest.er1
17171 ac_status=$?
17172 grep -v '^ *+' conftest.er1 >conftest.err
17173 rm -f conftest.er1
17174 cat conftest.err >&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); } && {
17177 test -z "$ac_c_werror_flag" ||
17178 test ! -s conftest.err
17179 } && test -s conftest$ac_exeext &&
17180 $as_test_x conftest$ac_exeext; then
17181 ac_cv_search_connect=$ac_res
17182 else
17183 echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17190 conftest$ac_exeext
17191 if test "${ac_cv_search_connect+set}" = set; then
17192 break
17194 done
17195 if test "${ac_cv_search_connect+set}" = set; then
17197 else
17198 ac_cv_search_connect=no
17200 rm conftest.$ac_ext
17201 LIBS=$ac_func_search_save_LIBS
17203 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17204 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17205 ac_res=$ac_cv_search_connect
17206 if test "$ac_res" != no; then
17207 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17212 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17213 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17214 if test "${ac_cv_search_inet_aton+set}" = set; then
17215 echo $ECHO_N "(cached) $ECHO_C" >&6
17216 else
17217 ac_func_search_save_LIBS=$LIBS
17218 cat >conftest.$ac_ext <<_ACEOF
17219 /* confdefs.h. */
17220 _ACEOF
17221 cat confdefs.h >>conftest.$ac_ext
17222 cat >>conftest.$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17225 /* Override any GCC internal prototype to avoid an error.
17226 Use char because int might match the return type of a GCC
17227 builtin and then its argument prototype would still apply. */
17228 #ifdef __cplusplus
17229 extern "C"
17230 #endif
17231 char inet_aton ();
17233 main ()
17235 return inet_aton ();
17237 return 0;
17239 _ACEOF
17240 for ac_lib in '' resolv; do
17241 if test -z "$ac_lib"; then
17242 ac_res="none required"
17243 else
17244 ac_res=-l$ac_lib
17245 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17247 rm -f conftest.$ac_objext conftest$ac_exeext
17248 if { (ac_try="$ac_link"
17249 case "(($ac_try" in
17250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17251 *) ac_try_echo=$ac_try;;
17252 esac
17253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17254 (eval "$ac_link") 2>conftest.er1
17255 ac_status=$?
17256 grep -v '^ *+' conftest.er1 >conftest.err
17257 rm -f conftest.er1
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } && {
17261 test -z "$ac_c_werror_flag" ||
17262 test ! -s conftest.err
17263 } && test -s conftest$ac_exeext &&
17264 $as_test_x conftest$ac_exeext; then
17265 ac_cv_search_inet_aton=$ac_res
17266 else
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17274 conftest$ac_exeext
17275 if test "${ac_cv_search_inet_aton+set}" = set; then
17276 break
17278 done
17279 if test "${ac_cv_search_inet_aton+set}" = set; then
17281 else
17282 ac_cv_search_inet_aton=no
17284 rm conftest.$ac_ext
17285 LIBS=$ac_func_search_save_LIBS
17287 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17288 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17289 ac_res=$ac_cv_search_inet_aton
17290 if test "$ac_res" != no; then
17291 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17304 for ac_func in \
17305 getaddrinfo \
17306 getnameinfo \
17307 getnetbyname \
17308 getprotobyname \
17309 getprotobynumber \
17310 getservbyport \
17311 inet_network \
17312 sendmsg \
17315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17320 else
17321 cat >conftest.$ac_ext <<_ACEOF
17322 /* confdefs.h. */
17323 _ACEOF
17324 cat confdefs.h >>conftest.$ac_ext
17325 cat >>conftest.$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17329 #define $ac_func innocuous_$ac_func
17331 /* System header to define __stub macros and hopefully few prototypes,
17332 which can conflict with char $ac_func (); below.
17333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17334 <limits.h> exists even on freestanding compilers. */
17336 #ifdef __STDC__
17337 # include <limits.h>
17338 #else
17339 # include <assert.h>
17340 #endif
17342 #undef $ac_func
17344 /* Override any GCC internal prototype to avoid an error.
17345 Use char because int might match the return type of a GCC
17346 builtin and then its argument prototype would still apply. */
17347 #ifdef __cplusplus
17348 extern "C"
17349 #endif
17350 char $ac_func ();
17351 /* The GNU C library defines this for functions which it implements
17352 to always fail with ENOSYS. Some functions are actually named
17353 something starting with __ and the normal name is an alias. */
17354 #if defined __stub_$ac_func || defined __stub___$ac_func
17355 choke me
17356 #endif
17359 main ()
17361 return $ac_func ();
17363 return 0;
17365 _ACEOF
17366 rm -f conftest.$ac_objext conftest$ac_exeext
17367 if { (ac_try="$ac_link"
17368 case "(($ac_try" in
17369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17370 *) ac_try_echo=$ac_try;;
17371 esac
17372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17373 (eval "$ac_link") 2>conftest.er1
17374 ac_status=$?
17375 grep -v '^ *+' conftest.er1 >conftest.err
17376 rm -f conftest.er1
17377 cat conftest.err >&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } && {
17380 test -z "$ac_c_werror_flag" ||
17381 test ! -s conftest.err
17382 } && test -s conftest$ac_exeext &&
17383 $as_test_x conftest$ac_exeext; then
17384 eval "$as_ac_var=yes"
17385 else
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.$ac_ext >&5
17389 eval "$as_ac_var=no"
17392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17393 conftest$ac_exeext conftest.$ac_ext
17395 ac_res=`eval echo '${'$as_ac_var'}'`
17396 { echo "$as_me:$LINENO: result: $ac_res" >&5
17397 echo "${ECHO_T}$ac_res" >&6; }
17398 if test `eval echo '${'$as_ac_var'}'` = yes; then
17399 cat >>confdefs.h <<_ACEOF
17400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17401 _ACEOF
17404 done
17408 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17409 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17410 if test "${ac_cv_c_const+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6
17412 else
17413 cat >conftest.$ac_ext <<_ACEOF
17414 /* confdefs.h. */
17415 _ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17421 main ()
17423 /* FIXME: Include the comments suggested by Paul. */
17424 #ifndef __cplusplus
17425 /* Ultrix mips cc rejects this. */
17426 typedef int charset[2];
17427 const charset cs;
17428 /* SunOS 4.1.1 cc rejects this. */
17429 char const *const *pcpcc;
17430 char **ppc;
17431 /* NEC SVR4.0.2 mips cc rejects this. */
17432 struct point {int x, y;};
17433 static struct point const zero = {0,0};
17434 /* AIX XL C 1.02.0.0 rejects this.
17435 It does not let you subtract one const X* pointer from another in
17436 an arm of an if-expression whose if-part is not a constant
17437 expression */
17438 const char *g = "string";
17439 pcpcc = &g + (g ? g-g : 0);
17440 /* HPUX 7.0 cc rejects these. */
17441 ++pcpcc;
17442 ppc = (char**) pcpcc;
17443 pcpcc = (char const *const *) ppc;
17444 { /* SCO 3.2v4 cc rejects this. */
17445 char *t;
17446 char const *s = 0 ? (char *) 0 : (char const *) 0;
17448 *t++ = 0;
17449 if (s) return 0;
17451 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17452 int x[] = {25, 17};
17453 const int *foo = &x[0];
17454 ++foo;
17456 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17457 typedef const int *iptr;
17458 iptr p = 0;
17459 ++p;
17461 { /* AIX XL C 1.02.0.0 rejects this saying
17462 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17463 struct s { int j; const int *ap[3]; };
17464 struct s *b; b->j = 5;
17466 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17467 const int foo = 10;
17468 if (!foo) return 0;
17470 return !cs[0] && !zero.x;
17471 #endif
17474 return 0;
17476 _ACEOF
17477 rm -f conftest.$ac_objext
17478 if { (ac_try="$ac_compile"
17479 case "(($ac_try" in
17480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17481 *) ac_try_echo=$ac_try;;
17482 esac
17483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17484 (eval "$ac_compile") 2>conftest.er1
17485 ac_status=$?
17486 grep -v '^ *+' conftest.er1 >conftest.err
17487 rm -f conftest.er1
17488 cat conftest.err >&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); } && {
17491 test -z "$ac_c_werror_flag" ||
17492 test ! -s conftest.err
17493 } && test -s conftest.$ac_objext; then
17494 ac_cv_c_const=yes
17495 else
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.$ac_ext >&5
17499 ac_cv_c_const=no
17502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17504 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17505 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17506 if test $ac_cv_c_const = no; then
17508 cat >>confdefs.h <<\_ACEOF
17509 #define const
17510 _ACEOF
17514 { echo "$as_me:$LINENO: checking for inline" >&5
17515 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17516 if test "${ac_cv_c_inline+set}" = set; then
17517 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 else
17519 ac_cv_c_inline=no
17520 for ac_kw in inline __inline__ __inline; do
17521 cat >conftest.$ac_ext <<_ACEOF
17522 /* confdefs.h. */
17523 _ACEOF
17524 cat confdefs.h >>conftest.$ac_ext
17525 cat >>conftest.$ac_ext <<_ACEOF
17526 /* end confdefs.h. */
17527 #ifndef __cplusplus
17528 typedef int foo_t;
17529 static $ac_kw foo_t static_foo () {return 0; }
17530 $ac_kw foo_t foo () {return 0; }
17531 #endif
17533 _ACEOF
17534 rm -f conftest.$ac_objext
17535 if { (ac_try="$ac_compile"
17536 case "(($ac_try" in
17537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17538 *) ac_try_echo=$ac_try;;
17539 esac
17540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17541 (eval "$ac_compile") 2>conftest.er1
17542 ac_status=$?
17543 grep -v '^ *+' conftest.er1 >conftest.err
17544 rm -f conftest.er1
17545 cat conftest.err >&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } && {
17548 test -z "$ac_c_werror_flag" ||
17549 test ! -s conftest.err
17550 } && test -s conftest.$ac_objext; then
17551 ac_cv_c_inline=$ac_kw
17552 else
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.$ac_ext >&5
17559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 test "$ac_cv_c_inline" != no && break
17561 done
17564 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17565 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17568 case $ac_cv_c_inline in
17569 inline | yes) ;;
17571 case $ac_cv_c_inline in
17572 no) ac_val=;;
17573 *) ac_val=$ac_cv_c_inline;;
17574 esac
17575 cat >>confdefs.h <<_ACEOF
17576 #ifndef __cplusplus
17577 #define inline $ac_val
17578 #endif
17579 _ACEOF
17581 esac
17583 { echo "$as_me:$LINENO: checking for mode_t" >&5
17584 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17585 if test "${ac_cv_type_mode_t+set}" = set; then
17586 echo $ECHO_N "(cached) $ECHO_C" >&6
17587 else
17588 cat >conftest.$ac_ext <<_ACEOF
17589 /* confdefs.h. */
17590 _ACEOF
17591 cat confdefs.h >>conftest.$ac_ext
17592 cat >>conftest.$ac_ext <<_ACEOF
17593 /* end confdefs.h. */
17594 $ac_includes_default
17595 typedef mode_t ac__type_new_;
17597 main ()
17599 if ((ac__type_new_ *) 0)
17600 return 0;
17601 if (sizeof (ac__type_new_))
17602 return 0;
17604 return 0;
17606 _ACEOF
17607 rm -f conftest.$ac_objext
17608 if { (ac_try="$ac_compile"
17609 case "(($ac_try" in
17610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17611 *) ac_try_echo=$ac_try;;
17612 esac
17613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17614 (eval "$ac_compile") 2>conftest.er1
17615 ac_status=$?
17616 grep -v '^ *+' conftest.er1 >conftest.err
17617 rm -f conftest.er1
17618 cat conftest.err >&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } && {
17621 test -z "$ac_c_werror_flag" ||
17622 test ! -s conftest.err
17623 } && test -s conftest.$ac_objext; then
17624 ac_cv_type_mode_t=yes
17625 else
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17629 ac_cv_type_mode_t=no
17632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17634 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17635 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17636 if test $ac_cv_type_mode_t = yes; then
17638 cat >>confdefs.h <<_ACEOF
17639 #define HAVE_MODE_T 1
17640 _ACEOF
17644 { echo "$as_me:$LINENO: checking for off_t" >&5
17645 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17646 if test "${ac_cv_type_off_t+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649 cat >conftest.$ac_ext <<_ACEOF
17650 /* confdefs.h. */
17651 _ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 $ac_includes_default
17656 typedef off_t ac__type_new_;
17658 main ()
17660 if ((ac__type_new_ *) 0)
17661 return 0;
17662 if (sizeof (ac__type_new_))
17663 return 0;
17665 return 0;
17667 _ACEOF
17668 rm -f conftest.$ac_objext
17669 if { (ac_try="$ac_compile"
17670 case "(($ac_try" in
17671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17672 *) ac_try_echo=$ac_try;;
17673 esac
17674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17675 (eval "$ac_compile") 2>conftest.er1
17676 ac_status=$?
17677 grep -v '^ *+' conftest.er1 >conftest.err
17678 rm -f conftest.er1
17679 cat conftest.err >&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); } && {
17682 test -z "$ac_c_werror_flag" ||
17683 test ! -s conftest.err
17684 } && test -s conftest.$ac_objext; then
17685 ac_cv_type_off_t=yes
17686 else
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17690 ac_cv_type_off_t=no
17693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17695 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17696 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17697 if test $ac_cv_type_off_t = yes; then
17699 cat >>confdefs.h <<_ACEOF
17700 #define HAVE_OFF_T 1
17701 _ACEOF
17705 { echo "$as_me:$LINENO: checking for pid_t" >&5
17706 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17707 if test "${ac_cv_type_pid_t+set}" = set; then
17708 echo $ECHO_N "(cached) $ECHO_C" >&6
17709 else
17710 cat >conftest.$ac_ext <<_ACEOF
17711 /* confdefs.h. */
17712 _ACEOF
17713 cat confdefs.h >>conftest.$ac_ext
17714 cat >>conftest.$ac_ext <<_ACEOF
17715 /* end confdefs.h. */
17716 $ac_includes_default
17717 typedef pid_t ac__type_new_;
17719 main ()
17721 if ((ac__type_new_ *) 0)
17722 return 0;
17723 if (sizeof (ac__type_new_))
17724 return 0;
17726 return 0;
17728 _ACEOF
17729 rm -f conftest.$ac_objext
17730 if { (ac_try="$ac_compile"
17731 case "(($ac_try" in
17732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17733 *) ac_try_echo=$ac_try;;
17734 esac
17735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17736 (eval "$ac_compile") 2>conftest.er1
17737 ac_status=$?
17738 grep -v '^ *+' conftest.er1 >conftest.err
17739 rm -f conftest.er1
17740 cat conftest.err >&5
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); } && {
17743 test -z "$ac_c_werror_flag" ||
17744 test ! -s conftest.err
17745 } && test -s conftest.$ac_objext; then
17746 ac_cv_type_pid_t=yes
17747 else
17748 echo "$as_me: failed program was:" >&5
17749 sed 's/^/| /' conftest.$ac_ext >&5
17751 ac_cv_type_pid_t=no
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17757 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17758 if test $ac_cv_type_pid_t = yes; then
17760 cat >>confdefs.h <<_ACEOF
17761 #define HAVE_PID_T 1
17762 _ACEOF
17766 { echo "$as_me:$LINENO: checking for size_t" >&5
17767 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17768 if test "${ac_cv_type_size_t+set}" = set; then
17769 echo $ECHO_N "(cached) $ECHO_C" >&6
17770 else
17771 cat >conftest.$ac_ext <<_ACEOF
17772 /* confdefs.h. */
17773 _ACEOF
17774 cat confdefs.h >>conftest.$ac_ext
17775 cat >>conftest.$ac_ext <<_ACEOF
17776 /* end confdefs.h. */
17777 $ac_includes_default
17778 typedef size_t ac__type_new_;
17780 main ()
17782 if ((ac__type_new_ *) 0)
17783 return 0;
17784 if (sizeof (ac__type_new_))
17785 return 0;
17787 return 0;
17789 _ACEOF
17790 rm -f conftest.$ac_objext
17791 if { (ac_try="$ac_compile"
17792 case "(($ac_try" in
17793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17794 *) ac_try_echo=$ac_try;;
17795 esac
17796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17797 (eval "$ac_compile") 2>conftest.er1
17798 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } && {
17804 test -z "$ac_c_werror_flag" ||
17805 test ! -s conftest.err
17806 } && test -s conftest.$ac_objext; then
17807 ac_cv_type_size_t=yes
17808 else
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17812 ac_cv_type_size_t=no
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17817 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17818 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17819 if test $ac_cv_type_size_t = yes; then
17821 cat >>confdefs.h <<_ACEOF
17822 #define HAVE_SIZE_T 1
17823 _ACEOF
17827 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17828 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17829 if test "${ac_cv_type_ssize_t+set}" = set; then
17830 echo $ECHO_N "(cached) $ECHO_C" >&6
17831 else
17832 cat >conftest.$ac_ext <<_ACEOF
17833 /* confdefs.h. */
17834 _ACEOF
17835 cat confdefs.h >>conftest.$ac_ext
17836 cat >>conftest.$ac_ext <<_ACEOF
17837 /* end confdefs.h. */
17838 $ac_includes_default
17839 typedef ssize_t ac__type_new_;
17841 main ()
17843 if ((ac__type_new_ *) 0)
17844 return 0;
17845 if (sizeof (ac__type_new_))
17846 return 0;
17848 return 0;
17850 _ACEOF
17851 rm -f conftest.$ac_objext
17852 if { (ac_try="$ac_compile"
17853 case "(($ac_try" in
17854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17855 *) ac_try_echo=$ac_try;;
17856 esac
17857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17858 (eval "$ac_compile") 2>conftest.er1
17859 ac_status=$?
17860 grep -v '^ *+' conftest.er1 >conftest.err
17861 rm -f conftest.er1
17862 cat conftest.err >&5
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); } && {
17865 test -z "$ac_c_werror_flag" ||
17866 test ! -s conftest.err
17867 } && test -s conftest.$ac_objext; then
17868 ac_cv_type_ssize_t=yes
17869 else
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17873 ac_cv_type_ssize_t=no
17876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17878 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17879 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17880 if test $ac_cv_type_ssize_t = yes; then
17882 cat >>confdefs.h <<_ACEOF
17883 #define HAVE_SSIZE_T 1
17884 _ACEOF
17888 { echo "$as_me:$LINENO: checking for long long" >&5
17889 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17890 if test "${ac_cv_type_long_long+set}" = set; then
17891 echo $ECHO_N "(cached) $ECHO_C" >&6
17892 else
17893 cat >conftest.$ac_ext <<_ACEOF
17894 /* confdefs.h. */
17895 _ACEOF
17896 cat confdefs.h >>conftest.$ac_ext
17897 cat >>conftest.$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17899 $ac_includes_default
17900 typedef long long ac__type_new_;
17902 main ()
17904 if ((ac__type_new_ *) 0)
17905 return 0;
17906 if (sizeof (ac__type_new_))
17907 return 0;
17909 return 0;
17911 _ACEOF
17912 rm -f conftest.$ac_objext
17913 if { (ac_try="$ac_compile"
17914 case "(($ac_try" in
17915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17916 *) ac_try_echo=$ac_try;;
17917 esac
17918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17919 (eval "$ac_compile") 2>conftest.er1
17920 ac_status=$?
17921 grep -v '^ *+' conftest.er1 >conftest.err
17922 rm -f conftest.er1
17923 cat conftest.err >&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } && {
17926 test -z "$ac_c_werror_flag" ||
17927 test ! -s conftest.err
17928 } && test -s conftest.$ac_objext; then
17929 ac_cv_type_long_long=yes
17930 else
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.$ac_ext >&5
17934 ac_cv_type_long_long=no
17937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17940 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17941 if test $ac_cv_type_long_long = yes; then
17943 cat >>confdefs.h <<_ACEOF
17944 #define HAVE_LONG_LONG 1
17945 _ACEOF
17949 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17950 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17951 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17952 echo $ECHO_N "(cached) $ECHO_C" >&6
17953 else
17954 cat >conftest.$ac_ext <<_ACEOF
17955 /* confdefs.h. */
17956 _ACEOF
17957 cat confdefs.h >>conftest.$ac_ext
17958 cat >>conftest.$ac_ext <<_ACEOF
17959 /* end confdefs.h. */
17960 $ac_includes_default
17961 typedef fsblkcnt_t ac__type_new_;
17963 main ()
17965 if ((ac__type_new_ *) 0)
17966 return 0;
17967 if (sizeof (ac__type_new_))
17968 return 0;
17970 return 0;
17972 _ACEOF
17973 rm -f conftest.$ac_objext
17974 if { (ac_try="$ac_compile"
17975 case "(($ac_try" in
17976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17977 *) ac_try_echo=$ac_try;;
17978 esac
17979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17980 (eval "$ac_compile") 2>conftest.er1
17981 ac_status=$?
17982 grep -v '^ *+' conftest.er1 >conftest.err
17983 rm -f conftest.er1
17984 cat conftest.err >&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } && {
17987 test -z "$ac_c_werror_flag" ||
17988 test ! -s conftest.err
17989 } && test -s conftest.$ac_objext; then
17990 ac_cv_type_fsblkcnt_t=yes
17991 else
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.$ac_ext >&5
17995 ac_cv_type_fsblkcnt_t=no
17998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18000 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18001 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18002 if test $ac_cv_type_fsblkcnt_t = yes; then
18004 cat >>confdefs.h <<_ACEOF
18005 #define HAVE_FSBLKCNT_T 1
18006 _ACEOF
18010 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18011 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18012 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 else
18015 cat >conftest.$ac_ext <<_ACEOF
18016 /* confdefs.h. */
18017 _ACEOF
18018 cat confdefs.h >>conftest.$ac_ext
18019 cat >>conftest.$ac_ext <<_ACEOF
18020 /* end confdefs.h. */
18021 $ac_includes_default
18022 typedef fsfilcnt_t ac__type_new_;
18024 main ()
18026 if ((ac__type_new_ *) 0)
18027 return 0;
18028 if (sizeof (ac__type_new_))
18029 return 0;
18031 return 0;
18033 _ACEOF
18034 rm -f conftest.$ac_objext
18035 if { (ac_try="$ac_compile"
18036 case "(($ac_try" in
18037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18038 *) ac_try_echo=$ac_try;;
18039 esac
18040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18041 (eval "$ac_compile") 2>conftest.er1
18042 ac_status=$?
18043 grep -v '^ *+' conftest.er1 >conftest.err
18044 rm -f conftest.er1
18045 cat conftest.err >&5
18046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047 (exit $ac_status); } && {
18048 test -z "$ac_c_werror_flag" ||
18049 test ! -s conftest.err
18050 } && test -s conftest.$ac_objext; then
18051 ac_cv_type_fsfilcnt_t=yes
18052 else
18053 echo "$as_me: failed program was:" >&5
18054 sed 's/^/| /' conftest.$ac_ext >&5
18056 ac_cv_type_fsfilcnt_t=no
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18062 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18063 if test $ac_cv_type_fsfilcnt_t = yes; then
18065 cat >>confdefs.h <<_ACEOF
18066 #define HAVE_FSFILCNT_T 1
18067 _ACEOF
18072 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18073 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18074 if test "${ac_cv_type_sigset_t+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18076 else
18077 cat >conftest.$ac_ext <<_ACEOF
18078 /* confdefs.h. */
18079 _ACEOF
18080 cat confdefs.h >>conftest.$ac_ext
18081 cat >>conftest.$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18083 #include <signal.h>
18085 typedef sigset_t ac__type_new_;
18087 main ()
18089 if ((ac__type_new_ *) 0)
18090 return 0;
18091 if (sizeof (ac__type_new_))
18092 return 0;
18094 return 0;
18096 _ACEOF
18097 rm -f conftest.$ac_objext
18098 if { (ac_try="$ac_compile"
18099 case "(($ac_try" in
18100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18101 *) ac_try_echo=$ac_try;;
18102 esac
18103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18104 (eval "$ac_compile") 2>conftest.er1
18105 ac_status=$?
18106 grep -v '^ *+' conftest.er1 >conftest.err
18107 rm -f conftest.er1
18108 cat conftest.err >&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); } && {
18111 test -z "$ac_c_werror_flag" ||
18112 test ! -s conftest.err
18113 } && test -s conftest.$ac_objext; then
18114 ac_cv_type_sigset_t=yes
18115 else
18116 echo "$as_me: failed program was:" >&5
18117 sed 's/^/| /' conftest.$ac_ext >&5
18119 ac_cv_type_sigset_t=no
18122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18124 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18125 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18126 if test $ac_cv_type_sigset_t = yes; then
18128 cat >>confdefs.h <<_ACEOF
18129 #define HAVE_SIGSET_T 1
18130 _ACEOF
18135 { echo "$as_me:$LINENO: checking for request_sense" >&5
18136 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18137 if test "${ac_cv_type_request_sense+set}" = set; then
18138 echo $ECHO_N "(cached) $ECHO_C" >&6
18139 else
18140 cat >conftest.$ac_ext <<_ACEOF
18141 /* confdefs.h. */
18142 _ACEOF
18143 cat confdefs.h >>conftest.$ac_ext
18144 cat >>conftest.$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18146 #include <linux/cdrom.h>
18148 typedef request_sense ac__type_new_;
18150 main ()
18152 if ((ac__type_new_ *) 0)
18153 return 0;
18154 if (sizeof (ac__type_new_))
18155 return 0;
18157 return 0;
18159 _ACEOF
18160 rm -f conftest.$ac_objext
18161 if { (ac_try="$ac_compile"
18162 case "(($ac_try" in
18163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18164 *) ac_try_echo=$ac_try;;
18165 esac
18166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18167 (eval "$ac_compile") 2>conftest.er1
18168 ac_status=$?
18169 grep -v '^ *+' conftest.er1 >conftest.err
18170 rm -f conftest.er1
18171 cat conftest.err >&5
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); } && {
18174 test -z "$ac_c_werror_flag" ||
18175 test ! -s conftest.err
18176 } && test -s conftest.$ac_objext; then
18177 ac_cv_type_request_sense=yes
18178 else
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.$ac_ext >&5
18182 ac_cv_type_request_sense=no
18185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18187 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18188 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18189 if test $ac_cv_type_request_sense = yes; then
18191 cat >>confdefs.h <<_ACEOF
18192 #define HAVE_REQUEST_SENSE 1
18193 _ACEOF
18199 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18200 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18201 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18202 echo $ECHO_N "(cached) $ECHO_C" >&6
18203 else
18204 cat >conftest.$ac_ext <<_ACEOF
18205 /* confdefs.h. */
18206 _ACEOF
18207 cat confdefs.h >>conftest.$ac_ext
18208 cat >>conftest.$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18210 #ifdef HAVE_LINUX_INPUT_H
18211 #include <linux/input.h>
18212 #endif
18215 main ()
18217 static struct ff_effect ac_aggr;
18218 if (ac_aggr.direction)
18219 return 0;
18221 return 0;
18223 _ACEOF
18224 rm -f conftest.$ac_objext
18225 if { (ac_try="$ac_compile"
18226 case "(($ac_try" in
18227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18228 *) ac_try_echo=$ac_try;;
18229 esac
18230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18231 (eval "$ac_compile") 2>conftest.er1
18232 ac_status=$?
18233 grep -v '^ *+' conftest.er1 >conftest.err
18234 rm -f conftest.er1
18235 cat conftest.err >&5
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); } && {
18238 test -z "$ac_c_werror_flag" ||
18239 test ! -s conftest.err
18240 } && test -s conftest.$ac_objext; then
18241 ac_cv_member_struct_ff_effect_direction=yes
18242 else
18243 echo "$as_me: failed program was:" >&5
18244 sed 's/^/| /' conftest.$ac_ext >&5
18246 cat >conftest.$ac_ext <<_ACEOF
18247 /* confdefs.h. */
18248 _ACEOF
18249 cat confdefs.h >>conftest.$ac_ext
18250 cat >>conftest.$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18252 #ifdef HAVE_LINUX_INPUT_H
18253 #include <linux/input.h>
18254 #endif
18257 main ()
18259 static struct ff_effect ac_aggr;
18260 if (sizeof ac_aggr.direction)
18261 return 0;
18263 return 0;
18265 _ACEOF
18266 rm -f conftest.$ac_objext
18267 if { (ac_try="$ac_compile"
18268 case "(($ac_try" in
18269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18270 *) ac_try_echo=$ac_try;;
18271 esac
18272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18273 (eval "$ac_compile") 2>conftest.er1
18274 ac_status=$?
18275 grep -v '^ *+' conftest.er1 >conftest.err
18276 rm -f conftest.er1
18277 cat conftest.err >&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); } && {
18280 test -z "$ac_c_werror_flag" ||
18281 test ! -s conftest.err
18282 } && test -s conftest.$ac_objext; then
18283 ac_cv_member_struct_ff_effect_direction=yes
18284 else
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.$ac_ext >&5
18288 ac_cv_member_struct_ff_effect_direction=no
18291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18297 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18298 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18300 cat >>confdefs.h <<_ACEOF
18301 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18302 _ACEOF
18308 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18309 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18310 if test "${wine_cv_have_sigaddset+set}" = set; then
18311 echo $ECHO_N "(cached) $ECHO_C" >&6
18312 else
18313 cat >conftest.$ac_ext <<_ACEOF
18314 /* confdefs.h. */
18315 _ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 #include <signal.h>
18321 main ()
18323 sigset_t set; sigaddset(&set,SIGTERM);
18325 return 0;
18327 _ACEOF
18328 rm -f conftest.$ac_objext conftest$ac_exeext
18329 if { (ac_try="$ac_link"
18330 case "(($ac_try" in
18331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18332 *) ac_try_echo=$ac_try;;
18333 esac
18334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18335 (eval "$ac_link") 2>conftest.er1
18336 ac_status=$?
18337 grep -v '^ *+' conftest.er1 >conftest.err
18338 rm -f conftest.er1
18339 cat conftest.err >&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } && {
18342 test -z "$ac_c_werror_flag" ||
18343 test ! -s conftest.err
18344 } && test -s conftest$ac_exeext &&
18345 $as_test_x conftest$ac_exeext; then
18346 wine_cv_have_sigaddset=yes
18347 else
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18351 wine_cv_have_sigaddset=no
18354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18355 conftest$ac_exeext conftest.$ac_ext
18357 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18358 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18359 if test "$wine_cv_have_sigaddset" = "yes"
18360 then
18362 cat >>confdefs.h <<\_ACEOF
18363 #define HAVE_SIGADDSET 1
18364 _ACEOF
18369 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18370 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18371 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18372 echo $ECHO_N "(cached) $ECHO_C" >&6
18373 else
18374 cat >conftest.$ac_ext <<_ACEOF
18375 /* confdefs.h. */
18376 _ACEOF
18377 cat confdefs.h >>conftest.$ac_ext
18378 cat >>conftest.$ac_ext <<_ACEOF
18379 /* end confdefs.h. */
18380 #include <netdb.h>
18382 main ()
18385 char *name=0;
18386 struct hostent he;
18387 struct hostent *result;
18388 char *buf=0;
18389 int bufsize=0;
18390 int res,errnr;
18391 char *addr=0;
18392 int addrlen=0;
18393 int addrtype=0;
18394 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18395 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18398 return 0;
18400 _ACEOF
18401 rm -f conftest.$ac_objext conftest$ac_exeext
18402 if { (ac_try="$ac_link"
18403 case "(($ac_try" in
18404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;;
18406 esac
18407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18408 (eval "$ac_link") 2>conftest.er1
18409 ac_status=$?
18410 grep -v '^ *+' conftest.er1 >conftest.err
18411 rm -f conftest.er1
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } && {
18415 test -z "$ac_c_werror_flag" ||
18416 test ! -s conftest.err
18417 } && test -s conftest$ac_exeext &&
18418 $as_test_x conftest$ac_exeext; then
18419 wine_cv_linux_gethostbyname_r_6=yes
18420 else
18421 echo "$as_me: failed program was:" >&5
18422 sed 's/^/| /' conftest.$ac_ext >&5
18424 wine_cv_linux_gethostbyname_r_6=no
18428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18429 conftest$ac_exeext conftest.$ac_ext
18432 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18433 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18434 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18435 then
18437 cat >>confdefs.h <<\_ACEOF
18438 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18439 _ACEOF
18443 if test "$ac_cv_header_linux_joystick_h" = "yes"
18444 then
18445 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18446 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18447 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18448 echo $ECHO_N "(cached) $ECHO_C" >&6
18449 else
18450 cat >conftest.$ac_ext <<_ACEOF
18451 /* confdefs.h. */
18452 _ACEOF
18453 cat confdefs.h >>conftest.$ac_ext
18454 cat >>conftest.$ac_ext <<_ACEOF
18455 /* end confdefs.h. */
18457 #include <sys/ioctl.h>
18458 #include <sys/types.h>
18459 #include <linux/joystick.h>
18461 struct js_event blub;
18462 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18463 #error "no 2.2 header"
18464 #endif
18467 main ()
18469 /*empty*/
18471 return 0;
18473 _ACEOF
18474 rm -f conftest.$ac_objext
18475 if { (ac_try="$ac_compile"
18476 case "(($ac_try" in
18477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18478 *) ac_try_echo=$ac_try;;
18479 esac
18480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_compile") 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } && {
18488 test -z "$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18490 } && test -s conftest.$ac_objext; then
18491 wine_cv_linux_joystick_22_api=yes
18492 else
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18496 wine_cv_linux_joystick_22_api=no
18499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18502 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18503 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18504 if test "$wine_cv_linux_joystick_22_api" = "yes"
18505 then
18507 cat >>confdefs.h <<\_ACEOF
18508 #define HAVE_LINUX_22_JOYSTICK_API 1
18509 _ACEOF
18515 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18516 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18517 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 else
18520 cat >conftest.$ac_ext <<_ACEOF
18521 /* confdefs.h. */
18522 _ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18526 #include <sys/types.h>
18527 #ifdef HAVE_SYS_PARAM_H
18528 # include <sys/param.h>
18529 #endif
18530 #ifdef HAVE_SYS_MOUNT_H
18531 # include <sys/mount.h>
18532 #endif
18533 #ifdef HAVE_SYS_VFS_H
18534 # include <sys/vfs.h>
18535 #endif
18536 #ifdef HAVE_SYS_STATFS_H
18537 # include <sys/statfs.h>
18538 #endif
18541 main ()
18543 static struct statfs ac_aggr;
18544 if (ac_aggr.f_bfree)
18545 return 0;
18547 return 0;
18549 _ACEOF
18550 rm -f conftest.$ac_objext
18551 if { (ac_try="$ac_compile"
18552 case "(($ac_try" in
18553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18554 *) ac_try_echo=$ac_try;;
18555 esac
18556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18557 (eval "$ac_compile") 2>conftest.er1
18558 ac_status=$?
18559 grep -v '^ *+' conftest.er1 >conftest.err
18560 rm -f conftest.er1
18561 cat conftest.err >&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } && {
18564 test -z "$ac_c_werror_flag" ||
18565 test ! -s conftest.err
18566 } && test -s conftest.$ac_objext; then
18567 ac_cv_member_struct_statfs_f_bfree=yes
18568 else
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.$ac_ext >&5
18572 cat >conftest.$ac_ext <<_ACEOF
18573 /* confdefs.h. */
18574 _ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 #include <sys/types.h>
18579 #ifdef HAVE_SYS_PARAM_H
18580 # include <sys/param.h>
18581 #endif
18582 #ifdef HAVE_SYS_MOUNT_H
18583 # include <sys/mount.h>
18584 #endif
18585 #ifdef HAVE_SYS_VFS_H
18586 # include <sys/vfs.h>
18587 #endif
18588 #ifdef HAVE_SYS_STATFS_H
18589 # include <sys/statfs.h>
18590 #endif
18593 main ()
18595 static struct statfs ac_aggr;
18596 if (sizeof ac_aggr.f_bfree)
18597 return 0;
18599 return 0;
18601 _ACEOF
18602 rm -f conftest.$ac_objext
18603 if { (ac_try="$ac_compile"
18604 case "(($ac_try" in
18605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18606 *) ac_try_echo=$ac_try;;
18607 esac
18608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18609 (eval "$ac_compile") 2>conftest.er1
18610 ac_status=$?
18611 grep -v '^ *+' conftest.er1 >conftest.err
18612 rm -f conftest.er1
18613 cat conftest.err >&5
18614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 (exit $ac_status); } && {
18616 test -z "$ac_c_werror_flag" ||
18617 test ! -s conftest.err
18618 } && test -s conftest.$ac_objext; then
18619 ac_cv_member_struct_statfs_f_bfree=yes
18620 else
18621 echo "$as_me: failed program was:" >&5
18622 sed 's/^/| /' conftest.$ac_ext >&5
18624 ac_cv_member_struct_statfs_f_bfree=no
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18632 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18633 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18634 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18636 cat >>confdefs.h <<_ACEOF
18637 #define HAVE_STRUCT_STATFS_F_BFREE 1
18638 _ACEOF
18642 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18643 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18644 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18646 else
18647 cat >conftest.$ac_ext <<_ACEOF
18648 /* confdefs.h. */
18649 _ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 #include <sys/types.h>
18654 #ifdef HAVE_SYS_PARAM_H
18655 # include <sys/param.h>
18656 #endif
18657 #ifdef HAVE_SYS_MOUNT_H
18658 # include <sys/mount.h>
18659 #endif
18660 #ifdef HAVE_SYS_VFS_H
18661 # include <sys/vfs.h>
18662 #endif
18663 #ifdef HAVE_SYS_STATFS_H
18664 # include <sys/statfs.h>
18665 #endif
18668 main ()
18670 static struct statfs ac_aggr;
18671 if (ac_aggr.f_bavail)
18672 return 0;
18674 return 0;
18676 _ACEOF
18677 rm -f conftest.$ac_objext
18678 if { (ac_try="$ac_compile"
18679 case "(($ac_try" in
18680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18681 *) ac_try_echo=$ac_try;;
18682 esac
18683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18684 (eval "$ac_compile") 2>conftest.er1
18685 ac_status=$?
18686 grep -v '^ *+' conftest.er1 >conftest.err
18687 rm -f conftest.er1
18688 cat conftest.err >&5
18689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18690 (exit $ac_status); } && {
18691 test -z "$ac_c_werror_flag" ||
18692 test ! -s conftest.err
18693 } && test -s conftest.$ac_objext; then
18694 ac_cv_member_struct_statfs_f_bavail=yes
18695 else
18696 echo "$as_me: failed program was:" >&5
18697 sed 's/^/| /' conftest.$ac_ext >&5
18699 cat >conftest.$ac_ext <<_ACEOF
18700 /* confdefs.h. */
18701 _ACEOF
18702 cat confdefs.h >>conftest.$ac_ext
18703 cat >>conftest.$ac_ext <<_ACEOF
18704 /* end confdefs.h. */
18705 #include <sys/types.h>
18706 #ifdef HAVE_SYS_PARAM_H
18707 # include <sys/param.h>
18708 #endif
18709 #ifdef HAVE_SYS_MOUNT_H
18710 # include <sys/mount.h>
18711 #endif
18712 #ifdef HAVE_SYS_VFS_H
18713 # include <sys/vfs.h>
18714 #endif
18715 #ifdef HAVE_SYS_STATFS_H
18716 # include <sys/statfs.h>
18717 #endif
18720 main ()
18722 static struct statfs ac_aggr;
18723 if (sizeof ac_aggr.f_bavail)
18724 return 0;
18726 return 0;
18728 _ACEOF
18729 rm -f conftest.$ac_objext
18730 if { (ac_try="$ac_compile"
18731 case "(($ac_try" in
18732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18733 *) ac_try_echo=$ac_try;;
18734 esac
18735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18736 (eval "$ac_compile") 2>conftest.er1
18737 ac_status=$?
18738 grep -v '^ *+' conftest.er1 >conftest.err
18739 rm -f conftest.er1
18740 cat conftest.err >&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); } && {
18743 test -z "$ac_c_werror_flag" ||
18744 test ! -s conftest.err
18745 } && test -s conftest.$ac_objext; then
18746 ac_cv_member_struct_statfs_f_bavail=yes
18747 else
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18751 ac_cv_member_struct_statfs_f_bavail=no
18754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18759 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18760 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18761 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18763 cat >>confdefs.h <<_ACEOF
18764 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18765 _ACEOF
18769 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18770 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18771 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18772 echo $ECHO_N "(cached) $ECHO_C" >&6
18773 else
18774 cat >conftest.$ac_ext <<_ACEOF
18775 /* confdefs.h. */
18776 _ACEOF
18777 cat confdefs.h >>conftest.$ac_ext
18778 cat >>conftest.$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 #include <sys/types.h>
18781 #ifdef HAVE_SYS_PARAM_H
18782 # include <sys/param.h>
18783 #endif
18784 #ifdef HAVE_SYS_MOUNT_H
18785 # include <sys/mount.h>
18786 #endif
18787 #ifdef HAVE_SYS_VFS_H
18788 # include <sys/vfs.h>
18789 #endif
18790 #ifdef HAVE_SYS_STATFS_H
18791 # include <sys/statfs.h>
18792 #endif
18795 main ()
18797 static struct statfs ac_aggr;
18798 if (ac_aggr.f_frsize)
18799 return 0;
18801 return 0;
18803 _ACEOF
18804 rm -f conftest.$ac_objext
18805 if { (ac_try="$ac_compile"
18806 case "(($ac_try" in
18807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18808 *) ac_try_echo=$ac_try;;
18809 esac
18810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18811 (eval "$ac_compile") 2>conftest.er1
18812 ac_status=$?
18813 grep -v '^ *+' conftest.er1 >conftest.err
18814 rm -f conftest.er1
18815 cat conftest.err >&5
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); } && {
18818 test -z "$ac_c_werror_flag" ||
18819 test ! -s conftest.err
18820 } && test -s conftest.$ac_objext; then
18821 ac_cv_member_struct_statfs_f_frsize=yes
18822 else
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.$ac_ext >&5
18826 cat >conftest.$ac_ext <<_ACEOF
18827 /* confdefs.h. */
18828 _ACEOF
18829 cat confdefs.h >>conftest.$ac_ext
18830 cat >>conftest.$ac_ext <<_ACEOF
18831 /* end confdefs.h. */
18832 #include <sys/types.h>
18833 #ifdef HAVE_SYS_PARAM_H
18834 # include <sys/param.h>
18835 #endif
18836 #ifdef HAVE_SYS_MOUNT_H
18837 # include <sys/mount.h>
18838 #endif
18839 #ifdef HAVE_SYS_VFS_H
18840 # include <sys/vfs.h>
18841 #endif
18842 #ifdef HAVE_SYS_STATFS_H
18843 # include <sys/statfs.h>
18844 #endif
18847 main ()
18849 static struct statfs ac_aggr;
18850 if (sizeof ac_aggr.f_frsize)
18851 return 0;
18853 return 0;
18855 _ACEOF
18856 rm -f conftest.$ac_objext
18857 if { (ac_try="$ac_compile"
18858 case "(($ac_try" in
18859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18860 *) ac_try_echo=$ac_try;;
18861 esac
18862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18863 (eval "$ac_compile") 2>conftest.er1
18864 ac_status=$?
18865 grep -v '^ *+' conftest.er1 >conftest.err
18866 rm -f conftest.er1
18867 cat conftest.err >&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); } && {
18870 test -z "$ac_c_werror_flag" ||
18871 test ! -s conftest.err
18872 } && test -s conftest.$ac_objext; then
18873 ac_cv_member_struct_statfs_f_frsize=yes
18874 else
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.$ac_ext >&5
18878 ac_cv_member_struct_statfs_f_frsize=no
18881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18886 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18887 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18888 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18890 cat >>confdefs.h <<_ACEOF
18891 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18892 _ACEOF
18896 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18897 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18898 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901 cat >conftest.$ac_ext <<_ACEOF
18902 /* confdefs.h. */
18903 _ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 #include <sys/types.h>
18908 #ifdef HAVE_SYS_PARAM_H
18909 # include <sys/param.h>
18910 #endif
18911 #ifdef HAVE_SYS_MOUNT_H
18912 # include <sys/mount.h>
18913 #endif
18914 #ifdef HAVE_SYS_VFS_H
18915 # include <sys/vfs.h>
18916 #endif
18917 #ifdef HAVE_SYS_STATFS_H
18918 # include <sys/statfs.h>
18919 #endif
18922 main ()
18924 static struct statfs ac_aggr;
18925 if (ac_aggr.f_ffree)
18926 return 0;
18928 return 0;
18930 _ACEOF
18931 rm -f conftest.$ac_objext
18932 if { (ac_try="$ac_compile"
18933 case "(($ac_try" in
18934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18935 *) ac_try_echo=$ac_try;;
18936 esac
18937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18938 (eval "$ac_compile") 2>conftest.er1
18939 ac_status=$?
18940 grep -v '^ *+' conftest.er1 >conftest.err
18941 rm -f conftest.er1
18942 cat conftest.err >&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); } && {
18945 test -z "$ac_c_werror_flag" ||
18946 test ! -s conftest.err
18947 } && test -s conftest.$ac_objext; then
18948 ac_cv_member_struct_statfs_f_ffree=yes
18949 else
18950 echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.$ac_ext >&5
18953 cat >conftest.$ac_ext <<_ACEOF
18954 /* confdefs.h. */
18955 _ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 #include <sys/types.h>
18960 #ifdef HAVE_SYS_PARAM_H
18961 # include <sys/param.h>
18962 #endif
18963 #ifdef HAVE_SYS_MOUNT_H
18964 # include <sys/mount.h>
18965 #endif
18966 #ifdef HAVE_SYS_VFS_H
18967 # include <sys/vfs.h>
18968 #endif
18969 #ifdef HAVE_SYS_STATFS_H
18970 # include <sys/statfs.h>
18971 #endif
18974 main ()
18976 static struct statfs ac_aggr;
18977 if (sizeof ac_aggr.f_ffree)
18978 return 0;
18980 return 0;
18982 _ACEOF
18983 rm -f conftest.$ac_objext
18984 if { (ac_try="$ac_compile"
18985 case "(($ac_try" in
18986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18987 *) ac_try_echo=$ac_try;;
18988 esac
18989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18990 (eval "$ac_compile") 2>conftest.er1
18991 ac_status=$?
18992 grep -v '^ *+' conftest.er1 >conftest.err
18993 rm -f conftest.er1
18994 cat conftest.err >&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } && {
18997 test -z "$ac_c_werror_flag" ||
18998 test ! -s conftest.err
18999 } && test -s conftest.$ac_objext; then
19000 ac_cv_member_struct_statfs_f_ffree=yes
19001 else
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19005 ac_cv_member_struct_statfs_f_ffree=no
19008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19013 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19014 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19015 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19017 cat >>confdefs.h <<_ACEOF
19018 #define HAVE_STRUCT_STATFS_F_FFREE 1
19019 _ACEOF
19023 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19024 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19025 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19027 else
19028 cat >conftest.$ac_ext <<_ACEOF
19029 /* confdefs.h. */
19030 _ACEOF
19031 cat confdefs.h >>conftest.$ac_ext
19032 cat >>conftest.$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19034 #include <sys/types.h>
19035 #ifdef HAVE_SYS_PARAM_H
19036 # include <sys/param.h>
19037 #endif
19038 #ifdef HAVE_SYS_MOUNT_H
19039 # include <sys/mount.h>
19040 #endif
19041 #ifdef HAVE_SYS_VFS_H
19042 # include <sys/vfs.h>
19043 #endif
19044 #ifdef HAVE_SYS_STATFS_H
19045 # include <sys/statfs.h>
19046 #endif
19049 main ()
19051 static struct statfs ac_aggr;
19052 if (ac_aggr.f_favail)
19053 return 0;
19055 return 0;
19057 _ACEOF
19058 rm -f conftest.$ac_objext
19059 if { (ac_try="$ac_compile"
19060 case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19063 esac
19064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_compile") 2>conftest.er1
19066 ac_status=$?
19067 grep -v '^ *+' conftest.er1 >conftest.err
19068 rm -f conftest.er1
19069 cat conftest.err >&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); } && {
19072 test -z "$ac_c_werror_flag" ||
19073 test ! -s conftest.err
19074 } && test -s conftest.$ac_objext; then
19075 ac_cv_member_struct_statfs_f_favail=yes
19076 else
19077 echo "$as_me: failed program was:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19080 cat >conftest.$ac_ext <<_ACEOF
19081 /* confdefs.h. */
19082 _ACEOF
19083 cat confdefs.h >>conftest.$ac_ext
19084 cat >>conftest.$ac_ext <<_ACEOF
19085 /* end confdefs.h. */
19086 #include <sys/types.h>
19087 #ifdef HAVE_SYS_PARAM_H
19088 # include <sys/param.h>
19089 #endif
19090 #ifdef HAVE_SYS_MOUNT_H
19091 # include <sys/mount.h>
19092 #endif
19093 #ifdef HAVE_SYS_VFS_H
19094 # include <sys/vfs.h>
19095 #endif
19096 #ifdef HAVE_SYS_STATFS_H
19097 # include <sys/statfs.h>
19098 #endif
19101 main ()
19103 static struct statfs ac_aggr;
19104 if (sizeof ac_aggr.f_favail)
19105 return 0;
19107 return 0;
19109 _ACEOF
19110 rm -f conftest.$ac_objext
19111 if { (ac_try="$ac_compile"
19112 case "(($ac_try" in
19113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19114 *) ac_try_echo=$ac_try;;
19115 esac
19116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19117 (eval "$ac_compile") 2>conftest.er1
19118 ac_status=$?
19119 grep -v '^ *+' conftest.er1 >conftest.err
19120 rm -f conftest.er1
19121 cat conftest.err >&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); } && {
19124 test -z "$ac_c_werror_flag" ||
19125 test ! -s conftest.err
19126 } && test -s conftest.$ac_objext; then
19127 ac_cv_member_struct_statfs_f_favail=yes
19128 else
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.$ac_ext >&5
19132 ac_cv_member_struct_statfs_f_favail=no
19135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19140 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19141 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19142 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19144 cat >>confdefs.h <<_ACEOF
19145 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19146 _ACEOF
19150 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19151 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19152 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 else
19155 cat >conftest.$ac_ext <<_ACEOF
19156 /* confdefs.h. */
19157 _ACEOF
19158 cat confdefs.h >>conftest.$ac_ext
19159 cat >>conftest.$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 #include <sys/types.h>
19162 #ifdef HAVE_SYS_PARAM_H
19163 # include <sys/param.h>
19164 #endif
19165 #ifdef HAVE_SYS_MOUNT_H
19166 # include <sys/mount.h>
19167 #endif
19168 #ifdef HAVE_SYS_VFS_H
19169 # include <sys/vfs.h>
19170 #endif
19171 #ifdef HAVE_SYS_STATFS_H
19172 # include <sys/statfs.h>
19173 #endif
19176 main ()
19178 static struct statfs ac_aggr;
19179 if (ac_aggr.f_namelen)
19180 return 0;
19182 return 0;
19184 _ACEOF
19185 rm -f conftest.$ac_objext
19186 if { (ac_try="$ac_compile"
19187 case "(($ac_try" in
19188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19189 *) ac_try_echo=$ac_try;;
19190 esac
19191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19192 (eval "$ac_compile") 2>conftest.er1
19193 ac_status=$?
19194 grep -v '^ *+' conftest.er1 >conftest.err
19195 rm -f conftest.er1
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } && {
19199 test -z "$ac_c_werror_flag" ||
19200 test ! -s conftest.err
19201 } && test -s conftest.$ac_objext; then
19202 ac_cv_member_struct_statfs_f_namelen=yes
19203 else
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19207 cat >conftest.$ac_ext <<_ACEOF
19208 /* confdefs.h. */
19209 _ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19213 #include <sys/types.h>
19214 #ifdef HAVE_SYS_PARAM_H
19215 # include <sys/param.h>
19216 #endif
19217 #ifdef HAVE_SYS_MOUNT_H
19218 # include <sys/mount.h>
19219 #endif
19220 #ifdef HAVE_SYS_VFS_H
19221 # include <sys/vfs.h>
19222 #endif
19223 #ifdef HAVE_SYS_STATFS_H
19224 # include <sys/statfs.h>
19225 #endif
19228 main ()
19230 static struct statfs ac_aggr;
19231 if (sizeof ac_aggr.f_namelen)
19232 return 0;
19234 return 0;
19236 _ACEOF
19237 rm -f conftest.$ac_objext
19238 if { (ac_try="$ac_compile"
19239 case "(($ac_try" in
19240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19241 *) ac_try_echo=$ac_try;;
19242 esac
19243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19244 (eval "$ac_compile") 2>conftest.er1
19245 ac_status=$?
19246 grep -v '^ *+' conftest.er1 >conftest.err
19247 rm -f conftest.er1
19248 cat conftest.err >&5
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); } && {
19251 test -z "$ac_c_werror_flag" ||
19252 test ! -s conftest.err
19253 } && test -s conftest.$ac_objext; then
19254 ac_cv_member_struct_statfs_f_namelen=yes
19255 else
19256 echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.$ac_ext >&5
19259 ac_cv_member_struct_statfs_f_namelen=no
19262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19267 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19268 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19269 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19273 _ACEOF
19279 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19280 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19281 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19282 echo $ECHO_N "(cached) $ECHO_C" >&6
19283 else
19284 cat >conftest.$ac_ext <<_ACEOF
19285 /* confdefs.h. */
19286 _ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290 #ifdef HAVE_SYS_STATVFS_H
19291 #include <sys/statvfs.h>
19292 #endif
19295 main ()
19297 static struct statvfs ac_aggr;
19298 if (ac_aggr.f_blocks)
19299 return 0;
19301 return 0;
19303 _ACEOF
19304 rm -f conftest.$ac_objext
19305 if { (ac_try="$ac_compile"
19306 case "(($ac_try" in
19307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19308 *) ac_try_echo=$ac_try;;
19309 esac
19310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_compile") 2>conftest.er1
19312 ac_status=$?
19313 grep -v '^ *+' conftest.er1 >conftest.err
19314 rm -f conftest.er1
19315 cat conftest.err >&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); } && {
19318 test -z "$ac_c_werror_flag" ||
19319 test ! -s conftest.err
19320 } && test -s conftest.$ac_objext; then
19321 ac_cv_member_struct_statvfs_f_blocks=yes
19322 else
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19326 cat >conftest.$ac_ext <<_ACEOF
19327 /* confdefs.h. */
19328 _ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 #ifdef HAVE_SYS_STATVFS_H
19333 #include <sys/statvfs.h>
19334 #endif
19337 main ()
19339 static struct statvfs ac_aggr;
19340 if (sizeof ac_aggr.f_blocks)
19341 return 0;
19343 return 0;
19345 _ACEOF
19346 rm -f conftest.$ac_objext
19347 if { (ac_try="$ac_compile"
19348 case "(($ac_try" in
19349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19350 *) ac_try_echo=$ac_try;;
19351 esac
19352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19353 (eval "$ac_compile") 2>conftest.er1
19354 ac_status=$?
19355 grep -v '^ *+' conftest.er1 >conftest.err
19356 rm -f conftest.er1
19357 cat conftest.err >&5
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); } && {
19360 test -z "$ac_c_werror_flag" ||
19361 test ! -s conftest.err
19362 } && test -s conftest.$ac_objext; then
19363 ac_cv_member_struct_statvfs_f_blocks=yes
19364 else
19365 echo "$as_me: failed program was:" >&5
19366 sed 's/^/| /' conftest.$ac_ext >&5
19368 ac_cv_member_struct_statvfs_f_blocks=no
19371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19376 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19377 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19378 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19380 cat >>confdefs.h <<_ACEOF
19381 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19382 _ACEOF
19388 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19389 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19390 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19391 echo $ECHO_N "(cached) $ECHO_C" >&6
19392 else
19393 cat >conftest.$ac_ext <<_ACEOF
19394 /* confdefs.h. */
19395 _ACEOF
19396 cat confdefs.h >>conftest.$ac_ext
19397 cat >>conftest.$ac_ext <<_ACEOF
19398 /* end confdefs.h. */
19399 #include <sys/types.h>
19400 #ifdef HAVE_SYS_SOCKET_H
19401 # include <sys/socket.h>
19402 #endif
19403 #ifdef HAVE_SYS_UN_H
19404 # include <sys/un.h>
19405 #endif
19408 main ()
19410 static struct msghdr ac_aggr;
19411 if (ac_aggr.msg_accrights)
19412 return 0;
19414 return 0;
19416 _ACEOF
19417 rm -f conftest.$ac_objext
19418 if { (ac_try="$ac_compile"
19419 case "(($ac_try" in
19420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19421 *) ac_try_echo=$ac_try;;
19422 esac
19423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19424 (eval "$ac_compile") 2>conftest.er1
19425 ac_status=$?
19426 grep -v '^ *+' conftest.er1 >conftest.err
19427 rm -f conftest.er1
19428 cat conftest.err >&5
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); } && {
19431 test -z "$ac_c_werror_flag" ||
19432 test ! -s conftest.err
19433 } && test -s conftest.$ac_objext; then
19434 ac_cv_member_struct_msghdr_msg_accrights=yes
19435 else
19436 echo "$as_me: failed program was:" >&5
19437 sed 's/^/| /' conftest.$ac_ext >&5
19439 cat >conftest.$ac_ext <<_ACEOF
19440 /* confdefs.h. */
19441 _ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 #include <sys/types.h>
19446 #ifdef HAVE_SYS_SOCKET_H
19447 # include <sys/socket.h>
19448 #endif
19449 #ifdef HAVE_SYS_UN_H
19450 # include <sys/un.h>
19451 #endif
19454 main ()
19456 static struct msghdr ac_aggr;
19457 if (sizeof ac_aggr.msg_accrights)
19458 return 0;
19460 return 0;
19462 _ACEOF
19463 rm -f conftest.$ac_objext
19464 if { (ac_try="$ac_compile"
19465 case "(($ac_try" in
19466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19467 *) ac_try_echo=$ac_try;;
19468 esac
19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_compile") 2>conftest.er1
19471 ac_status=$?
19472 grep -v '^ *+' conftest.er1 >conftest.err
19473 rm -f conftest.er1
19474 cat conftest.err >&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && {
19477 test -z "$ac_c_werror_flag" ||
19478 test ! -s conftest.err
19479 } && test -s conftest.$ac_objext; then
19480 ac_cv_member_struct_msghdr_msg_accrights=yes
19481 else
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19485 ac_cv_member_struct_msghdr_msg_accrights=no
19488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19493 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19494 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19495 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19497 cat >>confdefs.h <<_ACEOF
19498 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19499 _ACEOF
19503 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19504 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19505 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19506 echo $ECHO_N "(cached) $ECHO_C" >&6
19507 else
19508 cat >conftest.$ac_ext <<_ACEOF
19509 /* confdefs.h. */
19510 _ACEOF
19511 cat confdefs.h >>conftest.$ac_ext
19512 cat >>conftest.$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19514 #include <sys/types.h>
19515 #ifdef HAVE_SYS_SOCKET_H
19516 # include <sys/socket.h>
19517 #endif
19518 #ifdef HAVE_SYS_UN_H
19519 # include <sys/un.h>
19520 #endif
19523 main ()
19525 static struct sockaddr ac_aggr;
19526 if (ac_aggr.sa_len)
19527 return 0;
19529 return 0;
19531 _ACEOF
19532 rm -f conftest.$ac_objext
19533 if { (ac_try="$ac_compile"
19534 case "(($ac_try" in
19535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19536 *) ac_try_echo=$ac_try;;
19537 esac
19538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19539 (eval "$ac_compile") 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } && {
19546 test -z "$ac_c_werror_flag" ||
19547 test ! -s conftest.err
19548 } && test -s conftest.$ac_objext; then
19549 ac_cv_member_struct_sockaddr_sa_len=yes
19550 else
19551 echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19554 cat >conftest.$ac_ext <<_ACEOF
19555 /* confdefs.h. */
19556 _ACEOF
19557 cat confdefs.h >>conftest.$ac_ext
19558 cat >>conftest.$ac_ext <<_ACEOF
19559 /* end confdefs.h. */
19560 #include <sys/types.h>
19561 #ifdef HAVE_SYS_SOCKET_H
19562 # include <sys/socket.h>
19563 #endif
19564 #ifdef HAVE_SYS_UN_H
19565 # include <sys/un.h>
19566 #endif
19569 main ()
19571 static struct sockaddr ac_aggr;
19572 if (sizeof ac_aggr.sa_len)
19573 return 0;
19575 return 0;
19577 _ACEOF
19578 rm -f conftest.$ac_objext
19579 if { (ac_try="$ac_compile"
19580 case "(($ac_try" in
19581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19582 *) ac_try_echo=$ac_try;;
19583 esac
19584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19585 (eval "$ac_compile") 2>conftest.er1
19586 ac_status=$?
19587 grep -v '^ *+' conftest.er1 >conftest.err
19588 rm -f conftest.er1
19589 cat conftest.err >&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); } && {
19592 test -z "$ac_c_werror_flag" ||
19593 test ! -s conftest.err
19594 } && test -s conftest.$ac_objext; then
19595 ac_cv_member_struct_sockaddr_sa_len=yes
19596 else
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19600 ac_cv_member_struct_sockaddr_sa_len=no
19603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19608 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19609 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19610 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19612 cat >>confdefs.h <<_ACEOF
19613 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19614 _ACEOF
19618 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19619 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19620 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 else
19623 cat >conftest.$ac_ext <<_ACEOF
19624 /* confdefs.h. */
19625 _ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 #include <sys/types.h>
19630 #ifdef HAVE_SYS_SOCKET_H
19631 # include <sys/socket.h>
19632 #endif
19633 #ifdef HAVE_SYS_UN_H
19634 # include <sys/un.h>
19635 #endif
19638 main ()
19640 static struct sockaddr_un ac_aggr;
19641 if (ac_aggr.sun_len)
19642 return 0;
19644 return 0;
19646 _ACEOF
19647 rm -f conftest.$ac_objext
19648 if { (ac_try="$ac_compile"
19649 case "(($ac_try" in
19650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19651 *) ac_try_echo=$ac_try;;
19652 esac
19653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19654 (eval "$ac_compile") 2>conftest.er1
19655 ac_status=$?
19656 grep -v '^ *+' conftest.er1 >conftest.err
19657 rm -f conftest.er1
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } && {
19661 test -z "$ac_c_werror_flag" ||
19662 test ! -s conftest.err
19663 } && test -s conftest.$ac_objext; then
19664 ac_cv_member_struct_sockaddr_un_sun_len=yes
19665 else
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19669 cat >conftest.$ac_ext <<_ACEOF
19670 /* confdefs.h. */
19671 _ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 #include <sys/types.h>
19676 #ifdef HAVE_SYS_SOCKET_H
19677 # include <sys/socket.h>
19678 #endif
19679 #ifdef HAVE_SYS_UN_H
19680 # include <sys/un.h>
19681 #endif
19684 main ()
19686 static struct sockaddr_un ac_aggr;
19687 if (sizeof ac_aggr.sun_len)
19688 return 0;
19690 return 0;
19692 _ACEOF
19693 rm -f conftest.$ac_objext
19694 if { (ac_try="$ac_compile"
19695 case "(($ac_try" in
19696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19697 *) ac_try_echo=$ac_try;;
19698 esac
19699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19700 (eval "$ac_compile") 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } && {
19707 test -z "$ac_c_werror_flag" ||
19708 test ! -s conftest.err
19709 } && test -s conftest.$ac_objext; then
19710 ac_cv_member_struct_sockaddr_un_sun_len=yes
19711 else
19712 echo "$as_me: failed program was:" >&5
19713 sed 's/^/| /' conftest.$ac_ext >&5
19715 ac_cv_member_struct_sockaddr_un_sun_len=no
19718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19723 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19724 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19725 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19727 cat >>confdefs.h <<_ACEOF
19728 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19729 _ACEOF
19735 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19736 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19737 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19738 echo $ECHO_N "(cached) $ECHO_C" >&6
19739 else
19740 cat >conftest.$ac_ext <<_ACEOF
19741 /* confdefs.h. */
19742 _ACEOF
19743 cat confdefs.h >>conftest.$ac_ext
19744 cat >>conftest.$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 #include <sys/types.h>
19747 #ifdef HAVE_SCSI_SG_H
19748 #include <scsi/sg.h>
19749 #endif
19752 main ()
19754 static scsireq_t ac_aggr;
19755 if (ac_aggr.cmd)
19756 return 0;
19758 return 0;
19760 _ACEOF
19761 rm -f conftest.$ac_objext
19762 if { (ac_try="$ac_compile"
19763 case "(($ac_try" in
19764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19765 *) ac_try_echo=$ac_try;;
19766 esac
19767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19768 (eval "$ac_compile") 2>conftest.er1
19769 ac_status=$?
19770 grep -v '^ *+' conftest.er1 >conftest.err
19771 rm -f conftest.er1
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } && {
19775 test -z "$ac_c_werror_flag" ||
19776 test ! -s conftest.err
19777 } && test -s conftest.$ac_objext; then
19778 ac_cv_member_scsireq_t_cmd=yes
19779 else
19780 echo "$as_me: failed program was:" >&5
19781 sed 's/^/| /' conftest.$ac_ext >&5
19783 cat >conftest.$ac_ext <<_ACEOF
19784 /* confdefs.h. */
19785 _ACEOF
19786 cat confdefs.h >>conftest.$ac_ext
19787 cat >>conftest.$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19789 #include <sys/types.h>
19790 #ifdef HAVE_SCSI_SG_H
19791 #include <scsi/sg.h>
19792 #endif
19795 main ()
19797 static scsireq_t ac_aggr;
19798 if (sizeof ac_aggr.cmd)
19799 return 0;
19801 return 0;
19803 _ACEOF
19804 rm -f conftest.$ac_objext
19805 if { (ac_try="$ac_compile"
19806 case "(($ac_try" in
19807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19808 *) ac_try_echo=$ac_try;;
19809 esac
19810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19811 (eval "$ac_compile") 2>conftest.er1
19812 ac_status=$?
19813 grep -v '^ *+' conftest.er1 >conftest.err
19814 rm -f conftest.er1
19815 cat conftest.err >&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } && {
19818 test -z "$ac_c_werror_flag" ||
19819 test ! -s conftest.err
19820 } && test -s conftest.$ac_objext; then
19821 ac_cv_member_scsireq_t_cmd=yes
19822 else
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.$ac_ext >&5
19826 ac_cv_member_scsireq_t_cmd=no
19829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19834 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19835 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19836 if test $ac_cv_member_scsireq_t_cmd = yes; then
19838 cat >>confdefs.h <<_ACEOF
19839 #define HAVE_SCSIREQ_T_CMD 1
19840 _ACEOF
19844 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19845 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19846 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19847 echo $ECHO_N "(cached) $ECHO_C" >&6
19848 else
19849 cat >conftest.$ac_ext <<_ACEOF
19850 /* confdefs.h. */
19851 _ACEOF
19852 cat confdefs.h >>conftest.$ac_ext
19853 cat >>conftest.$ac_ext <<_ACEOF
19854 /* end confdefs.h. */
19855 #include <sys/types.h>
19856 #ifdef HAVE_SCSI_SG_H
19857 #include <scsi/sg.h>
19858 #endif
19861 main ()
19863 static sg_io_hdr_t ac_aggr;
19864 if (ac_aggr.interface_id)
19865 return 0;
19867 return 0;
19869 _ACEOF
19870 rm -f conftest.$ac_objext
19871 if { (ac_try="$ac_compile"
19872 case "(($ac_try" in
19873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19874 *) ac_try_echo=$ac_try;;
19875 esac
19876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19877 (eval "$ac_compile") 2>conftest.er1
19878 ac_status=$?
19879 grep -v '^ *+' conftest.er1 >conftest.err
19880 rm -f conftest.er1
19881 cat conftest.err >&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); } && {
19884 test -z "$ac_c_werror_flag" ||
19885 test ! -s conftest.err
19886 } && test -s conftest.$ac_objext; then
19887 ac_cv_member_sg_io_hdr_t_interface_id=yes
19888 else
19889 echo "$as_me: failed program was:" >&5
19890 sed 's/^/| /' conftest.$ac_ext >&5
19892 cat >conftest.$ac_ext <<_ACEOF
19893 /* confdefs.h. */
19894 _ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 #include <sys/types.h>
19899 #ifdef HAVE_SCSI_SG_H
19900 #include <scsi/sg.h>
19901 #endif
19904 main ()
19906 static sg_io_hdr_t ac_aggr;
19907 if (sizeof ac_aggr.interface_id)
19908 return 0;
19910 return 0;
19912 _ACEOF
19913 rm -f conftest.$ac_objext
19914 if { (ac_try="$ac_compile"
19915 case "(($ac_try" in
19916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19917 *) ac_try_echo=$ac_try;;
19918 esac
19919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19920 (eval "$ac_compile") 2>conftest.er1
19921 ac_status=$?
19922 grep -v '^ *+' conftest.er1 >conftest.err
19923 rm -f conftest.er1
19924 cat conftest.err >&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } && {
19927 test -z "$ac_c_werror_flag" ||
19928 test ! -s conftest.err
19929 } && test -s conftest.$ac_objext; then
19930 ac_cv_member_sg_io_hdr_t_interface_id=yes
19931 else
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.$ac_ext >&5
19935 ac_cv_member_sg_io_hdr_t_interface_id=no
19938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19943 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19944 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19945 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19947 cat >>confdefs.h <<_ACEOF
19948 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19949 _ACEOF
19955 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19956 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19957 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19958 echo $ECHO_N "(cached) $ECHO_C" >&6
19959 else
19960 cat >conftest.$ac_ext <<_ACEOF
19961 /* confdefs.h. */
19962 _ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966 #include <signal.h>
19969 main ()
19971 static siginfo_t ac_aggr;
19972 if (ac_aggr.si_fd)
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_siginfo_t_si_fd=yes
19996 else
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.$ac_ext >&5
20000 cat >conftest.$ac_ext <<_ACEOF
20001 /* confdefs.h. */
20002 _ACEOF
20003 cat confdefs.h >>conftest.$ac_ext
20004 cat >>conftest.$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 #include <signal.h>
20009 main ()
20011 static siginfo_t ac_aggr;
20012 if (sizeof ac_aggr.si_fd)
20013 return 0;
20015 return 0;
20017 _ACEOF
20018 rm -f conftest.$ac_objext
20019 if { (ac_try="$ac_compile"
20020 case "(($ac_try" in
20021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20022 *) ac_try_echo=$ac_try;;
20023 esac
20024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20025 (eval "$ac_compile") 2>conftest.er1
20026 ac_status=$?
20027 grep -v '^ *+' conftest.er1 >conftest.err
20028 rm -f conftest.er1
20029 cat conftest.err >&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } && {
20032 test -z "$ac_c_werror_flag" ||
20033 test ! -s conftest.err
20034 } && test -s conftest.$ac_objext; then
20035 ac_cv_member_siginfo_t_si_fd=yes
20036 else
20037 echo "$as_me: failed program was:" >&5
20038 sed 's/^/| /' conftest.$ac_ext >&5
20040 ac_cv_member_siginfo_t_si_fd=no
20043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20048 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20049 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20050 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20052 cat >>confdefs.h <<_ACEOF
20053 #define HAVE_SIGINFO_T_SI_FD 1
20054 _ACEOF
20060 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20061 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20062 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20063 echo $ECHO_N "(cached) $ECHO_C" >&6
20064 else
20065 cat >conftest.$ac_ext <<_ACEOF
20066 /* confdefs.h. */
20067 _ACEOF
20068 cat confdefs.h >>conftest.$ac_ext
20069 cat >>conftest.$ac_ext <<_ACEOF
20070 /* end confdefs.h. */
20071 #include <sys/types.h>
20072 #ifdef HAVE_SYS_MTIO_H
20073 #include <sys/mtio.h>
20074 #endif
20077 main ()
20079 static struct mtget ac_aggr;
20080 if (ac_aggr.mt_blksiz)
20081 return 0;
20083 return 0;
20085 _ACEOF
20086 rm -f conftest.$ac_objext
20087 if { (ac_try="$ac_compile"
20088 case "(($ac_try" in
20089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20090 *) ac_try_echo=$ac_try;;
20091 esac
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_compile") 2>conftest.er1
20094 ac_status=$?
20095 grep -v '^ *+' conftest.er1 >conftest.err
20096 rm -f conftest.er1
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest.$ac_objext; then
20103 ac_cv_member_struct_mtget_mt_blksiz=yes
20104 else
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20108 cat >conftest.$ac_ext <<_ACEOF
20109 /* confdefs.h. */
20110 _ACEOF
20111 cat confdefs.h >>conftest.$ac_ext
20112 cat >>conftest.$ac_ext <<_ACEOF
20113 /* end confdefs.h. */
20114 #include <sys/types.h>
20115 #ifdef HAVE_SYS_MTIO_H
20116 #include <sys/mtio.h>
20117 #endif
20120 main ()
20122 static struct mtget ac_aggr;
20123 if (sizeof ac_aggr.mt_blksiz)
20124 return 0;
20126 return 0;
20128 _ACEOF
20129 rm -f conftest.$ac_objext
20130 if { (ac_try="$ac_compile"
20131 case "(($ac_try" in
20132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20133 *) ac_try_echo=$ac_try;;
20134 esac
20135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20136 (eval "$ac_compile") 2>conftest.er1
20137 ac_status=$?
20138 grep -v '^ *+' conftest.er1 >conftest.err
20139 rm -f conftest.er1
20140 cat conftest.err >&5
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); } && {
20143 test -z "$ac_c_werror_flag" ||
20144 test ! -s conftest.err
20145 } && test -s conftest.$ac_objext; then
20146 ac_cv_member_struct_mtget_mt_blksiz=yes
20147 else
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.$ac_ext >&5
20151 ac_cv_member_struct_mtget_mt_blksiz=no
20154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20159 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20160 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20161 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20163 cat >>confdefs.h <<_ACEOF
20164 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20165 _ACEOF
20169 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20170 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20171 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20172 echo $ECHO_N "(cached) $ECHO_C" >&6
20173 else
20174 cat >conftest.$ac_ext <<_ACEOF
20175 /* confdefs.h. */
20176 _ACEOF
20177 cat confdefs.h >>conftest.$ac_ext
20178 cat >>conftest.$ac_ext <<_ACEOF
20179 /* end confdefs.h. */
20180 #include <sys/types.h>
20181 #ifdef HAVE_SYS_MTIO_H
20182 #include <sys/mtio.h>
20183 #endif
20186 main ()
20188 static struct mtget ac_aggr;
20189 if (ac_aggr.mt_gstat)
20190 return 0;
20192 return 0;
20194 _ACEOF
20195 rm -f conftest.$ac_objext
20196 if { (ac_try="$ac_compile"
20197 case "(($ac_try" in
20198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20199 *) ac_try_echo=$ac_try;;
20200 esac
20201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20202 (eval "$ac_compile") 2>conftest.er1
20203 ac_status=$?
20204 grep -v '^ *+' conftest.er1 >conftest.err
20205 rm -f conftest.er1
20206 cat conftest.err >&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); } && {
20209 test -z "$ac_c_werror_flag" ||
20210 test ! -s conftest.err
20211 } && test -s conftest.$ac_objext; then
20212 ac_cv_member_struct_mtget_mt_gstat=yes
20213 else
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20217 cat >conftest.$ac_ext <<_ACEOF
20218 /* confdefs.h. */
20219 _ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 #include <sys/types.h>
20224 #ifdef HAVE_SYS_MTIO_H
20225 #include <sys/mtio.h>
20226 #endif
20229 main ()
20231 static struct mtget ac_aggr;
20232 if (sizeof ac_aggr.mt_gstat)
20233 return 0;
20235 return 0;
20237 _ACEOF
20238 rm -f conftest.$ac_objext
20239 if { (ac_try="$ac_compile"
20240 case "(($ac_try" in
20241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20242 *) ac_try_echo=$ac_try;;
20243 esac
20244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20245 (eval "$ac_compile") 2>conftest.er1
20246 ac_status=$?
20247 grep -v '^ *+' conftest.er1 >conftest.err
20248 rm -f conftest.er1
20249 cat conftest.err >&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); } && {
20252 test -z "$ac_c_werror_flag" ||
20253 test ! -s conftest.err
20254 } && test -s conftest.$ac_objext; then
20255 ac_cv_member_struct_mtget_mt_gstat=yes
20256 else
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.$ac_ext >&5
20260 ac_cv_member_struct_mtget_mt_gstat=no
20263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20268 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20269 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20270 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20272 cat >>confdefs.h <<_ACEOF
20273 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20274 _ACEOF
20278 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20279 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20280 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20281 echo $ECHO_N "(cached) $ECHO_C" >&6
20282 else
20283 cat >conftest.$ac_ext <<_ACEOF
20284 /* confdefs.h. */
20285 _ACEOF
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 #include <sys/types.h>
20290 #ifdef HAVE_SYS_MTIO_H
20291 #include <sys/mtio.h>
20292 #endif
20295 main ()
20297 static struct mtget ac_aggr;
20298 if (ac_aggr.mt_blkno)
20299 return 0;
20301 return 0;
20303 _ACEOF
20304 rm -f conftest.$ac_objext
20305 if { (ac_try="$ac_compile"
20306 case "(($ac_try" in
20307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20308 *) ac_try_echo=$ac_try;;
20309 esac
20310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20311 (eval "$ac_compile") 2>conftest.er1
20312 ac_status=$?
20313 grep -v '^ *+' conftest.er1 >conftest.err
20314 rm -f conftest.er1
20315 cat conftest.err >&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } && {
20318 test -z "$ac_c_werror_flag" ||
20319 test ! -s conftest.err
20320 } && test -s conftest.$ac_objext; then
20321 ac_cv_member_struct_mtget_mt_blkno=yes
20322 else
20323 echo "$as_me: failed program was:" >&5
20324 sed 's/^/| /' conftest.$ac_ext >&5
20326 cat >conftest.$ac_ext <<_ACEOF
20327 /* confdefs.h. */
20328 _ACEOF
20329 cat confdefs.h >>conftest.$ac_ext
20330 cat >>conftest.$ac_ext <<_ACEOF
20331 /* end confdefs.h. */
20332 #include <sys/types.h>
20333 #ifdef HAVE_SYS_MTIO_H
20334 #include <sys/mtio.h>
20335 #endif
20338 main ()
20340 static struct mtget ac_aggr;
20341 if (sizeof ac_aggr.mt_blkno)
20342 return 0;
20344 return 0;
20346 _ACEOF
20347 rm -f conftest.$ac_objext
20348 if { (ac_try="$ac_compile"
20349 case "(($ac_try" in
20350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20351 *) ac_try_echo=$ac_try;;
20352 esac
20353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20354 (eval "$ac_compile") 2>conftest.er1
20355 ac_status=$?
20356 grep -v '^ *+' conftest.er1 >conftest.err
20357 rm -f conftest.er1
20358 cat conftest.err >&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } && {
20361 test -z "$ac_c_werror_flag" ||
20362 test ! -s conftest.err
20363 } && test -s conftest.$ac_objext; then
20364 ac_cv_member_struct_mtget_mt_blkno=yes
20365 else
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20369 ac_cv_member_struct_mtget_mt_blkno=no
20372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20377 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20378 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20379 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20381 cat >>confdefs.h <<_ACEOF
20382 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20383 _ACEOF
20389 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20390 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20391 if test "${ac_cv_member_struct_option_name+set}" = set; then
20392 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 else
20394 cat >conftest.$ac_ext <<_ACEOF
20395 /* confdefs.h. */
20396 _ACEOF
20397 cat confdefs.h >>conftest.$ac_ext
20398 cat >>conftest.$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20400 #ifdef HAVE_GETOPT_H
20401 #include <getopt.h>
20402 #endif
20405 main ()
20407 static struct option ac_aggr;
20408 if (ac_aggr.name)
20409 return 0;
20411 return 0;
20413 _ACEOF
20414 rm -f conftest.$ac_objext
20415 if { (ac_try="$ac_compile"
20416 case "(($ac_try" in
20417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20418 *) ac_try_echo=$ac_try;;
20419 esac
20420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20421 (eval "$ac_compile") 2>conftest.er1
20422 ac_status=$?
20423 grep -v '^ *+' conftest.er1 >conftest.err
20424 rm -f conftest.er1
20425 cat conftest.err >&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } && {
20428 test -z "$ac_c_werror_flag" ||
20429 test ! -s conftest.err
20430 } && test -s conftest.$ac_objext; then
20431 ac_cv_member_struct_option_name=yes
20432 else
20433 echo "$as_me: failed program was:" >&5
20434 sed 's/^/| /' conftest.$ac_ext >&5
20436 cat >conftest.$ac_ext <<_ACEOF
20437 /* confdefs.h. */
20438 _ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 #ifdef HAVE_GETOPT_H
20443 #include <getopt.h>
20444 #endif
20447 main ()
20449 static struct option ac_aggr;
20450 if (sizeof ac_aggr.name)
20451 return 0;
20453 return 0;
20455 _ACEOF
20456 rm -f conftest.$ac_objext
20457 if { (ac_try="$ac_compile"
20458 case "(($ac_try" in
20459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20460 *) ac_try_echo=$ac_try;;
20461 esac
20462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20463 (eval "$ac_compile") 2>conftest.er1
20464 ac_status=$?
20465 grep -v '^ *+' conftest.er1 >conftest.err
20466 rm -f conftest.er1
20467 cat conftest.err >&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); } && {
20470 test -z "$ac_c_werror_flag" ||
20471 test ! -s conftest.err
20472 } && test -s conftest.$ac_objext; then
20473 ac_cv_member_struct_option_name=yes
20474 else
20475 echo "$as_me: failed program was:" >&5
20476 sed 's/^/| /' conftest.$ac_ext >&5
20478 ac_cv_member_struct_option_name=no
20481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20486 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20487 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20488 if test $ac_cv_member_struct_option_name = yes; then
20490 cat >>confdefs.h <<_ACEOF
20491 #define HAVE_STRUCT_OPTION_NAME 1
20492 _ACEOF
20498 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20499 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20500 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20502 else
20503 cat >conftest.$ac_ext <<_ACEOF
20504 /* confdefs.h. */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 $ac_includes_default
20511 main ()
20513 static struct stat ac_aggr;
20514 if (ac_aggr.st_blocks)
20515 return 0;
20517 return 0;
20519 _ACEOF
20520 rm -f conftest.$ac_objext
20521 if { (ac_try="$ac_compile"
20522 case "(($ac_try" in
20523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20524 *) ac_try_echo=$ac_try;;
20525 esac
20526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20527 (eval "$ac_compile") 2>conftest.er1
20528 ac_status=$?
20529 grep -v '^ *+' conftest.er1 >conftest.err
20530 rm -f conftest.er1
20531 cat conftest.err >&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); } && {
20534 test -z "$ac_c_werror_flag" ||
20535 test ! -s conftest.err
20536 } && test -s conftest.$ac_objext; then
20537 ac_cv_member_struct_stat_st_blocks=yes
20538 else
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 cat >conftest.$ac_ext <<_ACEOF
20543 /* confdefs.h. */
20544 _ACEOF
20545 cat confdefs.h >>conftest.$ac_ext
20546 cat >>conftest.$ac_ext <<_ACEOF
20547 /* end confdefs.h. */
20548 $ac_includes_default
20550 main ()
20552 static struct stat ac_aggr;
20553 if (sizeof ac_aggr.st_blocks)
20554 return 0;
20556 return 0;
20558 _ACEOF
20559 rm -f conftest.$ac_objext
20560 if { (ac_try="$ac_compile"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20564 esac
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_compile") 2>conftest.er1
20567 ac_status=$?
20568 grep -v '^ *+' conftest.er1 >conftest.err
20569 rm -f conftest.er1
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest.$ac_objext; then
20576 ac_cv_member_struct_stat_st_blocks=yes
20577 else
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.$ac_ext >&5
20581 ac_cv_member_struct_stat_st_blocks=no
20584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20589 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20590 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20591 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20593 cat >>confdefs.h <<_ACEOF
20594 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20595 _ACEOF
20601 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20602 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20603 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 else
20606 cat >conftest.$ac_ext <<_ACEOF
20607 /* confdefs.h. */
20608 _ACEOF
20609 cat confdefs.h >>conftest.$ac_ext
20610 cat >>conftest.$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20612 #ifdef HAVE_SYS_TYPES_H
20613 #include <sys/types.h>
20614 #endif
20615 #ifdef HAVE_NETINET_IN_H
20616 #include <netinet/in.h>
20617 #endif
20620 main ()
20622 static struct sockaddr_in6 ac_aggr;
20623 if (ac_aggr.sin6_scope_id)
20624 return 0;
20626 return 0;
20628 _ACEOF
20629 rm -f conftest.$ac_objext
20630 if { (ac_try="$ac_compile"
20631 case "(($ac_try" in
20632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20633 *) ac_try_echo=$ac_try;;
20634 esac
20635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20636 (eval "$ac_compile") 2>conftest.er1
20637 ac_status=$?
20638 grep -v '^ *+' conftest.er1 >conftest.err
20639 rm -f conftest.er1
20640 cat conftest.err >&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } && {
20643 test -z "$ac_c_werror_flag" ||
20644 test ! -s conftest.err
20645 } && test -s conftest.$ac_objext; then
20646 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20651 cat >conftest.$ac_ext <<_ACEOF
20652 /* confdefs.h. */
20653 _ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657 #ifdef HAVE_SYS_TYPES_H
20658 #include <sys/types.h>
20659 #endif
20660 #ifdef HAVE_NETINET_IN_H
20661 #include <netinet/in.h>
20662 #endif
20665 main ()
20667 static struct sockaddr_in6 ac_aggr;
20668 if (sizeof ac_aggr.sin6_scope_id)
20669 return 0;
20671 return 0;
20673 _ACEOF
20674 rm -f conftest.$ac_objext
20675 if { (ac_try="$ac_compile"
20676 case "(($ac_try" in
20677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20678 *) ac_try_echo=$ac_try;;
20679 esac
20680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20681 (eval "$ac_compile") 2>conftest.er1
20682 ac_status=$?
20683 grep -v '^ *+' conftest.er1 >conftest.err
20684 rm -f conftest.er1
20685 cat conftest.err >&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } && {
20688 test -z "$ac_c_werror_flag" ||
20689 test ! -s conftest.err
20690 } && test -s conftest.$ac_objext; then
20691 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20692 else
20693 echo "$as_me: failed program was:" >&5
20694 sed 's/^/| /' conftest.$ac_ext >&5
20696 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20704 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20705 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20706 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20708 cat >>confdefs.h <<_ACEOF
20709 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20710 _ACEOF
20716 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20717 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20718 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20719 echo $ECHO_N "(cached) $ECHO_C" >&6
20720 else
20721 cat >conftest.$ac_ext <<_ACEOF
20722 /* confdefs.h. */
20723 _ACEOF
20724 cat confdefs.h >>conftest.$ac_ext
20725 cat >>conftest.$ac_ext <<_ACEOF
20726 /* end confdefs.h. */
20727 #ifdef HAVE_SYS_TYPES_H
20728 #include <sys/types.h>
20729 #endif
20730 #ifdef HAVE_NETINET_IN_H
20731 # include <netinet/in.h>
20732 #endif
20733 #ifdef HAVE_ARPA_NAMESER_H
20734 # include <arpa/nameser.h>
20735 #endif
20738 main ()
20740 static ns_msg ac_aggr;
20741 if (ac_aggr._msg_ptr)
20742 return 0;
20744 return 0;
20746 _ACEOF
20747 rm -f conftest.$ac_objext
20748 if { (ac_try="$ac_compile"
20749 case "(($ac_try" in
20750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20751 *) ac_try_echo=$ac_try;;
20752 esac
20753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20754 (eval "$ac_compile") 2>conftest.er1
20755 ac_status=$?
20756 grep -v '^ *+' conftest.er1 >conftest.err
20757 rm -f conftest.er1
20758 cat conftest.err >&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } && {
20761 test -z "$ac_c_werror_flag" ||
20762 test ! -s conftest.err
20763 } && test -s conftest.$ac_objext; then
20764 ac_cv_member_ns_msg__msg_ptr=yes
20765 else
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20769 cat >conftest.$ac_ext <<_ACEOF
20770 /* confdefs.h. */
20771 _ACEOF
20772 cat confdefs.h >>conftest.$ac_ext
20773 cat >>conftest.$ac_ext <<_ACEOF
20774 /* end confdefs.h. */
20775 #ifdef HAVE_SYS_TYPES_H
20776 #include <sys/types.h>
20777 #endif
20778 #ifdef HAVE_NETINET_IN_H
20779 # include <netinet/in.h>
20780 #endif
20781 #ifdef HAVE_ARPA_NAMESER_H
20782 # include <arpa/nameser.h>
20783 #endif
20786 main ()
20788 static ns_msg ac_aggr;
20789 if (sizeof ac_aggr._msg_ptr)
20790 return 0;
20792 return 0;
20794 _ACEOF
20795 rm -f conftest.$ac_objext
20796 if { (ac_try="$ac_compile"
20797 case "(($ac_try" in
20798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20799 *) ac_try_echo=$ac_try;;
20800 esac
20801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20802 (eval "$ac_compile") 2>conftest.er1
20803 ac_status=$?
20804 grep -v '^ *+' conftest.er1 >conftest.err
20805 rm -f conftest.er1
20806 cat conftest.err >&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); } && {
20809 test -z "$ac_c_werror_flag" ||
20810 test ! -s conftest.err
20811 } && test -s conftest.$ac_objext; then
20812 ac_cv_member_ns_msg__msg_ptr=yes
20813 else
20814 echo "$as_me: failed program was:" >&5
20815 sed 's/^/| /' conftest.$ac_ext >&5
20817 ac_cv_member_ns_msg__msg_ptr=no
20820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20825 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20826 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20827 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20829 cat >>confdefs.h <<_ACEOF
20830 #define HAVE_NS_MSG__MSG_PTR 1
20831 _ACEOF
20837 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20838 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20839 if test "${ac_cv_have_timezone+set}" = set; then
20840 echo $ECHO_N "(cached) $ECHO_C" >&6
20841 else
20842 cat >conftest.$ac_ext <<_ACEOF
20843 /* confdefs.h. */
20844 _ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 #include <time.h>
20850 main ()
20852 timezone = 1
20854 return 0;
20856 _ACEOF
20857 rm -f conftest.$ac_objext conftest$ac_exeext
20858 if { (ac_try="$ac_link"
20859 case "(($ac_try" in
20860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20861 *) ac_try_echo=$ac_try;;
20862 esac
20863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20864 (eval "$ac_link") 2>conftest.er1
20865 ac_status=$?
20866 grep -v '^ *+' conftest.er1 >conftest.err
20867 rm -f conftest.er1
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } && {
20871 test -z "$ac_c_werror_flag" ||
20872 test ! -s conftest.err
20873 } && test -s conftest$ac_exeext &&
20874 $as_test_x conftest$ac_exeext; then
20875 ac_cv_have_timezone="yes"
20876 else
20877 echo "$as_me: failed program was:" >&5
20878 sed 's/^/| /' conftest.$ac_ext >&5
20880 ac_cv_have_timezone="no"
20883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20884 conftest$ac_exeext conftest.$ac_ext
20886 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20887 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20888 if test "$ac_cv_have_timezone" = "yes"
20889 then
20891 cat >>confdefs.h <<\_ACEOF
20892 #define HAVE_TIMEZONE 1
20893 _ACEOF
20896 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20897 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20898 if test "${ac_cv_have_daylight+set}" = set; then
20899 echo $ECHO_N "(cached) $ECHO_C" >&6
20900 else
20901 cat >conftest.$ac_ext <<_ACEOF
20902 /* confdefs.h. */
20903 _ACEOF
20904 cat confdefs.h >>conftest.$ac_ext
20905 cat >>conftest.$ac_ext <<_ACEOF
20906 /* end confdefs.h. */
20907 #include <time.h>
20909 main ()
20911 daylight = 1
20913 return 0;
20915 _ACEOF
20916 rm -f conftest.$ac_objext conftest$ac_exeext
20917 if { (ac_try="$ac_link"
20918 case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20921 esac
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_link") 2>conftest.er1
20924 ac_status=$?
20925 grep -v '^ *+' conftest.er1 >conftest.err
20926 rm -f conftest.er1
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest$ac_exeext &&
20933 $as_test_x conftest$ac_exeext; then
20934 ac_cv_have_daylight="yes"
20935 else
20936 echo "$as_me: failed program was:" >&5
20937 sed 's/^/| /' conftest.$ac_ext >&5
20939 ac_cv_have_daylight="no"
20942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20943 conftest$ac_exeext conftest.$ac_ext
20945 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20946 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20947 if test "$ac_cv_have_daylight" = "yes"
20948 then
20950 cat >>confdefs.h <<\_ACEOF
20951 #define HAVE_DAYLIGHT 1
20952 _ACEOF
20957 case $host_cpu in
20958 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20959 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20960 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20961 echo $ECHO_N "(cached) $ECHO_C" >&6
20962 else
20963 cat >conftest.$ac_ext <<_ACEOF
20964 /* confdefs.h. */
20965 _ACEOF
20966 cat confdefs.h >>conftest.$ac_ext
20967 cat >>conftest.$ac_ext <<_ACEOF
20968 /* end confdefs.h. */
20969 #ifndef __i386__
20971 #endif
20972 _ACEOF
20973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20974 $EGREP "yes" >/dev/null 2>&1; then
20975 ac_cv_cpp_def___i386__=yes
20976 else
20977 ac_cv_cpp_def___i386__=no
20979 rm -f conftest*
20982 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20983 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20984 if test $ac_cv_cpp_def___i386__ = yes; then
20985 CFLAGS="$CFLAGS -D__i386__"
20986 LINTFLAGS="$LINTFLAGS -D__i386__"
20989 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20990 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20991 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20992 echo $ECHO_N "(cached) $ECHO_C" >&6
20993 else
20994 cat >conftest.$ac_ext <<_ACEOF
20995 /* confdefs.h. */
20996 _ACEOF
20997 cat confdefs.h >>conftest.$ac_ext
20998 cat >>conftest.$ac_ext <<_ACEOF
20999 /* end confdefs.h. */
21000 #ifndef __x86_64__
21002 #endif
21003 _ACEOF
21004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21005 $EGREP "yes" >/dev/null 2>&1; then
21006 ac_cv_cpp_def___x86_64__=yes
21007 else
21008 ac_cv_cpp_def___x86_64__=no
21010 rm -f conftest*
21013 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21014 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21015 if test $ac_cv_cpp_def___x86_64__ = yes; then
21016 CFLAGS="$CFLAGS -D__x86_64__"
21017 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21020 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21021 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21022 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21023 echo $ECHO_N "(cached) $ECHO_C" >&6
21024 else
21025 cat >conftest.$ac_ext <<_ACEOF
21026 /* confdefs.h. */
21027 _ACEOF
21028 cat confdefs.h >>conftest.$ac_ext
21029 cat >>conftest.$ac_ext <<_ACEOF
21030 /* end confdefs.h. */
21031 #ifndef __ALPHA__
21033 #endif
21034 _ACEOF
21035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21036 $EGREP "yes" >/dev/null 2>&1; then
21037 ac_cv_cpp_def___ALPHA__=yes
21038 else
21039 ac_cv_cpp_def___ALPHA__=no
21041 rm -f conftest*
21044 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21045 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21046 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21047 CFLAGS="$CFLAGS -D__ALPHA__"
21048 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21051 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21052 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21053 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21054 echo $ECHO_N "(cached) $ECHO_C" >&6
21055 else
21056 cat >conftest.$ac_ext <<_ACEOF
21057 /* confdefs.h. */
21058 _ACEOF
21059 cat confdefs.h >>conftest.$ac_ext
21060 cat >>conftest.$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21062 #ifndef __sparc__
21064 #endif
21065 _ACEOF
21066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21067 $EGREP "yes" >/dev/null 2>&1; then
21068 ac_cv_cpp_def___sparc__=yes
21069 else
21070 ac_cv_cpp_def___sparc__=no
21072 rm -f conftest*
21075 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21076 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21077 if test $ac_cv_cpp_def___sparc__ = yes; then
21078 CFLAGS="$CFLAGS -D__sparc__"
21079 LINTFLAGS="$LINTFLAGS -D__sparc__"
21082 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21083 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21084 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21085 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 else
21087 cat >conftest.$ac_ext <<_ACEOF
21088 /* confdefs.h. */
21089 _ACEOF
21090 cat confdefs.h >>conftest.$ac_ext
21091 cat >>conftest.$ac_ext <<_ACEOF
21092 /* end confdefs.h. */
21093 #ifndef __powerpc__
21095 #endif
21096 _ACEOF
21097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21098 $EGREP "yes" >/dev/null 2>&1; then
21099 ac_cv_cpp_def___powerpc__=yes
21100 else
21101 ac_cv_cpp_def___powerpc__=no
21103 rm -f conftest*
21106 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21107 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21108 if test $ac_cv_cpp_def___powerpc__ = yes; then
21109 CFLAGS="$CFLAGS -D__powerpc__"
21110 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21113 esac
21115 case $host_vendor in
21116 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21117 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21118 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21119 echo $ECHO_N "(cached) $ECHO_C" >&6
21120 else
21121 cat >conftest.$ac_ext <<_ACEOF
21122 /* confdefs.h. */
21123 _ACEOF
21124 cat confdefs.h >>conftest.$ac_ext
21125 cat >>conftest.$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21127 #ifndef __sun__
21129 #endif
21130 _ACEOF
21131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21132 $EGREP "yes" >/dev/null 2>&1; then
21133 ac_cv_cpp_def___sun__=yes
21134 else
21135 ac_cv_cpp_def___sun__=no
21137 rm -f conftest*
21140 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21141 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21142 if test $ac_cv_cpp_def___sun__ = yes; then
21143 CFLAGS="$CFLAGS -D__sun__"
21144 LINTFLAGS="$LINTFLAGS -D__sun__"
21147 esac
21150 DEPENDENCIES="### Dependencies:
21152 .INIT: Makefile
21153 .BEGIN: Makefile
21154 Makefile: dummy
21155 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21157 \$(OBJS): \$(IDL_GEN_HEADERS)
21158 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21159 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21160 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21166 ac_config_commands="$ac_config_commands include/stamp-h"
21169 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21171 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21173 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21175 ac_config_commands="$ac_config_commands dlls/user32/resources"
21177 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21179 ac_config_commands="$ac_config_commands include/wine"
21182 MAKE_RULES=Make.rules
21185 MAKE_DLL_RULES=dlls/Makedll.rules
21188 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21191 MAKE_TEST_RULES=dlls/Maketest.rules
21194 MAKE_PROG_RULES=programs/Makeprog.rules
21197 ac_config_files="$ac_config_files Make.rules"
21199 ac_config_files="$ac_config_files dlls/Makedll.rules"
21201 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21203 ac_config_files="$ac_config_files dlls/Maketest.rules"
21205 ac_config_files="$ac_config_files programs/Makeprog.rules"
21207 ac_config_files="$ac_config_files Makefile"
21209 ac_config_files="$ac_config_files dlls/Makefile"
21211 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21213 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21215 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21217 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21219 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21221 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21223 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21225 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21227 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21229 ac_config_files="$ac_config_files dlls/atl/Makefile"
21231 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21233 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21235 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21237 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21239 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21241 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21243 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21245 ac_config_files="$ac_config_files dlls/cards/Makefile"
21247 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21249 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21251 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21253 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21255 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21257 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21259 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21261 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21263 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21265 ac_config_files="$ac_config_files dlls/credui/Makefile"
21267 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21269 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21271 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21273 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21275 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21277 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21279 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21281 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21283 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21285 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21287 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21289 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21291 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21293 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21295 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21297 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21299 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21301 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21303 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21305 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21307 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21309 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21311 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21313 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21315 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21317 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21319 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21321 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21323 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21325 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21327 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21329 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21331 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21333 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21335 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21337 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21339 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21341 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21343 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21345 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21347 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21349 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21351 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21353 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21355 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21357 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21359 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21361 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21363 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21365 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21367 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21369 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21371 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21373 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21375 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21377 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21379 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21381 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21383 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21385 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21387 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21389 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21391 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21393 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21395 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21397 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21399 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21401 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21403 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21405 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21407 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21409 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21411 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21413 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21415 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21417 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21419 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21421 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21423 ac_config_files="$ac_config_files dlls/hal/Makefile"
21425 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21427 ac_config_files="$ac_config_files dlls/hid/Makefile"
21429 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21431 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21433 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21435 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21437 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21439 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21441 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21443 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21445 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21447 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21449 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21451 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21453 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21455 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21457 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21459 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21461 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21463 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21465 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21467 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21469 ac_config_files="$ac_config_files dlls/itss/Makefile"
21471 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21473 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21475 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21477 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21479 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21481 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21483 ac_config_files="$ac_config_files dlls/localui/Makefile"
21485 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21487 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21489 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21491 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21493 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21495 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21497 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21499 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21501 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21503 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21505 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21507 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21509 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21511 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21513 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21515 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21517 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21519 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21521 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21523 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21525 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21527 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21529 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21531 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21533 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21535 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21537 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21539 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21541 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21543 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21545 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21547 ac_config_files="$ac_config_files dlls/msi/Makefile"
21549 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21551 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21553 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21555 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21557 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21559 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21561 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21563 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21565 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21567 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21569 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21571 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21573 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21575 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21577 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21579 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21581 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21583 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21585 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21587 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21589 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21591 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21593 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21595 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21597 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21599 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21601 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21603 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21605 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21607 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21609 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21611 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21613 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21615 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21617 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21619 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21621 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21623 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21625 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21627 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21629 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21631 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21633 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21635 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21637 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21639 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21641 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21643 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21645 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21647 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21649 ac_config_files="$ac_config_files dlls/printui/Makefile"
21651 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21653 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21655 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21657 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21659 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21661 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21663 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21665 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21667 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21669 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21671 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21673 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21675 ac_config_files="$ac_config_files dlls/query/Makefile"
21677 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21679 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21681 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21683 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21685 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21687 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21689 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21691 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21693 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21695 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
21697 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21699 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21701 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21703 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21705 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21707 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21709 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21711 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21713 ac_config_files="$ac_config_files dlls/security/Makefile"
21715 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21717 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21719 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21721 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21723 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21725 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21727 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21729 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21731 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21733 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21735 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21737 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21739 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21741 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21743 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21745 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21747 ac_config_files="$ac_config_files dlls/slc/Makefile"
21749 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21751 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21753 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21755 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21757 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21759 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21761 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21763 ac_config_files="$ac_config_files dlls/sti/Makefile"
21765 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21767 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21769 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21771 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21773 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21775 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21777 ac_config_files="$ac_config_files dlls/url/Makefile"
21779 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21781 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21783 ac_config_files="$ac_config_files dlls/user32/Makefile"
21785 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21787 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21789 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21791 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21793 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21795 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21797 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21799 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21801 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21803 ac_config_files="$ac_config_files dlls/version/Makefile"
21805 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21807 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21809 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21811 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
21813 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
21815 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
21817 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
21819 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
21821 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
21823 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
21825 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
21827 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
21829 ac_config_files="$ac_config_files dlls/winedos/Makefile"
21831 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
21833 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
21835 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
21837 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
21839 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
21841 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
21843 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
21845 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
21847 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
21849 ac_config_files="$ac_config_files dlls/wing32/Makefile"
21851 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
21853 ac_config_files="$ac_config_files dlls/wininet/Makefile"
21855 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
21857 ac_config_files="$ac_config_files dlls/winmm/Makefile"
21859 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
21861 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
21863 ac_config_files="$ac_config_files dlls/winscard/Makefile"
21865 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
21867 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
21869 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
21871 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
21873 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
21875 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
21877 ac_config_files="$ac_config_files dlls/wmi/Makefile"
21879 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
21881 ac_config_files="$ac_config_files dlls/wow32/Makefile"
21883 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
21885 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
21887 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
21889 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
21891 ac_config_files="$ac_config_files documentation/Makefile"
21893 ac_config_files="$ac_config_files fonts/Makefile"
21895 ac_config_files="$ac_config_files include/Makefile"
21897 ac_config_files="$ac_config_files libs/Makefile"
21899 ac_config_files="$ac_config_files libs/port/Makefile"
21901 ac_config_files="$ac_config_files libs/wine/Makefile"
21903 ac_config_files="$ac_config_files libs/wpp/Makefile"
21905 ac_config_files="$ac_config_files loader/Makefile"
21907 ac_config_files="$ac_config_files programs/Makefile"
21909 ac_config_files="$ac_config_files programs/clock/Makefile"
21911 ac_config_files="$ac_config_files programs/cmd/Makefile"
21913 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
21915 ac_config_files="$ac_config_files programs/control/Makefile"
21917 ac_config_files="$ac_config_files programs/eject/Makefile"
21919 ac_config_files="$ac_config_files programs/expand/Makefile"
21921 ac_config_files="$ac_config_files programs/explorer/Makefile"
21923 ac_config_files="$ac_config_files programs/hh/Makefile"
21925 ac_config_files="$ac_config_files programs/icinfo/Makefile"
21927 ac_config_files="$ac_config_files programs/iexplore/Makefile"
21929 ac_config_files="$ac_config_files programs/msiexec/Makefile"
21931 ac_config_files="$ac_config_files programs/net/Makefile"
21933 ac_config_files="$ac_config_files programs/notepad/Makefile"
21935 ac_config_files="$ac_config_files programs/oleview/Makefile"
21937 ac_config_files="$ac_config_files programs/progman/Makefile"
21939 ac_config_files="$ac_config_files programs/reg/Makefile"
21941 ac_config_files="$ac_config_files programs/regedit/Makefile"
21943 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21945 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21947 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21949 ac_config_files="$ac_config_files programs/secedit/Makefile"
21951 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21953 ac_config_files="$ac_config_files programs/start/Makefile"
21955 ac_config_files="$ac_config_files programs/svchost/Makefile"
21957 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21959 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21961 ac_config_files="$ac_config_files programs/view/Makefile"
21963 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21965 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21967 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21969 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21971 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21973 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21975 ac_config_files="$ac_config_files programs/winefile/Makefile"
21977 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21979 ac_config_files="$ac_config_files programs/winemine/Makefile"
21981 ac_config_files="$ac_config_files programs/winepath/Makefile"
21983 ac_config_files="$ac_config_files programs/winetest/Makefile"
21985 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21987 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21989 ac_config_files="$ac_config_files programs/winver/Makefile"
21991 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21993 ac_config_files="$ac_config_files programs/write/Makefile"
21995 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21997 ac_config_files="$ac_config_files server/Makefile"
21999 ac_config_files="$ac_config_files tools/Makefile"
22001 ac_config_files="$ac_config_files tools/widl/Makefile"
22003 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22005 ac_config_files="$ac_config_files tools/winedump/Makefile"
22007 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22009 ac_config_files="$ac_config_files tools/wmc/Makefile"
22011 ac_config_files="$ac_config_files tools/wrc/Makefile"
22014 cat >confcache <<\_ACEOF
22015 # This file is a shell script that caches the results of configure
22016 # tests run on this system so they can be shared between configure
22017 # scripts and configure runs, see configure's option --config-cache.
22018 # It is not useful on other systems. If it contains results you don't
22019 # want to keep, you may remove or edit it.
22021 # config.status only pays attention to the cache file if you give it
22022 # the --recheck option to rerun configure.
22024 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22025 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22026 # following values.
22028 _ACEOF
22030 # The following way of writing the cache mishandles newlines in values,
22031 # but we know of no workaround that is simple, portable, and efficient.
22032 # So, we kill variables containing newlines.
22033 # Ultrix sh set writes to stderr and can't be redirected directly,
22034 # and sets the high bit in the cache file unless we assign to the vars.
22036 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22037 eval ac_val=\$$ac_var
22038 case $ac_val in #(
22039 *${as_nl}*)
22040 case $ac_var in #(
22041 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22042 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22043 esac
22044 case $ac_var in #(
22045 _ | IFS | as_nl) ;; #(
22046 *) $as_unset $ac_var ;;
22047 esac ;;
22048 esac
22049 done
22051 (set) 2>&1 |
22052 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22053 *${as_nl}ac_space=\ *)
22054 # `set' does not quote correctly, so add quotes (double-quote
22055 # substitution turns \\\\ into \\, and sed turns \\ into \).
22056 sed -n \
22057 "s/'/'\\\\''/g;
22058 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22059 ;; #(
22061 # `set' quotes correctly as required by POSIX, so do not add quotes.
22062 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22064 esac |
22065 sort
22067 sed '
22068 /^ac_cv_env_/b end
22069 t clear
22070 :clear
22071 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22072 t end
22073 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22074 :end' >>confcache
22075 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22076 if test -w "$cache_file"; then
22077 test "x$cache_file" != "x/dev/null" &&
22078 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22079 echo "$as_me: updating cache $cache_file" >&6;}
22080 cat confcache >$cache_file
22081 else
22082 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22083 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22086 rm -f confcache
22088 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22089 # Let make expand exec_prefix.
22090 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22092 DEFS=-DHAVE_CONFIG_H
22094 ac_libobjs=
22095 ac_ltlibobjs=
22096 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22097 # 1. Remove the extension, and $U if already installed.
22098 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22099 ac_i=`echo "$ac_i" | sed "$ac_script"`
22100 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22101 # will be set to the directory where LIBOBJS objects are built.
22102 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22103 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22104 done
22105 LIBOBJS=$ac_libobjs
22107 LTLIBOBJS=$ac_ltlibobjs
22111 : ${CONFIG_STATUS=./config.status}
22112 ac_clean_files_save=$ac_clean_files
22113 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22114 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22115 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22116 cat >$CONFIG_STATUS <<_ACEOF
22117 #! $SHELL
22118 # Generated by $as_me.
22119 # Run this file to recreate the current configuration.
22120 # Compiler output produced by configure, useful for debugging
22121 # configure, is in config.log if it exists.
22123 debug=false
22124 ac_cs_recheck=false
22125 ac_cs_silent=false
22126 SHELL=\${CONFIG_SHELL-$SHELL}
22127 _ACEOF
22129 cat >>$CONFIG_STATUS <<\_ACEOF
22130 ## --------------------- ##
22131 ## M4sh Initialization. ##
22132 ## --------------------- ##
22134 # Be more Bourne compatible
22135 DUALCASE=1; export DUALCASE # for MKS sh
22136 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22137 emulate sh
22138 NULLCMD=:
22139 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22140 # is contrary to our usage. Disable this feature.
22141 alias -g '${1+"$@"}'='"$@"'
22142 setopt NO_GLOB_SUBST
22143 else
22144 case `(set -o) 2>/dev/null` in
22145 *posix*) set -o posix ;;
22146 esac
22153 # PATH needs CR
22154 # Avoid depending upon Character Ranges.
22155 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22156 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22157 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22158 as_cr_digits='0123456789'
22159 as_cr_alnum=$as_cr_Letters$as_cr_digits
22161 # The user is always right.
22162 if test "${PATH_SEPARATOR+set}" != set; then
22163 echo "#! /bin/sh" >conf$$.sh
22164 echo "exit 0" >>conf$$.sh
22165 chmod +x conf$$.sh
22166 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22167 PATH_SEPARATOR=';'
22168 else
22169 PATH_SEPARATOR=:
22171 rm -f conf$$.sh
22174 # Support unset when possible.
22175 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22176 as_unset=unset
22177 else
22178 as_unset=false
22182 # IFS
22183 # We need space, tab and new line, in precisely that order. Quoting is
22184 # there to prevent editors from complaining about space-tab.
22185 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22186 # splitting by setting IFS to empty value.)
22187 as_nl='
22189 IFS=" "" $as_nl"
22191 # Find who we are. Look in the path if we contain no directory separator.
22192 case $0 in
22193 *[\\/]* ) as_myself=$0 ;;
22194 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22195 for as_dir in $PATH
22197 IFS=$as_save_IFS
22198 test -z "$as_dir" && as_dir=.
22199 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22200 done
22201 IFS=$as_save_IFS
22204 esac
22205 # We did not find ourselves, most probably we were run as `sh COMMAND'
22206 # in which case we are not to be found in the path.
22207 if test "x$as_myself" = x; then
22208 as_myself=$0
22210 if test ! -f "$as_myself"; then
22211 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22212 { (exit 1); exit 1; }
22215 # Work around bugs in pre-3.0 UWIN ksh.
22216 for as_var in ENV MAIL MAILPATH
22217 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22218 done
22219 PS1='$ '
22220 PS2='> '
22221 PS4='+ '
22223 # NLS nuisances.
22224 for as_var in \
22225 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22226 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22227 LC_TELEPHONE LC_TIME
22229 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22230 eval $as_var=C; export $as_var
22231 else
22232 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22234 done
22236 # Required to use basename.
22237 if expr a : '\(a\)' >/dev/null 2>&1 &&
22238 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22239 as_expr=expr
22240 else
22241 as_expr=false
22244 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22245 as_basename=basename
22246 else
22247 as_basename=false
22251 # Name of the executable.
22252 as_me=`$as_basename -- "$0" ||
22253 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22254 X"$0" : 'X\(//\)$' \| \
22255 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22256 echo X/"$0" |
22257 sed '/^.*\/\([^/][^/]*\)\/*$/{
22258 s//\1/
22261 /^X\/\(\/\/\)$/{
22262 s//\1/
22265 /^X\/\(\/\).*/{
22266 s//\1/
22269 s/.*/./; q'`
22271 # CDPATH.
22272 $as_unset CDPATH
22276 as_lineno_1=$LINENO
22277 as_lineno_2=$LINENO
22278 test "x$as_lineno_1" != "x$as_lineno_2" &&
22279 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22281 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22282 # uniformly replaced by the line number. The first 'sed' inserts a
22283 # line-number line after each line using $LINENO; the second 'sed'
22284 # does the real work. The second script uses 'N' to pair each
22285 # line-number line with the line containing $LINENO, and appends
22286 # trailing '-' during substitution so that $LINENO is not a special
22287 # case at line end.
22288 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22289 # scripts with optimization help from Paolo Bonzini. Blame Lee
22290 # E. McMahon (1931-1989) for sed's syntax. :-)
22291 sed -n '
22293 /[$]LINENO/=
22294 ' <$as_myself |
22295 sed '
22296 s/[$]LINENO.*/&-/
22297 t lineno
22299 :lineno
22301 :loop
22302 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22303 t loop
22304 s/-\n.*//
22305 ' >$as_me.lineno &&
22306 chmod +x "$as_me.lineno" ||
22307 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22308 { (exit 1); exit 1; }; }
22310 # Don't try to exec as it changes $[0], causing all sort of problems
22311 # (the dirname of $[0] is not the place where we might find the
22312 # original and so on. Autoconf is especially sensitive to this).
22313 . "./$as_me.lineno"
22314 # Exit status is that of the last command.
22315 exit
22319 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22320 as_dirname=dirname
22321 else
22322 as_dirname=false
22325 ECHO_C= ECHO_N= ECHO_T=
22326 case `echo -n x` in
22327 -n*)
22328 case `echo 'x\c'` in
22329 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22330 *) ECHO_C='\c';;
22331 esac;;
22333 ECHO_N='-n';;
22334 esac
22336 if expr a : '\(a\)' >/dev/null 2>&1 &&
22337 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22338 as_expr=expr
22339 else
22340 as_expr=false
22343 rm -f conf$$ conf$$.exe conf$$.file
22344 if test -d conf$$.dir; then
22345 rm -f conf$$.dir/conf$$.file
22346 else
22347 rm -f conf$$.dir
22348 mkdir conf$$.dir
22350 echo >conf$$.file
22351 if ln -s conf$$.file conf$$ 2>/dev/null; then
22352 as_ln_s='ln -s'
22353 # ... but there are two gotchas:
22354 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22355 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22356 # In both cases, we have to default to `cp -p'.
22357 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22358 as_ln_s='cp -p'
22359 elif ln conf$$.file conf$$ 2>/dev/null; then
22360 as_ln_s=ln
22361 else
22362 as_ln_s='cp -p'
22364 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22365 rmdir conf$$.dir 2>/dev/null
22367 if mkdir -p . 2>/dev/null; then
22368 as_mkdir_p=:
22369 else
22370 test -d ./-p && rmdir ./-p
22371 as_mkdir_p=false
22374 if test -x / >/dev/null 2>&1; then
22375 as_test_x='test -x'
22376 else
22377 if ls -dL / >/dev/null 2>&1; then
22378 as_ls_L_option=L
22379 else
22380 as_ls_L_option=
22382 as_test_x='
22383 eval sh -c '\''
22384 if test -d "$1"; then
22385 test -d "$1/.";
22386 else
22387 case $1 in
22388 -*)set "./$1";;
22389 esac;
22390 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22391 ???[sx]*):;;*)false;;esac;fi
22392 '\'' sh
22395 as_executable_p=$as_test_x
22397 # Sed expression to map a string onto a valid CPP name.
22398 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22400 # Sed expression to map a string onto a valid variable name.
22401 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22404 exec 6>&1
22406 # Save the log message, to keep $[0] and so on meaningful, and to
22407 # report actual input values of CONFIG_FILES etc. instead of their
22408 # values after options handling.
22409 ac_log="
22410 This file was extended by Wine $as_me 0.9.57, which was
22411 generated by GNU Autoconf 2.61. Invocation command line was
22413 CONFIG_FILES = $CONFIG_FILES
22414 CONFIG_HEADERS = $CONFIG_HEADERS
22415 CONFIG_LINKS = $CONFIG_LINKS
22416 CONFIG_COMMANDS = $CONFIG_COMMANDS
22417 $ $0 $@
22419 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22422 _ACEOF
22424 cat >>$CONFIG_STATUS <<_ACEOF
22425 # Files that config.status was made for.
22426 config_files="$ac_config_files"
22427 config_headers="$ac_config_headers"
22428 config_commands="$ac_config_commands"
22430 _ACEOF
22432 cat >>$CONFIG_STATUS <<\_ACEOF
22433 ac_cs_usage="\
22434 \`$as_me' instantiates files from templates according to the
22435 current configuration.
22437 Usage: $0 [OPTIONS] [FILE]...
22439 -h, --help print this help, then exit
22440 -V, --version print version number and configuration settings, then exit
22441 -q, --quiet do not print progress messages
22442 -d, --debug don't remove temporary files
22443 --recheck update $as_me by reconfiguring in the same conditions
22444 --file=FILE[:TEMPLATE]
22445 instantiate the configuration file FILE
22446 --header=FILE[:TEMPLATE]
22447 instantiate the configuration header FILE
22449 Configuration files:
22450 $config_files
22452 Configuration headers:
22453 $config_headers
22455 Configuration commands:
22456 $config_commands
22458 Report bugs to <bug-autoconf@gnu.org>."
22460 _ACEOF
22461 cat >>$CONFIG_STATUS <<_ACEOF
22462 ac_cs_version="\\
22463 Wine config.status 0.9.57
22464 configured by $0, generated by GNU Autoconf 2.61,
22465 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22467 Copyright (C) 2006 Free Software Foundation, Inc.
22468 This config.status script is free software; the Free Software Foundation
22469 gives unlimited permission to copy, distribute and modify it."
22471 ac_pwd='$ac_pwd'
22472 srcdir='$srcdir'
22473 INSTALL='$INSTALL'
22474 _ACEOF
22476 cat >>$CONFIG_STATUS <<\_ACEOF
22477 # If no file are specified by the user, then we need to provide default
22478 # value. By we need to know if files were specified by the user.
22479 ac_need_defaults=:
22480 while test $# != 0
22482 case $1 in
22483 --*=*)
22484 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22485 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22486 ac_shift=:
22489 ac_option=$1
22490 ac_optarg=$2
22491 ac_shift=shift
22493 esac
22495 case $ac_option in
22496 # Handling of the options.
22497 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22498 ac_cs_recheck=: ;;
22499 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22500 echo "$ac_cs_version"; exit ;;
22501 --debug | --debu | --deb | --de | --d | -d )
22502 debug=: ;;
22503 --file | --fil | --fi | --f )
22504 $ac_shift
22505 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22506 ac_need_defaults=false;;
22507 --header | --heade | --head | --hea )
22508 $ac_shift
22509 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22510 ac_need_defaults=false;;
22511 --he | --h)
22512 # Conflict between --help and --header
22513 { echo "$as_me: error: ambiguous option: $1
22514 Try \`$0 --help' for more information." >&2
22515 { (exit 1); exit 1; }; };;
22516 --help | --hel | -h )
22517 echo "$ac_cs_usage"; exit ;;
22518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22519 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22520 ac_cs_silent=: ;;
22522 # This is an error.
22523 -*) { echo "$as_me: error: unrecognized option: $1
22524 Try \`$0 --help' for more information." >&2
22525 { (exit 1); exit 1; }; } ;;
22527 *) ac_config_targets="$ac_config_targets $1"
22528 ac_need_defaults=false ;;
22530 esac
22531 shift
22532 done
22534 ac_configure_extra_args=
22536 if $ac_cs_silent; then
22537 exec 6>/dev/null
22538 ac_configure_extra_args="$ac_configure_extra_args --silent"
22541 _ACEOF
22542 cat >>$CONFIG_STATUS <<_ACEOF
22543 if \$ac_cs_recheck; then
22544 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22545 CONFIG_SHELL=$SHELL
22546 export CONFIG_SHELL
22547 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22550 _ACEOF
22551 cat >>$CONFIG_STATUS <<\_ACEOF
22552 exec 5>>config.log
22554 echo
22555 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22556 ## Running $as_me. ##
22557 _ASBOX
22558 echo "$ac_log"
22559 } >&5
22561 _ACEOF
22562 cat >>$CONFIG_STATUS <<_ACEOF
22563 _ACEOF
22565 cat >>$CONFIG_STATUS <<\_ACEOF
22567 # Handling of arguments.
22568 for ac_config_target in $ac_config_targets
22570 case $ac_config_target in
22571 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22572 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22573 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22574 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22575 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22576 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22577 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22578 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22579 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22580 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22581 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22582 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22583 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22584 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22585 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22586 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22587 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22588 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22589 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22590 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22591 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22592 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22593 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22594 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22595 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22596 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22597 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22598 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22599 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22600 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22601 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22602 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22603 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22604 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22605 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22606 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22607 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22608 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22609 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22610 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22611 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22612 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22613 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22614 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22615 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22616 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22617 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22618 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22619 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22620 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22621 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22622 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22623 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22624 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22625 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22626 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22627 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22628 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22629 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22630 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22631 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22632 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22633 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22634 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22635 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22636 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22637 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22638 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22639 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22640 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22641 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22642 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22643 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22644 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22645 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22646 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22647 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22648 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22649 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22650 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22651 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22652 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22653 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22654 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22655 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22656 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22657 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22658 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22659 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22660 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22661 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22662 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22663 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22664 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22665 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22666 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22667 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22668 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22669 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22670 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22671 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22672 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22673 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22674 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22675 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22676 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22677 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22678 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22679 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22680 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22681 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22682 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22683 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22684 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22685 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22686 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22687 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22688 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22689 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22690 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22691 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22692 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22693 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22694 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22695 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22696 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22697 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22698 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22699 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22700 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22701 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22702 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22703 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22704 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22705 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22706 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22707 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22708 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22709 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22710 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22711 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22712 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22713 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22714 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22715 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22716 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22717 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22718 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22719 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22720 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22721 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22722 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22723 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22724 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22725 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22726 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22727 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22728 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22729 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22730 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22731 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22732 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22733 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22734 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22735 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22736 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22737 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22738 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22739 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22740 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22741 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22742 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22743 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22744 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22745 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22746 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22747 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22748 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22749 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22750 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22751 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22752 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22753 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22754 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22755 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22756 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22757 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22758 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22759 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22760 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22761 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22762 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22763 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22764 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22765 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22766 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22767 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22768 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22769 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22770 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22771 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22772 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22773 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22774 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22775 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22776 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22777 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22778 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22779 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22780 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22781 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22782 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22783 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22784 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22785 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22786 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22787 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22788 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22789 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22790 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22791 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22792 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22793 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22794 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22795 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22796 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22797 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22798 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22799 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22800 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22801 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22802 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
22803 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
22804 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
22805 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
22806 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
22807 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
22808 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
22809 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
22810 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
22811 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
22812 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
22813 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
22814 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
22815 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
22816 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
22817 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
22818 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
22819 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
22820 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
22821 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
22822 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
22823 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
22824 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
22825 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
22826 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
22827 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
22828 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
22829 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
22830 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
22831 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
22832 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
22833 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
22834 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
22835 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
22836 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
22837 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
22838 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
22839 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
22840 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
22841 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
22842 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
22843 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
22844 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
22845 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
22846 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
22847 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
22848 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
22849 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
22850 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
22851 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
22852 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
22853 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
22854 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
22855 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
22856 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
22857 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
22858 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
22859 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
22860 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
22861 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
22862 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
22863 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
22864 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
22865 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
22866 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
22867 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
22868 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
22869 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
22870 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
22871 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
22872 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
22873 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
22874 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
22875 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
22876 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
22877 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
22878 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
22879 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
22880 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
22881 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
22882 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
22883 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
22884 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
22885 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
22886 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
22887 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
22888 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
22889 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
22890 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
22891 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
22892 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
22893 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
22894 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
22895 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
22896 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
22897 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
22898 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
22899 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
22900 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
22901 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
22902 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
22903 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
22904 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
22905 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
22906 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
22907 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
22908 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
22909 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
22910 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
22911 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
22912 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
22913 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
22914 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
22915 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
22916 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
22917 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
22918 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
22919 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
22920 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
22921 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
22922 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
22923 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
22924 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
22925 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
22926 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
22927 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
22928 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
22929 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
22930 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
22931 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
22932 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
22933 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
22934 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
22935 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
22936 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
22937 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
22938 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
22939 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
22940 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
22941 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
22942 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
22943 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
22944 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
22945 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
22946 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
22947 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
22948 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
22949 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
22950 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
22951 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
22952 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
22953 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
22954 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
22955 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
22956 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
22957 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
22958 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
22959 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
22960 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
22961 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
22962 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
22963 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
22964 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
22965 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
22966 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
22967 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
22968 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
22969 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
22970 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
22971 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
22972 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
22973 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
22974 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
22975 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
22976 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
22977 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
22978 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
22979 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
22980 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
22981 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
22982 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
22983 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
22984 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
22985 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
22986 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
22988 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22989 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22990 { (exit 1); exit 1; }; };;
22991 esac
22992 done
22995 # If the user did not use the arguments to specify the items to instantiate,
22996 # then the envvar interface is used. Set only those that are not.
22997 # We use the long form for the default assignment because of an extremely
22998 # bizarre bug on SunOS 4.1.3.
22999 if $ac_need_defaults; then
23000 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23001 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23002 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23005 # Have a temporary directory for convenience. Make it in the build tree
23006 # simply because there is no reason against having it here, and in addition,
23007 # creating and moving files from /tmp can sometimes cause problems.
23008 # Hook for its removal unless debugging.
23009 # Note that there is a small window in which the directory will not be cleaned:
23010 # after its creation but before its name has been assigned to `$tmp'.
23011 $debug ||
23013 tmp=
23014 trap 'exit_status=$?
23015 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23017 trap '{ (exit 1); exit 1; }' 1 2 13 15
23019 # Create a (secure) tmp directory for tmp files.
23022 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23023 test -n "$tmp" && test -d "$tmp"
23024 } ||
23026 tmp=./conf$$-$RANDOM
23027 (umask 077 && mkdir "$tmp")
23028 } ||
23030 echo "$me: cannot create a temporary directory in ." >&2
23031 { (exit 1); exit 1; }
23035 # Set up the sed scripts for CONFIG_FILES section.
23038 # No need to generate the scripts if there are no CONFIG_FILES.
23039 # This happens for instance when ./config.status config.h
23040 if test -n "$CONFIG_FILES"; then
23042 _ACEOF
23044 # Create sed commands to just substitute file output variables.
23046 # Remaining file output variables are in a fragment that also has non-file
23047 # output varibles.
23051 ac_delim='%!_!# '
23052 for ac_last_try in false false false false false :; do
23053 cat >conf$$subs.sed <<_ACEOF
23054 SHELL!$SHELL$ac_delim
23055 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23056 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23057 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23058 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23059 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23060 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23061 exec_prefix!$exec_prefix$ac_delim
23062 prefix!$prefix$ac_delim
23063 program_transform_name!$program_transform_name$ac_delim
23064 bindir!$bindir$ac_delim
23065 sbindir!$sbindir$ac_delim
23066 libexecdir!$libexecdir$ac_delim
23067 datarootdir!$datarootdir$ac_delim
23068 datadir!$datadir$ac_delim
23069 sysconfdir!$sysconfdir$ac_delim
23070 sharedstatedir!$sharedstatedir$ac_delim
23071 localstatedir!$localstatedir$ac_delim
23072 includedir!$includedir$ac_delim
23073 oldincludedir!$oldincludedir$ac_delim
23074 docdir!$docdir$ac_delim
23075 infodir!$infodir$ac_delim
23076 htmldir!$htmldir$ac_delim
23077 dvidir!$dvidir$ac_delim
23078 pdfdir!$pdfdir$ac_delim
23079 psdir!$psdir$ac_delim
23080 libdir!$libdir$ac_delim
23081 localedir!$localedir$ac_delim
23082 mandir!$mandir$ac_delim
23083 DEFS!$DEFS$ac_delim
23084 ECHO_C!$ECHO_C$ac_delim
23085 ECHO_N!$ECHO_N$ac_delim
23086 ECHO_T!$ECHO_T$ac_delim
23087 LIBS!$LIBS$ac_delim
23088 build_alias!$build_alias$ac_delim
23089 host_alias!$host_alias$ac_delim
23090 target_alias!$target_alias$ac_delim
23091 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23092 build!$build$ac_delim
23093 build_cpu!$build_cpu$ac_delim
23094 build_vendor!$build_vendor$ac_delim
23095 build_os!$build_os$ac_delim
23096 host!$host$ac_delim
23097 host_cpu!$host_cpu$ac_delim
23098 host_vendor!$host_vendor$ac_delim
23099 host_os!$host_os$ac_delim
23100 WIN16_FILES!$WIN16_FILES$ac_delim
23101 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23102 TESTSUBDIRS!$TESTSUBDIRS$ac_delim
23103 WINETEST!$WINETEST$ac_delim
23104 SET_MAKE!$SET_MAKE$ac_delim
23105 CC!$CC$ac_delim
23106 CFLAGS!$CFLAGS$ac_delim
23107 LDFLAGS!$LDFLAGS$ac_delim
23108 CPPFLAGS!$CPPFLAGS$ac_delim
23109 ac_ct_CC!$ac_ct_CC$ac_delim
23110 EXEEXT!$EXEEXT$ac_delim
23111 OBJEXT!$OBJEXT$ac_delim
23112 CXX!$CXX$ac_delim
23113 CXXFLAGS!$CXXFLAGS$ac_delim
23114 ac_ct_CXX!$ac_ct_CXX$ac_delim
23115 CPPBIN!$CPPBIN$ac_delim
23116 TOOLSDIR!$TOOLSDIR$ac_delim
23117 XMKMF!$XMKMF$ac_delim
23118 CPP!$CPP$ac_delim
23119 X_CFLAGS!$X_CFLAGS$ac_delim
23120 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23121 X_LIBS!$X_LIBS$ac_delim
23122 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23123 FLEX!$FLEX$ac_delim
23124 BISON!$BISON$ac_delim
23125 AS!$AS$ac_delim
23126 ac_ct_AS!$ac_ct_AS$ac_delim
23127 LD!$LD$ac_delim
23128 AR!$AR$ac_delim
23129 ARFLAGS!$ARFLAGS$ac_delim
23130 RANLIB!$RANLIB$ac_delim
23131 STRIP!$STRIP$ac_delim
23132 WINDRES!$WINDRES$ac_delim
23133 LN_S!$LN_S$ac_delim
23134 LN!$LN$ac_delim
23135 GREP!$GREP$ac_delim
23136 _ACEOF
23138 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23139 break
23140 elif $ac_last_try; then
23141 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23142 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23143 { (exit 1); exit 1; }; }
23144 else
23145 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23147 done
23149 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23150 if test -n "$ac_eof"; then
23151 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23152 ac_eof=`expr $ac_eof + 1`
23155 cat >>$CONFIG_STATUS <<_ACEOF
23156 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23157 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23158 /^[ ]*@MAKE_RULES@[ ]*$/{
23159 r $MAKE_RULES
23162 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23163 r $MAKE_DLL_RULES
23166 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23167 r $MAKE_IMPLIB_RULES
23170 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23171 r $MAKE_TEST_RULES
23174 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23175 r $MAKE_PROG_RULES
23178 _ACEOF
23179 sed '
23180 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23181 s/^/s,@/; s/!/@,|#_!!_#|/
23184 s/'"$ac_delim"'$/,g/; t
23185 s/$/\\/; p
23186 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23187 ' >>$CONFIG_STATUS <conf$$subs.sed
23188 rm -f conf$$subs.sed
23189 cat >>$CONFIG_STATUS <<_ACEOF
23190 CEOF$ac_eof
23191 _ACEOF
23194 ac_delim='%!_!# '
23195 for ac_last_try in false false false false false :; do
23196 cat >conf$$subs.sed <<_ACEOF
23197 EGREP!$EGREP$ac_delim
23198 LDCONFIG!$LDCONFIG$ac_delim
23199 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23200 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23201 INSTALL_DATA!$INSTALL_DATA$ac_delim
23202 LINT!$LINT$ac_delim
23203 LINTFLAGS!$LINTFLAGS$ac_delim
23204 FONTFORGE!$FONTFORGE$ac_delim
23205 PKG_CONFIG!$PKG_CONFIG$ac_delim
23206 PRELINK!$PRELINK$ac_delim
23207 LIBPTHREAD!$LIBPTHREAD$ac_delim
23208 XLIB!$XLIB$ac_delim
23209 XFILES!$XFILES$ac_delim
23210 OPENGLFILES!$OPENGLFILES$ac_delim
23211 GLU32FILES!$GLU32FILES$ac_delim
23212 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23213 QUARTZFILES!$QUARTZFILES$ac_delim
23214 DLLEXT!$DLLEXT$ac_delim
23215 DLLFLAGS!$DLLFLAGS$ac_delim
23216 LDSHARED!$LDSHARED$ac_delim
23217 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23218 LIBEXT!$LIBEXT$ac_delim
23219 IMPLIBEXT!$IMPLIBEXT$ac_delim
23220 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23221 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23222 LDD!$LDD$ac_delim
23223 DLLTOOL!$DLLTOOL$ac_delim
23224 DLLWRAP!$DLLWRAP$ac_delim
23225 MINGWAR!$MINGWAR$ac_delim
23226 SECURITYLIB!$SECURITYLIB$ac_delim
23227 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23228 IOKITLIB!$IOKITLIB$ac_delim
23229 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23230 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23231 COREAUDIO!$COREAUDIO$ac_delim
23232 CARBONLIB!$CARBONLIB$ac_delim
23233 CROSSTEST!$CROSSTEST$ac_delim
23234 CROSSCC!$CROSSCC$ac_delim
23235 CROSSWINDRES!$CROSSWINDRES$ac_delim
23236 NASLIBS!$NASLIBS$ac_delim
23237 XML2LIBS!$XML2LIBS$ac_delim
23238 XML2INCL!$XML2INCL$ac_delim
23239 XSLTLIBS!$XSLTLIBS$ac_delim
23240 XSLTINCL!$XSLTINCL$ac_delim
23241 HALINCL!$HALINCL$ac_delim
23242 sane_devel!$sane_devel$ac_delim
23243 SANEINCL!$SANEINCL$ac_delim
23244 gphoto2_devel!$gphoto2_devel$ac_delim
23245 gphoto2port_devel!$gphoto2port_devel$ac_delim
23246 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23247 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23248 RESOLVLIBS!$RESOLVLIBS$ac_delim
23249 LCMSLIBS!$LCMSLIBS$ac_delim
23250 LDAPLIBS!$LDAPLIBS$ac_delim
23251 ft_devel!$ft_devel$ac_delim
23252 FREETYPELIBS!$FREETYPELIBS$ac_delim
23253 FREETYPEINCL!$FREETYPEINCL$ac_delim
23254 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23255 ESDCONFIG!$ESDCONFIG$ac_delim
23256 ESDLIBS!$ESDLIBS$ac_delim
23257 ESDINCL!$ESDINCL$ac_delim
23258 ALSALIBS!$ALSALIBS$ac_delim
23259 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23260 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23261 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23262 BUILTINFLAG!$BUILTINFLAG$ac_delim
23263 LDPATH!$LDPATH$ac_delim
23264 CRTLIBS!$CRTLIBS$ac_delim
23265 SOCKETLIBS!$SOCKETLIBS$ac_delim
23266 MAIN_BINARY!$MAIN_BINARY$ac_delim
23267 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23268 LIBDL!$LIBDL$ac_delim
23269 LIBPOLL!$LIBPOLL$ac_delim
23270 DEPENDENCIES!$DEPENDENCIES$ac_delim
23271 LIBOBJS!$LIBOBJS$ac_delim
23272 LTLIBOBJS!$LTLIBOBJS$ac_delim
23273 _ACEOF
23275 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23276 break
23277 elif $ac_last_try; then
23278 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23279 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23280 { (exit 1); exit 1; }; }
23281 else
23282 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23284 done
23286 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23287 if test -n "$ac_eof"; then
23288 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23289 ac_eof=`expr $ac_eof + 1`
23292 cat >>$CONFIG_STATUS <<_ACEOF
23293 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23294 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23295 _ACEOF
23296 sed '
23297 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23298 s/^/s,@/; s/!/@,|#_!!_#|/
23301 s/'"$ac_delim"'$/,g/; t
23302 s/$/\\/; p
23303 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23304 ' >>$CONFIG_STATUS <conf$$subs.sed
23305 rm -f conf$$subs.sed
23306 cat >>$CONFIG_STATUS <<_ACEOF
23307 :end
23308 s/|#_!!_#|//g
23309 CEOF$ac_eof
23310 _ACEOF
23313 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23314 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23315 # trailing colons and then remove the whole line if VPATH becomes empty
23316 # (actually we leave an empty line to preserve line numbers).
23317 if test "x$srcdir" = x.; then
23318 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23319 s/:*\$(srcdir):*/:/
23320 s/:*\${srcdir}:*/:/
23321 s/:*@srcdir@:*/:/
23322 s/^\([^=]*=[ ]*\):*/\1/
23323 s/:*$//
23324 s/^[^=]*=[ ]*$//
23328 cat >>$CONFIG_STATUS <<\_ACEOF
23329 fi # test -n "$CONFIG_FILES"
23332 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23334 case $ac_tag in
23335 :[FHLC]) ac_mode=$ac_tag; continue;;
23336 esac
23337 case $ac_mode$ac_tag in
23338 :[FHL]*:*);;
23339 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23340 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23341 { (exit 1); exit 1; }; };;
23342 :[FH]-) ac_tag=-:-;;
23343 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23344 esac
23345 ac_save_IFS=$IFS
23346 IFS=:
23347 set x $ac_tag
23348 IFS=$ac_save_IFS
23349 shift
23350 ac_file=$1
23351 shift
23353 case $ac_mode in
23354 :L) ac_source=$1;;
23355 :[FH])
23356 ac_file_inputs=
23357 for ac_f
23359 case $ac_f in
23360 -) ac_f="$tmp/stdin";;
23361 *) # Look for the file first in the build tree, then in the source tree
23362 # (if the path is not absolute). The absolute path cannot be DOS-style,
23363 # because $ac_f cannot contain `:'.
23364 test -f "$ac_f" ||
23365 case $ac_f in
23366 [\\/$]*) false;;
23367 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23368 esac ||
23369 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23370 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23371 { (exit 1); exit 1; }; };;
23372 esac
23373 ac_file_inputs="$ac_file_inputs $ac_f"
23374 done
23376 # Let's still pretend it is `configure' which instantiates (i.e., don't
23377 # use $as_me), people would be surprised to read:
23378 # /* config.h. Generated by config.status. */
23379 configure_input="Generated from "`IFS=:
23380 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23381 if test x"$ac_file" != x-; then
23382 configure_input="$ac_file. $configure_input"
23383 { echo "$as_me:$LINENO: creating $ac_file" >&5
23384 echo "$as_me: creating $ac_file" >&6;}
23387 case $ac_tag in
23388 *:-:* | *:-) cat >"$tmp/stdin";;
23389 esac
23391 esac
23393 ac_dir=`$as_dirname -- "$ac_file" ||
23394 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23395 X"$ac_file" : 'X\(//\)[^/]' \| \
23396 X"$ac_file" : 'X\(//\)$' \| \
23397 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23398 echo X"$ac_file" |
23399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23400 s//\1/
23403 /^X\(\/\/\)[^/].*/{
23404 s//\1/
23407 /^X\(\/\/\)$/{
23408 s//\1/
23411 /^X\(\/\).*/{
23412 s//\1/
23415 s/.*/./; q'`
23416 { as_dir="$ac_dir"
23417 case $as_dir in #(
23418 -*) as_dir=./$as_dir;;
23419 esac
23420 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23421 as_dirs=
23422 while :; do
23423 case $as_dir in #(
23424 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23425 *) as_qdir=$as_dir;;
23426 esac
23427 as_dirs="'$as_qdir' $as_dirs"
23428 as_dir=`$as_dirname -- "$as_dir" ||
23429 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23430 X"$as_dir" : 'X\(//\)[^/]' \| \
23431 X"$as_dir" : 'X\(//\)$' \| \
23432 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23433 echo X"$as_dir" |
23434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23435 s//\1/
23438 /^X\(\/\/\)[^/].*/{
23439 s//\1/
23442 /^X\(\/\/\)$/{
23443 s//\1/
23446 /^X\(\/\).*/{
23447 s//\1/
23450 s/.*/./; q'`
23451 test -d "$as_dir" && break
23452 done
23453 test -z "$as_dirs" || eval "mkdir $as_dirs"
23454 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23455 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23456 { (exit 1); exit 1; }; }; }
23457 ac_builddir=.
23459 case "$ac_dir" in
23460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23462 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23463 # A ".." for each directory in $ac_dir_suffix.
23464 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23465 case $ac_top_builddir_sub in
23466 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23467 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23468 esac ;;
23469 esac
23470 ac_abs_top_builddir=$ac_pwd
23471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23472 # for backward compatibility:
23473 ac_top_builddir=$ac_top_build_prefix
23475 case $srcdir in
23476 .) # We are building in place.
23477 ac_srcdir=.
23478 ac_top_srcdir=$ac_top_builddir_sub
23479 ac_abs_top_srcdir=$ac_pwd ;;
23480 [\\/]* | ?:[\\/]* ) # Absolute name.
23481 ac_srcdir=$srcdir$ac_dir_suffix;
23482 ac_top_srcdir=$srcdir
23483 ac_abs_top_srcdir=$srcdir ;;
23484 *) # Relative name.
23485 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23486 ac_top_srcdir=$ac_top_build_prefix$srcdir
23487 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23488 esac
23489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23492 case $ac_mode in
23495 # CONFIG_FILE
23498 case $INSTALL in
23499 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23500 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23501 esac
23502 _ACEOF
23504 cat >>$CONFIG_STATUS <<\_ACEOF
23505 # If the template does not know about datarootdir, expand it.
23506 # FIXME: This hack should be removed a few years after 2.60.
23507 ac_datarootdir_hack=; ac_datarootdir_seen=
23509 case `sed -n '/datarootdir/ {
23513 /@datadir@/p
23514 /@docdir@/p
23515 /@infodir@/p
23516 /@localedir@/p
23517 /@mandir@/p
23518 ' $ac_file_inputs` in
23519 *datarootdir*) ac_datarootdir_seen=yes;;
23520 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23521 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23522 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23523 _ACEOF
23524 cat >>$CONFIG_STATUS <<_ACEOF
23525 ac_datarootdir_hack='
23526 s&@datadir@&$datadir&g
23527 s&@docdir@&$docdir&g
23528 s&@infodir@&$infodir&g
23529 s&@localedir@&$localedir&g
23530 s&@mandir@&$mandir&g
23531 s&\\\${datarootdir}&$datarootdir&g' ;;
23532 esac
23533 _ACEOF
23535 # Neutralize VPATH when `$srcdir' = `.'.
23536 # Shell code in configure.ac might set extrasub.
23537 # FIXME: do we really want to maintain this feature?
23538 cat >>$CONFIG_STATUS <<_ACEOF
23539 sed "$ac_vpsub
23540 $extrasub
23541 _ACEOF
23542 cat >>$CONFIG_STATUS <<\_ACEOF
23544 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23545 s&@configure_input@&$configure_input&;t t
23546 s&@top_builddir@&$ac_top_builddir_sub&;t t
23547 s&@srcdir@&$ac_srcdir&;t t
23548 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23549 s&@top_srcdir@&$ac_top_srcdir&;t t
23550 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23551 s&@builddir@&$ac_builddir&;t t
23552 s&@abs_builddir@&$ac_abs_builddir&;t t
23553 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23554 s&@INSTALL@&$ac_INSTALL&;t t
23555 $ac_datarootdir_hack
23556 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23558 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23559 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23560 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23561 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23562 which seems to be undefined. Please make sure it is defined." >&5
23563 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23564 which seems to be undefined. Please make sure it is defined." >&2;}
23566 rm -f "$tmp/stdin"
23567 case $ac_file in
23568 -) cat "$tmp/out"; rm -f "$tmp/out";;
23569 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23570 esac
23574 # CONFIG_HEADER
23576 _ACEOF
23578 # Transform confdefs.h into a sed script `conftest.defines', that
23579 # substitutes the proper values into config.h.in to produce config.h.
23580 rm -f conftest.defines conftest.tail
23581 # First, append a space to every undef/define line, to ease matching.
23582 echo 's/$/ /' >conftest.defines
23583 # Then, protect against being on the right side of a sed subst, or in
23584 # an unquoted here document, in config.status. If some macros were
23585 # called several times there might be several #defines for the same
23586 # symbol, which is useless. But do not sort them, since the last
23587 # AC_DEFINE must be honored.
23588 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23589 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23590 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23591 # PARAMS is the parameter list in the macro definition--in most cases, it's
23592 # just an empty string.
23593 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23594 ac_dB='\\)[ (].*,\\1define\\2'
23595 ac_dC=' '
23596 ac_dD=' ,'
23598 uniq confdefs.h |
23599 sed -n '
23600 t rset
23601 :rset
23602 s/^[ ]*#[ ]*define[ ][ ]*//
23603 t ok
23606 s/[\\&,]/\\&/g
23607 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23608 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23609 ' >>conftest.defines
23611 # Remove the space that was appended to ease matching.
23612 # Then replace #undef with comments. This is necessary, for
23613 # example, in the case of _POSIX_SOURCE, which is predefined and required
23614 # on some systems where configure will not decide to define it.
23615 # (The regexp can be short, since the line contains either #define or #undef.)
23616 echo 's/ $//
23617 s,^[ #]*u.*,/* & */,' >>conftest.defines
23619 # Break up conftest.defines:
23620 ac_max_sed_lines=50
23622 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23623 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23624 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23625 # et cetera.
23626 ac_in='$ac_file_inputs'
23627 ac_out='"$tmp/out1"'
23628 ac_nxt='"$tmp/out2"'
23630 while :
23632 # Write a here document:
23633 cat >>$CONFIG_STATUS <<_ACEOF
23634 # First, check the format of the line:
23635 cat >"\$tmp/defines.sed" <<\\CEOF
23636 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23637 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23639 :def
23640 _ACEOF
23641 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23642 echo 'CEOF
23643 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23644 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23645 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23646 grep . conftest.tail >/dev/null || break
23647 rm -f conftest.defines
23648 mv conftest.tail conftest.defines
23649 done
23650 rm -f conftest.defines conftest.tail
23652 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23653 cat >>$CONFIG_STATUS <<\_ACEOF
23654 if test x"$ac_file" != x-; then
23655 echo "/* $configure_input */" >"$tmp/config.h"
23656 cat "$ac_result" >>"$tmp/config.h"
23657 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23658 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23659 echo "$as_me: $ac_file is unchanged" >&6;}
23660 else
23661 rm -f $ac_file
23662 mv "$tmp/config.h" $ac_file
23664 else
23665 echo "/* $configure_input */"
23666 cat "$ac_result"
23668 rm -f "$tmp/out12"
23671 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23672 echo "$as_me: executing $ac_file commands" >&6;}
23674 esac
23677 case $ac_file$ac_mode in
23678 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23679 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23680 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23681 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23682 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23683 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23684 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23685 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23686 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23687 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23688 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23689 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23690 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23692 esac
23693 done # for ac_tag
23696 { (exit 0); exit 0; }
23697 _ACEOF
23698 chmod +x $CONFIG_STATUS
23699 ac_clean_files=$ac_clean_files_save
23702 # configure is writing to config.log, and then calls config.status.
23703 # config.status does its own redirection, appending to config.log.
23704 # Unfortunately, on DOS this fails, as config.log is still kept open
23705 # by configure, so config.status won't be able to write to it; its
23706 # output is simply discarded. So we exec the FD to /dev/null,
23707 # effectively closing config.log, so it can be properly (re)opened and
23708 # appended to by config.status. When coming back to configure, we
23709 # need to make the FD available again.
23710 if test "$no_create" != yes; then
23711 ac_cs_success=:
23712 ac_config_status_args=
23713 test "$silent" = yes &&
23714 ac_config_status_args="$ac_config_status_args --quiet"
23715 exec 5>/dev/null
23716 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23717 exec 5>>config.log
23718 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23719 # would make configure fail if this is the last instruction.
23720 $ac_cs_success || { (exit 1); exit 1; }
23724 if test "$no_create" = "yes"
23725 then
23726 exit 0
23729 ac_save_IFS="$IFS"
23730 IFS="|"
23731 if test "x$wine_notices != "x; then
23732 echo >&6
23733 for msg in $wine_notices; do
23734 if test -n "$msg"; then
23735 { echo "$as_me:$LINENO: $msg" >&5
23736 echo "$as_me: $msg" >&6;}
23738 done
23740 for msg in $wine_warnings; do
23741 if test -n "$msg"; then
23742 echo >&2
23743 { echo "$as_me:$LINENO: WARNING: $msg" >&5
23744 echo "$as_me: WARNING: $msg" >&2;}
23746 done
23747 IFS="$ac_save_IFS"
23749 echo "
23750 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
23751 " >&6