winhlp32: Update German translation.
[wine.git] / configure
bloba0ba584cee8a04570e763602ab8977ad11ba754c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0-rc2.
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='1.0-rc2'
578 PACKAGE_STRING='Wine 1.0-rc2'
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 SET_MAKE
668 CFLAGS
669 LDFLAGS
670 CPPFLAGS
671 ac_ct_CC
672 EXEEXT
673 OBJEXT
675 CXXFLAGS
676 ac_ct_CXX
677 CPPBIN
678 TOOLSDIR
679 XMKMF
681 X_CFLAGS
682 X_PRE_LIBS
683 X_LIBS
684 X_EXTRA_LIBS
685 FLEX
686 BISON
688 ac_ct_AS
691 ARFLAGS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 RSVG
708 ICOTOOL
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 1.0-rc2 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 1.0-rc2:";;
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
1378 Optional Packages:
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-alsa do not use the Alsa sound support
1382 --without-audioio do not use the AudioIO sound support
1383 --without-capi do not use CAPI (ISDN support)
1384 --without-cms do not use CMS (color management support)
1385 --without-coreaudio do not use the CoreAudio sound support
1386 --without-cups do not use CUPS
1387 --without-curses do not use (n)curses
1388 --without-esd do not use the EsounD sound support
1389 --without-fontconfig do not use fontconfig
1390 --without-freetype do not use the FreeType library
1391 --without-gphoto do not use gphoto (Digital Camera support)
1392 --without-glu do not use the GLU library
1393 --without-hal do not use HAL (dynamic device support)
1394 --without-jack do not use the Jack sound support
1395 --without-jpeg do not use JPEG
1396 --without-ldap do not use LDAP
1397 --without-nas do not use the NAS sound support
1398 --without-opengl do not use OpenGL
1399 --without-openssl do not use OpenSSL
1400 --without-oss do not use the OSS sound support
1401 --without-png do not use PNG
1402 --without-sane do not use SANE (scanner support)
1403 --without-xcomposite do not use the Xcomposite extension
1404 --without-xcursor do not use the Xcursor extension
1405 --without-xinerama do not use Xinerama (multi-monitor support)
1406 --without-xinput do not use the Xinput extension
1407 --without-xml do not use XML
1408 --without-xrandr do not use Xrandr (resolution changes)
1409 --without-xrender do not use the Xrender extension
1410 --without-xshape do not use the Xshape extension
1411 --without-xshm do not use XShm (shared memory extension)
1412 --without-xslt do not use XSLT
1413 --without-xvidmode do not use XFree video mode extension
1414 --with-wine-tools=DIR use Wine tools from directory DIR
1415 --with-x use the X Window System
1417 Some influential environment variables:
1418 CC C compiler command
1419 CFLAGS C compiler flags
1420 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1421 nonstandard directory <lib dir>
1422 LIBS libraries to pass to the linker, e.g. -l<library>
1423 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1424 you have headers in a nonstandard directory <include dir>
1425 CXX C++ compiler command
1426 CXXFLAGS C++ compiler flags
1427 XMKMF Path to xmkmf, Makefile generator for X Window System
1428 CPP C preprocessor
1430 Use these variables to override the choices made by `configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1433 Report bugs to <wine-devel@winehq.org>.
1434 _ACEOF
1435 ac_status=$?
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" || continue
1442 ac_builddir=.
1444 case "$ac_dir" in
1445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1448 # A ".." for each directory in $ac_dir_suffix.
1449 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1450 case $ac_top_builddir_sub in
1451 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 esac ;;
1454 esac
1455 ac_abs_top_builddir=$ac_pwd
1456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir=$ac_top_build_prefix
1460 case $srcdir in
1461 .) # We are building in place.
1462 ac_srcdir=.
1463 ac_top_srcdir=$ac_top_builddir_sub
1464 ac_abs_top_srcdir=$ac_pwd ;;
1465 [\\/]* | ?:[\\/]* ) # Absolute name.
1466 ac_srcdir=$srcdir$ac_dir_suffix;
1467 ac_top_srcdir=$srcdir
1468 ac_abs_top_srcdir=$srcdir ;;
1469 *) # Relative name.
1470 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471 ac_top_srcdir=$ac_top_build_prefix$srcdir
1472 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1473 esac
1474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1476 cd "$ac_dir" || { ac_status=$?; continue; }
1477 # Check for guested configure.
1478 if test -f "$ac_srcdir/configure.gnu"; then
1479 echo &&
1480 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481 elif test -f "$ac_srcdir/configure"; then
1482 echo &&
1483 $SHELL "$ac_srcdir/configure" --help=recursive
1484 else
1485 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1486 fi || ac_status=$?
1487 cd "$ac_pwd" || { ac_status=$?; break; }
1488 done
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1493 cat <<\_ACEOF
1494 Wine configure 1.0-rc2
1495 generated by GNU Autoconf 2.61
1497 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1498 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1501 _ACEOF
1502 exit
1504 cat >config.log <<_ACEOF
1505 This file contains any messages produced by compilers while
1506 running configure, to aid debugging if configure makes a mistake.
1508 It was created by Wine $as_me 1.0-rc2, which was
1509 generated by GNU Autoconf 2.61. Invocation command line was
1511 $ $0 $@
1513 _ACEOF
1514 exec 5>>config.log
1516 cat <<_ASUNAME
1517 ## --------- ##
1518 ## Platform. ##
1519 ## --------- ##
1521 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1522 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1523 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1524 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1525 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1527 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1528 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1530 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1531 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1532 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1533 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1534 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1535 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1536 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1538 _ASUNAME
1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1541 for as_dir in $PATH
1543 IFS=$as_save_IFS
1544 test -z "$as_dir" && as_dir=.
1545 echo "PATH: $as_dir"
1546 done
1547 IFS=$as_save_IFS
1549 } >&5
1551 cat >&5 <<_ACEOF
1554 ## ----------- ##
1555 ## Core tests. ##
1556 ## ----------- ##
1558 _ACEOF
1561 # Keep a trace of the command line.
1562 # Strip out --no-create and --no-recursion so they do not pile up.
1563 # Strip out --silent because we don't want to record it for future runs.
1564 # Also quote any args containing shell meta-characters.
1565 # Make two passes to allow for proper duplicate-argument suppression.
1566 ac_configure_args=
1567 ac_configure_args0=
1568 ac_configure_args1=
1569 ac_must_keep_next=false
1570 for ac_pass in 1 2
1572 for ac_arg
1574 case $ac_arg in
1575 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1576 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1577 | -silent | --silent | --silen | --sile | --sil)
1578 continue ;;
1579 *\'*)
1580 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1581 esac
1582 case $ac_pass in
1583 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1585 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1586 if test $ac_must_keep_next = true; then
1587 ac_must_keep_next=false # Got value, back to normal.
1588 else
1589 case $ac_arg in
1590 *=* | --config-cache | -C | -disable-* | --disable-* \
1591 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1592 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1593 | -with-* | --with-* | -without-* | --without-* | --x)
1594 case "$ac_configure_args0 " in
1595 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1596 esac
1598 -* ) ac_must_keep_next=true ;;
1599 esac
1601 ac_configure_args="$ac_configure_args '$ac_arg'"
1603 esac
1604 done
1605 done
1606 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1607 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1609 # When interrupted or exit'd, cleanup temporary files, and complete
1610 # config.log. We remove comments because anyway the quotes in there
1611 # would cause problems or look ugly.
1612 # WARNING: Use '\'' to represent an apostrophe within the trap.
1613 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1614 trap 'exit_status=$?
1615 # Save into config.log some information that might help in debugging.
1617 echo
1619 cat <<\_ASBOX
1620 ## ---------------- ##
1621 ## Cache variables. ##
1622 ## ---------------- ##
1623 _ASBOX
1624 echo
1625 # The following way of writing the cache mishandles newlines in values,
1627 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1628 eval ac_val=\$$ac_var
1629 case $ac_val in #(
1630 *${as_nl}*)
1631 case $ac_var in #(
1632 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1633 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1634 esac
1635 case $ac_var in #(
1636 _ | IFS | as_nl) ;; #(
1637 *) $as_unset $ac_var ;;
1638 esac ;;
1639 esac
1640 done
1641 (set) 2>&1 |
1642 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1643 *${as_nl}ac_space=\ *)
1644 sed -n \
1645 "s/'\''/'\''\\\\'\'''\''/g;
1646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1647 ;; #(
1649 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1651 esac |
1652 sort
1654 echo
1656 cat <<\_ASBOX
1657 ## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##
1660 _ASBOX
1661 echo
1662 for ac_var in $ac_subst_vars
1664 eval ac_val=\$$ac_var
1665 case $ac_val in
1666 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667 esac
1668 echo "$ac_var='\''$ac_val'\''"
1669 done | sort
1670 echo
1672 if test -n "$ac_subst_files"; then
1673 cat <<\_ASBOX
1674 ## ------------------- ##
1675 ## File substitutions. ##
1676 ## ------------------- ##
1677 _ASBOX
1678 echo
1679 for ac_var in $ac_subst_files
1681 eval ac_val=\$$ac_var
1682 case $ac_val in
1683 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1684 esac
1685 echo "$ac_var='\''$ac_val'\''"
1686 done | sort
1687 echo
1690 if test -s confdefs.h; then
1691 cat <<\_ASBOX
1692 ## ----------- ##
1693 ## confdefs.h. ##
1694 ## ----------- ##
1695 _ASBOX
1696 echo
1697 cat confdefs.h
1698 echo
1700 test "$ac_signal" != 0 &&
1701 echo "$as_me: caught signal $ac_signal"
1702 echo "$as_me: exit $exit_status"
1703 } >&5
1704 rm -f core *.core core.conftest.* &&
1705 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1706 exit $exit_status
1708 for ac_signal in 1 2 13 15; do
1709 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1710 done
1711 ac_signal=0
1713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1714 rm -f -r conftest* confdefs.h
1716 # Predefined preprocessor variables.
1718 cat >>confdefs.h <<_ACEOF
1719 #define PACKAGE_NAME "$PACKAGE_NAME"
1720 _ACEOF
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1725 _ACEOF
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1730 _ACEOF
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_STRING "$PACKAGE_STRING"
1735 _ACEOF
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1740 _ACEOF
1743 # Let the site file select an alternate cache file if it wants to.
1744 # Prefer explicitly selected file to automatically selected ones.
1745 if test -n "$CONFIG_SITE"; then
1746 set x "$CONFIG_SITE"
1747 elif test "x$prefix" != xNONE; then
1748 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1749 else
1750 set x "$ac_default_prefix/share/config.site" \
1751 "$ac_default_prefix/etc/config.site"
1753 shift
1754 for ac_site_file
1756 if test -r "$ac_site_file"; then
1757 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1758 echo "$as_me: loading site script $ac_site_file" >&6;}
1759 sed 's/^/| /' "$ac_site_file" >&5
1760 . "$ac_site_file"
1762 done
1764 if test -r "$cache_file"; then
1765 # Some versions of bash will fail to source /dev/null (special
1766 # files actually), so we avoid doing that.
1767 if test -f "$cache_file"; then
1768 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1769 echo "$as_me: loading cache $cache_file" >&6;}
1770 case $cache_file in
1771 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1772 *) . "./$cache_file";;
1773 esac
1775 else
1776 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1777 echo "$as_me: creating cache $cache_file" >&6;}
1778 >$cache_file
1781 # Check that the precious variables saved in the cache have kept the same
1782 # value.
1783 ac_cache_corrupted=false
1784 for ac_var in $ac_precious_vars; do
1785 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1786 eval ac_new_set=\$ac_env_${ac_var}_set
1787 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1788 eval ac_new_val=\$ac_env_${ac_var}_value
1789 case $ac_old_set,$ac_new_set in
1790 set,)
1791 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1792 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1793 ac_cache_corrupted=: ;;
1794 ,set)
1795 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1796 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1797 ac_cache_corrupted=: ;;
1798 ,);;
1800 if test "x$ac_old_val" != "x$ac_new_val"; then
1801 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1802 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1803 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1804 echo "$as_me: former value: $ac_old_val" >&2;}
1805 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1806 echo "$as_me: current value: $ac_new_val" >&2;}
1807 ac_cache_corrupted=:
1808 fi;;
1809 esac
1810 # Pass precious variables to config.status.
1811 if test "$ac_new_set" = set; then
1812 case $ac_new_val in
1813 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1814 *) ac_arg=$ac_var=$ac_new_val ;;
1815 esac
1816 case " $ac_configure_args " in
1817 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1818 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1819 esac
1821 done
1822 if $ac_cache_corrupted; then
1823 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1824 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1825 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1826 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1827 { (exit 1); exit 1; }; }
1854 ac_ext=c
1855 ac_cpp='$CPP $CPPFLAGS'
1856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1862 ac_config_headers="$ac_config_headers include/config.h"
1864 ac_aux_dir=
1865 for ac_dir in tools "$srcdir"/tools; do
1866 if test -f "$ac_dir/install-sh"; then
1867 ac_aux_dir=$ac_dir
1868 ac_install_sh="$ac_aux_dir/install-sh -c"
1869 break
1870 elif test -f "$ac_dir/install.sh"; then
1871 ac_aux_dir=$ac_dir
1872 ac_install_sh="$ac_aux_dir/install.sh -c"
1873 break
1874 elif test -f "$ac_dir/shtool"; then
1875 ac_aux_dir=$ac_dir
1876 ac_install_sh="$ac_aux_dir/shtool install -c"
1877 break
1879 done
1880 if test -z "$ac_aux_dir"; then
1881 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1882 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1883 { (exit 1); exit 1; }; }
1886 # These three variables are undocumented and unsupported,
1887 # and are intended to be withdrawn in a future Autoconf release.
1888 # They can cause serious problems if a builder's source tree is in a directory
1889 # whose full name contains unusual characters.
1890 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1891 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1892 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1897 # Check whether --enable-win16 was given.
1898 if test "${enable_win16+set}" = set; then
1899 enableval=$enable_win16;
1902 # Check whether --enable-win64 was given.
1903 if test "${enable_win64+set}" = set; then
1904 enableval=$enable_win64;
1907 # Check whether --enable-maintainer-mode was given.
1908 if test "${enable_maintainer_mode+set}" = set; then
1909 enableval=$enable_maintainer_mode;
1910 else
1911 MAINTAINER_MODE=\#
1917 # Check whether --with-alsa was given.
1918 if test "${with_alsa+set}" = set; then
1919 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1923 # Check whether --with-audioio was given.
1924 if test "${with_audioio+set}" = set; then
1925 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1929 # Check whether --with-capi was given.
1930 if test "${with_capi+set}" = set; then
1931 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1935 # Check whether --with-cms was given.
1936 if test "${with_cms+set}" = set; then
1937 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1941 # Check whether --with-coreaudio was given.
1942 if test "${with_coreaudio+set}" = set; then
1943 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1947 # Check whether --with-cups was given.
1948 if test "${with_cups+set}" = set; then
1949 withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1953 # Check whether --with-curses was given.
1954 if test "${with_curses+set}" = set; then
1955 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1959 # Check whether --with-esd was given.
1960 if test "${with_esd+set}" = set; then
1961 withval=$with_esd;
1965 # Check whether --with-fontconfig was given.
1966 if test "${with_fontconfig+set}" = set; then
1967 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1971 # Check whether --with-freetype was given.
1972 if test "${with_freetype+set}" = set; then
1973 withval=$with_freetype;
1977 # Check whether --with-gphoto was given.
1978 if test "${with_gphoto+set}" = set; then
1979 withval=$with_gphoto;
1983 # Check whether --with-glu was given.
1984 if test "${with_glu+set}" = set; then
1985 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1989 # Check whether --with-hal was given.
1990 if test "${with_hal+set}" = set; then
1991 withval=$with_hal;
1995 # Check whether --with-jack was given.
1996 if test "${with_jack+set}" = set; then
1997 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2001 # Check whether --with-jpeg was given.
2002 if test "${with_jpeg+set}" = set; then
2003 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2007 # Check whether --with-ldap was given.
2008 if test "${with_ldap+set}" = set; then
2009 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2013 # Check whether --with-nas was given.
2014 if test "${with_nas+set}" = set; then
2015 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2019 # Check whether --with-opengl was given.
2020 if test "${with_opengl+set}" = set; then
2021 withval=$with_opengl;
2025 # Check whether --with-openssl was given.
2026 if test "${with_openssl+set}" = set; then
2027 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2031 # Check whether --with-oss was given.
2032 if test "${with_oss+set}" = set; then
2033 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
2037 # Check whether --with-png was given.
2038 if test "${with_png+set}" = set; then
2039 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2043 # Check whether --with-sane was given.
2044 if test "${with_sane+set}" = set; then
2045 withval=$with_sane;
2049 # Check whether --with-xcomposite was given.
2050 if test "${with_xcomposite+set}" = set; then
2051 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2055 # Check whether --with-xcursor was given.
2056 if test "${with_xcursor+set}" = set; then
2057 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2061 # Check whether --with-xinerama was given.
2062 if test "${with_xinerama+set}" = set; then
2063 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2067 # Check whether --with-xinput was given.
2068 if test "${with_xinput+set}" = set; then
2069 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2073 # Check whether --with-xml was given.
2074 if test "${with_xml+set}" = set; then
2075 withval=$with_xml;
2079 # Check whether --with-xrandr was given.
2080 if test "${with_xrandr+set}" = set; then
2081 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2085 # Check whether --with-xrender was given.
2086 if test "${with_xrender+set}" = set; then
2087 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2091 # Check whether --with-xshape was given.
2092 if test "${with_xshape+set}" = set; then
2093 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2097 # Check whether --with-xshm was given.
2098 if test "${with_xshm+set}" = set; then
2099 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2103 # Check whether --with-xslt was given.
2104 if test "${with_xslt+set}" = set; then
2105 withval=$with_xslt;
2109 # Check whether --with-xvidmode was given.
2110 if test "${with_xvidmode+set}" = set; then
2111 withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2116 # Check whether --with-wine-tools was given.
2117 if test "${with_wine_tools+set}" = set; then
2118 withval=$with_wine_tools;
2122 # Make sure we can run config.sub.
2123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2124 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2125 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2126 { (exit 1); exit 1; }; }
2128 { echo "$as_me:$LINENO: checking build system type" >&5
2129 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2130 if test "${ac_cv_build+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133 ac_build_alias=$build_alias
2134 test "x$ac_build_alias" = x &&
2135 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2136 test "x$ac_build_alias" = x &&
2137 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2138 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2139 { (exit 1); exit 1; }; }
2140 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2141 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2142 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2143 { (exit 1); exit 1; }; }
2146 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2147 echo "${ECHO_T}$ac_cv_build" >&6; }
2148 case $ac_cv_build in
2149 *-*-*) ;;
2150 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2151 echo "$as_me: error: invalid value of canonical build" >&2;}
2152 { (exit 1); exit 1; }; };;
2153 esac
2154 build=$ac_cv_build
2155 ac_save_IFS=$IFS; IFS='-'
2156 set x $ac_cv_build
2157 shift
2158 build_cpu=$1
2159 build_vendor=$2
2160 shift; shift
2161 # Remember, the first character of IFS is used to create $*,
2162 # except with old shells:
2163 build_os=$*
2164 IFS=$ac_save_IFS
2165 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2168 { echo "$as_me:$LINENO: checking host system type" >&5
2169 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2170 if test "${ac_cv_host+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 else
2173 if test "x$host_alias" = x; then
2174 ac_cv_host=$ac_cv_build
2175 else
2176 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2177 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2178 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2179 { (exit 1); exit 1; }; }
2183 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2184 echo "${ECHO_T}$ac_cv_host" >&6; }
2185 case $ac_cv_host in
2186 *-*-*) ;;
2187 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2188 echo "$as_me: error: invalid value of canonical host" >&2;}
2189 { (exit 1); exit 1; }; };;
2190 esac
2191 host=$ac_cv_host
2192 ac_save_IFS=$IFS; IFS='-'
2193 set x $ac_cv_host
2194 shift
2195 host_cpu=$1
2196 host_vendor=$2
2197 shift; shift
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2200 host_os=$*
2201 IFS=$ac_save_IFS
2202 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2205 case $host in
2206 x86_64*linux*)
2207 if test "x$enable_win64" != "xyes"
2208 then
2209 test -n "$CC" || CC="gcc -m32"
2210 test -n "$CXX"|| CXX="g++ -m32"
2211 test -n "$LD" || LD="ld -m elf_i386"
2212 test -n "$AS" || AS="as --32"
2213 host_cpu="i386"
2216 esac
2218 case $host_cpu in
2219 *i[3456789]86*)
2220 if test "x$enable_win16" != "xno"
2221 then
2222 enable_win16="yes"
2225 esac
2227 WIN16_FILES="\$(WIN16_FILES)"
2229 WIN16_INSTALL="\$(WIN16_INSTALL)"
2231 if test "x$enable_win16" != "xyes"
2232 then
2233 WIN16_FILES=""
2234 WIN16_INSTALL=""
2237 case "$srcdir" in
2238 .) ;;
2239 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2240 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2241 You need to run 'make distclean' in the source tree first." >&5
2242 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2243 You need to run 'make distclean' in the source tree first." >&2;}
2244 { (exit 1); exit 1; }; }
2245 fi ;;
2246 esac
2249 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2250 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2251 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2252 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 else
2255 cat >conftest.make <<\_ACEOF
2256 SHELL = /bin/sh
2257 all:
2258 @echo '@@@%%%=$(MAKE)=@@@%%%'
2259 _ACEOF
2260 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2261 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2262 *@@@%%%=?*=@@@%%%*)
2263 eval ac_cv_prog_make_${ac_make}_set=yes;;
2265 eval ac_cv_prog_make_${ac_make}_set=no;;
2266 esac
2267 rm -f conftest.make
2269 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2270 { echo "$as_me:$LINENO: result: yes" >&5
2271 echo "${ECHO_T}yes" >&6; }
2272 SET_MAKE=
2273 else
2274 { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2276 SET_MAKE="MAKE=${MAKE-make}"
2279 ac_ext=c
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2284 if test -n "$ac_tool_prefix"; then
2285 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 if test -n "$CC"; then
2293 ac_cv_prog_CC="$CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2298 IFS=$as_save_IFS
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 break 2
2306 done
2307 done
2308 IFS=$as_save_IFS
2312 CC=$ac_cv_prog_CC
2313 if test -n "$CC"; then
2314 { echo "$as_me:$LINENO: result: $CC" >&5
2315 echo "${ECHO_T}$CC" >&6; }
2316 else
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2323 if test -z "$ac_cv_prog_CC"; then
2324 ac_ct_CC=$CC
2325 # Extract the first word of "gcc", so it can be a program name with args.
2326 set dummy gcc; ac_word=$2
2327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 else
2332 if test -n "$ac_ct_CC"; then
2333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2334 else
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 for as_dir in $PATH
2338 IFS=$as_save_IFS
2339 test -z "$as_dir" && as_dir=.
2340 for ac_exec_ext in '' $ac_executable_extensions; do
2341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342 ac_cv_prog_ac_ct_CC="gcc"
2343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 break 2
2346 done
2347 done
2348 IFS=$as_save_IFS
2352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2353 if test -n "$ac_ct_CC"; then
2354 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2355 echo "${ECHO_T}$ac_ct_CC" >&6; }
2356 else
2357 { echo "$as_me:$LINENO: result: no" >&5
2358 echo "${ECHO_T}no" >&6; }
2361 if test "x$ac_ct_CC" = x; then
2362 CC=""
2363 else
2364 case $cross_compiling:$ac_tool_warned in
2365 yes:)
2366 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2367 whose name does not start with the host triplet. If you think this
2368 configuration is useful to you, please write to autoconf@gnu.org." >&5
2369 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2370 whose name does not start with the host triplet. If you think this
2371 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2372 ac_tool_warned=yes ;;
2373 esac
2374 CC=$ac_ct_CC
2376 else
2377 CC="$ac_cv_prog_CC"
2380 if test -z "$CC"; then
2381 if test -n "$ac_tool_prefix"; then
2382 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2383 set dummy ${ac_tool_prefix}cc; ac_word=$2
2384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2386 if test "${ac_cv_prog_CC+set}" = set; then
2387 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 else
2389 if test -n "$CC"; then
2390 ac_cv_prog_CC="$CC" # Let the user override the test.
2391 else
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 for as_dir in $PATH
2395 IFS=$as_save_IFS
2396 test -z "$as_dir" && as_dir=.
2397 for ac_exec_ext in '' $ac_executable_extensions; do
2398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399 ac_cv_prog_CC="${ac_tool_prefix}cc"
2400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401 break 2
2403 done
2404 done
2405 IFS=$as_save_IFS
2409 CC=$ac_cv_prog_CC
2410 if test -n "$CC"; then
2411 { echo "$as_me:$LINENO: result: $CC" >&5
2412 echo "${ECHO_T}$CC" >&6; }
2413 else
2414 { echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6; }
2421 if test -z "$CC"; then
2422 # Extract the first word of "cc", so it can be a program name with args.
2423 set dummy cc; ac_word=$2
2424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 else
2429 if test -n "$CC"; then
2430 ac_cv_prog_CC="$CC" # Let the user override the test.
2431 else
2432 ac_prog_rejected=no
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 for as_dir in $PATH
2436 IFS=$as_save_IFS
2437 test -z "$as_dir" && as_dir=.
2438 for ac_exec_ext in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2441 ac_prog_rejected=yes
2442 continue
2444 ac_cv_prog_CC="cc"
2445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 break 2
2448 done
2449 done
2450 IFS=$as_save_IFS
2452 if test $ac_prog_rejected = yes; then
2453 # We found a bogon in the path, so make sure we never use it.
2454 set dummy $ac_cv_prog_CC
2455 shift
2456 if test $# != 0; then
2457 # We chose a different compiler from the bogus one.
2458 # However, it has the same basename, so the bogon will be chosen
2459 # first if we set CC to just the basename; use the full file name.
2460 shift
2461 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2466 CC=$ac_cv_prog_CC
2467 if test -n "$CC"; then
2468 { echo "$as_me:$LINENO: result: $CC" >&5
2469 echo "${ECHO_T}$CC" >&6; }
2470 else
2471 { echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6; }
2477 if test -z "$CC"; then
2478 if test -n "$ac_tool_prefix"; then
2479 for ac_prog in cl.exe
2481 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 else
2488 if test -n "$CC"; then
2489 ac_cv_prog_CC="$CC" # Let the user override the test.
2490 else
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 for as_dir in $PATH
2494 IFS=$as_save_IFS
2495 test -z "$as_dir" && as_dir=.
2496 for ac_exec_ext in '' $ac_executable_extensions; do
2497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 break 2
2502 done
2503 done
2504 IFS=$as_save_IFS
2508 CC=$ac_cv_prog_CC
2509 if test -n "$CC"; then
2510 { echo "$as_me:$LINENO: result: $CC" >&5
2511 echo "${ECHO_T}$CC" >&6; }
2512 else
2513 { echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6; }
2518 test -n "$CC" && break
2519 done
2521 if test -z "$CC"; then
2522 ac_ct_CC=$CC
2523 for ac_prog in cl.exe
2525 # Extract the first word of "$ac_prog", so it can be a program name with args.
2526 set dummy $ac_prog; ac_word=$2
2527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 else
2532 if test -n "$ac_ct_CC"; then
2533 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2534 else
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2538 IFS=$as_save_IFS
2539 test -z "$as_dir" && as_dir=.
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542 ac_cv_prog_ac_ct_CC="$ac_prog"
2543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2544 break 2
2546 done
2547 done
2548 IFS=$as_save_IFS
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6; }
2556 else
2557 { echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6; }
2562 test -n "$ac_ct_CC" && break
2563 done
2565 if test "x$ac_ct_CC" = x; then
2566 CC=""
2567 else
2568 case $cross_compiling:$ac_tool_warned in
2569 yes:)
2570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2571 whose name does not start with the host triplet. If you think this
2572 configuration is useful to you, please write to autoconf@gnu.org." >&5
2573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2574 whose name does not start with the host triplet. If you think this
2575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2576 ac_tool_warned=yes ;;
2577 esac
2578 CC=$ac_ct_CC
2585 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: no acceptable C compiler found in \$PATH
2588 See \`config.log' for more details." >&2;}
2589 { (exit 1); exit 1; }; }
2591 # Provide some information about the compiler.
2592 echo "$as_me:$LINENO: checking for C compiler version" >&5
2593 ac_compiler=`set X $ac_compile; echo $2`
2594 { (ac_try="$ac_compiler --version >&5"
2595 case "(($ac_try" in
2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597 *) ac_try_echo=$ac_try;;
2598 esac
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600 (eval "$ac_compiler --version >&5") 2>&5
2601 ac_status=$?
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }
2604 { (ac_try="$ac_compiler -v >&5"
2605 case "(($ac_try" in
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2608 esac
2609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2610 (eval "$ac_compiler -v >&5") 2>&5
2611 ac_status=$?
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }
2614 { (ac_try="$ac_compiler -V >&5"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compiler -V >&5") 2>&5
2621 ac_status=$?
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }
2625 cat >conftest.$ac_ext <<_ACEOF
2626 /* confdefs.h. */
2627 _ACEOF
2628 cat confdefs.h >>conftest.$ac_ext
2629 cat >>conftest.$ac_ext <<_ACEOF
2630 /* end confdefs.h. */
2633 main ()
2637 return 0;
2639 _ACEOF
2640 ac_clean_files_save=$ac_clean_files
2641 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2642 # Try to create an executable without -o first, disregard a.out.
2643 # It will help us diagnose broken compilers, and finding out an intuition
2644 # of exeext.
2645 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2646 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2647 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2649 # List of possible output files, starting from the most likely.
2650 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2651 # only as a last resort. b.out is created by i960 compilers.
2652 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2654 # The IRIX 6 linker writes into existing files which may not be
2655 # executable, retaining their permissions. Remove them first so a
2656 # subsequent execution test works.
2657 ac_rmfiles=
2658 for ac_file in $ac_files
2660 case $ac_file in
2661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2662 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2663 esac
2664 done
2665 rm -f $ac_rmfiles
2667 if { (ac_try="$ac_link_default"
2668 case "(($ac_try" in
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2671 esac
2672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673 (eval "$ac_link_default") 2>&5
2674 ac_status=$?
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; then
2677 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2678 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2679 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2680 # so that the user can short-circuit this test for compilers unknown to
2681 # Autoconf.
2682 for ac_file in $ac_files ''
2684 test -f "$ac_file" || continue
2685 case $ac_file in
2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2688 [ab].out )
2689 # We found the default executable, but exeext='' is most
2690 # certainly right.
2691 break;;
2692 *.* )
2693 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2694 then :; else
2695 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2697 # We set ac_cv_exeext here because the later test for it is not
2698 # safe: cross compilers may not add the suffix if given an `-o'
2699 # argument, so we may need to know it at that point already.
2700 # Even if this section looks crufty: it has the advantage of
2701 # actually working.
2702 break;;
2704 break;;
2705 esac
2706 done
2707 test "$ac_cv_exeext" = no && ac_cv_exeext=
2709 else
2710 ac_file=''
2713 { echo "$as_me:$LINENO: result: $ac_file" >&5
2714 echo "${ECHO_T}$ac_file" >&6; }
2715 if test -z "$ac_file"; then
2716 echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.$ac_ext >&5
2719 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&5
2721 echo "$as_me: error: C compiler cannot create executables
2722 See \`config.log' for more details." >&2;}
2723 { (exit 77); exit 77; }; }
2726 ac_exeext=$ac_cv_exeext
2728 # Check that the compiler produces executables we can run. If not, either
2729 # the compiler is broken, or we cross compile.
2730 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2731 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2733 # If not cross compiling, check that we can run a simple program.
2734 if test "$cross_compiling" != yes; then
2735 if { ac_try='./$ac_file'
2736 { (case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2739 esac
2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741 (eval "$ac_try") 2>&5
2742 ac_status=$?
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2745 cross_compiling=no
2746 else
2747 if test "$cross_compiling" = maybe; then
2748 cross_compiling=yes
2749 else
2750 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2751 If you meant to cross compile, use \`--host'.
2752 See \`config.log' for more details." >&5
2753 echo "$as_me: error: cannot run C compiled programs.
2754 If you meant to cross compile, use \`--host'.
2755 See \`config.log' for more details." >&2;}
2756 { (exit 1); exit 1; }; }
2760 { echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6; }
2763 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2764 ac_clean_files=$ac_clean_files_save
2765 # Check that the compiler produces executables we can run. If not, either
2766 # the compiler is broken, or we cross compile.
2767 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2768 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2769 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2770 echo "${ECHO_T}$cross_compiling" >&6; }
2772 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2773 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2774 if { (ac_try="$ac_link"
2775 case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778 esac
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_link") 2>&5
2781 ac_status=$?
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }; then
2784 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2785 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2786 # work properly (i.e., refer to `conftest.exe'), while it won't with
2787 # `rm'.
2788 for ac_file in conftest.exe conftest conftest.*; do
2789 test -f "$ac_file" || continue
2790 case $ac_file in
2791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2792 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2793 break;;
2794 * ) break;;
2795 esac
2796 done
2797 else
2798 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2799 See \`config.log' for more details." >&5
2800 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2801 See \`config.log' for more details." >&2;}
2802 { (exit 1); exit 1; }; }
2805 rm -f conftest$ac_cv_exeext
2806 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2807 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2809 rm -f conftest.$ac_ext
2810 EXEEXT=$ac_cv_exeext
2811 ac_exeext=$EXEEXT
2812 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2813 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2814 if test "${ac_cv_objext+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 else
2817 cat >conftest.$ac_ext <<_ACEOF
2818 /* confdefs.h. */
2819 _ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h. */
2825 main ()
2829 return 0;
2831 _ACEOF
2832 rm -f conftest.o conftest.obj
2833 if { (ac_try="$ac_compile"
2834 case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_compile") 2>&5
2840 ac_status=$?
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; then
2843 for ac_file in conftest.o conftest.obj conftest.*; do
2844 test -f "$ac_file" || continue;
2845 case $ac_file in
2846 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2847 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2848 break;;
2849 esac
2850 done
2851 else
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2855 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2856 See \`config.log' for more details." >&5
2857 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2858 See \`config.log' for more details." >&2;}
2859 { (exit 1); exit 1; }; }
2862 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2864 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2865 echo "${ECHO_T}$ac_cv_objext" >&6; }
2866 OBJEXT=$ac_cv_objext
2867 ac_objext=$OBJEXT
2868 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2869 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2870 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2871 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 else
2873 cat >conftest.$ac_ext <<_ACEOF
2874 /* confdefs.h. */
2875 _ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2881 main ()
2883 #ifndef __GNUC__
2884 choke me
2885 #endif
2888 return 0;
2890 _ACEOF
2891 rm -f conftest.$ac_objext
2892 if { (ac_try="$ac_compile"
2893 case "(($ac_try" in
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2896 esac
2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898 (eval "$ac_compile") 2>conftest.er1
2899 ac_status=$?
2900 grep -v '^ *+' conftest.er1 >conftest.err
2901 rm -f conftest.er1
2902 cat conftest.err >&5
2903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 (exit $ac_status); } && {
2905 test -z "$ac_c_werror_flag" ||
2906 test ! -s conftest.err
2907 } && test -s conftest.$ac_objext; then
2908 ac_compiler_gnu=yes
2909 else
2910 echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.$ac_ext >&5
2913 ac_compiler_gnu=no
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2920 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2921 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2922 GCC=`test $ac_compiler_gnu = yes && echo yes`
2923 ac_test_CFLAGS=${CFLAGS+set}
2924 ac_save_CFLAGS=$CFLAGS
2925 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2926 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2927 if test "${ac_cv_prog_cc_g+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 else
2930 ac_save_c_werror_flag=$ac_c_werror_flag
2931 ac_c_werror_flag=yes
2932 ac_cv_prog_cc_g=no
2933 CFLAGS="-g"
2934 cat >conftest.$ac_ext <<_ACEOF
2935 /* confdefs.h. */
2936 _ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2942 main ()
2946 return 0;
2948 _ACEOF
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2951 case "(($ac_try" in
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2954 esac
2955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2957 ac_status=$?
2958 grep -v '^ *+' conftest.er1 >conftest.err
2959 rm -f conftest.er1
2960 cat conftest.err >&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); } && {
2963 test -z "$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 } && test -s conftest.$ac_objext; then
2966 ac_cv_prog_cc_g=yes
2967 else
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2971 CFLAGS=""
2972 cat >conftest.$ac_ext <<_ACEOF
2973 /* confdefs.h. */
2974 _ACEOF
2975 cat confdefs.h >>conftest.$ac_ext
2976 cat >>conftest.$ac_ext <<_ACEOF
2977 /* end confdefs.h. */
2980 main ()
2984 return 0;
2986 _ACEOF
2987 rm -f conftest.$ac_objext
2988 if { (ac_try="$ac_compile"
2989 case "(($ac_try" in
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2992 esac
2993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2994 (eval "$ac_compile") 2>conftest.er1
2995 ac_status=$?
2996 grep -v '^ *+' conftest.er1 >conftest.err
2997 rm -f conftest.er1
2998 cat conftest.err >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } && {
3001 test -z "$ac_c_werror_flag" ||
3002 test ! -s conftest.err
3003 } && test -s conftest.$ac_objext; then
3005 else
3006 echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3009 ac_c_werror_flag=$ac_save_c_werror_flag
3010 CFLAGS="-g"
3011 cat >conftest.$ac_ext <<_ACEOF
3012 /* confdefs.h. */
3013 _ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3019 main ()
3023 return 0;
3025 _ACEOF
3026 rm -f conftest.$ac_objext
3027 if { (ac_try="$ac_compile"
3028 case "(($ac_try" in
3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030 *) ac_try_echo=$ac_try;;
3031 esac
3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033 (eval "$ac_compile") 2>conftest.er1
3034 ac_status=$?
3035 grep -v '^ *+' conftest.er1 >conftest.err
3036 rm -f conftest.er1
3037 cat conftest.err >&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); } && {
3040 test -z "$ac_c_werror_flag" ||
3041 test ! -s conftest.err
3042 } && test -s conftest.$ac_objext; then
3043 ac_cv_prog_cc_g=yes
3044 else
3045 echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 ac_c_werror_flag=$ac_save_c_werror_flag
3060 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3062 if test "$ac_test_CFLAGS" = set; then
3063 CFLAGS=$ac_save_CFLAGS
3064 elif test $ac_cv_prog_cc_g = yes; then
3065 if test "$GCC" = yes; then
3066 CFLAGS="-g -O2"
3067 else
3068 CFLAGS="-g"
3070 else
3071 if test "$GCC" = yes; then
3072 CFLAGS="-O2"
3073 else
3074 CFLAGS=
3077 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3078 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3079 if test "${ac_cv_prog_cc_c89+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3081 else
3082 ac_cv_prog_cc_c89=no
3083 ac_save_CC=$CC
3084 cat >conftest.$ac_ext <<_ACEOF
3085 /* confdefs.h. */
3086 _ACEOF
3087 cat confdefs.h >>conftest.$ac_ext
3088 cat >>conftest.$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3090 #include <stdarg.h>
3091 #include <stdio.h>
3092 #include <sys/types.h>
3093 #include <sys/stat.h>
3094 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3095 struct buf { int x; };
3096 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3097 static char *e (p, i)
3098 char **p;
3099 int i;
3101 return p[i];
3103 static char *f (char * (*g) (char **, int), char **p, ...)
3105 char *s;
3106 va_list v;
3107 va_start (v,p);
3108 s = g (p, va_arg (v,int));
3109 va_end (v);
3110 return s;
3113 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3114 function prototypes and stuff, but not '\xHH' hex character constants.
3115 These don't provoke an error unfortunately, instead are silently treated
3116 as 'x'. The following induces an error, until -std is added to get
3117 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3118 array size at least. It's necessary to write '\x00'==0 to get something
3119 that's true only with -std. */
3120 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3122 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3123 inside strings and character constants. */
3124 #define FOO(x) 'x'
3125 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3127 int test (int i, double x);
3128 struct s1 {int (*f) (int a);};
3129 struct s2 {int (*f) (double a);};
3130 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3131 int argc;
3132 char **argv;
3134 main ()
3136 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3138 return 0;
3140 _ACEOF
3141 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3142 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3144 CC="$ac_save_CC $ac_arg"
3145 rm -f conftest.$ac_objext
3146 if { (ac_try="$ac_compile"
3147 case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150 esac
3151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152 (eval "$ac_compile") 2>conftest.er1
3153 ac_status=$?
3154 grep -v '^ *+' conftest.er1 >conftest.err
3155 rm -f conftest.er1
3156 cat conftest.err >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } && {
3159 test -z "$ac_c_werror_flag" ||
3160 test ! -s conftest.err
3161 } && test -s conftest.$ac_objext; then
3162 ac_cv_prog_cc_c89=$ac_arg
3163 else
3164 echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3170 rm -f core conftest.err conftest.$ac_objext
3171 test "x$ac_cv_prog_cc_c89" != "xno" && break
3172 done
3173 rm -f conftest.$ac_ext
3174 CC=$ac_save_CC
3177 # AC_CACHE_VAL
3178 case "x$ac_cv_prog_cc_c89" in
3180 { echo "$as_me:$LINENO: result: none needed" >&5
3181 echo "${ECHO_T}none needed" >&6; } ;;
3182 xno)
3183 { echo "$as_me:$LINENO: result: unsupported" >&5
3184 echo "${ECHO_T}unsupported" >&6; } ;;
3186 CC="$CC $ac_cv_prog_cc_c89"
3187 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3188 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3189 esac
3192 ac_ext=c
3193 ac_cpp='$CPP $CPPFLAGS'
3194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3198 ac_ext=cpp
3199 ac_cpp='$CXXCPP $CPPFLAGS'
3200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3203 if test -z "$CXX"; then
3204 if test -n "$CCC"; then
3205 CXX=$CCC
3206 else
3207 if test -n "$ac_tool_prefix"; then
3208 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3214 if test "${ac_cv_prog_CXX+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 else
3217 if test -n "$CXX"; then
3218 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3219 else
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 for as_dir in $PATH
3223 IFS=$as_save_IFS
3224 test -z "$as_dir" && as_dir=.
3225 for ac_exec_ext in '' $ac_executable_extensions; do
3226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3227 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 break 2
3231 done
3232 done
3233 IFS=$as_save_IFS
3237 CXX=$ac_cv_prog_CXX
3238 if test -n "$CXX"; then
3239 { echo "$as_me:$LINENO: result: $CXX" >&5
3240 echo "${ECHO_T}$CXX" >&6; }
3241 else
3242 { echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6; }
3247 test -n "$CXX" && break
3248 done
3250 if test -z "$CXX"; then
3251 ac_ct_CXX=$CXX
3252 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3254 # Extract the first word of "$ac_prog", so it can be a program name with args.
3255 set dummy $ac_prog; ac_word=$2
3256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3258 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 else
3261 if test -n "$ac_ct_CXX"; then
3262 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3263 else
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH
3267 IFS=$as_save_IFS
3268 test -z "$as_dir" && as_dir=.
3269 for ac_exec_ext in '' $ac_executable_extensions; do
3270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271 ac_cv_prog_ac_ct_CXX="$ac_prog"
3272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3273 break 2
3275 done
3276 done
3277 IFS=$as_save_IFS
3281 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3282 if test -n "$ac_ct_CXX"; then
3283 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3284 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3285 else
3286 { echo "$as_me:$LINENO: result: no" >&5
3287 echo "${ECHO_T}no" >&6; }
3291 test -n "$ac_ct_CXX" && break
3292 done
3294 if test "x$ac_ct_CXX" = x; then
3295 CXX="g++"
3296 else
3297 case $cross_compiling:$ac_tool_warned in
3298 yes:)
3299 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3300 whose name does not start with the host triplet. If you think this
3301 configuration is useful to you, please write to autoconf@gnu.org." >&5
3302 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3303 whose name does not start with the host triplet. If you think this
3304 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3305 ac_tool_warned=yes ;;
3306 esac
3307 CXX=$ac_ct_CXX
3313 # Provide some information about the compiler.
3314 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3315 ac_compiler=`set X $ac_compile; echo $2`
3316 { (ac_try="$ac_compiler --version >&5"
3317 case "(($ac_try" in
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3320 esac
3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322 (eval "$ac_compiler --version >&5") 2>&5
3323 ac_status=$?
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); }
3326 { (ac_try="$ac_compiler -v >&5"
3327 case "(($ac_try" in
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3330 esac
3331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3332 (eval "$ac_compiler -v >&5") 2>&5
3333 ac_status=$?
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }
3336 { (ac_try="$ac_compiler -V >&5"
3337 case "(($ac_try" in
3338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339 *) ac_try_echo=$ac_try;;
3340 esac
3341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3342 (eval "$ac_compiler -V >&5") 2>&5
3343 ac_status=$?
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }
3347 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3348 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3349 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3351 else
3352 cat >conftest.$ac_ext <<_ACEOF
3353 /* confdefs.h. */
3354 _ACEOF
3355 cat confdefs.h >>conftest.$ac_ext
3356 cat >>conftest.$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3360 main ()
3362 #ifndef __GNUC__
3363 choke me
3364 #endif
3367 return 0;
3369 _ACEOF
3370 rm -f conftest.$ac_objext
3371 if { (ac_try="$ac_compile"
3372 case "(($ac_try" in
3373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374 *) ac_try_echo=$ac_try;;
3375 esac
3376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3377 (eval "$ac_compile") 2>conftest.er1
3378 ac_status=$?
3379 grep -v '^ *+' conftest.er1 >conftest.err
3380 rm -f conftest.er1
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } && {
3384 test -z "$ac_cxx_werror_flag" ||
3385 test ! -s conftest.err
3386 } && test -s conftest.$ac_objext; then
3387 ac_compiler_gnu=yes
3388 else
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3392 ac_compiler_gnu=no
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3399 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3400 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3401 GXX=`test $ac_compiler_gnu = yes && echo yes`
3402 ac_test_CXXFLAGS=${CXXFLAGS+set}
3403 ac_save_CXXFLAGS=$CXXFLAGS
3404 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3405 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3406 if test "${ac_cv_prog_cxx_g+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 else
3409 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3410 ac_cxx_werror_flag=yes
3411 ac_cv_prog_cxx_g=no
3412 CXXFLAGS="-g"
3413 cat >conftest.$ac_ext <<_ACEOF
3414 /* confdefs.h. */
3415 _ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3421 main ()
3425 return 0;
3427 _ACEOF
3428 rm -f conftest.$ac_objext
3429 if { (ac_try="$ac_compile"
3430 case "(($ac_try" in
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3433 esac
3434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3435 (eval "$ac_compile") 2>conftest.er1
3436 ac_status=$?
3437 grep -v '^ *+' conftest.er1 >conftest.err
3438 rm -f conftest.er1
3439 cat conftest.err >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } && {
3442 test -z "$ac_cxx_werror_flag" ||
3443 test ! -s conftest.err
3444 } && test -s conftest.$ac_objext; then
3445 ac_cv_prog_cxx_g=yes
3446 else
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3450 CXXFLAGS=""
3451 cat >conftest.$ac_ext <<_ACEOF
3452 /* confdefs.h. */
3453 _ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3459 main ()
3463 return 0;
3465 _ACEOF
3466 rm -f conftest.$ac_objext
3467 if { (ac_try="$ac_compile"
3468 case "(($ac_try" in
3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3471 esac
3472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3473 (eval "$ac_compile") 2>conftest.er1
3474 ac_status=$?
3475 grep -v '^ *+' conftest.er1 >conftest.err
3476 rm -f conftest.er1
3477 cat conftest.err >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } && {
3480 test -z "$ac_cxx_werror_flag" ||
3481 test ! -s conftest.err
3482 } && test -s conftest.$ac_objext; then
3484 else
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3488 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3489 CXXFLAGS="-g"
3490 cat >conftest.$ac_ext <<_ACEOF
3491 /* confdefs.h. */
3492 _ACEOF
3493 cat confdefs.h >>conftest.$ac_ext
3494 cat >>conftest.$ac_ext <<_ACEOF
3495 /* end confdefs.h. */
3498 main ()
3502 return 0;
3504 _ACEOF
3505 rm -f conftest.$ac_objext
3506 if { (ac_try="$ac_compile"
3507 case "(($ac_try" in
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3510 esac
3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3512 (eval "$ac_compile") 2>conftest.er1
3513 ac_status=$?
3514 grep -v '^ *+' conftest.er1 >conftest.err
3515 rm -f conftest.er1
3516 cat conftest.err >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } && {
3519 test -z "$ac_cxx_werror_flag" ||
3520 test ! -s conftest.err
3521 } && test -s conftest.$ac_objext; then
3522 ac_cv_prog_cxx_g=yes
3523 else
3524 echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3539 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3540 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3541 if test "$ac_test_CXXFLAGS" = set; then
3542 CXXFLAGS=$ac_save_CXXFLAGS
3543 elif test $ac_cv_prog_cxx_g = yes; then
3544 if test "$GXX" = yes; then
3545 CXXFLAGS="-g -O2"
3546 else
3547 CXXFLAGS="-g"
3549 else
3550 if test "$GXX" = yes; then
3551 CXXFLAGS="-O2"
3552 else
3553 CXXFLAGS=
3556 ac_ext=c
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3562 if test -n "$ac_tool_prefix"; then
3563 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3564 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3567 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3569 else
3570 if test -n "$CPPBIN"; then
3571 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3572 else
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 for as_dir in $PATH
3576 IFS=$as_save_IFS
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 break 2
3584 done
3585 done
3586 IFS=$as_save_IFS
3590 CPPBIN=$ac_cv_prog_CPPBIN
3591 if test -n "$CPPBIN"; then
3592 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3593 echo "${ECHO_T}$CPPBIN" >&6; }
3594 else
3595 { echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6; }
3601 if test -z "$ac_cv_prog_CPPBIN"; then
3602 ac_ct_CPPBIN=$CPPBIN
3603 # Extract the first word of "cpp", so it can be a program name with args.
3604 set dummy cpp; ac_word=$2
3605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3607 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 else
3610 if test -n "$ac_ct_CPPBIN"; then
3611 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3616 IFS=$as_save_IFS
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620 ac_cv_prog_ac_ct_CPPBIN="cpp"
3621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 break 2
3624 done
3625 done
3626 IFS=$as_save_IFS
3630 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3631 if test -n "$ac_ct_CPPBIN"; then
3632 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3633 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3634 else
3635 { echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6; }
3639 if test "x$ac_ct_CPPBIN" = x; then
3640 CPPBIN="cpp"
3641 else
3642 case $cross_compiling:$ac_tool_warned in
3643 yes:)
3644 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3645 whose name does not start with the host triplet. If you think this
3646 configuration is useful to you, please write to autoconf@gnu.org." >&5
3647 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3648 whose name does not start with the host triplet. If you think this
3649 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3650 ac_tool_warned=yes ;;
3651 esac
3652 CPPBIN=$ac_ct_CPPBIN
3654 else
3655 CPPBIN="$ac_cv_prog_CPPBIN"
3659 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3660 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3661 if test "${wine_cv_toolsdir+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 else
3664 if test -z "$with_wine_tools"; then
3665 if test "$cross_compiling" = "yes"; then
3666 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3667 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3668 { (exit 1); exit 1; }; }
3669 else
3670 wine_cv_toolsdir="\$(TOPOBJDIR)"
3672 elif test -d "$with_wine_tools/tools/winebuild"; then
3673 case $with_wine_tools in
3674 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3675 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3676 esac
3677 else
3678 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3679 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3680 { (exit 1); exit 1; }; }
3683 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3684 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3685 TOOLSDIR=$wine_cv_toolsdir
3689 ac_ext=c
3690 ac_cpp='$CPP $CPPFLAGS'
3691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3695 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3696 # On Suns, sometimes $CPP names a directory.
3697 if test -n "$CPP" && test -d "$CPP"; then
3698 CPP=
3700 if test -z "$CPP"; then
3701 if test "${ac_cv_prog_CPP+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 else
3704 # Double quotes because CPP needs to be expanded
3705 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3707 ac_preproc_ok=false
3708 for ac_c_preproc_warn_flag in '' yes
3710 # Use a header file that comes with gcc, so configuring glibc
3711 # with a fresh cross-compiler works.
3712 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713 # <limits.h> exists even on freestanding compilers.
3714 # On the NeXT, cc -E runs the code through the compiler's parser,
3715 # not just through cpp. "Syntax error" is here to catch this case.
3716 cat >conftest.$ac_ext <<_ACEOF
3717 /* confdefs.h. */
3718 _ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3722 #ifdef __STDC__
3723 # include <limits.h>
3724 #else
3725 # include <assert.h>
3726 #endif
3727 Syntax error
3728 _ACEOF
3729 if { (ac_try="$ac_cpp conftest.$ac_ext"
3730 case "(($ac_try" in
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3733 esac
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3736 ac_status=$?
3737 grep -v '^ *+' conftest.er1 >conftest.err
3738 rm -f conftest.er1
3739 cat conftest.err >&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } >/dev/null && {
3742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3743 test ! -s conftest.err
3744 }; then
3746 else
3747 echo "$as_me: failed program was:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3750 # Broken: fails on valid input.
3751 continue
3754 rm -f conftest.err conftest.$ac_ext
3756 # OK, works on sane cases. Now check whether nonexistent headers
3757 # can be detected and how.
3758 cat >conftest.$ac_ext <<_ACEOF
3759 /* confdefs.h. */
3760 _ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 #include <ac_nonexistent.h>
3765 _ACEOF
3766 if { (ac_try="$ac_cpp conftest.$ac_ext"
3767 case "(($ac_try" in
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3770 esac
3771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3773 ac_status=$?
3774 grep -v '^ *+' conftest.er1 >conftest.err
3775 rm -f conftest.er1
3776 cat conftest.err >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } >/dev/null && {
3779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3780 test ! -s conftest.err
3781 }; then
3782 # Broken: success on invalid input.
3783 continue
3784 else
3785 echo "$as_me: failed program was:" >&5
3786 sed 's/^/| /' conftest.$ac_ext >&5
3788 # Passes both tests.
3789 ac_preproc_ok=:
3790 break
3793 rm -f conftest.err conftest.$ac_ext
3795 done
3796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3797 rm -f conftest.err conftest.$ac_ext
3798 if $ac_preproc_ok; then
3799 break
3802 done
3803 ac_cv_prog_CPP=$CPP
3806 CPP=$ac_cv_prog_CPP
3807 else
3808 ac_cv_prog_CPP=$CPP
3810 { echo "$as_me:$LINENO: result: $CPP" >&5
3811 echo "${ECHO_T}$CPP" >&6; }
3812 ac_preproc_ok=false
3813 for ac_c_preproc_warn_flag in '' yes
3815 # Use a header file that comes with gcc, so configuring glibc
3816 # with a fresh cross-compiler works.
3817 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3818 # <limits.h> exists even on freestanding compilers.
3819 # On the NeXT, cc -E runs the code through the compiler's parser,
3820 # not just through cpp. "Syntax error" is here to catch this case.
3821 cat >conftest.$ac_ext <<_ACEOF
3822 /* confdefs.h. */
3823 _ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3827 #ifdef __STDC__
3828 # include <limits.h>
3829 #else
3830 # include <assert.h>
3831 #endif
3832 Syntax error
3833 _ACEOF
3834 if { (ac_try="$ac_cpp conftest.$ac_ext"
3835 case "(($ac_try" in
3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837 *) ac_try_echo=$ac_try;;
3838 esac
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3841 ac_status=$?
3842 grep -v '^ *+' conftest.er1 >conftest.err
3843 rm -f conftest.er1
3844 cat conftest.err >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); } >/dev/null && {
3847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3848 test ! -s conftest.err
3849 }; then
3851 else
3852 echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3855 # Broken: fails on valid input.
3856 continue
3859 rm -f conftest.err conftest.$ac_ext
3861 # OK, works on sane cases. Now check whether nonexistent headers
3862 # can be detected and how.
3863 cat >conftest.$ac_ext <<_ACEOF
3864 /* confdefs.h. */
3865 _ACEOF
3866 cat confdefs.h >>conftest.$ac_ext
3867 cat >>conftest.$ac_ext <<_ACEOF
3868 /* end confdefs.h. */
3869 #include <ac_nonexistent.h>
3870 _ACEOF
3871 if { (ac_try="$ac_cpp conftest.$ac_ext"
3872 case "(($ac_try" in
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3875 esac
3876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3878 ac_status=$?
3879 grep -v '^ *+' conftest.er1 >conftest.err
3880 rm -f conftest.er1
3881 cat conftest.err >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); } >/dev/null && {
3884 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3885 test ! -s conftest.err
3886 }; then
3887 # Broken: success on invalid input.
3888 continue
3889 else
3890 echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3893 # Passes both tests.
3894 ac_preproc_ok=:
3895 break
3898 rm -f conftest.err conftest.$ac_ext
3900 done
3901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3902 rm -f conftest.err conftest.$ac_ext
3903 if $ac_preproc_ok; then
3905 else
3906 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3907 See \`config.log' for more details." >&5
3908 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3909 See \`config.log' for more details." >&2;}
3910 { (exit 1); exit 1; }; }
3913 ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 { echo "$as_me:$LINENO: checking for X" >&5
3921 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3924 # Check whether --with-x was given.
3925 if test "${with_x+set}" = set; then
3926 withval=$with_x;
3929 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3930 if test "x$with_x" = xno; then
3931 # The user explicitly disabled X.
3932 have_x=disabled
3933 else
3934 case $x_includes,$x_libraries in #(
3935 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3936 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3937 { (exit 1); exit 1; }; };; #(
3938 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 else
3941 # One or both of the vars are not set, and there is no cached value.
3942 ac_x_includes=no ac_x_libraries=no
3943 rm -f -r conftest.dir
3944 if mkdir conftest.dir; then
3945 cd conftest.dir
3946 cat >Imakefile <<'_ACEOF'
3947 incroot:
3948 @echo incroot='${INCROOT}'
3949 usrlibdir:
3950 @echo usrlibdir='${USRLIBDIR}'
3951 libdir:
3952 @echo libdir='${LIBDIR}'
3953 _ACEOF
3954 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3955 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3956 for ac_var in incroot usrlibdir libdir; do
3957 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3958 done
3959 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3960 for ac_extension in a so sl; do
3961 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3962 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3963 ac_im_usrlibdir=$ac_im_libdir; break
3965 done
3966 # Screen out bogus values from the imake configuration. They are
3967 # bogus both because they are the default anyway, and because
3968 # using them would break gcc on systems where it needs fixed includes.
3969 case $ac_im_incroot in
3970 /usr/include) ac_x_includes= ;;
3971 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3972 esac
3973 case $ac_im_usrlibdir in
3974 /usr/lib | /lib) ;;
3975 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3976 esac
3978 cd ..
3979 rm -f -r conftest.dir
3982 # Standard set of common directories for X headers.
3983 # Check X11 before X11Rn because it is often a symlink to the current release.
3984 ac_x_header_dirs='
3985 /usr/X11/include
3986 /usr/X11R6/include
3987 /usr/X11R5/include
3988 /usr/X11R4/include
3990 /usr/include/X11
3991 /usr/include/X11R6
3992 /usr/include/X11R5
3993 /usr/include/X11R4
3995 /usr/local/X11/include
3996 /usr/local/X11R6/include
3997 /usr/local/X11R5/include
3998 /usr/local/X11R4/include
4000 /usr/local/include/X11
4001 /usr/local/include/X11R6
4002 /usr/local/include/X11R5
4003 /usr/local/include/X11R4
4005 /usr/X386/include
4006 /usr/x386/include
4007 /usr/XFree86/include/X11
4009 /usr/include
4010 /usr/local/include
4011 /usr/unsupported/include
4012 /usr/athena/include
4013 /usr/local/x11r5/include
4014 /usr/lpp/Xamples/include
4016 /usr/openwin/include
4017 /usr/openwin/share/include'
4019 if test "$ac_x_includes" = no; then
4020 # Guess where to find include files, by looking for Xlib.h.
4021 # First, try using that file with no special directory specified.
4022 cat >conftest.$ac_ext <<_ACEOF
4023 /* confdefs.h. */
4024 _ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4028 #include <X11/Xlib.h>
4029 _ACEOF
4030 if { (ac_try="$ac_cpp conftest.$ac_ext"
4031 case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4034 esac
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4037 ac_status=$?
4038 grep -v '^ *+' conftest.er1 >conftest.err
4039 rm -f conftest.er1
4040 cat conftest.err >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); } >/dev/null && {
4043 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4044 test ! -s conftest.err
4045 }; then
4046 # We can compile using X headers with no special include directory.
4047 ac_x_includes=
4048 else
4049 echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4052 for ac_dir in $ac_x_header_dirs; do
4053 if test -r "$ac_dir/X11/Xlib.h"; then
4054 ac_x_includes=$ac_dir
4055 break
4057 done
4060 rm -f conftest.err conftest.$ac_ext
4061 fi # $ac_x_includes = no
4063 if test "$ac_x_libraries" = no; then
4064 # Check for the libraries.
4065 # See if we find them without any special options.
4066 # Don't add to $LIBS permanently.
4067 ac_save_LIBS=$LIBS
4068 LIBS="-lX11 $LIBS"
4069 cat >conftest.$ac_ext <<_ACEOF
4070 /* confdefs.h. */
4071 _ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4075 #include <X11/Xlib.h>
4077 main ()
4079 XrmInitialize ()
4081 return 0;
4083 _ACEOF
4084 rm -f conftest.$ac_objext conftest$ac_exeext
4085 if { (ac_try="$ac_link"
4086 case "(($ac_try" in
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4089 esac
4090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4091 (eval "$ac_link") 2>conftest.er1
4092 ac_status=$?
4093 grep -v '^ *+' conftest.er1 >conftest.err
4094 rm -f conftest.er1
4095 cat conftest.err >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } && {
4098 test -z "$ac_c_werror_flag" ||
4099 test ! -s conftest.err
4100 } && test -s conftest$ac_exeext &&
4101 $as_test_x conftest$ac_exeext; then
4102 LIBS=$ac_save_LIBS
4103 # We can link X programs with no special library path.
4104 ac_x_libraries=
4105 else
4106 echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4109 LIBS=$ac_save_LIBS
4110 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4112 # Don't even attempt the hair of trying to link an X program!
4113 for ac_extension in a so sl; do
4114 if test -r "$ac_dir/libX11.$ac_extension"; then
4115 ac_x_libraries=$ac_dir
4116 break 2
4118 done
4119 done
4122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4123 conftest$ac_exeext conftest.$ac_ext
4124 fi # $ac_x_libraries = no
4126 case $ac_x_includes,$ac_x_libraries in #(
4127 no,* | *,no | *\'*)
4128 # Didn't find X, or a directory has "'" in its name.
4129 ac_cv_have_x="have_x=no";; #(
4131 # Record where we found X for the cache.
4132 ac_cv_have_x="have_x=yes\
4133 ac_x_includes='$ac_x_includes'\
4134 ac_x_libraries='$ac_x_libraries'"
4135 esac
4137 ;; #(
4138 *) have_x=yes;;
4139 esac
4140 eval "$ac_cv_have_x"
4141 fi # $with_x != no
4143 if test "$have_x" != yes; then
4144 { echo "$as_me:$LINENO: result: $have_x" >&5
4145 echo "${ECHO_T}$have_x" >&6; }
4146 no_x=yes
4147 else
4148 # If each of the values was on the command line, it overrides each guess.
4149 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4150 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4151 # Update the cache value to reflect the command line values.
4152 ac_cv_have_x="have_x=yes\
4153 ac_x_includes='$x_includes'\
4154 ac_x_libraries='$x_libraries'"
4155 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4156 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4159 if test "$no_x" = yes; then
4160 # Not all programs may use this symbol, but it does not hurt to define it.
4162 cat >>confdefs.h <<\_ACEOF
4163 #define X_DISPLAY_MISSING 1
4164 _ACEOF
4166 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4167 else
4168 if test -n "$x_includes"; then
4169 X_CFLAGS="$X_CFLAGS -I$x_includes"
4172 # It would also be nice to do this for all -L options, not just this one.
4173 if test -n "$x_libraries"; then
4174 X_LIBS="$X_LIBS -L$x_libraries"
4175 # For Solaris; some versions of Sun CC require a space after -R and
4176 # others require no space. Words are not sufficient . . . .
4177 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4178 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4179 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4180 ac_xsave_c_werror_flag=$ac_c_werror_flag
4181 ac_c_werror_flag=yes
4182 cat >conftest.$ac_ext <<_ACEOF
4183 /* confdefs.h. */
4184 _ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 rm -f conftest.$ac_objext conftest$ac_exeext
4198 if { (ac_try="$ac_link"
4199 case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202 esac
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204 (eval "$ac_link") 2>conftest.er1
4205 ac_status=$?
4206 grep -v '^ *+' conftest.er1 >conftest.err
4207 rm -f conftest.er1
4208 cat conftest.err >&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); } && {
4211 test -z "$ac_c_werror_flag" ||
4212 test ! -s conftest.err
4213 } && test -s conftest$ac_exeext &&
4214 $as_test_x conftest$ac_exeext; then
4215 { echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6; }
4217 X_LIBS="$X_LIBS -R$x_libraries"
4218 else
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.$ac_ext >&5
4222 LIBS="$ac_xsave_LIBS -R $x_libraries"
4223 cat >conftest.$ac_ext <<_ACEOF
4224 /* confdefs.h. */
4225 _ACEOF
4226 cat confdefs.h >>conftest.$ac_ext
4227 cat >>conftest.$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4231 main ()
4235 return 0;
4237 _ACEOF
4238 rm -f conftest.$ac_objext conftest$ac_exeext
4239 if { (ac_try="$ac_link"
4240 case "(($ac_try" in
4241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242 *) ac_try_echo=$ac_try;;
4243 esac
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 (eval "$ac_link") 2>conftest.er1
4246 ac_status=$?
4247 grep -v '^ *+' conftest.er1 >conftest.err
4248 rm -f conftest.er1
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 (exit $ac_status); } && {
4252 test -z "$ac_c_werror_flag" ||
4253 test ! -s conftest.err
4254 } && test -s conftest$ac_exeext &&
4255 $as_test_x conftest$ac_exeext; then
4256 { echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6; }
4258 X_LIBS="$X_LIBS -R $x_libraries"
4259 else
4260 echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4263 { echo "$as_me:$LINENO: result: neither works" >&5
4264 echo "${ECHO_T}neither works" >&6; }
4267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4268 conftest$ac_exeext conftest.$ac_ext
4271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4272 conftest$ac_exeext conftest.$ac_ext
4273 ac_c_werror_flag=$ac_xsave_c_werror_flag
4274 LIBS=$ac_xsave_LIBS
4277 # Check for system-dependent libraries X programs must link with.
4278 # Do this before checking for the system-independent R6 libraries
4279 # (-lICE), since we may need -lsocket or whatever for X linking.
4281 if test "$ISC" = yes; then
4282 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4283 else
4284 # Martyn Johnson says this is needed for Ultrix, if the X
4285 # libraries were built with DECnet support. And Karl Berry says
4286 # the Alpha needs dnet_stub (dnet does not exist).
4287 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4288 cat >conftest.$ac_ext <<_ACEOF
4289 /* confdefs.h. */
4290 _ACEOF
4291 cat confdefs.h >>conftest.$ac_ext
4292 cat >>conftest.$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4295 /* Override any GCC internal prototype to avoid an error.
4296 Use char because int might match the return type of a GCC
4297 builtin and then its argument prototype would still apply. */
4298 #ifdef __cplusplus
4299 extern "C"
4300 #endif
4301 char XOpenDisplay ();
4303 main ()
4305 return XOpenDisplay ();
4307 return 0;
4309 _ACEOF
4310 rm -f conftest.$ac_objext conftest$ac_exeext
4311 if { (ac_try="$ac_link"
4312 case "(($ac_try" in
4313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314 *) ac_try_echo=$ac_try;;
4315 esac
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317 (eval "$ac_link") 2>conftest.er1
4318 ac_status=$?
4319 grep -v '^ *+' conftest.er1 >conftest.err
4320 rm -f conftest.er1
4321 cat conftest.err >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); } && {
4324 test -z "$ac_c_werror_flag" ||
4325 test ! -s conftest.err
4326 } && test -s conftest$ac_exeext &&
4327 $as_test_x conftest$ac_exeext; then
4329 else
4330 echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4333 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4334 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4335 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4336 echo $ECHO_N "(cached) $ECHO_C" >&6
4337 else
4338 ac_check_lib_save_LIBS=$LIBS
4339 LIBS="-ldnet $LIBS"
4340 cat >conftest.$ac_ext <<_ACEOF
4341 /* confdefs.h. */
4342 _ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h. */
4347 /* Override any GCC internal prototype to avoid an error.
4348 Use char because int might match the return type of a GCC
4349 builtin and then its argument prototype would still apply. */
4350 #ifdef __cplusplus
4351 extern "C"
4352 #endif
4353 char dnet_ntoa ();
4355 main ()
4357 return dnet_ntoa ();
4359 return 0;
4361 _ACEOF
4362 rm -f conftest.$ac_objext conftest$ac_exeext
4363 if { (ac_try="$ac_link"
4364 case "(($ac_try" in
4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4367 esac
4368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4369 (eval "$ac_link") 2>conftest.er1
4370 ac_status=$?
4371 grep -v '^ *+' conftest.er1 >conftest.err
4372 rm -f conftest.er1
4373 cat conftest.err >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); } && {
4376 test -z "$ac_c_werror_flag" ||
4377 test ! -s conftest.err
4378 } && test -s conftest$ac_exeext &&
4379 $as_test_x conftest$ac_exeext; then
4380 ac_cv_lib_dnet_dnet_ntoa=yes
4381 else
4382 echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4385 ac_cv_lib_dnet_dnet_ntoa=no
4388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4389 conftest$ac_exeext conftest.$ac_ext
4390 LIBS=$ac_check_lib_save_LIBS
4392 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4393 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4394 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4395 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4398 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4399 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4400 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4401 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 else
4404 ac_check_lib_save_LIBS=$LIBS
4405 LIBS="-ldnet_stub $LIBS"
4406 cat >conftest.$ac_ext <<_ACEOF
4407 /* confdefs.h. */
4408 _ACEOF
4409 cat confdefs.h >>conftest.$ac_ext
4410 cat >>conftest.$ac_ext <<_ACEOF
4411 /* end confdefs.h. */
4413 /* Override any GCC internal prototype to avoid an error.
4414 Use char because int might match the return type of a GCC
4415 builtin and then its argument prototype would still apply. */
4416 #ifdef __cplusplus
4417 extern "C"
4418 #endif
4419 char dnet_ntoa ();
4421 main ()
4423 return dnet_ntoa ();
4425 return 0;
4427 _ACEOF
4428 rm -f conftest.$ac_objext conftest$ac_exeext
4429 if { (ac_try="$ac_link"
4430 case "(($ac_try" in
4431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4432 *) ac_try_echo=$ac_try;;
4433 esac
4434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4435 (eval "$ac_link") 2>conftest.er1
4436 ac_status=$?
4437 grep -v '^ *+' conftest.er1 >conftest.err
4438 rm -f conftest.er1
4439 cat conftest.err >&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } && {
4442 test -z "$ac_c_werror_flag" ||
4443 test ! -s conftest.err
4444 } && test -s conftest$ac_exeext &&
4445 $as_test_x conftest$ac_exeext; then
4446 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4447 else
4448 echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.$ac_ext >&5
4451 ac_cv_lib_dnet_stub_dnet_ntoa=no
4454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4455 conftest$ac_exeext conftest.$ac_ext
4456 LIBS=$ac_check_lib_save_LIBS
4458 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4459 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4460 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4461 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4468 conftest$ac_exeext conftest.$ac_ext
4469 LIBS="$ac_xsave_LIBS"
4471 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4472 # to get the SysV transport functions.
4473 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4474 # needs -lnsl.
4475 # The nsl library prevents programs from opening the X display
4476 # on Irix 5.2, according to T.E. Dickey.
4477 # The functions gethostbyname, getservbyname, and inet_addr are
4478 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4479 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4480 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4481 if test "${ac_cv_func_gethostbyname+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 else
4484 cat >conftest.$ac_ext <<_ACEOF
4485 /* confdefs.h. */
4486 _ACEOF
4487 cat confdefs.h >>conftest.$ac_ext
4488 cat >>conftest.$ac_ext <<_ACEOF
4489 /* end confdefs.h. */
4490 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4492 #define gethostbyname innocuous_gethostbyname
4494 /* System header to define __stub macros and hopefully few prototypes,
4495 which can conflict with char gethostbyname (); below.
4496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4497 <limits.h> exists even on freestanding compilers. */
4499 #ifdef __STDC__
4500 # include <limits.h>
4501 #else
4502 # include <assert.h>
4503 #endif
4505 #undef gethostbyname
4507 /* Override any GCC internal prototype to avoid an error.
4508 Use char because int might match the return type of a GCC
4509 builtin and then its argument prototype would still apply. */
4510 #ifdef __cplusplus
4511 extern "C"
4512 #endif
4513 char gethostbyname ();
4514 /* The GNU C library defines this for functions which it implements
4515 to always fail with ENOSYS. Some functions are actually named
4516 something starting with __ and the normal name is an alias. */
4517 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4518 choke me
4519 #endif
4522 main ()
4524 return gethostbyname ();
4526 return 0;
4528 _ACEOF
4529 rm -f conftest.$ac_objext conftest$ac_exeext
4530 if { (ac_try="$ac_link"
4531 case "(($ac_try" in
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4534 esac
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536 (eval "$ac_link") 2>conftest.er1
4537 ac_status=$?
4538 grep -v '^ *+' conftest.er1 >conftest.err
4539 rm -f conftest.er1
4540 cat conftest.err >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } && {
4543 test -z "$ac_c_werror_flag" ||
4544 test ! -s conftest.err
4545 } && test -s conftest$ac_exeext &&
4546 $as_test_x conftest$ac_exeext; then
4547 ac_cv_func_gethostbyname=yes
4548 else
4549 echo "$as_me: failed program was:" >&5
4550 sed 's/^/| /' conftest.$ac_ext >&5
4552 ac_cv_func_gethostbyname=no
4555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4556 conftest$ac_exeext conftest.$ac_ext
4558 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4559 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4561 if test $ac_cv_func_gethostbyname = no; then
4562 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4563 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4564 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 else
4567 ac_check_lib_save_LIBS=$LIBS
4568 LIBS="-lnsl $LIBS"
4569 cat >conftest.$ac_ext <<_ACEOF
4570 /* confdefs.h. */
4571 _ACEOF
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4576 /* Override any GCC internal prototype to avoid an error.
4577 Use char because int might match the return type of a GCC
4578 builtin and then its argument prototype would still apply. */
4579 #ifdef __cplusplus
4580 extern "C"
4581 #endif
4582 char gethostbyname ();
4584 main ()
4586 return gethostbyname ();
4588 return 0;
4590 _ACEOF
4591 rm -f conftest.$ac_objext conftest$ac_exeext
4592 if { (ac_try="$ac_link"
4593 case "(($ac_try" in
4594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4595 *) ac_try_echo=$ac_try;;
4596 esac
4597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4598 (eval "$ac_link") 2>conftest.er1
4599 ac_status=$?
4600 grep -v '^ *+' conftest.er1 >conftest.err
4601 rm -f conftest.er1
4602 cat conftest.err >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } && {
4605 test -z "$ac_c_werror_flag" ||
4606 test ! -s conftest.err
4607 } && test -s conftest$ac_exeext &&
4608 $as_test_x conftest$ac_exeext; then
4609 ac_cv_lib_nsl_gethostbyname=yes
4610 else
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.$ac_ext >&5
4614 ac_cv_lib_nsl_gethostbyname=no
4617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4618 conftest$ac_exeext conftest.$ac_ext
4619 LIBS=$ac_check_lib_save_LIBS
4621 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4622 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4623 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4624 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4627 if test $ac_cv_lib_nsl_gethostbyname = no; then
4628 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4629 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4630 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 else
4633 ac_check_lib_save_LIBS=$LIBS
4634 LIBS="-lbsd $LIBS"
4635 cat >conftest.$ac_ext <<_ACEOF
4636 /* confdefs.h. */
4637 _ACEOF
4638 cat confdefs.h >>conftest.$ac_ext
4639 cat >>conftest.$ac_ext <<_ACEOF
4640 /* end confdefs.h. */
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4645 #ifdef __cplusplus
4646 extern "C"
4647 #endif
4648 char gethostbyname ();
4650 main ()
4652 return gethostbyname ();
4654 return 0;
4656 _ACEOF
4657 rm -f conftest.$ac_objext conftest$ac_exeext
4658 if { (ac_try="$ac_link"
4659 case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_link") 2>conftest.er1
4665 ac_status=$?
4666 grep -v '^ *+' conftest.er1 >conftest.err
4667 rm -f conftest.er1
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && {
4671 test -z "$ac_c_werror_flag" ||
4672 test ! -s conftest.err
4673 } && test -s conftest$ac_exeext &&
4674 $as_test_x conftest$ac_exeext; then
4675 ac_cv_lib_bsd_gethostbyname=yes
4676 else
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 ac_cv_lib_bsd_gethostbyname=no
4683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4684 conftest$ac_exeext conftest.$ac_ext
4685 LIBS=$ac_check_lib_save_LIBS
4687 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4688 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4689 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4690 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4696 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4697 # socket/setsockopt and other routines are undefined under SCO ODT
4698 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4699 # on later versions), says Simon Leinen: it contains gethostby*
4700 # variants that don't use the name server (or something). -lsocket
4701 # must be given before -lnsl if both are needed. We assume that
4702 # if connect needs -lnsl, so does gethostbyname.
4703 { echo "$as_me:$LINENO: checking for connect" >&5
4704 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4705 if test "${ac_cv_func_connect+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 else
4708 cat >conftest.$ac_ext <<_ACEOF
4709 /* confdefs.h. */
4710 _ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h. */
4714 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4716 #define connect innocuous_connect
4718 /* System header to define __stub macros and hopefully few prototypes,
4719 which can conflict with char connect (); below.
4720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4721 <limits.h> exists even on freestanding compilers. */
4723 #ifdef __STDC__
4724 # include <limits.h>
4725 #else
4726 # include <assert.h>
4727 #endif
4729 #undef connect
4731 /* Override any GCC internal prototype to avoid an error.
4732 Use char because int might match the return type of a GCC
4733 builtin and then its argument prototype would still apply. */
4734 #ifdef __cplusplus
4735 extern "C"
4736 #endif
4737 char connect ();
4738 /* The GNU C library defines this for functions which it implements
4739 to always fail with ENOSYS. Some functions are actually named
4740 something starting with __ and the normal name is an alias. */
4741 #if defined __stub_connect || defined __stub___connect
4742 choke me
4743 #endif
4746 main ()
4748 return connect ();
4750 return 0;
4752 _ACEOF
4753 rm -f conftest.$ac_objext conftest$ac_exeext
4754 if { (ac_try="$ac_link"
4755 case "(($ac_try" in
4756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757 *) ac_try_echo=$ac_try;;
4758 esac
4759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4760 (eval "$ac_link") 2>conftest.er1
4761 ac_status=$?
4762 grep -v '^ *+' conftest.er1 >conftest.err
4763 rm -f conftest.er1
4764 cat conftest.err >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } && {
4767 test -z "$ac_c_werror_flag" ||
4768 test ! -s conftest.err
4769 } && test -s conftest$ac_exeext &&
4770 $as_test_x conftest$ac_exeext; then
4771 ac_cv_func_connect=yes
4772 else
4773 echo "$as_me: failed program was:" >&5
4774 sed 's/^/| /' conftest.$ac_ext >&5
4776 ac_cv_func_connect=no
4779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4780 conftest$ac_exeext conftest.$ac_ext
4782 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4783 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4785 if test $ac_cv_func_connect = no; then
4786 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4787 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4788 if test "${ac_cv_lib_socket_connect+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 else
4791 ac_check_lib_save_LIBS=$LIBS
4792 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4793 cat >conftest.$ac_ext <<_ACEOF
4794 /* confdefs.h. */
4795 _ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4800 /* Override any GCC internal prototype to avoid an error.
4801 Use char because int might match the return type of a GCC
4802 builtin and then its argument prototype would still apply. */
4803 #ifdef __cplusplus
4804 extern "C"
4805 #endif
4806 char connect ();
4808 main ()
4810 return connect ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4817 case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820 esac
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_lib_socket_connect=yes
4834 else
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_lib_socket_connect=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4843 LIBS=$ac_check_lib_save_LIBS
4845 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4846 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4847 if test $ac_cv_lib_socket_connect = yes; then
4848 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4853 # Guillermo Gomez says -lposix is necessary on A/UX.
4854 { echo "$as_me:$LINENO: checking for remove" >&5
4855 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4856 if test "${ac_cv_func_remove+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859 cat >conftest.$ac_ext <<_ACEOF
4860 /* confdefs.h. */
4861 _ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4867 #define remove innocuous_remove
4869 /* System header to define __stub macros and hopefully few prototypes,
4870 which can conflict with char remove (); below.
4871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4872 <limits.h> exists even on freestanding compilers. */
4874 #ifdef __STDC__
4875 # include <limits.h>
4876 #else
4877 # include <assert.h>
4878 #endif
4880 #undef remove
4882 /* Override any GCC internal prototype to avoid an error.
4883 Use char because int might match the return type of a GCC
4884 builtin and then its argument prototype would still apply. */
4885 #ifdef __cplusplus
4886 extern "C"
4887 #endif
4888 char remove ();
4889 /* The GNU C library defines this for functions which it implements
4890 to always fail with ENOSYS. Some functions are actually named
4891 something starting with __ and the normal name is an alias. */
4892 #if defined __stub_remove || defined __stub___remove
4893 choke me
4894 #endif
4897 main ()
4899 return remove ();
4901 return 0;
4903 _ACEOF
4904 rm -f conftest.$ac_objext conftest$ac_exeext
4905 if { (ac_try="$ac_link"
4906 case "(($ac_try" in
4907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4908 *) ac_try_echo=$ac_try;;
4909 esac
4910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4911 (eval "$ac_link") 2>conftest.er1
4912 ac_status=$?
4913 grep -v '^ *+' conftest.er1 >conftest.err
4914 rm -f conftest.er1
4915 cat conftest.err >&5
4916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 (exit $ac_status); } && {
4918 test -z "$ac_c_werror_flag" ||
4919 test ! -s conftest.err
4920 } && test -s conftest$ac_exeext &&
4921 $as_test_x conftest$ac_exeext; then
4922 ac_cv_func_remove=yes
4923 else
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.$ac_ext >&5
4927 ac_cv_func_remove=no
4930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4931 conftest$ac_exeext conftest.$ac_ext
4933 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4934 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4936 if test $ac_cv_func_remove = no; then
4937 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4938 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4939 if test "${ac_cv_lib_posix_remove+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4941 else
4942 ac_check_lib_save_LIBS=$LIBS
4943 LIBS="-lposix $LIBS"
4944 cat >conftest.$ac_ext <<_ACEOF
4945 /* confdefs.h. */
4946 _ACEOF
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4951 /* Override any GCC internal prototype to avoid an error.
4952 Use char because int might match the return type of a GCC
4953 builtin and then its argument prototype would still apply. */
4954 #ifdef __cplusplus
4955 extern "C"
4956 #endif
4957 char remove ();
4959 main ()
4961 return remove ();
4963 return 0;
4965 _ACEOF
4966 rm -f conftest.$ac_objext conftest$ac_exeext
4967 if { (ac_try="$ac_link"
4968 case "(($ac_try" in
4969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970 *) ac_try_echo=$ac_try;;
4971 esac
4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4973 (eval "$ac_link") 2>conftest.er1
4974 ac_status=$?
4975 grep -v '^ *+' conftest.er1 >conftest.err
4976 rm -f conftest.er1
4977 cat conftest.err >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } && {
4980 test -z "$ac_c_werror_flag" ||
4981 test ! -s conftest.err
4982 } && test -s conftest$ac_exeext &&
4983 $as_test_x conftest$ac_exeext; then
4984 ac_cv_lib_posix_remove=yes
4985 else
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4989 ac_cv_lib_posix_remove=no
4992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4993 conftest$ac_exeext conftest.$ac_ext
4994 LIBS=$ac_check_lib_save_LIBS
4996 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4997 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4998 if test $ac_cv_lib_posix_remove = yes; then
4999 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5004 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5005 { echo "$as_me:$LINENO: checking for shmat" >&5
5006 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5007 if test "${ac_cv_func_shmat+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 else
5010 cat >conftest.$ac_ext <<_ACEOF
5011 /* confdefs.h. */
5012 _ACEOF
5013 cat confdefs.h >>conftest.$ac_ext
5014 cat >>conftest.$ac_ext <<_ACEOF
5015 /* end confdefs.h. */
5016 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5018 #define shmat innocuous_shmat
5020 /* System header to define __stub macros and hopefully few prototypes,
5021 which can conflict with char shmat (); below.
5022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5023 <limits.h> exists even on freestanding compilers. */
5025 #ifdef __STDC__
5026 # include <limits.h>
5027 #else
5028 # include <assert.h>
5029 #endif
5031 #undef shmat
5033 /* Override any GCC internal prototype to avoid an error.
5034 Use char because int might match the return type of a GCC
5035 builtin and then its argument prototype would still apply. */
5036 #ifdef __cplusplus
5037 extern "C"
5038 #endif
5039 char shmat ();
5040 /* The GNU C library defines this for functions which it implements
5041 to always fail with ENOSYS. Some functions are actually named
5042 something starting with __ and the normal name is an alias. */
5043 #if defined __stub_shmat || defined __stub___shmat
5044 choke me
5045 #endif
5048 main ()
5050 return shmat ();
5052 return 0;
5054 _ACEOF
5055 rm -f conftest.$ac_objext conftest$ac_exeext
5056 if { (ac_try="$ac_link"
5057 case "(($ac_try" in
5058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5059 *) ac_try_echo=$ac_try;;
5060 esac
5061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5062 (eval "$ac_link") 2>conftest.er1
5063 ac_status=$?
5064 grep -v '^ *+' conftest.er1 >conftest.err
5065 rm -f conftest.er1
5066 cat conftest.err >&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); } && {
5069 test -z "$ac_c_werror_flag" ||
5070 test ! -s conftest.err
5071 } && test -s conftest$ac_exeext &&
5072 $as_test_x conftest$ac_exeext; then
5073 ac_cv_func_shmat=yes
5074 else
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.$ac_ext >&5
5078 ac_cv_func_shmat=no
5081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5082 conftest$ac_exeext conftest.$ac_ext
5084 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5085 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5087 if test $ac_cv_func_shmat = no; then
5088 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5089 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5090 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 else
5093 ac_check_lib_save_LIBS=$LIBS
5094 LIBS="-lipc $LIBS"
5095 cat >conftest.$ac_ext <<_ACEOF
5096 /* confdefs.h. */
5097 _ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5102 /* Override any GCC internal prototype to avoid an error.
5103 Use char because int might match the return type of a GCC
5104 builtin and then its argument prototype would still apply. */
5105 #ifdef __cplusplus
5106 extern "C"
5107 #endif
5108 char shmat ();
5110 main ()
5112 return shmat ();
5114 return 0;
5116 _ACEOF
5117 rm -f conftest.$ac_objext conftest$ac_exeext
5118 if { (ac_try="$ac_link"
5119 case "(($ac_try" in
5120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5122 esac
5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5124 (eval "$ac_link") 2>conftest.er1
5125 ac_status=$?
5126 grep -v '^ *+' conftest.er1 >conftest.err
5127 rm -f conftest.er1
5128 cat conftest.err >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } && {
5131 test -z "$ac_c_werror_flag" ||
5132 test ! -s conftest.err
5133 } && test -s conftest$ac_exeext &&
5134 $as_test_x conftest$ac_exeext; then
5135 ac_cv_lib_ipc_shmat=yes
5136 else
5137 echo "$as_me: failed program was:" >&5
5138 sed 's/^/| /' conftest.$ac_ext >&5
5140 ac_cv_lib_ipc_shmat=no
5143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5144 conftest$ac_exeext conftest.$ac_ext
5145 LIBS=$ac_check_lib_save_LIBS
5147 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5148 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5149 if test $ac_cv_lib_ipc_shmat = yes; then
5150 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5156 # Check for libraries that X11R6 Xt/Xaw programs need.
5157 ac_save_LDFLAGS=$LDFLAGS
5158 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5159 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5160 # check for ICE first), but we must link in the order -lSM -lICE or
5161 # we get undefined symbols. So assume we have SM if we have ICE.
5162 # These have to be linked with before -lX11, unlike the other
5163 # libraries we check for below, so use a different variable.
5164 # John Interrante, Karl Berry
5165 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5166 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5167 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 else
5170 ac_check_lib_save_LIBS=$LIBS
5171 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5172 cat >conftest.$ac_ext <<_ACEOF
5173 /* confdefs.h. */
5174 _ACEOF
5175 cat confdefs.h >>conftest.$ac_ext
5176 cat >>conftest.$ac_ext <<_ACEOF
5177 /* end confdefs.h. */
5179 /* Override any GCC internal prototype to avoid an error.
5180 Use char because int might match the return type of a GCC
5181 builtin and then its argument prototype would still apply. */
5182 #ifdef __cplusplus
5183 extern "C"
5184 #endif
5185 char IceConnectionNumber ();
5187 main ()
5189 return IceConnectionNumber ();
5191 return 0;
5193 _ACEOF
5194 rm -f conftest.$ac_objext conftest$ac_exeext
5195 if { (ac_try="$ac_link"
5196 case "(($ac_try" in
5197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5198 *) ac_try_echo=$ac_try;;
5199 esac
5200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201 (eval "$ac_link") 2>conftest.er1
5202 ac_status=$?
5203 grep -v '^ *+' conftest.er1 >conftest.err
5204 rm -f conftest.er1
5205 cat conftest.err >&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } && {
5208 test -z "$ac_c_werror_flag" ||
5209 test ! -s conftest.err
5210 } && test -s conftest$ac_exeext &&
5211 $as_test_x conftest$ac_exeext; then
5212 ac_cv_lib_ICE_IceConnectionNumber=yes
5213 else
5214 echo "$as_me: failed program was:" >&5
5215 sed 's/^/| /' conftest.$ac_ext >&5
5217 ac_cv_lib_ICE_IceConnectionNumber=no
5220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5221 conftest$ac_exeext conftest.$ac_ext
5222 LIBS=$ac_check_lib_save_LIBS
5224 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5225 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5226 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5227 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5230 LDFLAGS=$ac_save_LDFLAGS
5235 for ac_prog in flex
5237 # Extract the first word of "$ac_prog", so it can be a program name with args.
5238 set dummy $ac_prog; ac_word=$2
5239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5241 if test "${ac_cv_prog_FLEX+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 else
5244 if test -n "$FLEX"; then
5245 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_FLEX="$ac_prog"
5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 FLEX=$ac_cv_prog_FLEX
5265 if test -n "$FLEX"; then
5266 { echo "$as_me:$LINENO: result: $FLEX" >&5
5267 echo "${ECHO_T}$FLEX" >&6; }
5268 else
5269 { echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6; }
5274 test -n "$FLEX" && break
5275 done
5276 test -n "$FLEX" || FLEX="none"
5278 if test "$FLEX" = "none"
5279 then
5280 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5281 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5282 { (exit 1); exit 1; }; }
5285 for ac_prog in bison
5287 # Extract the first word of "$ac_prog", so it can be a program name with args.
5288 set dummy $ac_prog; ac_word=$2
5289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5291 if test "${ac_cv_prog_BISON+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 else
5294 if test -n "$BISON"; then
5295 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5296 else
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH
5300 IFS=$as_save_IFS
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304 ac_cv_prog_BISON="$ac_prog"
5305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 break 2
5308 done
5309 done
5310 IFS=$as_save_IFS
5314 BISON=$ac_cv_prog_BISON
5315 if test -n "$BISON"; then
5316 { echo "$as_me:$LINENO: result: $BISON" >&5
5317 echo "${ECHO_T}$BISON" >&6; }
5318 else
5319 { echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6; }
5324 test -n "$BISON" && break
5325 done
5326 test -n "$BISON" || BISON="none"
5328 if test "$BISON" = "none"
5329 then
5330 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5331 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5332 { (exit 1); exit 1; }; }
5335 if test -n "$ac_tool_prefix"; then
5336 for ac_prog in gas as
5338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_AS+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 else
5345 if test -n "$AS"; then
5346 ac_cv_prog_AS="$AS" # Let the user override the test.
5347 else
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH
5351 IFS=$as_save_IFS
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 break 2
5359 done
5360 done
5361 IFS=$as_save_IFS
5365 AS=$ac_cv_prog_AS
5366 if test -n "$AS"; then
5367 { echo "$as_me:$LINENO: result: $AS" >&5
5368 echo "${ECHO_T}$AS" >&6; }
5369 else
5370 { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5375 test -n "$AS" && break
5376 done
5378 if test -z "$AS"; then
5379 ac_ct_AS=$AS
5380 for ac_prog in gas as
5382 # Extract the first word of "$ac_prog", so it can be a program name with args.
5383 set dummy $ac_prog; ac_word=$2
5384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5386 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5387 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 else
5389 if test -n "$ac_ct_AS"; then
5390 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5391 else
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 for as_dir in $PATH
5395 IFS=$as_save_IFS
5396 test -z "$as_dir" && as_dir=.
5397 for ac_exec_ext in '' $ac_executable_extensions; do
5398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399 ac_cv_prog_ac_ct_AS="$ac_prog"
5400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5401 break 2
5403 done
5404 done
5405 IFS=$as_save_IFS
5409 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5410 if test -n "$ac_ct_AS"; then
5411 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5412 echo "${ECHO_T}$ac_ct_AS" >&6; }
5413 else
5414 { echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6; }
5419 test -n "$ac_ct_AS" && break
5420 done
5422 if test "x$ac_ct_AS" = x; then
5423 AS="as"
5424 else
5425 case $cross_compiling:$ac_tool_warned in
5426 yes:)
5427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5428 whose name does not start with the host triplet. If you think this
5429 configuration is useful to you, please write to autoconf@gnu.org." >&5
5430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5431 whose name does not start with the host triplet. If you think this
5432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5433 ac_tool_warned=yes ;;
5434 esac
5435 AS=$ac_ct_AS
5439 if test -n "$ac_tool_prefix"; then
5440 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5441 set dummy ${ac_tool_prefix}ld; ac_word=$2
5442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5444 if test "${ac_cv_prog_LD+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 else
5447 if test -n "$LD"; then
5448 ac_cv_prog_LD="$LD" # Let the user override the test.
5449 else
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 for as_dir in $PATH
5453 IFS=$as_save_IFS
5454 test -z "$as_dir" && as_dir=.
5455 for ac_exec_ext in '' $ac_executable_extensions; do
5456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5457 ac_cv_prog_LD="${ac_tool_prefix}ld"
5458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 break 2
5461 done
5462 done
5463 IFS=$as_save_IFS
5467 LD=$ac_cv_prog_LD
5468 if test -n "$LD"; then
5469 { echo "$as_me:$LINENO: result: $LD" >&5
5470 echo "${ECHO_T}$LD" >&6; }
5471 else
5472 { echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6; }
5478 if test -z "$ac_cv_prog_LD"; then
5479 ac_ct_LD=$LD
5480 # Extract the first word of "ld", so it can be a program name with args.
5481 set dummy ld; ac_word=$2
5482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5484 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 else
5487 if test -n "$ac_ct_LD"; then
5488 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5489 else
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 for as_dir in $PATH
5493 IFS=$as_save_IFS
5494 test -z "$as_dir" && as_dir=.
5495 for ac_exec_ext in '' $ac_executable_extensions; do
5496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5497 ac_cv_prog_ac_ct_LD="ld"
5498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 break 2
5501 done
5502 done
5503 IFS=$as_save_IFS
5507 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5508 if test -n "$ac_ct_LD"; then
5509 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5510 echo "${ECHO_T}$ac_ct_LD" >&6; }
5511 else
5512 { echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6; }
5516 if test "x$ac_ct_LD" = x; then
5517 LD="ld"
5518 else
5519 case $cross_compiling:$ac_tool_warned in
5520 yes:)
5521 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5522 whose name does not start with the host triplet. If you think this
5523 configuration is useful to you, please write to autoconf@gnu.org." >&5
5524 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5525 whose name does not start with the host triplet. If you think this
5526 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5527 ac_tool_warned=yes ;;
5528 esac
5529 LD=$ac_ct_LD
5531 else
5532 LD="$ac_cv_prog_LD"
5535 if test -n "$ac_tool_prefix"; then
5536 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5537 set dummy ${ac_tool_prefix}ar; ac_word=$2
5538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5540 if test "${ac_cv_prog_AR+set}" = set; then
5541 echo $ECHO_N "(cached) $ECHO_C" >&6
5542 else
5543 if test -n "$AR"; then
5544 ac_cv_prog_AR="$AR" # Let the user override the test.
5545 else
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 for as_dir in $PATH
5549 IFS=$as_save_IFS
5550 test -z "$as_dir" && as_dir=.
5551 for ac_exec_ext in '' $ac_executable_extensions; do
5552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5553 ac_cv_prog_AR="${ac_tool_prefix}ar"
5554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5555 break 2
5557 done
5558 done
5559 IFS=$as_save_IFS
5563 AR=$ac_cv_prog_AR
5564 if test -n "$AR"; then
5565 { echo "$as_me:$LINENO: result: $AR" >&5
5566 echo "${ECHO_T}$AR" >&6; }
5567 else
5568 { echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6; }
5574 if test -z "$ac_cv_prog_AR"; then
5575 ac_ct_AR=$AR
5576 # Extract the first word of "ar", so it can be a program name with args.
5577 set dummy ar; ac_word=$2
5578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5580 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5581 echo $ECHO_N "(cached) $ECHO_C" >&6
5582 else
5583 if test -n "$ac_ct_AR"; then
5584 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5585 else
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 for as_dir in $PATH
5589 IFS=$as_save_IFS
5590 test -z "$as_dir" && as_dir=.
5591 for ac_exec_ext in '' $ac_executable_extensions; do
5592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593 ac_cv_prog_ac_ct_AR="ar"
5594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 break 2
5597 done
5598 done
5599 IFS=$as_save_IFS
5603 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5604 if test -n "$ac_ct_AR"; then
5605 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5606 echo "${ECHO_T}$ac_ct_AR" >&6; }
5607 else
5608 { echo "$as_me:$LINENO: result: no" >&5
5609 echo "${ECHO_T}no" >&6; }
5612 if test "x$ac_ct_AR" = x; then
5613 AR="ar"
5614 else
5615 case $cross_compiling:$ac_tool_warned in
5616 yes:)
5617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5618 whose name does not start with the host triplet. If you think this
5619 configuration is useful to you, please write to autoconf@gnu.org." >&5
5620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5621 whose name does not start with the host triplet. If you think this
5622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5623 ac_tool_warned=yes ;;
5624 esac
5625 AR=$ac_ct_AR
5627 else
5628 AR="$ac_cv_prog_AR"
5631 ARFLAGS=rc
5633 if test -n "$ac_tool_prefix"; then
5634 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5635 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5638 if test "${ac_cv_prog_RANLIB+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 else
5641 if test -n "$RANLIB"; then
5642 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 break 2
5655 done
5656 done
5657 IFS=$as_save_IFS
5661 RANLIB=$ac_cv_prog_RANLIB
5662 if test -n "$RANLIB"; then
5663 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5664 echo "${ECHO_T}$RANLIB" >&6; }
5665 else
5666 { echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6; }
5672 if test -z "$ac_cv_prog_RANLIB"; then
5673 ac_ct_RANLIB=$RANLIB
5674 # Extract the first word of "ranlib", so it can be a program name with args.
5675 set dummy ranlib; ac_word=$2
5676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5678 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5680 else
5681 if test -n "$ac_ct_RANLIB"; then
5682 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691 ac_cv_prog_ac_ct_RANLIB="ranlib"
5692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5702 if test -n "$ac_ct_RANLIB"; then
5703 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5704 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5705 else
5706 { echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6; }
5710 if test "x$ac_ct_RANLIB" = x; then
5711 RANLIB=":"
5712 else
5713 case $cross_compiling:$ac_tool_warned in
5714 yes:)
5715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5716 whose name does not start with the host triplet. If you think this
5717 configuration is useful to you, please write to autoconf@gnu.org." >&5
5718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5719 whose name does not start with the host triplet. If you think this
5720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5721 ac_tool_warned=yes ;;
5722 esac
5723 RANLIB=$ac_ct_RANLIB
5725 else
5726 RANLIB="$ac_cv_prog_RANLIB"
5729 if test -n "$ac_tool_prefix"; then
5730 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5731 set dummy ${ac_tool_prefix}strip; ac_word=$2
5732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5734 if test "${ac_cv_prog_STRIP+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5736 else
5737 if test -n "$STRIP"; then
5738 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5743 IFS=$as_save_IFS
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5749 break 2
5751 done
5752 done
5753 IFS=$as_save_IFS
5757 STRIP=$ac_cv_prog_STRIP
5758 if test -n "$STRIP"; then
5759 { echo "$as_me:$LINENO: result: $STRIP" >&5
5760 echo "${ECHO_T}$STRIP" >&6; }
5761 else
5762 { echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6; }
5768 if test -z "$ac_cv_prog_STRIP"; then
5769 ac_ct_STRIP=$STRIP
5770 # Extract the first word of "strip", so it can be a program name with args.
5771 set dummy strip; ac_word=$2
5772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5774 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 else
5777 if test -n "$ac_ct_STRIP"; then
5778 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5783 IFS=$as_save_IFS
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5787 ac_cv_prog_ac_ct_STRIP="strip"
5788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 break 2
5791 done
5792 done
5793 IFS=$as_save_IFS
5797 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5798 if test -n "$ac_ct_STRIP"; then
5799 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5800 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5801 else
5802 { echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6; }
5806 if test "x$ac_ct_STRIP" = x; then
5807 STRIP="strip"
5808 else
5809 case $cross_compiling:$ac_tool_warned in
5810 yes:)
5811 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5812 whose name does not start with the host triplet. If you think this
5813 configuration is useful to you, please write to autoconf@gnu.org." >&5
5814 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5815 whose name does not start with the host triplet. If you think this
5816 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5817 ac_tool_warned=yes ;;
5818 esac
5819 STRIP=$ac_ct_STRIP
5821 else
5822 STRIP="$ac_cv_prog_STRIP"
5825 if test -n "$ac_tool_prefix"; then
5826 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5827 set dummy ${ac_tool_prefix}windres; ac_word=$2
5828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5830 if test "${ac_cv_prog_WINDRES+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5832 else
5833 if test -n "$WINDRES"; then
5834 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5835 else
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH
5839 IFS=$as_save_IFS
5840 test -z "$as_dir" && as_dir=.
5841 for ac_exec_ext in '' $ac_executable_extensions; do
5842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 break 2
5847 done
5848 done
5849 IFS=$as_save_IFS
5853 WINDRES=$ac_cv_prog_WINDRES
5854 if test -n "$WINDRES"; then
5855 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5856 echo "${ECHO_T}$WINDRES" >&6; }
5857 else
5858 { echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6; }
5864 if test -z "$ac_cv_prog_WINDRES"; then
5865 ac_ct_WINDRES=$WINDRES
5866 # Extract the first word of "windres", so it can be a program name with args.
5867 set dummy windres; ac_word=$2
5868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5871 echo $ECHO_N "(cached) $ECHO_C" >&6
5872 else
5873 if test -n "$ac_ct_WINDRES"; then
5874 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5879 IFS=$as_save_IFS
5880 test -z "$as_dir" && as_dir=.
5881 for ac_exec_ext in '' $ac_executable_extensions; do
5882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883 ac_cv_prog_ac_ct_WINDRES="windres"
5884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5885 break 2
5887 done
5888 done
5889 IFS=$as_save_IFS
5893 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5894 if test -n "$ac_ct_WINDRES"; then
5895 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5897 else
5898 { echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6; }
5902 if test "x$ac_ct_WINDRES" = x; then
5903 WINDRES="false"
5904 else
5905 case $cross_compiling:$ac_tool_warned in
5906 yes:)
5907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5908 whose name does not start with the host triplet. If you think this
5909 configuration is useful to you, please write to autoconf@gnu.org." >&5
5910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5911 whose name does not start with the host triplet. If you think this
5912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5913 ac_tool_warned=yes ;;
5914 esac
5915 WINDRES=$ac_ct_WINDRES
5917 else
5918 WINDRES="$ac_cv_prog_WINDRES"
5921 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5922 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5923 LN_S=$as_ln_s
5924 if test "$LN_S" = "ln -s"; then
5925 { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5927 else
5928 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5929 echo "${ECHO_T}no, using $LN_S" >&6; }
5932 { echo "$as_me:$LINENO: checking whether ln works" >&5
5933 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5934 rm -f conf$$ conf$$.file
5935 echo >conf$$.file
5936 if ln conf$$.file conf$$ 2>/dev/null; then
5937 LN=ln
5939 { echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6; }
5941 else
5942 LN="cp -p"
5944 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5945 echo "${ECHO_T}no, using $LN" >&6; }
5947 rm -f conf$$ conf$$.file
5948 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5949 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5950 if test "${ac_cv_path_GREP+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 else
5953 # Extract the first word of "grep ggrep" to use in msg output
5954 if test -z "$GREP"; then
5955 set dummy grep ggrep; ac_prog_name=$2
5956 if test "${ac_cv_path_GREP+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5958 else
5959 ac_path_GREP_found=false
5960 # Loop through the user's path and test for each of PROGNAME-LIST
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5964 IFS=$as_save_IFS
5965 test -z "$as_dir" && as_dir=.
5966 for ac_prog in grep ggrep; do
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5969 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5970 # Check for GNU ac_path_GREP and select it if it is found.
5971 # Check for GNU $ac_path_GREP
5972 case `"$ac_path_GREP" --version 2>&1` in
5973 *GNU*)
5974 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5976 ac_count=0
5977 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5978 while :
5980 cat "conftest.in" "conftest.in" >"conftest.tmp"
5981 mv "conftest.tmp" "conftest.in"
5982 cp "conftest.in" "conftest.nl"
5983 echo 'GREP' >> "conftest.nl"
5984 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5986 ac_count=`expr $ac_count + 1`
5987 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5988 # Best one so far, save it but keep looking for a better one
5989 ac_cv_path_GREP="$ac_path_GREP"
5990 ac_path_GREP_max=$ac_count
5992 # 10*(2^10) chars as input seems more than enough
5993 test $ac_count -gt 10 && break
5994 done
5995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5996 esac
5999 $ac_path_GREP_found && break 3
6000 done
6001 done
6003 done
6004 IFS=$as_save_IFS
6009 GREP="$ac_cv_path_GREP"
6010 if test -z "$GREP"; then
6011 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6012 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6013 { (exit 1); exit 1; }; }
6016 else
6017 ac_cv_path_GREP=$GREP
6022 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6023 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6024 GREP="$ac_cv_path_GREP"
6027 { echo "$as_me:$LINENO: checking for egrep" >&5
6028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6029 if test "${ac_cv_path_EGREP+set}" = set; then
6030 echo $ECHO_N "(cached) $ECHO_C" >&6
6031 else
6032 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6033 then ac_cv_path_EGREP="$GREP -E"
6034 else
6035 # Extract the first word of "egrep" to use in msg output
6036 if test -z "$EGREP"; then
6037 set dummy egrep; ac_prog_name=$2
6038 if test "${ac_cv_path_EGREP+set}" = set; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6040 else
6041 ac_path_EGREP_found=false
6042 # Loop through the user's path and test for each of PROGNAME-LIST
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6046 IFS=$as_save_IFS
6047 test -z "$as_dir" && as_dir=.
6048 for ac_prog in egrep; do
6049 for ac_exec_ext in '' $ac_executable_extensions; do
6050 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6051 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6052 # Check for GNU ac_path_EGREP and select it if it is found.
6053 # Check for GNU $ac_path_EGREP
6054 case `"$ac_path_EGREP" --version 2>&1` in
6055 *GNU*)
6056 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6058 ac_count=0
6059 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6060 while :
6062 cat "conftest.in" "conftest.in" >"conftest.tmp"
6063 mv "conftest.tmp" "conftest.in"
6064 cp "conftest.in" "conftest.nl"
6065 echo 'EGREP' >> "conftest.nl"
6066 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6067 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6068 ac_count=`expr $ac_count + 1`
6069 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6070 # Best one so far, save it but keep looking for a better one
6071 ac_cv_path_EGREP="$ac_path_EGREP"
6072 ac_path_EGREP_max=$ac_count
6074 # 10*(2^10) chars as input seems more than enough
6075 test $ac_count -gt 10 && break
6076 done
6077 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6078 esac
6081 $ac_path_EGREP_found && break 3
6082 done
6083 done
6085 done
6086 IFS=$as_save_IFS
6091 EGREP="$ac_cv_path_EGREP"
6092 if test -z "$EGREP"; then
6093 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6094 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6095 { (exit 1); exit 1; }; }
6098 else
6099 ac_cv_path_EGREP=$EGREP
6105 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6106 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6107 EGREP="$ac_cv_path_EGREP"
6110 # Extract the first word of "ldconfig", so it can be a program name with args.
6111 set dummy ldconfig; ac_word=$2
6112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6114 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6115 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 else
6117 case $LDCONFIG in
6118 [\\/]* | ?:[\\/]*)
6119 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in /sbin /usr/sbin $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6137 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6139 esac
6141 LDCONFIG=$ac_cv_path_LDCONFIG
6142 if test -n "$LDCONFIG"; then
6143 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6144 echo "${ECHO_T}$LDCONFIG" >&6; }
6145 else
6146 { echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6; }
6151 # Find a good install program. We prefer a C program (faster),
6152 # so one script is as good as another. But avoid the broken or
6153 # incompatible versions:
6154 # SysV /etc/install, /usr/sbin/install
6155 # SunOS /usr/etc/install
6156 # IRIX /sbin/install
6157 # AIX /bin/install
6158 # AmigaOS /C/install, which installs bootblocks on floppy discs
6159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6162 # OS/2's system install, which has a completely different semantic
6163 # ./install, which can be erroneously created by make from ./install.sh.
6164 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6165 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6166 if test -z "$INSTALL"; then
6167 if test "${ac_cv_path_install+set}" = set; then
6168 echo $ECHO_N "(cached) $ECHO_C" >&6
6169 else
6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 for as_dir in $PATH
6173 IFS=$as_save_IFS
6174 test -z "$as_dir" && as_dir=.
6175 # Account for people who put trailing slashes in PATH elements.
6176 case $as_dir/ in
6177 ./ | .// | /cC/* | \
6178 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6179 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6180 /usr/ucb/* ) ;;
6182 # OSF1 and SCO ODT 3.0 have their own names for install.
6183 # Don't use installbsd from OSF since it installs stuff as root
6184 # by default.
6185 for ac_prog in ginstall scoinst install; do
6186 for ac_exec_ext in '' $ac_executable_extensions; do
6187 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6188 if test $ac_prog = install &&
6189 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6190 # AIX install. It has an incompatible calling convention.
6192 elif test $ac_prog = install &&
6193 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6194 # program-specific install script used by HP pwplus--don't use.
6196 else
6197 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6198 break 3
6201 done
6202 done
6204 esac
6205 done
6206 IFS=$as_save_IFS
6210 if test "${ac_cv_path_install+set}" = set; then
6211 INSTALL=$ac_cv_path_install
6212 else
6213 # As a last resort, use the slow shell script. Don't cache a
6214 # value for INSTALL within a source directory, because that will
6215 # break other packages using the cache if that directory is
6216 # removed, or if the value is a relative name.
6217 INSTALL=$ac_install_sh
6220 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6221 echo "${ECHO_T}$INSTALL" >&6; }
6223 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6224 # It thinks the first close brace ends the variable substitution.
6225 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6227 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6229 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6231 case "$INSTALL" in
6232 [\\/$]* | ?:[\\/]* ) ;;
6233 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6234 esac
6236 for ac_prog in lclint lint
6238 # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_LINT+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245 if test -n "$LINT"; then
6246 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6251 IFS=$as_save_IFS
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_LINT="$ac_prog"
6256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257 break 2
6259 done
6260 done
6261 IFS=$as_save_IFS
6265 LINT=$ac_cv_prog_LINT
6266 if test -n "$LINT"; then
6267 { echo "$as_me:$LINENO: result: $LINT" >&5
6268 echo "${ECHO_T}$LINT" >&6; }
6269 else
6270 { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6275 test -n "$LINT" && break
6276 done
6278 if test "$LINT" = "lint"
6279 then
6280 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6285 for ac_prog in fontforge
6287 # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy $ac_prog; ac_word=$2
6289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6291 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 else
6294 if test -n "$FONTFORGE"; then
6295 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6296 else
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 for as_dir in $PATH
6300 IFS=$as_save_IFS
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_FONTFORGE="$ac_prog"
6305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6306 break 2
6308 done
6309 done
6310 IFS=$as_save_IFS
6314 FONTFORGE=$ac_cv_prog_FONTFORGE
6315 if test -n "$FONTFORGE"; then
6316 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6317 echo "${ECHO_T}$FONTFORGE" >&6; }
6318 else
6319 { echo "$as_me:$LINENO: result: no" >&5
6320 echo "${ECHO_T}no" >&6; }
6324 test -n "$FONTFORGE" && break
6325 done
6326 test -n "$FONTFORGE" || FONTFORGE="false"
6328 for ac_prog in pkg-config
6330 # Extract the first word of "$ac_prog", so it can be a program name with args.
6331 set dummy $ac_prog; ac_word=$2
6332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6334 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6335 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 else
6337 if test -n "$PKG_CONFIG"; then
6338 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6339 else
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH
6343 IFS=$as_save_IFS
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347 ac_cv_prog_PKG_CONFIG="$ac_prog"
6348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6349 break 2
6351 done
6352 done
6353 IFS=$as_save_IFS
6357 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6358 if test -n "$PKG_CONFIG"; then
6359 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6360 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6361 else
6362 { echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6; }
6367 test -n "$PKG_CONFIG" && break
6368 done
6369 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6371 for ac_prog in rsvg
6373 # Extract the first word of "$ac_prog", so it can be a program name with args.
6374 set dummy $ac_prog; ac_word=$2
6375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6377 if test "${ac_cv_prog_RSVG+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 else
6380 if test -n "$RSVG"; then
6381 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6382 else
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 for as_dir in $PATH
6386 IFS=$as_save_IFS
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_prog_RSVG="$ac_prog"
6391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6392 break 2
6394 done
6395 done
6396 IFS=$as_save_IFS
6400 RSVG=$ac_cv_prog_RSVG
6401 if test -n "$RSVG"; then
6402 { echo "$as_me:$LINENO: result: $RSVG" >&5
6403 echo "${ECHO_T}$RSVG" >&6; }
6404 else
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6410 test -n "$RSVG" && break
6411 done
6412 test -n "$RSVG" || RSVG="false"
6414 for ac_prog in icotool
6416 # Extract the first word of "$ac_prog", so it can be a program name with args.
6417 set dummy $ac_prog; ac_word=$2
6418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6420 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6421 echo $ECHO_N "(cached) $ECHO_C" >&6
6422 else
6423 if test -n "$ICOTOOL"; then
6424 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6425 else
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 for as_dir in $PATH
6429 IFS=$as_save_IFS
6430 test -z "$as_dir" && as_dir=.
6431 for ac_exec_ext in '' $ac_executable_extensions; do
6432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433 ac_cv_prog_ICOTOOL="$ac_prog"
6434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6435 break 2
6437 done
6438 done
6439 IFS=$as_save_IFS
6443 ICOTOOL=$ac_cv_prog_ICOTOOL
6444 if test -n "$ICOTOOL"; then
6445 { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6446 echo "${ECHO_T}$ICOTOOL" >&6; }
6447 else
6448 { echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6; }
6453 test -n "$ICOTOOL" && break
6454 done
6455 test -n "$ICOTOOL" || ICOTOOL="false"
6458 if test "${enable_maintainer_mode+set}" = set
6459 then
6460 if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6461 if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6462 if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6465 case $host_cpu in
6466 *i[3456789]86*)
6467 # Extract the first word of "prelink", so it can be a program name with args.
6468 set dummy prelink; ac_word=$2
6469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6471 if test "${ac_cv_path_PRELINK+set}" = set; then
6472 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 else
6474 case $PRELINK in
6475 [\\/]* | ?:[\\/]*)
6476 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 for as_dir in /sbin /usr/sbin $PATH
6482 IFS=$as_save_IFS
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6488 break 2
6490 done
6491 done
6492 IFS=$as_save_IFS
6494 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6496 esac
6498 PRELINK=$ac_cv_path_PRELINK
6499 if test -n "$PRELINK"; then
6500 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6501 echo "${ECHO_T}$PRELINK" >&6; }
6502 else
6503 { echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6; }
6509 esac
6513 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6514 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6515 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 else
6518 ac_check_lib_save_LIBS=$LIBS
6519 LIBS="-li386 $LIBS"
6520 cat >conftest.$ac_ext <<_ACEOF
6521 /* confdefs.h. */
6522 _ACEOF
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6527 /* Override any GCC internal prototype to avoid an error.
6528 Use char because int might match the return type of a GCC
6529 builtin and then its argument prototype would still apply. */
6530 #ifdef __cplusplus
6531 extern "C"
6532 #endif
6533 char i386_set_ldt ();
6535 main ()
6537 return i386_set_ldt ();
6539 return 0;
6541 _ACEOF
6542 rm -f conftest.$ac_objext conftest$ac_exeext
6543 if { (ac_try="$ac_link"
6544 case "(($ac_try" in
6545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6546 *) ac_try_echo=$ac_try;;
6547 esac
6548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6549 (eval "$ac_link") 2>conftest.er1
6550 ac_status=$?
6551 grep -v '^ *+' conftest.er1 >conftest.err
6552 rm -f conftest.er1
6553 cat conftest.err >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } && {
6556 test -z "$ac_c_werror_flag" ||
6557 test ! -s conftest.err
6558 } && test -s conftest$ac_exeext &&
6559 $as_test_x conftest$ac_exeext; then
6560 ac_cv_lib_i386_i386_set_ldt=yes
6561 else
6562 echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.$ac_ext >&5
6565 ac_cv_lib_i386_i386_set_ldt=no
6568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6569 conftest$ac_exeext conftest.$ac_ext
6570 LIBS=$ac_check_lib_save_LIBS
6572 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6573 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6574 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6575 cat >>confdefs.h <<_ACEOF
6576 #define HAVE_LIBI386 1
6577 _ACEOF
6579 LIBS="-li386 $LIBS"
6584 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6585 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6586 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6588 else
6589 ac_check_lib_save_LIBS=$LIBS
6590 LIBS="-lossaudio $LIBS"
6591 cat >conftest.$ac_ext <<_ACEOF
6592 /* confdefs.h. */
6593 _ACEOF
6594 cat confdefs.h >>conftest.$ac_ext
6595 cat >>conftest.$ac_ext <<_ACEOF
6596 /* end confdefs.h. */
6598 /* Override any GCC internal prototype to avoid an error.
6599 Use char because int might match the return type of a GCC
6600 builtin and then its argument prototype would still apply. */
6601 #ifdef __cplusplus
6602 extern "C"
6603 #endif
6604 char _oss_ioctl ();
6606 main ()
6608 return _oss_ioctl ();
6610 return 0;
6612 _ACEOF
6613 rm -f conftest.$ac_objext conftest$ac_exeext
6614 if { (ac_try="$ac_link"
6615 case "(($ac_try" in
6616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6617 *) ac_try_echo=$ac_try;;
6618 esac
6619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6620 (eval "$ac_link") 2>conftest.er1
6621 ac_status=$?
6622 grep -v '^ *+' conftest.er1 >conftest.err
6623 rm -f conftest.er1
6624 cat conftest.err >&5
6625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } && {
6627 test -z "$ac_c_werror_flag" ||
6628 test ! -s conftest.err
6629 } && test -s conftest$ac_exeext &&
6630 $as_test_x conftest$ac_exeext; then
6631 ac_cv_lib_ossaudio__oss_ioctl=yes
6632 else
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6636 ac_cv_lib_ossaudio__oss_ioctl=no
6639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6640 conftest$ac_exeext conftest.$ac_ext
6641 LIBS=$ac_check_lib_save_LIBS
6643 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6644 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6645 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6646 cat >>confdefs.h <<_ACEOF
6647 #define HAVE_LIBOSSAUDIO 1
6648 _ACEOF
6650 LIBS="-lossaudio $LIBS"
6654 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6655 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6656 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6658 else
6659 ac_check_lib_save_LIBS=$LIBS
6660 LIBS="-lpthread $LIBS"
6661 cat >conftest.$ac_ext <<_ACEOF
6662 /* confdefs.h. */
6663 _ACEOF
6664 cat confdefs.h >>conftest.$ac_ext
6665 cat >>conftest.$ac_ext <<_ACEOF
6666 /* end confdefs.h. */
6668 /* Override any GCC internal prototype to avoid an error.
6669 Use char because int might match the return type of a GCC
6670 builtin and then its argument prototype would still apply. */
6671 #ifdef __cplusplus
6672 extern "C"
6673 #endif
6674 char pthread_create ();
6676 main ()
6678 return pthread_create ();
6680 return 0;
6682 _ACEOF
6683 rm -f conftest.$ac_objext conftest$ac_exeext
6684 if { (ac_try="$ac_link"
6685 case "(($ac_try" in
6686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6687 *) ac_try_echo=$ac_try;;
6688 esac
6689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6690 (eval "$ac_link") 2>conftest.er1
6691 ac_status=$?
6692 grep -v '^ *+' conftest.er1 >conftest.err
6693 rm -f conftest.er1
6694 cat conftest.err >&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } && {
6697 test -z "$ac_c_werror_flag" ||
6698 test ! -s conftest.err
6699 } && test -s conftest$ac_exeext &&
6700 $as_test_x conftest$ac_exeext; then
6701 ac_cv_lib_pthread_pthread_create=yes
6702 else
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6706 ac_cv_lib_pthread_pthread_create=no
6709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6710 conftest$ac_exeext conftest.$ac_ext
6711 LIBS=$ac_check_lib_save_LIBS
6713 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6714 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6715 if test $ac_cv_lib_pthread_pthread_create = yes; then
6716 LIBPTHREAD="-lpthread"
6721 XLIB=""
6723 XFILES=""
6725 OPENGLFILES=""
6727 GLU32FILES=""
6729 OPENGL_LIBS=""
6731 QUARTZFILES=""
6735 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6736 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6737 if test "${ac_cv_header_stdc+set}" = set; then
6738 echo $ECHO_N "(cached) $ECHO_C" >&6
6739 else
6740 cat >conftest.$ac_ext <<_ACEOF
6741 /* confdefs.h. */
6742 _ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h. */
6746 #include <stdlib.h>
6747 #include <stdarg.h>
6748 #include <string.h>
6749 #include <float.h>
6752 main ()
6756 return 0;
6758 _ACEOF
6759 rm -f conftest.$ac_objext
6760 if { (ac_try="$ac_compile"
6761 case "(($ac_try" in
6762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763 *) ac_try_echo=$ac_try;;
6764 esac
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766 (eval "$ac_compile") 2>conftest.er1
6767 ac_status=$?
6768 grep -v '^ *+' conftest.er1 >conftest.err
6769 rm -f conftest.er1
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } && {
6773 test -z "$ac_c_werror_flag" ||
6774 test ! -s conftest.err
6775 } && test -s conftest.$ac_objext; then
6776 ac_cv_header_stdc=yes
6777 else
6778 echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.$ac_ext >&5
6781 ac_cv_header_stdc=no
6784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6786 if test $ac_cv_header_stdc = yes; then
6787 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6788 cat >conftest.$ac_ext <<_ACEOF
6789 /* confdefs.h. */
6790 _ACEOF
6791 cat confdefs.h >>conftest.$ac_ext
6792 cat >>conftest.$ac_ext <<_ACEOF
6793 /* end confdefs.h. */
6794 #include <string.h>
6796 _ACEOF
6797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6798 $EGREP "memchr" >/dev/null 2>&1; then
6800 else
6801 ac_cv_header_stdc=no
6803 rm -f conftest*
6807 if test $ac_cv_header_stdc = yes; then
6808 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6809 cat >conftest.$ac_ext <<_ACEOF
6810 /* confdefs.h. */
6811 _ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h. */
6815 #include <stdlib.h>
6817 _ACEOF
6818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6819 $EGREP "free" >/dev/null 2>&1; then
6821 else
6822 ac_cv_header_stdc=no
6824 rm -f conftest*
6828 if test $ac_cv_header_stdc = yes; then
6829 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6830 if test "$cross_compiling" = yes; then
6832 else
6833 cat >conftest.$ac_ext <<_ACEOF
6834 /* confdefs.h. */
6835 _ACEOF
6836 cat confdefs.h >>conftest.$ac_ext
6837 cat >>conftest.$ac_ext <<_ACEOF
6838 /* end confdefs.h. */
6839 #include <ctype.h>
6840 #include <stdlib.h>
6841 #if ((' ' & 0x0FF) == 0x020)
6842 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6843 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6844 #else
6845 # define ISLOWER(c) \
6846 (('a' <= (c) && (c) <= 'i') \
6847 || ('j' <= (c) && (c) <= 'r') \
6848 || ('s' <= (c) && (c) <= 'z'))
6849 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6850 #endif
6852 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6854 main ()
6856 int i;
6857 for (i = 0; i < 256; i++)
6858 if (XOR (islower (i), ISLOWER (i))
6859 || toupper (i) != TOUPPER (i))
6860 return 2;
6861 return 0;
6863 _ACEOF
6864 rm -f conftest$ac_exeext
6865 if { (ac_try="$ac_link"
6866 case "(($ac_try" in
6867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6868 *) ac_try_echo=$ac_try;;
6869 esac
6870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6871 (eval "$ac_link") 2>&5
6872 ac_status=$?
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6875 { (case "(($ac_try" in
6876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6877 *) ac_try_echo=$ac_try;;
6878 esac
6879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6880 (eval "$ac_try") 2>&5
6881 ac_status=$?
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; }; then
6885 else
6886 echo "$as_me: program exited with status $ac_status" >&5
6887 echo "$as_me: failed program was:" >&5
6888 sed 's/^/| /' conftest.$ac_ext >&5
6890 ( exit $ac_status )
6891 ac_cv_header_stdc=no
6893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6899 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6900 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6901 if test $ac_cv_header_stdc = yes; then
6903 cat >>confdefs.h <<\_ACEOF
6904 #define STDC_HEADERS 1
6905 _ACEOF
6909 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6919 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6920 inttypes.h stdint.h unistd.h
6922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6923 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6927 else
6928 cat >conftest.$ac_ext <<_ACEOF
6929 /* confdefs.h. */
6930 _ACEOF
6931 cat confdefs.h >>conftest.$ac_ext
6932 cat >>conftest.$ac_ext <<_ACEOF
6933 /* end confdefs.h. */
6934 $ac_includes_default
6936 #include <$ac_header>
6937 _ACEOF
6938 rm -f conftest.$ac_objext
6939 if { (ac_try="$ac_compile"
6940 case "(($ac_try" in
6941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6942 *) ac_try_echo=$ac_try;;
6943 esac
6944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6945 (eval "$ac_compile") 2>conftest.er1
6946 ac_status=$?
6947 grep -v '^ *+' conftest.er1 >conftest.err
6948 rm -f conftest.er1
6949 cat conftest.err >&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); } && {
6952 test -z "$ac_c_werror_flag" ||
6953 test ! -s conftest.err
6954 } && test -s conftest.$ac_objext; then
6955 eval "$as_ac_Header=yes"
6956 else
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6960 eval "$as_ac_Header=no"
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6965 ac_res=`eval echo '${'$as_ac_Header'}'`
6966 { echo "$as_me:$LINENO: result: $ac_res" >&5
6967 echo "${ECHO_T}$ac_res" >&6; }
6968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6969 cat >>confdefs.h <<_ACEOF
6970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6971 _ACEOF
6975 done
7088 for ac_header in \
7089 AudioUnit/AudioUnit.h \
7090 Carbon/Carbon.h \
7091 CoreAudio/CoreAudio.h \
7092 DiskArbitration/DiskArbitration.h \
7093 IOKit/IOKitLib.h \
7094 alsa/asoundlib.h \
7095 arpa/inet.h \
7096 arpa/nameser.h \
7097 asm/types.h \
7098 capi20.h \
7099 cups/cups.h \
7100 curses.h \
7101 direct.h \
7102 dlfcn.h \
7103 elf.h \
7104 float.h \
7105 fontconfig/fontconfig.h \
7106 getopt.h \
7107 ieeefp.h \
7108 io.h \
7109 jack/jack.h \
7110 jpeglib.h \
7111 lber.h \
7112 lcms.h \
7113 lcms/lcms.h \
7114 ldap.h \
7115 libaudioio.h \
7116 link.h \
7117 linux/cdrom.h \
7118 linux/compiler.h \
7119 linux/hdreg.h \
7120 linux/input.h \
7121 linux/ioctl.h \
7122 linux/joystick.h \
7123 linux/major.h \
7124 linux/param.h \
7125 linux/serial.h \
7126 linux/ucdrom.h \
7127 mach/mach.h \
7128 mach/machine.h \
7129 machine/cpu.h \
7130 machine/limits.h \
7131 machine/soundcard.h \
7132 mntent.h \
7133 ncurses.h \
7134 netdb.h \
7135 netinet/in.h \
7136 netinet/in_systm.h \
7137 netinet/tcp.h \
7138 netinet/tcp_fsm.h \
7139 openssl/err.h \
7140 openssl/ssl.h \
7141 png.h \
7142 poll.h \
7143 process.h \
7144 pthread.h \
7145 pwd.h \
7146 regex.h \
7147 sched.h \
7148 scsi/scsi.h \
7149 scsi/scsi_ioctl.h \
7150 scsi/sg.h \
7151 soundcard.h \
7152 stdint.h \
7153 strings.h \
7154 sys/asoundlib.h \
7155 sys/cdio.h \
7156 sys/elf32.h \
7157 sys/epoll.h \
7158 sys/errno.h \
7159 sys/event.h \
7160 sys/exec_elf.h \
7161 sys/filio.h \
7162 sys/ioctl.h \
7163 sys/ipc.h \
7164 sys/limits.h \
7165 sys/link.h \
7166 sys/lwp.h \
7167 sys/mman.h \
7168 sys/modem.h \
7169 sys/msg.h \
7170 sys/mtio.h \
7171 sys/param.h \
7172 sys/poll.h \
7173 sys/prctl.h \
7174 sys/ptrace.h \
7175 sys/reg.h \
7176 sys/resource.h \
7177 sys/scsiio.h \
7178 sys/shm.h \
7179 sys/signal.h \
7180 sys/socket.h \
7181 sys/socketvar.h \
7182 sys/sockio.h \
7183 sys/soundcard.h \
7184 sys/statvfs.h \
7185 sys/strtio.h \
7186 sys/syscall.h \
7187 sys/sysctl.h \
7188 sys/time.h \
7189 sys/times.h \
7190 sys/uio.h \
7191 sys/un.h \
7192 sys/vm86.h \
7193 sys/wait.h \
7194 syscall.h \
7195 termios.h \
7196 unistd.h \
7197 utime.h \
7198 valgrind/memcheck.h
7201 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7206 echo $ECHO_N "(cached) $ECHO_C" >&6
7208 ac_res=`eval echo '${'$as_ac_Header'}'`
7209 { echo "$as_me:$LINENO: result: $ac_res" >&5
7210 echo "${ECHO_T}$ac_res" >&6; }
7211 else
7212 # Is the header compilable?
7213 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7215 cat >conftest.$ac_ext <<_ACEOF
7216 /* confdefs.h. */
7217 _ACEOF
7218 cat confdefs.h >>conftest.$ac_ext
7219 cat >>conftest.$ac_ext <<_ACEOF
7220 /* end confdefs.h. */
7221 $ac_includes_default
7222 #include <$ac_header>
7223 _ACEOF
7224 rm -f conftest.$ac_objext
7225 if { (ac_try="$ac_compile"
7226 case "(($ac_try" in
7227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7228 *) ac_try_echo=$ac_try;;
7229 esac
7230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7231 (eval "$ac_compile") 2>conftest.er1
7232 ac_status=$?
7233 grep -v '^ *+' conftest.er1 >conftest.err
7234 rm -f conftest.er1
7235 cat conftest.err >&5
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); } && {
7238 test -z "$ac_c_werror_flag" ||
7239 test ! -s conftest.err
7240 } && test -s conftest.$ac_objext; then
7241 ac_header_compiler=yes
7242 else
7243 echo "$as_me: failed program was:" >&5
7244 sed 's/^/| /' conftest.$ac_ext >&5
7246 ac_header_compiler=no
7249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7250 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7251 echo "${ECHO_T}$ac_header_compiler" >&6; }
7253 # Is the header present?
7254 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7256 cat >conftest.$ac_ext <<_ACEOF
7257 /* confdefs.h. */
7258 _ACEOF
7259 cat confdefs.h >>conftest.$ac_ext
7260 cat >>conftest.$ac_ext <<_ACEOF
7261 /* end confdefs.h. */
7262 #include <$ac_header>
7263 _ACEOF
7264 if { (ac_try="$ac_cpp conftest.$ac_ext"
7265 case "(($ac_try" in
7266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7267 *) ac_try_echo=$ac_try;;
7268 esac
7269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7271 ac_status=$?
7272 grep -v '^ *+' conftest.er1 >conftest.err
7273 rm -f conftest.er1
7274 cat conftest.err >&5
7275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7276 (exit $ac_status); } >/dev/null && {
7277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7278 test ! -s conftest.err
7279 }; then
7280 ac_header_preproc=yes
7281 else
7282 echo "$as_me: failed program was:" >&5
7283 sed 's/^/| /' conftest.$ac_ext >&5
7285 ac_header_preproc=no
7288 rm -f conftest.err conftest.$ac_ext
7289 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7290 echo "${ECHO_T}$ac_header_preproc" >&6; }
7292 # So? What about this header?
7293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7294 yes:no: )
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7296 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7298 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7299 ac_header_preproc=yes
7301 no:yes:* )
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7303 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7305 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7306 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7307 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7308 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7309 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7311 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7312 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7313 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7314 ( cat <<\_ASBOX
7315 ## ------------------------------------ ##
7316 ## Report this to wine-devel@winehq.org ##
7317 ## ------------------------------------ ##
7318 _ASBOX
7319 ) | sed "s/^/$as_me: WARNING: /" >&2
7321 esac
7322 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7324 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7325 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 else
7327 eval "$as_ac_Header=\$ac_header_preproc"
7329 ac_res=`eval echo '${'$as_ac_Header'}'`
7330 { echo "$as_me:$LINENO: result: $ac_res" >&5
7331 echo "${ECHO_T}$ac_res" >&6; }
7334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7335 cat >>confdefs.h <<_ACEOF
7336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7337 _ACEOF
7341 done
7343 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7344 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7345 if test "${ac_cv_header_stat_broken+set}" = set; then
7346 echo $ECHO_N "(cached) $ECHO_C" >&6
7347 else
7348 cat >conftest.$ac_ext <<_ACEOF
7349 /* confdefs.h. */
7350 _ACEOF
7351 cat confdefs.h >>conftest.$ac_ext
7352 cat >>conftest.$ac_ext <<_ACEOF
7353 /* end confdefs.h. */
7354 #include <sys/types.h>
7355 #include <sys/stat.h>
7357 #if defined S_ISBLK && defined S_IFDIR
7358 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7359 #endif
7361 #if defined S_ISBLK && defined S_IFCHR
7362 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7363 #endif
7365 #if defined S_ISLNK && defined S_IFREG
7366 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7367 #endif
7369 #if defined S_ISSOCK && defined S_IFREG
7370 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7371 #endif
7373 _ACEOF
7374 rm -f conftest.$ac_objext
7375 if { (ac_try="$ac_compile"
7376 case "(($ac_try" in
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7379 esac
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7382 ac_status=$?
7383 grep -v '^ *+' conftest.er1 >conftest.err
7384 rm -f conftest.er1
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 ac_cv_header_stat_broken=no
7392 else
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 ac_cv_header_stat_broken=yes
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7402 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7403 if test $ac_cv_header_stat_broken = yes; then
7405 cat >>confdefs.h <<\_ACEOF
7406 #define STAT_MACROS_BROKEN 1
7407 _ACEOF
7417 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7423 echo $ECHO_N "(cached) $ECHO_C" >&6
7424 else
7425 cat >conftest.$ac_ext <<_ACEOF
7426 /* confdefs.h. */
7427 _ACEOF
7428 cat confdefs.h >>conftest.$ac_ext
7429 cat >>conftest.$ac_ext <<_ACEOF
7430 /* end confdefs.h. */
7431 #include <sys/types.h>
7432 #ifdef HAVE_SYS_PARAM_H
7433 # include <sys/param.h>
7434 #endif
7436 #include <$ac_header>
7437 _ACEOF
7438 rm -f conftest.$ac_objext
7439 if { (ac_try="$ac_compile"
7440 case "(($ac_try" in
7441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7442 *) ac_try_echo=$ac_try;;
7443 esac
7444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7445 (eval "$ac_compile") 2>conftest.er1
7446 ac_status=$?
7447 grep -v '^ *+' conftest.er1 >conftest.err
7448 rm -f conftest.er1
7449 cat conftest.err >&5
7450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } && {
7452 test -z "$ac_c_werror_flag" ||
7453 test ! -s conftest.err
7454 } && test -s conftest.$ac_objext; then
7455 eval "$as_ac_Header=yes"
7456 else
7457 echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7460 eval "$as_ac_Header=no"
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 ac_res=`eval echo '${'$as_ac_Header'}'`
7466 { echo "$as_me:$LINENO: result: $ac_res" >&5
7467 echo "${ECHO_T}$ac_res" >&6; }
7468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7469 cat >>confdefs.h <<_ACEOF
7470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7471 _ACEOF
7475 done
7486 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
7488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7492 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 else
7494 cat >conftest.$ac_ext <<_ACEOF
7495 /* confdefs.h. */
7496 _ACEOF
7497 cat confdefs.h >>conftest.$ac_ext
7498 cat >>conftest.$ac_ext <<_ACEOF
7499 /* end confdefs.h. */
7500 #include <sys/types.h>
7501 #ifdef HAVE_SYS_SOCKET_H
7502 # include <sys/socket.h>
7503 #endif
7504 #ifdef HAVE_SYS_SOCKETVAR_H
7505 # include <sys/socketvar.h>
7506 #endif
7507 #ifdef HAVE_NETINET_IN_H
7508 # include <netinet/in.h>
7509 #endif
7511 #include <$ac_header>
7512 _ACEOF
7513 rm -f conftest.$ac_objext
7514 if { (ac_try="$ac_compile"
7515 case "(($ac_try" in
7516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7517 *) ac_try_echo=$ac_try;;
7518 esac
7519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7520 (eval "$ac_compile") 2>conftest.er1
7521 ac_status=$?
7522 grep -v '^ *+' conftest.er1 >conftest.err
7523 rm -f conftest.er1
7524 cat conftest.err >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } && {
7527 test -z "$ac_c_werror_flag" ||
7528 test ! -s conftest.err
7529 } && test -s conftest.$ac_objext; then
7530 eval "$as_ac_Header=yes"
7531 else
7532 echo "$as_me: failed program was:" >&5
7533 sed 's/^/| /' conftest.$ac_ext >&5
7535 eval "$as_ac_Header=no"
7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7540 ac_res=`eval echo '${'$as_ac_Header'}'`
7541 { echo "$as_me:$LINENO: result: $ac_res" >&5
7542 echo "${ECHO_T}$ac_res" >&6; }
7543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7544 cat >>confdefs.h <<_ACEOF
7545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7546 _ACEOF
7550 done
7554 for ac_header in netinet/tcp_var.h
7556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7557 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7561 else
7562 cat >conftest.$ac_ext <<_ACEOF
7563 /* confdefs.h. */
7564 _ACEOF
7565 cat confdefs.h >>conftest.$ac_ext
7566 cat >>conftest.$ac_ext <<_ACEOF
7567 /* end confdefs.h. */
7568 #include <sys/types.h>
7569 #ifdef HAVE_SYS_SOCKET_H
7570 # include <sys/socket.h>
7571 #endif
7572 #ifdef HAVE_SYS_SOCKETVAR_H
7573 # include <sys/socketvar.h>
7574 #endif
7575 #ifdef HAVE_NETINET_IN_H
7576 # include <netinet/in.h>
7577 #endif
7578 #ifdef HAVE_NETINET_TCP_H
7579 # include <netinet/tcp.h>
7580 #endif
7582 #include <$ac_header>
7583 _ACEOF
7584 rm -f conftest.$ac_objext
7585 if { (ac_try="$ac_compile"
7586 case "(($ac_try" in
7587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7588 *) ac_try_echo=$ac_try;;
7589 esac
7590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7591 (eval "$ac_compile") 2>conftest.er1
7592 ac_status=$?
7593 grep -v '^ *+' conftest.er1 >conftest.err
7594 rm -f conftest.er1
7595 cat conftest.err >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } && {
7598 test -z "$ac_c_werror_flag" ||
7599 test ! -s conftest.err
7600 } && test -s conftest.$ac_objext; then
7601 eval "$as_ac_Header=yes"
7602 else
7603 echo "$as_me: failed program was:" >&5
7604 sed 's/^/| /' conftest.$ac_ext >&5
7606 eval "$as_ac_Header=no"
7609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7611 ac_res=`eval echo '${'$as_ac_Header'}'`
7612 { echo "$as_me:$LINENO: result: $ac_res" >&5
7613 echo "${ECHO_T}$ac_res" >&6; }
7614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7615 cat >>confdefs.h <<_ACEOF
7616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7617 _ACEOF
7621 done
7625 for ac_header in linux/ipx.h
7627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7631 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 else
7633 cat >conftest.$ac_ext <<_ACEOF
7634 /* confdefs.h. */
7635 _ACEOF
7636 cat confdefs.h >>conftest.$ac_ext
7637 cat >>conftest.$ac_ext <<_ACEOF
7638 /* end confdefs.h. */
7639 #include <sys/types.h>
7640 #ifdef HAVE_ASM_TYPES_H
7641 # include <asm/types.h>
7642 #endif
7643 #ifdef HAVE_SYS_SOCKET_H
7644 # include <sys/socket.h>
7645 #endif
7647 #include <$ac_header>
7648 _ACEOF
7649 rm -f conftest.$ac_objext
7650 if { (ac_try="$ac_compile"
7651 case "(($ac_try" in
7652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7653 *) ac_try_echo=$ac_try;;
7654 esac
7655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7656 (eval "$ac_compile") 2>conftest.er1
7657 ac_status=$?
7658 grep -v '^ *+' conftest.er1 >conftest.err
7659 rm -f conftest.er1
7660 cat conftest.err >&5
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); } && {
7663 test -z "$ac_c_werror_flag" ||
7664 test ! -s conftest.err
7665 } && test -s conftest.$ac_objext; then
7666 eval "$as_ac_Header=yes"
7667 else
7668 echo "$as_me: failed program was:" >&5
7669 sed 's/^/| /' conftest.$ac_ext >&5
7671 eval "$as_ac_Header=no"
7674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676 ac_res=`eval echo '${'$as_ac_Header'}'`
7677 { echo "$as_me:$LINENO: result: $ac_res" >&5
7678 echo "${ECHO_T}$ac_res" >&6; }
7679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7680 cat >>confdefs.h <<_ACEOF
7681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7682 _ACEOF
7686 done
7690 for ac_header in resolv.h
7692 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7693 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7694 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7696 echo $ECHO_N "(cached) $ECHO_C" >&6
7697 else
7698 cat >conftest.$ac_ext <<_ACEOF
7699 /* confdefs.h. */
7700 _ACEOF
7701 cat confdefs.h >>conftest.$ac_ext
7702 cat >>conftest.$ac_ext <<_ACEOF
7703 /* end confdefs.h. */
7704 #include <sys/types.h>
7705 #ifdef HAVE_SYS_SOCKET_H
7706 # include <sys/socket.h>
7707 #endif
7708 #ifdef HAVE_NETINET_IN_H
7709 # include <netinet/in.h>
7710 #endif
7711 #ifdef HAVE_ARPA_NAMESER_H
7712 # include <arpa/nameser.h>
7713 #endif
7715 #include <$ac_header>
7716 _ACEOF
7717 rm -f conftest.$ac_objext
7718 if { (ac_try="$ac_compile"
7719 case "(($ac_try" in
7720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7721 *) ac_try_echo=$ac_try;;
7722 esac
7723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7724 (eval "$ac_compile") 2>conftest.er1
7725 ac_status=$?
7726 grep -v '^ *+' conftest.er1 >conftest.err
7727 rm -f conftest.er1
7728 cat conftest.err >&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); } && {
7731 test -z "$ac_c_werror_flag" ||
7732 test ! -s conftest.err
7733 } && test -s conftest.$ac_objext; then
7734 eval "$as_ac_Header=yes"
7735 else
7736 echo "$as_me: failed program was:" >&5
7737 sed 's/^/| /' conftest.$ac_ext >&5
7739 eval "$as_ac_Header=no"
7742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7744 ac_res=`eval echo '${'$as_ac_Header'}'`
7745 { echo "$as_me:$LINENO: result: $ac_res" >&5
7746 echo "${ECHO_T}$ac_res" >&6; }
7747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7748 cat >>confdefs.h <<_ACEOF
7749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7750 _ACEOF
7754 done
7758 for ac_header in ucontext.h
7760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7764 echo $ECHO_N "(cached) $ECHO_C" >&6
7765 else
7766 cat >conftest.$ac_ext <<_ACEOF
7767 /* confdefs.h. */
7768 _ACEOF
7769 cat confdefs.h >>conftest.$ac_ext
7770 cat >>conftest.$ac_ext <<_ACEOF
7771 /* end confdefs.h. */
7772 #include <signal.h>
7774 #include <$ac_header>
7775 _ACEOF
7776 rm -f conftest.$ac_objext
7777 if { (ac_try="$ac_compile"
7778 case "(($ac_try" in
7779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7780 *) ac_try_echo=$ac_try;;
7781 esac
7782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7783 (eval "$ac_compile") 2>conftest.er1
7784 ac_status=$?
7785 grep -v '^ *+' conftest.er1 >conftest.err
7786 rm -f conftest.er1
7787 cat conftest.err >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); } && {
7790 test -z "$ac_c_werror_flag" ||
7791 test ! -s conftest.err
7792 } && test -s conftest.$ac_objext; then
7793 eval "$as_ac_Header=yes"
7794 else
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7798 eval "$as_ac_Header=no"
7801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7803 ac_res=`eval echo '${'$as_ac_Header'}'`
7804 { echo "$as_me:$LINENO: result: $ac_res" >&5
7805 echo "${ECHO_T}$ac_res" >&6; }
7806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7807 cat >>confdefs.h <<_ACEOF
7808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7809 _ACEOF
7813 done
7817 for ac_header in sys/thr.h
7819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7820 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7823 echo $ECHO_N "(cached) $ECHO_C" >&6
7824 else
7825 cat >conftest.$ac_ext <<_ACEOF
7826 /* confdefs.h. */
7827 _ACEOF
7828 cat confdefs.h >>conftest.$ac_ext
7829 cat >>conftest.$ac_ext <<_ACEOF
7830 /* end confdefs.h. */
7831 #include <sys/types.h>
7832 #ifdef HAVE_UCONTEXT_H
7833 #include <ucontext.h>
7834 #endif
7836 #include <$ac_header>
7837 _ACEOF
7838 rm -f conftest.$ac_objext
7839 if { (ac_try="$ac_compile"
7840 case "(($ac_try" in
7841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7842 *) ac_try_echo=$ac_try;;
7843 esac
7844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7845 (eval "$ac_compile") 2>conftest.er1
7846 ac_status=$?
7847 grep -v '^ *+' conftest.er1 >conftest.err
7848 rm -f conftest.er1
7849 cat conftest.err >&5
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7851 (exit $ac_status); } && {
7852 test -z "$ac_c_werror_flag" ||
7853 test ! -s conftest.err
7854 } && test -s conftest.$ac_objext; then
7855 eval "$as_ac_Header=yes"
7856 else
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.$ac_ext >&5
7860 eval "$as_ac_Header=no"
7863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7865 ac_res=`eval echo '${'$as_ac_Header'}'`
7866 { echo "$as_me:$LINENO: result: $ac_res" >&5
7867 echo "${ECHO_T}$ac_res" >&6; }
7868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7869 cat >>confdefs.h <<_ACEOF
7870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7871 _ACEOF
7875 done
7879 for ac_header in pthread_np.h
7881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7882 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7886 else
7887 cat >conftest.$ac_ext <<_ACEOF
7888 /* confdefs.h. */
7889 _ACEOF
7890 cat confdefs.h >>conftest.$ac_ext
7891 cat >>conftest.$ac_ext <<_ACEOF
7892 /* end confdefs.h. */
7893 #ifdef HAVE_PTHREAD_H
7894 #include <pthread.h>
7895 #endif
7897 #include <$ac_header>
7898 _ACEOF
7899 rm -f conftest.$ac_objext
7900 if { (ac_try="$ac_compile"
7901 case "(($ac_try" in
7902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7903 *) ac_try_echo=$ac_try;;
7904 esac
7905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7906 (eval "$ac_compile") 2>conftest.er1
7907 ac_status=$?
7908 grep -v '^ *+' conftest.er1 >conftest.err
7909 rm -f conftest.er1
7910 cat conftest.err >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); } && {
7913 test -z "$ac_c_werror_flag" ||
7914 test ! -s conftest.err
7915 } && test -s conftest.$ac_objext; then
7916 eval "$as_ac_Header=yes"
7917 else
7918 echo "$as_me: failed program was:" >&5
7919 sed 's/^/| /' conftest.$ac_ext >&5
7921 eval "$as_ac_Header=no"
7924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7926 ac_res=`eval echo '${'$as_ac_Header'}'`
7927 { echo "$as_me:$LINENO: result: $ac_res" >&5
7928 echo "${ECHO_T}$ac_res" >&6; }
7929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7930 cat >>confdefs.h <<_ACEOF
7931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7932 _ACEOF
7936 done
7940 for ac_header in linux/videodev.h
7942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7943 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7945 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7947 else
7948 cat >conftest.$ac_ext <<_ACEOF
7949 /* confdefs.h. */
7950 _ACEOF
7951 cat confdefs.h >>conftest.$ac_ext
7952 cat >>conftest.$ac_ext <<_ACEOF
7953 /* end confdefs.h. */
7954 #ifdef HAVE_SYS_TIME_H
7955 #include <sys/time.h>
7956 #endif
7957 #include <sys/types.h>
7958 #ifdef HAVE_ASM_TYPES_H
7959 #include <asm/types.h>
7960 #endif
7962 #include <$ac_header>
7963 _ACEOF
7964 rm -f conftest.$ac_objext
7965 if { (ac_try="$ac_compile"
7966 case "(($ac_try" in
7967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7968 *) ac_try_echo=$ac_try;;
7969 esac
7970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7971 (eval "$ac_compile") 2>conftest.er1
7972 ac_status=$?
7973 grep -v '^ *+' conftest.er1 >conftest.err
7974 rm -f conftest.er1
7975 cat conftest.err >&5
7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977 (exit $ac_status); } && {
7978 test -z "$ac_c_werror_flag" ||
7979 test ! -s conftest.err
7980 } && test -s conftest.$ac_objext; then
7981 eval "$as_ac_Header=yes"
7982 else
7983 echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7986 eval "$as_ac_Header=no"
7989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7991 ac_res=`eval echo '${'$as_ac_Header'}'`
7992 { echo "$as_me:$LINENO: result: $ac_res" >&5
7993 echo "${ECHO_T}$ac_res" >&6; }
7994 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7995 cat >>confdefs.h <<_ACEOF
7996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7997 _ACEOF
8001 done
8005 for ac_header in linux/capi.h
8007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8012 else
8013 cat >conftest.$ac_ext <<_ACEOF
8014 /* confdefs.h. */
8015 _ACEOF
8016 cat confdefs.h >>conftest.$ac_ext
8017 cat >>conftest.$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 #define __user
8021 #include <$ac_header>
8022 _ACEOF
8023 rm -f conftest.$ac_objext
8024 if { (ac_try="$ac_compile"
8025 case "(($ac_try" in
8026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8027 *) ac_try_echo=$ac_try;;
8028 esac
8029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8030 (eval "$ac_compile") 2>conftest.er1
8031 ac_status=$?
8032 grep -v '^ *+' conftest.er1 >conftest.err
8033 rm -f conftest.er1
8034 cat conftest.err >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); } && {
8037 test -z "$ac_c_werror_flag" ||
8038 test ! -s conftest.err
8039 } && test -s conftest.$ac_objext; then
8040 eval "$as_ac_Header=yes"
8041 else
8042 echo "$as_me: failed program was:" >&5
8043 sed 's/^/| /' conftest.$ac_ext >&5
8045 eval "$as_ac_Header=no"
8048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8050 ac_res=`eval echo '${'$as_ac_Header'}'`
8051 { echo "$as_me:$LINENO: result: $ac_res" >&5
8052 echo "${ECHO_T}$ac_res" >&6; }
8053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8054 cat >>confdefs.h <<_ACEOF
8055 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8056 _ACEOF
8060 done
8064 DLLEXT=""
8066 DLLFLAGS="-D_REENTRANT"
8068 LDSHARED=""
8070 LDDLLFLAGS=""
8072 LIBEXT="so"
8074 IMPLIBEXT="def"
8076 LDRPATH_INSTALL=""
8078 LDRPATH_LOCAL=""
8080 # Extract the first word of "ldd", so it can be a program name with args.
8081 set dummy ldd; ac_word=$2
8082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8084 if test "${ac_cv_path_LDD+set}" = set; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8086 else
8087 case $LDD in
8088 [\\/]* | ?:[\\/]*)
8089 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 as_dummy="/sbin:/usr/sbin:$PATH"
8094 for as_dir in $as_dummy
8096 IFS=$as_save_IFS
8097 test -z "$as_dir" && as_dir=.
8098 for ac_exec_ext in '' $ac_executable_extensions; do
8099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8100 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8102 break 2
8104 done
8105 done
8106 IFS=$as_save_IFS
8108 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8110 esac
8112 LDD=$ac_cv_path_LDD
8113 if test -n "$LDD"; then
8114 { echo "$as_me:$LINENO: result: $LDD" >&5
8115 echo "${ECHO_T}$LDD" >&6; }
8116 else
8117 { echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6; }
8123 case $host_os in
8124 cygwin*|mingw32*)
8125 if test -n "$ac_tool_prefix"; then
8126 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8127 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8130 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8132 else
8133 if test -n "$DLLTOOL"; then
8134 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8135 else
8136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8137 for as_dir in $PATH
8139 IFS=$as_save_IFS
8140 test -z "$as_dir" && as_dir=.
8141 for ac_exec_ext in '' $ac_executable_extensions; do
8142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8143 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8145 break 2
8147 done
8148 done
8149 IFS=$as_save_IFS
8153 DLLTOOL=$ac_cv_prog_DLLTOOL
8154 if test -n "$DLLTOOL"; then
8155 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8156 echo "${ECHO_T}$DLLTOOL" >&6; }
8157 else
8158 { echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6; }
8164 if test -z "$ac_cv_prog_DLLTOOL"; then
8165 ac_ct_DLLTOOL=$DLLTOOL
8166 # Extract the first word of "dlltool", so it can be a program name with args.
8167 set dummy dlltool; ac_word=$2
8168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8170 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8171 echo $ECHO_N "(cached) $ECHO_C" >&6
8172 else
8173 if test -n "$ac_ct_DLLTOOL"; then
8174 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8175 else
8176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177 for as_dir in $PATH
8179 IFS=$as_save_IFS
8180 test -z "$as_dir" && as_dir=.
8181 for ac_exec_ext in '' $ac_executable_extensions; do
8182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8183 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8185 break 2
8187 done
8188 done
8189 IFS=$as_save_IFS
8193 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8194 if test -n "$ac_ct_DLLTOOL"; then
8195 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8196 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8197 else
8198 { echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6; }
8202 if test "x$ac_ct_DLLTOOL" = x; then
8203 DLLTOOL="false"
8204 else
8205 case $cross_compiling:$ac_tool_warned in
8206 yes:)
8207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8208 whose name does not start with the host triplet. If you think this
8209 configuration is useful to you, please write to autoconf@gnu.org." >&5
8210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8211 whose name does not start with the host triplet. If you think this
8212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8213 ac_tool_warned=yes ;;
8214 esac
8215 DLLTOOL=$ac_ct_DLLTOOL
8217 else
8218 DLLTOOL="$ac_cv_prog_DLLTOOL"
8221 if test -n "$ac_tool_prefix"; then
8222 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8223 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8226 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 else
8229 if test -n "$DLLWRAP"; then
8230 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8231 else
8232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8233 for as_dir in $PATH
8235 IFS=$as_save_IFS
8236 test -z "$as_dir" && as_dir=.
8237 for ac_exec_ext in '' $ac_executable_extensions; do
8238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8239 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8241 break 2
8243 done
8244 done
8245 IFS=$as_save_IFS
8249 DLLWRAP=$ac_cv_prog_DLLWRAP
8250 if test -n "$DLLWRAP"; then
8251 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8252 echo "${ECHO_T}$DLLWRAP" >&6; }
8253 else
8254 { echo "$as_me:$LINENO: result: no" >&5
8255 echo "${ECHO_T}no" >&6; }
8260 if test -z "$ac_cv_prog_DLLWRAP"; then
8261 ac_ct_DLLWRAP=$DLLWRAP
8262 # Extract the first word of "dllwrap", so it can be a program name with args.
8263 set dummy dllwrap; ac_word=$2
8264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8266 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8267 echo $ECHO_N "(cached) $ECHO_C" >&6
8268 else
8269 if test -n "$ac_ct_DLLWRAP"; then
8270 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8271 else
8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8273 for as_dir in $PATH
8275 IFS=$as_save_IFS
8276 test -z "$as_dir" && as_dir=.
8277 for ac_exec_ext in '' $ac_executable_extensions; do
8278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8279 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8281 break 2
8283 done
8284 done
8285 IFS=$as_save_IFS
8289 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8290 if test -n "$ac_ct_DLLWRAP"; then
8291 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8292 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8293 else
8294 { echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6; }
8298 if test "x$ac_ct_DLLWRAP" = x; then
8299 DLLWRAP="false"
8300 else
8301 case $cross_compiling:$ac_tool_warned in
8302 yes:)
8303 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8304 whose name does not start with the host triplet. If you think this
8305 configuration is useful to you, please write to autoconf@gnu.org." >&5
8306 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8307 whose name does not start with the host triplet. If you think this
8308 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8309 ac_tool_warned=yes ;;
8310 esac
8311 DLLWRAP=$ac_ct_DLLWRAP
8313 else
8314 DLLWRAP="$ac_cv_prog_DLLWRAP"
8317 if test -n "$ac_tool_prefix"; then
8318 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8319 set dummy ${ac_tool_prefix}ar; ac_word=$2
8320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8322 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8324 else
8325 if test -n "$MINGWAR"; then
8326 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8327 else
8328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8329 for as_dir in $PATH
8331 IFS=$as_save_IFS
8332 test -z "$as_dir" && as_dir=.
8333 for ac_exec_ext in '' $ac_executable_extensions; do
8334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8335 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8337 break 2
8339 done
8340 done
8341 IFS=$as_save_IFS
8345 MINGWAR=$ac_cv_prog_MINGWAR
8346 if test -n "$MINGWAR"; then
8347 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8348 echo "${ECHO_T}$MINGWAR" >&6; }
8349 else
8350 { echo "$as_me:$LINENO: result: no" >&5
8351 echo "${ECHO_T}no" >&6; }
8356 if test -z "$ac_cv_prog_MINGWAR"; then
8357 ac_ct_MINGWAR=$MINGWAR
8358 # Extract the first word of "ar", so it can be a program name with args.
8359 set dummy ar; ac_word=$2
8360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8362 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8363 echo $ECHO_N "(cached) $ECHO_C" >&6
8364 else
8365 if test -n "$ac_ct_MINGWAR"; then
8366 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8367 else
8368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 for as_dir in $PATH
8371 IFS=$as_save_IFS
8372 test -z "$as_dir" && as_dir=.
8373 for ac_exec_ext in '' $ac_executable_extensions; do
8374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8375 ac_cv_prog_ac_ct_MINGWAR="ar"
8376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8377 break 2
8379 done
8380 done
8381 IFS=$as_save_IFS
8385 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8386 if test -n "$ac_ct_MINGWAR"; then
8387 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8388 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8389 else
8390 { echo "$as_me:$LINENO: result: no" >&5
8391 echo "${ECHO_T}no" >&6; }
8394 if test "x$ac_ct_MINGWAR" = x; then
8395 MINGWAR="false"
8396 else
8397 case $cross_compiling:$ac_tool_warned in
8398 yes:)
8399 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8400 whose name does not start with the host triplet. If you think this
8401 configuration is useful to you, please write to autoconf@gnu.org." >&5
8402 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8403 whose name does not start with the host triplet. If you think this
8404 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8405 ac_tool_warned=yes ;;
8406 esac
8407 MINGWAR=$ac_ct_MINGWAR
8409 else
8410 MINGWAR="$ac_cv_prog_MINGWAR"
8413 if test "$DLLWRAP" = "false"; then
8414 LIBEXT="a"
8415 else
8416 LIBEXT="dll"
8418 IMPLIBEXT="a"
8419 WIN16_FILES=""
8420 WIN16_INSTALL=""
8422 darwin*|macosx*)
8423 DLLEXT=".so"
8424 LIBEXT="dylib"
8425 DLLFLAGS="$DLLFLAGS -fPIC"
8426 LDDLLFLAGS="-bundle -multiply_defined suppress"
8427 LIBWINE_LDFLAGS="-multiply_defined suppress"
8428 LDSHARED="\$(CC) -dynamiclib"
8429 STRIP="$STRIP -x"
8430 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8431 SECURITYLIB="-framework Security -framework CoreFoundation"
8433 COREFOUNDATIONLIB="-framework CoreFoundation"
8435 IOKITLIB="-framework IOKit -framework CoreFoundation"
8437 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8439 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8440 then
8441 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8444 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8445 then
8446 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8449 case $host_cpu in
8450 *powerpc*)
8451 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8452 esac
8453 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8454 then
8455 CARBONLIB="-framework Carbon"
8457 QUARTZFILES='$(QUARTZFILES)'
8461 DLLFLAGS="$DLLFLAGS -fPIC"
8462 DLLEXT=".so"
8463 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8464 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8465 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8466 echo $ECHO_N "(cached) $ECHO_C" >&6
8467 else
8468 ac_wine_try_cflags_saved=$CFLAGS
8469 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8470 cat >conftest.$ac_ext <<_ACEOF
8471 void myfunc() {}
8472 _ACEOF
8473 rm -f conftest.$ac_objext conftest$ac_exeext
8474 if { (ac_try="$ac_link"
8475 case "(($ac_try" in
8476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8477 *) ac_try_echo=$ac_try;;
8478 esac
8479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8480 (eval "$ac_link") 2>conftest.er1
8481 ac_status=$?
8482 grep -v '^ *+' conftest.er1 >conftest.err
8483 rm -f conftest.er1
8484 cat conftest.err >&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); } && {
8487 test -z "$ac_c_werror_flag" ||
8488 test ! -s conftest.err
8489 } && test -s conftest$ac_exeext &&
8490 $as_test_x conftest$ac_exeext; then
8491 ac_cv_c_dll_gnuelf="yes"
8492 else
8493 echo "$as_me: failed program was:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8496 ac_cv_c_dll_gnuelf="no"
8499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8500 conftest$ac_exeext conftest.$ac_ext
8501 CFLAGS=$ac_wine_try_cflags_saved
8503 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8504 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8505 if test "$ac_cv_c_dll_gnuelf" = "yes"
8506 then
8507 LDSHARED="\$(CC) -shared"
8508 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8509 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8510 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8511 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8512 echo $ECHO_N "(cached) $ECHO_C" >&6
8513 else
8514 ac_wine_try_cflags_saved=$CFLAGS
8515 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8516 cat >conftest.$ac_ext <<_ACEOF
8517 /* confdefs.h. */
8518 _ACEOF
8519 cat confdefs.h >>conftest.$ac_ext
8520 cat >>conftest.$ac_ext <<_ACEOF
8521 /* end confdefs.h. */
8524 main ()
8528 return 0;
8530 _ACEOF
8531 rm -f conftest.$ac_objext conftest$ac_exeext
8532 if { (ac_try="$ac_link"
8533 case "(($ac_try" in
8534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8535 *) ac_try_echo=$ac_try;;
8536 esac
8537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8538 (eval "$ac_link") 2>conftest.er1
8539 ac_status=$?
8540 grep -v '^ *+' conftest.er1 >conftest.err
8541 rm -f conftest.er1
8542 cat conftest.err >&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } && {
8545 test -z "$ac_c_werror_flag" ||
8546 test ! -s conftest.err
8547 } && test -s conftest$ac_exeext &&
8548 $as_test_x conftest$ac_exeext; then
8549 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8550 else
8551 echo "$as_me: failed program was:" >&5
8552 sed 's/^/| /' conftest.$ac_ext >&5
8554 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8558 conftest$ac_exeext conftest.$ac_ext
8559 CFLAGS=$ac_wine_try_cflags_saved
8561 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8562 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8563 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8564 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8565 else
8566 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8567 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8568 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8570 else
8571 ac_wine_try_cflags_saved=$CFLAGS
8572 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8573 cat >conftest.$ac_ext <<_ACEOF
8574 /* confdefs.h. */
8575 _ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8581 main ()
8585 return 0;
8587 _ACEOF
8588 rm -f conftest.$ac_objext conftest$ac_exeext
8589 if { (ac_try="$ac_link"
8590 case "(($ac_try" in
8591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8592 *) ac_try_echo=$ac_try;;
8593 esac
8594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8595 (eval "$ac_link") 2>conftest.er1
8596 ac_status=$?
8597 grep -v '^ *+' conftest.er1 >conftest.err
8598 rm -f conftest.er1
8599 cat conftest.err >&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } && {
8602 test -z "$ac_c_werror_flag" ||
8603 test ! -s conftest.err
8604 } && test -s conftest$ac_exeext &&
8605 $as_test_x conftest$ac_exeext; then
8606 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8607 else
8608 echo "$as_me: failed program was:" >&5
8609 sed 's/^/| /' conftest.$ac_ext >&5
8611 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8615 conftest$ac_exeext conftest.$ac_ext
8616 CFLAGS=$ac_wine_try_cflags_saved
8618 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8619 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8620 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8621 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8627 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8628 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8629 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 else
8632 ac_wine_try_cflags_saved=$CFLAGS
8633 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8634 cat >conftest.$ac_ext <<_ACEOF
8635 /* confdefs.h. */
8636 _ACEOF
8637 cat confdefs.h >>conftest.$ac_ext
8638 cat >>conftest.$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8642 main ()
8646 return 0;
8648 _ACEOF
8649 rm -f conftest.$ac_objext conftest$ac_exeext
8650 if { (ac_try="$ac_link"
8651 case "(($ac_try" in
8652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8653 *) ac_try_echo=$ac_try;;
8654 esac
8655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8656 (eval "$ac_link") 2>conftest.er1
8657 ac_status=$?
8658 grep -v '^ *+' conftest.er1 >conftest.err
8659 rm -f conftest.er1
8660 cat conftest.err >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); } && {
8663 test -z "$ac_c_werror_flag" ||
8664 test ! -s conftest.err
8665 } && test -s conftest$ac_exeext &&
8666 $as_test_x conftest$ac_exeext; then
8667 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8668 else
8669 echo "$as_me: failed program was:" >&5
8670 sed 's/^/| /' conftest.$ac_ext >&5
8672 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8676 conftest$ac_exeext conftest.$ac_ext
8677 CFLAGS=$ac_wine_try_cflags_saved
8679 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8680 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8681 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8682 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8686 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8687 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8688 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8690 else
8691 ac_wine_try_cflags_saved=$CFLAGS
8692 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8693 cat >conftest.$ac_ext <<_ACEOF
8694 /* confdefs.h. */
8695 _ACEOF
8696 cat confdefs.h >>conftest.$ac_ext
8697 cat >>conftest.$ac_ext <<_ACEOF
8698 /* end confdefs.h. */
8701 main ()
8705 return 0;
8707 _ACEOF
8708 rm -f conftest.$ac_objext conftest$ac_exeext
8709 if { (ac_try="$ac_link"
8710 case "(($ac_try" in
8711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8712 *) ac_try_echo=$ac_try;;
8713 esac
8714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8715 (eval "$ac_link") 2>conftest.er1
8716 ac_status=$?
8717 grep -v '^ *+' conftest.er1 >conftest.err
8718 rm -f conftest.er1
8719 cat conftest.err >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } && {
8722 test -z "$ac_c_werror_flag" ||
8723 test ! -s conftest.err
8724 } && test -s conftest$ac_exeext &&
8725 $as_test_x conftest$ac_exeext; then
8726 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8727 else
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5
8731 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8735 conftest$ac_exeext conftest.$ac_ext
8736 CFLAGS=$ac_wine_try_cflags_saved
8738 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8739 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8740 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8741 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8745 echo '{ global: *; };' >conftest.map
8746 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8747 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8748 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8749 echo $ECHO_N "(cached) $ECHO_C" >&6
8750 else
8751 ac_wine_try_cflags_saved=$CFLAGS
8752 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8753 cat >conftest.$ac_ext <<_ACEOF
8754 /* confdefs.h. */
8755 _ACEOF
8756 cat confdefs.h >>conftest.$ac_ext
8757 cat >>conftest.$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8761 main ()
8765 return 0;
8767 _ACEOF
8768 rm -f conftest.$ac_objext conftest$ac_exeext
8769 if { (ac_try="$ac_link"
8770 case "(($ac_try" in
8771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8772 *) ac_try_echo=$ac_try;;
8773 esac
8774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8775 (eval "$ac_link") 2>conftest.er1
8776 ac_status=$?
8777 grep -v '^ *+' conftest.er1 >conftest.err
8778 rm -f conftest.er1
8779 cat conftest.err >&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); } && {
8782 test -z "$ac_c_werror_flag" ||
8783 test ! -s conftest.err
8784 } && test -s conftest$ac_exeext &&
8785 $as_test_x conftest$ac_exeext; then
8786 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8787 else
8788 echo "$as_me: failed program was:" >&5
8789 sed 's/^/| /' conftest.$ac_ext >&5
8791 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8795 conftest$ac_exeext conftest.$ac_ext
8796 CFLAGS=$ac_wine_try_cflags_saved
8798 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8799 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8800 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8801 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8804 rm -f conftest.map
8806 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8807 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8808 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8809 echo $ECHO_N "(cached) $ECHO_C" >&6
8810 else
8811 ac_wine_try_cflags_saved=$CFLAGS
8812 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8813 cat >conftest.$ac_ext <<_ACEOF
8814 /* confdefs.h. */
8815 _ACEOF
8816 cat confdefs.h >>conftest.$ac_ext
8817 cat >>conftest.$ac_ext <<_ACEOF
8818 /* end confdefs.h. */
8821 main ()
8825 return 0;
8827 _ACEOF
8828 rm -f conftest.$ac_objext conftest$ac_exeext
8829 if { (ac_try="$ac_link"
8830 case "(($ac_try" in
8831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8832 *) ac_try_echo=$ac_try;;
8833 esac
8834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8835 (eval "$ac_link") 2>conftest.er1
8836 ac_status=$?
8837 grep -v '^ *+' conftest.er1 >conftest.err
8838 rm -f conftest.er1
8839 cat conftest.err >&5
8840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8841 (exit $ac_status); } && {
8842 test -z "$ac_c_werror_flag" ||
8843 test ! -s conftest.err
8844 } && test -s conftest$ac_exeext &&
8845 $as_test_x conftest$ac_exeext; then
8846 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8847 else
8848 echo "$as_me: failed program was:" >&5
8849 sed 's/^/| /' conftest.$ac_ext >&5
8851 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8855 conftest$ac_exeext conftest.$ac_ext
8856 CFLAGS=$ac_wine_try_cflags_saved
8858 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8859 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8860 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8861 LDEXECFLAGS="-Wl,--export-dynamic"
8866 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8867 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8868 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8869 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8870 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 else
8872 ac_wine_try_cflags_saved=$CFLAGS
8873 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8874 cat >conftest.$ac_ext <<_ACEOF
8875 /* confdefs.h. */
8876 _ACEOF
8877 cat confdefs.h >>conftest.$ac_ext
8878 cat >>conftest.$ac_ext <<_ACEOF
8879 /* end confdefs.h. */
8882 main ()
8886 return 0;
8888 _ACEOF
8889 rm -f conftest.$ac_objext conftest$ac_exeext
8890 if { (ac_try="$ac_link"
8891 case "(($ac_try" in
8892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8893 *) ac_try_echo=$ac_try;;
8894 esac
8895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8896 (eval "$ac_link") 2>conftest.er1
8897 ac_status=$?
8898 grep -v '^ *+' conftest.er1 >conftest.err
8899 rm -f conftest.er1
8900 cat conftest.err >&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } && {
8903 test -z "$ac_c_werror_flag" ||
8904 test ! -s conftest.err
8905 } && test -s conftest$ac_exeext &&
8906 $as_test_x conftest$ac_exeext; then
8907 eval "$as_ac_var=yes"
8908 else
8909 echo "$as_me: failed program was:" >&5
8910 sed 's/^/| /' conftest.$ac_ext >&5
8912 eval "$as_ac_var=no"
8915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8916 conftest$ac_exeext conftest.$ac_ext
8917 CFLAGS=$ac_wine_try_cflags_saved
8919 ac_res=`eval echo '${'$as_ac_var'}'`
8920 { echo "$as_me:$LINENO: result: $ac_res" >&5
8921 echo "${ECHO_T}$ac_res" >&6; }
8922 if test `eval echo '${'$as_ac_var'}'` = yes; then
8923 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8924 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8925 else
8926 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8927 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8928 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8929 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8930 echo $ECHO_N "(cached) $ECHO_C" >&6
8931 else
8932 ac_wine_try_cflags_saved=$CFLAGS
8933 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8934 cat >conftest.$ac_ext <<_ACEOF
8935 /* confdefs.h. */
8936 _ACEOF
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8942 main ()
8946 return 0;
8948 _ACEOF
8949 rm -f conftest.$ac_objext conftest$ac_exeext
8950 if { (ac_try="$ac_link"
8951 case "(($ac_try" in
8952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8953 *) ac_try_echo=$ac_try;;
8954 esac
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_link") 2>conftest.er1
8957 ac_status=$?
8958 grep -v '^ *+' conftest.er1 >conftest.err
8959 rm -f conftest.er1
8960 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } && {
8963 test -z "$ac_c_werror_flag" ||
8964 test ! -s conftest.err
8965 } && test -s conftest$ac_exeext &&
8966 $as_test_x conftest$ac_exeext; then
8967 eval "$as_ac_var=yes"
8968 else
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 eval "$as_ac_var=no"
8975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8976 conftest$ac_exeext conftest.$ac_ext
8977 CFLAGS=$ac_wine_try_cflags_saved
8979 ac_res=`eval echo '${'$as_ac_var'}'`
8980 { echo "$as_me:$LINENO: result: $ac_res" >&5
8981 echo "${ECHO_T}$ac_res" >&6; }
8982 if test `eval echo '${'$as_ac_var'}'` = yes; then
8983 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8984 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8990 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8991 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8992 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8994 else
8995 ac_wine_try_cflags_saved=$CFLAGS
8996 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8997 cat >conftest.$ac_ext <<_ACEOF
8998 /* confdefs.h. */
8999 _ACEOF
9000 cat confdefs.h >>conftest.$ac_ext
9001 cat >>conftest.$ac_ext <<_ACEOF
9002 /* end confdefs.h. */
9005 main ()
9009 return 0;
9011 _ACEOF
9012 rm -f conftest.$ac_objext conftest$ac_exeext
9013 if { (ac_try="$ac_link"
9014 case "(($ac_try" in
9015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9016 *) ac_try_echo=$ac_try;;
9017 esac
9018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9019 (eval "$ac_link") 2>conftest.er1
9020 ac_status=$?
9021 grep -v '^ *+' conftest.er1 >conftest.err
9022 rm -f conftest.er1
9023 cat conftest.err >&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); } && {
9026 test -z "$ac_c_werror_flag" ||
9027 test ! -s conftest.err
9028 } && test -s conftest$ac_exeext &&
9029 $as_test_x conftest$ac_exeext; then
9030 ac_cv_cflags__Wl___enable_new_dtags=yes
9031 else
9032 echo "$as_me: failed program was:" >&5
9033 sed 's/^/| /' conftest.$ac_ext >&5
9035 ac_cv_cflags__Wl___enable_new_dtags=no
9038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9039 conftest$ac_exeext conftest.$ac_ext
9040 CFLAGS=$ac_wine_try_cflags_saved
9042 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9043 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9044 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9045 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9049 case $host_cpu in
9050 *i[3456789]86* | x86_64)
9051 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9052 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9053 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9054 echo $ECHO_N "(cached) $ECHO_C" >&6
9055 else
9056 ac_wine_try_cflags_saved=$CFLAGS
9057 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9058 cat >conftest.$ac_ext <<_ACEOF
9059 /* confdefs.h. */
9060 _ACEOF
9061 cat confdefs.h >>conftest.$ac_ext
9062 cat >>conftest.$ac_ext <<_ACEOF
9063 /* end confdefs.h. */
9066 main ()
9070 return 0;
9072 _ACEOF
9073 rm -f conftest.$ac_objext conftest$ac_exeext
9074 if { (ac_try="$ac_link"
9075 case "(($ac_try" in
9076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9077 *) ac_try_echo=$ac_try;;
9078 esac
9079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9080 (eval "$ac_link") 2>conftest.er1
9081 ac_status=$?
9082 grep -v '^ *+' conftest.er1 >conftest.err
9083 rm -f conftest.er1
9084 cat conftest.err >&5
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); } && {
9087 test -z "$ac_c_werror_flag" ||
9088 test ! -s conftest.err
9089 } && test -s conftest$ac_exeext &&
9090 $as_test_x conftest$ac_exeext; then
9091 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9092 else
9093 echo "$as_me: failed program was:" >&5
9094 sed 's/^/| /' conftest.$ac_ext >&5
9096 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9100 conftest$ac_exeext conftest.$ac_ext
9101 CFLAGS=$ac_wine_try_cflags_saved
9103 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9104 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9105 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9106 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9110 esac
9112 else
9113 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9114 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9115 if test "${ac_cv_c_dll_unixware+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 else
9118 ac_wine_try_cflags_saved=$CFLAGS
9119 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9120 cat >conftest.$ac_ext <<_ACEOF
9121 void myfunc() {}
9122 _ACEOF
9123 rm -f conftest.$ac_objext conftest$ac_exeext
9124 if { (ac_try="$ac_link"
9125 case "(($ac_try" in
9126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9127 *) ac_try_echo=$ac_try;;
9128 esac
9129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9130 (eval "$ac_link") 2>conftest.er1
9131 ac_status=$?
9132 grep -v '^ *+' conftest.er1 >conftest.err
9133 rm -f conftest.er1
9134 cat conftest.err >&5
9135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136 (exit $ac_status); } && {
9137 test -z "$ac_c_werror_flag" ||
9138 test ! -s conftest.err
9139 } && test -s conftest$ac_exeext &&
9140 $as_test_x conftest$ac_exeext; then
9141 ac_cv_c_dll_unixware="yes"
9142 else
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.$ac_ext >&5
9146 ac_cv_c_dll_unixware="no"
9149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9150 conftest$ac_exeext conftest.$ac_ext
9151 CFLAGS=$ac_wine_try_cflags_saved
9153 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9154 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9155 if test "$ac_cv_c_dll_unixware" = "yes"
9156 then
9157 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9158 LDDLLFLAGS="-Wl,-G,-B,symbolic"
9160 else
9161 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9162 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9163 if test "${ac_cv_c_dll_hpux+set}" = set; then
9164 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 else
9166 ac_wine_try_cflags_saved=$CFLAGS
9167 CFLAGS="$CFLAGS -shared"
9168 cat >conftest.$ac_ext <<_ACEOF
9169 void myfunc() {}
9170 _ACEOF
9171 rm -f conftest.$ac_objext conftest$ac_exeext
9172 if { (ac_try="$ac_link"
9173 case "(($ac_try" in
9174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9175 *) ac_try_echo=$ac_try;;
9176 esac
9177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9178 (eval "$ac_link") 2>conftest.er1
9179 ac_status=$?
9180 grep -v '^ *+' conftest.er1 >conftest.err
9181 rm -f conftest.er1
9182 cat conftest.err >&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } && {
9185 test -z "$ac_c_werror_flag" ||
9186 test ! -s conftest.err
9187 } && test -s conftest$ac_exeext &&
9188 $as_test_x conftest$ac_exeext; then
9189 ac_cv_c_dll_hpux="yes"
9190 else
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.$ac_ext >&5
9194 ac_cv_c_dll_hpux="no"
9197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9198 conftest$ac_exeext conftest.$ac_ext
9199 CFLAGS=$ac_wine_try_cflags_saved
9201 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9202 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9203 if test "$ac_cv_c_dll_hpux" = "yes"
9204 then
9205 LIBEXT="sl"
9206 DLLEXT=".sl"
9207 LDDLLFLAGS="-shared -fPIC"
9208 LDSHARED="\$(CC) -shared"
9213 CROSSTEST=""
9215 if test "$cross_compiling" = "no"
9216 then
9217 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9219 # Extract the first word of "$ac_prog", so it can be a program name with args.
9220 set dummy $ac_prog; ac_word=$2
9221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9223 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9224 echo $ECHO_N "(cached) $ECHO_C" >&6
9225 else
9226 if test -n "$CROSSCC"; then
9227 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9228 else
9229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9230 for as_dir in $PATH
9232 IFS=$as_save_IFS
9233 test -z "$as_dir" && as_dir=.
9234 for ac_exec_ext in '' $ac_executable_extensions; do
9235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9236 ac_cv_prog_CROSSCC="$ac_prog"
9237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9238 break 2
9240 done
9241 done
9242 IFS=$as_save_IFS
9246 CROSSCC=$ac_cv_prog_CROSSCC
9247 if test -n "$CROSSCC"; then
9248 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9249 echo "${ECHO_T}$CROSSCC" >&6; }
9250 else
9251 { echo "$as_me:$LINENO: result: no" >&5
9252 echo "${ECHO_T}no" >&6; }
9256 test -n "$CROSSCC" && break
9257 done
9258 test -n "$CROSSCC" || CROSSCC="false"
9260 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9262 # Extract the first word of "$ac_prog", so it can be a program name with args.
9263 set dummy $ac_prog; ac_word=$2
9264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9266 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 else
9269 if test -n "$DLLTOOL"; then
9270 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9271 else
9272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9273 for as_dir in $PATH
9275 IFS=$as_save_IFS
9276 test -z "$as_dir" && as_dir=.
9277 for ac_exec_ext in '' $ac_executable_extensions; do
9278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9279 ac_cv_prog_DLLTOOL="$ac_prog"
9280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9281 break 2
9283 done
9284 done
9285 IFS=$as_save_IFS
9289 DLLTOOL=$ac_cv_prog_DLLTOOL
9290 if test -n "$DLLTOOL"; then
9291 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9292 echo "${ECHO_T}$DLLTOOL" >&6; }
9293 else
9294 { echo "$as_me:$LINENO: result: no" >&5
9295 echo "${ECHO_T}no" >&6; }
9299 test -n "$DLLTOOL" && break
9300 done
9301 test -n "$DLLTOOL" || DLLTOOL="false"
9303 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9305 # Extract the first word of "$ac_prog", so it can be a program name with args.
9306 set dummy $ac_prog; ac_word=$2
9307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9309 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6
9311 else
9312 if test -n "$CROSSWINDRES"; then
9313 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9314 else
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9316 for as_dir in $PATH
9318 IFS=$as_save_IFS
9319 test -z "$as_dir" && as_dir=.
9320 for ac_exec_ext in '' $ac_executable_extensions; do
9321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9322 ac_cv_prog_CROSSWINDRES="$ac_prog"
9323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9324 break 2
9326 done
9327 done
9328 IFS=$as_save_IFS
9332 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9333 if test -n "$CROSSWINDRES"; then
9334 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9335 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9336 else
9337 { echo "$as_me:$LINENO: result: no" >&5
9338 echo "${ECHO_T}no" >&6; }
9342 test -n "$CROSSWINDRES" && break
9343 done
9344 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9346 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9348 # Extract the first word of "$ac_prog", so it can be a program name with args.
9349 set dummy $ac_prog; ac_word=$2
9350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9352 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9353 echo $ECHO_N "(cached) $ECHO_C" >&6
9354 else
9355 if test -n "$MINGWAR"; then
9356 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9357 else
9358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9359 for as_dir in $PATH
9361 IFS=$as_save_IFS
9362 test -z "$as_dir" && as_dir=.
9363 for ac_exec_ext in '' $ac_executable_extensions; do
9364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9365 ac_cv_prog_MINGWAR="$ac_prog"
9366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9367 break 2
9369 done
9370 done
9371 IFS=$as_save_IFS
9375 MINGWAR=$ac_cv_prog_MINGWAR
9376 if test -n "$MINGWAR"; then
9377 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9378 echo "${ECHO_T}$MINGWAR" >&6; }
9379 else
9380 { echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6; }
9385 test -n "$MINGWAR" && break
9386 done
9387 test -n "$MINGWAR" || MINGWAR="false"
9389 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9392 esac
9394 if test "$LIBEXT" = "a"; then
9395 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9396 It is currently not possible to build Wine without shared library
9397 (.so) support to allow transparent switch between .so and .dll files.
9398 If you are using Linux, you will need a newer binutils.
9399 " >&5
9400 echo "$as_me: error: could not find a way to build shared libraries.
9401 It is currently not possible to build Wine without shared library
9402 (.so) support to allow transparent switch between .so and .dll files.
9403 If you are using Linux, you will need a newer binutils.
9404 " >&2;}
9405 { (exit 1); exit 1; }; }
9409 if test "$have_x" = "yes"
9410 then
9411 XLIB="-lXext -lX11"
9412 ac_save_CPPFLAGS="$CPPFLAGS"
9413 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9415 { echo "$as_me:$LINENO: checking for -lX11" >&5
9416 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9417 if test "${ac_cv_lib_soname_X11+set}" = set; then
9418 echo $ECHO_N "(cached) $ECHO_C" >&6
9419 else
9420 ac_check_soname_save_LIBS=$LIBS
9421 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9422 cat >conftest.$ac_ext <<_ACEOF
9423 /* confdefs.h. */
9424 _ACEOF
9425 cat confdefs.h >>conftest.$ac_ext
9426 cat >>conftest.$ac_ext <<_ACEOF
9427 /* end confdefs.h. */
9429 /* Override any GCC internal prototype to avoid an error.
9430 Use char because int might match the return type of a GCC
9431 builtin and then its argument prototype would still apply. */
9432 #ifdef __cplusplus
9433 extern "C"
9434 #endif
9435 char XCreateWindow ();
9437 main ()
9439 return XCreateWindow ();
9441 return 0;
9443 _ACEOF
9444 rm -f conftest.$ac_objext conftest$ac_exeext
9445 if { (ac_try="$ac_link"
9446 case "(($ac_try" in
9447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9448 *) ac_try_echo=$ac_try;;
9449 esac
9450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9451 (eval "$ac_link") 2>conftest.er1
9452 ac_status=$?
9453 grep -v '^ *+' conftest.er1 >conftest.err
9454 rm -f conftest.er1
9455 cat conftest.err >&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } && {
9458 test -z "$ac_c_werror_flag" ||
9459 test ! -s conftest.err
9460 } && test -s conftest$ac_exeext &&
9461 $as_test_x conftest$ac_exeext; then
9462 case "$LIBEXT" in
9463 dll) ;;
9464 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'` ;;
9465 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9466 esac
9467 else
9468 echo "$as_me: failed program was:" >&5
9469 sed 's/^/| /' conftest.$ac_ext >&5
9474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9475 conftest$ac_exeext conftest.$ac_ext
9476 LIBS=$ac_check_soname_save_LIBS
9478 if test "x$ac_cv_lib_soname_X11" = "x"; then
9479 { echo "$as_me:$LINENO: result: not found" >&5
9480 echo "${ECHO_T}not found" >&6; }
9482 else
9483 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9484 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9486 cat >>confdefs.h <<_ACEOF
9487 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9488 _ACEOF
9493 { echo "$as_me:$LINENO: checking for -lXext" >&5
9494 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9495 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 else
9498 ac_check_soname_save_LIBS=$LIBS
9499 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h. */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9510 #ifdef __cplusplus
9511 extern "C"
9512 #endif
9513 char XextCreateExtension ();
9515 main ()
9517 return XextCreateExtension ();
9519 return 0;
9521 _ACEOF
9522 rm -f conftest.$ac_objext conftest$ac_exeext
9523 if { (ac_try="$ac_link"
9524 case "(($ac_try" in
9525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9526 *) ac_try_echo=$ac_try;;
9527 esac
9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9529 (eval "$ac_link") 2>conftest.er1
9530 ac_status=$?
9531 grep -v '^ *+' conftest.er1 >conftest.err
9532 rm -f conftest.er1
9533 cat conftest.err >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } && {
9536 test -z "$ac_c_werror_flag" ||
9537 test ! -s conftest.err
9538 } && test -s conftest$ac_exeext &&
9539 $as_test_x conftest$ac_exeext; then
9540 case "$LIBEXT" in
9541 dll) ;;
9542 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'` ;;
9543 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9544 esac
9545 else
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9553 conftest$ac_exeext conftest.$ac_ext
9554 LIBS=$ac_check_soname_save_LIBS
9556 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9557 { echo "$as_me:$LINENO: result: not found" >&5
9558 echo "${ECHO_T}not found" >&6; }
9560 else
9561 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9562 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9564 cat >>confdefs.h <<_ACEOF
9565 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9566 _ACEOF
9584 for ac_header in X11/Xlib.h \
9585 X11/XKBlib.h \
9586 X11/Xutil.h \
9587 X11/Xcursor/Xcursor.h \
9588 X11/extensions/shape.h \
9589 X11/extensions/XInput.h \
9590 X11/extensions/XShm.h \
9591 X11/extensions/Xcomposite.h \
9592 X11/extensions/Xinerama.h \
9593 X11/extensions/Xrandr.h \
9594 X11/extensions/Xrender.h \
9595 X11/extensions/xf86vmode.h
9597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9601 echo $ECHO_N "(cached) $ECHO_C" >&6
9602 else
9603 cat >conftest.$ac_ext <<_ACEOF
9604 /* confdefs.h. */
9605 _ACEOF
9606 cat confdefs.h >>conftest.$ac_ext
9607 cat >>conftest.$ac_ext <<_ACEOF
9608 /* end confdefs.h. */
9609 #ifdef HAVE_X11_XLIB_H
9610 # include <X11/Xlib.h>
9611 #endif
9612 #ifdef HAVE_X11_XUTIL_H
9613 # include <X11/Xutil.h>
9614 #endif
9616 #include <$ac_header>
9617 _ACEOF
9618 rm -f conftest.$ac_objext
9619 if { (ac_try="$ac_compile"
9620 case "(($ac_try" in
9621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9622 *) ac_try_echo=$ac_try;;
9623 esac
9624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9625 (eval "$ac_compile") 2>conftest.er1
9626 ac_status=$?
9627 grep -v '^ *+' conftest.er1 >conftest.err
9628 rm -f conftest.er1
9629 cat conftest.err >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 (exit $ac_status); } && {
9632 test -z "$ac_c_werror_flag" ||
9633 test ! -s conftest.err
9634 } && test -s conftest.$ac_objext; then
9635 eval "$as_ac_Header=yes"
9636 else
9637 echo "$as_me: failed program was:" >&5
9638 sed 's/^/| /' conftest.$ac_ext >&5
9640 eval "$as_ac_Header=no"
9643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9645 ac_res=`eval echo '${'$as_ac_Header'}'`
9646 { echo "$as_me:$LINENO: result: $ac_res" >&5
9647 echo "${ECHO_T}$ac_res" >&6; }
9648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9649 cat >>confdefs.h <<_ACEOF
9650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9651 _ACEOF
9655 done
9658 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9659 then
9660 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9661 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9662 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9663 echo $ECHO_N "(cached) $ECHO_C" >&6
9664 else
9665 ac_check_lib_save_LIBS=$LIBS
9666 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9667 cat >conftest.$ac_ext <<_ACEOF
9668 /* confdefs.h. */
9669 _ACEOF
9670 cat confdefs.h >>conftest.$ac_ext
9671 cat >>conftest.$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9677 #ifdef __cplusplus
9678 extern "C"
9679 #endif
9680 char XkbQueryExtension ();
9682 main ()
9684 return XkbQueryExtension ();
9686 return 0;
9688 _ACEOF
9689 rm -f conftest.$ac_objext conftest$ac_exeext
9690 if { (ac_try="$ac_link"
9691 case "(($ac_try" in
9692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9693 *) ac_try_echo=$ac_try;;
9694 esac
9695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9696 (eval "$ac_link") 2>conftest.er1
9697 ac_status=$?
9698 grep -v '^ *+' conftest.er1 >conftest.err
9699 rm -f conftest.er1
9700 cat conftest.err >&5
9701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702 (exit $ac_status); } && {
9703 test -z "$ac_c_werror_flag" ||
9704 test ! -s conftest.err
9705 } && test -s conftest$ac_exeext &&
9706 $as_test_x conftest$ac_exeext; then
9707 ac_cv_lib_X11_XkbQueryExtension=yes
9708 else
9709 echo "$as_me: failed program was:" >&5
9710 sed 's/^/| /' conftest.$ac_ext >&5
9712 ac_cv_lib_X11_XkbQueryExtension=no
9715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_lib_save_LIBS
9719 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9720 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9721 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9723 cat >>confdefs.h <<\_ACEOF
9724 #define HAVE_XKB 1
9725 _ACEOF
9731 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9732 then
9733 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9734 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9735 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9737 else
9738 ac_check_soname_save_LIBS=$LIBS
9739 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9740 cat >conftest.$ac_ext <<_ACEOF
9741 /* confdefs.h. */
9742 _ACEOF
9743 cat confdefs.h >>conftest.$ac_ext
9744 cat >>conftest.$ac_ext <<_ACEOF
9745 /* end confdefs.h. */
9747 /* Override any GCC internal prototype to avoid an error.
9748 Use char because int might match the return type of a GCC
9749 builtin and then its argument prototype would still apply. */
9750 #ifdef __cplusplus
9751 extern "C"
9752 #endif
9753 char XcursorImageLoadCursor ();
9755 main ()
9757 return XcursorImageLoadCursor ();
9759 return 0;
9761 _ACEOF
9762 rm -f conftest.$ac_objext conftest$ac_exeext
9763 if { (ac_try="$ac_link"
9764 case "(($ac_try" in
9765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9766 *) ac_try_echo=$ac_try;;
9767 esac
9768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9769 (eval "$ac_link") 2>conftest.er1
9770 ac_status=$?
9771 grep -v '^ *+' conftest.er1 >conftest.err
9772 rm -f conftest.er1
9773 cat conftest.err >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); } && {
9776 test -z "$ac_c_werror_flag" ||
9777 test ! -s conftest.err
9778 } && test -s conftest$ac_exeext &&
9779 $as_test_x conftest$ac_exeext; then
9780 case "$LIBEXT" in
9781 dll) ;;
9782 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'` ;;
9783 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9784 esac
9785 else
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.$ac_ext >&5
9792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9793 conftest$ac_exeext conftest.$ac_ext
9794 LIBS=$ac_check_soname_save_LIBS
9796 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9797 { echo "$as_me:$LINENO: result: not found" >&5
9798 echo "${ECHO_T}not found" >&6; }
9800 else
9801 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9802 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9804 cat >>confdefs.h <<_ACEOF
9805 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9806 _ACEOF
9812 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9813 case "x$with_xcursor" in
9814 x) wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9815 xno) ;;
9816 *) { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9817 This is an error since --with-xcursor was requested." >&5
9818 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9819 This is an error since --with-xcursor was requested." >&2;}
9820 { (exit 1); exit 1; }; } ;;
9821 esac
9825 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9826 then
9827 { echo "$as_me:$LINENO: checking for -lXi" >&5
9828 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9829 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9830 echo $ECHO_N "(cached) $ECHO_C" >&6
9831 else
9832 ac_check_soname_save_LIBS=$LIBS
9833 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9834 cat >conftest.$ac_ext <<_ACEOF
9835 /* confdefs.h. */
9836 _ACEOF
9837 cat confdefs.h >>conftest.$ac_ext
9838 cat >>conftest.$ac_ext <<_ACEOF
9839 /* end confdefs.h. */
9841 /* Override any GCC internal prototype to avoid an error.
9842 Use char because int might match the return type of a GCC
9843 builtin and then its argument prototype would still apply. */
9844 #ifdef __cplusplus
9845 extern "C"
9846 #endif
9847 char XOpenDevice ();
9849 main ()
9851 return XOpenDevice ();
9853 return 0;
9855 _ACEOF
9856 rm -f conftest.$ac_objext conftest$ac_exeext
9857 if { (ac_try="$ac_link"
9858 case "(($ac_try" in
9859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9860 *) ac_try_echo=$ac_try;;
9861 esac
9862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9863 (eval "$ac_link") 2>conftest.er1
9864 ac_status=$?
9865 grep -v '^ *+' conftest.er1 >conftest.err
9866 rm -f conftest.er1
9867 cat conftest.err >&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } && {
9870 test -z "$ac_c_werror_flag" ||
9871 test ! -s conftest.err
9872 } && test -s conftest$ac_exeext &&
9873 $as_test_x conftest$ac_exeext; then
9874 case "$LIBEXT" in
9875 dll) ;;
9876 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'` ;;
9877 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9878 esac
9879 else
9880 echo "$as_me: failed program was:" >&5
9881 sed 's/^/| /' conftest.$ac_ext >&5
9886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LIBS=$ac_check_soname_save_LIBS
9890 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9891 { echo "$as_me:$LINENO: result: not found" >&5
9892 echo "${ECHO_T}not found" >&6; }
9894 else
9895 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9896 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9898 cat >>confdefs.h <<_ACEOF
9899 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9900 _ACEOF
9906 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9907 case "x$with_xinput" in
9908 x) wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9909 xno) ;;
9910 *) { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9911 This is an error since --with-xinput was requested." >&5
9912 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9913 This is an error since --with-xinput was requested." >&2;}
9914 { (exit 1); exit 1; }; } ;;
9915 esac
9919 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9920 then
9921 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9922 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9923 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9924 echo $ECHO_N "(cached) $ECHO_C" >&6
9925 else
9926 ac_check_lib_save_LIBS=$LIBS
9927 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9928 cat >conftest.$ac_ext <<_ACEOF
9929 /* confdefs.h. */
9930 _ACEOF
9931 cat confdefs.h >>conftest.$ac_ext
9932 cat >>conftest.$ac_ext <<_ACEOF
9933 /* end confdefs.h. */
9935 /* Override any GCC internal prototype to avoid an error.
9936 Use char because int might match the return type of a GCC
9937 builtin and then its argument prototype would still apply. */
9938 #ifdef __cplusplus
9939 extern "C"
9940 #endif
9941 char XShmQueryExtension ();
9943 main ()
9945 return XShmQueryExtension ();
9947 return 0;
9949 _ACEOF
9950 rm -f conftest.$ac_objext conftest$ac_exeext
9951 if { (ac_try="$ac_link"
9952 case "(($ac_try" in
9953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9954 *) ac_try_echo=$ac_try;;
9955 esac
9956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9957 (eval "$ac_link") 2>conftest.er1
9958 ac_status=$?
9959 grep -v '^ *+' conftest.er1 >conftest.err
9960 rm -f conftest.er1
9961 cat conftest.err >&5
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); } && {
9964 test -z "$ac_c_werror_flag" ||
9965 test ! -s conftest.err
9966 } && test -s conftest$ac_exeext &&
9967 $as_test_x conftest$ac_exeext; then
9968 ac_cv_lib_Xext_XShmQueryExtension=yes
9969 else
9970 echo "$as_me: failed program was:" >&5
9971 sed 's/^/| /' conftest.$ac_ext >&5
9973 ac_cv_lib_Xext_XShmQueryExtension=no
9976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9977 conftest$ac_exeext conftest.$ac_ext
9978 LIBS=$ac_check_lib_save_LIBS
9980 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9981 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9982 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9984 cat >>confdefs.h <<\_ACEOF
9985 #define HAVE_LIBXXSHM 1
9986 _ACEOF
9991 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9992 case "x$with_xshm" in
9993 x) wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9994 xno) ;;
9995 *) { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9996 This is an error since --with-xshm was requested." >&5
9997 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9998 This is an error since --with-xshm was requested." >&2;}
9999 { (exit 1); exit 1; }; } ;;
10000 esac
10004 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10005 then
10006 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10007 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10008 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011 ac_check_lib_save_LIBS=$LIBS
10012 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10013 cat >conftest.$ac_ext <<_ACEOF
10014 /* confdefs.h. */
10015 _ACEOF
10016 cat confdefs.h >>conftest.$ac_ext
10017 cat >>conftest.$ac_ext <<_ACEOF
10018 /* end confdefs.h. */
10020 /* Override any GCC internal prototype to avoid an error.
10021 Use char because int might match the return type of a GCC
10022 builtin and then its argument prototype would still apply. */
10023 #ifdef __cplusplus
10024 extern "C"
10025 #endif
10026 char XShapeQueryExtension ();
10028 main ()
10030 return XShapeQueryExtension ();
10032 return 0;
10034 _ACEOF
10035 rm -f conftest.$ac_objext conftest$ac_exeext
10036 if { (ac_try="$ac_link"
10037 case "(($ac_try" in
10038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10039 *) ac_try_echo=$ac_try;;
10040 esac
10041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10042 (eval "$ac_link") 2>conftest.er1
10043 ac_status=$?
10044 grep -v '^ *+' conftest.er1 >conftest.err
10045 rm -f conftest.er1
10046 cat conftest.err >&5
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); } && {
10049 test -z "$ac_c_werror_flag" ||
10050 test ! -s conftest.err
10051 } && test -s conftest$ac_exeext &&
10052 $as_test_x conftest$ac_exeext; then
10053 ac_cv_lib_Xext_XShapeQueryExtension=yes
10054 else
10055 echo "$as_me: failed program was:" >&5
10056 sed 's/^/| /' conftest.$ac_ext >&5
10058 ac_cv_lib_Xext_XShapeQueryExtension=no
10061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10062 conftest$ac_exeext conftest.$ac_ext
10063 LIBS=$ac_check_lib_save_LIBS
10065 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10066 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10067 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10069 cat >>confdefs.h <<\_ACEOF
10070 #define HAVE_LIBXSHAPE 1
10071 _ACEOF
10076 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10077 case "x$with_xshape" in
10078 x) wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10079 xno) ;;
10080 *) { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10081 This is an error since --with-xshape was requested." >&5
10082 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10083 This is an error since --with-xshape was requested." >&2;}
10084 { (exit 1); exit 1; }; } ;;
10085 esac
10089 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10090 then
10091 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10092 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10093 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 else
10096 ac_check_lib_save_LIBS=$LIBS
10097 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10098 cat >conftest.$ac_ext <<_ACEOF
10099 /* confdefs.h. */
10100 _ACEOF
10101 cat confdefs.h >>conftest.$ac_ext
10102 cat >>conftest.$ac_ext <<_ACEOF
10103 /* end confdefs.h. */
10105 /* Override any GCC internal prototype to avoid an error.
10106 Use char because int might match the return type of a GCC
10107 builtin and then its argument prototype would still apply. */
10108 #ifdef __cplusplus
10109 extern "C"
10110 #endif
10111 char XF86VidModeQueryExtension ();
10113 main ()
10115 return XF86VidModeQueryExtension ();
10117 return 0;
10119 _ACEOF
10120 rm -f conftest.$ac_objext conftest$ac_exeext
10121 if { (ac_try="$ac_link"
10122 case "(($ac_try" in
10123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10124 *) ac_try_echo=$ac_try;;
10125 esac
10126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10127 (eval "$ac_link") 2>conftest.er1
10128 ac_status=$?
10129 grep -v '^ *+' conftest.er1 >conftest.err
10130 rm -f conftest.er1
10131 cat conftest.err >&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); } && {
10134 test -z "$ac_c_werror_flag" ||
10135 test ! -s conftest.err
10136 } && test -s conftest$ac_exeext &&
10137 $as_test_x conftest$ac_exeext; then
10138 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10139 else
10140 echo "$as_me: failed program was:" >&5
10141 sed 's/^/| /' conftest.$ac_ext >&5
10143 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10147 conftest$ac_exeext conftest.$ac_ext
10148 LIBS=$ac_check_lib_save_LIBS
10150 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10151 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10152 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10154 cat >>confdefs.h <<\_ACEOF
10155 #define HAVE_LIBXXF86VM 1
10156 _ACEOF
10158 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10163 if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10164 case "x$with_xvidmode" in
10165 x) wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10166 xno) ;;
10167 *) { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10168 This is an error since --with-xvidmode was requested." >&5
10169 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10170 This is an error since --with-xvidmode was requested." >&2;}
10171 { (exit 1); exit 1; }; } ;;
10172 esac
10176 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"
10177 then
10178 { echo "$as_me:$LINENO: checking for -lXrender" >&5
10179 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10180 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 else
10183 ac_check_soname_save_LIBS=$LIBS
10184 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10185 cat >conftest.$ac_ext <<_ACEOF
10186 /* confdefs.h. */
10187 _ACEOF
10188 cat confdefs.h >>conftest.$ac_ext
10189 cat >>conftest.$ac_ext <<_ACEOF
10190 /* end confdefs.h. */
10192 /* Override any GCC internal prototype to avoid an error.
10193 Use char because int might match the return type of a GCC
10194 builtin and then its argument prototype would still apply. */
10195 #ifdef __cplusplus
10196 extern "C"
10197 #endif
10198 char XRenderQueryExtension ();
10200 main ()
10202 return XRenderQueryExtension ();
10204 return 0;
10206 _ACEOF
10207 rm -f conftest.$ac_objext conftest$ac_exeext
10208 if { (ac_try="$ac_link"
10209 case "(($ac_try" in
10210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10211 *) ac_try_echo=$ac_try;;
10212 esac
10213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10214 (eval "$ac_link") 2>conftest.er1
10215 ac_status=$?
10216 grep -v '^ *+' conftest.er1 >conftest.err
10217 rm -f conftest.er1
10218 cat conftest.err >&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } && {
10221 test -z "$ac_c_werror_flag" ||
10222 test ! -s conftest.err
10223 } && test -s conftest$ac_exeext &&
10224 $as_test_x conftest$ac_exeext; then
10225 case "$LIBEXT" in
10226 dll) ;;
10227 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'` ;;
10228 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10229 esac
10230 else
10231 echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.$ac_ext >&5
10237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_soname_save_LIBS
10241 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10242 { echo "$as_me:$LINENO: result: not found" >&5
10243 echo "${ECHO_T}not found" >&6; }
10245 else
10246 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10247 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10249 cat >>confdefs.h <<_ACEOF
10250 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10251 _ACEOF
10253 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10254 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10255 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10257 else
10258 ac_check_lib_save_LIBS=$LIBS
10259 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10260 cat >conftest.$ac_ext <<_ACEOF
10261 /* confdefs.h. */
10262 _ACEOF
10263 cat confdefs.h >>conftest.$ac_ext
10264 cat >>conftest.$ac_ext <<_ACEOF
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 char XRenderSetPictureTransform ();
10275 main ()
10277 return XRenderSetPictureTransform ();
10279 return 0;
10281 _ACEOF
10282 rm -f conftest.$ac_objext conftest$ac_exeext
10283 if { (ac_try="$ac_link"
10284 case "(($ac_try" in
10285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10286 *) ac_try_echo=$ac_try;;
10287 esac
10288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10289 (eval "$ac_link") 2>conftest.er1
10290 ac_status=$?
10291 grep -v '^ *+' conftest.er1 >conftest.err
10292 rm -f conftest.er1
10293 cat conftest.err >&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); } && {
10296 test -z "$ac_c_werror_flag" ||
10297 test ! -s conftest.err
10298 } && test -s conftest$ac_exeext &&
10299 $as_test_x conftest$ac_exeext; then
10300 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10301 else
10302 echo "$as_me: failed program was:" >&5
10303 sed 's/^/| /' conftest.$ac_ext >&5
10305 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10309 conftest$ac_exeext conftest.$ac_ext
10310 LIBS=$ac_check_lib_save_LIBS
10312 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10313 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10314 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10316 cat >>confdefs.h <<\_ACEOF
10317 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10318 _ACEOF
10326 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10327 case "x$with_xrender" in
10328 x) wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10329 xno) ;;
10330 *) { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10331 This is an error since --with-xrender was requested." >&5
10332 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10333 This is an error since --with-xrender was requested." >&2;}
10334 { (exit 1); exit 1; }; } ;;
10335 esac
10339 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10340 then
10341 cat >conftest.$ac_ext <<_ACEOF
10342 /* confdefs.h. */
10343 _ACEOF
10344 cat confdefs.h >>conftest.$ac_ext
10345 cat >>conftest.$ac_ext <<_ACEOF
10346 /* end confdefs.h. */
10347 #include <X11/Xlib.h>
10348 #include <X11/extensions/Xrandr.h>
10350 main ()
10352 static typeof(XRRSetScreenConfigAndRate) * func;
10354 return 0;
10356 _ACEOF
10357 rm -f conftest.$ac_objext
10358 if { (ac_try="$ac_compile"
10359 case "(($ac_try" in
10360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10361 *) ac_try_echo=$ac_try;;
10362 esac
10363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10364 (eval "$ac_compile") 2>conftest.er1
10365 ac_status=$?
10366 grep -v '^ *+' conftest.er1 >conftest.err
10367 rm -f conftest.er1
10368 cat conftest.err >&5
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); } && {
10371 test -z "$ac_c_werror_flag" ||
10372 test ! -s conftest.err
10373 } && test -s conftest.$ac_objext; then
10374 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10375 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10376 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10377 echo $ECHO_N "(cached) $ECHO_C" >&6
10378 else
10379 ac_check_soname_save_LIBS=$LIBS
10380 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10381 cat >conftest.$ac_ext <<_ACEOF
10382 /* confdefs.h. */
10383 _ACEOF
10384 cat confdefs.h >>conftest.$ac_ext
10385 cat >>conftest.$ac_ext <<_ACEOF
10386 /* end confdefs.h. */
10388 /* Override any GCC internal prototype to avoid an error.
10389 Use char because int might match the return type of a GCC
10390 builtin and then its argument prototype would still apply. */
10391 #ifdef __cplusplus
10392 extern "C"
10393 #endif
10394 char XRRQueryExtension ();
10396 main ()
10398 return XRRQueryExtension ();
10400 return 0;
10402 _ACEOF
10403 rm -f conftest.$ac_objext conftest$ac_exeext
10404 if { (ac_try="$ac_link"
10405 case "(($ac_try" in
10406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10407 *) ac_try_echo=$ac_try;;
10408 esac
10409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10410 (eval "$ac_link") 2>conftest.er1
10411 ac_status=$?
10412 grep -v '^ *+' conftest.er1 >conftest.err
10413 rm -f conftest.er1
10414 cat conftest.err >&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); } && {
10417 test -z "$ac_c_werror_flag" ||
10418 test ! -s conftest.err
10419 } && test -s conftest$ac_exeext &&
10420 $as_test_x conftest$ac_exeext; then
10421 case "$LIBEXT" in
10422 dll) ;;
10423 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'` ;;
10424 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10425 esac
10426 else
10427 echo "$as_me: failed program was:" >&5
10428 sed 's/^/| /' conftest.$ac_ext >&5
10433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10434 conftest$ac_exeext conftest.$ac_ext
10435 LIBS=$ac_check_soname_save_LIBS
10437 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10438 { echo "$as_me:$LINENO: result: not found" >&5
10439 echo "${ECHO_T}not found" >&6; }
10441 else
10442 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10443 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10445 cat >>confdefs.h <<_ACEOF
10446 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10447 _ACEOF
10452 else
10453 echo "$as_me: failed program was:" >&5
10454 sed 's/^/| /' conftest.$ac_ext >&5
10459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10461 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10462 case "x$with_xrandr" in
10463 x) wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10464 xno) ;;
10465 *) { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10466 This is an error since --with-xrandr was requested." >&5
10467 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10468 This is an error since --with-xrandr was requested." >&2;}
10469 { (exit 1); exit 1; }; } ;;
10470 esac
10474 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10475 then
10476 cat >conftest.$ac_ext <<_ACEOF
10477 /* confdefs.h. */
10478 _ACEOF
10479 cat confdefs.h >>conftest.$ac_ext
10480 cat >>conftest.$ac_ext <<_ACEOF
10481 /* end confdefs.h. */
10482 #include <X11/Xlib.h>
10483 #include <X11/extensions/Xinerama.h>
10485 main ()
10487 static typeof(XineramaQueryScreens) * func;
10489 return 0;
10491 _ACEOF
10492 rm -f conftest.$ac_objext
10493 if { (ac_try="$ac_compile"
10494 case "(($ac_try" in
10495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10496 *) ac_try_echo=$ac_try;;
10497 esac
10498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10499 (eval "$ac_compile") 2>conftest.er1
10500 ac_status=$?
10501 grep -v '^ *+' conftest.er1 >conftest.err
10502 rm -f conftest.er1
10503 cat conftest.err >&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } && {
10506 test -z "$ac_c_werror_flag" ||
10507 test ! -s conftest.err
10508 } && test -s conftest.$ac_objext; then
10509 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10510 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10511 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 else
10514 ac_check_soname_save_LIBS=$LIBS
10515 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10516 cat >conftest.$ac_ext <<_ACEOF
10517 /* confdefs.h. */
10518 _ACEOF
10519 cat confdefs.h >>conftest.$ac_ext
10520 cat >>conftest.$ac_ext <<_ACEOF
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 #ifdef __cplusplus
10527 extern "C"
10528 #endif
10529 char XineramaQueryScreens ();
10531 main ()
10533 return XineramaQueryScreens ();
10535 return 0;
10537 _ACEOF
10538 rm -f conftest.$ac_objext conftest$ac_exeext
10539 if { (ac_try="$ac_link"
10540 case "(($ac_try" in
10541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10542 *) ac_try_echo=$ac_try;;
10543 esac
10544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10545 (eval "$ac_link") 2>conftest.er1
10546 ac_status=$?
10547 grep -v '^ *+' conftest.er1 >conftest.err
10548 rm -f conftest.er1
10549 cat conftest.err >&5
10550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551 (exit $ac_status); } && {
10552 test -z "$ac_c_werror_flag" ||
10553 test ! -s conftest.err
10554 } && test -s conftest$ac_exeext &&
10555 $as_test_x conftest$ac_exeext; then
10556 case "$LIBEXT" in
10557 dll) ;;
10558 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'` ;;
10559 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10560 esac
10561 else
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_soname_save_LIBS
10572 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10573 { echo "$as_me:$LINENO: result: not found" >&5
10574 echo "${ECHO_T}not found" >&6; }
10576 else
10577 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10578 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10580 cat >>confdefs.h <<_ACEOF
10581 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10582 _ACEOF
10587 else
10588 echo "$as_me: failed program was:" >&5
10589 sed 's/^/| /' conftest.$ac_ext >&5
10594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10596 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10597 case "x$with_xinerama" in
10598 x) wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10599 xno) ;;
10600 *) { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10601 This is an error since --with-xinerama was requested." >&5
10602 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10603 This is an error since --with-xinerama was requested." >&2;}
10604 { (exit 1); exit 1; }; } ;;
10605 esac
10609 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10610 then
10611 { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10612 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10613 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10614 echo $ECHO_N "(cached) $ECHO_C" >&6
10615 else
10616 ac_check_soname_save_LIBS=$LIBS
10617 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10618 cat >conftest.$ac_ext <<_ACEOF
10619 /* confdefs.h. */
10620 _ACEOF
10621 cat confdefs.h >>conftest.$ac_ext
10622 cat >>conftest.$ac_ext <<_ACEOF
10623 /* end confdefs.h. */
10625 /* Override any GCC internal prototype to avoid an error.
10626 Use char because int might match the return type of a GCC
10627 builtin and then its argument prototype would still apply. */
10628 #ifdef __cplusplus
10629 extern "C"
10630 #endif
10631 char XCompositeRedirectWindow ();
10633 main ()
10635 return XCompositeRedirectWindow ();
10637 return 0;
10639 _ACEOF
10640 rm -f conftest.$ac_objext conftest$ac_exeext
10641 if { (ac_try="$ac_link"
10642 case "(($ac_try" in
10643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10644 *) ac_try_echo=$ac_try;;
10645 esac
10646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10647 (eval "$ac_link") 2>conftest.er1
10648 ac_status=$?
10649 grep -v '^ *+' conftest.er1 >conftest.err
10650 rm -f conftest.er1
10651 cat conftest.err >&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); } && {
10654 test -z "$ac_c_werror_flag" ||
10655 test ! -s conftest.err
10656 } && test -s conftest$ac_exeext &&
10657 $as_test_x conftest$ac_exeext; then
10658 case "$LIBEXT" in
10659 dll) ;;
10660 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'` ;;
10661 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10662 esac
10663 else
10664 echo "$as_me: failed program was:" >&5
10665 sed 's/^/| /' conftest.$ac_ext >&5
10670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10671 conftest$ac_exeext conftest.$ac_ext
10672 LIBS=$ac_check_soname_save_LIBS
10674 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10675 { echo "$as_me:$LINENO: result: not found" >&5
10676 echo "${ECHO_T}not found" >&6; }
10678 else
10679 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10680 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10682 cat >>confdefs.h <<_ACEOF
10683 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10684 _ACEOF
10690 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10691 case "x$with_xcomposite" in
10692 x) wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10693 xno) ;;
10694 *) { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10695 This is an error since --with-xcomposite was requested." >&5
10696 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10697 This is an error since --with-xcomposite was requested." >&2;}
10698 { (exit 1); exit 1; }; } ;;
10699 esac
10703 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10704 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10705 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10706 echo $ECHO_N "(cached) $ECHO_C" >&6
10707 else
10708 cat >conftest.$ac_ext <<_ACEOF
10709 /* confdefs.h. */
10710 _ACEOF
10711 cat confdefs.h >>conftest.$ac_ext
10712 cat >>conftest.$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10714 #ifdef HAVE_X11_XLIB_H
10715 #include <X11/Xlib.h>
10716 #endif
10719 main ()
10721 static XICCallback ac_aggr;
10722 if (ac_aggr.callback)
10723 return 0;
10725 return 0;
10727 _ACEOF
10728 rm -f conftest.$ac_objext
10729 if { (ac_try="$ac_compile"
10730 case "(($ac_try" in
10731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10732 *) ac_try_echo=$ac_try;;
10733 esac
10734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10735 (eval "$ac_compile") 2>conftest.er1
10736 ac_status=$?
10737 grep -v '^ *+' conftest.er1 >conftest.err
10738 rm -f conftest.er1
10739 cat conftest.err >&5
10740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10741 (exit $ac_status); } && {
10742 test -z "$ac_c_werror_flag" ||
10743 test ! -s conftest.err
10744 } && test -s conftest.$ac_objext; then
10745 ac_cv_member_XICCallback_callback=yes
10746 else
10747 echo "$as_me: failed program was:" >&5
10748 sed 's/^/| /' conftest.$ac_ext >&5
10750 cat >conftest.$ac_ext <<_ACEOF
10751 /* confdefs.h. */
10752 _ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 #ifdef HAVE_X11_XLIB_H
10757 #include <X11/Xlib.h>
10758 #endif
10761 main ()
10763 static XICCallback ac_aggr;
10764 if (sizeof ac_aggr.callback)
10765 return 0;
10767 return 0;
10769 _ACEOF
10770 rm -f conftest.$ac_objext
10771 if { (ac_try="$ac_compile"
10772 case "(($ac_try" in
10773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10774 *) ac_try_echo=$ac_try;;
10775 esac
10776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10777 (eval "$ac_compile") 2>conftest.er1
10778 ac_status=$?
10779 grep -v '^ *+' conftest.er1 >conftest.err
10780 rm -f conftest.er1
10781 cat conftest.err >&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } && {
10784 test -z "$ac_c_werror_flag" ||
10785 test ! -s conftest.err
10786 } && test -s conftest.$ac_objext; then
10787 ac_cv_member_XICCallback_callback=yes
10788 else
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.$ac_ext >&5
10792 ac_cv_member_XICCallback_callback=no
10795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10800 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10801 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10802 if test $ac_cv_member_XICCallback_callback = yes; then
10804 cat >>confdefs.h <<_ACEOF
10805 #define HAVE_XICCALLBACK_CALLBACK 1
10806 _ACEOF
10813 opengl_msg=""
10814 if test "x$with_opengl" != "xno"
10815 then
10820 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10822 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10823 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 else
10828 cat >conftest.$ac_ext <<_ACEOF
10829 /* confdefs.h. */
10830 _ACEOF
10831 cat confdefs.h >>conftest.$ac_ext
10832 cat >>conftest.$ac_ext <<_ACEOF
10833 /* end confdefs.h. */
10834 #ifdef HAVE_GL_GLX_H
10835 # include <GL/glx.h>
10836 #endif
10838 #include <$ac_header>
10839 _ACEOF
10840 rm -f conftest.$ac_objext
10841 if { (ac_try="$ac_compile"
10842 case "(($ac_try" in
10843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10844 *) ac_try_echo=$ac_try;;
10845 esac
10846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10847 (eval "$ac_compile") 2>conftest.er1
10848 ac_status=$?
10849 grep -v '^ *+' conftest.er1 >conftest.err
10850 rm -f conftest.er1
10851 cat conftest.err >&5
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); } && {
10854 test -z "$ac_c_werror_flag" ||
10855 test ! -s conftest.err
10856 } && test -s conftest.$ac_objext; then
10857 eval "$as_ac_Header=yes"
10858 else
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.$ac_ext >&5
10862 eval "$as_ac_Header=no"
10865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10867 ac_res=`eval echo '${'$as_ac_Header'}'`
10868 { echo "$as_me:$LINENO: result: $ac_res" >&5
10869 echo "${ECHO_T}$ac_res" >&6; }
10870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10871 cat >>confdefs.h <<_ACEOF
10872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10873 _ACEOF
10877 done
10879 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10880 then
10881 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10882 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10883 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 else
10886 cat >conftest.$ac_ext <<_ACEOF
10887 /* confdefs.h. */
10888 _ACEOF
10889 cat confdefs.h >>conftest.$ac_ext
10890 cat >>conftest.$ac_ext <<_ACEOF
10891 /* end confdefs.h. */
10892 #include <GL/gl.h>
10894 main ()
10896 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10898 return 0;
10900 _ACEOF
10901 rm -f conftest.$ac_objext
10902 if { (ac_try="$ac_compile"
10903 case "(($ac_try" in
10904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10905 *) ac_try_echo=$ac_try;;
10906 esac
10907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10908 (eval "$ac_compile") 2>conftest.er1
10909 ac_status=$?
10910 grep -v '^ *+' conftest.er1 >conftest.err
10911 rm -f conftest.er1
10912 cat conftest.err >&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); } && {
10915 test -z "$ac_c_werror_flag" ||
10916 test ! -s conftest.err
10917 } && test -s conftest.$ac_objext; then
10918 wine_cv_opengl_header_version_OK="yes"
10919 else
10920 echo "$as_me: failed program was:" >&5
10921 sed 's/^/| /' conftest.$ac_ext >&5
10923 wine_cv_opengl_header_version_OK="no"
10926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10928 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10929 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10931 if test "$wine_cv_opengl_header_version_OK" = "yes"
10932 then
10933 { echo "$as_me:$LINENO: checking for -lGL" >&5
10934 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10935 if test "${ac_cv_lib_soname_GL+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10937 else
10938 ac_check_soname_save_LIBS=$LIBS
10939 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10940 cat >conftest.$ac_ext <<_ACEOF
10941 /* confdefs.h. */
10942 _ACEOF
10943 cat confdefs.h >>conftest.$ac_ext
10944 cat >>conftest.$ac_ext <<_ACEOF
10945 /* end confdefs.h. */
10947 /* Override any GCC internal prototype to avoid an error.
10948 Use char because int might match the return type of a GCC
10949 builtin and then its argument prototype would still apply. */
10950 #ifdef __cplusplus
10951 extern "C"
10952 #endif
10953 char glXCreateContext ();
10955 main ()
10957 return glXCreateContext ();
10959 return 0;
10961 _ACEOF
10962 rm -f conftest.$ac_objext conftest$ac_exeext
10963 if { (ac_try="$ac_link"
10964 case "(($ac_try" in
10965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10966 *) ac_try_echo=$ac_try;;
10967 esac
10968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10969 (eval "$ac_link") 2>conftest.er1
10970 ac_status=$?
10971 grep -v '^ *+' conftest.er1 >conftest.err
10972 rm -f conftest.er1
10973 cat conftest.err >&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); } && {
10976 test -z "$ac_c_werror_flag" ||
10977 test ! -s conftest.err
10978 } && test -s conftest$ac_exeext &&
10979 $as_test_x conftest$ac_exeext; then
10980 case "$LIBEXT" in
10981 dll) ;;
10982 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'` ;;
10983 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10984 esac
10985 else
10986 echo "$as_me: failed program was:" >&5
10987 sed 's/^/| /' conftest.$ac_ext >&5
10992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10993 conftest$ac_exeext conftest.$ac_ext
10994 LIBS=$ac_check_soname_save_LIBS
10996 if test "x$ac_cv_lib_soname_GL" = "x"; then
10997 { echo "$as_me:$LINENO: result: not found" >&5
10998 echo "${ECHO_T}not found" >&6; }
10999 { echo "$as_me:$LINENO: checking for -lGL" >&5
11000 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11001 if test "${ac_cv_lib_soname_GL+set}" = set; then
11002 echo $ECHO_N "(cached) $ECHO_C" >&6
11003 else
11004 ac_check_soname_save_LIBS=$LIBS
11005 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"
11006 cat >conftest.$ac_ext <<_ACEOF
11007 /* confdefs.h. */
11008 _ACEOF
11009 cat confdefs.h >>conftest.$ac_ext
11010 cat >>conftest.$ac_ext <<_ACEOF
11011 /* end confdefs.h. */
11013 /* Override any GCC internal prototype to avoid an error.
11014 Use char because int might match the return type of a GCC
11015 builtin and then its argument prototype would still apply. */
11016 #ifdef __cplusplus
11017 extern "C"
11018 #endif
11019 char glXCreateContext ();
11021 main ()
11023 return glXCreateContext ();
11025 return 0;
11027 _ACEOF
11028 rm -f conftest.$ac_objext conftest$ac_exeext
11029 if { (ac_try="$ac_link"
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_link") 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_exeext &&
11045 $as_test_x conftest$ac_exeext; then
11046 case "$LIBEXT" in
11047 dll) ;;
11048 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'` ;;
11049 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11050 esac
11051 else
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11059 conftest$ac_exeext conftest.$ac_ext
11060 LIBS=$ac_check_soname_save_LIBS
11062 if test "x$ac_cv_lib_soname_GL" = "x"; then
11063 { echo "$as_me:$LINENO: result: not found" >&5
11064 echo "${ECHO_T}not found" >&6; }
11065 if test -f /usr/X11R6/lib/libGL.a
11066 then
11067 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11068 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11069 else
11070 opengl_msg="No OpenGL library found on this system."
11072 else
11073 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11074 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11076 cat >>confdefs.h <<_ACEOF
11077 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11078 _ACEOF
11080 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"
11081 OPENGLFILES='$(OPENGLFILES)'
11083 cat >>confdefs.h <<\_ACEOF
11084 #define HAVE_OPENGL 1
11085 _ACEOF
11089 else
11090 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11091 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11093 cat >>confdefs.h <<_ACEOF
11094 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11095 _ACEOF
11097 OPENGL_LIBS="-lGL"
11098 OPENGLFILES='$(OPENGLFILES)'
11100 cat >>confdefs.h <<\_ACEOF
11101 #define HAVE_OPENGL 1
11102 _ACEOF
11106 if test "$ac_cv_header_GL_glu_h" = "yes"
11107 then
11108 { echo "$as_me:$LINENO: checking for -lGLU" >&5
11109 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11110 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11111 echo $ECHO_N "(cached) $ECHO_C" >&6
11112 else
11113 ac_check_soname_save_LIBS=$LIBS
11114 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11115 cat >conftest.$ac_ext <<_ACEOF
11116 /* confdefs.h. */
11117 _ACEOF
11118 cat confdefs.h >>conftest.$ac_ext
11119 cat >>conftest.$ac_ext <<_ACEOF
11120 /* end confdefs.h. */
11122 /* Override any GCC internal prototype to avoid an error.
11123 Use char because int might match the return type of a GCC
11124 builtin and then its argument prototype would still apply. */
11125 #ifdef __cplusplus
11126 extern "C"
11127 #endif
11128 char gluLookAt ();
11130 main ()
11132 return gluLookAt ();
11134 return 0;
11136 _ACEOF
11137 rm -f conftest.$ac_objext conftest$ac_exeext
11138 if { (ac_try="$ac_link"
11139 case "(($ac_try" in
11140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11141 *) ac_try_echo=$ac_try;;
11142 esac
11143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11144 (eval "$ac_link") 2>conftest.er1
11145 ac_status=$?
11146 grep -v '^ *+' conftest.er1 >conftest.err
11147 rm -f conftest.er1
11148 cat conftest.err >&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); } && {
11151 test -z "$ac_c_werror_flag" ||
11152 test ! -s conftest.err
11153 } && test -s conftest$ac_exeext &&
11154 $as_test_x conftest$ac_exeext; then
11155 case "$LIBEXT" in
11156 dll) ;;
11157 dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11158 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11159 esac
11160 else
11161 echo "$as_me: failed program was:" >&5
11162 sed 's/^/| /' conftest.$ac_ext >&5
11167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11168 conftest$ac_exeext conftest.$ac_ext
11169 LIBS=$ac_check_soname_save_LIBS
11171 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11172 { echo "$as_me:$LINENO: result: not found" >&5
11173 echo "${ECHO_T}not found" >&6; }
11175 else
11176 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11177 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11179 cat >>confdefs.h <<_ACEOF
11180 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11181 _ACEOF
11183 GLU32FILES='$(GLU32FILES)'
11187 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11188 case "x$with_glu" in
11189 x) wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11190 xno) ;;
11191 *) { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11192 This is an error since --with-glu was requested." >&5
11193 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11194 This is an error since --with-glu was requested." >&2;}
11195 { (exit 1); exit 1; }; } ;;
11196 esac
11199 else
11200 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11202 else
11203 opengl_msg="OpenGL development headers not found."
11206 if test -n "$opengl_msg"; then
11207 case "x$with_opengl" in
11208 x) wine_warnings="$wine_warnings|$opengl_msg
11209 OpenGL and Direct3D won't be supported." ;;
11210 xno) ;;
11211 *) { { echo "$as_me:$LINENO: error: $opengl_msg
11212 OpenGL and Direct3D won't be supported.
11213 This is an error since --with-opengl was requested." >&5
11214 echo "$as_me: error: $opengl_msg
11215 OpenGL and Direct3D won't be supported.
11216 This is an error since --with-opengl was requested." >&2;}
11217 { (exit 1); exit 1; }; } ;;
11218 esac
11222 NASLIBS=""
11225 for ac_header in audio/audiolib.h
11227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11228 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11229 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11232 echo $ECHO_N "(cached) $ECHO_C" >&6
11234 ac_res=`eval echo '${'$as_ac_Header'}'`
11235 { echo "$as_me:$LINENO: result: $ac_res" >&5
11236 echo "${ECHO_T}$ac_res" >&6; }
11237 else
11238 # Is the header compilable?
11239 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11240 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11241 cat >conftest.$ac_ext <<_ACEOF
11242 /* confdefs.h. */
11243 _ACEOF
11244 cat confdefs.h >>conftest.$ac_ext
11245 cat >>conftest.$ac_ext <<_ACEOF
11246 /* end confdefs.h. */
11247 $ac_includes_default
11248 #include <$ac_header>
11249 _ACEOF
11250 rm -f conftest.$ac_objext
11251 if { (ac_try="$ac_compile"
11252 case "(($ac_try" in
11253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11254 *) ac_try_echo=$ac_try;;
11255 esac
11256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11257 (eval "$ac_compile") 2>conftest.er1
11258 ac_status=$?
11259 grep -v '^ *+' conftest.er1 >conftest.err
11260 rm -f conftest.er1
11261 cat conftest.err >&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } && {
11264 test -z "$ac_c_werror_flag" ||
11265 test ! -s conftest.err
11266 } && test -s conftest.$ac_objext; then
11267 ac_header_compiler=yes
11268 else
11269 echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.$ac_ext >&5
11272 ac_header_compiler=no
11275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11276 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11277 echo "${ECHO_T}$ac_header_compiler" >&6; }
11279 # Is the header present?
11280 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11282 cat >conftest.$ac_ext <<_ACEOF
11283 /* confdefs.h. */
11284 _ACEOF
11285 cat confdefs.h >>conftest.$ac_ext
11286 cat >>conftest.$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11288 #include <$ac_header>
11289 _ACEOF
11290 if { (ac_try="$ac_cpp conftest.$ac_ext"
11291 case "(($ac_try" in
11292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11293 *) ac_try_echo=$ac_try;;
11294 esac
11295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11296 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11297 ac_status=$?
11298 grep -v '^ *+' conftest.er1 >conftest.err
11299 rm -f conftest.er1
11300 cat conftest.err >&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } >/dev/null && {
11303 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11304 test ! -s conftest.err
11305 }; then
11306 ac_header_preproc=yes
11307 else
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.$ac_ext >&5
11311 ac_header_preproc=no
11314 rm -f conftest.err conftest.$ac_ext
11315 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11316 echo "${ECHO_T}$ac_header_preproc" >&6; }
11318 # So? What about this header?
11319 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11320 yes:no: )
11321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11324 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11325 ac_header_preproc=yes
11327 no:yes:* )
11328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11332 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11333 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11334 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11335 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11340 ( cat <<\_ASBOX
11341 ## ------------------------------------ ##
11342 ## Report this to wine-devel@winehq.org ##
11343 ## ------------------------------------ ##
11344 _ASBOX
11345 ) | sed "s/^/$as_me: WARNING: /" >&2
11347 esac
11348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11351 echo $ECHO_N "(cached) $ECHO_C" >&6
11352 else
11353 eval "$as_ac_Header=\$ac_header_preproc"
11355 ac_res=`eval echo '${'$as_ac_Header'}'`
11356 { echo "$as_me:$LINENO: result: $ac_res" >&5
11357 echo "${ECHO_T}$ac_res" >&6; }
11360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11361 cat >>confdefs.h <<_ACEOF
11362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11363 _ACEOF
11365 for ac_header in audio/soundlib.h
11367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 else
11373 cat >conftest.$ac_ext <<_ACEOF
11374 /* confdefs.h. */
11375 _ACEOF
11376 cat confdefs.h >>conftest.$ac_ext
11377 cat >>conftest.$ac_ext <<_ACEOF
11378 /* end confdefs.h. */
11379 #include <audio/audiolib.h>
11381 #include <$ac_header>
11382 _ACEOF
11383 rm -f conftest.$ac_objext
11384 if { (ac_try="$ac_compile"
11385 case "(($ac_try" in
11386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11387 *) ac_try_echo=$ac_try;;
11388 esac
11389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11390 (eval "$ac_compile") 2>conftest.er1
11391 ac_status=$?
11392 grep -v '^ *+' conftest.er1 >conftest.err
11393 rm -f conftest.er1
11394 cat conftest.err >&5
11395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396 (exit $ac_status); } && {
11397 test -z "$ac_c_werror_flag" ||
11398 test ! -s conftest.err
11399 } && test -s conftest.$ac_objext; then
11400 eval "$as_ac_Header=yes"
11401 else
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11405 eval "$as_ac_Header=no"
11408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11410 ac_res=`eval echo '${'$as_ac_Header'}'`
11411 { echo "$as_me:$LINENO: result: $ac_res" >&5
11412 echo "${ECHO_T}$ac_res" >&6; }
11413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11414 cat >>confdefs.h <<_ACEOF
11415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11416 _ACEOF
11420 done
11422 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11423 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11424 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 else
11427 ac_check_lib_save_LIBS=$LIBS
11428 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11429 cat >conftest.$ac_ext <<_ACEOF
11430 /* confdefs.h. */
11431 _ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char AuCreateFlow ();
11444 main ()
11446 return AuCreateFlow ();
11448 return 0;
11450 _ACEOF
11451 rm -f conftest.$ac_objext conftest$ac_exeext
11452 if { (ac_try="$ac_link"
11453 case "(($ac_try" in
11454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11455 *) ac_try_echo=$ac_try;;
11456 esac
11457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11458 (eval "$ac_link") 2>conftest.er1
11459 ac_status=$?
11460 grep -v '^ *+' conftest.er1 >conftest.err
11461 rm -f conftest.er1
11462 cat conftest.err >&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); } && {
11465 test -z "$ac_c_werror_flag" ||
11466 test ! -s conftest.err
11467 } && test -s conftest$ac_exeext &&
11468 $as_test_x conftest$ac_exeext; then
11469 ac_cv_lib_audio_AuCreateFlow=yes
11470 else
11471 echo "$as_me: failed program was:" >&5
11472 sed 's/^/| /' conftest.$ac_ext >&5
11474 ac_cv_lib_audio_AuCreateFlow=no
11477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11478 conftest$ac_exeext conftest.$ac_ext
11479 LIBS=$ac_check_lib_save_LIBS
11481 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11482 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11483 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11485 cat >>confdefs.h <<\_ACEOF
11486 #define HAVE_NAS 1
11487 _ACEOF
11489 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11490 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11491 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11492 echo $ECHO_N "(cached) $ECHO_C" >&6
11493 else
11494 ac_check_lib_save_LIBS=$LIBS
11495 LIBS="-lXau $X_LIBS $LIBS"
11496 cat >conftest.$ac_ext <<_ACEOF
11497 /* confdefs.h. */
11498 _ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11506 #ifdef __cplusplus
11507 extern "C"
11508 #endif
11509 char XauGetBestAuthByAddr ();
11511 main ()
11513 return XauGetBestAuthByAddr ();
11515 return 0;
11517 _ACEOF
11518 rm -f conftest.$ac_objext conftest$ac_exeext
11519 if { (ac_try="$ac_link"
11520 case "(($ac_try" in
11521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11522 *) ac_try_echo=$ac_try;;
11523 esac
11524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11525 (eval "$ac_link") 2>conftest.er1
11526 ac_status=$?
11527 grep -v '^ *+' conftest.er1 >conftest.err
11528 rm -f conftest.er1
11529 cat conftest.err >&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); } && {
11532 test -z "$ac_c_werror_flag" ||
11533 test ! -s conftest.err
11534 } && test -s conftest$ac_exeext &&
11535 $as_test_x conftest$ac_exeext; then
11536 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11537 else
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.$ac_ext >&5
11541 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11545 conftest$ac_exeext conftest.$ac_ext
11546 LIBS=$ac_check_lib_save_LIBS
11548 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11549 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11550 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11551 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11552 else
11553 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11561 done
11564 CPPFLAGS="$ac_save_CPPFLAGS"
11565 XFILES='$(XFILES)'
11566 else
11567 XLIB=""
11568 X_CFLAGS=""
11569 X_LIBS=""
11571 if test "x$XLIB" = "x"; then
11572 case "x$with_x" in
11573 xno) ;;
11574 *) { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11575 without X support, which probably isn't what you want. You will need to install
11576 development packages of Xlib/Xfree86 at the very least.
11577 Use the --without-x option if you really want this." >&5
11578 echo "$as_me: error: X development files not found. Wine will be built
11579 without X support, which probably isn't what you want. You will need to install
11580 development packages of Xlib/Xfree86 at the very least.
11581 Use the --without-x option if you really want this." >&2;}
11582 { (exit 1); exit 1; }; } ;;
11583 esac
11588 XML2LIBS=""
11590 XML2INCL=""
11592 XSLTLIBS=""
11594 XSLTINCL=""
11596 if test "x$with_xml" != "xno"
11597 then
11598 ac_save_CPPFLAGS="$CPPFLAGS"
11599 if test "$PKG_CONFIG" != "false"
11600 then
11601 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11602 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11603 else
11604 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11605 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
11607 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11609 for ac_header in libxml/parser.h
11611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11615 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11616 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 ac_res=`eval echo '${'$as_ac_Header'}'`
11619 { echo "$as_me:$LINENO: result: $ac_res" >&5
11620 echo "${ECHO_T}$ac_res" >&6; }
11621 else
11622 # Is the header compilable?
11623 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11625 cat >conftest.$ac_ext <<_ACEOF
11626 /* confdefs.h. */
11627 _ACEOF
11628 cat confdefs.h >>conftest.$ac_ext
11629 cat >>conftest.$ac_ext <<_ACEOF
11630 /* end confdefs.h. */
11631 $ac_includes_default
11632 #include <$ac_header>
11633 _ACEOF
11634 rm -f conftest.$ac_objext
11635 if { (ac_try="$ac_compile"
11636 case "(($ac_try" in
11637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11638 *) ac_try_echo=$ac_try;;
11639 esac
11640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11641 (eval "$ac_compile") 2>conftest.er1
11642 ac_status=$?
11643 grep -v '^ *+' conftest.er1 >conftest.err
11644 rm -f conftest.er1
11645 cat conftest.err >&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } && {
11648 test -z "$ac_c_werror_flag" ||
11649 test ! -s conftest.err
11650 } && test -s conftest.$ac_objext; then
11651 ac_header_compiler=yes
11652 else
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.$ac_ext >&5
11656 ac_header_compiler=no
11659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11660 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11661 echo "${ECHO_T}$ac_header_compiler" >&6; }
11663 # Is the header present?
11664 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11666 cat >conftest.$ac_ext <<_ACEOF
11667 /* confdefs.h. */
11668 _ACEOF
11669 cat confdefs.h >>conftest.$ac_ext
11670 cat >>conftest.$ac_ext <<_ACEOF
11671 /* end confdefs.h. */
11672 #include <$ac_header>
11673 _ACEOF
11674 if { (ac_try="$ac_cpp conftest.$ac_ext"
11675 case "(($ac_try" in
11676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11677 *) ac_try_echo=$ac_try;;
11678 esac
11679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11681 ac_status=$?
11682 grep -v '^ *+' conftest.er1 >conftest.err
11683 rm -f conftest.er1
11684 cat conftest.err >&5
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); } >/dev/null && {
11687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11688 test ! -s conftest.err
11689 }; then
11690 ac_header_preproc=yes
11691 else
11692 echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.$ac_ext >&5
11695 ac_header_preproc=no
11698 rm -f conftest.err conftest.$ac_ext
11699 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11700 echo "${ECHO_T}$ac_header_preproc" >&6; }
11702 # So? What about this header?
11703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11704 yes:no: )
11705 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11706 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11708 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11709 ac_header_preproc=yes
11711 no:yes:* )
11712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11716 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11717 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11718 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11719 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11722 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11723 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11724 ( cat <<\_ASBOX
11725 ## ------------------------------------ ##
11726 ## Report this to wine-devel@winehq.org ##
11727 ## ------------------------------------ ##
11728 _ASBOX
11729 ) | sed "s/^/$as_me: WARNING: /" >&2
11731 esac
11732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 else
11737 eval "$as_ac_Header=\$ac_header_preproc"
11739 ac_res=`eval echo '${'$as_ac_Header'}'`
11740 { echo "$as_me:$LINENO: result: $ac_res" >&5
11741 echo "${ECHO_T}$ac_res" >&6; }
11744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11745 cat >>confdefs.h <<_ACEOF
11746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11747 _ACEOF
11748 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11749 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11750 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11751 echo $ECHO_N "(cached) $ECHO_C" >&6
11752 else
11753 ac_check_lib_save_LIBS=$LIBS
11754 LIBS="-lxml2 $ac_xml_libs $LIBS"
11755 cat >conftest.$ac_ext <<_ACEOF
11756 /* confdefs.h. */
11757 _ACEOF
11758 cat confdefs.h >>conftest.$ac_ext
11759 cat >>conftest.$ac_ext <<_ACEOF
11760 /* end confdefs.h. */
11762 /* Override any GCC internal prototype to avoid an error.
11763 Use char because int might match the return type of a GCC
11764 builtin and then its argument prototype would still apply. */
11765 #ifdef __cplusplus
11766 extern "C"
11767 #endif
11768 char xmlParseMemory ();
11770 main ()
11772 return xmlParseMemory ();
11774 return 0;
11776 _ACEOF
11777 rm -f conftest.$ac_objext conftest$ac_exeext
11778 if { (ac_try="$ac_link"
11779 case "(($ac_try" in
11780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11781 *) ac_try_echo=$ac_try;;
11782 esac
11783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11784 (eval "$ac_link") 2>conftest.er1
11785 ac_status=$?
11786 grep -v '^ *+' conftest.er1 >conftest.err
11787 rm -f conftest.er1
11788 cat conftest.err >&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); } && {
11791 test -z "$ac_c_werror_flag" ||
11792 test ! -s conftest.err
11793 } && test -s conftest$ac_exeext &&
11794 $as_test_x conftest$ac_exeext; then
11795 ac_cv_lib_xml2_xmlParseMemory=yes
11796 else
11797 echo "$as_me: failed program was:" >&5
11798 sed 's/^/| /' conftest.$ac_ext >&5
11800 ac_cv_lib_xml2_xmlParseMemory=no
11803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11804 conftest$ac_exeext conftest.$ac_ext
11805 LIBS=$ac_check_lib_save_LIBS
11807 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11808 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11809 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11811 cat >>confdefs.h <<\_ACEOF
11812 #define HAVE_LIBXML2 1
11813 _ACEOF
11815 XML2LIBS="$ac_xml_libs"
11816 XML2INCL="$ac_xml_cflags"
11819 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11820 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11821 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11823 else
11824 ac_check_lib_save_LIBS=$LIBS
11825 LIBS="-lxml2 $ac_xml_libs $LIBS"
11826 cat >conftest.$ac_ext <<_ACEOF
11827 /* confdefs.h. */
11828 _ACEOF
11829 cat confdefs.h >>conftest.$ac_ext
11830 cat >>conftest.$ac_ext <<_ACEOF
11831 /* end confdefs.h. */
11833 /* Override any GCC internal prototype to avoid an error.
11834 Use char because int might match the return type of a GCC
11835 builtin and then its argument prototype would still apply. */
11836 #ifdef __cplusplus
11837 extern "C"
11838 #endif
11839 char xmlReadMemory ();
11841 main ()
11843 return xmlReadMemory ();
11845 return 0;
11847 _ACEOF
11848 rm -f conftest.$ac_objext conftest$ac_exeext
11849 if { (ac_try="$ac_link"
11850 case "(($ac_try" in
11851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11852 *) ac_try_echo=$ac_try;;
11853 esac
11854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11855 (eval "$ac_link") 2>conftest.er1
11856 ac_status=$?
11857 grep -v '^ *+' conftest.er1 >conftest.err
11858 rm -f conftest.er1
11859 cat conftest.err >&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } && {
11862 test -z "$ac_c_werror_flag" ||
11863 test ! -s conftest.err
11864 } && test -s conftest$ac_exeext &&
11865 $as_test_x conftest$ac_exeext; then
11866 ac_cv_lib_xml2_xmlReadMemory=yes
11867 else
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.$ac_ext >&5
11871 ac_cv_lib_xml2_xmlReadMemory=no
11874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11875 conftest$ac_exeext conftest.$ac_ext
11876 LIBS=$ac_check_lib_save_LIBS
11878 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11879 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11880 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11882 cat >>confdefs.h <<\_ACEOF
11883 #define HAVE_XMLREADMEMORY 1
11884 _ACEOF
11888 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11889 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11890 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 else
11893 ac_check_lib_save_LIBS=$LIBS
11894 LIBS="-lxml2 $ac_xml_libs $LIBS"
11895 cat >conftest.$ac_ext <<_ACEOF
11896 /* confdefs.h. */
11897 _ACEOF
11898 cat confdefs.h >>conftest.$ac_ext
11899 cat >>conftest.$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11902 /* Override any GCC internal prototype to avoid an error.
11903 Use char because int might match the return type of a GCC
11904 builtin and then its argument prototype would still apply. */
11905 #ifdef __cplusplus
11906 extern "C"
11907 #endif
11908 char xmlNewDocPI ();
11910 main ()
11912 return xmlNewDocPI ();
11914 return 0;
11916 _ACEOF
11917 rm -f conftest.$ac_objext conftest$ac_exeext
11918 if { (ac_try="$ac_link"
11919 case "(($ac_try" in
11920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11921 *) ac_try_echo=$ac_try;;
11922 esac
11923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11924 (eval "$ac_link") 2>conftest.er1
11925 ac_status=$?
11926 grep -v '^ *+' conftest.er1 >conftest.err
11927 rm -f conftest.er1
11928 cat conftest.err >&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); } && {
11931 test -z "$ac_c_werror_flag" ||
11932 test ! -s conftest.err
11933 } && test -s conftest$ac_exeext &&
11934 $as_test_x conftest$ac_exeext; then
11935 ac_cv_lib_xml2_xmlNewDocPI=yes
11936 else
11937 echo "$as_me: failed program was:" >&5
11938 sed 's/^/| /' conftest.$ac_ext >&5
11940 ac_cv_lib_xml2_xmlNewDocPI=no
11943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11944 conftest$ac_exeext conftest.$ac_ext
11945 LIBS=$ac_check_lib_save_LIBS
11947 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11948 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11949 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11951 cat >>confdefs.h <<\_ACEOF
11952 #define HAVE_XMLNEWDOCPI 1
11953 _ACEOF
11960 done
11962 CPPFLAGS="$ac_save_CPPFLAGS"
11964 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11965 case "x$with_xml" in
11966 x) wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
11967 xno) ;;
11968 *) { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11969 This is an error since --with-xml was requested." >&5
11970 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11971 This is an error since --with-xml was requested." >&2;}
11972 { (exit 1); exit 1; }; } ;;
11973 esac
11977 if test "x$with_xslt" != "xno"
11978 then
11979 if test "$PKG_CONFIG" != "false"
11980 then
11981 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11982 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11983 else
11984 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11985 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11987 ac_save_CPPFLAGS="$CPPFLAGS"
11988 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11991 for ac_header in libxslt/pattern.h libxslt/transform.h
11993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11998 else
11999 cat >conftest.$ac_ext <<_ACEOF
12000 /* confdefs.h. */
12001 _ACEOF
12002 cat confdefs.h >>conftest.$ac_ext
12003 cat >>conftest.$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12005 #ifdef HAVE_LIBXSLT_PATTERN_H
12006 # include <libxslt/pattern.h>
12007 #endif
12009 #include <$ac_header>
12010 _ACEOF
12011 rm -f conftest.$ac_objext
12012 if { (ac_try="$ac_compile"
12013 case "(($ac_try" in
12014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12015 *) ac_try_echo=$ac_try;;
12016 esac
12017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12018 (eval "$ac_compile") 2>conftest.er1
12019 ac_status=$?
12020 grep -v '^ *+' conftest.er1 >conftest.err
12021 rm -f conftest.er1
12022 cat conftest.err >&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); } && {
12025 test -z "$ac_c_werror_flag" ||
12026 test ! -s conftest.err
12027 } && test -s conftest.$ac_objext; then
12028 eval "$as_ac_Header=yes"
12029 else
12030 echo "$as_me: failed program was:" >&5
12031 sed 's/^/| /' conftest.$ac_ext >&5
12033 eval "$as_ac_Header=no"
12036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12038 ac_res=`eval echo '${'$as_ac_Header'}'`
12039 { echo "$as_me:$LINENO: result: $ac_res" >&5
12040 echo "${ECHO_T}$ac_res" >&6; }
12041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12042 cat >>confdefs.h <<_ACEOF
12043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12044 _ACEOF
12048 done
12050 CPPFLAGS="$ac_save_CPPFLAGS"
12051 if test "$ac_cv_header_libxslt_transform_h" = "yes"
12052 then
12053 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12054 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12055 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 else
12058 ac_check_lib_save_LIBS=$LIBS
12059 LIBS="-lxslt $ac_xslt_libs $LIBS"
12060 cat >conftest.$ac_ext <<_ACEOF
12061 /* confdefs.h. */
12062 _ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12070 #ifdef __cplusplus
12071 extern "C"
12072 #endif
12073 char xsltCompilePattern ();
12075 main ()
12077 return xsltCompilePattern ();
12079 return 0;
12081 _ACEOF
12082 rm -f conftest.$ac_objext conftest$ac_exeext
12083 if { (ac_try="$ac_link"
12084 case "(($ac_try" in
12085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12086 *) ac_try_echo=$ac_try;;
12087 esac
12088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12089 (eval "$ac_link") 2>conftest.er1
12090 ac_status=$?
12091 grep -v '^ *+' conftest.er1 >conftest.err
12092 rm -f conftest.er1
12093 cat conftest.err >&5
12094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12095 (exit $ac_status); } && {
12096 test -z "$ac_c_werror_flag" ||
12097 test ! -s conftest.err
12098 } && test -s conftest$ac_exeext &&
12099 $as_test_x conftest$ac_exeext; then
12100 ac_cv_lib_xslt_xsltCompilePattern=yes
12101 else
12102 echo "$as_me: failed program was:" >&5
12103 sed 's/^/| /' conftest.$ac_ext >&5
12105 ac_cv_lib_xslt_xsltCompilePattern=no
12108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_lib_save_LIBS
12112 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12113 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12114 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12116 cat >>confdefs.h <<\_ACEOF
12117 #define HAVE_LIBXSLT 1
12118 _ACEOF
12120 XSLTLIBS="$ac_xslt_libs"
12121 XSLTINCL="$ac_xslt_cflags"
12122 ac_save_LIBS="$LIBS"
12123 LIBS="$LIBS $ac_xslt_libs"
12125 for ac_func in xsltInit
12127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12131 echo $ECHO_N "(cached) $ECHO_C" >&6
12132 else
12133 cat >conftest.$ac_ext <<_ACEOF
12134 /* confdefs.h. */
12135 _ACEOF
12136 cat confdefs.h >>conftest.$ac_ext
12137 cat >>conftest.$ac_ext <<_ACEOF
12138 /* end confdefs.h. */
12139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12141 #define $ac_func innocuous_$ac_func
12143 /* System header to define __stub macros and hopefully few prototypes,
12144 which can conflict with char $ac_func (); below.
12145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12146 <limits.h> exists even on freestanding compilers. */
12148 #ifdef __STDC__
12149 # include <limits.h>
12150 #else
12151 # include <assert.h>
12152 #endif
12154 #undef $ac_func
12156 /* Override any GCC internal prototype to avoid an error.
12157 Use char because int might match the return type of a GCC
12158 builtin and then its argument prototype would still apply. */
12159 #ifdef __cplusplus
12160 extern "C"
12161 #endif
12162 char $ac_func ();
12163 /* The GNU C library defines this for functions which it implements
12164 to always fail with ENOSYS. Some functions are actually named
12165 something starting with __ and the normal name is an alias. */
12166 #if defined __stub_$ac_func || defined __stub___$ac_func
12167 choke me
12168 #endif
12171 main ()
12173 return $ac_func ();
12175 return 0;
12177 _ACEOF
12178 rm -f conftest.$ac_objext conftest$ac_exeext
12179 if { (ac_try="$ac_link"
12180 case "(($ac_try" in
12181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12182 *) ac_try_echo=$ac_try;;
12183 esac
12184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12185 (eval "$ac_link") 2>conftest.er1
12186 ac_status=$?
12187 grep -v '^ *+' conftest.er1 >conftest.err
12188 rm -f conftest.er1
12189 cat conftest.err >&5
12190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12191 (exit $ac_status); } && {
12192 test -z "$ac_c_werror_flag" ||
12193 test ! -s conftest.err
12194 } && test -s conftest$ac_exeext &&
12195 $as_test_x conftest$ac_exeext; then
12196 eval "$as_ac_var=yes"
12197 else
12198 echo "$as_me: failed program was:" >&5
12199 sed 's/^/| /' conftest.$ac_ext >&5
12201 eval "$as_ac_var=no"
12204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12205 conftest$ac_exeext conftest.$ac_ext
12207 ac_res=`eval echo '${'$as_ac_var'}'`
12208 { echo "$as_me:$LINENO: result: $ac_res" >&5
12209 echo "${ECHO_T}$ac_res" >&6; }
12210 if test `eval echo '${'$as_ac_var'}'` = yes; then
12211 cat >>confdefs.h <<_ACEOF
12212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12213 _ACEOF
12216 done
12218 LIBS="$ac_save_LIBS"
12223 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12224 case "x$with_xslt" in
12225 x) wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12226 xno) ;;
12227 *) { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12228 This is an error since --with-xslt was requested." >&5
12229 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12230 This is an error since --with-xslt was requested." >&2;}
12231 { (exit 1); exit 1; }; } ;;
12232 esac
12236 HALINCL=""
12238 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12239 then
12240 ac_save_CPPFLAGS="$CPPFLAGS"
12241 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12242 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12243 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12246 for ac_header in dbus/dbus.h hal/libhal.h
12248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12255 ac_res=`eval echo '${'$as_ac_Header'}'`
12256 { echo "$as_me:$LINENO: result: $ac_res" >&5
12257 echo "${ECHO_T}$ac_res" >&6; }
12258 else
12259 # Is the header compilable?
12260 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12262 cat >conftest.$ac_ext <<_ACEOF
12263 /* confdefs.h. */
12264 _ACEOF
12265 cat confdefs.h >>conftest.$ac_ext
12266 cat >>conftest.$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12268 $ac_includes_default
12269 #include <$ac_header>
12270 _ACEOF
12271 rm -f conftest.$ac_objext
12272 if { (ac_try="$ac_compile"
12273 case "(($ac_try" in
12274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12275 *) ac_try_echo=$ac_try;;
12276 esac
12277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12278 (eval "$ac_compile") 2>conftest.er1
12279 ac_status=$?
12280 grep -v '^ *+' conftest.er1 >conftest.err
12281 rm -f conftest.er1
12282 cat conftest.err >&5
12283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284 (exit $ac_status); } && {
12285 test -z "$ac_c_werror_flag" ||
12286 test ! -s conftest.err
12287 } && test -s conftest.$ac_objext; then
12288 ac_header_compiler=yes
12289 else
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.$ac_ext >&5
12293 ac_header_compiler=no
12296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12297 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12298 echo "${ECHO_T}$ac_header_compiler" >&6; }
12300 # Is the header present?
12301 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12303 cat >conftest.$ac_ext <<_ACEOF
12304 /* confdefs.h. */
12305 _ACEOF
12306 cat confdefs.h >>conftest.$ac_ext
12307 cat >>conftest.$ac_ext <<_ACEOF
12308 /* end confdefs.h. */
12309 #include <$ac_header>
12310 _ACEOF
12311 if { (ac_try="$ac_cpp conftest.$ac_ext"
12312 case "(($ac_try" in
12313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12314 *) ac_try_echo=$ac_try;;
12315 esac
12316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12317 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12318 ac_status=$?
12319 grep -v '^ *+' conftest.er1 >conftest.err
12320 rm -f conftest.er1
12321 cat conftest.err >&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } >/dev/null && {
12324 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12325 test ! -s conftest.err
12326 }; then
12327 ac_header_preproc=yes
12328 else
12329 echo "$as_me: failed program was:" >&5
12330 sed 's/^/| /' conftest.$ac_ext >&5
12332 ac_header_preproc=no
12335 rm -f conftest.err conftest.$ac_ext
12336 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12337 echo "${ECHO_T}$ac_header_preproc" >&6; }
12339 # So? What about this header?
12340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12341 yes:no: )
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12346 ac_header_preproc=yes
12348 no:yes:* )
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12353 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12355 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12356 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12357 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12359 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12361 ( cat <<\_ASBOX
12362 ## ------------------------------------ ##
12363 ## Report this to wine-devel@winehq.org ##
12364 ## ------------------------------------ ##
12365 _ASBOX
12366 ) | sed "s/^/$as_me: WARNING: /" >&2
12368 esac
12369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12372 echo $ECHO_N "(cached) $ECHO_C" >&6
12373 else
12374 eval "$as_ac_Header=\$ac_header_preproc"
12376 ac_res=`eval echo '${'$as_ac_Header'}'`
12377 { echo "$as_me:$LINENO: result: $ac_res" >&5
12378 echo "${ECHO_T}$ac_res" >&6; }
12381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12382 cat >>confdefs.h <<_ACEOF
12383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12384 _ACEOF
12388 done
12390 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12391 then
12392 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12393 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12394 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12395 echo $ECHO_N "(cached) $ECHO_C" >&6
12396 else
12397 ac_check_lib_save_LIBS=$LIBS
12398 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12399 cat >conftest.$ac_ext <<_ACEOF
12400 /* confdefs.h. */
12401 _ACEOF
12402 cat confdefs.h >>conftest.$ac_ext
12403 cat >>conftest.$ac_ext <<_ACEOF
12404 /* end confdefs.h. */
12406 /* Override any GCC internal prototype to avoid an error.
12407 Use char because int might match the return type of a GCC
12408 builtin and then its argument prototype would still apply. */
12409 #ifdef __cplusplus
12410 extern "C"
12411 #endif
12412 char dbus_connection_close ();
12414 main ()
12416 return dbus_connection_close ();
12418 return 0;
12420 _ACEOF
12421 rm -f conftest.$ac_objext conftest$ac_exeext
12422 if { (ac_try="$ac_link"
12423 case "(($ac_try" in
12424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12425 *) ac_try_echo=$ac_try;;
12426 esac
12427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12428 (eval "$ac_link") 2>conftest.er1
12429 ac_status=$?
12430 grep -v '^ *+' conftest.er1 >conftest.err
12431 rm -f conftest.er1
12432 cat conftest.err >&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); } && {
12435 test -z "$ac_c_werror_flag" ||
12436 test ! -s conftest.err
12437 } && test -s conftest$ac_exeext &&
12438 $as_test_x conftest$ac_exeext; then
12439 ac_cv_lib_dbus_1_dbus_connection_close=yes
12440 else
12441 echo "$as_me: failed program was:" >&5
12442 sed 's/^/| /' conftest.$ac_ext >&5
12444 ac_cv_lib_dbus_1_dbus_connection_close=no
12447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12448 conftest$ac_exeext conftest.$ac_ext
12449 LIBS=$ac_check_lib_save_LIBS
12451 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12452 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12453 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12454 { echo "$as_me:$LINENO: checking for -lhal" >&5
12455 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12456 if test "${ac_cv_lib_soname_hal+set}" = set; then
12457 echo $ECHO_N "(cached) $ECHO_C" >&6
12458 else
12459 ac_check_soname_save_LIBS=$LIBS
12460 LIBS="-lhal $ac_hal_libs $LIBS"
12461 cat >conftest.$ac_ext <<_ACEOF
12462 /* confdefs.h. */
12463 _ACEOF
12464 cat confdefs.h >>conftest.$ac_ext
12465 cat >>conftest.$ac_ext <<_ACEOF
12466 /* end confdefs.h. */
12468 /* Override any GCC internal prototype to avoid an error.
12469 Use char because int might match the return type of a GCC
12470 builtin and then its argument prototype would still apply. */
12471 #ifdef __cplusplus
12472 extern "C"
12473 #endif
12474 char libhal_ctx_new ();
12476 main ()
12478 return libhal_ctx_new ();
12480 return 0;
12482 _ACEOF
12483 rm -f conftest.$ac_objext conftest$ac_exeext
12484 if { (ac_try="$ac_link"
12485 case "(($ac_try" in
12486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12487 *) ac_try_echo=$ac_try;;
12488 esac
12489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12490 (eval "$ac_link") 2>conftest.er1
12491 ac_status=$?
12492 grep -v '^ *+' conftest.er1 >conftest.err
12493 rm -f conftest.er1
12494 cat conftest.err >&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } && {
12497 test -z "$ac_c_werror_flag" ||
12498 test ! -s conftest.err
12499 } && test -s conftest$ac_exeext &&
12500 $as_test_x conftest$ac_exeext; then
12501 case "$LIBEXT" in
12502 dll) ;;
12503 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'` ;;
12504 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12505 esac
12506 else
12507 echo "$as_me: failed program was:" >&5
12508 sed 's/^/| /' conftest.$ac_ext >&5
12513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12514 conftest$ac_exeext conftest.$ac_ext
12515 LIBS=$ac_check_soname_save_LIBS
12517 if test "x$ac_cv_lib_soname_hal" = "x"; then
12518 { echo "$as_me:$LINENO: result: not found" >&5
12519 echo "${ECHO_T}not found" >&6; }
12521 else
12522 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12523 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12525 cat >>confdefs.h <<_ACEOF
12526 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12527 _ACEOF
12529 HALINCL="$ac_hal_cflags"
12535 CPPFLAGS="$ac_save_CPPFLAGS"
12537 if test "x$ac_cv_lib_soname_hal" = "x"; then
12538 case "x$with_hal" in
12539 x) wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12540 xno) ;;
12541 *) { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12542 This is an error since --with-hal was requested." >&5
12543 echo "$as_me: error: libhal development files not found, no dynamic device support.
12544 This is an error since --with-hal was requested." >&2;}
12545 { (exit 1); exit 1; }; } ;;
12546 esac
12550 CURSESLIBS=""
12551 if test "$ac_cv_header_ncurses_h" = "yes"
12552 then
12553 { echo "$as_me:$LINENO: checking for -lncurses" >&5
12554 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12555 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12556 echo $ECHO_N "(cached) $ECHO_C" >&6
12557 else
12558 ac_check_soname_save_LIBS=$LIBS
12559 LIBS="-lncurses $LIBS"
12560 cat >conftest.$ac_ext <<_ACEOF
12561 /* confdefs.h. */
12562 _ACEOF
12563 cat confdefs.h >>conftest.$ac_ext
12564 cat >>conftest.$ac_ext <<_ACEOF
12565 /* end confdefs.h. */
12567 /* Override any GCC internal prototype to avoid an error.
12568 Use char because int might match the return type of a GCC
12569 builtin and then its argument prototype would still apply. */
12570 #ifdef __cplusplus
12571 extern "C"
12572 #endif
12573 char waddch ();
12575 main ()
12577 return waddch ();
12579 return 0;
12581 _ACEOF
12582 rm -f conftest.$ac_objext conftest$ac_exeext
12583 if { (ac_try="$ac_link"
12584 case "(($ac_try" in
12585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12586 *) ac_try_echo=$ac_try;;
12587 esac
12588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12589 (eval "$ac_link") 2>conftest.er1
12590 ac_status=$?
12591 grep -v '^ *+' conftest.er1 >conftest.err
12592 rm -f conftest.er1
12593 cat conftest.err >&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } && {
12596 test -z "$ac_c_werror_flag" ||
12597 test ! -s conftest.err
12598 } && test -s conftest$ac_exeext &&
12599 $as_test_x conftest$ac_exeext; then
12600 case "$LIBEXT" in
12601 dll) ;;
12602 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'` ;;
12603 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12604 esac
12605 else
12606 echo "$as_me: failed program was:" >&5
12607 sed 's/^/| /' conftest.$ac_ext >&5
12612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12613 conftest$ac_exeext conftest.$ac_ext
12614 LIBS=$ac_check_soname_save_LIBS
12616 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12617 { echo "$as_me:$LINENO: result: not found" >&5
12618 echo "${ECHO_T}not found" >&6; }
12620 else
12621 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12622 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12624 cat >>confdefs.h <<_ACEOF
12625 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12626 _ACEOF
12628 CURSESLIBS="-lncurses"
12631 elif test "$ac_cv_header_curses_h" = "yes"
12632 then
12633 { echo "$as_me:$LINENO: checking for -lcurses" >&5
12634 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12635 if test "${ac_cv_lib_soname_curses+set}" = set; then
12636 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 else
12638 ac_check_soname_save_LIBS=$LIBS
12639 LIBS="-lcurses $LIBS"
12640 cat >conftest.$ac_ext <<_ACEOF
12641 /* confdefs.h. */
12642 _ACEOF
12643 cat confdefs.h >>conftest.$ac_ext
12644 cat >>conftest.$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12647 /* Override any GCC internal prototype to avoid an error.
12648 Use char because int might match the return type of a GCC
12649 builtin and then its argument prototype would still apply. */
12650 #ifdef __cplusplus
12651 extern "C"
12652 #endif
12653 char waddch ();
12655 main ()
12657 return waddch ();
12659 return 0;
12661 _ACEOF
12662 rm -f conftest.$ac_objext conftest$ac_exeext
12663 if { (ac_try="$ac_link"
12664 case "(($ac_try" in
12665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666 *) ac_try_echo=$ac_try;;
12667 esac
12668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12669 (eval "$ac_link") 2>conftest.er1
12670 ac_status=$?
12671 grep -v '^ *+' conftest.er1 >conftest.err
12672 rm -f conftest.er1
12673 cat conftest.err >&5
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); } && {
12676 test -z "$ac_c_werror_flag" ||
12677 test ! -s conftest.err
12678 } && test -s conftest$ac_exeext &&
12679 $as_test_x conftest$ac_exeext; then
12680 case "$LIBEXT" in
12681 dll) ;;
12682 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'` ;;
12683 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12684 esac
12685 else
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.$ac_ext >&5
12692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12693 conftest$ac_exeext conftest.$ac_ext
12694 LIBS=$ac_check_soname_save_LIBS
12696 if test "x$ac_cv_lib_soname_curses" = "x"; then
12697 { echo "$as_me:$LINENO: result: not found" >&5
12698 echo "${ECHO_T}not found" >&6; }
12700 else
12701 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12702 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12704 cat >>confdefs.h <<_ACEOF
12705 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12706 _ACEOF
12708 CURSESLIBS="-lcurses"
12712 ac_save_LIBS="$LIBS"
12713 LIBS="$LIBS $CURSESLIBS"
12715 for ac_func in mousemask
12717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 else
12723 cat >conftest.$ac_ext <<_ACEOF
12724 /* confdefs.h. */
12725 _ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12731 #define $ac_func innocuous_$ac_func
12733 /* System header to define __stub macros and hopefully few prototypes,
12734 which can conflict with char $ac_func (); below.
12735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12736 <limits.h> exists even on freestanding compilers. */
12738 #ifdef __STDC__
12739 # include <limits.h>
12740 #else
12741 # include <assert.h>
12742 #endif
12744 #undef $ac_func
12746 /* Override any GCC internal prototype to avoid an error.
12747 Use char because int might match the return type of a GCC
12748 builtin and then its argument prototype would still apply. */
12749 #ifdef __cplusplus
12750 extern "C"
12751 #endif
12752 char $ac_func ();
12753 /* The GNU C library defines this for functions which it implements
12754 to always fail with ENOSYS. Some functions are actually named
12755 something starting with __ and the normal name is an alias. */
12756 #if defined __stub_$ac_func || defined __stub___$ac_func
12757 choke me
12758 #endif
12761 main ()
12763 return $ac_func ();
12765 return 0;
12767 _ACEOF
12768 rm -f conftest.$ac_objext conftest$ac_exeext
12769 if { (ac_try="$ac_link"
12770 case "(($ac_try" in
12771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12772 *) ac_try_echo=$ac_try;;
12773 esac
12774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12775 (eval "$ac_link") 2>conftest.er1
12776 ac_status=$?
12777 grep -v '^ *+' conftest.er1 >conftest.err
12778 rm -f conftest.er1
12779 cat conftest.err >&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); } && {
12782 test -z "$ac_c_werror_flag" ||
12783 test ! -s conftest.err
12784 } && test -s conftest$ac_exeext &&
12785 $as_test_x conftest$ac_exeext; then
12786 eval "$as_ac_var=yes"
12787 else
12788 echo "$as_me: failed program was:" >&5
12789 sed 's/^/| /' conftest.$ac_ext >&5
12791 eval "$as_ac_var=no"
12794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12795 conftest$ac_exeext conftest.$ac_ext
12797 ac_res=`eval echo '${'$as_ac_var'}'`
12798 { echo "$as_me:$LINENO: result: $ac_res" >&5
12799 echo "${ECHO_T}$ac_res" >&6; }
12800 if test `eval echo '${'$as_ac_var'}'` = yes; then
12801 cat >>confdefs.h <<_ACEOF
12802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12803 _ACEOF
12806 done
12808 LIBS="$ac_save_LIBS"
12809 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12810 case "x$with_curses" in
12811 x) wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12812 xno) ;;
12813 *) { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12814 This is an error since --with-curses was requested." >&5
12815 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12816 This is an error since --with-curses was requested." >&2;}
12817 { (exit 1); exit 1; }; } ;;
12818 esac
12822 # Extract the first word of "sane-config", so it can be a program name with args.
12823 set dummy sane-config; ac_word=$2
12824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12826 if test "${ac_cv_prog_sane_devel+set}" = set; then
12827 echo $ECHO_N "(cached) $ECHO_C" >&6
12828 else
12829 if test -n "$sane_devel"; then
12830 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12831 else
12832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12833 for as_dir in $PATH
12835 IFS=$as_save_IFS
12836 test -z "$as_dir" && as_dir=.
12837 for ac_exec_ext in '' $ac_executable_extensions; do
12838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12839 ac_cv_prog_sane_devel="sane-config"
12840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12841 break 2
12843 done
12844 done
12845 IFS=$as_save_IFS
12847 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12850 sane_devel=$ac_cv_prog_sane_devel
12851 if test -n "$sane_devel"; then
12852 { echo "$as_me:$LINENO: result: $sane_devel" >&5
12853 echo "${ECHO_T}$sane_devel" >&6; }
12854 else
12855 { echo "$as_me:$LINENO: result: no" >&5
12856 echo "${ECHO_T}no" >&6; }
12860 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12861 then
12862 ac_sane_incl="`$sane_devel --cflags`"
12863 ac_save_CPPFLAGS="$CPPFLAGS"
12864 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12865 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12866 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12867 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12868 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12869 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12872 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12873 else
12874 # Is the header compilable?
12875 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12876 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12877 cat >conftest.$ac_ext <<_ACEOF
12878 /* confdefs.h. */
12879 _ACEOF
12880 cat confdefs.h >>conftest.$ac_ext
12881 cat >>conftest.$ac_ext <<_ACEOF
12882 /* end confdefs.h. */
12883 $ac_includes_default
12884 #include <sane/sane.h>
12885 _ACEOF
12886 rm -f conftest.$ac_objext
12887 if { (ac_try="$ac_compile"
12888 case "(($ac_try" in
12889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12890 *) ac_try_echo=$ac_try;;
12891 esac
12892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12893 (eval "$ac_compile") 2>conftest.er1
12894 ac_status=$?
12895 grep -v '^ *+' conftest.er1 >conftest.err
12896 rm -f conftest.er1
12897 cat conftest.err >&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } && {
12900 test -z "$ac_c_werror_flag" ||
12901 test ! -s conftest.err
12902 } && test -s conftest.$ac_objext; then
12903 ac_header_compiler=yes
12904 else
12905 echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.$ac_ext >&5
12908 ac_header_compiler=no
12911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12912 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12913 echo "${ECHO_T}$ac_header_compiler" >&6; }
12915 # Is the header present?
12916 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12917 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12918 cat >conftest.$ac_ext <<_ACEOF
12919 /* confdefs.h. */
12920 _ACEOF
12921 cat confdefs.h >>conftest.$ac_ext
12922 cat >>conftest.$ac_ext <<_ACEOF
12923 /* end confdefs.h. */
12924 #include <sane/sane.h>
12925 _ACEOF
12926 if { (ac_try="$ac_cpp conftest.$ac_ext"
12927 case "(($ac_try" in
12928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12929 *) ac_try_echo=$ac_try;;
12930 esac
12931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12933 ac_status=$?
12934 grep -v '^ *+' conftest.er1 >conftest.err
12935 rm -f conftest.er1
12936 cat conftest.err >&5
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); } >/dev/null && {
12939 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12940 test ! -s conftest.err
12941 }; then
12942 ac_header_preproc=yes
12943 else
12944 echo "$as_me: failed program was:" >&5
12945 sed 's/^/| /' conftest.$ac_ext >&5
12947 ac_header_preproc=no
12950 rm -f conftest.err conftest.$ac_ext
12951 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12952 echo "${ECHO_T}$ac_header_preproc" >&6; }
12954 # So? What about this header?
12955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12956 yes:no: )
12957 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12958 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12959 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12960 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12961 ac_header_preproc=yes
12963 no:yes:* )
12964 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12965 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12966 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
12967 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
12968 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12969 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12970 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
12971 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
12972 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12973 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12974 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12975 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12976 ( cat <<\_ASBOX
12977 ## ------------------------------------ ##
12978 ## Report this to wine-devel@winehq.org ##
12979 ## ------------------------------------ ##
12980 _ASBOX
12981 ) | sed "s/^/$as_me: WARNING: /" >&2
12983 esac
12984 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12985 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12986 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12987 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 else
12989 ac_cv_header_sane_sane_h=$ac_header_preproc
12991 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12992 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12995 if test $ac_cv_header_sane_sane_h = yes; then
12996 { echo "$as_me:$LINENO: checking for -lsane" >&5
12997 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12998 if test "${ac_cv_lib_soname_sane+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13000 else
13001 ac_check_soname_save_LIBS=$LIBS
13002 LIBS="-lsane $LIBS"
13003 cat >conftest.$ac_ext <<_ACEOF
13004 /* confdefs.h. */
13005 _ACEOF
13006 cat confdefs.h >>conftest.$ac_ext
13007 cat >>conftest.$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13010 /* Override any GCC internal prototype to avoid an error.
13011 Use char because int might match the return type of a GCC
13012 builtin and then its argument prototype would still apply. */
13013 #ifdef __cplusplus
13014 extern "C"
13015 #endif
13016 char sane_init ();
13018 main ()
13020 return sane_init ();
13022 return 0;
13024 _ACEOF
13025 rm -f conftest.$ac_objext conftest$ac_exeext
13026 if { (ac_try="$ac_link"
13027 case "(($ac_try" in
13028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13029 *) ac_try_echo=$ac_try;;
13030 esac
13031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13032 (eval "$ac_link") 2>conftest.er1
13033 ac_status=$?
13034 grep -v '^ *+' conftest.er1 >conftest.err
13035 rm -f conftest.er1
13036 cat conftest.err >&5
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); } && {
13039 test -z "$ac_c_werror_flag" ||
13040 test ! -s conftest.err
13041 } && test -s conftest$ac_exeext &&
13042 $as_test_x conftest$ac_exeext; then
13043 case "$LIBEXT" in
13044 dll) ;;
13045 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'` ;;
13046 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13047 esac
13048 else
13049 echo "$as_me: failed program was:" >&5
13050 sed 's/^/| /' conftest.$ac_ext >&5
13055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13056 conftest$ac_exeext conftest.$ac_ext
13057 LIBS=$ac_check_soname_save_LIBS
13059 if test "x$ac_cv_lib_soname_sane" = "x"; then
13060 { echo "$as_me:$LINENO: result: not found" >&5
13061 echo "${ECHO_T}not found" >&6; }
13063 else
13064 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13065 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13067 cat >>confdefs.h <<_ACEOF
13068 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13069 _ACEOF
13071 SANEINCL="$ac_sane_incl"
13078 CPPFLAGS="$ac_save_CPPFLAGS"
13080 if test "x$ac_cv_lib_soname_sane" = "x"; then
13081 case "x$with_sane" in
13082 x) wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13083 xno) ;;
13084 *) { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13085 This is an error since --with-sane was requested." >&5
13086 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13087 This is an error since --with-sane was requested." >&2;}
13088 { (exit 1); exit 1; }; } ;;
13089 esac
13093 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13094 set dummy gphoto2-config; ac_word=$2
13095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13097 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13099 else
13100 if test -n "$gphoto2_devel"; then
13101 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13102 else
13103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13104 for as_dir in $PATH
13106 IFS=$as_save_IFS
13107 test -z "$as_dir" && as_dir=.
13108 for ac_exec_ext in '' $ac_executable_extensions; do
13109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13110 ac_cv_prog_gphoto2_devel="gphoto2-config"
13111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13112 break 2
13114 done
13115 done
13116 IFS=$as_save_IFS
13118 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13121 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13122 if test -n "$gphoto2_devel"; then
13123 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13124 echo "${ECHO_T}$gphoto2_devel" >&6; }
13125 else
13126 { echo "$as_me:$LINENO: result: no" >&5
13127 echo "${ECHO_T}no" >&6; }
13131 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13132 set dummy gphoto2-port-config; ac_word=$2
13133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13135 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13137 else
13138 if test -n "$gphoto2port_devel"; then
13139 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13140 else
13141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13142 for as_dir in $PATH
13144 IFS=$as_save_IFS
13145 test -z "$as_dir" && as_dir=.
13146 for ac_exec_ext in '' $ac_executable_extensions; do
13147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13148 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13150 break 2
13152 done
13153 done
13154 IFS=$as_save_IFS
13156 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13159 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13160 if test -n "$gphoto2port_devel"; then
13161 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13162 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13163 else
13164 { echo "$as_me:$LINENO: result: no" >&5
13165 echo "${ECHO_T}no" >&6; }
13169 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13170 then
13171 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13172 ac_gphoto2_libs=""
13173 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13175 case "$i" in
13176 -L/usr/lib|-L/usr/lib64) ;;
13177 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13178 esac
13179 done
13180 ac_save_CPPFLAGS="$CPPFLAGS"
13181 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13182 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13183 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13184 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13185 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13186 echo $ECHO_N "(cached) $ECHO_C" >&6
13188 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13189 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13190 else
13191 # Is the header compilable?
13192 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13193 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13194 cat >conftest.$ac_ext <<_ACEOF
13195 /* confdefs.h. */
13196 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200 $ac_includes_default
13201 #include <gphoto2-camera.h>
13202 _ACEOF
13203 rm -f conftest.$ac_objext
13204 if { (ac_try="$ac_compile"
13205 case "(($ac_try" in
13206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13207 *) ac_try_echo=$ac_try;;
13208 esac
13209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13210 (eval "$ac_compile") 2>conftest.er1
13211 ac_status=$?
13212 grep -v '^ *+' conftest.er1 >conftest.err
13213 rm -f conftest.er1
13214 cat conftest.err >&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } && {
13217 test -z "$ac_c_werror_flag" ||
13218 test ! -s conftest.err
13219 } && test -s conftest.$ac_objext; then
13220 ac_header_compiler=yes
13221 else
13222 echo "$as_me: failed program was:" >&5
13223 sed 's/^/| /' conftest.$ac_ext >&5
13225 ac_header_compiler=no
13228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13229 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13230 echo "${ECHO_T}$ac_header_compiler" >&6; }
13232 # Is the header present?
13233 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13234 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13235 cat >conftest.$ac_ext <<_ACEOF
13236 /* confdefs.h. */
13237 _ACEOF
13238 cat confdefs.h >>conftest.$ac_ext
13239 cat >>conftest.$ac_ext <<_ACEOF
13240 /* end confdefs.h. */
13241 #include <gphoto2-camera.h>
13242 _ACEOF
13243 if { (ac_try="$ac_cpp conftest.$ac_ext"
13244 case "(($ac_try" in
13245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13246 *) ac_try_echo=$ac_try;;
13247 esac
13248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13249 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13250 ac_status=$?
13251 grep -v '^ *+' conftest.er1 >conftest.err
13252 rm -f conftest.er1
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } >/dev/null && {
13256 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13257 test ! -s conftest.err
13258 }; then
13259 ac_header_preproc=yes
13260 else
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.$ac_ext >&5
13264 ac_header_preproc=no
13267 rm -f conftest.err conftest.$ac_ext
13268 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13269 echo "${ECHO_T}$ac_header_preproc" >&6; }
13271 # So? What about this header?
13272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13273 yes:no: )
13274 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13275 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13276 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13277 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13278 ac_header_preproc=yes
13280 no:yes:* )
13281 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13282 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13283 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
13284 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
13285 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13286 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13287 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
13288 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
13289 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13290 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13291 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13292 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13293 ( cat <<\_ASBOX
13294 ## ------------------------------------ ##
13295 ## Report this to wine-devel@winehq.org ##
13296 ## ------------------------------------ ##
13297 _ASBOX
13298 ) | sed "s/^/$as_me: WARNING: /" >&2
13300 esac
13301 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13302 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13303 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13304 echo $ECHO_N "(cached) $ECHO_C" >&6
13305 else
13306 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13308 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13309 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13312 if test $ac_cv_header_gphoto2_camera_h = yes; then
13313 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13314 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13315 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6
13317 else
13318 ac_check_lib_save_LIBS=$LIBS
13319 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13320 cat >conftest.$ac_ext <<_ACEOF
13321 /* confdefs.h. */
13322 _ACEOF
13323 cat confdefs.h >>conftest.$ac_ext
13324 cat >>conftest.$ac_ext <<_ACEOF
13325 /* end confdefs.h. */
13327 /* Override any GCC internal prototype to avoid an error.
13328 Use char because int might match the return type of a GCC
13329 builtin and then its argument prototype would still apply. */
13330 #ifdef __cplusplus
13331 extern "C"
13332 #endif
13333 char gp_camera_new ();
13335 main ()
13337 return gp_camera_new ();
13339 return 0;
13341 _ACEOF
13342 rm -f conftest.$ac_objext conftest$ac_exeext
13343 if { (ac_try="$ac_link"
13344 case "(($ac_try" in
13345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13346 *) ac_try_echo=$ac_try;;
13347 esac
13348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13349 (eval "$ac_link") 2>conftest.er1
13350 ac_status=$?
13351 grep -v '^ *+' conftest.er1 >conftest.err
13352 rm -f conftest.er1
13353 cat conftest.err >&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } && {
13356 test -z "$ac_c_werror_flag" ||
13357 test ! -s conftest.err
13358 } && test -s conftest$ac_exeext &&
13359 $as_test_x conftest$ac_exeext; then
13360 ac_cv_lib_gphoto2_gp_camera_new=yes
13361 else
13362 echo "$as_me: failed program was:" >&5
13363 sed 's/^/| /' conftest.$ac_ext >&5
13365 ac_cv_lib_gphoto2_gp_camera_new=no
13368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13369 conftest$ac_exeext conftest.$ac_ext
13370 LIBS=$ac_check_lib_save_LIBS
13372 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13373 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13374 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13376 cat >>confdefs.h <<\_ACEOF
13377 #define HAVE_GPHOTO2 1
13378 _ACEOF
13380 GPHOTO2LIBS="$ac_gphoto2_libs"
13382 GPHOTO2INCL="$ac_gphoto2_incl"
13389 CPPFLAGS="$ac_save_CPPFLAGS"
13391 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13392 case "x$with_gphoto" in
13393 x) wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13394 xno) ;;
13395 *) { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13396 This is an error since --with-gphoto was requested." >&5
13397 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13398 This is an error since --with-gphoto was requested." >&2;}
13399 { (exit 1); exit 1; }; } ;;
13400 esac
13405 RESOLVLIBS=""
13407 if test "$ac_cv_header_resolv_h" = "yes"
13408 then
13409 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13410 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13411 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13414 ac_check_lib_save_LIBS=$LIBS
13415 LIBS="-lresolv $LIBS"
13416 cat >conftest.$ac_ext <<_ACEOF
13417 /* confdefs.h. */
13418 _ACEOF
13419 cat confdefs.h >>conftest.$ac_ext
13420 cat >>conftest.$ac_ext <<_ACEOF
13421 /* end confdefs.h. */
13423 /* Override any GCC internal prototype to avoid an error.
13424 Use char because int might match the return type of a GCC
13425 builtin and then its argument prototype would still apply. */
13426 #ifdef __cplusplus
13427 extern "C"
13428 #endif
13429 char res_query ();
13431 main ()
13433 return res_query ();
13435 return 0;
13437 _ACEOF
13438 rm -f conftest.$ac_objext conftest$ac_exeext
13439 if { (ac_try="$ac_link"
13440 case "(($ac_try" in
13441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13442 *) ac_try_echo=$ac_try;;
13443 esac
13444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13445 (eval "$ac_link") 2>conftest.er1
13446 ac_status=$?
13447 grep -v '^ *+' conftest.er1 >conftest.err
13448 rm -f conftest.er1
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } && {
13452 test -z "$ac_c_werror_flag" ||
13453 test ! -s conftest.err
13454 } && test -s conftest$ac_exeext &&
13455 $as_test_x conftest$ac_exeext; then
13456 ac_cv_lib_resolv_res_query=yes
13457 else
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13461 ac_cv_lib_resolv_res_query=no
13464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_lib_save_LIBS
13468 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13469 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13470 if test $ac_cv_lib_resolv_res_query = yes; then
13472 cat >>confdefs.h <<\_ACEOF
13473 #define HAVE_RESOLV 1
13474 _ACEOF
13476 RESOLVLIBS="-lresolv"
13481 LCMSLIBS=""
13483 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13484 then
13485 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13486 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13487 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13488 echo $ECHO_N "(cached) $ECHO_C" >&6
13489 else
13490 ac_check_lib_save_LIBS=$LIBS
13491 LIBS="-llcms $LIBS"
13492 cat >conftest.$ac_ext <<_ACEOF
13493 /* confdefs.h. */
13494 _ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13499 /* Override any GCC internal prototype to avoid an error.
13500 Use char because int might match the return type of a GCC
13501 builtin and then its argument prototype would still apply. */
13502 #ifdef __cplusplus
13503 extern "C"
13504 #endif
13505 char cmsOpenProfileFromFile ();
13507 main ()
13509 return cmsOpenProfileFromFile ();
13511 return 0;
13513 _ACEOF
13514 rm -f conftest.$ac_objext conftest$ac_exeext
13515 if { (ac_try="$ac_link"
13516 case "(($ac_try" in
13517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13518 *) ac_try_echo=$ac_try;;
13519 esac
13520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13521 (eval "$ac_link") 2>conftest.er1
13522 ac_status=$?
13523 grep -v '^ *+' conftest.er1 >conftest.err
13524 rm -f conftest.er1
13525 cat conftest.err >&5
13526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); } && {
13528 test -z "$ac_c_werror_flag" ||
13529 test ! -s conftest.err
13530 } && test -s conftest$ac_exeext &&
13531 $as_test_x conftest$ac_exeext; then
13532 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13533 else
13534 echo "$as_me: failed program was:" >&5
13535 sed 's/^/| /' conftest.$ac_ext >&5
13537 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13541 conftest$ac_exeext conftest.$ac_ext
13542 LIBS=$ac_check_lib_save_LIBS
13544 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13545 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13546 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13548 cat >>confdefs.h <<\_ACEOF
13549 #define HAVE_LCMS 1
13550 _ACEOF
13552 LCMSLIBS="-llcms"
13556 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13557 case "x$with_cms" in
13558 x) wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13559 xno) ;;
13560 *) { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13561 This is an error since --with-cms was requested." >&5
13562 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13563 This is an error since --with-cms was requested." >&2;}
13564 { (exit 1); exit 1; }; } ;;
13565 esac
13569 LDAPLIBS=""
13571 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13572 then
13573 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13574 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13575 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13576 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 else
13578 ac_check_lib_save_LIBS=$LIBS
13579 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13580 cat >conftest.$ac_ext <<_ACEOF
13581 /* confdefs.h. */
13582 _ACEOF
13583 cat confdefs.h >>conftest.$ac_ext
13584 cat >>conftest.$ac_ext <<_ACEOF
13585 /* end confdefs.h. */
13587 /* Override any GCC internal prototype to avoid an error.
13588 Use char because int might match the return type of a GCC
13589 builtin and then its argument prototype would still apply. */
13590 #ifdef __cplusplus
13591 extern "C"
13592 #endif
13593 char ldap_initialize ();
13595 main ()
13597 return ldap_initialize ();
13599 return 0;
13601 _ACEOF
13602 rm -f conftest.$ac_objext conftest$ac_exeext
13603 if { (ac_try="$ac_link"
13604 case "(($ac_try" in
13605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13606 *) ac_try_echo=$ac_try;;
13607 esac
13608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13609 (eval "$ac_link") 2>conftest.er1
13610 ac_status=$?
13611 grep -v '^ *+' conftest.er1 >conftest.err
13612 rm -f conftest.er1
13613 cat conftest.err >&5
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } && {
13616 test -z "$ac_c_werror_flag" ||
13617 test ! -s conftest.err
13618 } && test -s conftest$ac_exeext &&
13619 $as_test_x conftest$ac_exeext; then
13620 ac_cv_lib_ldap_r_ldap_initialize=yes
13621 else
13622 echo "$as_me: failed program was:" >&5
13623 sed 's/^/| /' conftest.$ac_ext >&5
13625 ac_cv_lib_ldap_r_ldap_initialize=no
13628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13629 conftest$ac_exeext conftest.$ac_ext
13630 LIBS=$ac_check_lib_save_LIBS
13632 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13633 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13634 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13635 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13636 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13637 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13639 else
13640 ac_check_lib_save_LIBS=$LIBS
13641 LIBS="-llber $LIBPTHREAD $LIBS"
13642 cat >conftest.$ac_ext <<_ACEOF
13643 /* confdefs.h. */
13644 _ACEOF
13645 cat confdefs.h >>conftest.$ac_ext
13646 cat >>conftest.$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13649 /* Override any GCC internal prototype to avoid an error.
13650 Use char because int might match the return type of a GCC
13651 builtin and then its argument prototype would still apply. */
13652 #ifdef __cplusplus
13653 extern "C"
13654 #endif
13655 char ber_init ();
13657 main ()
13659 return ber_init ();
13661 return 0;
13663 _ACEOF
13664 rm -f conftest.$ac_objext conftest$ac_exeext
13665 if { (ac_try="$ac_link"
13666 case "(($ac_try" in
13667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13668 *) ac_try_echo=$ac_try;;
13669 esac
13670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13671 (eval "$ac_link") 2>conftest.er1
13672 ac_status=$?
13673 grep -v '^ *+' conftest.er1 >conftest.err
13674 rm -f conftest.er1
13675 cat conftest.err >&5
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } && {
13678 test -z "$ac_c_werror_flag" ||
13679 test ! -s conftest.err
13680 } && test -s conftest$ac_exeext &&
13681 $as_test_x conftest$ac_exeext; then
13682 ac_cv_lib_lber_ber_init=yes
13683 else
13684 echo "$as_me: failed program was:" >&5
13685 sed 's/^/| /' conftest.$ac_ext >&5
13687 ac_cv_lib_lber_ber_init=no
13690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13691 conftest$ac_exeext conftest.$ac_ext
13692 LIBS=$ac_check_lib_save_LIBS
13694 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13695 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13696 if test $ac_cv_lib_lber_ber_init = yes; then
13698 cat >>confdefs.h <<\_ACEOF
13699 #define HAVE_LDAP 1
13700 _ACEOF
13702 LDAPLIBS="-lldap_r -llber"
13707 ac_wine_check_funcs_save_LIBS="$LIBS"
13708 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13717 for ac_func in \
13718 ldap_count_references \
13719 ldap_first_reference \
13720 ldap_next_reference \
13721 ldap_parse_reference \
13722 ldap_parse_sort_control \
13723 ldap_parse_sortresponse_control \
13724 ldap_parse_vlv_control \
13725 ldap_parse_vlvresponse_control
13727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13731 echo $ECHO_N "(cached) $ECHO_C" >&6
13732 else
13733 cat >conftest.$ac_ext <<_ACEOF
13734 /* confdefs.h. */
13735 _ACEOF
13736 cat confdefs.h >>conftest.$ac_ext
13737 cat >>conftest.$ac_ext <<_ACEOF
13738 /* end confdefs.h. */
13739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13741 #define $ac_func innocuous_$ac_func
13743 /* System header to define __stub macros and hopefully few prototypes,
13744 which can conflict with char $ac_func (); below.
13745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13746 <limits.h> exists even on freestanding compilers. */
13748 #ifdef __STDC__
13749 # include <limits.h>
13750 #else
13751 # include <assert.h>
13752 #endif
13754 #undef $ac_func
13756 /* Override any GCC internal prototype to avoid an error.
13757 Use char because int might match the return type of a GCC
13758 builtin and then its argument prototype would still apply. */
13759 #ifdef __cplusplus
13760 extern "C"
13761 #endif
13762 char $ac_func ();
13763 /* The GNU C library defines this for functions which it implements
13764 to always fail with ENOSYS. Some functions are actually named
13765 something starting with __ and the normal name is an alias. */
13766 #if defined __stub_$ac_func || defined __stub___$ac_func
13767 choke me
13768 #endif
13771 main ()
13773 return $ac_func ();
13775 return 0;
13777 _ACEOF
13778 rm -f conftest.$ac_objext conftest$ac_exeext
13779 if { (ac_try="$ac_link"
13780 case "(($ac_try" in
13781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13782 *) ac_try_echo=$ac_try;;
13783 esac
13784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13785 (eval "$ac_link") 2>conftest.er1
13786 ac_status=$?
13787 grep -v '^ *+' conftest.er1 >conftest.err
13788 rm -f conftest.er1
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } && {
13792 test -z "$ac_c_werror_flag" ||
13793 test ! -s conftest.err
13794 } && test -s conftest$ac_exeext &&
13795 $as_test_x conftest$ac_exeext; then
13796 eval "$as_ac_var=yes"
13797 else
13798 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.$ac_ext >&5
13801 eval "$as_ac_var=no"
13804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13805 conftest$ac_exeext conftest.$ac_ext
13807 ac_res=`eval echo '${'$as_ac_var'}'`
13808 { echo "$as_me:$LINENO: result: $ac_res" >&5
13809 echo "${ECHO_T}$ac_res" >&6; }
13810 if test `eval echo '${'$as_ac_var'}'` = yes; then
13811 cat >>confdefs.h <<_ACEOF
13812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13813 _ACEOF
13816 done
13818 LIBS="$ac_wine_check_funcs_save_LIBS"
13820 if test "x$LDAPLIBS" = "x"; then
13821 case "x$with_ldap" in
13822 x) wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13823 xno) ;;
13824 *) { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13825 This is an error since --with-ldap was requested." >&5
13826 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13827 This is an error since --with-ldap was requested." >&2;}
13828 { (exit 1); exit 1; }; } ;;
13829 esac
13833 for ac_prog in freetype-config freetype2-config
13835 # Extract the first word of "$ac_prog", so it can be a program name with args.
13836 set dummy $ac_prog; ac_word=$2
13837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13839 if test "${ac_cv_prog_ft_devel+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13841 else
13842 if test -n "$ft_devel"; then
13843 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13844 else
13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13846 for as_dir in $PATH
13848 IFS=$as_save_IFS
13849 test -z "$as_dir" && as_dir=.
13850 for ac_exec_ext in '' $ac_executable_extensions; do
13851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13852 ac_cv_prog_ft_devel="$ac_prog"
13853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13854 break 2
13856 done
13857 done
13858 IFS=$as_save_IFS
13862 ft_devel=$ac_cv_prog_ft_devel
13863 if test -n "$ft_devel"; then
13864 { echo "$as_me:$LINENO: result: $ft_devel" >&5
13865 echo "${ECHO_T}$ft_devel" >&6; }
13866 else
13867 { echo "$as_me:$LINENO: result: no" >&5
13868 echo "${ECHO_T}no" >&6; }
13872 test -n "$ft_devel" && break
13873 done
13874 test -n "$ft_devel" || ft_devel="false"
13876 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13877 then
13878 ac_freetype_libs=`$ft_devel --libs`
13879 ac_freetype_incl=`$ft_devel --cflags`
13880 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13881 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13882 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13883 echo $ECHO_N "(cached) $ECHO_C" >&6
13884 else
13885 ac_check_soname_save_LIBS=$LIBS
13886 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13887 cat >conftest.$ac_ext <<_ACEOF
13888 /* confdefs.h. */
13889 _ACEOF
13890 cat confdefs.h >>conftest.$ac_ext
13891 cat >>conftest.$ac_ext <<_ACEOF
13892 /* end confdefs.h. */
13894 /* Override any GCC internal prototype to avoid an error.
13895 Use char because int might match the return type of a GCC
13896 builtin and then its argument prototype would still apply. */
13897 #ifdef __cplusplus
13898 extern "C"
13899 #endif
13900 char FT_Init_FreeType ();
13902 main ()
13904 return FT_Init_FreeType ();
13906 return 0;
13908 _ACEOF
13909 rm -f conftest.$ac_objext conftest$ac_exeext
13910 if { (ac_try="$ac_link"
13911 case "(($ac_try" in
13912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13913 *) ac_try_echo=$ac_try;;
13914 esac
13915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13916 (eval "$ac_link") 2>conftest.er1
13917 ac_status=$?
13918 grep -v '^ *+' conftest.er1 >conftest.err
13919 rm -f conftest.er1
13920 cat conftest.err >&5
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); } && {
13923 test -z "$ac_c_werror_flag" ||
13924 test ! -s conftest.err
13925 } && test -s conftest$ac_exeext &&
13926 $as_test_x conftest$ac_exeext; then
13927 case "$LIBEXT" in
13928 dll) ;;
13929 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'` ;;
13930 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13931 esac
13932 else
13933 echo "$as_me: failed program was:" >&5
13934 sed 's/^/| /' conftest.$ac_ext >&5
13939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13940 conftest$ac_exeext conftest.$ac_ext
13941 LIBS=$ac_check_soname_save_LIBS
13943 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13944 { echo "$as_me:$LINENO: result: not found" >&5
13945 echo "${ECHO_T}not found" >&6; }
13946 ft_lib=no
13947 else
13948 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13949 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13951 cat >>confdefs.h <<_ACEOF
13952 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13953 _ACEOF
13955 ft_lib=yes
13958 if test "$ft_lib" = "yes"
13959 then
13960 ac_save_CPPFLAGS="$CPPFLAGS"
13961 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13974 for ac_header in ft2build.h \
13975 freetype/freetype.h \
13976 freetype/ftglyph.h \
13977 freetype/fttypes.h \
13978 freetype/tttables.h \
13979 freetype/ftnames.h \
13980 freetype/ftsnames.h \
13981 freetype/ttnameid.h \
13982 freetype/ftoutln.h \
13983 freetype/ftwinfnt.h \
13984 freetype/ftmodapi.h \
13985 freetype/internal/sfnt.h
13987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13988 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 else
13993 cat >conftest.$ac_ext <<_ACEOF
13994 /* confdefs.h. */
13995 _ACEOF
13996 cat confdefs.h >>conftest.$ac_ext
13997 cat >>conftest.$ac_ext <<_ACEOF
13998 /* end confdefs.h. */
13999 #ifdef HAVE_FT2BUILD_H
14000 # include <ft2build.h>
14001 #endif
14003 #include <$ac_header>
14004 _ACEOF
14005 rm -f conftest.$ac_objext
14006 if { (ac_try="$ac_compile"
14007 case "(($ac_try" in
14008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14009 *) ac_try_echo=$ac_try;;
14010 esac
14011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14012 (eval "$ac_compile") 2>conftest.er1
14013 ac_status=$?
14014 grep -v '^ *+' conftest.er1 >conftest.err
14015 rm -f conftest.er1
14016 cat conftest.err >&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } && {
14019 test -z "$ac_c_werror_flag" ||
14020 test ! -s conftest.err
14021 } && test -s conftest.$ac_objext; then
14022 eval "$as_ac_Header=yes"
14023 else
14024 echo "$as_me: failed program was:" >&5
14025 sed 's/^/| /' conftest.$ac_ext >&5
14027 eval "$as_ac_Header=no"
14030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14032 ac_res=`eval echo '${'$as_ac_Header'}'`
14033 { echo "$as_me:$LINENO: result: $ac_res" >&5
14034 echo "${ECHO_T}$ac_res" >&6; }
14035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14036 cat >>confdefs.h <<_ACEOF
14037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14038 _ACEOF
14042 done
14044 cat >conftest.$ac_ext <<_ACEOF
14045 /* confdefs.h. */
14046 _ACEOF
14047 cat confdefs.h >>conftest.$ac_ext
14048 cat >>conftest.$ac_ext <<_ACEOF
14049 /* end confdefs.h. */
14050 #include <ft2build.h>
14051 #include <freetype/fttrigon.h>
14052 _ACEOF
14053 if { (ac_try="$ac_cpp conftest.$ac_ext"
14054 case "(($ac_try" in
14055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14056 *) ac_try_echo=$ac_try;;
14057 esac
14058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14060 ac_status=$?
14061 grep -v '^ *+' conftest.er1 >conftest.err
14062 rm -f conftest.er1
14063 cat conftest.err >&5
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); } >/dev/null && {
14066 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14067 test ! -s conftest.err
14068 }; then
14070 cat >>confdefs.h <<\_ACEOF
14071 #define HAVE_FREETYPE_FTTRIGON_H 1
14072 _ACEOF
14074 wine_cv_fttrigon=yes
14075 else
14076 echo "$as_me: failed program was:" >&5
14077 sed 's/^/| /' conftest.$ac_ext >&5
14079 wine_cv_fttrigon=no
14082 rm -f conftest.err conftest.$ac_ext
14083 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14084 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14085 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6
14087 else
14088 cat >conftest.$ac_ext <<_ACEOF
14089 /* confdefs.h. */
14090 _ACEOF
14091 cat confdefs.h >>conftest.$ac_ext
14092 cat >>conftest.$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094 #include <freetype/ftmodapi.h>
14096 typedef FT_TrueTypeEngineType ac__type_new_;
14098 main ()
14100 if ((ac__type_new_ *) 0)
14101 return 0;
14102 if (sizeof (ac__type_new_))
14103 return 0;
14105 return 0;
14107 _ACEOF
14108 rm -f conftest.$ac_objext
14109 if { (ac_try="$ac_compile"
14110 case "(($ac_try" in
14111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14112 *) ac_try_echo=$ac_try;;
14113 esac
14114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14115 (eval "$ac_compile") 2>conftest.er1
14116 ac_status=$?
14117 grep -v '^ *+' conftest.er1 >conftest.err
14118 rm -f conftest.er1
14119 cat conftest.err >&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); } && {
14122 test -z "$ac_c_werror_flag" ||
14123 test ! -s conftest.err
14124 } && test -s conftest.$ac_objext; then
14125 ac_cv_type_FT_TrueTypeEngineType=yes
14126 else
14127 echo "$as_me: failed program was:" >&5
14128 sed 's/^/| /' conftest.$ac_ext >&5
14130 ac_cv_type_FT_TrueTypeEngineType=no
14133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14135 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14136 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14137 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14139 cat >>confdefs.h <<_ACEOF
14140 #define HAVE_FT_TRUETYPEENGINETYPE 1
14141 _ACEOF
14146 ac_save_CFLAGS="$CFLAGS"
14147 CFLAGS="$CFLAGS $ac_freetype_libs"
14149 for ac_func in FT_Load_Sfnt_Table
14151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14152 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14154 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14155 echo $ECHO_N "(cached) $ECHO_C" >&6
14156 else
14157 cat >conftest.$ac_ext <<_ACEOF
14158 /* confdefs.h. */
14159 _ACEOF
14160 cat confdefs.h >>conftest.$ac_ext
14161 cat >>conftest.$ac_ext <<_ACEOF
14162 /* end confdefs.h. */
14163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14165 #define $ac_func innocuous_$ac_func
14167 /* System header to define __stub macros and hopefully few prototypes,
14168 which can conflict with char $ac_func (); below.
14169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14170 <limits.h> exists even on freestanding compilers. */
14172 #ifdef __STDC__
14173 # include <limits.h>
14174 #else
14175 # include <assert.h>
14176 #endif
14178 #undef $ac_func
14180 /* Override any GCC internal prototype to avoid an error.
14181 Use char because int might match the return type of a GCC
14182 builtin and then its argument prototype would still apply. */
14183 #ifdef __cplusplus
14184 extern "C"
14185 #endif
14186 char $ac_func ();
14187 /* The GNU C library defines this for functions which it implements
14188 to always fail with ENOSYS. Some functions are actually named
14189 something starting with __ and the normal name is an alias. */
14190 #if defined __stub_$ac_func || defined __stub___$ac_func
14191 choke me
14192 #endif
14195 main ()
14197 return $ac_func ();
14199 return 0;
14201 _ACEOF
14202 rm -f conftest.$ac_objext conftest$ac_exeext
14203 if { (ac_try="$ac_link"
14204 case "(($ac_try" in
14205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14206 *) ac_try_echo=$ac_try;;
14207 esac
14208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14209 (eval "$ac_link") 2>conftest.er1
14210 ac_status=$?
14211 grep -v '^ *+' conftest.er1 >conftest.err
14212 rm -f conftest.er1
14213 cat conftest.err >&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } && {
14216 test -z "$ac_c_werror_flag" ||
14217 test ! -s conftest.err
14218 } && test -s conftest$ac_exeext &&
14219 $as_test_x conftest$ac_exeext; then
14220 eval "$as_ac_var=yes"
14221 else
14222 echo "$as_me: failed program was:" >&5
14223 sed 's/^/| /' conftest.$ac_ext >&5
14225 eval "$as_ac_var=no"
14228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14229 conftest$ac_exeext conftest.$ac_ext
14231 ac_res=`eval echo '${'$as_ac_var'}'`
14232 { echo "$as_me:$LINENO: result: $ac_res" >&5
14233 echo "${ECHO_T}$ac_res" >&6; }
14234 if test `eval echo '${'$as_ac_var'}'` = yes; then
14235 cat >>confdefs.h <<_ACEOF
14236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14237 _ACEOF
14240 done
14242 CFLAGS="$ac_save_CFLAGS"
14243 CPPFLAGS="$ac_save_CPPFLAGS"
14244 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14245 then
14247 cat >>confdefs.h <<\_ACEOF
14248 #define HAVE_FREETYPE 1
14249 _ACEOF
14251 FREETYPELIBS="$ac_freetype_libs"
14253 FREETYPEINCL="$ac_freetype_incl"
14255 FONTSSUBDIRS="fonts"
14260 if test "x$FREETYPELIBS" = "x"; then
14261 case "x$with_freetype" in
14262 xno) ;;
14263 *) { { echo "$as_me:$LINENO: error: FreeType development files not found.
14264 Fonts will not be built. Dialog text may be invisible or unaligned.
14265 Use the --without-freetype option if you really want this." >&5
14266 echo "$as_me: error: FreeType development files not found.
14267 Fonts will not be built. Dialog text may be invisible or unaligned.
14268 Use the --without-freetype option if you really want this." >&2;}
14269 { (exit 1); exit 1; }; } ;;
14270 esac
14274 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14275 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14276 if test "${ac_cv_c_ppdev+set}" = set; then
14277 echo $ECHO_N "(cached) $ECHO_C" >&6
14278 else
14279 cat >conftest.$ac_ext <<_ACEOF
14280 /* confdefs.h. */
14281 _ACEOF
14282 cat confdefs.h >>conftest.$ac_ext
14283 cat >>conftest.$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14285 #include <linux/ppdev.h>
14287 main ()
14289 ioctl (1,PPCLAIM,0)
14291 return 0;
14293 _ACEOF
14294 rm -f conftest.$ac_objext
14295 if { (ac_try="$ac_compile"
14296 case "(($ac_try" in
14297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14298 *) ac_try_echo=$ac_try;;
14299 esac
14300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 (eval "$ac_compile") 2>conftest.er1
14302 ac_status=$?
14303 grep -v '^ *+' conftest.er1 >conftest.err
14304 rm -f conftest.er1
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } && {
14308 test -z "$ac_c_werror_flag" ||
14309 test ! -s conftest.err
14310 } && test -s conftest.$ac_objext; then
14311 ac_cv_c_ppdev="yes"
14312 else
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.$ac_ext >&5
14316 ac_cv_c_ppdev="no"
14319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14321 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14322 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14323 if test "$ac_cv_c_ppdev" = "yes"
14324 then
14326 cat >>confdefs.h <<\_ACEOF
14327 #define HAVE_PPDEV 1
14328 _ACEOF
14332 { echo "$as_me:$LINENO: checking for va_copy" >&5
14333 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14334 if test "${ac_cv_c_va_copy+set}" = set; then
14335 echo $ECHO_N "(cached) $ECHO_C" >&6
14336 else
14337 cat >conftest.$ac_ext <<_ACEOF
14338 /* confdefs.h. */
14339 _ACEOF
14340 cat confdefs.h >>conftest.$ac_ext
14341 cat >>conftest.$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 #include <stdarg.h>
14345 main ()
14347 va_list ap1, ap2; va_copy(ap1,ap2);
14349 return 0;
14351 _ACEOF
14352 rm -f conftest.$ac_objext conftest$ac_exeext
14353 if { (ac_try="$ac_link"
14354 case "(($ac_try" in
14355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14356 *) ac_try_echo=$ac_try;;
14357 esac
14358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14359 (eval "$ac_link") 2>conftest.er1
14360 ac_status=$?
14361 grep -v '^ *+' conftest.er1 >conftest.err
14362 rm -f conftest.er1
14363 cat conftest.err >&5
14364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365 (exit $ac_status); } && {
14366 test -z "$ac_c_werror_flag" ||
14367 test ! -s conftest.err
14368 } && test -s conftest$ac_exeext &&
14369 $as_test_x conftest$ac_exeext; then
14370 ac_cv_c_va_copy="yes"
14371 else
14372 echo "$as_me: failed program was:" >&5
14373 sed 's/^/| /' conftest.$ac_ext >&5
14375 ac_cv_c_va_copy="no"
14378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14379 conftest$ac_exeext conftest.$ac_ext
14382 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14383 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14384 if test "$ac_cv_c_va_copy" = "yes"
14385 then
14387 cat >>confdefs.h <<\_ACEOF
14388 #define HAVE_VA_COPY 1
14389 _ACEOF
14392 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14393 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14394 if test "${ac_cv_c___va_copy+set}" = set; then
14395 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 else
14397 cat >conftest.$ac_ext <<_ACEOF
14398 /* confdefs.h. */
14399 _ACEOF
14400 cat confdefs.h >>conftest.$ac_ext
14401 cat >>conftest.$ac_ext <<_ACEOF
14402 /* end confdefs.h. */
14403 #include <stdarg.h>
14405 main ()
14407 va_list ap1, ap2; __va_copy(ap1,ap2);
14409 return 0;
14411 _ACEOF
14412 rm -f conftest.$ac_objext conftest$ac_exeext
14413 if { (ac_try="$ac_link"
14414 case "(($ac_try" in
14415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14416 *) ac_try_echo=$ac_try;;
14417 esac
14418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14419 (eval "$ac_link") 2>conftest.er1
14420 ac_status=$?
14421 grep -v '^ *+' conftest.er1 >conftest.err
14422 rm -f conftest.er1
14423 cat conftest.err >&5
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); } && {
14426 test -z "$ac_c_werror_flag" ||
14427 test ! -s conftest.err
14428 } && test -s conftest$ac_exeext &&
14429 $as_test_x conftest$ac_exeext; then
14430 ac_cv_c___va_copy="yes"
14431 else
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.$ac_ext >&5
14435 ac_cv_c___va_copy="no"
14438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14439 conftest$ac_exeext conftest.$ac_ext
14442 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14443 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14444 if test "$ac_cv_c___va_copy" = "yes"
14445 then
14447 cat >>confdefs.h <<\_ACEOF
14448 #define HAVE___VA_COPY 1
14449 _ACEOF
14453 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14454 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14455 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14456 echo $ECHO_N "(cached) $ECHO_C" >&6
14457 else
14458 cat >conftest.$ac_ext <<_ACEOF
14459 /* confdefs.h. */
14460 _ACEOF
14461 cat confdefs.h >>conftest.$ac_ext
14462 cat >>conftest.$ac_ext <<_ACEOF
14463 /* end confdefs.h. */
14464 #define _GNU_SOURCE
14465 #include <pthread.h>
14467 typedef pthread_rwlock_t ac__type_new_;
14469 main ()
14471 if ((ac__type_new_ *) 0)
14472 return 0;
14473 if (sizeof (ac__type_new_))
14474 return 0;
14476 return 0;
14478 _ACEOF
14479 rm -f conftest.$ac_objext
14480 if { (ac_try="$ac_compile"
14481 case "(($ac_try" in
14482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14483 *) ac_try_echo=$ac_try;;
14484 esac
14485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14486 (eval "$ac_compile") 2>conftest.er1
14487 ac_status=$?
14488 grep -v '^ *+' conftest.er1 >conftest.err
14489 rm -f conftest.er1
14490 cat conftest.err >&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); } && {
14493 test -z "$ac_c_werror_flag" ||
14494 test ! -s conftest.err
14495 } && test -s conftest.$ac_objext; then
14496 ac_cv_type_pthread_rwlock_t=yes
14497 else
14498 echo "$as_me: failed program was:" >&5
14499 sed 's/^/| /' conftest.$ac_ext >&5
14501 ac_cv_type_pthread_rwlock_t=no
14504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14506 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14507 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14508 if test $ac_cv_type_pthread_rwlock_t = yes; then
14510 cat >>confdefs.h <<_ACEOF
14511 #define HAVE_PTHREAD_RWLOCK_T 1
14512 _ACEOF
14516 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14517 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14518 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14519 echo $ECHO_N "(cached) $ECHO_C" >&6
14520 else
14521 cat >conftest.$ac_ext <<_ACEOF
14522 /* confdefs.h. */
14523 _ACEOF
14524 cat confdefs.h >>conftest.$ac_ext
14525 cat >>conftest.$ac_ext <<_ACEOF
14526 /* end confdefs.h. */
14527 #define _GNU_SOURCE
14528 #include <pthread.h>
14530 typedef pthread_rwlockattr_t ac__type_new_;
14532 main ()
14534 if ((ac__type_new_ *) 0)
14535 return 0;
14536 if (sizeof (ac__type_new_))
14537 return 0;
14539 return 0;
14541 _ACEOF
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14547 esac
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 ac_cv_type_pthread_rwlockattr_t=yes
14560 else
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14564 ac_cv_type_pthread_rwlockattr_t=no
14567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14570 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14571 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14573 cat >>confdefs.h <<_ACEOF
14574 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14575 _ACEOF
14581 ac_wine_check_funcs_save_LIBS="$LIBS"
14582 LIBS="$LIBS $LIBPTHREAD"
14587 for ac_func in \
14588 pthread_attr_get_np \
14589 pthread_getattr_np \
14590 pthread_get_stackaddr_np \
14591 pthread_get_stacksize_np
14593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14594 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14596 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14597 echo $ECHO_N "(cached) $ECHO_C" >&6
14598 else
14599 cat >conftest.$ac_ext <<_ACEOF
14600 /* confdefs.h. */
14601 _ACEOF
14602 cat confdefs.h >>conftest.$ac_ext
14603 cat >>conftest.$ac_ext <<_ACEOF
14604 /* end confdefs.h. */
14605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14607 #define $ac_func innocuous_$ac_func
14609 /* System header to define __stub macros and hopefully few prototypes,
14610 which can conflict with char $ac_func (); below.
14611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14612 <limits.h> exists even on freestanding compilers. */
14614 #ifdef __STDC__
14615 # include <limits.h>
14616 #else
14617 # include <assert.h>
14618 #endif
14620 #undef $ac_func
14622 /* Override any GCC internal prototype to avoid an error.
14623 Use char because int might match the return type of a GCC
14624 builtin and then its argument prototype would still apply. */
14625 #ifdef __cplusplus
14626 extern "C"
14627 #endif
14628 char $ac_func ();
14629 /* The GNU C library defines this for functions which it implements
14630 to always fail with ENOSYS. Some functions are actually named
14631 something starting with __ and the normal name is an alias. */
14632 #if defined __stub_$ac_func || defined __stub___$ac_func
14633 choke me
14634 #endif
14637 main ()
14639 return $ac_func ();
14641 return 0;
14643 _ACEOF
14644 rm -f conftest.$ac_objext conftest$ac_exeext
14645 if { (ac_try="$ac_link"
14646 case "(($ac_try" in
14647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14648 *) ac_try_echo=$ac_try;;
14649 esac
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_link") 2>conftest.er1
14652 ac_status=$?
14653 grep -v '^ *+' conftest.er1 >conftest.err
14654 rm -f conftest.er1
14655 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } && {
14658 test -z "$ac_c_werror_flag" ||
14659 test ! -s conftest.err
14660 } && test -s conftest$ac_exeext &&
14661 $as_test_x conftest$ac_exeext; then
14662 eval "$as_ac_var=yes"
14663 else
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.$ac_ext >&5
14667 eval "$as_ac_var=no"
14670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14671 conftest$ac_exeext conftest.$ac_ext
14673 ac_res=`eval echo '${'$as_ac_var'}'`
14674 { echo "$as_me:$LINENO: result: $ac_res" >&5
14675 echo "${ECHO_T}$ac_res" >&6; }
14676 if test `eval echo '${'$as_ac_var'}'` = yes; then
14677 cat >>confdefs.h <<_ACEOF
14678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14679 _ACEOF
14682 done
14684 LIBS="$ac_wine_check_funcs_save_LIBS"
14686 # Extract the first word of "esd-config", so it can be a program name with args.
14687 set dummy esd-config; ac_word=$2
14688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14690 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14691 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 else
14693 case $ESDCONFIG in
14694 [\\/]* | ?:[\\/]*)
14695 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14699 for as_dir in $PATH
14701 IFS=$as_save_IFS
14702 test -z "$as_dir" && as_dir=.
14703 for ac_exec_ext in '' $ac_executable_extensions; do
14704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14705 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14707 break 2
14709 done
14710 done
14711 IFS=$as_save_IFS
14714 esac
14716 ESDCONFIG=$ac_cv_path_ESDCONFIG
14717 if test -n "$ESDCONFIG"; then
14718 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14719 echo "${ECHO_T}$ESDCONFIG" >&6; }
14720 else
14721 { echo "$as_me:$LINENO: result: no" >&5
14722 echo "${ECHO_T}no" >&6; }
14726 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14727 then
14728 ESD_CFLAGS=""
14729 for i in `$ESDCONFIG --cflags`
14731 case "$i" in
14732 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14733 esac
14734 done
14735 ESD_LIBS=`$ESDCONFIG --libs`
14736 save_CFLAGS="$CFLAGS"
14737 CFLAGS="$CFLAGS $ESD_CFLAGS"
14738 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14739 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14740 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14741 echo $ECHO_N "(cached) $ECHO_C" >&6
14742 else
14743 ac_check_lib_save_LIBS=$LIBS
14744 LIBS="-lesd $LIBS"
14745 cat >conftest.$ac_ext <<_ACEOF
14746 /* confdefs.h. */
14747 _ACEOF
14748 cat confdefs.h >>conftest.$ac_ext
14749 cat >>conftest.$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14752 /* Override any GCC internal prototype to avoid an error.
14753 Use char because int might match the return type of a GCC
14754 builtin and then its argument prototype would still apply. */
14755 #ifdef __cplusplus
14756 extern "C"
14757 #endif
14758 char esd_open_sound ();
14760 main ()
14762 return esd_open_sound ();
14764 return 0;
14766 _ACEOF
14767 rm -f conftest.$ac_objext conftest$ac_exeext
14768 if { (ac_try="$ac_link"
14769 case "(($ac_try" in
14770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771 *) ac_try_echo=$ac_try;;
14772 esac
14773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14774 (eval "$ac_link") 2>conftest.er1
14775 ac_status=$?
14776 grep -v '^ *+' conftest.er1 >conftest.err
14777 rm -f conftest.er1
14778 cat conftest.err >&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } && {
14781 test -z "$ac_c_werror_flag" ||
14782 test ! -s conftest.err
14783 } && test -s conftest$ac_exeext &&
14784 $as_test_x conftest$ac_exeext; then
14785 ac_cv_lib_esd_esd_open_sound=yes
14786 else
14787 echo "$as_me: failed program was:" >&5
14788 sed 's/^/| /' conftest.$ac_ext >&5
14790 ac_cv_lib_esd_esd_open_sound=no
14793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14794 conftest$ac_exeext conftest.$ac_ext
14795 LIBS=$ac_check_lib_save_LIBS
14797 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14798 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14799 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14800 ESDLIBS=$ESD_LIBS
14802 ESDINCL=$ESD_CFLAGS
14805 cat >>confdefs.h <<\_ACEOF
14806 #define HAVE_ESD 1
14807 _ACEOF
14811 CFLAGS="$save_CFLAGS"
14814 ALSALIBS=""
14816 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14817 then
14818 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14819 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14820 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14822 else
14823 ac_check_lib_save_LIBS=$LIBS
14824 LIBS="-lasound $LIBS"
14825 cat >conftest.$ac_ext <<_ACEOF
14826 /* confdefs.h. */
14827 _ACEOF
14828 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14832 /* Override any GCC internal prototype to avoid an error.
14833 Use char because int might match the return type of a GCC
14834 builtin and then its argument prototype would still apply. */
14835 #ifdef __cplusplus
14836 extern "C"
14837 #endif
14838 char snd_pcm_hw_params_get_access ();
14840 main ()
14842 return snd_pcm_hw_params_get_access ();
14844 return 0;
14846 _ACEOF
14847 rm -f conftest.$ac_objext conftest$ac_exeext
14848 if { (ac_try="$ac_link"
14849 case "(($ac_try" in
14850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14851 *) ac_try_echo=$ac_try;;
14852 esac
14853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14854 (eval "$ac_link") 2>conftest.er1
14855 ac_status=$?
14856 grep -v '^ *+' conftest.er1 >conftest.err
14857 rm -f conftest.er1
14858 cat conftest.err >&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); } && {
14861 test -z "$ac_c_werror_flag" ||
14862 test ! -s conftest.err
14863 } && test -s conftest$ac_exeext &&
14864 $as_test_x conftest$ac_exeext; then
14865 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14866 else
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14870 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14874 conftest$ac_exeext conftest.$ac_ext
14875 LIBS=$ac_check_lib_save_LIBS
14877 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14878 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14879 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14880 cat >conftest.$ac_ext <<_ACEOF
14881 /* confdefs.h. */
14882 _ACEOF
14883 cat confdefs.h >>conftest.$ac_ext
14884 cat >>conftest.$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 #ifdef HAVE_ALSA_ASOUNDLIB_H
14887 #include <alsa/asoundlib.h>
14888 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14889 #include <sys/asoundlib.h>
14890 #endif
14892 main ()
14894 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14896 return 0;
14898 _ACEOF
14899 rm -f conftest.$ac_objext
14900 if { (ac_try="$ac_compile"
14901 case "(($ac_try" in
14902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14903 *) ac_try_echo=$ac_try;;
14904 esac
14905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14906 (eval "$ac_compile") 2>conftest.er1
14907 ac_status=$?
14908 grep -v '^ *+' conftest.er1 >conftest.err
14909 rm -f conftest.er1
14910 cat conftest.err >&5
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); } && {
14913 test -z "$ac_c_werror_flag" ||
14914 test ! -s conftest.err
14915 } && test -s conftest.$ac_objext; then
14917 cat >>confdefs.h <<\_ACEOF
14918 #define HAVE_ALSA 1
14919 _ACEOF
14921 ALSALIBS="-lasound"
14922 else
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.$ac_ext >&5
14929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14934 AUDIOIOLIBS=""
14936 if test "$ac_cv_header_libaudioio_h" = "yes"
14937 then
14938 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14939 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14940 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 else
14943 ac_check_lib_save_LIBS=$LIBS
14944 LIBS="-laudioio $LIBS"
14945 cat >conftest.$ac_ext <<_ACEOF
14946 /* confdefs.h. */
14947 _ACEOF
14948 cat confdefs.h >>conftest.$ac_ext
14949 cat >>conftest.$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14955 #ifdef __cplusplus
14956 extern "C"
14957 #endif
14958 char AudioIOGetVersion ();
14960 main ()
14962 return AudioIOGetVersion ();
14964 return 0;
14966 _ACEOF
14967 rm -f conftest.$ac_objext conftest$ac_exeext
14968 if { (ac_try="$ac_link"
14969 case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14972 esac
14973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14974 (eval "$ac_link") 2>conftest.er1
14975 ac_status=$?
14976 grep -v '^ *+' conftest.er1 >conftest.err
14977 rm -f conftest.er1
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } && {
14981 test -z "$ac_c_werror_flag" ||
14982 test ! -s conftest.err
14983 } && test -s conftest$ac_exeext &&
14984 $as_test_x conftest$ac_exeext; then
14985 ac_cv_lib_audioio_AudioIOGetVersion=yes
14986 else
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14990 ac_cv_lib_audioio_AudioIOGetVersion=no
14993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14994 conftest$ac_exeext conftest.$ac_ext
14995 LIBS=$ac_check_lib_save_LIBS
14997 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14998 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14999 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15000 AUDIOIOLIBS="-laudioio"
15002 cat >>confdefs.h <<\_ACEOF
15003 #define HAVE_LIBAUDIOIO 1
15004 _ACEOF
15011 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15012 then
15013 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15014 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15015 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15016 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 else
15018 ac_check_soname_save_LIBS=$LIBS
15019 LIBS="-lcapi20 $LIBS"
15020 cat >conftest.$ac_ext <<_ACEOF
15021 /* confdefs.h. */
15022 _ACEOF
15023 cat confdefs.h >>conftest.$ac_ext
15024 cat >>conftest.$ac_ext <<_ACEOF
15025 /* end confdefs.h. */
15027 /* Override any GCC internal prototype to avoid an error.
15028 Use char because int might match the return type of a GCC
15029 builtin and then its argument prototype would still apply. */
15030 #ifdef __cplusplus
15031 extern "C"
15032 #endif
15033 char capi20_register ();
15035 main ()
15037 return capi20_register ();
15039 return 0;
15041 _ACEOF
15042 rm -f conftest.$ac_objext conftest$ac_exeext
15043 if { (ac_try="$ac_link"
15044 case "(($ac_try" in
15045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15046 *) ac_try_echo=$ac_try;;
15047 esac
15048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15049 (eval "$ac_link") 2>conftest.er1
15050 ac_status=$?
15051 grep -v '^ *+' conftest.er1 >conftest.err
15052 rm -f conftest.er1
15053 cat conftest.err >&5
15054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15055 (exit $ac_status); } && {
15056 test -z "$ac_c_werror_flag" ||
15057 test ! -s conftest.err
15058 } && test -s conftest$ac_exeext &&
15059 $as_test_x conftest$ac_exeext; then
15060 case "$LIBEXT" in
15061 dll) ;;
15062 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'` ;;
15063 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15064 esac
15065 else
15066 echo "$as_me: failed program was:" >&5
15067 sed 's/^/| /' conftest.$ac_ext >&5
15072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15073 conftest$ac_exeext conftest.$ac_ext
15074 LIBS=$ac_check_soname_save_LIBS
15076 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15077 { echo "$as_me:$LINENO: result: not found" >&5
15078 echo "${ECHO_T}not found" >&6; }
15080 else
15081 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15082 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15084 cat >>confdefs.h <<_ACEOF
15085 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15086 _ACEOF
15092 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15093 case "x$with_capi" in
15094 x) wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15095 xno) ;;
15096 *) { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15097 This is an error since --with-capi was requested." >&5
15098 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15099 This is an error since --with-capi was requested." >&2;}
15100 { (exit 1); exit 1; }; } ;;
15101 esac
15105 if test "$ac_cv_header_cups_cups_h" = "yes"
15106 then
15107 { echo "$as_me:$LINENO: checking for -lcups" >&5
15108 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15109 if test "${ac_cv_lib_soname_cups+set}" = set; then
15110 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 else
15112 ac_check_soname_save_LIBS=$LIBS
15113 LIBS="-lcups $LIBS"
15114 cat >conftest.$ac_ext <<_ACEOF
15115 /* confdefs.h. */
15116 _ACEOF
15117 cat confdefs.h >>conftest.$ac_ext
15118 cat >>conftest.$ac_ext <<_ACEOF
15119 /* end confdefs.h. */
15121 /* Override any GCC internal prototype to avoid an error.
15122 Use char because int might match the return type of a GCC
15123 builtin and then its argument prototype would still apply. */
15124 #ifdef __cplusplus
15125 extern "C"
15126 #endif
15127 char cupsGetDefault ();
15129 main ()
15131 return cupsGetDefault ();
15133 return 0;
15135 _ACEOF
15136 rm -f conftest.$ac_objext conftest$ac_exeext
15137 if { (ac_try="$ac_link"
15138 case "(($ac_try" in
15139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15140 *) ac_try_echo=$ac_try;;
15141 esac
15142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15143 (eval "$ac_link") 2>conftest.er1
15144 ac_status=$?
15145 grep -v '^ *+' conftest.er1 >conftest.err
15146 rm -f conftest.er1
15147 cat conftest.err >&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } && {
15150 test -z "$ac_c_werror_flag" ||
15151 test ! -s conftest.err
15152 } && test -s conftest$ac_exeext &&
15153 $as_test_x conftest$ac_exeext; then
15154 case "$LIBEXT" in
15155 dll) ;;
15156 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'` ;;
15157 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15158 esac
15159 else
15160 echo "$as_me: failed program was:" >&5
15161 sed 's/^/| /' conftest.$ac_ext >&5
15166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15167 conftest$ac_exeext conftest.$ac_ext
15168 LIBS=$ac_check_soname_save_LIBS
15170 if test "x$ac_cv_lib_soname_cups" = "x"; then
15171 { echo "$as_me:$LINENO: result: not found" >&5
15172 echo "${ECHO_T}not found" >&6; }
15174 else
15175 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15176 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15178 cat >>confdefs.h <<_ACEOF
15179 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15180 _ACEOF
15186 if test "x$ac_cv_lib_soname_cups" = "x"; then
15187 case "x$with_cups" in
15188 x) wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15189 xno) ;;
15190 *) { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15191 This is an error since --with-cups was requested." >&5
15192 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15193 This is an error since --with-cups was requested." >&2;}
15194 { (exit 1); exit 1; }; } ;;
15195 esac
15199 if test "$ac_cv_header_jack_jack_h" = "yes"
15200 then
15201 { echo "$as_me:$LINENO: checking for -ljack" >&5
15202 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15203 if test "${ac_cv_lib_soname_jack+set}" = set; then
15204 echo $ECHO_N "(cached) $ECHO_C" >&6
15205 else
15206 ac_check_soname_save_LIBS=$LIBS
15207 LIBS="-ljack $LIBS"
15208 cat >conftest.$ac_ext <<_ACEOF
15209 /* confdefs.h. */
15210 _ACEOF
15211 cat confdefs.h >>conftest.$ac_ext
15212 cat >>conftest.$ac_ext <<_ACEOF
15213 /* end confdefs.h. */
15215 /* Override any GCC internal prototype to avoid an error.
15216 Use char because int might match the return type of a GCC
15217 builtin and then its argument prototype would still apply. */
15218 #ifdef __cplusplus
15219 extern "C"
15220 #endif
15221 char jack_client_new ();
15223 main ()
15225 return jack_client_new ();
15227 return 0;
15229 _ACEOF
15230 rm -f conftest.$ac_objext conftest$ac_exeext
15231 if { (ac_try="$ac_link"
15232 case "(($ac_try" in
15233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15234 *) ac_try_echo=$ac_try;;
15235 esac
15236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15237 (eval "$ac_link") 2>conftest.er1
15238 ac_status=$?
15239 grep -v '^ *+' conftest.er1 >conftest.err
15240 rm -f conftest.er1
15241 cat conftest.err >&5
15242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15243 (exit $ac_status); } && {
15244 test -z "$ac_c_werror_flag" ||
15245 test ! -s conftest.err
15246 } && test -s conftest$ac_exeext &&
15247 $as_test_x conftest$ac_exeext; then
15248 case "$LIBEXT" in
15249 dll) ;;
15250 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'` ;;
15251 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15252 esac
15253 else
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15261 conftest$ac_exeext conftest.$ac_ext
15262 LIBS=$ac_check_soname_save_LIBS
15264 if test "x$ac_cv_lib_soname_jack" = "x"; then
15265 { echo "$as_me:$LINENO: result: not found" >&5
15266 echo "${ECHO_T}not found" >&6; }
15268 else
15269 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15270 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15272 cat >>confdefs.h <<_ACEOF
15273 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15274 _ACEOF
15281 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15282 then
15283 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15284 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15285 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15286 echo $ECHO_N "(cached) $ECHO_C" >&6
15287 else
15288 ac_check_soname_save_LIBS=$LIBS
15289 LIBS="-lfontconfig $LIBS"
15290 cat >conftest.$ac_ext <<_ACEOF
15291 /* confdefs.h. */
15292 _ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15300 #ifdef __cplusplus
15301 extern "C"
15302 #endif
15303 char FcInit ();
15305 main ()
15307 return FcInit ();
15309 return 0;
15311 _ACEOF
15312 rm -f conftest.$ac_objext conftest$ac_exeext
15313 if { (ac_try="$ac_link"
15314 case "(($ac_try" in
15315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15316 *) ac_try_echo=$ac_try;;
15317 esac
15318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15319 (eval "$ac_link") 2>conftest.er1
15320 ac_status=$?
15321 grep -v '^ *+' conftest.er1 >conftest.err
15322 rm -f conftest.er1
15323 cat conftest.err >&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } && {
15326 test -z "$ac_c_werror_flag" ||
15327 test ! -s conftest.err
15328 } && test -s conftest$ac_exeext &&
15329 $as_test_x conftest$ac_exeext; then
15330 case "$LIBEXT" in
15331 dll) ;;
15332 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'` ;;
15333 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15334 esac
15335 else
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.$ac_ext >&5
15342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15343 conftest$ac_exeext conftest.$ac_ext
15344 LIBS=$ac_check_soname_save_LIBS
15346 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15347 { echo "$as_me:$LINENO: result: not found" >&5
15348 echo "${ECHO_T}not found" >&6; }
15350 else
15351 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15352 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15354 cat >>confdefs.h <<_ACEOF
15355 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15356 _ACEOF
15361 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15362 then
15363 ac_save_CPPFLAGS="$CPPFLAGS"
15364 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15365 $as_unset ac_cv_header_fontconfig_fontconfig_h
15367 for ac_header in fontconfig/fontconfig.h
15369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15371 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15376 ac_res=`eval echo '${'$as_ac_Header'}'`
15377 { echo "$as_me:$LINENO: result: $ac_res" >&5
15378 echo "${ECHO_T}$ac_res" >&6; }
15379 else
15380 # Is the header compilable?
15381 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15383 cat >conftest.$ac_ext <<_ACEOF
15384 /* confdefs.h. */
15385 _ACEOF
15386 cat confdefs.h >>conftest.$ac_ext
15387 cat >>conftest.$ac_ext <<_ACEOF
15388 /* end confdefs.h. */
15389 $ac_includes_default
15390 #include <$ac_header>
15391 _ACEOF
15392 rm -f conftest.$ac_objext
15393 if { (ac_try="$ac_compile"
15394 case "(($ac_try" in
15395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15396 *) ac_try_echo=$ac_try;;
15397 esac
15398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15399 (eval "$ac_compile") 2>conftest.er1
15400 ac_status=$?
15401 grep -v '^ *+' conftest.er1 >conftest.err
15402 rm -f conftest.er1
15403 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } && {
15406 test -z "$ac_c_werror_flag" ||
15407 test ! -s conftest.err
15408 } && test -s conftest.$ac_objext; then
15409 ac_header_compiler=yes
15410 else
15411 echo "$as_me: failed program was:" >&5
15412 sed 's/^/| /' conftest.$ac_ext >&5
15414 ac_header_compiler=no
15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15418 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15419 echo "${ECHO_T}$ac_header_compiler" >&6; }
15421 # Is the header present?
15422 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15424 cat >conftest.$ac_ext <<_ACEOF
15425 /* confdefs.h. */
15426 _ACEOF
15427 cat confdefs.h >>conftest.$ac_ext
15428 cat >>conftest.$ac_ext <<_ACEOF
15429 /* end confdefs.h. */
15430 #include <$ac_header>
15431 _ACEOF
15432 if { (ac_try="$ac_cpp conftest.$ac_ext"
15433 case "(($ac_try" in
15434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15435 *) ac_try_echo=$ac_try;;
15436 esac
15437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15439 ac_status=$?
15440 grep -v '^ *+' conftest.er1 >conftest.err
15441 rm -f conftest.er1
15442 cat conftest.err >&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } >/dev/null && {
15445 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15446 test ! -s conftest.err
15447 }; then
15448 ac_header_preproc=yes
15449 else
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15453 ac_header_preproc=no
15456 rm -f conftest.err conftest.$ac_ext
15457 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15458 echo "${ECHO_T}$ac_header_preproc" >&6; }
15460 # So? What about this header?
15461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15462 yes:no: )
15463 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15464 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15466 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15467 ac_header_preproc=yes
15469 no:yes:* )
15470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15474 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15475 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15476 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15477 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15480 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15481 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15482 ( cat <<\_ASBOX
15483 ## ------------------------------------ ##
15484 ## Report this to wine-devel@winehq.org ##
15485 ## ------------------------------------ ##
15486 _ASBOX
15487 ) | sed "s/^/$as_me: WARNING: /" >&2
15489 esac
15490 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15493 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 else
15495 eval "$as_ac_Header=\$ac_header_preproc"
15497 ac_res=`eval echo '${'$as_ac_Header'}'`
15498 { echo "$as_me:$LINENO: result: $ac_res" >&5
15499 echo "${ECHO_T}$ac_res" >&6; }
15502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15503 cat >>confdefs.h <<_ACEOF
15504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15505 _ACEOF
15509 done
15511 CPPFLAGS="$ac_save_CPPFLAGS"
15512 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15513 then
15514 FONTCONFIGINCL="$X_CFLAGS"
15516 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15517 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15518 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15519 echo $ECHO_N "(cached) $ECHO_C" >&6
15520 else
15521 ac_check_soname_save_LIBS=$LIBS
15522 LIBS="-lfontconfig $X_LIBS $LIBS"
15523 cat >conftest.$ac_ext <<_ACEOF
15524 /* confdefs.h. */
15525 _ACEOF
15526 cat confdefs.h >>conftest.$ac_ext
15527 cat >>conftest.$ac_ext <<_ACEOF
15528 /* end confdefs.h. */
15530 /* Override any GCC internal prototype to avoid an error.
15531 Use char because int might match the return type of a GCC
15532 builtin and then its argument prototype would still apply. */
15533 #ifdef __cplusplus
15534 extern "C"
15535 #endif
15536 char FcInit ();
15538 main ()
15540 return FcInit ();
15542 return 0;
15544 _ACEOF
15545 rm -f conftest.$ac_objext conftest$ac_exeext
15546 if { (ac_try="$ac_link"
15547 case "(($ac_try" in
15548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15549 *) ac_try_echo=$ac_try;;
15550 esac
15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552 (eval "$ac_link") 2>conftest.er1
15553 ac_status=$?
15554 grep -v '^ *+' conftest.er1 >conftest.err
15555 rm -f conftest.er1
15556 cat conftest.err >&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } && {
15559 test -z "$ac_c_werror_flag" ||
15560 test ! -s conftest.err
15561 } && test -s conftest$ac_exeext &&
15562 $as_test_x conftest$ac_exeext; then
15563 case "$LIBEXT" in
15564 dll) ;;
15565 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'` ;;
15566 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15567 esac
15568 else
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15576 conftest$ac_exeext conftest.$ac_ext
15577 LIBS=$ac_check_soname_save_LIBS
15579 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15580 { echo "$as_me:$LINENO: result: not found" >&5
15581 echo "${ECHO_T}not found" >&6; }
15583 else
15584 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15585 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15587 cat >>confdefs.h <<_ACEOF
15588 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15589 _ACEOF
15596 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15597 case "x$with_fontconfig" in
15598 x) wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15599 xno) ;;
15600 *) { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15601 This is an error since --with-fontconfig was requested." >&5
15602 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15603 This is an error since --with-fontconfig was requested." >&2;}
15604 { (exit 1); exit 1; }; } ;;
15605 esac
15609 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15610 then
15611 { echo "$as_me:$LINENO: checking for -lssl" >&5
15612 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15613 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15614 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 else
15616 ac_check_soname_save_LIBS=$LIBS
15617 LIBS="-lssl $LIBS"
15618 cat >conftest.$ac_ext <<_ACEOF
15619 /* confdefs.h. */
15620 _ACEOF
15621 cat confdefs.h >>conftest.$ac_ext
15622 cat >>conftest.$ac_ext <<_ACEOF
15623 /* end confdefs.h. */
15625 /* Override any GCC internal prototype to avoid an error.
15626 Use char because int might match the return type of a GCC
15627 builtin and then its argument prototype would still apply. */
15628 #ifdef __cplusplus
15629 extern "C"
15630 #endif
15631 char SSL_library_init ();
15633 main ()
15635 return SSL_library_init ();
15637 return 0;
15639 _ACEOF
15640 rm -f conftest.$ac_objext conftest$ac_exeext
15641 if { (ac_try="$ac_link"
15642 case "(($ac_try" in
15643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15644 *) ac_try_echo=$ac_try;;
15645 esac
15646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15647 (eval "$ac_link") 2>conftest.er1
15648 ac_status=$?
15649 grep -v '^ *+' conftest.er1 >conftest.err
15650 rm -f conftest.er1
15651 cat conftest.err >&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } && {
15654 test -z "$ac_c_werror_flag" ||
15655 test ! -s conftest.err
15656 } && test -s conftest$ac_exeext &&
15657 $as_test_x conftest$ac_exeext; then
15658 case "$LIBEXT" in
15659 dll) ;;
15660 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'` ;;
15661 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15662 esac
15663 else
15664 echo "$as_me: failed program was:" >&5
15665 sed 's/^/| /' conftest.$ac_ext >&5
15670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15671 conftest$ac_exeext conftest.$ac_ext
15672 LIBS=$ac_check_soname_save_LIBS
15674 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15675 { echo "$as_me:$LINENO: result: not found" >&5
15676 echo "${ECHO_T}not found" >&6; }
15678 else
15679 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15680 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15682 cat >>confdefs.h <<_ACEOF
15683 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15684 _ACEOF
15689 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15690 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15691 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15693 else
15694 ac_check_soname_save_LIBS=$LIBS
15695 LIBS="-lcrypto $LIBS"
15696 cat >conftest.$ac_ext <<_ACEOF
15697 /* confdefs.h. */
15698 _ACEOF
15699 cat confdefs.h >>conftest.$ac_ext
15700 cat >>conftest.$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15703 /* Override any GCC internal prototype to avoid an error.
15704 Use char because int might match the return type of a GCC
15705 builtin and then its argument prototype would still apply. */
15706 #ifdef __cplusplus
15707 extern "C"
15708 #endif
15709 char BIO_new_socket ();
15711 main ()
15713 return BIO_new_socket ();
15715 return 0;
15717 _ACEOF
15718 rm -f conftest.$ac_objext conftest$ac_exeext
15719 if { (ac_try="$ac_link"
15720 case "(($ac_try" in
15721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722 *) ac_try_echo=$ac_try;;
15723 esac
15724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725 (eval "$ac_link") 2>conftest.er1
15726 ac_status=$?
15727 grep -v '^ *+' conftest.er1 >conftest.err
15728 rm -f conftest.er1
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } && {
15732 test -z "$ac_c_werror_flag" ||
15733 test ! -s conftest.err
15734 } && test -s conftest$ac_exeext &&
15735 $as_test_x conftest$ac_exeext; then
15736 case "$LIBEXT" in
15737 dll) ;;
15738 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'` ;;
15739 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15740 esac
15741 else
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.$ac_ext >&5
15748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15749 conftest$ac_exeext conftest.$ac_ext
15750 LIBS=$ac_check_soname_save_LIBS
15752 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15753 { echo "$as_me:$LINENO: result: not found" >&5
15754 echo "${ECHO_T}not found" >&6; }
15756 else
15757 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15758 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15760 cat >>confdefs.h <<_ACEOF
15761 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15762 _ACEOF
15768 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15769 case "x$with_openssl" in
15770 x) wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15771 xno) ;;
15772 *) { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15773 This is an error since --with-openssl was requested." >&5
15774 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15775 This is an error since --with-openssl was requested." >&2;}
15776 { (exit 1); exit 1; }; } ;;
15777 esac
15781 if test "$ac_cv_header_jpeglib_h" = "yes"
15782 then
15783 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15784 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15785 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15786 echo $ECHO_N "(cached) $ECHO_C" >&6
15787 else
15788 ac_check_soname_save_LIBS=$LIBS
15789 LIBS="-ljpeg $LIBS"
15790 cat >conftest.$ac_ext <<_ACEOF
15791 /* confdefs.h. */
15792 _ACEOF
15793 cat confdefs.h >>conftest.$ac_ext
15794 cat >>conftest.$ac_ext <<_ACEOF
15795 /* end confdefs.h. */
15797 /* Override any GCC internal prototype to avoid an error.
15798 Use char because int might match the return type of a GCC
15799 builtin and then its argument prototype would still apply. */
15800 #ifdef __cplusplus
15801 extern "C"
15802 #endif
15803 char jpeg_start_decompress ();
15805 main ()
15807 return jpeg_start_decompress ();
15809 return 0;
15811 _ACEOF
15812 rm -f conftest.$ac_objext conftest$ac_exeext
15813 if { (ac_try="$ac_link"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15816 *) ac_try_echo=$ac_try;;
15817 esac
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_link") 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_c_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest$ac_exeext &&
15829 $as_test_x conftest$ac_exeext; then
15830 case "$LIBEXT" in
15831 dll) ;;
15832 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'` ;;
15833 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15834 esac
15835 else
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.$ac_ext >&5
15842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15843 conftest$ac_exeext conftest.$ac_ext
15844 LIBS=$ac_check_soname_save_LIBS
15846 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15847 { echo "$as_me:$LINENO: result: not found" >&5
15848 echo "${ECHO_T}not found" >&6; }
15850 else
15851 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15852 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15854 cat >>confdefs.h <<_ACEOF
15855 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15856 _ACEOF
15862 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15863 case "x$with_jpeg" in
15864 x) wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15865 xno) ;;
15866 *) { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15867 This is an error since --with-jpeg was requested." >&5
15868 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15869 This is an error since --with-jpeg was requested." >&2;}
15870 { (exit 1); exit 1; }; } ;;
15871 esac
15875 if test "$ac_cv_header_png_h" = "yes"
15876 then
15877 { echo "$as_me:$LINENO: checking for -lpng" >&5
15878 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15879 if test "${ac_cv_lib_soname_png+set}" = set; then
15880 echo $ECHO_N "(cached) $ECHO_C" >&6
15881 else
15882 ac_check_soname_save_LIBS=$LIBS
15883 LIBS="-lpng $LIBS"
15884 cat >conftest.$ac_ext <<_ACEOF
15885 /* confdefs.h. */
15886 _ACEOF
15887 cat confdefs.h >>conftest.$ac_ext
15888 cat >>conftest.$ac_ext <<_ACEOF
15889 /* end confdefs.h. */
15891 /* Override any GCC internal prototype to avoid an error.
15892 Use char because int might match the return type of a GCC
15893 builtin and then its argument prototype would still apply. */
15894 #ifdef __cplusplus
15895 extern "C"
15896 #endif
15897 char png_create_read_struct ();
15899 main ()
15901 return png_create_read_struct ();
15903 return 0;
15905 _ACEOF
15906 rm -f conftest.$ac_objext conftest$ac_exeext
15907 if { (ac_try="$ac_link"
15908 case "(($ac_try" in
15909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15910 *) ac_try_echo=$ac_try;;
15911 esac
15912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15913 (eval "$ac_link") 2>conftest.er1
15914 ac_status=$?
15915 grep -v '^ *+' conftest.er1 >conftest.err
15916 rm -f conftest.er1
15917 cat conftest.err >&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); } && {
15920 test -z "$ac_c_werror_flag" ||
15921 test ! -s conftest.err
15922 } && test -s conftest$ac_exeext &&
15923 $as_test_x conftest$ac_exeext; then
15924 case "$LIBEXT" in
15925 dll) ;;
15926 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'` ;;
15927 *) 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'` ;;
15928 esac
15929 else
15930 echo "$as_me: failed program was:" >&5
15931 sed 's/^/| /' conftest.$ac_ext >&5
15936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15937 conftest$ac_exeext conftest.$ac_ext
15938 LIBS=$ac_check_soname_save_LIBS
15940 if test "x$ac_cv_lib_soname_png" = "x"; then
15941 { echo "$as_me:$LINENO: result: not found" >&5
15942 echo "${ECHO_T}not found" >&6; }
15944 else
15945 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15946 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15948 cat >>confdefs.h <<_ACEOF
15949 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15950 _ACEOF
15956 if test "x$ac_cv_lib_soname_png" = "x"; then
15957 case "x$with_png" in
15958 x) wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
15959 xno) ;;
15960 *) { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15961 This is an error since --with-png was requested." >&5
15962 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15963 This is an error since --with-png was requested." >&2;}
15964 { (exit 1); exit 1; }; } ;;
15965 esac
15969 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15970 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15971 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 else
15974 ac_check_soname_save_LIBS=$LIBS
15975 LIBS="-lodbc $LIBS"
15976 cat >conftest.$ac_ext <<_ACEOF
15977 /* confdefs.h. */
15978 _ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15983 /* Override any GCC internal prototype to avoid an error.
15984 Use char because int might match the return type of a GCC
15985 builtin and then its argument prototype would still apply. */
15986 #ifdef __cplusplus
15987 extern "C"
15988 #endif
15989 char SQLConnect ();
15991 main ()
15993 return SQLConnect ();
15995 return 0;
15997 _ACEOF
15998 rm -f conftest.$ac_objext conftest$ac_exeext
15999 if { (ac_try="$ac_link"
16000 case "(($ac_try" in
16001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16002 *) ac_try_echo=$ac_try;;
16003 esac
16004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16005 (eval "$ac_link") 2>conftest.er1
16006 ac_status=$?
16007 grep -v '^ *+' conftest.er1 >conftest.err
16008 rm -f conftest.er1
16009 cat conftest.err >&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); } && {
16012 test -z "$ac_c_werror_flag" ||
16013 test ! -s conftest.err
16014 } && test -s conftest$ac_exeext &&
16015 $as_test_x conftest$ac_exeext; then
16016 case "$LIBEXT" in
16017 dll) ;;
16018 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'` ;;
16019 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
16020 esac
16021 else
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.$ac_ext >&5
16028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16029 conftest$ac_exeext conftest.$ac_ext
16030 LIBS=$ac_check_soname_save_LIBS
16032 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16033 { echo "$as_me:$LINENO: result: not found" >&5
16034 echo "${ECHO_T}not found" >&6; }
16035 cat >>confdefs.h <<_ACEOF
16036 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16037 _ACEOF
16039 else
16040 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16041 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16043 cat >>confdefs.h <<_ACEOF
16044 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16045 _ACEOF
16051 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16052 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16053 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16054 "$ac_cv_header_soundcard_h" != "yes" -a \
16055 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16056 then
16057 wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16061 EXTRACFLAGS=""
16063 if test "x${GCC}" = "xyes"
16064 then
16065 EXTRACFLAGS="-Wall -pipe"
16067 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16068 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16069 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16070 echo $ECHO_N "(cached) $ECHO_C" >&6
16071 else
16072 if test "$cross_compiling" = yes; then
16073 ac_cv_c_gcc_strength_bug="yes"
16074 else
16075 cat >conftest.$ac_ext <<_ACEOF
16076 /* confdefs.h. */
16077 _ACEOF
16078 cat confdefs.h >>conftest.$ac_ext
16079 cat >>conftest.$ac_ext <<_ACEOF
16080 /* end confdefs.h. */
16081 int L[4] = {0,1,2,3};
16083 main ()
16085 static int Array[3];
16086 unsigned int B = 3;
16087 int i;
16088 for(i=0; i<B; i++) Array[i] = i - 3;
16089 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16090 L[i] = 4;
16091 exit( Array[1] != -2 || L[2] != 3)
16093 return 0;
16095 _ACEOF
16096 rm -f conftest$ac_exeext
16097 if { (ac_try="$ac_link"
16098 case "(($ac_try" in
16099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16100 *) ac_try_echo=$ac_try;;
16101 esac
16102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16103 (eval "$ac_link") 2>&5
16104 ac_status=$?
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16107 { (case "(($ac_try" in
16108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16109 *) ac_try_echo=$ac_try;;
16110 esac
16111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16112 (eval "$ac_try") 2>&5
16113 ac_status=$?
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); }; }; then
16116 ac_cv_c_gcc_strength_bug="no"
16117 else
16118 echo "$as_me: program exited with status $ac_status" >&5
16119 echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.$ac_ext >&5
16122 ( exit $ac_status )
16123 ac_cv_c_gcc_strength_bug="yes"
16125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16130 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16131 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16132 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16133 then
16134 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16138 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16139 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16140 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16141 echo $ECHO_N "(cached) $ECHO_C" >&6
16142 else
16143 ac_wine_try_cflags_saved=$CFLAGS
16144 CFLAGS="$CFLAGS -fshort-wchar"
16145 cat >conftest.$ac_ext <<_ACEOF
16146 /* confdefs.h. */
16147 _ACEOF
16148 cat confdefs.h >>conftest.$ac_ext
16149 cat >>conftest.$ac_ext <<_ACEOF
16150 /* end confdefs.h. */
16153 main ()
16157 return 0;
16159 _ACEOF
16160 rm -f conftest.$ac_objext conftest$ac_exeext
16161 if { (ac_try="$ac_link"
16162 case "(($ac_try" in
16163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16164 *) ac_try_echo=$ac_try;;
16165 esac
16166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16167 (eval "$ac_link") 2>conftest.er1
16168 ac_status=$?
16169 grep -v '^ *+' conftest.er1 >conftest.err
16170 rm -f conftest.er1
16171 cat conftest.err >&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } && {
16174 test -z "$ac_c_werror_flag" ||
16175 test ! -s conftest.err
16176 } && test -s conftest$ac_exeext &&
16177 $as_test_x conftest$ac_exeext; then
16178 ac_cv_cflags__fshort_wchar=yes
16179 else
16180 echo "$as_me: failed program was:" >&5
16181 sed 's/^/| /' conftest.$ac_ext >&5
16183 ac_cv_cflags__fshort_wchar=no
16186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16187 conftest$ac_exeext conftest.$ac_ext
16188 CFLAGS=$ac_wine_try_cflags_saved
16190 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16191 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16192 if test $ac_cv_cflags__fshort_wchar = yes; then
16194 cat >>confdefs.h <<\_ACEOF
16195 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16196 _ACEOF
16200 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16201 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16202 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16203 echo $ECHO_N "(cached) $ECHO_C" >&6
16204 else
16205 ac_wine_try_cflags_saved=$CFLAGS
16206 CFLAGS="$CFLAGS -fno-strict-aliasing"
16207 cat >conftest.$ac_ext <<_ACEOF
16208 /* confdefs.h. */
16209 _ACEOF
16210 cat confdefs.h >>conftest.$ac_ext
16211 cat >>conftest.$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16215 main ()
16219 return 0;
16221 _ACEOF
16222 rm -f conftest.$ac_objext conftest$ac_exeext
16223 if { (ac_try="$ac_link"
16224 case "(($ac_try" in
16225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16226 *) ac_try_echo=$ac_try;;
16227 esac
16228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16229 (eval "$ac_link") 2>conftest.er1
16230 ac_status=$?
16231 grep -v '^ *+' conftest.er1 >conftest.err
16232 rm -f conftest.er1
16233 cat conftest.err >&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); } && {
16236 test -z "$ac_c_werror_flag" ||
16237 test ! -s conftest.err
16238 } && test -s conftest$ac_exeext &&
16239 $as_test_x conftest$ac_exeext; then
16240 ac_cv_cflags__fno_strict_aliasing=yes
16241 else
16242 echo "$as_me: failed program was:" >&5
16243 sed 's/^/| /' conftest.$ac_ext >&5
16245 ac_cv_cflags__fno_strict_aliasing=no
16248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16249 conftest$ac_exeext conftest.$ac_ext
16250 CFLAGS=$ac_wine_try_cflags_saved
16252 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16253 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16254 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16255 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16258 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16259 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16260 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16262 else
16263 ac_wine_try_cflags_saved=$CFLAGS
16264 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16265 cat >conftest.$ac_ext <<_ACEOF
16266 /* confdefs.h. */
16267 _ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16273 main ()
16277 return 0;
16279 _ACEOF
16280 rm -f conftest.$ac_objext conftest$ac_exeext
16281 if { (ac_try="$ac_link"
16282 case "(($ac_try" in
16283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16284 *) ac_try_echo=$ac_try;;
16285 esac
16286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16287 (eval "$ac_link") 2>conftest.er1
16288 ac_status=$?
16289 grep -v '^ *+' conftest.er1 >conftest.err
16290 rm -f conftest.er1
16291 cat conftest.err >&5
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); } && {
16294 test -z "$ac_c_werror_flag" ||
16295 test ! -s conftest.err
16296 } && test -s conftest$ac_exeext &&
16297 $as_test_x conftest$ac_exeext; then
16298 ac_cv_cflags__Wdeclaration_after_statement=yes
16299 else
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16303 ac_cv_cflags__Wdeclaration_after_statement=no
16306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16307 conftest$ac_exeext conftest.$ac_ext
16308 CFLAGS=$ac_wine_try_cflags_saved
16310 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16311 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16312 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16313 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16316 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16317 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16318 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16319 echo $ECHO_N "(cached) $ECHO_C" >&6
16320 else
16321 ac_wine_try_cflags_saved=$CFLAGS
16322 CFLAGS="$CFLAGS -Wwrite-strings"
16323 cat >conftest.$ac_ext <<_ACEOF
16324 /* confdefs.h. */
16325 _ACEOF
16326 cat confdefs.h >>conftest.$ac_ext
16327 cat >>conftest.$ac_ext <<_ACEOF
16328 /* end confdefs.h. */
16331 main ()
16335 return 0;
16337 _ACEOF
16338 rm -f conftest.$ac_objext conftest$ac_exeext
16339 if { (ac_try="$ac_link"
16340 case "(($ac_try" in
16341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16342 *) ac_try_echo=$ac_try;;
16343 esac
16344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16345 (eval "$ac_link") 2>conftest.er1
16346 ac_status=$?
16347 grep -v '^ *+' conftest.er1 >conftest.err
16348 rm -f conftest.er1
16349 cat conftest.err >&5
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } && {
16352 test -z "$ac_c_werror_flag" ||
16353 test ! -s conftest.err
16354 } && test -s conftest$ac_exeext &&
16355 $as_test_x conftest$ac_exeext; then
16356 ac_cv_cflags__Wwrite_strings=yes
16357 else
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16361 ac_cv_cflags__Wwrite_strings=no
16364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16365 conftest$ac_exeext conftest.$ac_ext
16366 CFLAGS=$ac_wine_try_cflags_saved
16368 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16369 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16370 if test $ac_cv_cflags__Wwrite_strings = yes; then
16371 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16374 { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16375 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16376 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6
16378 else
16379 ac_wine_try_cflags_saved=$CFLAGS
16380 CFLAGS="$CFLAGS -Wtype-limits"
16381 cat >conftest.$ac_ext <<_ACEOF
16382 /* confdefs.h. */
16383 _ACEOF
16384 cat confdefs.h >>conftest.$ac_ext
16385 cat >>conftest.$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16389 main ()
16393 return 0;
16395 _ACEOF
16396 rm -f conftest.$ac_objext conftest$ac_exeext
16397 if { (ac_try="$ac_link"
16398 case "(($ac_try" in
16399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16400 *) ac_try_echo=$ac_try;;
16401 esac
16402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16403 (eval "$ac_link") 2>conftest.er1
16404 ac_status=$?
16405 grep -v '^ *+' conftest.er1 >conftest.err
16406 rm -f conftest.er1
16407 cat conftest.err >&5
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } && {
16410 test -z "$ac_c_werror_flag" ||
16411 test ! -s conftest.err
16412 } && test -s conftest$ac_exeext &&
16413 $as_test_x conftest$ac_exeext; then
16414 ac_cv_cflags__Wtype_limits=yes
16415 else
16416 echo "$as_me: failed program was:" >&5
16417 sed 's/^/| /' conftest.$ac_ext >&5
16419 ac_cv_cflags__Wtype_limits=no
16422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16423 conftest$ac_exeext conftest.$ac_ext
16424 CFLAGS=$ac_wine_try_cflags_saved
16426 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16427 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16428 if test $ac_cv_cflags__Wtype_limits = yes; then
16429 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16433 saved_CFLAGS="$CFLAGS"
16434 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16435 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16436 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16437 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16438 echo $ECHO_N "(cached) $ECHO_C" >&6
16439 else
16440 cat >conftest.$ac_ext <<_ACEOF
16441 /* confdefs.h. */
16442 _ACEOF
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 #include <string.h>
16448 main ()
16452 return 0;
16454 _ACEOF
16455 rm -f conftest.$ac_objext
16456 if { (ac_try="$ac_compile"
16457 case "(($ac_try" in
16458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16459 *) ac_try_echo=$ac_try;;
16460 esac
16461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16462 (eval "$ac_compile") 2>conftest.er1
16463 ac_status=$?
16464 grep -v '^ *+' conftest.er1 >conftest.err
16465 rm -f conftest.er1
16466 cat conftest.err >&5
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); } && {
16469 test -z "$ac_c_werror_flag" ||
16470 test ! -s conftest.err
16471 } && test -s conftest.$ac_objext; then
16472 ac_cv_c_string_h_warnings=no
16473 else
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.$ac_ext >&5
16477 ac_cv_c_string_h_warnings=yes
16480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16483 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16484 CFLAGS="$saved_CFLAGS"
16485 if test "$ac_cv_c_string_h_warnings" = "no"
16486 then
16487 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16490 BUILTINFLAG=""
16492 saved_CFLAGS="$CFLAGS"
16493 CFLAGS="$CFLAGS -Werror"
16494 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16495 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16496 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16497 echo $ECHO_N "(cached) $ECHO_C" >&6
16498 else
16499 cat >conftest.$ac_ext <<_ACEOF
16500 /* confdefs.h. */
16501 _ACEOF
16502 cat confdefs.h >>conftest.$ac_ext
16503 cat >>conftest.$ac_ext <<_ACEOF
16504 /* end confdefs.h. */
16507 main ()
16509 int iswlower(unsigned short);
16511 return 0;
16513 _ACEOF
16514 rm -f conftest.$ac_objext
16515 if { (ac_try="$ac_compile"
16516 case "(($ac_try" in
16517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16518 *) ac_try_echo=$ac_try;;
16519 esac
16520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16521 (eval "$ac_compile") 2>conftest.er1
16522 ac_status=$?
16523 grep -v '^ *+' conftest.er1 >conftest.err
16524 rm -f conftest.er1
16525 cat conftest.err >&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } && {
16528 test -z "$ac_c_werror_flag" ||
16529 test ! -s conftest.err
16530 } && test -s conftest.$ac_objext; then
16531 ac_cv_c_builtin_wchar_ctype=no
16532 else
16533 echo "$as_me: failed program was:" >&5
16534 sed 's/^/| /' conftest.$ac_ext >&5
16536 ac_cv_c_builtin_wchar_ctype=yes
16539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16541 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16542 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16543 CFLAGS="$saved_CFLAGS"
16544 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16545 then
16546 BUILTINFLAG="-fno-builtin"
16551 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16552 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16553 if test "${ac_cv_asm_func_def+set}" = set; then
16554 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 else
16556 cat >conftest.$ac_ext <<_ACEOF
16557 /* confdefs.h. */
16558 _ACEOF
16559 cat confdefs.h >>conftest.$ac_ext
16560 cat >>conftest.$ac_ext <<_ACEOF
16561 /* end confdefs.h. */
16564 main ()
16566 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16568 return 0;
16570 _ACEOF
16571 rm -f conftest.$ac_objext conftest$ac_exeext
16572 if { (ac_try="$ac_link"
16573 case "(($ac_try" in
16574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16575 *) ac_try_echo=$ac_try;;
16576 esac
16577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16578 (eval "$ac_link") 2>conftest.er1
16579 ac_status=$?
16580 grep -v '^ *+' conftest.er1 >conftest.err
16581 rm -f conftest.er1
16582 cat conftest.err >&5
16583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584 (exit $ac_status); } && {
16585 test -z "$ac_c_werror_flag" ||
16586 test ! -s conftest.err
16587 } && test -s conftest$ac_exeext &&
16588 $as_test_x conftest$ac_exeext; then
16589 ac_cv_asm_func_def=".def"
16590 else
16591 echo "$as_me: failed program was:" >&5
16592 sed 's/^/| /' conftest.$ac_ext >&5
16594 cat >conftest.$ac_ext <<_ACEOF
16595 /* confdefs.h. */
16596 _ACEOF
16597 cat confdefs.h >>conftest.$ac_ext
16598 cat >>conftest.$ac_ext <<_ACEOF
16599 /* end confdefs.h. */
16602 main ()
16604 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16606 return 0;
16608 _ACEOF
16609 rm -f conftest.$ac_objext conftest$ac_exeext
16610 if { (ac_try="$ac_link"
16611 case "(($ac_try" in
16612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16614 esac
16615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16616 (eval "$ac_link") 2>conftest.er1
16617 ac_status=$?
16618 grep -v '^ *+' conftest.er1 >conftest.err
16619 rm -f conftest.er1
16620 cat conftest.err >&5
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); } && {
16623 test -z "$ac_c_werror_flag" ||
16624 test ! -s conftest.err
16625 } && test -s conftest$ac_exeext &&
16626 $as_test_x conftest$ac_exeext; then
16627 ac_cv_asm_func_def=".type @function"
16628 else
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16632 cat >conftest.$ac_ext <<_ACEOF
16633 /* confdefs.h. */
16634 _ACEOF
16635 cat confdefs.h >>conftest.$ac_ext
16636 cat >>conftest.$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16640 main ()
16642 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16644 return 0;
16646 _ACEOF
16647 rm -f conftest.$ac_objext conftest$ac_exeext
16648 if { (ac_try="$ac_link"
16649 case "(($ac_try" in
16650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16651 *) ac_try_echo=$ac_try;;
16652 esac
16653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 (eval "$ac_link") 2>conftest.er1
16655 ac_status=$?
16656 grep -v '^ *+' conftest.er1 >conftest.err
16657 rm -f conftest.er1
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } && {
16661 test -z "$ac_c_werror_flag" ||
16662 test ! -s conftest.err
16663 } && test -s conftest$ac_exeext &&
16664 $as_test_x conftest$ac_exeext; then
16665 ac_cv_asm_func_def=".type 2"
16666 else
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16670 ac_cv_asm_func_def="unknown"
16673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16674 conftest$ac_exeext conftest.$ac_ext
16677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16678 conftest$ac_exeext conftest.$ac_ext
16681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16682 conftest$ac_exeext conftest.$ac_ext
16684 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16685 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16689 case "$ac_cv_asm_func_def" in
16690 ".def")
16691 cat >>confdefs.h <<\_ACEOF
16692 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16693 _ACEOF
16695 ".type @function")
16696 cat >>confdefs.h <<\_ACEOF
16697 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16698 _ACEOF
16700 ".type 2")
16701 cat >>confdefs.h <<\_ACEOF
16702 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16703 _ACEOF
16706 cat >>confdefs.h <<\_ACEOF
16707 #define __ASM_FUNC(name) ""
16708 _ACEOF
16710 esac
16713 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16714 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16715 if test "${ac_cv_c_extern_prefix+set}" = set; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16717 else
16718 cat >conftest.$ac_ext <<_ACEOF
16719 /* confdefs.h. */
16720 _ACEOF
16721 cat confdefs.h >>conftest.$ac_ext
16722 cat >>conftest.$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16724 extern int ac_test;
16726 main ()
16728 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16730 return 0;
16732 _ACEOF
16733 rm -f conftest.$ac_objext conftest$ac_exeext
16734 if { (ac_try="$ac_link"
16735 case "(($ac_try" in
16736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16737 *) ac_try_echo=$ac_try;;
16738 esac
16739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16740 (eval "$ac_link") 2>conftest.er1
16741 ac_status=$?
16742 grep -v '^ *+' conftest.er1 >conftest.err
16743 rm -f conftest.er1
16744 cat conftest.err >&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); } && {
16747 test -z "$ac_c_werror_flag" ||
16748 test ! -s conftest.err
16749 } && test -s conftest$ac_exeext &&
16750 $as_test_x conftest$ac_exeext; then
16751 ac_cv_c_extern_prefix="yes"
16752 else
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.$ac_ext >&5
16756 ac_cv_c_extern_prefix="no"
16759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16760 conftest$ac_exeext conftest.$ac_ext
16762 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16763 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16767 if test "$ac_cv_c_extern_prefix" = "yes"
16768 then
16769 cat >>confdefs.h <<\_ACEOF
16770 #define __ASM_NAME(name) "_" name
16771 _ACEOF
16773 else
16774 cat >>confdefs.h <<\_ACEOF
16775 #define __ASM_NAME(name) name
16776 _ACEOF
16781 LDPATH=""
16783 case $build_os in
16784 cygwin*|mingw32*)
16785 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16787 darwin*|macosx*)
16789 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
16790 then
16791 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16795 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16797 esac
16799 case $host_os in
16800 mingw32*)
16801 CRTLIBS="-lmsvcrt"
16803 SOCKETLIBS="-lws2_32"
16806 esac
16808 MAIN_BINARY="wine-pthread"
16809 case $host_cpu in
16810 *i[3456789]86*)
16811 case $host_os in
16812 linux* | k*bsd*-gnu)
16813 MAIN_BINARY="wine-glibc"
16815 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16817 freebsd*)
16818 MAIN_BINARY="wine-freebsd"
16820 EXTRA_BINARIES="wine-pthread"
16822 esac
16824 esac
16896 for ac_func in \
16897 _pclose \
16898 _popen \
16899 _snprintf \
16900 _spawnvp \
16901 _strdup \
16902 _stricmp \
16903 _strnicmp \
16904 _strtoi64 \
16905 _strtoui64 \
16906 _vsnprintf \
16907 asctime_r \
16908 chsize \
16909 clone \
16910 dlopen \
16911 epoll_create \
16912 ffs \
16913 finite \
16914 fork \
16915 fpclass \
16916 fstatfs \
16917 fstatvfs \
16918 ftruncate \
16919 futimes \
16920 futimesat \
16921 getdirentries \
16922 getopt_long \
16923 getpagesize \
16924 getpwuid \
16925 gettid \
16926 gettimeofday \
16927 getuid \
16928 inet_pton \
16929 kqueue \
16930 lstat \
16931 memmove \
16932 mmap \
16933 pclose \
16934 poll \
16935 popen \
16936 prctl \
16937 pread \
16938 pwrite \
16939 readlink \
16940 rfork \
16941 sched_yield \
16942 select \
16943 setproctitle \
16944 setrlimit \
16945 settimeofday \
16946 sigaltstack \
16947 sigprocmask \
16948 snprintf \
16949 spawnvp \
16950 statfs \
16951 statvfs \
16952 strcasecmp \
16953 strdup \
16954 strerror \
16955 strncasecmp \
16956 strtold \
16957 strtoll \
16958 strtoull \
16959 tcgetattr \
16960 thr_kill2 \
16961 timegm \
16962 usleep \
16963 vsnprintf \
16964 wait4 \
16965 waitpid \
16968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16971 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16972 echo $ECHO_N "(cached) $ECHO_C" >&6
16973 else
16974 cat >conftest.$ac_ext <<_ACEOF
16975 /* confdefs.h. */
16976 _ACEOF
16977 cat confdefs.h >>conftest.$ac_ext
16978 cat >>conftest.$ac_ext <<_ACEOF
16979 /* end confdefs.h. */
16980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16982 #define $ac_func innocuous_$ac_func
16984 /* System header to define __stub macros and hopefully few prototypes,
16985 which can conflict with char $ac_func (); below.
16986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16987 <limits.h> exists even on freestanding compilers. */
16989 #ifdef __STDC__
16990 # include <limits.h>
16991 #else
16992 # include <assert.h>
16993 #endif
16995 #undef $ac_func
16997 /* Override any GCC internal prototype to avoid an error.
16998 Use char because int might match the return type of a GCC
16999 builtin and then its argument prototype would still apply. */
17000 #ifdef __cplusplus
17001 extern "C"
17002 #endif
17003 char $ac_func ();
17004 /* The GNU C library defines this for functions which it implements
17005 to always fail with ENOSYS. Some functions are actually named
17006 something starting with __ and the normal name is an alias. */
17007 #if defined __stub_$ac_func || defined __stub___$ac_func
17008 choke me
17009 #endif
17012 main ()
17014 return $ac_func ();
17016 return 0;
17018 _ACEOF
17019 rm -f conftest.$ac_objext conftest$ac_exeext
17020 if { (ac_try="$ac_link"
17021 case "(($ac_try" in
17022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17023 *) ac_try_echo=$ac_try;;
17024 esac
17025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17026 (eval "$ac_link") 2>conftest.er1
17027 ac_status=$?
17028 grep -v '^ *+' conftest.er1 >conftest.err
17029 rm -f conftest.er1
17030 cat conftest.err >&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } && {
17033 test -z "$ac_c_werror_flag" ||
17034 test ! -s conftest.err
17035 } && test -s conftest$ac_exeext &&
17036 $as_test_x conftest$ac_exeext; then
17037 eval "$as_ac_var=yes"
17038 else
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17042 eval "$as_ac_var=no"
17045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17046 conftest$ac_exeext conftest.$ac_ext
17048 ac_res=`eval echo '${'$as_ac_var'}'`
17049 { echo "$as_me:$LINENO: result: $ac_res" >&5
17050 echo "${ECHO_T}$ac_res" >&6; }
17051 if test `eval echo '${'$as_ac_var'}'` = yes; then
17052 cat >>confdefs.h <<_ACEOF
17053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17054 _ACEOF
17057 done
17060 if test "$ac_cv_func_dlopen" = no
17061 then
17062 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17063 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17064 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17065 echo $ECHO_N "(cached) $ECHO_C" >&6
17066 else
17067 ac_check_lib_save_LIBS=$LIBS
17068 LIBS="-ldl $LIBS"
17069 cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h. */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17076 /* Override any GCC internal prototype to avoid an error.
17077 Use char because int might match the return type of a GCC
17078 builtin and then its argument prototype would still apply. */
17079 #ifdef __cplusplus
17080 extern "C"
17081 #endif
17082 char dlopen ();
17084 main ()
17086 return dlopen ();
17088 return 0;
17090 _ACEOF
17091 rm -f conftest.$ac_objext conftest$ac_exeext
17092 if { (ac_try="$ac_link"
17093 case "(($ac_try" in
17094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17095 *) ac_try_echo=$ac_try;;
17096 esac
17097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17098 (eval "$ac_link") 2>conftest.er1
17099 ac_status=$?
17100 grep -v '^ *+' conftest.er1 >conftest.err
17101 rm -f conftest.er1
17102 cat conftest.err >&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } && {
17105 test -z "$ac_c_werror_flag" ||
17106 test ! -s conftest.err
17107 } && test -s conftest$ac_exeext &&
17108 $as_test_x conftest$ac_exeext; then
17109 ac_cv_lib_dl_dlopen=yes
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17114 ac_cv_lib_dl_dlopen=no
17117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17118 conftest$ac_exeext conftest.$ac_ext
17119 LIBS=$ac_check_lib_save_LIBS
17121 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17122 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17123 if test $ac_cv_lib_dl_dlopen = yes; then
17124 cat >>confdefs.h <<\_ACEOF
17125 #define HAVE_DLOPEN 1
17126 _ACEOF
17127 LIBDL="-ldl"
17132 ac_wine_check_funcs_save_LIBS="$LIBS"
17133 LIBS="$LIBS $LIBDL"
17135 for ac_func in dladdr
17137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17138 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17140 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 else
17143 cat >conftest.$ac_ext <<_ACEOF
17144 /* confdefs.h. */
17145 _ACEOF
17146 cat confdefs.h >>conftest.$ac_ext
17147 cat >>conftest.$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17151 #define $ac_func innocuous_$ac_func
17153 /* System header to define __stub macros and hopefully few prototypes,
17154 which can conflict with char $ac_func (); below.
17155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17156 <limits.h> exists even on freestanding compilers. */
17158 #ifdef __STDC__
17159 # include <limits.h>
17160 #else
17161 # include <assert.h>
17162 #endif
17164 #undef $ac_func
17166 /* Override any GCC internal prototype to avoid an error.
17167 Use char because int might match the return type of a GCC
17168 builtin and then its argument prototype would still apply. */
17169 #ifdef __cplusplus
17170 extern "C"
17171 #endif
17172 char $ac_func ();
17173 /* The GNU C library defines this for functions which it implements
17174 to always fail with ENOSYS. Some functions are actually named
17175 something starting with __ and the normal name is an alias. */
17176 #if defined __stub_$ac_func || defined __stub___$ac_func
17177 choke me
17178 #endif
17181 main ()
17183 return $ac_func ();
17185 return 0;
17187 _ACEOF
17188 rm -f conftest.$ac_objext conftest$ac_exeext
17189 if { (ac_try="$ac_link"
17190 case "(($ac_try" in
17191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17192 *) ac_try_echo=$ac_try;;
17193 esac
17194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17195 (eval "$ac_link") 2>conftest.er1
17196 ac_status=$?
17197 grep -v '^ *+' conftest.er1 >conftest.err
17198 rm -f conftest.er1
17199 cat conftest.err >&5
17200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17201 (exit $ac_status); } && {
17202 test -z "$ac_c_werror_flag" ||
17203 test ! -s conftest.err
17204 } && test -s conftest$ac_exeext &&
17205 $as_test_x conftest$ac_exeext; then
17206 eval "$as_ac_var=yes"
17207 else
17208 echo "$as_me: failed program was:" >&5
17209 sed 's/^/| /' conftest.$ac_ext >&5
17211 eval "$as_ac_var=no"
17214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17215 conftest$ac_exeext conftest.$ac_ext
17217 ac_res=`eval echo '${'$as_ac_var'}'`
17218 { echo "$as_me:$LINENO: result: $ac_res" >&5
17219 echo "${ECHO_T}$ac_res" >&6; }
17220 if test `eval echo '${'$as_ac_var'}'` = yes; then
17221 cat >>confdefs.h <<_ACEOF
17222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17223 _ACEOF
17226 done
17228 LIBS="$ac_wine_check_funcs_save_LIBS"
17230 if test "$ac_cv_func_poll" = no
17231 then
17232 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17233 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17234 if test "${ac_cv_lib_poll_poll+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17236 else
17237 ac_check_lib_save_LIBS=$LIBS
17238 LIBS="-lpoll $LIBS"
17239 cat >conftest.$ac_ext <<_ACEOF
17240 /* confdefs.h. */
17241 _ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17246 /* Override any GCC internal prototype to avoid an error.
17247 Use char because int might match the return type of a GCC
17248 builtin and then its argument prototype would still apply. */
17249 #ifdef __cplusplus
17250 extern "C"
17251 #endif
17252 char poll ();
17254 main ()
17256 return poll ();
17258 return 0;
17260 _ACEOF
17261 rm -f conftest.$ac_objext conftest$ac_exeext
17262 if { (ac_try="$ac_link"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17265 *) ac_try_echo=$ac_try;;
17266 esac
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_link") 2>conftest.er1
17269 ac_status=$?
17270 grep -v '^ *+' conftest.er1 >conftest.err
17271 rm -f conftest.er1
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest$ac_exeext &&
17278 $as_test_x conftest$ac_exeext; then
17279 ac_cv_lib_poll_poll=yes
17280 else
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17284 ac_cv_lib_poll_poll=no
17287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17288 conftest$ac_exeext conftest.$ac_ext
17289 LIBS=$ac_check_lib_save_LIBS
17291 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17292 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17293 if test $ac_cv_lib_poll_poll = yes; then
17294 cat >>confdefs.h <<\_ACEOF
17295 #define HAVE_POLL 1
17296 _ACEOF
17297 LIBPOLL="-lpoll"
17303 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17304 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17305 if test "${ac_cv_search_gethostbyname+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 else
17308 ac_func_search_save_LIBS=$LIBS
17309 cat >conftest.$ac_ext <<_ACEOF
17310 /* confdefs.h. */
17311 _ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17316 /* Override any GCC internal prototype to avoid an error.
17317 Use char because int might match the return type of a GCC
17318 builtin and then its argument prototype would still apply. */
17319 #ifdef __cplusplus
17320 extern "C"
17321 #endif
17322 char gethostbyname ();
17324 main ()
17326 return gethostbyname ();
17328 return 0;
17330 _ACEOF
17331 for ac_lib in '' nsl; do
17332 if test -z "$ac_lib"; then
17333 ac_res="none required"
17334 else
17335 ac_res=-l$ac_lib
17336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17338 rm -f conftest.$ac_objext conftest$ac_exeext
17339 if { (ac_try="$ac_link"
17340 case "(($ac_try" in
17341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17342 *) ac_try_echo=$ac_try;;
17343 esac
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_link") 2>conftest.er1
17346 ac_status=$?
17347 grep -v '^ *+' conftest.er1 >conftest.err
17348 rm -f conftest.er1
17349 cat conftest.err >&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } && {
17352 test -z "$ac_c_werror_flag" ||
17353 test ! -s conftest.err
17354 } && test -s conftest$ac_exeext &&
17355 $as_test_x conftest$ac_exeext; then
17356 ac_cv_search_gethostbyname=$ac_res
17357 else
17358 echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.$ac_ext >&5
17364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17365 conftest$ac_exeext
17366 if test "${ac_cv_search_gethostbyname+set}" = set; then
17367 break
17369 done
17370 if test "${ac_cv_search_gethostbyname+set}" = set; then
17372 else
17373 ac_cv_search_gethostbyname=no
17375 rm conftest.$ac_ext
17376 LIBS=$ac_func_search_save_LIBS
17378 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17379 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17380 ac_res=$ac_cv_search_gethostbyname
17381 if test "$ac_res" != no; then
17382 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17387 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17388 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17389 if test "${ac_cv_search_connect+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 else
17392 ac_func_search_save_LIBS=$LIBS
17393 cat >conftest.$ac_ext <<_ACEOF
17394 /* confdefs.h. */
17395 _ACEOF
17396 cat confdefs.h >>conftest.$ac_ext
17397 cat >>conftest.$ac_ext <<_ACEOF
17398 /* end confdefs.h. */
17400 /* Override any GCC internal prototype to avoid an error.
17401 Use char because int might match the return type of a GCC
17402 builtin and then its argument prototype would still apply. */
17403 #ifdef __cplusplus
17404 extern "C"
17405 #endif
17406 char connect ();
17408 main ()
17410 return connect ();
17412 return 0;
17414 _ACEOF
17415 for ac_lib in '' socket; do
17416 if test -z "$ac_lib"; then
17417 ac_res="none required"
17418 else
17419 ac_res=-l$ac_lib
17420 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17422 rm -f conftest.$ac_objext conftest$ac_exeext
17423 if { (ac_try="$ac_link"
17424 case "(($ac_try" in
17425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17426 *) ac_try_echo=$ac_try;;
17427 esac
17428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17429 (eval "$ac_link") 2>conftest.er1
17430 ac_status=$?
17431 grep -v '^ *+' conftest.er1 >conftest.err
17432 rm -f conftest.er1
17433 cat conftest.err >&5
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); } && {
17436 test -z "$ac_c_werror_flag" ||
17437 test ! -s conftest.err
17438 } && test -s conftest$ac_exeext &&
17439 $as_test_x conftest$ac_exeext; then
17440 ac_cv_search_connect=$ac_res
17441 else
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.$ac_ext >&5
17448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17449 conftest$ac_exeext
17450 if test "${ac_cv_search_connect+set}" = set; then
17451 break
17453 done
17454 if test "${ac_cv_search_connect+set}" = set; then
17456 else
17457 ac_cv_search_connect=no
17459 rm conftest.$ac_ext
17460 LIBS=$ac_func_search_save_LIBS
17462 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17463 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17464 ac_res=$ac_cv_search_connect
17465 if test "$ac_res" != no; then
17466 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17471 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17472 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17473 if test "${ac_cv_search_inet_aton+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 else
17476 ac_func_search_save_LIBS=$LIBS
17477 cat >conftest.$ac_ext <<_ACEOF
17478 /* confdefs.h. */
17479 _ACEOF
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17484 /* Override any GCC internal prototype to avoid an error.
17485 Use char because int might match the return type of a GCC
17486 builtin and then its argument prototype would still apply. */
17487 #ifdef __cplusplus
17488 extern "C"
17489 #endif
17490 char inet_aton ();
17492 main ()
17494 return inet_aton ();
17496 return 0;
17498 _ACEOF
17499 for ac_lib in '' resolv; do
17500 if test -z "$ac_lib"; then
17501 ac_res="none required"
17502 else
17503 ac_res=-l$ac_lib
17504 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17506 rm -f conftest.$ac_objext conftest$ac_exeext
17507 if { (ac_try="$ac_link"
17508 case "(($ac_try" in
17509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17510 *) ac_try_echo=$ac_try;;
17511 esac
17512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17513 (eval "$ac_link") 2>conftest.er1
17514 ac_status=$?
17515 grep -v '^ *+' conftest.er1 >conftest.err
17516 rm -f conftest.er1
17517 cat conftest.err >&5
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); } && {
17520 test -z "$ac_c_werror_flag" ||
17521 test ! -s conftest.err
17522 } && test -s conftest$ac_exeext &&
17523 $as_test_x conftest$ac_exeext; then
17524 ac_cv_search_inet_aton=$ac_res
17525 else
17526 echo "$as_me: failed program was:" >&5
17527 sed 's/^/| /' conftest.$ac_ext >&5
17532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17533 conftest$ac_exeext
17534 if test "${ac_cv_search_inet_aton+set}" = set; then
17535 break
17537 done
17538 if test "${ac_cv_search_inet_aton+set}" = set; then
17540 else
17541 ac_cv_search_inet_aton=no
17543 rm conftest.$ac_ext
17544 LIBS=$ac_func_search_save_LIBS
17546 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17547 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17548 ac_res=$ac_cv_search_inet_aton
17549 if test "$ac_res" != no; then
17550 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17563 for ac_func in \
17564 getaddrinfo \
17565 getnameinfo \
17566 getnetbyname \
17567 getprotobyname \
17568 getprotobynumber \
17569 getservbyport \
17570 inet_network \
17571 sendmsg \
17574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17578 echo $ECHO_N "(cached) $ECHO_C" >&6
17579 else
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17588 #define $ac_func innocuous_$ac_func
17590 /* System header to define __stub macros and hopefully few prototypes,
17591 which can conflict with char $ac_func (); below.
17592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17593 <limits.h> exists even on freestanding compilers. */
17595 #ifdef __STDC__
17596 # include <limits.h>
17597 #else
17598 # include <assert.h>
17599 #endif
17601 #undef $ac_func
17603 /* Override any GCC internal prototype to avoid an error.
17604 Use char because int might match the return type of a GCC
17605 builtin and then its argument prototype would still apply. */
17606 #ifdef __cplusplus
17607 extern "C"
17608 #endif
17609 char $ac_func ();
17610 /* The GNU C library defines this for functions which it implements
17611 to always fail with ENOSYS. Some functions are actually named
17612 something starting with __ and the normal name is an alias. */
17613 #if defined __stub_$ac_func || defined __stub___$ac_func
17614 choke me
17615 #endif
17618 main ()
17620 return $ac_func ();
17622 return 0;
17624 _ACEOF
17625 rm -f conftest.$ac_objext conftest$ac_exeext
17626 if { (ac_try="$ac_link"
17627 case "(($ac_try" in
17628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17629 *) ac_try_echo=$ac_try;;
17630 esac
17631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17632 (eval "$ac_link") 2>conftest.er1
17633 ac_status=$?
17634 grep -v '^ *+' conftest.er1 >conftest.err
17635 rm -f conftest.er1
17636 cat conftest.err >&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); } && {
17639 test -z "$ac_c_werror_flag" ||
17640 test ! -s conftest.err
17641 } && test -s conftest$ac_exeext &&
17642 $as_test_x conftest$ac_exeext; then
17643 eval "$as_ac_var=yes"
17644 else
17645 echo "$as_me: failed program was:" >&5
17646 sed 's/^/| /' conftest.$ac_ext >&5
17648 eval "$as_ac_var=no"
17651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17652 conftest$ac_exeext conftest.$ac_ext
17654 ac_res=`eval echo '${'$as_ac_var'}'`
17655 { echo "$as_me:$LINENO: result: $ac_res" >&5
17656 echo "${ECHO_T}$ac_res" >&6; }
17657 if test `eval echo '${'$as_ac_var'}'` = yes; then
17658 cat >>confdefs.h <<_ACEOF
17659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17660 _ACEOF
17663 done
17667 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17668 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17669 if test "${ac_cv_c_const+set}" = set; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17671 else
17672 cat >conftest.$ac_ext <<_ACEOF
17673 /* confdefs.h. */
17674 _ACEOF
17675 cat confdefs.h >>conftest.$ac_ext
17676 cat >>conftest.$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17680 main ()
17682 /* FIXME: Include the comments suggested by Paul. */
17683 #ifndef __cplusplus
17684 /* Ultrix mips cc rejects this. */
17685 typedef int charset[2];
17686 const charset cs;
17687 /* SunOS 4.1.1 cc rejects this. */
17688 char const *const *pcpcc;
17689 char **ppc;
17690 /* NEC SVR4.0.2 mips cc rejects this. */
17691 struct point {int x, y;};
17692 static struct point const zero = {0,0};
17693 /* AIX XL C 1.02.0.0 rejects this.
17694 It does not let you subtract one const X* pointer from another in
17695 an arm of an if-expression whose if-part is not a constant
17696 expression */
17697 const char *g = "string";
17698 pcpcc = &g + (g ? g-g : 0);
17699 /* HPUX 7.0 cc rejects these. */
17700 ++pcpcc;
17701 ppc = (char**) pcpcc;
17702 pcpcc = (char const *const *) ppc;
17703 { /* SCO 3.2v4 cc rejects this. */
17704 char *t;
17705 char const *s = 0 ? (char *) 0 : (char const *) 0;
17707 *t++ = 0;
17708 if (s) return 0;
17710 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17711 int x[] = {25, 17};
17712 const int *foo = &x[0];
17713 ++foo;
17715 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17716 typedef const int *iptr;
17717 iptr p = 0;
17718 ++p;
17720 { /* AIX XL C 1.02.0.0 rejects this saying
17721 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17722 struct s { int j; const int *ap[3]; };
17723 struct s *b; b->j = 5;
17725 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17726 const int foo = 10;
17727 if (!foo) return 0;
17729 return !cs[0] && !zero.x;
17730 #endif
17733 return 0;
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17741 esac
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17744 ac_status=$?
17745 grep -v '^ *+' conftest.er1 >conftest.err
17746 rm -f conftest.er1
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17753 ac_cv_c_const=yes
17754 else
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17758 ac_cv_c_const=no
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17763 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17764 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17765 if test $ac_cv_c_const = no; then
17767 cat >>confdefs.h <<\_ACEOF
17768 #define const
17769 _ACEOF
17773 { echo "$as_me:$LINENO: checking for inline" >&5
17774 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17775 if test "${ac_cv_c_inline+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17777 else
17778 ac_cv_c_inline=no
17779 for ac_kw in inline __inline__ __inline; do
17780 cat >conftest.$ac_ext <<_ACEOF
17781 /* confdefs.h. */
17782 _ACEOF
17783 cat confdefs.h >>conftest.$ac_ext
17784 cat >>conftest.$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 #ifndef __cplusplus
17787 typedef int foo_t;
17788 static $ac_kw foo_t static_foo () {return 0; }
17789 $ac_kw foo_t foo () {return 0; }
17790 #endif
17792 _ACEOF
17793 rm -f conftest.$ac_objext
17794 if { (ac_try="$ac_compile"
17795 case "(($ac_try" in
17796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17797 *) ac_try_echo=$ac_try;;
17798 esac
17799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17800 (eval "$ac_compile") 2>conftest.er1
17801 ac_status=$?
17802 grep -v '^ *+' conftest.er1 >conftest.err
17803 rm -f conftest.er1
17804 cat conftest.err >&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } && {
17807 test -z "$ac_c_werror_flag" ||
17808 test ! -s conftest.err
17809 } && test -s conftest.$ac_objext; then
17810 ac_cv_c_inline=$ac_kw
17811 else
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.$ac_ext >&5
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819 test "$ac_cv_c_inline" != no && break
17820 done
17823 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17824 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17827 case $ac_cv_c_inline in
17828 inline | yes) ;;
17830 case $ac_cv_c_inline in
17831 no) ac_val=;;
17832 *) ac_val=$ac_cv_c_inline;;
17833 esac
17834 cat >>confdefs.h <<_ACEOF
17835 #ifndef __cplusplus
17836 #define inline $ac_val
17837 #endif
17838 _ACEOF
17840 esac
17842 { echo "$as_me:$LINENO: checking for mode_t" >&5
17843 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17844 if test "${ac_cv_type_mode_t+set}" = set; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17846 else
17847 cat >conftest.$ac_ext <<_ACEOF
17848 /* confdefs.h. */
17849 _ACEOF
17850 cat confdefs.h >>conftest.$ac_ext
17851 cat >>conftest.$ac_ext <<_ACEOF
17852 /* end confdefs.h. */
17853 $ac_includes_default
17854 typedef mode_t ac__type_new_;
17856 main ()
17858 if ((ac__type_new_ *) 0)
17859 return 0;
17860 if (sizeof (ac__type_new_))
17861 return 0;
17863 return 0;
17865 _ACEOF
17866 rm -f conftest.$ac_objext
17867 if { (ac_try="$ac_compile"
17868 case "(($ac_try" in
17869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17870 *) ac_try_echo=$ac_try;;
17871 esac
17872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17873 (eval "$ac_compile") 2>conftest.er1
17874 ac_status=$?
17875 grep -v '^ *+' conftest.er1 >conftest.err
17876 rm -f conftest.er1
17877 cat conftest.err >&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } && {
17880 test -z "$ac_c_werror_flag" ||
17881 test ! -s conftest.err
17882 } && test -s conftest.$ac_objext; then
17883 ac_cv_type_mode_t=yes
17884 else
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.$ac_ext >&5
17888 ac_cv_type_mode_t=no
17891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17893 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17894 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17895 if test $ac_cv_type_mode_t = yes; then
17897 cat >>confdefs.h <<_ACEOF
17898 #define HAVE_MODE_T 1
17899 _ACEOF
17903 { echo "$as_me:$LINENO: checking for off_t" >&5
17904 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17905 if test "${ac_cv_type_off_t+set}" = set; then
17906 echo $ECHO_N "(cached) $ECHO_C" >&6
17907 else
17908 cat >conftest.$ac_ext <<_ACEOF
17909 /* confdefs.h. */
17910 _ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 $ac_includes_default
17915 typedef off_t ac__type_new_;
17917 main ()
17919 if ((ac__type_new_ *) 0)
17920 return 0;
17921 if (sizeof (ac__type_new_))
17922 return 0;
17924 return 0;
17926 _ACEOF
17927 rm -f conftest.$ac_objext
17928 if { (ac_try="$ac_compile"
17929 case "(($ac_try" in
17930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17931 *) ac_try_echo=$ac_try;;
17932 esac
17933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17934 (eval "$ac_compile") 2>conftest.er1
17935 ac_status=$?
17936 grep -v '^ *+' conftest.er1 >conftest.err
17937 rm -f conftest.er1
17938 cat conftest.err >&5
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); } && {
17941 test -z "$ac_c_werror_flag" ||
17942 test ! -s conftest.err
17943 } && test -s conftest.$ac_objext; then
17944 ac_cv_type_off_t=yes
17945 else
17946 echo "$as_me: failed program was:" >&5
17947 sed 's/^/| /' conftest.$ac_ext >&5
17949 ac_cv_type_off_t=no
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17954 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17955 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17956 if test $ac_cv_type_off_t = yes; then
17958 cat >>confdefs.h <<_ACEOF
17959 #define HAVE_OFF_T 1
17960 _ACEOF
17964 { echo "$as_me:$LINENO: checking for pid_t" >&5
17965 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17966 if test "${ac_cv_type_pid_t+set}" = set; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 else
17969 cat >conftest.$ac_ext <<_ACEOF
17970 /* confdefs.h. */
17971 _ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 $ac_includes_default
17976 typedef pid_t ac__type_new_;
17978 main ()
17980 if ((ac__type_new_ *) 0)
17981 return 0;
17982 if (sizeof (ac__type_new_))
17983 return 0;
17985 return 0;
17987 _ACEOF
17988 rm -f conftest.$ac_objext
17989 if { (ac_try="$ac_compile"
17990 case "(($ac_try" in
17991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17992 *) ac_try_echo=$ac_try;;
17993 esac
17994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17995 (eval "$ac_compile") 2>conftest.er1
17996 ac_status=$?
17997 grep -v '^ *+' conftest.er1 >conftest.err
17998 rm -f conftest.er1
17999 cat conftest.err >&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } && {
18002 test -z "$ac_c_werror_flag" ||
18003 test ! -s conftest.err
18004 } && test -s conftest.$ac_objext; then
18005 ac_cv_type_pid_t=yes
18006 else
18007 echo "$as_me: failed program was:" >&5
18008 sed 's/^/| /' conftest.$ac_ext >&5
18010 ac_cv_type_pid_t=no
18013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18015 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18016 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18017 if test $ac_cv_type_pid_t = yes; then
18019 cat >>confdefs.h <<_ACEOF
18020 #define HAVE_PID_T 1
18021 _ACEOF
18025 { echo "$as_me:$LINENO: checking for size_t" >&5
18026 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18027 if test "${ac_cv_type_size_t+set}" = set; then
18028 echo $ECHO_N "(cached) $ECHO_C" >&6
18029 else
18030 cat >conftest.$ac_ext <<_ACEOF
18031 /* confdefs.h. */
18032 _ACEOF
18033 cat confdefs.h >>conftest.$ac_ext
18034 cat >>conftest.$ac_ext <<_ACEOF
18035 /* end confdefs.h. */
18036 $ac_includes_default
18037 typedef size_t ac__type_new_;
18039 main ()
18041 if ((ac__type_new_ *) 0)
18042 return 0;
18043 if (sizeof (ac__type_new_))
18044 return 0;
18046 return 0;
18048 _ACEOF
18049 rm -f conftest.$ac_objext
18050 if { (ac_try="$ac_compile"
18051 case "(($ac_try" in
18052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18053 *) ac_try_echo=$ac_try;;
18054 esac
18055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18056 (eval "$ac_compile") 2>conftest.er1
18057 ac_status=$?
18058 grep -v '^ *+' conftest.er1 >conftest.err
18059 rm -f conftest.er1
18060 cat conftest.err >&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); } && {
18063 test -z "$ac_c_werror_flag" ||
18064 test ! -s conftest.err
18065 } && test -s conftest.$ac_objext; then
18066 ac_cv_type_size_t=yes
18067 else
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18071 ac_cv_type_size_t=no
18074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18076 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18077 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18078 if test $ac_cv_type_size_t = yes; then
18080 cat >>confdefs.h <<_ACEOF
18081 #define HAVE_SIZE_T 1
18082 _ACEOF
18086 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18087 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18088 if test "${ac_cv_type_ssize_t+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18090 else
18091 cat >conftest.$ac_ext <<_ACEOF
18092 /* confdefs.h. */
18093 _ACEOF
18094 cat confdefs.h >>conftest.$ac_ext
18095 cat >>conftest.$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18097 $ac_includes_default
18098 typedef ssize_t ac__type_new_;
18100 main ()
18102 if ((ac__type_new_ *) 0)
18103 return 0;
18104 if (sizeof (ac__type_new_))
18105 return 0;
18107 return 0;
18109 _ACEOF
18110 rm -f conftest.$ac_objext
18111 if { (ac_try="$ac_compile"
18112 case "(($ac_try" in
18113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18114 *) ac_try_echo=$ac_try;;
18115 esac
18116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18117 (eval "$ac_compile") 2>conftest.er1
18118 ac_status=$?
18119 grep -v '^ *+' conftest.er1 >conftest.err
18120 rm -f conftest.er1
18121 cat conftest.err >&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } && {
18124 test -z "$ac_c_werror_flag" ||
18125 test ! -s conftest.err
18126 } && test -s conftest.$ac_objext; then
18127 ac_cv_type_ssize_t=yes
18128 else
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18132 ac_cv_type_ssize_t=no
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18137 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18138 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18139 if test $ac_cv_type_ssize_t = yes; then
18141 cat >>confdefs.h <<_ACEOF
18142 #define HAVE_SSIZE_T 1
18143 _ACEOF
18147 { echo "$as_me:$LINENO: checking for long long" >&5
18148 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18149 if test "${ac_cv_type_long_long+set}" = set; then
18150 echo $ECHO_N "(cached) $ECHO_C" >&6
18151 else
18152 cat >conftest.$ac_ext <<_ACEOF
18153 /* confdefs.h. */
18154 _ACEOF
18155 cat confdefs.h >>conftest.$ac_ext
18156 cat >>conftest.$ac_ext <<_ACEOF
18157 /* end confdefs.h. */
18158 $ac_includes_default
18159 typedef long long ac__type_new_;
18161 main ()
18163 if ((ac__type_new_ *) 0)
18164 return 0;
18165 if (sizeof (ac__type_new_))
18166 return 0;
18168 return 0;
18170 _ACEOF
18171 rm -f conftest.$ac_objext
18172 if { (ac_try="$ac_compile"
18173 case "(($ac_try" in
18174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18175 *) ac_try_echo=$ac_try;;
18176 esac
18177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18178 (eval "$ac_compile") 2>conftest.er1
18179 ac_status=$?
18180 grep -v '^ *+' conftest.er1 >conftest.err
18181 rm -f conftest.er1
18182 cat conftest.err >&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } && {
18185 test -z "$ac_c_werror_flag" ||
18186 test ! -s conftest.err
18187 } && test -s conftest.$ac_objext; then
18188 ac_cv_type_long_long=yes
18189 else
18190 echo "$as_me: failed program was:" >&5
18191 sed 's/^/| /' conftest.$ac_ext >&5
18193 ac_cv_type_long_long=no
18196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18198 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18199 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18200 if test $ac_cv_type_long_long = yes; then
18202 cat >>confdefs.h <<_ACEOF
18203 #define HAVE_LONG_LONG 1
18204 _ACEOF
18208 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18209 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18210 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18211 echo $ECHO_N "(cached) $ECHO_C" >&6
18212 else
18213 cat >conftest.$ac_ext <<_ACEOF
18214 /* confdefs.h. */
18215 _ACEOF
18216 cat confdefs.h >>conftest.$ac_ext
18217 cat >>conftest.$ac_ext <<_ACEOF
18218 /* end confdefs.h. */
18219 $ac_includes_default
18220 typedef fsblkcnt_t ac__type_new_;
18222 main ()
18224 if ((ac__type_new_ *) 0)
18225 return 0;
18226 if (sizeof (ac__type_new_))
18227 return 0;
18229 return 0;
18231 _ACEOF
18232 rm -f conftest.$ac_objext
18233 if { (ac_try="$ac_compile"
18234 case "(($ac_try" in
18235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18236 *) ac_try_echo=$ac_try;;
18237 esac
18238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18239 (eval "$ac_compile") 2>conftest.er1
18240 ac_status=$?
18241 grep -v '^ *+' conftest.er1 >conftest.err
18242 rm -f conftest.er1
18243 cat conftest.err >&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); } && {
18246 test -z "$ac_c_werror_flag" ||
18247 test ! -s conftest.err
18248 } && test -s conftest.$ac_objext; then
18249 ac_cv_type_fsblkcnt_t=yes
18250 else
18251 echo "$as_me: failed program was:" >&5
18252 sed 's/^/| /' conftest.$ac_ext >&5
18254 ac_cv_type_fsblkcnt_t=no
18257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18259 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18260 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18261 if test $ac_cv_type_fsblkcnt_t = yes; then
18263 cat >>confdefs.h <<_ACEOF
18264 #define HAVE_FSBLKCNT_T 1
18265 _ACEOF
18269 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18270 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18271 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18272 echo $ECHO_N "(cached) $ECHO_C" >&6
18273 else
18274 cat >conftest.$ac_ext <<_ACEOF
18275 /* confdefs.h. */
18276 _ACEOF
18277 cat confdefs.h >>conftest.$ac_ext
18278 cat >>conftest.$ac_ext <<_ACEOF
18279 /* end confdefs.h. */
18280 $ac_includes_default
18281 typedef fsfilcnt_t ac__type_new_;
18283 main ()
18285 if ((ac__type_new_ *) 0)
18286 return 0;
18287 if (sizeof (ac__type_new_))
18288 return 0;
18290 return 0;
18292 _ACEOF
18293 rm -f conftest.$ac_objext
18294 if { (ac_try="$ac_compile"
18295 case "(($ac_try" in
18296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18297 *) ac_try_echo=$ac_try;;
18298 esac
18299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18300 (eval "$ac_compile") 2>conftest.er1
18301 ac_status=$?
18302 grep -v '^ *+' conftest.er1 >conftest.err
18303 rm -f conftest.er1
18304 cat conftest.err >&5
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); } && {
18307 test -z "$ac_c_werror_flag" ||
18308 test ! -s conftest.err
18309 } && test -s conftest.$ac_objext; then
18310 ac_cv_type_fsfilcnt_t=yes
18311 else
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.$ac_ext >&5
18315 ac_cv_type_fsfilcnt_t=no
18318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18320 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18321 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18322 if test $ac_cv_type_fsfilcnt_t = yes; then
18324 cat >>confdefs.h <<_ACEOF
18325 #define HAVE_FSFILCNT_T 1
18326 _ACEOF
18331 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18332 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18333 if test "${ac_cv_type_sigset_t+set}" = set; then
18334 echo $ECHO_N "(cached) $ECHO_C" >&6
18335 else
18336 cat >conftest.$ac_ext <<_ACEOF
18337 /* confdefs.h. */
18338 _ACEOF
18339 cat confdefs.h >>conftest.$ac_ext
18340 cat >>conftest.$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18342 #include <signal.h>
18344 typedef sigset_t ac__type_new_;
18346 main ()
18348 if ((ac__type_new_ *) 0)
18349 return 0;
18350 if (sizeof (ac__type_new_))
18351 return 0;
18353 return 0;
18355 _ACEOF
18356 rm -f conftest.$ac_objext
18357 if { (ac_try="$ac_compile"
18358 case "(($ac_try" in
18359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18360 *) ac_try_echo=$ac_try;;
18361 esac
18362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18363 (eval "$ac_compile") 2>conftest.er1
18364 ac_status=$?
18365 grep -v '^ *+' conftest.er1 >conftest.err
18366 rm -f conftest.er1
18367 cat conftest.err >&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); } && {
18370 test -z "$ac_c_werror_flag" ||
18371 test ! -s conftest.err
18372 } && test -s conftest.$ac_objext; then
18373 ac_cv_type_sigset_t=yes
18374 else
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18378 ac_cv_type_sigset_t=no
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18383 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18384 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18385 if test $ac_cv_type_sigset_t = yes; then
18387 cat >>confdefs.h <<_ACEOF
18388 #define HAVE_SIGSET_T 1
18389 _ACEOF
18394 { echo "$as_me:$LINENO: checking for request_sense" >&5
18395 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18396 if test "${ac_cv_type_request_sense+set}" = set; then
18397 echo $ECHO_N "(cached) $ECHO_C" >&6
18398 else
18399 cat >conftest.$ac_ext <<_ACEOF
18400 /* confdefs.h. */
18401 _ACEOF
18402 cat confdefs.h >>conftest.$ac_ext
18403 cat >>conftest.$ac_ext <<_ACEOF
18404 /* end confdefs.h. */
18405 #include <linux/cdrom.h>
18407 typedef request_sense ac__type_new_;
18409 main ()
18411 if ((ac__type_new_ *) 0)
18412 return 0;
18413 if (sizeof (ac__type_new_))
18414 return 0;
18416 return 0;
18418 _ACEOF
18419 rm -f conftest.$ac_objext
18420 if { (ac_try="$ac_compile"
18421 case "(($ac_try" in
18422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18424 esac
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_compile") 2>conftest.er1
18427 ac_status=$?
18428 grep -v '^ *+' conftest.er1 >conftest.err
18429 rm -f conftest.er1
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } && {
18433 test -z "$ac_c_werror_flag" ||
18434 test ! -s conftest.err
18435 } && test -s conftest.$ac_objext; then
18436 ac_cv_type_request_sense=yes
18437 else
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18441 ac_cv_type_request_sense=no
18444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18446 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18447 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18448 if test $ac_cv_type_request_sense = yes; then
18450 cat >>confdefs.h <<_ACEOF
18451 #define HAVE_REQUEST_SENSE 1
18452 _ACEOF
18458 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18459 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18460 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18461 echo $ECHO_N "(cached) $ECHO_C" >&6
18462 else
18463 cat >conftest.$ac_ext <<_ACEOF
18464 /* confdefs.h. */
18465 _ACEOF
18466 cat confdefs.h >>conftest.$ac_ext
18467 cat >>conftest.$ac_ext <<_ACEOF
18468 /* end confdefs.h. */
18469 #ifdef HAVE_LINUX_INPUT_H
18470 #include <linux/input.h>
18471 #endif
18474 main ()
18476 static struct ff_effect ac_aggr;
18477 if (ac_aggr.direction)
18478 return 0;
18480 return 0;
18482 _ACEOF
18483 rm -f conftest.$ac_objext
18484 if { (ac_try="$ac_compile"
18485 case "(($ac_try" in
18486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18487 *) ac_try_echo=$ac_try;;
18488 esac
18489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18490 (eval "$ac_compile") 2>conftest.er1
18491 ac_status=$?
18492 grep -v '^ *+' conftest.er1 >conftest.err
18493 rm -f conftest.er1
18494 cat conftest.err >&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } && {
18497 test -z "$ac_c_werror_flag" ||
18498 test ! -s conftest.err
18499 } && test -s conftest.$ac_objext; then
18500 ac_cv_member_struct_ff_effect_direction=yes
18501 else
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.$ac_ext >&5
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 #ifdef HAVE_LINUX_INPUT_H
18512 #include <linux/input.h>
18513 #endif
18516 main ()
18518 static struct ff_effect ac_aggr;
18519 if (sizeof ac_aggr.direction)
18520 return 0;
18522 return 0;
18524 _ACEOF
18525 rm -f conftest.$ac_objext
18526 if { (ac_try="$ac_compile"
18527 case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18530 esac
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_compile") 2>conftest.er1
18533 ac_status=$?
18534 grep -v '^ *+' conftest.er1 >conftest.err
18535 rm -f conftest.er1
18536 cat conftest.err >&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } && {
18539 test -z "$ac_c_werror_flag" ||
18540 test ! -s conftest.err
18541 } && test -s conftest.$ac_objext; then
18542 ac_cv_member_struct_ff_effect_direction=yes
18543 else
18544 echo "$as_me: failed program was:" >&5
18545 sed 's/^/| /' conftest.$ac_ext >&5
18547 ac_cv_member_struct_ff_effect_direction=no
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18555 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18556 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18557 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18559 cat >>confdefs.h <<_ACEOF
18560 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18561 _ACEOF
18567 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18568 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18569 if test "${wine_cv_have_sigaddset+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18571 else
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 <signal.h>
18580 main ()
18582 sigset_t set; sigaddset(&set,SIGTERM);
18584 return 0;
18586 _ACEOF
18587 rm -f conftest.$ac_objext conftest$ac_exeext
18588 if { (ac_try="$ac_link"
18589 case "(($ac_try" in
18590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18591 *) ac_try_echo=$ac_try;;
18592 esac
18593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18594 (eval "$ac_link") 2>conftest.er1
18595 ac_status=$?
18596 grep -v '^ *+' conftest.er1 >conftest.err
18597 rm -f conftest.er1
18598 cat conftest.err >&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); } && {
18601 test -z "$ac_c_werror_flag" ||
18602 test ! -s conftest.err
18603 } && test -s conftest$ac_exeext &&
18604 $as_test_x conftest$ac_exeext; then
18605 wine_cv_have_sigaddset=yes
18606 else
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 wine_cv_have_sigaddset=no
18613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18614 conftest$ac_exeext conftest.$ac_ext
18616 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18617 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18618 if test "$wine_cv_have_sigaddset" = "yes"
18619 then
18621 cat >>confdefs.h <<\_ACEOF
18622 #define HAVE_SIGADDSET 1
18623 _ACEOF
18628 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18629 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18630 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18631 echo $ECHO_N "(cached) $ECHO_C" >&6
18632 else
18633 cat >conftest.$ac_ext <<_ACEOF
18634 /* confdefs.h. */
18635 _ACEOF
18636 cat confdefs.h >>conftest.$ac_ext
18637 cat >>conftest.$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18639 #include <netdb.h>
18641 main ()
18644 char *name=0;
18645 struct hostent he;
18646 struct hostent *result;
18647 char *buf=0;
18648 int bufsize=0;
18649 int res,errnr;
18650 char *addr=0;
18651 int addrlen=0;
18652 int addrtype=0;
18653 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18654 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18657 return 0;
18659 _ACEOF
18660 rm -f conftest.$ac_objext conftest$ac_exeext
18661 if { (ac_try="$ac_link"
18662 case "(($ac_try" in
18663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18664 *) ac_try_echo=$ac_try;;
18665 esac
18666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18667 (eval "$ac_link") 2>conftest.er1
18668 ac_status=$?
18669 grep -v '^ *+' conftest.er1 >conftest.err
18670 rm -f conftest.er1
18671 cat conftest.err >&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); } && {
18674 test -z "$ac_c_werror_flag" ||
18675 test ! -s conftest.err
18676 } && test -s conftest$ac_exeext &&
18677 $as_test_x conftest$ac_exeext; then
18678 wine_cv_linux_gethostbyname_r_6=yes
18679 else
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18683 wine_cv_linux_gethostbyname_r_6=no
18687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18688 conftest$ac_exeext conftest.$ac_ext
18691 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18692 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18693 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18694 then
18696 cat >>confdefs.h <<\_ACEOF
18697 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18698 _ACEOF
18702 if test "$ac_cv_header_linux_joystick_h" = "yes"
18703 then
18704 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18705 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18706 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18708 else
18709 cat >conftest.$ac_ext <<_ACEOF
18710 /* confdefs.h. */
18711 _ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18716 #include <sys/ioctl.h>
18717 #include <sys/types.h>
18718 #include <linux/joystick.h>
18720 struct js_event blub;
18721 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18722 #error "no 2.2 header"
18723 #endif
18726 main ()
18728 /*empty*/
18730 return 0;
18732 _ACEOF
18733 rm -f conftest.$ac_objext
18734 if { (ac_try="$ac_compile"
18735 case "(($ac_try" in
18736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737 *) ac_try_echo=$ac_try;;
18738 esac
18739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740 (eval "$ac_compile") 2>conftest.er1
18741 ac_status=$?
18742 grep -v '^ *+' conftest.er1 >conftest.err
18743 rm -f conftest.er1
18744 cat conftest.err >&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); } && {
18747 test -z "$ac_c_werror_flag" ||
18748 test ! -s conftest.err
18749 } && test -s conftest.$ac_objext; then
18750 wine_cv_linux_joystick_22_api=yes
18751 else
18752 echo "$as_me: failed program was:" >&5
18753 sed 's/^/| /' conftest.$ac_ext >&5
18755 wine_cv_linux_joystick_22_api=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18761 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18762 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18763 if test "$wine_cv_linux_joystick_22_api" = "yes"
18764 then
18766 cat >>confdefs.h <<\_ACEOF
18767 #define HAVE_LINUX_22_JOYSTICK_API 1
18768 _ACEOF
18774 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18775 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18776 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18778 else
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <sys/types.h>
18786 #ifdef HAVE_SYS_PARAM_H
18787 # include <sys/param.h>
18788 #endif
18789 #ifdef HAVE_SYS_MOUNT_H
18790 # include <sys/mount.h>
18791 #endif
18792 #ifdef HAVE_SYS_VFS_H
18793 # include <sys/vfs.h>
18794 #endif
18795 #ifdef HAVE_SYS_STATFS_H
18796 # include <sys/statfs.h>
18797 #endif
18800 main ()
18802 static struct statfs ac_aggr;
18803 if (ac_aggr.f_bfree)
18804 return 0;
18806 return 0;
18808 _ACEOF
18809 rm -f conftest.$ac_objext
18810 if { (ac_try="$ac_compile"
18811 case "(($ac_try" in
18812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18813 *) ac_try_echo=$ac_try;;
18814 esac
18815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18816 (eval "$ac_compile") 2>conftest.er1
18817 ac_status=$?
18818 grep -v '^ *+' conftest.er1 >conftest.err
18819 rm -f conftest.er1
18820 cat conftest.err >&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } && {
18823 test -z "$ac_c_werror_flag" ||
18824 test ! -s conftest.err
18825 } && test -s conftest.$ac_objext; then
18826 ac_cv_member_struct_statfs_f_bfree=yes
18827 else
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18831 cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h. */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h. */
18837 #include <sys/types.h>
18838 #ifdef HAVE_SYS_PARAM_H
18839 # include <sys/param.h>
18840 #endif
18841 #ifdef HAVE_SYS_MOUNT_H
18842 # include <sys/mount.h>
18843 #endif
18844 #ifdef HAVE_SYS_VFS_H
18845 # include <sys/vfs.h>
18846 #endif
18847 #ifdef HAVE_SYS_STATFS_H
18848 # include <sys/statfs.h>
18849 #endif
18852 main ()
18854 static struct statfs ac_aggr;
18855 if (sizeof ac_aggr.f_bfree)
18856 return 0;
18858 return 0;
18860 _ACEOF
18861 rm -f conftest.$ac_objext
18862 if { (ac_try="$ac_compile"
18863 case "(($ac_try" in
18864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18865 *) ac_try_echo=$ac_try;;
18866 esac
18867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18868 (eval "$ac_compile") 2>conftest.er1
18869 ac_status=$?
18870 grep -v '^ *+' conftest.er1 >conftest.err
18871 rm -f conftest.er1
18872 cat conftest.err >&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); } && {
18875 test -z "$ac_c_werror_flag" ||
18876 test ! -s conftest.err
18877 } && test -s conftest.$ac_objext; then
18878 ac_cv_member_struct_statfs_f_bfree=yes
18879 else
18880 echo "$as_me: failed program was:" >&5
18881 sed 's/^/| /' conftest.$ac_ext >&5
18883 ac_cv_member_struct_statfs_f_bfree=no
18886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18891 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18892 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18893 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18895 cat >>confdefs.h <<_ACEOF
18896 #define HAVE_STRUCT_STATFS_F_BFREE 1
18897 _ACEOF
18901 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18902 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18903 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18904 echo $ECHO_N "(cached) $ECHO_C" >&6
18905 else
18906 cat >conftest.$ac_ext <<_ACEOF
18907 /* confdefs.h. */
18908 _ACEOF
18909 cat confdefs.h >>conftest.$ac_ext
18910 cat >>conftest.$ac_ext <<_ACEOF
18911 /* end confdefs.h. */
18912 #include <sys/types.h>
18913 #ifdef HAVE_SYS_PARAM_H
18914 # include <sys/param.h>
18915 #endif
18916 #ifdef HAVE_SYS_MOUNT_H
18917 # include <sys/mount.h>
18918 #endif
18919 #ifdef HAVE_SYS_VFS_H
18920 # include <sys/vfs.h>
18921 #endif
18922 #ifdef HAVE_SYS_STATFS_H
18923 # include <sys/statfs.h>
18924 #endif
18927 main ()
18929 static struct statfs ac_aggr;
18930 if (ac_aggr.f_bavail)
18931 return 0;
18933 return 0;
18935 _ACEOF
18936 rm -f conftest.$ac_objext
18937 if { (ac_try="$ac_compile"
18938 case "(($ac_try" in
18939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18940 *) ac_try_echo=$ac_try;;
18941 esac
18942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18943 (eval "$ac_compile") 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } && {
18950 test -z "$ac_c_werror_flag" ||
18951 test ! -s conftest.err
18952 } && test -s conftest.$ac_objext; then
18953 ac_cv_member_struct_statfs_f_bavail=yes
18954 else
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18958 cat >conftest.$ac_ext <<_ACEOF
18959 /* confdefs.h. */
18960 _ACEOF
18961 cat confdefs.h >>conftest.$ac_ext
18962 cat >>conftest.$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18964 #include <sys/types.h>
18965 #ifdef HAVE_SYS_PARAM_H
18966 # include <sys/param.h>
18967 #endif
18968 #ifdef HAVE_SYS_MOUNT_H
18969 # include <sys/mount.h>
18970 #endif
18971 #ifdef HAVE_SYS_VFS_H
18972 # include <sys/vfs.h>
18973 #endif
18974 #ifdef HAVE_SYS_STATFS_H
18975 # include <sys/statfs.h>
18976 #endif
18979 main ()
18981 static struct statfs ac_aggr;
18982 if (sizeof ac_aggr.f_bavail)
18983 return 0;
18985 return 0;
18987 _ACEOF
18988 rm -f conftest.$ac_objext
18989 if { (ac_try="$ac_compile"
18990 case "(($ac_try" in
18991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18992 *) ac_try_echo=$ac_try;;
18993 esac
18994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18995 (eval "$ac_compile") 2>conftest.er1
18996 ac_status=$?
18997 grep -v '^ *+' conftest.er1 >conftest.err
18998 rm -f conftest.er1
18999 cat conftest.err >&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); } && {
19002 test -z "$ac_c_werror_flag" ||
19003 test ! -s conftest.err
19004 } && test -s conftest.$ac_objext; then
19005 ac_cv_member_struct_statfs_f_bavail=yes
19006 else
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19010 ac_cv_member_struct_statfs_f_bavail=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19019 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19020 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19024 _ACEOF
19028 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19029 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19030 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19032 else
19033 cat >conftest.$ac_ext <<_ACEOF
19034 /* confdefs.h. */
19035 _ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 #include <sys/types.h>
19040 #ifdef HAVE_SYS_PARAM_H
19041 # include <sys/param.h>
19042 #endif
19043 #ifdef HAVE_SYS_MOUNT_H
19044 # include <sys/mount.h>
19045 #endif
19046 #ifdef HAVE_SYS_VFS_H
19047 # include <sys/vfs.h>
19048 #endif
19049 #ifdef HAVE_SYS_STATFS_H
19050 # include <sys/statfs.h>
19051 #endif
19054 main ()
19056 static struct statfs ac_aggr;
19057 if (ac_aggr.f_frsize)
19058 return 0;
19060 return 0;
19062 _ACEOF
19063 rm -f conftest.$ac_objext
19064 if { (ac_try="$ac_compile"
19065 case "(($ac_try" in
19066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19067 *) ac_try_echo=$ac_try;;
19068 esac
19069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19070 (eval "$ac_compile") 2>conftest.er1
19071 ac_status=$?
19072 grep -v '^ *+' conftest.er1 >conftest.err
19073 rm -f conftest.er1
19074 cat conftest.err >&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } && {
19077 test -z "$ac_c_werror_flag" ||
19078 test ! -s conftest.err
19079 } && test -s conftest.$ac_objext; then
19080 ac_cv_member_struct_statfs_f_frsize=yes
19081 else
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19085 cat >conftest.$ac_ext <<_ACEOF
19086 /* confdefs.h. */
19087 _ACEOF
19088 cat confdefs.h >>conftest.$ac_ext
19089 cat >>conftest.$ac_ext <<_ACEOF
19090 /* end confdefs.h. */
19091 #include <sys/types.h>
19092 #ifdef HAVE_SYS_PARAM_H
19093 # include <sys/param.h>
19094 #endif
19095 #ifdef HAVE_SYS_MOUNT_H
19096 # include <sys/mount.h>
19097 #endif
19098 #ifdef HAVE_SYS_VFS_H
19099 # include <sys/vfs.h>
19100 #endif
19101 #ifdef HAVE_SYS_STATFS_H
19102 # include <sys/statfs.h>
19103 #endif
19106 main ()
19108 static struct statfs ac_aggr;
19109 if (sizeof ac_aggr.f_frsize)
19110 return 0;
19112 return 0;
19114 _ACEOF
19115 rm -f conftest.$ac_objext
19116 if { (ac_try="$ac_compile"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19120 esac
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_compile") 2>conftest.er1
19123 ac_status=$?
19124 grep -v '^ *+' conftest.er1 >conftest.err
19125 rm -f conftest.er1
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_c_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest.$ac_objext; then
19132 ac_cv_member_struct_statfs_f_frsize=yes
19133 else
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19137 ac_cv_member_struct_statfs_f_frsize=no
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19145 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19146 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19147 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19149 cat >>confdefs.h <<_ACEOF
19150 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19151 _ACEOF
19155 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19156 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19157 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19158 echo $ECHO_N "(cached) $ECHO_C" >&6
19159 else
19160 cat >conftest.$ac_ext <<_ACEOF
19161 /* confdefs.h. */
19162 _ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 #include <sys/types.h>
19167 #ifdef HAVE_SYS_PARAM_H
19168 # include <sys/param.h>
19169 #endif
19170 #ifdef HAVE_SYS_MOUNT_H
19171 # include <sys/mount.h>
19172 #endif
19173 #ifdef HAVE_SYS_VFS_H
19174 # include <sys/vfs.h>
19175 #endif
19176 #ifdef HAVE_SYS_STATFS_H
19177 # include <sys/statfs.h>
19178 #endif
19181 main ()
19183 static struct statfs ac_aggr;
19184 if (ac_aggr.f_ffree)
19185 return 0;
19187 return 0;
19189 _ACEOF
19190 rm -f conftest.$ac_objext
19191 if { (ac_try="$ac_compile"
19192 case "(($ac_try" in
19193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19194 *) ac_try_echo=$ac_try;;
19195 esac
19196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19197 (eval "$ac_compile") 2>conftest.er1
19198 ac_status=$?
19199 grep -v '^ *+' conftest.er1 >conftest.err
19200 rm -f conftest.er1
19201 cat conftest.err >&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } && {
19204 test -z "$ac_c_werror_flag" ||
19205 test ! -s conftest.err
19206 } && test -s conftest.$ac_objext; then
19207 ac_cv_member_struct_statfs_f_ffree=yes
19208 else
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19212 cat >conftest.$ac_ext <<_ACEOF
19213 /* confdefs.h. */
19214 _ACEOF
19215 cat confdefs.h >>conftest.$ac_ext
19216 cat >>conftest.$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19218 #include <sys/types.h>
19219 #ifdef HAVE_SYS_PARAM_H
19220 # include <sys/param.h>
19221 #endif
19222 #ifdef HAVE_SYS_MOUNT_H
19223 # include <sys/mount.h>
19224 #endif
19225 #ifdef HAVE_SYS_VFS_H
19226 # include <sys/vfs.h>
19227 #endif
19228 #ifdef HAVE_SYS_STATFS_H
19229 # include <sys/statfs.h>
19230 #endif
19233 main ()
19235 static struct statfs ac_aggr;
19236 if (sizeof ac_aggr.f_ffree)
19237 return 0;
19239 return 0;
19241 _ACEOF
19242 rm -f conftest.$ac_objext
19243 if { (ac_try="$ac_compile"
19244 case "(($ac_try" in
19245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19246 *) ac_try_echo=$ac_try;;
19247 esac
19248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19249 (eval "$ac_compile") 2>conftest.er1
19250 ac_status=$?
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } && {
19256 test -z "$ac_c_werror_flag" ||
19257 test ! -s conftest.err
19258 } && test -s conftest.$ac_objext; then
19259 ac_cv_member_struct_statfs_f_ffree=yes
19260 else
19261 echo "$as_me: failed program was:" >&5
19262 sed 's/^/| /' conftest.$ac_ext >&5
19264 ac_cv_member_struct_statfs_f_ffree=no
19267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19272 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19273 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19274 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19276 cat >>confdefs.h <<_ACEOF
19277 #define HAVE_STRUCT_STATFS_F_FFREE 1
19278 _ACEOF
19282 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19283 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19284 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19285 echo $ECHO_N "(cached) $ECHO_C" >&6
19286 else
19287 cat >conftest.$ac_ext <<_ACEOF
19288 /* confdefs.h. */
19289 _ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 #include <sys/types.h>
19294 #ifdef HAVE_SYS_PARAM_H
19295 # include <sys/param.h>
19296 #endif
19297 #ifdef HAVE_SYS_MOUNT_H
19298 # include <sys/mount.h>
19299 #endif
19300 #ifdef HAVE_SYS_VFS_H
19301 # include <sys/vfs.h>
19302 #endif
19303 #ifdef HAVE_SYS_STATFS_H
19304 # include <sys/statfs.h>
19305 #endif
19308 main ()
19310 static struct statfs ac_aggr;
19311 if (ac_aggr.f_favail)
19312 return 0;
19314 return 0;
19316 _ACEOF
19317 rm -f conftest.$ac_objext
19318 if { (ac_try="$ac_compile"
19319 case "(($ac_try" in
19320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 *) ac_try_echo=$ac_try;;
19322 esac
19323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 (eval "$ac_compile") 2>conftest.er1
19325 ac_status=$?
19326 grep -v '^ *+' conftest.er1 >conftest.err
19327 rm -f conftest.er1
19328 cat conftest.err >&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } && {
19331 test -z "$ac_c_werror_flag" ||
19332 test ! -s conftest.err
19333 } && test -s conftest.$ac_objext; then
19334 ac_cv_member_struct_statfs_f_favail=yes
19335 else
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19339 cat >conftest.$ac_ext <<_ACEOF
19340 /* confdefs.h. */
19341 _ACEOF
19342 cat confdefs.h >>conftest.$ac_ext
19343 cat >>conftest.$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 #include <sys/types.h>
19346 #ifdef HAVE_SYS_PARAM_H
19347 # include <sys/param.h>
19348 #endif
19349 #ifdef HAVE_SYS_MOUNT_H
19350 # include <sys/mount.h>
19351 #endif
19352 #ifdef HAVE_SYS_VFS_H
19353 # include <sys/vfs.h>
19354 #endif
19355 #ifdef HAVE_SYS_STATFS_H
19356 # include <sys/statfs.h>
19357 #endif
19360 main ()
19362 static struct statfs ac_aggr;
19363 if (sizeof ac_aggr.f_favail)
19364 return 0;
19366 return 0;
19368 _ACEOF
19369 rm -f conftest.$ac_objext
19370 if { (ac_try="$ac_compile"
19371 case "(($ac_try" in
19372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19373 *) ac_try_echo=$ac_try;;
19374 esac
19375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19376 (eval "$ac_compile") 2>conftest.er1
19377 ac_status=$?
19378 grep -v '^ *+' conftest.er1 >conftest.err
19379 rm -f conftest.er1
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } && {
19383 test -z "$ac_c_werror_flag" ||
19384 test ! -s conftest.err
19385 } && test -s conftest.$ac_objext; then
19386 ac_cv_member_struct_statfs_f_favail=yes
19387 else
19388 echo "$as_me: failed program was:" >&5
19389 sed 's/^/| /' conftest.$ac_ext >&5
19391 ac_cv_member_struct_statfs_f_favail=no
19394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19399 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19400 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19401 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19403 cat >>confdefs.h <<_ACEOF
19404 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19405 _ACEOF
19409 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19410 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19411 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19412 echo $ECHO_N "(cached) $ECHO_C" >&6
19413 else
19414 cat >conftest.$ac_ext <<_ACEOF
19415 /* confdefs.h. */
19416 _ACEOF
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 #include <sys/types.h>
19421 #ifdef HAVE_SYS_PARAM_H
19422 # include <sys/param.h>
19423 #endif
19424 #ifdef HAVE_SYS_MOUNT_H
19425 # include <sys/mount.h>
19426 #endif
19427 #ifdef HAVE_SYS_VFS_H
19428 # include <sys/vfs.h>
19429 #endif
19430 #ifdef HAVE_SYS_STATFS_H
19431 # include <sys/statfs.h>
19432 #endif
19435 main ()
19437 static struct statfs ac_aggr;
19438 if (ac_aggr.f_namelen)
19439 return 0;
19441 return 0;
19443 _ACEOF
19444 rm -f conftest.$ac_objext
19445 if { (ac_try="$ac_compile"
19446 case "(($ac_try" in
19447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19448 *) ac_try_echo=$ac_try;;
19449 esac
19450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19451 (eval "$ac_compile") 2>conftest.er1
19452 ac_status=$?
19453 grep -v '^ *+' conftest.er1 >conftest.err
19454 rm -f conftest.er1
19455 cat conftest.err >&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); } && {
19458 test -z "$ac_c_werror_flag" ||
19459 test ! -s conftest.err
19460 } && test -s conftest.$ac_objext; then
19461 ac_cv_member_struct_statfs_f_namelen=yes
19462 else
19463 echo "$as_me: failed program was:" >&5
19464 sed 's/^/| /' conftest.$ac_ext >&5
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 #include <sys/types.h>
19473 #ifdef HAVE_SYS_PARAM_H
19474 # include <sys/param.h>
19475 #endif
19476 #ifdef HAVE_SYS_MOUNT_H
19477 # include <sys/mount.h>
19478 #endif
19479 #ifdef HAVE_SYS_VFS_H
19480 # include <sys/vfs.h>
19481 #endif
19482 #ifdef HAVE_SYS_STATFS_H
19483 # include <sys/statfs.h>
19484 #endif
19487 main ()
19489 static struct statfs ac_aggr;
19490 if (sizeof ac_aggr.f_namelen)
19491 return 0;
19493 return 0;
19495 _ACEOF
19496 rm -f conftest.$ac_objext
19497 if { (ac_try="$ac_compile"
19498 case "(($ac_try" in
19499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19500 *) ac_try_echo=$ac_try;;
19501 esac
19502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19503 (eval "$ac_compile") 2>conftest.er1
19504 ac_status=$?
19505 grep -v '^ *+' conftest.er1 >conftest.err
19506 rm -f conftest.er1
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } && {
19510 test -z "$ac_c_werror_flag" ||
19511 test ! -s conftest.err
19512 } && test -s conftest.$ac_objext; then
19513 ac_cv_member_struct_statfs_f_namelen=yes
19514 else
19515 echo "$as_me: failed program was:" >&5
19516 sed 's/^/| /' conftest.$ac_ext >&5
19518 ac_cv_member_struct_statfs_f_namelen=no
19521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19526 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19527 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19528 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19530 cat >>confdefs.h <<_ACEOF
19531 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19532 _ACEOF
19538 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19539 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19540 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19541 echo $ECHO_N "(cached) $ECHO_C" >&6
19542 else
19543 cat >conftest.$ac_ext <<_ACEOF
19544 /* confdefs.h. */
19545 _ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 #ifdef HAVE_SYS_STATVFS_H
19550 #include <sys/statvfs.h>
19551 #endif
19554 main ()
19556 static struct statvfs ac_aggr;
19557 if (ac_aggr.f_blocks)
19558 return 0;
19560 return 0;
19562 _ACEOF
19563 rm -f conftest.$ac_objext
19564 if { (ac_try="$ac_compile"
19565 case "(($ac_try" in
19566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19567 *) ac_try_echo=$ac_try;;
19568 esac
19569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19570 (eval "$ac_compile") 2>conftest.er1
19571 ac_status=$?
19572 grep -v '^ *+' conftest.er1 >conftest.err
19573 rm -f conftest.er1
19574 cat conftest.err >&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } && {
19577 test -z "$ac_c_werror_flag" ||
19578 test ! -s conftest.err
19579 } && test -s conftest.$ac_objext; then
19580 ac_cv_member_struct_statvfs_f_blocks=yes
19581 else
19582 echo "$as_me: failed program was:" >&5
19583 sed 's/^/| /' conftest.$ac_ext >&5
19585 cat >conftest.$ac_ext <<_ACEOF
19586 /* confdefs.h. */
19587 _ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 #ifdef HAVE_SYS_STATVFS_H
19592 #include <sys/statvfs.h>
19593 #endif
19596 main ()
19598 static struct statvfs ac_aggr;
19599 if (sizeof ac_aggr.f_blocks)
19600 return 0;
19602 return 0;
19604 _ACEOF
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19609 *) ac_try_echo=$ac_try;;
19610 esac
19611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19613 ac_status=$?
19614 grep -v '^ *+' conftest.er1 >conftest.err
19615 rm -f conftest.er1
19616 cat conftest.err >&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.$ac_objext; then
19622 ac_cv_member_struct_statvfs_f_blocks=yes
19623 else
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 ac_cv_member_struct_statvfs_f_blocks=no
19630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19635 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19636 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19637 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19639 cat >>confdefs.h <<_ACEOF
19640 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19641 _ACEOF
19647 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19648 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19649 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19650 echo $ECHO_N "(cached) $ECHO_C" >&6
19651 else
19652 cat >conftest.$ac_ext <<_ACEOF
19653 /* confdefs.h. */
19654 _ACEOF
19655 cat confdefs.h >>conftest.$ac_ext
19656 cat >>conftest.$ac_ext <<_ACEOF
19657 /* end confdefs.h. */
19658 #include <sys/types.h>
19659 #ifdef HAVE_SYS_SOCKET_H
19660 # include <sys/socket.h>
19661 #endif
19662 #ifdef HAVE_SYS_UN_H
19663 # include <sys/un.h>
19664 #endif
19667 main ()
19669 static struct msghdr ac_aggr;
19670 if (ac_aggr.msg_accrights)
19671 return 0;
19673 return 0;
19675 _ACEOF
19676 rm -f conftest.$ac_objext
19677 if { (ac_try="$ac_compile"
19678 case "(($ac_try" in
19679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19680 *) ac_try_echo=$ac_try;;
19681 esac
19682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19683 (eval "$ac_compile") 2>conftest.er1
19684 ac_status=$?
19685 grep -v '^ *+' conftest.er1 >conftest.err
19686 rm -f conftest.er1
19687 cat conftest.err >&5
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); } && {
19690 test -z "$ac_c_werror_flag" ||
19691 test ! -s conftest.err
19692 } && test -s conftest.$ac_objext; then
19693 ac_cv_member_struct_msghdr_msg_accrights=yes
19694 else
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.$ac_ext >&5
19698 cat >conftest.$ac_ext <<_ACEOF
19699 /* confdefs.h. */
19700 _ACEOF
19701 cat confdefs.h >>conftest.$ac_ext
19702 cat >>conftest.$ac_ext <<_ACEOF
19703 /* end confdefs.h. */
19704 #include <sys/types.h>
19705 #ifdef HAVE_SYS_SOCKET_H
19706 # include <sys/socket.h>
19707 #endif
19708 #ifdef HAVE_SYS_UN_H
19709 # include <sys/un.h>
19710 #endif
19713 main ()
19715 static struct msghdr ac_aggr;
19716 if (sizeof ac_aggr.msg_accrights)
19717 return 0;
19719 return 0;
19721 _ACEOF
19722 rm -f conftest.$ac_objext
19723 if { (ac_try="$ac_compile"
19724 case "(($ac_try" in
19725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19726 *) ac_try_echo=$ac_try;;
19727 esac
19728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19729 (eval "$ac_compile") 2>conftest.er1
19730 ac_status=$?
19731 grep -v '^ *+' conftest.er1 >conftest.err
19732 rm -f conftest.er1
19733 cat conftest.err >&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } && {
19736 test -z "$ac_c_werror_flag" ||
19737 test ! -s conftest.err
19738 } && test -s conftest.$ac_objext; then
19739 ac_cv_member_struct_msghdr_msg_accrights=yes
19740 else
19741 echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.$ac_ext >&5
19744 ac_cv_member_struct_msghdr_msg_accrights=no
19747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19752 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19753 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19754 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19756 cat >>confdefs.h <<_ACEOF
19757 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19758 _ACEOF
19762 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19763 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19764 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19766 else
19767 cat >conftest.$ac_ext <<_ACEOF
19768 /* confdefs.h. */
19769 _ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 #include <sys/types.h>
19774 #ifdef HAVE_SYS_SOCKET_H
19775 # include <sys/socket.h>
19776 #endif
19777 #ifdef HAVE_SYS_UN_H
19778 # include <sys/un.h>
19779 #endif
19782 main ()
19784 static struct sockaddr ac_aggr;
19785 if (ac_aggr.sa_len)
19786 return 0;
19788 return 0;
19790 _ACEOF
19791 rm -f conftest.$ac_objext
19792 if { (ac_try="$ac_compile"
19793 case "(($ac_try" in
19794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19795 *) ac_try_echo=$ac_try;;
19796 esac
19797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19798 (eval "$ac_compile") 2>conftest.er1
19799 ac_status=$?
19800 grep -v '^ *+' conftest.er1 >conftest.err
19801 rm -f conftest.er1
19802 cat conftest.err >&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); } && {
19805 test -z "$ac_c_werror_flag" ||
19806 test ! -s conftest.err
19807 } && test -s conftest.$ac_objext; then
19808 ac_cv_member_struct_sockaddr_sa_len=yes
19809 else
19810 echo "$as_me: failed program was:" >&5
19811 sed 's/^/| /' conftest.$ac_ext >&5
19813 cat >conftest.$ac_ext <<_ACEOF
19814 /* confdefs.h. */
19815 _ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 #include <sys/types.h>
19820 #ifdef HAVE_SYS_SOCKET_H
19821 # include <sys/socket.h>
19822 #endif
19823 #ifdef HAVE_SYS_UN_H
19824 # include <sys/un.h>
19825 #endif
19828 main ()
19830 static struct sockaddr ac_aggr;
19831 if (sizeof ac_aggr.sa_len)
19832 return 0;
19834 return 0;
19836 _ACEOF
19837 rm -f conftest.$ac_objext
19838 if { (ac_try="$ac_compile"
19839 case "(($ac_try" in
19840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19841 *) ac_try_echo=$ac_try;;
19842 esac
19843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19844 (eval "$ac_compile") 2>conftest.er1
19845 ac_status=$?
19846 grep -v '^ *+' conftest.er1 >conftest.err
19847 rm -f conftest.er1
19848 cat conftest.err >&5
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); } && {
19851 test -z "$ac_c_werror_flag" ||
19852 test ! -s conftest.err
19853 } && test -s conftest.$ac_objext; then
19854 ac_cv_member_struct_sockaddr_sa_len=yes
19855 else
19856 echo "$as_me: failed program was:" >&5
19857 sed 's/^/| /' conftest.$ac_ext >&5
19859 ac_cv_member_struct_sockaddr_sa_len=no
19862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19868 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19869 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19871 cat >>confdefs.h <<_ACEOF
19872 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19873 _ACEOF
19877 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19878 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19879 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19880 echo $ECHO_N "(cached) $ECHO_C" >&6
19881 else
19882 cat >conftest.$ac_ext <<_ACEOF
19883 /* confdefs.h. */
19884 _ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 #include <sys/types.h>
19889 #ifdef HAVE_SYS_SOCKET_H
19890 # include <sys/socket.h>
19891 #endif
19892 #ifdef HAVE_SYS_UN_H
19893 # include <sys/un.h>
19894 #endif
19897 main ()
19899 static struct sockaddr_un ac_aggr;
19900 if (ac_aggr.sun_len)
19901 return 0;
19903 return 0;
19905 _ACEOF
19906 rm -f conftest.$ac_objext
19907 if { (ac_try="$ac_compile"
19908 case "(($ac_try" in
19909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19910 *) ac_try_echo=$ac_try;;
19911 esac
19912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_compile") 2>conftest.er1
19914 ac_status=$?
19915 grep -v '^ *+' conftest.er1 >conftest.err
19916 rm -f conftest.er1
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } && {
19920 test -z "$ac_c_werror_flag" ||
19921 test ! -s conftest.err
19922 } && test -s conftest.$ac_objext; then
19923 ac_cv_member_struct_sockaddr_un_sun_len=yes
19924 else
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19928 cat >conftest.$ac_ext <<_ACEOF
19929 /* confdefs.h. */
19930 _ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934 #include <sys/types.h>
19935 #ifdef HAVE_SYS_SOCKET_H
19936 # include <sys/socket.h>
19937 #endif
19938 #ifdef HAVE_SYS_UN_H
19939 # include <sys/un.h>
19940 #endif
19943 main ()
19945 static struct sockaddr_un ac_aggr;
19946 if (sizeof ac_aggr.sun_len)
19947 return 0;
19949 return 0;
19951 _ACEOF
19952 rm -f conftest.$ac_objext
19953 if { (ac_try="$ac_compile"
19954 case "(($ac_try" in
19955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19956 *) ac_try_echo=$ac_try;;
19957 esac
19958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19959 (eval "$ac_compile") 2>conftest.er1
19960 ac_status=$?
19961 grep -v '^ *+' conftest.er1 >conftest.err
19962 rm -f conftest.er1
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } && {
19966 test -z "$ac_c_werror_flag" ||
19967 test ! -s conftest.err
19968 } && test -s conftest.$ac_objext; then
19969 ac_cv_member_struct_sockaddr_un_sun_len=yes
19970 else
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19974 ac_cv_member_struct_sockaddr_un_sun_len=no
19977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19982 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19983 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19984 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19986 cat >>confdefs.h <<_ACEOF
19987 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19988 _ACEOF
19994 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19995 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19996 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19997 echo $ECHO_N "(cached) $ECHO_C" >&6
19998 else
19999 cat >conftest.$ac_ext <<_ACEOF
20000 /* confdefs.h. */
20001 _ACEOF
20002 cat confdefs.h >>conftest.$ac_ext
20003 cat >>conftest.$ac_ext <<_ACEOF
20004 /* end confdefs.h. */
20005 #include <sys/types.h>
20006 #ifdef HAVE_SCSI_SG_H
20007 #include <scsi/sg.h>
20008 #endif
20011 main ()
20013 static scsireq_t ac_aggr;
20014 if (ac_aggr.cmd)
20015 return 0;
20017 return 0;
20019 _ACEOF
20020 rm -f conftest.$ac_objext
20021 if { (ac_try="$ac_compile"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20025 esac
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_compile") 2>conftest.er1
20028 ac_status=$?
20029 grep -v '^ *+' conftest.er1 >conftest.err
20030 rm -f conftest.er1
20031 cat conftest.err >&5
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); } && {
20034 test -z "$ac_c_werror_flag" ||
20035 test ! -s conftest.err
20036 } && test -s conftest.$ac_objext; then
20037 ac_cv_member_scsireq_t_cmd=yes
20038 else
20039 echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.$ac_ext >&5
20042 cat >conftest.$ac_ext <<_ACEOF
20043 /* confdefs.h. */
20044 _ACEOF
20045 cat confdefs.h >>conftest.$ac_ext
20046 cat >>conftest.$ac_ext <<_ACEOF
20047 /* end confdefs.h. */
20048 #include <sys/types.h>
20049 #ifdef HAVE_SCSI_SG_H
20050 #include <scsi/sg.h>
20051 #endif
20054 main ()
20056 static scsireq_t ac_aggr;
20057 if (sizeof ac_aggr.cmd)
20058 return 0;
20060 return 0;
20062 _ACEOF
20063 rm -f conftest.$ac_objext
20064 if { (ac_try="$ac_compile"
20065 case "(($ac_try" in
20066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20067 *) ac_try_echo=$ac_try;;
20068 esac
20069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20070 (eval "$ac_compile") 2>conftest.er1
20071 ac_status=$?
20072 grep -v '^ *+' conftest.er1 >conftest.err
20073 rm -f conftest.er1
20074 cat conftest.err >&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } && {
20077 test -z "$ac_c_werror_flag" ||
20078 test ! -s conftest.err
20079 } && test -s conftest.$ac_objext; then
20080 ac_cv_member_scsireq_t_cmd=yes
20081 else
20082 echo "$as_me: failed program was:" >&5
20083 sed 's/^/| /' conftest.$ac_ext >&5
20085 ac_cv_member_scsireq_t_cmd=no
20088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20094 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20095 if test $ac_cv_member_scsireq_t_cmd = yes; then
20097 cat >>confdefs.h <<_ACEOF
20098 #define HAVE_SCSIREQ_T_CMD 1
20099 _ACEOF
20103 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20104 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20105 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20106 echo $ECHO_N "(cached) $ECHO_C" >&6
20107 else
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_SCSI_SG_H
20116 #include <scsi/sg.h>
20117 #endif
20120 main ()
20122 static sg_io_hdr_t ac_aggr;
20123 if (ac_aggr.interface_id)
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_sg_io_hdr_t_interface_id=yes
20147 else
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.$ac_ext >&5
20151 cat >conftest.$ac_ext <<_ACEOF
20152 /* confdefs.h. */
20153 _ACEOF
20154 cat confdefs.h >>conftest.$ac_ext
20155 cat >>conftest.$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 #include <sys/types.h>
20158 #ifdef HAVE_SCSI_SG_H
20159 #include <scsi/sg.h>
20160 #endif
20163 main ()
20165 static sg_io_hdr_t ac_aggr;
20166 if (sizeof ac_aggr.interface_id)
20167 return 0;
20169 return 0;
20171 _ACEOF
20172 rm -f conftest.$ac_objext
20173 if { (ac_try="$ac_compile"
20174 case "(($ac_try" in
20175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20176 *) ac_try_echo=$ac_try;;
20177 esac
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20179 (eval "$ac_compile") 2>conftest.er1
20180 ac_status=$?
20181 grep -v '^ *+' conftest.er1 >conftest.err
20182 rm -f conftest.er1
20183 cat conftest.err >&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); } && {
20186 test -z "$ac_c_werror_flag" ||
20187 test ! -s conftest.err
20188 } && test -s conftest.$ac_objext; then
20189 ac_cv_member_sg_io_hdr_t_interface_id=yes
20190 else
20191 echo "$as_me: failed program was:" >&5
20192 sed 's/^/| /' conftest.$ac_ext >&5
20194 ac_cv_member_sg_io_hdr_t_interface_id=no
20197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20202 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20203 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20204 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20206 cat >>confdefs.h <<_ACEOF
20207 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20208 _ACEOF
20214 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20215 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20216 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20217 echo $ECHO_N "(cached) $ECHO_C" >&6
20218 else
20219 cat >conftest.$ac_ext <<_ACEOF
20220 /* confdefs.h. */
20221 _ACEOF
20222 cat confdefs.h >>conftest.$ac_ext
20223 cat >>conftest.$ac_ext <<_ACEOF
20224 /* end confdefs.h. */
20225 #include <signal.h>
20228 main ()
20230 static siginfo_t ac_aggr;
20231 if (ac_aggr.si_fd)
20232 return 0;
20234 return 0;
20236 _ACEOF
20237 rm -f conftest.$ac_objext
20238 if { (ac_try="$ac_compile"
20239 case "(($ac_try" in
20240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20241 *) ac_try_echo=$ac_try;;
20242 esac
20243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20244 (eval "$ac_compile") 2>conftest.er1
20245 ac_status=$?
20246 grep -v '^ *+' conftest.er1 >conftest.err
20247 rm -f conftest.er1
20248 cat conftest.err >&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); } && {
20251 test -z "$ac_c_werror_flag" ||
20252 test ! -s conftest.err
20253 } && test -s conftest.$ac_objext; then
20254 ac_cv_member_siginfo_t_si_fd=yes
20255 else
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20259 cat >conftest.$ac_ext <<_ACEOF
20260 /* confdefs.h. */
20261 _ACEOF
20262 cat confdefs.h >>conftest.$ac_ext
20263 cat >>conftest.$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 #include <signal.h>
20268 main ()
20270 static siginfo_t ac_aggr;
20271 if (sizeof ac_aggr.si_fd)
20272 return 0;
20274 return 0;
20276 _ACEOF
20277 rm -f conftest.$ac_objext
20278 if { (ac_try="$ac_compile"
20279 case "(($ac_try" in
20280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20281 *) ac_try_echo=$ac_try;;
20282 esac
20283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20284 (eval "$ac_compile") 2>conftest.er1
20285 ac_status=$?
20286 grep -v '^ *+' conftest.er1 >conftest.err
20287 rm -f conftest.er1
20288 cat conftest.err >&5
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest.$ac_objext; then
20294 ac_cv_member_siginfo_t_si_fd=yes
20295 else
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20299 ac_cv_member_siginfo_t_si_fd=no
20302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20307 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20308 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20309 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20311 cat >>confdefs.h <<_ACEOF
20312 #define HAVE_SIGINFO_T_SI_FD 1
20313 _ACEOF
20319 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20320 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20321 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20322 echo $ECHO_N "(cached) $ECHO_C" >&6
20323 else
20324 cat >conftest.$ac_ext <<_ACEOF
20325 /* confdefs.h. */
20326 _ACEOF
20327 cat confdefs.h >>conftest.$ac_ext
20328 cat >>conftest.$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 #include <sys/types.h>
20331 #ifdef HAVE_SYS_MTIO_H
20332 #include <sys/mtio.h>
20333 #endif
20336 main ()
20338 static struct mtget ac_aggr;
20339 if (ac_aggr.mt_blksiz)
20340 return 0;
20342 return 0;
20344 _ACEOF
20345 rm -f conftest.$ac_objext
20346 if { (ac_try="$ac_compile"
20347 case "(($ac_try" in
20348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20349 *) ac_try_echo=$ac_try;;
20350 esac
20351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_compile") 2>conftest.er1
20353 ac_status=$?
20354 grep -v '^ *+' conftest.er1 >conftest.err
20355 rm -f conftest.er1
20356 cat conftest.err >&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); } && {
20359 test -z "$ac_c_werror_flag" ||
20360 test ! -s conftest.err
20361 } && test -s conftest.$ac_objext; then
20362 ac_cv_member_struct_mtget_mt_blksiz=yes
20363 else
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.$ac_ext >&5
20367 cat >conftest.$ac_ext <<_ACEOF
20368 /* confdefs.h. */
20369 _ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 #include <sys/types.h>
20374 #ifdef HAVE_SYS_MTIO_H
20375 #include <sys/mtio.h>
20376 #endif
20379 main ()
20381 static struct mtget ac_aggr;
20382 if (sizeof ac_aggr.mt_blksiz)
20383 return 0;
20385 return 0;
20387 _ACEOF
20388 rm -f conftest.$ac_objext
20389 if { (ac_try="$ac_compile"
20390 case "(($ac_try" in
20391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20392 *) ac_try_echo=$ac_try;;
20393 esac
20394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20395 (eval "$ac_compile") 2>conftest.er1
20396 ac_status=$?
20397 grep -v '^ *+' conftest.er1 >conftest.err
20398 rm -f conftest.er1
20399 cat conftest.err >&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } && {
20402 test -z "$ac_c_werror_flag" ||
20403 test ! -s conftest.err
20404 } && test -s conftest.$ac_objext; then
20405 ac_cv_member_struct_mtget_mt_blksiz=yes
20406 else
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.$ac_ext >&5
20410 ac_cv_member_struct_mtget_mt_blksiz=no
20413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20418 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20419 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20420 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20422 cat >>confdefs.h <<_ACEOF
20423 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20424 _ACEOF
20428 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20429 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20430 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20431 echo $ECHO_N "(cached) $ECHO_C" >&6
20432 else
20433 cat >conftest.$ac_ext <<_ACEOF
20434 /* confdefs.h. */
20435 _ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 #include <sys/types.h>
20440 #ifdef HAVE_SYS_MTIO_H
20441 #include <sys/mtio.h>
20442 #endif
20445 main ()
20447 static struct mtget ac_aggr;
20448 if (ac_aggr.mt_gstat)
20449 return 0;
20451 return 0;
20453 _ACEOF
20454 rm -f conftest.$ac_objext
20455 if { (ac_try="$ac_compile"
20456 case "(($ac_try" in
20457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20458 *) ac_try_echo=$ac_try;;
20459 esac
20460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20461 (eval "$ac_compile") 2>conftest.er1
20462 ac_status=$?
20463 grep -v '^ *+' conftest.er1 >conftest.err
20464 rm -f conftest.er1
20465 cat conftest.err >&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); } && {
20468 test -z "$ac_c_werror_flag" ||
20469 test ! -s conftest.err
20470 } && test -s conftest.$ac_objext; then
20471 ac_cv_member_struct_mtget_mt_gstat=yes
20472 else
20473 echo "$as_me: failed program was:" >&5
20474 sed 's/^/| /' conftest.$ac_ext >&5
20476 cat >conftest.$ac_ext <<_ACEOF
20477 /* confdefs.h. */
20478 _ACEOF
20479 cat confdefs.h >>conftest.$ac_ext
20480 cat >>conftest.$ac_ext <<_ACEOF
20481 /* end confdefs.h. */
20482 #include <sys/types.h>
20483 #ifdef HAVE_SYS_MTIO_H
20484 #include <sys/mtio.h>
20485 #endif
20488 main ()
20490 static struct mtget ac_aggr;
20491 if (sizeof ac_aggr.mt_gstat)
20492 return 0;
20494 return 0;
20496 _ACEOF
20497 rm -f conftest.$ac_objext
20498 if { (ac_try="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20501 *) ac_try_echo=$ac_try;;
20502 esac
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20505 ac_status=$?
20506 grep -v '^ *+' conftest.er1 >conftest.err
20507 rm -f conftest.er1
20508 cat conftest.err >&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.$ac_objext; then
20514 ac_cv_member_struct_mtget_mt_gstat=yes
20515 else
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.$ac_ext >&5
20519 ac_cv_member_struct_mtget_mt_gstat=no
20522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20527 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20528 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20529 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20531 cat >>confdefs.h <<_ACEOF
20532 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20533 _ACEOF
20537 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20538 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20539 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20540 echo $ECHO_N "(cached) $ECHO_C" >&6
20541 else
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 #include <sys/types.h>
20549 #ifdef HAVE_SYS_MTIO_H
20550 #include <sys/mtio.h>
20551 #endif
20554 main ()
20556 static struct mtget ac_aggr;
20557 if (ac_aggr.mt_blkno)
20558 return 0;
20560 return 0;
20562 _ACEOF
20563 rm -f conftest.$ac_objext
20564 if { (ac_try="$ac_compile"
20565 case "(($ac_try" in
20566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20567 *) ac_try_echo=$ac_try;;
20568 esac
20569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20570 (eval "$ac_compile") 2>conftest.er1
20571 ac_status=$?
20572 grep -v '^ *+' conftest.er1 >conftest.err
20573 rm -f conftest.er1
20574 cat conftest.err >&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); } && {
20577 test -z "$ac_c_werror_flag" ||
20578 test ! -s conftest.err
20579 } && test -s conftest.$ac_objext; then
20580 ac_cv_member_struct_mtget_mt_blkno=yes
20581 else
20582 echo "$as_me: failed program was:" >&5
20583 sed 's/^/| /' conftest.$ac_ext >&5
20585 cat >conftest.$ac_ext <<_ACEOF
20586 /* confdefs.h. */
20587 _ACEOF
20588 cat confdefs.h >>conftest.$ac_ext
20589 cat >>conftest.$ac_ext <<_ACEOF
20590 /* end confdefs.h. */
20591 #include <sys/types.h>
20592 #ifdef HAVE_SYS_MTIO_H
20593 #include <sys/mtio.h>
20594 #endif
20597 main ()
20599 static struct mtget ac_aggr;
20600 if (sizeof ac_aggr.mt_blkno)
20601 return 0;
20603 return 0;
20605 _ACEOF
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20611 esac
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20623 ac_cv_member_struct_mtget_mt_blkno=yes
20624 else
20625 echo "$as_me: failed program was:" >&5
20626 sed 's/^/| /' conftest.$ac_ext >&5
20628 ac_cv_member_struct_mtget_mt_blkno=no
20631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20636 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20637 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20638 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20640 cat >>confdefs.h <<_ACEOF
20641 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20642 _ACEOF
20648 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20649 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20650 if test "${ac_cv_member_struct_option_name+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20652 else
20653 cat >conftest.$ac_ext <<_ACEOF
20654 /* confdefs.h. */
20655 _ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 #ifdef HAVE_GETOPT_H
20660 #include <getopt.h>
20661 #endif
20664 main ()
20666 static struct option ac_aggr;
20667 if (ac_aggr.name)
20668 return 0;
20670 return 0;
20672 _ACEOF
20673 rm -f conftest.$ac_objext
20674 if { (ac_try="$ac_compile"
20675 case "(($ac_try" in
20676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20677 *) ac_try_echo=$ac_try;;
20678 esac
20679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20680 (eval "$ac_compile") 2>conftest.er1
20681 ac_status=$?
20682 grep -v '^ *+' conftest.er1 >conftest.err
20683 rm -f conftest.er1
20684 cat conftest.err >&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); } && {
20687 test -z "$ac_c_werror_flag" ||
20688 test ! -s conftest.err
20689 } && test -s conftest.$ac_objext; then
20690 ac_cv_member_struct_option_name=yes
20691 else
20692 echo "$as_me: failed program was:" >&5
20693 sed 's/^/| /' conftest.$ac_ext >&5
20695 cat >conftest.$ac_ext <<_ACEOF
20696 /* confdefs.h. */
20697 _ACEOF
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 #ifdef HAVE_GETOPT_H
20702 #include <getopt.h>
20703 #endif
20706 main ()
20708 static struct option ac_aggr;
20709 if (sizeof ac_aggr.name)
20710 return 0;
20712 return 0;
20714 _ACEOF
20715 rm -f conftest.$ac_objext
20716 if { (ac_try="$ac_compile"
20717 case "(($ac_try" in
20718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20719 *) ac_try_echo=$ac_try;;
20720 esac
20721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20722 (eval "$ac_compile") 2>conftest.er1
20723 ac_status=$?
20724 grep -v '^ *+' conftest.er1 >conftest.err
20725 rm -f conftest.er1
20726 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && {
20729 test -z "$ac_c_werror_flag" ||
20730 test ! -s conftest.err
20731 } && test -s conftest.$ac_objext; then
20732 ac_cv_member_struct_option_name=yes
20733 else
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20737 ac_cv_member_struct_option_name=no
20740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20745 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20746 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20747 if test $ac_cv_member_struct_option_name = yes; then
20749 cat >>confdefs.h <<_ACEOF
20750 #define HAVE_STRUCT_OPTION_NAME 1
20751 _ACEOF
20757 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20758 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20759 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20760 echo $ECHO_N "(cached) $ECHO_C" >&6
20761 else
20762 cat >conftest.$ac_ext <<_ACEOF
20763 /* confdefs.h. */
20764 _ACEOF
20765 cat confdefs.h >>conftest.$ac_ext
20766 cat >>conftest.$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20768 $ac_includes_default
20770 main ()
20772 static struct stat ac_aggr;
20773 if (ac_aggr.st_blocks)
20774 return 0;
20776 return 0;
20778 _ACEOF
20779 rm -f conftest.$ac_objext
20780 if { (ac_try="$ac_compile"
20781 case "(($ac_try" in
20782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20783 *) ac_try_echo=$ac_try;;
20784 esac
20785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20786 (eval "$ac_compile") 2>conftest.er1
20787 ac_status=$?
20788 grep -v '^ *+' conftest.er1 >conftest.err
20789 rm -f conftest.er1
20790 cat conftest.err >&5
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); } && {
20793 test -z "$ac_c_werror_flag" ||
20794 test ! -s conftest.err
20795 } && test -s conftest.$ac_objext; then
20796 ac_cv_member_struct_stat_st_blocks=yes
20797 else
20798 echo "$as_me: failed program was:" >&5
20799 sed 's/^/| /' conftest.$ac_ext >&5
20801 cat >conftest.$ac_ext <<_ACEOF
20802 /* confdefs.h. */
20803 _ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20809 main ()
20811 static struct stat ac_aggr;
20812 if (sizeof ac_aggr.st_blocks)
20813 return 0;
20815 return 0;
20817 _ACEOF
20818 rm -f conftest.$ac_objext
20819 if { (ac_try="$ac_compile"
20820 case "(($ac_try" in
20821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20823 esac
20824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20826 ac_status=$?
20827 grep -v '^ *+' conftest.er1 >conftest.err
20828 rm -f conftest.er1
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.$ac_objext; then
20835 ac_cv_member_struct_stat_st_blocks=yes
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20840 ac_cv_member_struct_stat_st_blocks=no
20843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20849 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20850 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20852 cat >>confdefs.h <<_ACEOF
20853 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20854 _ACEOF
20860 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20861 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20862 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20863 echo $ECHO_N "(cached) $ECHO_C" >&6
20864 else
20865 cat >conftest.$ac_ext <<_ACEOF
20866 /* confdefs.h. */
20867 _ACEOF
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20871 #ifdef HAVE_SYS_TYPES_H
20872 #include <sys/types.h>
20873 #endif
20874 #ifdef HAVE_NETINET_IN_H
20875 #include <netinet/in.h>
20876 #endif
20879 main ()
20881 static struct sockaddr_in6 ac_aggr;
20882 if (ac_aggr.sin6_scope_id)
20883 return 0;
20885 return 0;
20887 _ACEOF
20888 rm -f conftest.$ac_objext
20889 if { (ac_try="$ac_compile"
20890 case "(($ac_try" in
20891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20892 *) ac_try_echo=$ac_try;;
20893 esac
20894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20895 (eval "$ac_compile") 2>conftest.er1
20896 ac_status=$?
20897 grep -v '^ *+' conftest.er1 >conftest.err
20898 rm -f conftest.er1
20899 cat conftest.err >&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); } && {
20902 test -z "$ac_c_werror_flag" ||
20903 test ! -s conftest.err
20904 } && test -s conftest.$ac_objext; then
20905 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20906 else
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20910 cat >conftest.$ac_ext <<_ACEOF
20911 /* confdefs.h. */
20912 _ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916 #ifdef HAVE_SYS_TYPES_H
20917 #include <sys/types.h>
20918 #endif
20919 #ifdef HAVE_NETINET_IN_H
20920 #include <netinet/in.h>
20921 #endif
20924 main ()
20926 static struct sockaddr_in6 ac_aggr;
20927 if (sizeof ac_aggr.sin6_scope_id)
20928 return 0;
20930 return 0;
20932 _ACEOF
20933 rm -f conftest.$ac_objext
20934 if { (ac_try="$ac_compile"
20935 case "(($ac_try" in
20936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20937 *) ac_try_echo=$ac_try;;
20938 esac
20939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20940 (eval "$ac_compile") 2>conftest.er1
20941 ac_status=$?
20942 grep -v '^ *+' conftest.er1 >conftest.err
20943 rm -f conftest.er1
20944 cat conftest.err >&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } && {
20947 test -z "$ac_c_werror_flag" ||
20948 test ! -s conftest.err
20949 } && test -s conftest.$ac_objext; then
20950 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20951 else
20952 echo "$as_me: failed program was:" >&5
20953 sed 's/^/| /' conftest.$ac_ext >&5
20955 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20963 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20964 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20965 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20967 cat >>confdefs.h <<_ACEOF
20968 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20969 _ACEOF
20975 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20976 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20977 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20978 echo $ECHO_N "(cached) $ECHO_C" >&6
20979 else
20980 cat >conftest.$ac_ext <<_ACEOF
20981 /* confdefs.h. */
20982 _ACEOF
20983 cat confdefs.h >>conftest.$ac_ext
20984 cat >>conftest.$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 #ifdef HAVE_SYS_TYPES_H
20987 #include <sys/types.h>
20988 #endif
20989 #ifdef HAVE_NETINET_IN_H
20990 # include <netinet/in.h>
20991 #endif
20992 #ifdef HAVE_ARPA_NAMESER_H
20993 # include <arpa/nameser.h>
20994 #endif
20997 main ()
20999 static ns_msg ac_aggr;
21000 if (ac_aggr._msg_ptr)
21001 return 0;
21003 return 0;
21005 _ACEOF
21006 rm -f conftest.$ac_objext
21007 if { (ac_try="$ac_compile"
21008 case "(($ac_try" in
21009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21010 *) ac_try_echo=$ac_try;;
21011 esac
21012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21013 (eval "$ac_compile") 2>conftest.er1
21014 ac_status=$?
21015 grep -v '^ *+' conftest.er1 >conftest.err
21016 rm -f conftest.er1
21017 cat conftest.err >&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } && {
21020 test -z "$ac_c_werror_flag" ||
21021 test ! -s conftest.err
21022 } && test -s conftest.$ac_objext; then
21023 ac_cv_member_ns_msg__msg_ptr=yes
21024 else
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.$ac_ext >&5
21028 cat >conftest.$ac_ext <<_ACEOF
21029 /* confdefs.h. */
21030 _ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21034 #ifdef HAVE_SYS_TYPES_H
21035 #include <sys/types.h>
21036 #endif
21037 #ifdef HAVE_NETINET_IN_H
21038 # include <netinet/in.h>
21039 #endif
21040 #ifdef HAVE_ARPA_NAMESER_H
21041 # include <arpa/nameser.h>
21042 #endif
21045 main ()
21047 static ns_msg ac_aggr;
21048 if (sizeof ac_aggr._msg_ptr)
21049 return 0;
21051 return 0;
21053 _ACEOF
21054 rm -f conftest.$ac_objext
21055 if { (ac_try="$ac_compile"
21056 case "(($ac_try" in
21057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21058 *) ac_try_echo=$ac_try;;
21059 esac
21060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21061 (eval "$ac_compile") 2>conftest.er1
21062 ac_status=$?
21063 grep -v '^ *+' conftest.er1 >conftest.err
21064 rm -f conftest.er1
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } && {
21068 test -z "$ac_c_werror_flag" ||
21069 test ! -s conftest.err
21070 } && test -s conftest.$ac_objext; then
21071 ac_cv_member_ns_msg__msg_ptr=yes
21072 else
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.$ac_ext >&5
21076 ac_cv_member_ns_msg__msg_ptr=no
21079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21084 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21085 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21086 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21088 cat >>confdefs.h <<_ACEOF
21089 #define HAVE_NS_MSG__MSG_PTR 1
21090 _ACEOF
21096 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21097 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21098 if test "${ac_cv_have_timezone+set}" = set; then
21099 echo $ECHO_N "(cached) $ECHO_C" >&6
21100 else
21101 cat >conftest.$ac_ext <<_ACEOF
21102 /* confdefs.h. */
21103 _ACEOF
21104 cat confdefs.h >>conftest.$ac_ext
21105 cat >>conftest.$ac_ext <<_ACEOF
21106 /* end confdefs.h. */
21107 #include <time.h>
21109 main ()
21111 timezone = 1
21113 return 0;
21115 _ACEOF
21116 rm -f conftest.$ac_objext conftest$ac_exeext
21117 if { (ac_try="$ac_link"
21118 case "(($ac_try" in
21119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21120 *) ac_try_echo=$ac_try;;
21121 esac
21122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21123 (eval "$ac_link") 2>conftest.er1
21124 ac_status=$?
21125 grep -v '^ *+' conftest.er1 >conftest.err
21126 rm -f conftest.er1
21127 cat conftest.err >&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); } && {
21130 test -z "$ac_c_werror_flag" ||
21131 test ! -s conftest.err
21132 } && test -s conftest$ac_exeext &&
21133 $as_test_x conftest$ac_exeext; then
21134 ac_cv_have_timezone="yes"
21135 else
21136 echo "$as_me: failed program was:" >&5
21137 sed 's/^/| /' conftest.$ac_ext >&5
21139 ac_cv_have_timezone="no"
21142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21143 conftest$ac_exeext conftest.$ac_ext
21145 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21146 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21147 if test "$ac_cv_have_timezone" = "yes"
21148 then
21150 cat >>confdefs.h <<\_ACEOF
21151 #define HAVE_TIMEZONE 1
21152 _ACEOF
21155 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21156 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21157 if test "${ac_cv_have_daylight+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 else
21160 cat >conftest.$ac_ext <<_ACEOF
21161 /* confdefs.h. */
21162 _ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 #include <time.h>
21168 main ()
21170 daylight = 1
21172 return 0;
21174 _ACEOF
21175 rm -f conftest.$ac_objext conftest$ac_exeext
21176 if { (ac_try="$ac_link"
21177 case "(($ac_try" in
21178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21179 *) ac_try_echo=$ac_try;;
21180 esac
21181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21182 (eval "$ac_link") 2>conftest.er1
21183 ac_status=$?
21184 grep -v '^ *+' conftest.er1 >conftest.err
21185 rm -f conftest.er1
21186 cat conftest.err >&5
21187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21188 (exit $ac_status); } && {
21189 test -z "$ac_c_werror_flag" ||
21190 test ! -s conftest.err
21191 } && test -s conftest$ac_exeext &&
21192 $as_test_x conftest$ac_exeext; then
21193 ac_cv_have_daylight="yes"
21194 else
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21198 ac_cv_have_daylight="no"
21201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21202 conftest$ac_exeext conftest.$ac_ext
21204 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21205 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21206 if test "$ac_cv_have_daylight" = "yes"
21207 then
21209 cat >>confdefs.h <<\_ACEOF
21210 #define HAVE_DAYLIGHT 1
21211 _ACEOF
21215 { echo "$as_me:$LINENO: checking for isinf" >&5
21216 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21217 if test "${ac_cv_have_isinf+set}" = set; then
21218 echo $ECHO_N "(cached) $ECHO_C" >&6
21219 else
21220 cat >conftest.$ac_ext <<_ACEOF
21221 /* confdefs.h. */
21222 _ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 #include <math.h>
21228 main ()
21230 float f = 0.0; isinf(f)
21232 return 0;
21234 _ACEOF
21235 rm -f conftest.$ac_objext conftest$ac_exeext
21236 if { (ac_try="$ac_link"
21237 case "(($ac_try" in
21238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21239 *) ac_try_echo=$ac_try;;
21240 esac
21241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21242 (eval "$ac_link") 2>conftest.er1
21243 ac_status=$?
21244 grep -v '^ *+' conftest.er1 >conftest.err
21245 rm -f conftest.er1
21246 cat conftest.err >&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } && {
21249 test -z "$ac_c_werror_flag" ||
21250 test ! -s conftest.err
21251 } && test -s conftest$ac_exeext &&
21252 $as_test_x conftest$ac_exeext; then
21253 ac_cv_have_isinf="yes"
21254 else
21255 echo "$as_me: failed program was:" >&5
21256 sed 's/^/| /' conftest.$ac_ext >&5
21258 ac_cv_have_isinf="no"
21261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21262 conftest$ac_exeext conftest.$ac_ext
21264 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21265 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21266 if test "$ac_cv_have_isinf" = "yes"
21267 then
21269 cat >>confdefs.h <<\_ACEOF
21270 #define HAVE_ISINF 1
21271 _ACEOF
21276 case $host_cpu in
21277 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21278 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21279 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21281 else
21282 cat >conftest.$ac_ext <<_ACEOF
21283 /* confdefs.h. */
21284 _ACEOF
21285 cat confdefs.h >>conftest.$ac_ext
21286 cat >>conftest.$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21288 #ifndef __i386__
21290 #endif
21291 _ACEOF
21292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21293 $EGREP "yes" >/dev/null 2>&1; then
21294 ac_cv_cpp_def___i386__=yes
21295 else
21296 ac_cv_cpp_def___i386__=no
21298 rm -f conftest*
21301 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21302 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21303 if test $ac_cv_cpp_def___i386__ = yes; then
21304 CFLAGS="$CFLAGS -D__i386__"
21305 LINTFLAGS="$LINTFLAGS -D__i386__"
21308 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21309 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21310 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21311 echo $ECHO_N "(cached) $ECHO_C" >&6
21312 else
21313 cat >conftest.$ac_ext <<_ACEOF
21314 /* confdefs.h. */
21315 _ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21319 #ifndef __x86_64__
21321 #endif
21322 _ACEOF
21323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21324 $EGREP "yes" >/dev/null 2>&1; then
21325 ac_cv_cpp_def___x86_64__=yes
21326 else
21327 ac_cv_cpp_def___x86_64__=no
21329 rm -f conftest*
21332 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21333 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21334 if test $ac_cv_cpp_def___x86_64__ = yes; then
21335 CFLAGS="$CFLAGS -D__x86_64__"
21336 LINTFLAGS="$LINTFLAGS -D__x86_64__"
21339 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21340 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21341 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21342 echo $ECHO_N "(cached) $ECHO_C" >&6
21343 else
21344 cat >conftest.$ac_ext <<_ACEOF
21345 /* confdefs.h. */
21346 _ACEOF
21347 cat confdefs.h >>conftest.$ac_ext
21348 cat >>conftest.$ac_ext <<_ACEOF
21349 /* end confdefs.h. */
21350 #ifndef __ALPHA__
21352 #endif
21353 _ACEOF
21354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21355 $EGREP "yes" >/dev/null 2>&1; then
21356 ac_cv_cpp_def___ALPHA__=yes
21357 else
21358 ac_cv_cpp_def___ALPHA__=no
21360 rm -f conftest*
21363 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21364 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21365 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21366 CFLAGS="$CFLAGS -D__ALPHA__"
21367 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21370 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21371 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21372 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21373 echo $ECHO_N "(cached) $ECHO_C" >&6
21374 else
21375 cat >conftest.$ac_ext <<_ACEOF
21376 /* confdefs.h. */
21377 _ACEOF
21378 cat confdefs.h >>conftest.$ac_ext
21379 cat >>conftest.$ac_ext <<_ACEOF
21380 /* end confdefs.h. */
21381 #ifndef __sparc__
21383 #endif
21384 _ACEOF
21385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21386 $EGREP "yes" >/dev/null 2>&1; then
21387 ac_cv_cpp_def___sparc__=yes
21388 else
21389 ac_cv_cpp_def___sparc__=no
21391 rm -f conftest*
21394 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21395 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21396 if test $ac_cv_cpp_def___sparc__ = yes; then
21397 CFLAGS="$CFLAGS -D__sparc__"
21398 LINTFLAGS="$LINTFLAGS -D__sparc__"
21401 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21402 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21403 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21404 echo $ECHO_N "(cached) $ECHO_C" >&6
21405 else
21406 cat >conftest.$ac_ext <<_ACEOF
21407 /* confdefs.h. */
21408 _ACEOF
21409 cat confdefs.h >>conftest.$ac_ext
21410 cat >>conftest.$ac_ext <<_ACEOF
21411 /* end confdefs.h. */
21412 #ifndef __powerpc__
21414 #endif
21415 _ACEOF
21416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21417 $EGREP "yes" >/dev/null 2>&1; then
21418 ac_cv_cpp_def___powerpc__=yes
21419 else
21420 ac_cv_cpp_def___powerpc__=no
21422 rm -f conftest*
21425 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21426 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21427 if test $ac_cv_cpp_def___powerpc__ = yes; then
21428 CFLAGS="$CFLAGS -D__powerpc__"
21429 LINTFLAGS="$LINTFLAGS -D__powerpc__"
21432 esac
21434 case $host_vendor in
21435 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21436 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21437 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21439 else
21440 cat >conftest.$ac_ext <<_ACEOF
21441 /* confdefs.h. */
21442 _ACEOF
21443 cat confdefs.h >>conftest.$ac_ext
21444 cat >>conftest.$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21446 #ifndef __sun__
21448 #endif
21449 _ACEOF
21450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21451 $EGREP "yes" >/dev/null 2>&1; then
21452 ac_cv_cpp_def___sun__=yes
21453 else
21454 ac_cv_cpp_def___sun__=no
21456 rm -f conftest*
21459 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21460 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21461 if test $ac_cv_cpp_def___sun__ = yes; then
21462 CFLAGS="$CFLAGS -D__sun__"
21463 LINTFLAGS="$LINTFLAGS -D__sun__"
21466 esac
21469 DEPENDENCIES="### Dependencies:
21471 .INIT: Makefile
21472 .BEGIN: Makefile
21473 Makefile: dummy
21474 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21476 \$(OBJS): \$(IDL_GEN_HEADERS)
21477 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21478 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21479 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21480 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21486 ac_config_commands="$ac_config_commands include/stamp-h"
21489 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21491 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21493 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21495 ac_config_commands="$ac_config_commands dlls/user32/resources"
21497 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21499 ac_config_commands="$ac_config_commands include/wine"
21502 MAKE_RULES=Make.rules
21505 MAKE_DLL_RULES=dlls/Makedll.rules
21508 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21511 MAKE_TEST_RULES=dlls/Maketest.rules
21514 MAKE_PROG_RULES=programs/Makeprog.rules
21517 ac_config_files="$ac_config_files Make.rules"
21519 ac_config_files="$ac_config_files dlls/Makedll.rules"
21521 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21523 ac_config_files="$ac_config_files dlls/Maketest.rules"
21525 ac_config_files="$ac_config_files programs/Makeprog.rules"
21527 ac_config_files="$ac_config_files Makefile"
21529 ac_config_files="$ac_config_files dlls/Makefile"
21531 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21533 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21535 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21537 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21539 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21541 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21543 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21545 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21547 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21549 ac_config_files="$ac_config_files dlls/atl/Makefile"
21551 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21553 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21555 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21557 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21559 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21561 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21563 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21565 ac_config_files="$ac_config_files dlls/cards/Makefile"
21567 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21569 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21571 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21573 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21575 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21577 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21579 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21581 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21583 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21585 ac_config_files="$ac_config_files dlls/credui/Makefile"
21587 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21589 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21591 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21593 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21595 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21597 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21599 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21601 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21603 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21605 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21607 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21609 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21611 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21613 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21615 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21617 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21619 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21621 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21623 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21625 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21627 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21629 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21631 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21633 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21635 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21637 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21639 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21641 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21643 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21645 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21647 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21649 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21651 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21653 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21655 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21657 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21659 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21661 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21663 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21665 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21667 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21669 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21671 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21673 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21675 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21677 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21679 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21681 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21683 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21685 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21687 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21689 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21691 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21693 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21695 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21697 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21699 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21701 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21703 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21705 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21707 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21709 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21711 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21713 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21715 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21717 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21719 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21721 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21723 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21725 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21727 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21729 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21731 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21733 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21735 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21737 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21739 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21741 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21743 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21745 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21747 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21749 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21751 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21753 ac_config_files="$ac_config_files dlls/hal/Makefile"
21755 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21757 ac_config_files="$ac_config_files dlls/hid/Makefile"
21759 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21761 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21763 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21765 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21767 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21769 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21771 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21773 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21775 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21777 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21779 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21781 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21783 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21785 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21787 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21789 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21791 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21793 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21795 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21797 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21799 ac_config_files="$ac_config_files dlls/itss/Makefile"
21801 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21803 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21805 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21807 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21809 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21811 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21813 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21815 ac_config_files="$ac_config_files dlls/localui/Makefile"
21817 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21819 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21821 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21823 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21825 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21827 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21829 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21831 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21833 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21835 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21837 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21839 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21841 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21843 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21845 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21847 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21849 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21851 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21853 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21855 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21857 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21859 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21861 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21863 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21865 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21867 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21869 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21871 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21873 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21875 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21877 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21879 ac_config_files="$ac_config_files dlls/msi/Makefile"
21881 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21883 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21885 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21887 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21889 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21891 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21893 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21895 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21897 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21899 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21901 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21903 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21905 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21907 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21909 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21911 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21913 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21915 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21917 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21919 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21921 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21923 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21925 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21927 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21929 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21931 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21933 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21935 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21937 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21939 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21941 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21943 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21945 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21947 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21949 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21951 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21953 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21955 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21957 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21959 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21961 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21963 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21965 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21967 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21969 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21971 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21973 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21975 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21977 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21979 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21981 ac_config_files="$ac_config_files dlls/printui/Makefile"
21983 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21985 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21987 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21989 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21991 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21993 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21995 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21997 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21999 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22001 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22003 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22005 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22007 ac_config_files="$ac_config_files dlls/query/Makefile"
22009 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22011 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22013 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22015 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22017 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22019 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22021 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22023 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22025 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22027 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22029 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22031 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22033 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22035 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22037 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22039 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22041 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22043 ac_config_files="$ac_config_files dlls/security/Makefile"
22045 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22047 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22049 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22051 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22053 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22055 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22057 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22059 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22061 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22063 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22065 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22067 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22069 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22071 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22073 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22075 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22077 ac_config_files="$ac_config_files dlls/slc/Makefile"
22079 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22081 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22083 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22085 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22087 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22089 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22091 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22093 ac_config_files="$ac_config_files dlls/sti/Makefile"
22095 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22097 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22099 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22101 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22103 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22105 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22107 ac_config_files="$ac_config_files dlls/url/Makefile"
22109 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22111 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22113 ac_config_files="$ac_config_files dlls/user32/Makefile"
22115 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22117 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22119 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22121 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22123 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22125 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22127 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22129 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22131 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22133 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22135 ac_config_files="$ac_config_files dlls/version/Makefile"
22137 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22139 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22141 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22143 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22145 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22147 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22149 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22151 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22153 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22155 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22157 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22159 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22161 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22163 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22165 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22167 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22169 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22171 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22173 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22175 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22177 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22179 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22181 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22183 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22185 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22187 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22189 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22191 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22193 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22195 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22197 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22199 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22201 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22203 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22205 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22207 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22209 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22211 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22213 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22215 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22217 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22219 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22221 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22223 ac_config_files="$ac_config_files documentation/Makefile"
22225 ac_config_files="$ac_config_files fonts/Makefile"
22227 ac_config_files="$ac_config_files include/Makefile"
22229 ac_config_files="$ac_config_files libs/Makefile"
22231 ac_config_files="$ac_config_files libs/port/Makefile"
22233 ac_config_files="$ac_config_files libs/wine/Makefile"
22235 ac_config_files="$ac_config_files libs/wpp/Makefile"
22237 ac_config_files="$ac_config_files loader/Makefile"
22239 ac_config_files="$ac_config_files programs/Makefile"
22241 ac_config_files="$ac_config_files programs/clock/Makefile"
22243 ac_config_files="$ac_config_files programs/cmd/Makefile"
22245 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22247 ac_config_files="$ac_config_files programs/control/Makefile"
22249 ac_config_files="$ac_config_files programs/eject/Makefile"
22251 ac_config_files="$ac_config_files programs/expand/Makefile"
22253 ac_config_files="$ac_config_files programs/explorer/Makefile"
22255 ac_config_files="$ac_config_files programs/hh/Makefile"
22257 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22259 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22261 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22263 ac_config_files="$ac_config_files programs/net/Makefile"
22265 ac_config_files="$ac_config_files programs/notepad/Makefile"
22267 ac_config_files="$ac_config_files programs/oleview/Makefile"
22269 ac_config_files="$ac_config_files programs/progman/Makefile"
22271 ac_config_files="$ac_config_files programs/reg/Makefile"
22273 ac_config_files="$ac_config_files programs/regedit/Makefile"
22275 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22277 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22279 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22281 ac_config_files="$ac_config_files programs/secedit/Makefile"
22283 ac_config_files="$ac_config_files programs/services/Makefile"
22285 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22287 ac_config_files="$ac_config_files programs/start/Makefile"
22289 ac_config_files="$ac_config_files programs/svchost/Makefile"
22291 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22293 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22295 ac_config_files="$ac_config_files programs/view/Makefile"
22297 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22299 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22301 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22303 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22305 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22307 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22309 ac_config_files="$ac_config_files programs/winefile/Makefile"
22311 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22313 ac_config_files="$ac_config_files programs/winemine/Makefile"
22315 ac_config_files="$ac_config_files programs/winepath/Makefile"
22317 ac_config_files="$ac_config_files programs/winetest/Makefile"
22319 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22321 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22323 ac_config_files="$ac_config_files programs/winver/Makefile"
22325 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22327 ac_config_files="$ac_config_files programs/write/Makefile"
22329 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22331 ac_config_files="$ac_config_files server/Makefile"
22333 ac_config_files="$ac_config_files tools/Makefile"
22335 ac_config_files="$ac_config_files tools/widl/Makefile"
22337 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22339 ac_config_files="$ac_config_files tools/winedump/Makefile"
22341 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22343 ac_config_files="$ac_config_files tools/wmc/Makefile"
22345 ac_config_files="$ac_config_files tools/wrc/Makefile"
22348 cat >confcache <<\_ACEOF
22349 # This file is a shell script that caches the results of configure
22350 # tests run on this system so they can be shared between configure
22351 # scripts and configure runs, see configure's option --config-cache.
22352 # It is not useful on other systems. If it contains results you don't
22353 # want to keep, you may remove or edit it.
22355 # config.status only pays attention to the cache file if you give it
22356 # the --recheck option to rerun configure.
22358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22360 # following values.
22362 _ACEOF
22364 # The following way of writing the cache mishandles newlines in values,
22365 # but we know of no workaround that is simple, portable, and efficient.
22366 # So, we kill variables containing newlines.
22367 # Ultrix sh set writes to stderr and can't be redirected directly,
22368 # and sets the high bit in the cache file unless we assign to the vars.
22370 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22371 eval ac_val=\$$ac_var
22372 case $ac_val in #(
22373 *${as_nl}*)
22374 case $ac_var in #(
22375 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22376 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22377 esac
22378 case $ac_var in #(
22379 _ | IFS | as_nl) ;; #(
22380 *) $as_unset $ac_var ;;
22381 esac ;;
22382 esac
22383 done
22385 (set) 2>&1 |
22386 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22387 *${as_nl}ac_space=\ *)
22388 # `set' does not quote correctly, so add quotes (double-quote
22389 # substitution turns \\\\ into \\, and sed turns \\ into \).
22390 sed -n \
22391 "s/'/'\\\\''/g;
22392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22393 ;; #(
22395 # `set' quotes correctly as required by POSIX, so do not add quotes.
22396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22398 esac |
22399 sort
22401 sed '
22402 /^ac_cv_env_/b end
22403 t clear
22404 :clear
22405 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22406 t end
22407 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22408 :end' >>confcache
22409 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22410 if test -w "$cache_file"; then
22411 test "x$cache_file" != "x/dev/null" &&
22412 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22413 echo "$as_me: updating cache $cache_file" >&6;}
22414 cat confcache >$cache_file
22415 else
22416 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22417 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22420 rm -f confcache
22422 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22423 # Let make expand exec_prefix.
22424 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22426 DEFS=-DHAVE_CONFIG_H
22428 ac_libobjs=
22429 ac_ltlibobjs=
22430 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22431 # 1. Remove the extension, and $U if already installed.
22432 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22433 ac_i=`echo "$ac_i" | sed "$ac_script"`
22434 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22435 # will be set to the directory where LIBOBJS objects are built.
22436 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22437 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22438 done
22439 LIBOBJS=$ac_libobjs
22441 LTLIBOBJS=$ac_ltlibobjs
22445 : ${CONFIG_STATUS=./config.status}
22446 ac_clean_files_save=$ac_clean_files
22447 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22448 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22449 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22450 cat >$CONFIG_STATUS <<_ACEOF
22451 #! $SHELL
22452 # Generated by $as_me.
22453 # Run this file to recreate the current configuration.
22454 # Compiler output produced by configure, useful for debugging
22455 # configure, is in config.log if it exists.
22457 debug=false
22458 ac_cs_recheck=false
22459 ac_cs_silent=false
22460 SHELL=\${CONFIG_SHELL-$SHELL}
22461 _ACEOF
22463 cat >>$CONFIG_STATUS <<\_ACEOF
22464 ## --------------------- ##
22465 ## M4sh Initialization. ##
22466 ## --------------------- ##
22468 # Be more Bourne compatible
22469 DUALCASE=1; export DUALCASE # for MKS sh
22470 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22471 emulate sh
22472 NULLCMD=:
22473 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22474 # is contrary to our usage. Disable this feature.
22475 alias -g '${1+"$@"}'='"$@"'
22476 setopt NO_GLOB_SUBST
22477 else
22478 case `(set -o) 2>/dev/null` in
22479 *posix*) set -o posix ;;
22480 esac
22487 # PATH needs CR
22488 # Avoid depending upon Character Ranges.
22489 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22490 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22491 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22492 as_cr_digits='0123456789'
22493 as_cr_alnum=$as_cr_Letters$as_cr_digits
22495 # The user is always right.
22496 if test "${PATH_SEPARATOR+set}" != set; then
22497 echo "#! /bin/sh" >conf$$.sh
22498 echo "exit 0" >>conf$$.sh
22499 chmod +x conf$$.sh
22500 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22501 PATH_SEPARATOR=';'
22502 else
22503 PATH_SEPARATOR=:
22505 rm -f conf$$.sh
22508 # Support unset when possible.
22509 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22510 as_unset=unset
22511 else
22512 as_unset=false
22516 # IFS
22517 # We need space, tab and new line, in precisely that order. Quoting is
22518 # there to prevent editors from complaining about space-tab.
22519 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22520 # splitting by setting IFS to empty value.)
22521 as_nl='
22523 IFS=" "" $as_nl"
22525 # Find who we are. Look in the path if we contain no directory separator.
22526 case $0 in
22527 *[\\/]* ) as_myself=$0 ;;
22528 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22529 for as_dir in $PATH
22531 IFS=$as_save_IFS
22532 test -z "$as_dir" && as_dir=.
22533 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22534 done
22535 IFS=$as_save_IFS
22538 esac
22539 # We did not find ourselves, most probably we were run as `sh COMMAND'
22540 # in which case we are not to be found in the path.
22541 if test "x$as_myself" = x; then
22542 as_myself=$0
22544 if test ! -f "$as_myself"; then
22545 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22546 { (exit 1); exit 1; }
22549 # Work around bugs in pre-3.0 UWIN ksh.
22550 for as_var in ENV MAIL MAILPATH
22551 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22552 done
22553 PS1='$ '
22554 PS2='> '
22555 PS4='+ '
22557 # NLS nuisances.
22558 for as_var in \
22559 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22560 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22561 LC_TELEPHONE LC_TIME
22563 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22564 eval $as_var=C; export $as_var
22565 else
22566 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22568 done
22570 # Required to use basename.
22571 if expr a : '\(a\)' >/dev/null 2>&1 &&
22572 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22573 as_expr=expr
22574 else
22575 as_expr=false
22578 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22579 as_basename=basename
22580 else
22581 as_basename=false
22585 # Name of the executable.
22586 as_me=`$as_basename -- "$0" ||
22587 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22588 X"$0" : 'X\(//\)$' \| \
22589 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22590 echo X/"$0" |
22591 sed '/^.*\/\([^/][^/]*\)\/*$/{
22592 s//\1/
22595 /^X\/\(\/\/\)$/{
22596 s//\1/
22599 /^X\/\(\/\).*/{
22600 s//\1/
22603 s/.*/./; q'`
22605 # CDPATH.
22606 $as_unset CDPATH
22610 as_lineno_1=$LINENO
22611 as_lineno_2=$LINENO
22612 test "x$as_lineno_1" != "x$as_lineno_2" &&
22613 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22615 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22616 # uniformly replaced by the line number. The first 'sed' inserts a
22617 # line-number line after each line using $LINENO; the second 'sed'
22618 # does the real work. The second script uses 'N' to pair each
22619 # line-number line with the line containing $LINENO, and appends
22620 # trailing '-' during substitution so that $LINENO is not a special
22621 # case at line end.
22622 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22623 # scripts with optimization help from Paolo Bonzini. Blame Lee
22624 # E. McMahon (1931-1989) for sed's syntax. :-)
22625 sed -n '
22627 /[$]LINENO/=
22628 ' <$as_myself |
22629 sed '
22630 s/[$]LINENO.*/&-/
22631 t lineno
22633 :lineno
22635 :loop
22636 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22637 t loop
22638 s/-\n.*//
22639 ' >$as_me.lineno &&
22640 chmod +x "$as_me.lineno" ||
22641 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22642 { (exit 1); exit 1; }; }
22644 # Don't try to exec as it changes $[0], causing all sort of problems
22645 # (the dirname of $[0] is not the place where we might find the
22646 # original and so on. Autoconf is especially sensitive to this).
22647 . "./$as_me.lineno"
22648 # Exit status is that of the last command.
22649 exit
22653 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22654 as_dirname=dirname
22655 else
22656 as_dirname=false
22659 ECHO_C= ECHO_N= ECHO_T=
22660 case `echo -n x` in
22661 -n*)
22662 case `echo 'x\c'` in
22663 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22664 *) ECHO_C='\c';;
22665 esac;;
22667 ECHO_N='-n';;
22668 esac
22670 if expr a : '\(a\)' >/dev/null 2>&1 &&
22671 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22672 as_expr=expr
22673 else
22674 as_expr=false
22677 rm -f conf$$ conf$$.exe conf$$.file
22678 if test -d conf$$.dir; then
22679 rm -f conf$$.dir/conf$$.file
22680 else
22681 rm -f conf$$.dir
22682 mkdir conf$$.dir
22684 echo >conf$$.file
22685 if ln -s conf$$.file conf$$ 2>/dev/null; then
22686 as_ln_s='ln -s'
22687 # ... but there are two gotchas:
22688 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22689 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22690 # In both cases, we have to default to `cp -p'.
22691 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22692 as_ln_s='cp -p'
22693 elif ln conf$$.file conf$$ 2>/dev/null; then
22694 as_ln_s=ln
22695 else
22696 as_ln_s='cp -p'
22698 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22699 rmdir conf$$.dir 2>/dev/null
22701 if mkdir -p . 2>/dev/null; then
22702 as_mkdir_p=:
22703 else
22704 test -d ./-p && rmdir ./-p
22705 as_mkdir_p=false
22708 if test -x / >/dev/null 2>&1; then
22709 as_test_x='test -x'
22710 else
22711 if ls -dL / >/dev/null 2>&1; then
22712 as_ls_L_option=L
22713 else
22714 as_ls_L_option=
22716 as_test_x='
22717 eval sh -c '\''
22718 if test -d "$1"; then
22719 test -d "$1/.";
22720 else
22721 case $1 in
22722 -*)set "./$1";;
22723 esac;
22724 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22725 ???[sx]*):;;*)false;;esac;fi
22726 '\'' sh
22729 as_executable_p=$as_test_x
22731 # Sed expression to map a string onto a valid CPP name.
22732 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22734 # Sed expression to map a string onto a valid variable name.
22735 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22738 exec 6>&1
22740 # Save the log message, to keep $[0] and so on meaningful, and to
22741 # report actual input values of CONFIG_FILES etc. instead of their
22742 # values after options handling.
22743 ac_log="
22744 This file was extended by Wine $as_me 1.0-rc2, which was
22745 generated by GNU Autoconf 2.61. Invocation command line was
22747 CONFIG_FILES = $CONFIG_FILES
22748 CONFIG_HEADERS = $CONFIG_HEADERS
22749 CONFIG_LINKS = $CONFIG_LINKS
22750 CONFIG_COMMANDS = $CONFIG_COMMANDS
22751 $ $0 $@
22753 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22756 _ACEOF
22758 cat >>$CONFIG_STATUS <<_ACEOF
22759 # Files that config.status was made for.
22760 config_files="$ac_config_files"
22761 config_headers="$ac_config_headers"
22762 config_commands="$ac_config_commands"
22764 _ACEOF
22766 cat >>$CONFIG_STATUS <<\_ACEOF
22767 ac_cs_usage="\
22768 \`$as_me' instantiates files from templates according to the
22769 current configuration.
22771 Usage: $0 [OPTIONS] [FILE]...
22773 -h, --help print this help, then exit
22774 -V, --version print version number and configuration settings, then exit
22775 -q, --quiet do not print progress messages
22776 -d, --debug don't remove temporary files
22777 --recheck update $as_me by reconfiguring in the same conditions
22778 --file=FILE[:TEMPLATE]
22779 instantiate the configuration file FILE
22780 --header=FILE[:TEMPLATE]
22781 instantiate the configuration header FILE
22783 Configuration files:
22784 $config_files
22786 Configuration headers:
22787 $config_headers
22789 Configuration commands:
22790 $config_commands
22792 Report bugs to <bug-autoconf@gnu.org>."
22794 _ACEOF
22795 cat >>$CONFIG_STATUS <<_ACEOF
22796 ac_cs_version="\\
22797 Wine config.status 1.0-rc2
22798 configured by $0, generated by GNU Autoconf 2.61,
22799 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22801 Copyright (C) 2006 Free Software Foundation, Inc.
22802 This config.status script is free software; the Free Software Foundation
22803 gives unlimited permission to copy, distribute and modify it."
22805 ac_pwd='$ac_pwd'
22806 srcdir='$srcdir'
22807 INSTALL='$INSTALL'
22808 _ACEOF
22810 cat >>$CONFIG_STATUS <<\_ACEOF
22811 # If no file are specified by the user, then we need to provide default
22812 # value. By we need to know if files were specified by the user.
22813 ac_need_defaults=:
22814 while test $# != 0
22816 case $1 in
22817 --*=*)
22818 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22819 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22820 ac_shift=:
22823 ac_option=$1
22824 ac_optarg=$2
22825 ac_shift=shift
22827 esac
22829 case $ac_option in
22830 # Handling of the options.
22831 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22832 ac_cs_recheck=: ;;
22833 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22834 echo "$ac_cs_version"; exit ;;
22835 --debug | --debu | --deb | --de | --d | -d )
22836 debug=: ;;
22837 --file | --fil | --fi | --f )
22838 $ac_shift
22839 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22840 ac_need_defaults=false;;
22841 --header | --heade | --head | --hea )
22842 $ac_shift
22843 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22844 ac_need_defaults=false;;
22845 --he | --h)
22846 # Conflict between --help and --header
22847 { echo "$as_me: error: ambiguous option: $1
22848 Try \`$0 --help' for more information." >&2
22849 { (exit 1); exit 1; }; };;
22850 --help | --hel | -h )
22851 echo "$ac_cs_usage"; exit ;;
22852 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22853 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22854 ac_cs_silent=: ;;
22856 # This is an error.
22857 -*) { echo "$as_me: error: unrecognized option: $1
22858 Try \`$0 --help' for more information." >&2
22859 { (exit 1); exit 1; }; } ;;
22861 *) ac_config_targets="$ac_config_targets $1"
22862 ac_need_defaults=false ;;
22864 esac
22865 shift
22866 done
22868 ac_configure_extra_args=
22870 if $ac_cs_silent; then
22871 exec 6>/dev/null
22872 ac_configure_extra_args="$ac_configure_extra_args --silent"
22875 _ACEOF
22876 cat >>$CONFIG_STATUS <<_ACEOF
22877 if \$ac_cs_recheck; then
22878 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22879 CONFIG_SHELL=$SHELL
22880 export CONFIG_SHELL
22881 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22884 _ACEOF
22885 cat >>$CONFIG_STATUS <<\_ACEOF
22886 exec 5>>config.log
22888 echo
22889 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22890 ## Running $as_me. ##
22891 _ASBOX
22892 echo "$ac_log"
22893 } >&5
22895 _ACEOF
22896 cat >>$CONFIG_STATUS <<_ACEOF
22897 _ACEOF
22899 cat >>$CONFIG_STATUS <<\_ACEOF
22901 # Handling of arguments.
22902 for ac_config_target in $ac_config_targets
22904 case $ac_config_target in
22905 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22906 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22907 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22908 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22909 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22910 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22911 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22912 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22913 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22914 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22915 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22916 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22917 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22918 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22919 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22920 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22921 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22922 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22923 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22924 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22925 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22926 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22927 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22928 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22929 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22930 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22931 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22932 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22933 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22934 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22935 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22936 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22937 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22938 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22939 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22940 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22941 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22942 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22943 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22944 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22945 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22946 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22947 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22948 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22949 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22950 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22951 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22952 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22953 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22954 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22955 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22956 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22957 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22958 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22959 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22960 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22961 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22962 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22963 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22964 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22965 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22966 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22967 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22968 "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22969 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22970 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22971 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22972 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22973 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22974 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22975 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22976 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22977 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22978 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22979 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22980 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22981 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22982 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22983 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
22984 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22985 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22986 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22987 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22988 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22989 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22990 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22991 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22992 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22993 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22994 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22995 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22996 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22997 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22998 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22999 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23000 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23001 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23002 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23003 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23004 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23005 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23006 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23007 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23008 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23009 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23010 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23011 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23012 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23013 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23014 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23015 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23016 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23017 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23018 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23019 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23020 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23021 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23022 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23023 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23024 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23025 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23026 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23027 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23028 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23029 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23030 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23031 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23032 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23033 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23034 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23035 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23036 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23037 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23038 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23039 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23040 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23041 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23042 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23043 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23044 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23045 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23046 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23047 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23048 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23049 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23050 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23051 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23052 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23053 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23054 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23055 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23056 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23057 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23058 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23059 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23060 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23061 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23062 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23063 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23064 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23065 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23066 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23067 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23068 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23069 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23070 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23071 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23072 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23073 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23074 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23075 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23076 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23077 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23078 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23079 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23080 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23081 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23082 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23083 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23084 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23085 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23086 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23087 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23088 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23089 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23090 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23091 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23092 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23093 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23094 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23095 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23096 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23097 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23098 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23099 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23100 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23101 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23102 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23103 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23104 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23105 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23106 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23107 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23108 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23109 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23110 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23111 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23112 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23113 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23114 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23115 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23116 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23117 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23118 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23119 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23120 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23121 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23122 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23123 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23124 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23125 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23126 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23127 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23128 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23129 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23130 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23131 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23132 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23133 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23134 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23135 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23136 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23137 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23138 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23139 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23140 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23141 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23142 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23143 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23144 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23145 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23146 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23147 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23148 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23149 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23150 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23151 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23152 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23153 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23154 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23155 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23156 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23157 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23158 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23159 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23160 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23161 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23162 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23163 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23164 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23165 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23166 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23167 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23168 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23169 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23170 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23171 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23172 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23173 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23174 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23175 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23176 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23177 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23178 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23179 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23180 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23181 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23182 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23183 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23184 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23185 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23186 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23187 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23188 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23189 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23190 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23191 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23192 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23193 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23194 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23195 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23196 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23197 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23198 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23199 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23200 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23201 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23202 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23203 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23204 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23205 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23206 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23207 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23208 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23209 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23210 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23211 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23212 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23213 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23214 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23215 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23216 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23217 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23218 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23219 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23220 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23221 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23222 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23223 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23224 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23225 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23226 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23227 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23228 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23229 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23230 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23231 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23232 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23233 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23234 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23235 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23236 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23237 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23238 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23239 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23240 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23241 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23242 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23243 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23244 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23245 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23246 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23247 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23248 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23249 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23250 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23251 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23252 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23253 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23254 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23255 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23256 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23257 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23258 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23259 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23260 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23261 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23262 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23263 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23264 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23265 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23266 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23267 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23268 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23269 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23270 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23271 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23272 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23273 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23274 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23275 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23276 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23277 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23278 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23279 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23280 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23281 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23282 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23283 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23284 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23285 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23286 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23287 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23288 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23289 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23290 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23291 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23292 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23293 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23294 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23295 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23296 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23297 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23298 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23299 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23300 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23301 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23302 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23303 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23304 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23305 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23306 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23307 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23308 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23309 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23310 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23311 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23312 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23313 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23314 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23315 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23316 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23317 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23318 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23319 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23320 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23321 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23322 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23323 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23324 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23325 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23326 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23327 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23329 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23330 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23331 { (exit 1); exit 1; }; };;
23332 esac
23333 done
23336 # If the user did not use the arguments to specify the items to instantiate,
23337 # then the envvar interface is used. Set only those that are not.
23338 # We use the long form for the default assignment because of an extremely
23339 # bizarre bug on SunOS 4.1.3.
23340 if $ac_need_defaults; then
23341 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23342 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23343 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23346 # Have a temporary directory for convenience. Make it in the build tree
23347 # simply because there is no reason against having it here, and in addition,
23348 # creating and moving files from /tmp can sometimes cause problems.
23349 # Hook for its removal unless debugging.
23350 # Note that there is a small window in which the directory will not be cleaned:
23351 # after its creation but before its name has been assigned to `$tmp'.
23352 $debug ||
23354 tmp=
23355 trap 'exit_status=$?
23356 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23358 trap '{ (exit 1); exit 1; }' 1 2 13 15
23360 # Create a (secure) tmp directory for tmp files.
23363 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23364 test -n "$tmp" && test -d "$tmp"
23365 } ||
23367 tmp=./conf$$-$RANDOM
23368 (umask 077 && mkdir "$tmp")
23369 } ||
23371 echo "$me: cannot create a temporary directory in ." >&2
23372 { (exit 1); exit 1; }
23376 # Set up the sed scripts for CONFIG_FILES section.
23379 # No need to generate the scripts if there are no CONFIG_FILES.
23380 # This happens for instance when ./config.status config.h
23381 if test -n "$CONFIG_FILES"; then
23383 _ACEOF
23385 # Create sed commands to just substitute file output variables.
23387 # Remaining file output variables are in a fragment that also has non-file
23388 # output varibles.
23392 ac_delim='%!_!# '
23393 for ac_last_try in false false false false false :; do
23394 cat >conf$$subs.sed <<_ACEOF
23395 SHELL!$SHELL$ac_delim
23396 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23397 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23398 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23399 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23400 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23401 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23402 exec_prefix!$exec_prefix$ac_delim
23403 prefix!$prefix$ac_delim
23404 program_transform_name!$program_transform_name$ac_delim
23405 bindir!$bindir$ac_delim
23406 sbindir!$sbindir$ac_delim
23407 libexecdir!$libexecdir$ac_delim
23408 datarootdir!$datarootdir$ac_delim
23409 datadir!$datadir$ac_delim
23410 sysconfdir!$sysconfdir$ac_delim
23411 sharedstatedir!$sharedstatedir$ac_delim
23412 localstatedir!$localstatedir$ac_delim
23413 includedir!$includedir$ac_delim
23414 oldincludedir!$oldincludedir$ac_delim
23415 docdir!$docdir$ac_delim
23416 infodir!$infodir$ac_delim
23417 htmldir!$htmldir$ac_delim
23418 dvidir!$dvidir$ac_delim
23419 pdfdir!$pdfdir$ac_delim
23420 psdir!$psdir$ac_delim
23421 libdir!$libdir$ac_delim
23422 localedir!$localedir$ac_delim
23423 mandir!$mandir$ac_delim
23424 DEFS!$DEFS$ac_delim
23425 ECHO_C!$ECHO_C$ac_delim
23426 ECHO_N!$ECHO_N$ac_delim
23427 ECHO_T!$ECHO_T$ac_delim
23428 LIBS!$LIBS$ac_delim
23429 build_alias!$build_alias$ac_delim
23430 host_alias!$host_alias$ac_delim
23431 target_alias!$target_alias$ac_delim
23432 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23433 build!$build$ac_delim
23434 build_cpu!$build_cpu$ac_delim
23435 build_vendor!$build_vendor$ac_delim
23436 build_os!$build_os$ac_delim
23437 host!$host$ac_delim
23438 host_cpu!$host_cpu$ac_delim
23439 host_vendor!$host_vendor$ac_delim
23440 host_os!$host_os$ac_delim
23441 WIN16_FILES!$WIN16_FILES$ac_delim
23442 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23443 SET_MAKE!$SET_MAKE$ac_delim
23444 CC!$CC$ac_delim
23445 CFLAGS!$CFLAGS$ac_delim
23446 LDFLAGS!$LDFLAGS$ac_delim
23447 CPPFLAGS!$CPPFLAGS$ac_delim
23448 ac_ct_CC!$ac_ct_CC$ac_delim
23449 EXEEXT!$EXEEXT$ac_delim
23450 OBJEXT!$OBJEXT$ac_delim
23451 CXX!$CXX$ac_delim
23452 CXXFLAGS!$CXXFLAGS$ac_delim
23453 ac_ct_CXX!$ac_ct_CXX$ac_delim
23454 CPPBIN!$CPPBIN$ac_delim
23455 TOOLSDIR!$TOOLSDIR$ac_delim
23456 XMKMF!$XMKMF$ac_delim
23457 CPP!$CPP$ac_delim
23458 X_CFLAGS!$X_CFLAGS$ac_delim
23459 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23460 X_LIBS!$X_LIBS$ac_delim
23461 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23462 FLEX!$FLEX$ac_delim
23463 BISON!$BISON$ac_delim
23464 AS!$AS$ac_delim
23465 ac_ct_AS!$ac_ct_AS$ac_delim
23466 LD!$LD$ac_delim
23467 AR!$AR$ac_delim
23468 ARFLAGS!$ARFLAGS$ac_delim
23469 RANLIB!$RANLIB$ac_delim
23470 STRIP!$STRIP$ac_delim
23471 WINDRES!$WINDRES$ac_delim
23472 LN_S!$LN_S$ac_delim
23473 LN!$LN$ac_delim
23474 GREP!$GREP$ac_delim
23475 EGREP!$EGREP$ac_delim
23476 LDCONFIG!$LDCONFIG$ac_delim
23477 _ACEOF
23479 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23480 break
23481 elif $ac_last_try; then
23482 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23483 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23484 { (exit 1); exit 1; }; }
23485 else
23486 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23488 done
23490 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23491 if test -n "$ac_eof"; then
23492 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23493 ac_eof=`expr $ac_eof + 1`
23496 cat >>$CONFIG_STATUS <<_ACEOF
23497 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23499 /^[ ]*@MAKE_RULES@[ ]*$/{
23500 r $MAKE_RULES
23503 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
23504 r $MAKE_DLL_RULES
23507 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
23508 r $MAKE_IMPLIB_RULES
23511 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
23512 r $MAKE_TEST_RULES
23515 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
23516 r $MAKE_PROG_RULES
23519 _ACEOF
23520 sed '
23521 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23522 s/^/s,@/; s/!/@,|#_!!_#|/
23525 s/'"$ac_delim"'$/,g/; t
23526 s/$/\\/; p
23527 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23528 ' >>$CONFIG_STATUS <conf$$subs.sed
23529 rm -f conf$$subs.sed
23530 cat >>$CONFIG_STATUS <<_ACEOF
23531 CEOF$ac_eof
23532 _ACEOF
23535 ac_delim='%!_!# '
23536 for ac_last_try in false false false false false :; do
23537 cat >conf$$subs.sed <<_ACEOF
23538 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23539 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23540 INSTALL_DATA!$INSTALL_DATA$ac_delim
23541 LINT!$LINT$ac_delim
23542 LINTFLAGS!$LINTFLAGS$ac_delim
23543 FONTFORGE!$FONTFORGE$ac_delim
23544 PKG_CONFIG!$PKG_CONFIG$ac_delim
23545 RSVG!$RSVG$ac_delim
23546 ICOTOOL!$ICOTOOL$ac_delim
23547 PRELINK!$PRELINK$ac_delim
23548 LIBPTHREAD!$LIBPTHREAD$ac_delim
23549 XLIB!$XLIB$ac_delim
23550 XFILES!$XFILES$ac_delim
23551 OPENGLFILES!$OPENGLFILES$ac_delim
23552 GLU32FILES!$GLU32FILES$ac_delim
23553 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23554 QUARTZFILES!$QUARTZFILES$ac_delim
23555 DLLEXT!$DLLEXT$ac_delim
23556 DLLFLAGS!$DLLFLAGS$ac_delim
23557 LDSHARED!$LDSHARED$ac_delim
23558 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23559 LIBEXT!$LIBEXT$ac_delim
23560 IMPLIBEXT!$IMPLIBEXT$ac_delim
23561 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23562 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23563 LDD!$LDD$ac_delim
23564 DLLTOOL!$DLLTOOL$ac_delim
23565 DLLWRAP!$DLLWRAP$ac_delim
23566 MINGWAR!$MINGWAR$ac_delim
23567 SECURITYLIB!$SECURITYLIB$ac_delim
23568 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23569 IOKITLIB!$IOKITLIB$ac_delim
23570 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23571 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23572 COREAUDIO!$COREAUDIO$ac_delim
23573 CARBONLIB!$CARBONLIB$ac_delim
23574 CROSSTEST!$CROSSTEST$ac_delim
23575 CROSSCC!$CROSSCC$ac_delim
23576 CROSSWINDRES!$CROSSWINDRES$ac_delim
23577 NASLIBS!$NASLIBS$ac_delim
23578 XML2LIBS!$XML2LIBS$ac_delim
23579 XML2INCL!$XML2INCL$ac_delim
23580 XSLTLIBS!$XSLTLIBS$ac_delim
23581 XSLTINCL!$XSLTINCL$ac_delim
23582 HALINCL!$HALINCL$ac_delim
23583 sane_devel!$sane_devel$ac_delim
23584 SANEINCL!$SANEINCL$ac_delim
23585 gphoto2_devel!$gphoto2_devel$ac_delim
23586 gphoto2port_devel!$gphoto2port_devel$ac_delim
23587 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23588 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23589 RESOLVLIBS!$RESOLVLIBS$ac_delim
23590 LCMSLIBS!$LCMSLIBS$ac_delim
23591 LDAPLIBS!$LDAPLIBS$ac_delim
23592 ft_devel!$ft_devel$ac_delim
23593 FREETYPELIBS!$FREETYPELIBS$ac_delim
23594 FREETYPEINCL!$FREETYPEINCL$ac_delim
23595 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23596 ESDCONFIG!$ESDCONFIG$ac_delim
23597 ESDLIBS!$ESDLIBS$ac_delim
23598 ESDINCL!$ESDINCL$ac_delim
23599 ALSALIBS!$ALSALIBS$ac_delim
23600 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23601 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23602 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23603 BUILTINFLAG!$BUILTINFLAG$ac_delim
23604 LDPATH!$LDPATH$ac_delim
23605 CRTLIBS!$CRTLIBS$ac_delim
23606 SOCKETLIBS!$SOCKETLIBS$ac_delim
23607 MAIN_BINARY!$MAIN_BINARY$ac_delim
23608 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23609 LIBDL!$LIBDL$ac_delim
23610 LIBPOLL!$LIBPOLL$ac_delim
23611 DEPENDENCIES!$DEPENDENCIES$ac_delim
23612 LIBOBJS!$LIBOBJS$ac_delim
23613 LTLIBOBJS!$LTLIBOBJS$ac_delim
23614 _ACEOF
23616 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23617 break
23618 elif $ac_last_try; then
23619 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23620 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23621 { (exit 1); exit 1; }; }
23622 else
23623 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23625 done
23627 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23628 if test -n "$ac_eof"; then
23629 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23630 ac_eof=`expr $ac_eof + 1`
23633 cat >>$CONFIG_STATUS <<_ACEOF
23634 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23635 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23636 _ACEOF
23637 sed '
23638 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23639 s/^/s,@/; s/!/@,|#_!!_#|/
23642 s/'"$ac_delim"'$/,g/; t
23643 s/$/\\/; p
23644 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23645 ' >>$CONFIG_STATUS <conf$$subs.sed
23646 rm -f conf$$subs.sed
23647 cat >>$CONFIG_STATUS <<_ACEOF
23648 :end
23649 s/|#_!!_#|//g
23650 CEOF$ac_eof
23651 _ACEOF
23654 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23655 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23656 # trailing colons and then remove the whole line if VPATH becomes empty
23657 # (actually we leave an empty line to preserve line numbers).
23658 if test "x$srcdir" = x.; then
23659 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23660 s/:*\$(srcdir):*/:/
23661 s/:*\${srcdir}:*/:/
23662 s/:*@srcdir@:*/:/
23663 s/^\([^=]*=[ ]*\):*/\1/
23664 s/:*$//
23665 s/^[^=]*=[ ]*$//
23669 cat >>$CONFIG_STATUS <<\_ACEOF
23670 fi # test -n "$CONFIG_FILES"
23673 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23675 case $ac_tag in
23676 :[FHLC]) ac_mode=$ac_tag; continue;;
23677 esac
23678 case $ac_mode$ac_tag in
23679 :[FHL]*:*);;
23680 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23681 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23682 { (exit 1); exit 1; }; };;
23683 :[FH]-) ac_tag=-:-;;
23684 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23685 esac
23686 ac_save_IFS=$IFS
23687 IFS=:
23688 set x $ac_tag
23689 IFS=$ac_save_IFS
23690 shift
23691 ac_file=$1
23692 shift
23694 case $ac_mode in
23695 :L) ac_source=$1;;
23696 :[FH])
23697 ac_file_inputs=
23698 for ac_f
23700 case $ac_f in
23701 -) ac_f="$tmp/stdin";;
23702 *) # Look for the file first in the build tree, then in the source tree
23703 # (if the path is not absolute). The absolute path cannot be DOS-style,
23704 # because $ac_f cannot contain `:'.
23705 test -f "$ac_f" ||
23706 case $ac_f in
23707 [\\/$]*) false;;
23708 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23709 esac ||
23710 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23711 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23712 { (exit 1); exit 1; }; };;
23713 esac
23714 ac_file_inputs="$ac_file_inputs $ac_f"
23715 done
23717 # Let's still pretend it is `configure' which instantiates (i.e., don't
23718 # use $as_me), people would be surprised to read:
23719 # /* config.h. Generated by config.status. */
23720 configure_input="Generated from "`IFS=:
23721 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23722 if test x"$ac_file" != x-; then
23723 configure_input="$ac_file. $configure_input"
23724 { echo "$as_me:$LINENO: creating $ac_file" >&5
23725 echo "$as_me: creating $ac_file" >&6;}
23728 case $ac_tag in
23729 *:-:* | *:-) cat >"$tmp/stdin";;
23730 esac
23732 esac
23734 ac_dir=`$as_dirname -- "$ac_file" ||
23735 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23736 X"$ac_file" : 'X\(//\)[^/]' \| \
23737 X"$ac_file" : 'X\(//\)$' \| \
23738 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23739 echo X"$ac_file" |
23740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23741 s//\1/
23744 /^X\(\/\/\)[^/].*/{
23745 s//\1/
23748 /^X\(\/\/\)$/{
23749 s//\1/
23752 /^X\(\/\).*/{
23753 s//\1/
23756 s/.*/./; q'`
23757 { as_dir="$ac_dir"
23758 case $as_dir in #(
23759 -*) as_dir=./$as_dir;;
23760 esac
23761 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23762 as_dirs=
23763 while :; do
23764 case $as_dir in #(
23765 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23766 *) as_qdir=$as_dir;;
23767 esac
23768 as_dirs="'$as_qdir' $as_dirs"
23769 as_dir=`$as_dirname -- "$as_dir" ||
23770 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23771 X"$as_dir" : 'X\(//\)[^/]' \| \
23772 X"$as_dir" : 'X\(//\)$' \| \
23773 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23774 echo X"$as_dir" |
23775 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23776 s//\1/
23779 /^X\(\/\/\)[^/].*/{
23780 s//\1/
23783 /^X\(\/\/\)$/{
23784 s//\1/
23787 /^X\(\/\).*/{
23788 s//\1/
23791 s/.*/./; q'`
23792 test -d "$as_dir" && break
23793 done
23794 test -z "$as_dirs" || eval "mkdir $as_dirs"
23795 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23796 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23797 { (exit 1); exit 1; }; }; }
23798 ac_builddir=.
23800 case "$ac_dir" in
23801 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23803 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23804 # A ".." for each directory in $ac_dir_suffix.
23805 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23806 case $ac_top_builddir_sub in
23807 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23808 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23809 esac ;;
23810 esac
23811 ac_abs_top_builddir=$ac_pwd
23812 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23813 # for backward compatibility:
23814 ac_top_builddir=$ac_top_build_prefix
23816 case $srcdir in
23817 .) # We are building in place.
23818 ac_srcdir=.
23819 ac_top_srcdir=$ac_top_builddir_sub
23820 ac_abs_top_srcdir=$ac_pwd ;;
23821 [\\/]* | ?:[\\/]* ) # Absolute name.
23822 ac_srcdir=$srcdir$ac_dir_suffix;
23823 ac_top_srcdir=$srcdir
23824 ac_abs_top_srcdir=$srcdir ;;
23825 *) # Relative name.
23826 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23827 ac_top_srcdir=$ac_top_build_prefix$srcdir
23828 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23829 esac
23830 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23833 case $ac_mode in
23836 # CONFIG_FILE
23839 case $INSTALL in
23840 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23841 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23842 esac
23843 _ACEOF
23845 cat >>$CONFIG_STATUS <<\_ACEOF
23846 # If the template does not know about datarootdir, expand it.
23847 # FIXME: This hack should be removed a few years after 2.60.
23848 ac_datarootdir_hack=; ac_datarootdir_seen=
23850 case `sed -n '/datarootdir/ {
23854 /@datadir@/p
23855 /@docdir@/p
23856 /@infodir@/p
23857 /@localedir@/p
23858 /@mandir@/p
23859 ' $ac_file_inputs` in
23860 *datarootdir*) ac_datarootdir_seen=yes;;
23861 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23862 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23863 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23864 _ACEOF
23865 cat >>$CONFIG_STATUS <<_ACEOF
23866 ac_datarootdir_hack='
23867 s&@datadir@&$datadir&g
23868 s&@docdir@&$docdir&g
23869 s&@infodir@&$infodir&g
23870 s&@localedir@&$localedir&g
23871 s&@mandir@&$mandir&g
23872 s&\\\${datarootdir}&$datarootdir&g' ;;
23873 esac
23874 _ACEOF
23876 # Neutralize VPATH when `$srcdir' = `.'.
23877 # Shell code in configure.ac might set extrasub.
23878 # FIXME: do we really want to maintain this feature?
23879 cat >>$CONFIG_STATUS <<_ACEOF
23880 sed "$ac_vpsub
23881 $extrasub
23882 _ACEOF
23883 cat >>$CONFIG_STATUS <<\_ACEOF
23885 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23886 s&@configure_input@&$configure_input&;t t
23887 s&@top_builddir@&$ac_top_builddir_sub&;t t
23888 s&@srcdir@&$ac_srcdir&;t t
23889 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23890 s&@top_srcdir@&$ac_top_srcdir&;t t
23891 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23892 s&@builddir@&$ac_builddir&;t t
23893 s&@abs_builddir@&$ac_abs_builddir&;t t
23894 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23895 s&@INSTALL@&$ac_INSTALL&;t t
23896 $ac_datarootdir_hack
23897 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23899 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23900 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23901 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23902 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23903 which seems to be undefined. Please make sure it is defined." >&5
23904 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23905 which seems to be undefined. Please make sure it is defined." >&2;}
23907 rm -f "$tmp/stdin"
23908 case $ac_file in
23909 -) cat "$tmp/out"; rm -f "$tmp/out";;
23910 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23911 esac
23915 # CONFIG_HEADER
23917 _ACEOF
23919 # Transform confdefs.h into a sed script `conftest.defines', that
23920 # substitutes the proper values into config.h.in to produce config.h.
23921 rm -f conftest.defines conftest.tail
23922 # First, append a space to every undef/define line, to ease matching.
23923 echo 's/$/ /' >conftest.defines
23924 # Then, protect against being on the right side of a sed subst, or in
23925 # an unquoted here document, in config.status. If some macros were
23926 # called several times there might be several #defines for the same
23927 # symbol, which is useless. But do not sort them, since the last
23928 # AC_DEFINE must be honored.
23929 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23930 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23931 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23932 # PARAMS is the parameter list in the macro definition--in most cases, it's
23933 # just an empty string.
23934 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23935 ac_dB='\\)[ (].*,\\1define\\2'
23936 ac_dC=' '
23937 ac_dD=' ,'
23939 uniq confdefs.h |
23940 sed -n '
23941 t rset
23942 :rset
23943 s/^[ ]*#[ ]*define[ ][ ]*//
23944 t ok
23947 s/[\\&,]/\\&/g
23948 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23949 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23950 ' >>conftest.defines
23952 # Remove the space that was appended to ease matching.
23953 # Then replace #undef with comments. This is necessary, for
23954 # example, in the case of _POSIX_SOURCE, which is predefined and required
23955 # on some systems where configure will not decide to define it.
23956 # (The regexp can be short, since the line contains either #define or #undef.)
23957 echo 's/ $//
23958 s,^[ #]*u.*,/* & */,' >>conftest.defines
23960 # Break up conftest.defines:
23961 ac_max_sed_lines=50
23963 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23964 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23965 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23966 # et cetera.
23967 ac_in='$ac_file_inputs'
23968 ac_out='"$tmp/out1"'
23969 ac_nxt='"$tmp/out2"'
23971 while :
23973 # Write a here document:
23974 cat >>$CONFIG_STATUS <<_ACEOF
23975 # First, check the format of the line:
23976 cat >"\$tmp/defines.sed" <<\\CEOF
23977 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23978 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23980 :def
23981 _ACEOF
23982 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23983 echo 'CEOF
23984 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23985 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23986 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23987 grep . conftest.tail >/dev/null || break
23988 rm -f conftest.defines
23989 mv conftest.tail conftest.defines
23990 done
23991 rm -f conftest.defines conftest.tail
23993 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23994 cat >>$CONFIG_STATUS <<\_ACEOF
23995 if test x"$ac_file" != x-; then
23996 echo "/* $configure_input */" >"$tmp/config.h"
23997 cat "$ac_result" >>"$tmp/config.h"
23998 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23999 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24000 echo "$as_me: $ac_file is unchanged" >&6;}
24001 else
24002 rm -f $ac_file
24003 mv "$tmp/config.h" $ac_file
24005 else
24006 echo "/* $configure_input */"
24007 cat "$ac_result"
24009 rm -f "$tmp/out12"
24012 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24013 echo "$as_me: executing $ac_file commands" >&6;}
24015 esac
24018 case $ac_file$ac_mode in
24019 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24020 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24021 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24022 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24023 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24024 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24025 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24026 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24027 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24028 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24029 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24030 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24031 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24033 esac
24034 done # for ac_tag
24037 { (exit 0); exit 0; }
24038 _ACEOF
24039 chmod +x $CONFIG_STATUS
24040 ac_clean_files=$ac_clean_files_save
24043 # configure is writing to config.log, and then calls config.status.
24044 # config.status does its own redirection, appending to config.log.
24045 # Unfortunately, on DOS this fails, as config.log is still kept open
24046 # by configure, so config.status won't be able to write to it; its
24047 # output is simply discarded. So we exec the FD to /dev/null,
24048 # effectively closing config.log, so it can be properly (re)opened and
24049 # appended to by config.status. When coming back to configure, we
24050 # need to make the FD available again.
24051 if test "$no_create" != yes; then
24052 ac_cs_success=:
24053 ac_config_status_args=
24054 test "$silent" = yes &&
24055 ac_config_status_args="$ac_config_status_args --quiet"
24056 exec 5>/dev/null
24057 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24058 exec 5>>config.log
24059 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24060 # would make configure fail if this is the last instruction.
24061 $ac_cs_success || { (exit 1); exit 1; }
24065 if test "$no_create" = "yes"
24066 then
24067 exit 0
24070 ac_save_IFS="$IFS"
24071 IFS="|"
24072 if test "x$wine_notices != "x; then
24073 echo >&6
24074 for msg in $wine_notices; do
24075 if test -n "$msg"; then
24076 { echo "$as_me:$LINENO: $msg" >&5
24077 echo "$as_me: $msg" >&6;}
24079 done
24081 for msg in $wine_warnings; do
24082 if test -n "$msg"; then
24083 echo >&2
24084 { echo "$as_me:$LINENO: WARNING: $msg" >&5
24085 echo "$as_me: WARNING: $msg" >&2;}
24087 done
24088 IFS="$ac_save_IFS"
24090 echo "
24091 $as_me: Finished. Do '${ac_make} depend && ${ac_make}' to compile Wine.
24092 " >&6